Just a small question. Can I, either out of JOSM or out of OGF directly (or any other way), export map data as svg file? So far, I didn’t find a solution.
Comment from Taka on 18 October 2019 at 12:14
With JOSM it is possible to save loaded data into a GEOJSON file, then to convert the GEOJSON with a website like Mapshaper to a .SVG file. There might be a better way but when I wanted to do this exactly, this is how I did it.
Comment from wangi on 18 October 2019 at 12:15
Click the “share” icon on the right panel; select SVG in the format drop-down menu
See also: https://wiki.openstreetmap.org/wiki/SVG
Comment from Taka on 18 October 2019 at 12:16
No dice, wangi - that option will only come up with a “This function is not implemented for OpenGeoFiction” screen.
Comment from EMKLI on 18 October 2019 at 12:26
Ah, thanks Taka, will give it a try. I made a mistake before - I took a look into what formats I could export data from JOSM, but I did this while the background layer was active, so I only could export as wms file.
Comment from EMKLI on 18 October 2019 at 12:34
Well, it doesn’t work well for me. The shape is heavily distorted (in horizontal direction). I don’t know if JOSM exports it like this or if Mapshaper stretches it. Maybe this has something to do with projection?
Comment from iiEarth on 18 October 2019 at 15:00
Probably; you should note that the scale in the bottom left corner becomes bigger as you go further towards the poles.
Comment from wangi on 18 October 2019 at 15:48
Back up a bit… What are you trying to do? What is the SVG being used for?
Comment from Infrarrojo on 18 October 2019 at 19:31
Since you’re fine with using other programs to make the conversion, Merkaartor has a special convert to SVG function and is fairly simple to set up, at least on Windows. I haven’t personally tested the convert to SVG in Merkaartor, but I have gotten it to function on OGF, and if you have any questions regarding to set it up, I can answer them. Converting to SVG is also one of the main advertised usages of Maperitive, but I have never used it so I am not able to help if you choose to try it out, though it does seem to have slightly better documentation.
wangi, I am fairly sure that the SVG is being used to map coastline data in Inkscape, as mentioned in EMKLI’s comment on their second diary entry.