February 26, 2019, 9:34pm
Problem: Sometimes I come across features which are “Way” features that have a visible shape. I need them to be “Relation” to work in this tool to obtain their geometry:
Is there a way to convert these from “Way” to “Relation” or a workaround to obtain the WKT of their shape?
Way: Nkhotakota Game Reserve (28910776)
Thanks so much!!
Can you elaborate on the higher-level problem - what do you want to achieve? The question you posed is quite vague.
February 26, 2019, 9:55pm
Hey Rico, I updated my original post!
February 27, 2019, 7:44am
A relation-object in OSM is basically a collection of nodes and / or ways which are releated to each other:
The website you posted will convert a OSM relation from the database into a POLY-File. To create a POLY from a way this website is not suitable. A quick Google-Search didn’t reveal a solution for your problem. Perhaps
https://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format#Converting_to.2Ffrom_POLY_format has something for you.
February 27, 2019, 11:22pm
JOSM can save to a .poly file. Create a new layer, download the object so it’s the only thing in that layer, then save it as a .poly.
February 28, 2019, 7:26am
Hmmm… Not in my version. Do use a
Plugin for this?
February 28, 2019, 7:34am
This requires the poly plugin.
February 28, 2019, 4:46pm
Whoops, I completely forgot that this functionality is indeed added by the “poly” plugin.