NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

We are using OSM (recently) to provide relatively large maps with custom layers based on the municipalities of Europe (image shows an example). One of the issues we have is that the data to be transmitted is simply huge: The largest I've seen is example MUC "percentage" with 30MB mapdata via JSON, that takes a while to "load".

Some of our users sit in regions where "high speed internet" still is a dream or need access "on the road" with bad connectivity. In order to reduce the size, the best would be, if we could create the map on the server, save it to an image file (PNG preferred) and then just deliver the resulting image as a "placeholder" or preview in the dashboard, clicking to "activate" the interactive map. We tried several approaches, but failed. The closest was PhantomJS, but that also failed on the larger maps (timeout problem, difficult to cover up for). The "common" functions render/safe the maps, but not our layers, which makes it useless for our need or do we (I) miss anything here? Individual Screenshots for more than a thousand possible maps is also not an option.

As I believe that might be a more "common" problem... Any ideas anyone?

Thanks a million!

Juergen (newbie)

alt text

asked 03 Oct '16, 13:12

Osm_ccom's gravatar image

Osm_ccom
25335
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×440
×230
×74
×69
×14

question asked: 03 Oct '16, 13:12

question was seen: 2,958 times

last updated: 03 Oct '16, 13:12

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum