1

I'm currently developing my own little GIS service, that displays custom computed information on a google map.

As you can see, I'm loading a custom tile overlay, where I renderd the information in a color scale. The problem is with the Google Maps texts for places like Berlin. Those are now partially covered by my tiles and hard to read. I would like to have the text displayed above my tiles.

Can I render the Google Maps texts for places and streets using mapnik? Or can I put my custom tiles between the text and the map image (but I dont think those two information are splitted into separated images, so it might not be possible)?

Current snapshot

  • Ogofo, unfortunately, you cannot apply mapnik as a render engine for Google Maps, because their data is protected. However, what you can do - customize Google Maps through API, more information is here. So you probably have to play around with Google Maps styling and adjust labelling. – Taras Jul 23 '18 at 10:22
  • Removing them makes the map look cleaner. But I would like to keep the names of streets and citys. Is there a possibility to get the data from OSM and render this data via mapnik? – Ogofo Jul 23 '18 at 12:27
  • Ogofo, the answer is definitely yes, but the workflow depends on your programming capabilities. – Taras Jul 23 '18 at 12:32
  • I would give it a try. Currently I'm having a shape file with my data saved in an dbf filem I'm using mapnik with the python bindings.The first question I got is how to export the OSM data (names of streets and citys) into a readable shape file? – Ogofo Jul 23 '18 at 12:35
  • Ogofo, first of all, you need to extract OSM data, I may suggest this resource: Geofabrik or you can try to export directly from OSM official website, but be careful the possible export zoom level for Berlin starts with 12, inclusive. Later on, you need to convert osm data into .shp, more information you can find on OpenStreetMap Wiki. – Taras Jul 23 '18 at 13:52

Your Answer

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

Browse other questions tagged or ask your own question.