3

We have some polyline and point data in SHP format and would like to serve that data to an OpenLayers client.

First we thought about converting the data to GeoJSON and send it to the client as a whole package, but then we saw that the data is quite large (>500MB) and downloading such an amount as a whole is not a good idea.

So we came up with the idea to dynamically serve the data in a tiled format, using WMS.

We're not really experienced when it comes to do stuff like this, but at the same time, serving some SHPs as WMS shouldn't be too difficult.

So what is the easiest and smoothest way to do that? We've heard of GeoServer and MapServer, which one is easier to deploy (We're on CentOS 6). And is the caching of tiles included with serving WMS or does it have to be configured separately?

1

1 Answer 1

5

You can use both MapServer and GeoServer. I prefer MapServer, but that is more because I know more functionalities of MapServer. Extensive information can be found for both.

MapServer does not include creating a tile cache. For that you can use for instance MapProxy

3
  • 3
    Actually, the MapServer project now includes a caching tool, MapCache. mapserver.org/mapcache/index.html
    – DavidF
    Commented Dec 18, 2012 at 16:34
  • That I did not know! Thanks for the info.
    – Stefan
    Commented Dec 18, 2012 at 17:45
  • 1
    @wnstnsmth for completeness - GeoServer does ship with a tile cache tool (GeoWebCache). Also being pure Java will run on just about any platform.
    – tomfumb
    Commented Dec 18, 2012 at 18:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.