openstreetmap – Convert OSM XML file to GeoJSON yields nothing
You need to add /full
to the API URL like:
and copy that XML.
Gives:
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": "relation/13737936",
"properties": {
"timestamp": "2022-01-31T04:54:48Z",
"version": "3",
"changeset": "116804664",
"user": "DENelson83",
"uid": "14512",
"name": "ᐊᒃᓴᕐᓂᖅ Chesterfield Inlet",
"name:en": "Chesterfield Inlet",
"name:iu": "ᐊᒃᓴᕐᓂᖅ",
"natural": "bay",
"ocean": "yes",
"ref:gnbc": "OADJR",
"source": "NRCan-CanVec-10.0",
"type": "multipolygon",
"wikidata": "Q948291",
"id": "relation/13737936"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-92.57855,
63.79285
],
[...
Read more here: Source link