Deciding by MapServer

Taking advantage of a recent conversation with a Cadastral institution that was looking for what to publish their maps, here I summarize the most important thing to return the rescues of the topic to the community. Maybe at the time it will help someone who wants to make a decision or ask for geofumed help.

Why MapServer

The stage was someone, who intended to leave GeoWeb Publisher, Bentley, because he still had a license of Discovery Server, The ancestor of this, back in the dusty years. Another reason why they were interested in Bentley is that their mapping is on Microstation Geographics, with VBA applications for construction and maintenance of cadastral maps.

Previously on the blog (Ugly - Rare As the friend says) We showed how to create a web map service, Using Manifold GIS, as a low-cost alternative. I also spoke one day about the benefits of Geoweb Publisher of Bentley as a solution when there is more money. This to give continuity to that old post in which Made comparisons Among several applications for publishing online maps.

After the conversation we decided to go for MapServer, a topic that I hope to exploit in the coming days. By the way, start testing other open source platforms during the rest of the year, but in a web environment.

banner MapServer is not a GIS application, nor does it even pretend to be, as its page says. It was born as an initiative of the University of Minnesota, hence its logo comes from the confluence of the Minnesota and Mississippi rivers. Today is a reference in the web distributed service very distributed, perhaps because of its Anglo-Saxon origin. As this application there is a wide range -Very wide really-, I like its simplicity, the simplest for new users; All magic is in the handling of the .map file that can be generated from programs like QGis or understand logic to mapscript to exploit languages ​​like PHP, Java, Perl, Python, Ruby or C #.

More applications are developed on MapServer "Served"Like Chamaleon, Cartoweb, Ka-map and Pmapper. These are recommended for users with less code domain, although it is ideal to understand the primitive logic of MapServer.

Mapserver install

The example shown is that, just an example of the work we are doing now. With their permission and aware that this service will be available to the public in a couple of weeks and then they can see it working.

What other web applications exist

For this, I will use as a reference the Foundation OSGeo, which is one of the most creative initiatives in terms of sustainability and standardization of open source in the geospatial field. Although I admit that there are others.

  • Mapbender, quite popularized, used as a thin client next to Mapserver in the case of the IDE Guatemala. The reason for its appeal is that it was developed for PHP and JavaScript, two of the most commonly used combinations on the web today.
  • Mapbuilder, Which reached its end in the 1.5 version and merged with Open Layers. The AJAX thing ... it was a beauty.
  • Open Layers, Wonders if you want to integrate Google or Yahoo Maps or efficiently cache the raster display.
  • Mapguide Opensource, very popular for its relationship with AutoDesk. Robust to die, in the flavor you want.
  • Degree, all one smoked in standards. With a lot of potential in Europe. Because of its stability in GML support, it is suggested as the neutral alternative for the implementation of web processes in the initiative INSPIRED.

Mapserver install Other OSGeo incubation solutions are:

  • Geoserver, its biggest potential is that the development is about Java. With much to offer such as Open Layers when integrating Google Maps, Google Earth, Yahoo Maps, including ArcGIS.
  • Geomatics Which includes light client, desktop and web.
  • MapFish, With a focus on Pyton but perhaps one of the least documented (online).

MapServer advantages

Compatibility With standards OGC. Perhaps the best, although in this almost all open source applications are doing well, at least as far as WMS, WFS, WCS, GML.

  • Web Map Service (OGC: WMS) 1.0.0, 1.0.7, 1.1.0 and 1.1.1
  • Web Feature Service (OGC: WFS) 1.0.0, 1.1.0
  • Web Coverage Service (OGC: WCS) 1.0.0, 1.1.0
  • Geography Markup Language (OGC: GML) 2.1.2, 3.1.0 Level 0 Profile
  • Web Map Context Documents (OGC: WMC) 1.0.0, 1.1.0
  • Styled Layer Descriptor (OGC: SLD) 1.0.0
  • Filter Encoding Specification (OGC: FES) 1.0.0
  • Sensor Observation Service (OGC: SOS) 1.0.0
  • Observations and Measurements (OGC: OM) 1.0.0
  • SWE Common (OGC: SWE) 1.0.1
  • OWS Common (OGC: OWS) 1.0.0, 1.1.0

Serve data via the Open Gis Consortium guidelines, will make any program stick to them without much hindrance. From AutoDesk Civil3D, ArcGIS. Bentley Map, up to gvSIG, QGis, etc. Even Google Earth / maps via wms.

Comparing it with the applications that I have worked before (GeoWeb Publisher and Manifold GIS), MapServer surpasses them by having Too much diffusion, product of that your page has enough information, developed examples, without mentioning the community of users. In the case of GWP you have to work a lot with the nails and what there is of Manifold in Spanish is very little -leaving out Geofumadas So as not to contradict-.

El Data support it is a wonder. It is not heaven but it is close enough:

  • Vector or Geodatabase data: Shape files, GML, PostGIS and one more world via OGR, including DGN.
  • Raster data: Geo-referenced TIF and what we want via GDAL.
  • Output, you can generate jpg, png, pdf and of course, OGC standards.

Then there is the Multiplatform support. MapServer can run on IIS, which makes it friendly for Windows / PC users. Also on Apache, with what can run on Windows and Linux of wonder, not only to serve data but to navigate. In the case of Manifol
D, only IIS publication, if you tell them about Apache Get congested, Although some have made their pirouettes. And in the case of Bentley, only Windows, including web deployment is an ActiveX that only runs on Internet Explorer, unless you smoke IDPR To the sublime in space cartridge.

Needless to say, it does not deal Pay licensing. The license with Universal Manifold would be in the order of $ 600, that of Bentley GWPublisher for the US $ 10,000 with limited users and if it were from the GIS Server of US $ 15,000 up.

Finally, I see a great advantage in the development. Finding someone who works MapServer is not that easy, but it is much easier than with other applications, even remotely as we are doing now. A developer who knows the gut to Bentley GWPublisher is not so easy to find, you have to know Project Wise, Geographics, Microstation VBA and Bentley Map to take advantage of a robust development on Bentley Geospatial Server (Although I admit that wonderful things are done there). A developer of Manifold GIS, very difficult although it is only .NET, and one of GIS Server, insurance will charge depending on how much the license is worth.

How to install it in 5 steps

Mapserver installThere are not many steps, as well as the beginning of Genesis:

  1. Download OSGEO4W here
  2. Install it, minimum MapServer, Apache and an example.
  3. Install Apache and create the service (or raise a directory via IIS).
  4. Lift service
  5. Run the example in the browser

Yes, like the genesis, between verse 1 and 2 there are several things that happened in the rebellion of Satan. Generally, you can start the service either via http: // localhost / or take up your battle, but you learn.

It will be in the next one that we will explain.

7 Replies to "Deciding on MapServer"

  1. Hi Eulises. One day you will tell us about the smoke you did with C #, of what I have seen very little on the web.


  2. Why not do it with c sharp and sql server 2008 or already with posgrest and publishing shape type maps and thus you avoid the domain question and so you only look for a server with

  3. Any experience with Mapguide open source ?? I have installed it for a long time, but when I start the master it throws me a connection error to the server ... it would be a great help for a tutorial in Spanish greetings, thanks =)

  4. Hello, I am very interested in mapserver, some things I had the opportunity to put together, at this moment I am devoted to developing a map application inside rails, do you have an idea of ​​how? or some help link .. thank you very much

  5. You must find a company that offers accommodation with mapscript included in the service.

    As well as

    To serve it from the intranet level is quite easy, since only with the IP of the machine that has the service raised (as well as can access from other computers within the same network or workgroup.

    If you want to serve it to the Internet, take care that the machine that functions as a server has a more or less decent Internet connection, and a public IP is used as well ( The reason is that the IP that the equipment takes when connecting to the Internet, provided by the Internet service, although it is public, changes every time it is accessed and it is fixed, so you have to pay.

    If you do not want access to an IP number like the previous one, you pay for a DNS domain and service, with which you can have an easier address You can also redirect with a subdomain or services that offer pages such as

  6. Congratulations for the blog that I have been doing for quite some time now. Although I am a biologist, I work on GIS issues. Last year I learned to use the MapServer a bit and it is very good. But I have a question that I have not yet gotten the answer. What hosting company does MapServer store? What results do you have to use your own computer and use the domestic internet network?

    I would like to do some other project with this program but I have no way to hang it on the net.

    If someone knows the response, it will be very well received.



Leave an answer

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.