Questions tagged [mapserver]

MapServer is an Open Source geographic data rendering engine written in C, designed for fast display of dynamic maps on the Internet. Beyond browsing GIS data, MapServer allows you create “geographic image maps”, that is, maps that can direct users to content.

MapServer is an Open Source geographic data rendering engine written in C. Beyond browsing GIS data, MapServer allows you create “geographic image maps”, that is, maps that can direct users to content. For example, the Minnesota DNR Recreation Compass provides users with more than 10,000 web pages, reports and maps via a single application. The same application serves as a “map engine” for other portions of the site, providing spatial context where needed.

MapServer was originally developed by the University of Minnesota (UMN) ForNet project in cooperation with NASA, and the Minnesota Department of Natural Resources (MNDNR). Later it was hosted by the TerraSIP project, a NASA sponsored project between the UMN and a consortium of land management interests.

MapServer is now a project of OSGeo, and is maintained by a growing number of developers (nearing 20) from around the world. It is supported by a diverse group of organizations that fund enhancements and maintenance, and administered within OSGeo by the MapServer Project Steering Committee made up of developers and other contributors.

  • Advanced cartographic output
    • Scale dependent feature drawing and application execution
    • Feature labeling including label collision mediation
    • Fully customizable, template driven output
    • TrueType fonts
    • Map element automation (scalebar, reference map, and legend)
    • Thematic mapping using logical- or regular expression-based classes
  • Support for popular scripting and development environments
    • PHP, Python, Perl, Ruby, Java, and .NET
  • Cross-platform support
    • Linux, Windows, Mac OS X, Solaris, and more
  • Support of numerous Open Geospatial Consortium
  • WMS (client/server), non-transactional WFS (client/server), WMC, WCS, Filter Encoding, SLD, GML, SOS, OM
  • A multitude of raster and vector data formats
    • TIFF/GeoTIFF, EPPL7, and many others via GDAL
    • ESRI shapfiles, PostGIS, ESRI ArcSDE, Oracle Spatial, MySQL and many others via OGR
  • Map projection support
    • On-the-fly map projection with 1000s of projections through the Proj.4 library
  • Website: http://mapserver.org/

    218 questions
    3
    votes
    1 answer

    MapServer cgi-bin get value from query string and concatenate to Postgres query

    I'm working with cgi-bin and I show a map with some data from a Postgres database. But, I need to introduce an input where the user could select a date and this date would filter the results from the database. I have the input and I send the…
    Oscar Martínez
    • 65
    • 1
    • 2
    • 9
    2
    votes
    2 answers

    LNK2005: find the module which was built with /MT

    I'm trying to build C++ project (mapserver). It depends on some other projects. When I run nmake, it shows many errors like this: ... LIBCMTD.lib(getenv.obj) : error LNK2005: _getenv already defined in…
    ILYA
    • 495
    • 6
    • 18
    2
    votes
    1 answer

    Multiple tables query on postgis

    In postgis, I have a couple of tables with same structure but standing for different layers(1,2,3...) respectively for Mapserver, table1 gid | name | address | post code | layer | …
    tiplip
    • 329
    • 5
    • 17
    2
    votes
    3 answers

    Slow performance from MapServer

    I'm using mapserver to create a map that will be displayed with the google map api. I'm encountering performances issues. My maps are all in shapefile format. I run tests to get time to render maps. When rendering a map with the shp2img tool, using…
    Blue
    • 383
    • 2
    • 7
    • 16
    2
    votes
    1 answer

    MapServer - msLoadMap(): Regular expression error. MS_DEFAULT_MAPFILE_PATTERN validation failed

    I am trying to use MapServer to load tiles overtop of my google map. When hitting the endpoint, I am getting the error: msLoadMap(): Regular expression error. MS_DEFAULT_MAPFILE_PATTERN validation failed. An example of one of the endpoints…
    sd-gallowaystorm
    • 129
    • 4
    • 15
    2
    votes
    1 answer

    MapServer Regular Expression Validation for Latitude/Longitude Issue

    My code below loosely is per Zehra Nasif answer from Regular expression for matching latitude/longitude coordinates? (May 15 '14 at 20:00). While my code below is for MapServer, I think vanilla RE should work; the documentation says 'Google Regular…
    IrfanClemson
    • 1,699
    • 6
    • 33
    • 52
    2
    votes
    3 answers

    Mapserver : loadWeb(): Unknown identifier. Parsing error near (C):(line 1)

    I am new to Mapserver. I have done sample application.. MAP NAME "Hello_World" SIZE 400 300 IMAGECOLOR 249 245 186 IMAGETYPE png EXTENT -1.00 -1.00 1.00 1.00 WEB TEMPLATE…
    Piraba
    • 6,974
    • 17
    • 85
    • 135
    2
    votes
    1 answer

    How to prevent label/symbol duplication/cutting in Leaflet/Mapserver(WMS)

    As you can see the labels are duplicated and sometimes cutoff. That is because one tile doesn't know about the other tile. How can I prevent? Disabling Partial labels helps a bit with the cutoff but the duplication is still there: Thanks
    Octavian
    • 4,519
    • 8
    • 28
    • 39
    2
    votes
    2 answers

    loadbalancing in Ubuntu servers with MapServer

    I have 3 Ubuntu 10.04 machines with MapServer installed and configured. I need to get load balancing among those 3 machines. I find that there are some third-party applications with different features. I am wondering if anyone has specific…
    troublemaker
    • 191
    • 1
    • 1
    • 6
    2
    votes
    2 answers

    How do you get transparent background in a layer with UMN mapserver?

    I want to include different sources of maps in a mapclient. One source I provide myself with a self-written mapfile rendered by an UMN-mapserver. Problem is, that UMN renders the background (places there no feature is) as white, and if I combine…
    Mnementh
    • 50,487
    • 48
    • 148
    • 202
    2
    votes
    1 answer

    Build/Install MapServer on own Server

    Is it possible to build or install MapServer on your own server? If yes, is there a documentation that could help me on how to do it or how it goes, or anyone that could tell me how. I have installed MapServer on my Windows and was able to run it on…
    Avam
    • 21
    • 2
    2
    votes
    0 answers

    How can I configure a tilemap server in Kibana at AWS Elasticsearch?

    Is it possible to configure an external or privatly hosted tilemap server in Kibana of AWS Elasticsearch? My goal is to have zoom levels beyond level 7 (the current max in AES Kibana). According to the config page at elastic.co…
    Jörg Rech
    • 1,339
    • 2
    • 13
    • 25
    2
    votes
    2 answers

    save a map in ROS

    I'm using ros indigo. When I am doing mapping then save it by: map_server map_server -f 'location' It gives me a warning that ... Using deprecated map server interface. Please switch to a new interface. and error that map_server could not open…
    Mohamed Saad
    • 21
    • 1
    • 2
    2
    votes
    1 answer

    How to process layer templates using mapscript to respond to a WMS GetFeatureInfo request

    I'm trying to handle GetFeaturInfo WMS requests using c# mapscript. Prior to using mapscript our software passed WMS requests through to a CGI mapserver hosted on IIS. This processed a html template associated with each queried layer and substituted…
    Felix
    • 31
    • 3
    2
    votes
    0 answers

    How to update the overview control in OL4?

    I'm new to OpenLayers. I'm working on a map with WMS layers and a custom overview. I'm trying to change the layer used in the overview based on the user choice. The original layer set at the control's creation is correctly displayed. I've tried to…
    1
    2
    3
    14 15