0

A question about soundness of principle as much as method, as I am very new to the subject.

Having to serve over web the polygons in way too large a shapefile (200Mb), I am wondering: could I, with some tool, convert all the data in the shapefile into a single transparent image (png I suppose, covering about 20,000km2) to then use as an easy to load overlay in google maps ?

Edit: I seem to understand Geoserver and Mapserver would create and serve selected, appropriate tiles of the resulting image on demand. Not lastly because we don't have a server to run Geoserver at hand, and since the data is static, I was thinking more of an actual image file. Does it make sense ?

  • its called a WMS and is the usual procedure, look at GeoServer or MapServer to get started. – Ian Turton Aug 1 '17 at 12:54
  • Am thinking, convert it to geojson and load and style it, overlay it to googlemaps. – saviour123 Aug 1 '17 at 12:58
  • @saviour123 There are about 16,000 polygons. – deg Aug 1 '17 at 13:17
  • okay, for server, You could get aws or gce for free for start and run geoserver on it. You could merge all the polygons into one and then convert it to raster. //merge help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//… //convert to raster. You can look at this options: pro.arcgis.com/en/pro-app/tool-reference/conversion/… //you can check to see if its what you want. – saviour123 Aug 1 '17 at 13:38
  • 1
    use geoserver to create a tiled WMS, which is basically a pre-rendered set of images of the styled shapefile - clients only download the picture from the server, rather than the data itself. – DPSSpatial Aug 1 '17 at 15:20
0

Answering myself after further research and practical experience.

What I propose in the question (making one giant png) is, alas, daft. I attempted the task in QGis, and the result is a massive png (100mb+) with a ridiculously low detail, no matter the options selected.

Geoserver it is.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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