http://qs1969.pair.com?node_id=1225836


in reply to Perl Mapping (GIS)

Thanks everyone for the suggestions!

Right now I am testing sort of a hybrid solution, building static layers with QGIS on PC and uploading to server (these rarely need to change). And then doing a mix of GDAL and ImageMagick for the real time merges.

This mostly works for what I need. I am going to look through some of the other suggestions as well. Trying to find a good mix to keep server loads down.

Replies are listed 'Best First'.
Re^2: Perl Mapping (GIS)
by localshop (Monk) on Nov 15, 2018 at 05:19 UTC

    If you are looking to host your own tiles you might want to start with some base ones from OSM. I can confirm that the bundled script in Geo-OSM-Tiles works but there are plenty of other non-perl alternatives as described at The OSM Wiki page Category:Tile_downloading

    downloadosmtiles.pl --lat=-27.919123 --lon=153.386257 --zoom=13:14

    Using Openlayers you can do a lot of the transforms and adding image layer and vector rendering quite nicely in the browser directly and the downloaded tiles are neatly packaged ready to be served and consumed by OpenLayers. NB - if I remember correctly there are a few little tweaks to get the tile file format pattern correct but is not complex and works really well.

    One of the things I remember surprising me when I was playing with this stuff is that it's almost trivial to transform location formats which can be a reason people jump into dependence on a backend geo application server.