OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2019-02-11 15:56:52

humpataa
Member
Registered: 2013-11-03
Posts: 15

static map with KML / KMZ drawn onto it?

Hi,

is there way to request a certain area of a map via URL, get an image and save / use that?

I do have a KML file with a handful of waypoints which define the area to display. The next step would be to draw a path / route from a linked KMZ file onto the map. The result needs to look like the image below - except that it was made with Google maps, but should use OSM data instead (cycle-map or topomap preferred).

After searching for a couple of days, I couldn't find any "easy" solution for this. Does anyone have an idea how to do this?
Any help is appreciated.

Thank you
Denis

static map

Offline

#2 2019-02-11 16:09:46

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,177
Website

Re: static map with KML / KMZ drawn onto it?

You can export an image of a map (in different formats) from the button "Share" located on the right of OSM.org website.

Offline

#3 2019-02-11 16:34:11

humpataa
Member
Registered: 2013-11-03
Posts: 15

Re: static map with KML / KMZ drawn onto it?

Thank you, I will have many KML over time and would like to automate this by a PHP script.
I have found the staticmap-service at openstreetmap (https://staticmap.openstreetmap.de/) but it's unreliable and has a referrer-issue (?) ...

Offline

Board footer

Powered by FluxBB