Closed robknapen closed 2 years ago
Needs plan.
saw some sample
1) add crs element in features (simple)
2) add crs element to geometry
"geometry": {
"type": "MultiPolygon",
"CRS" : "28992",
"coordinates": [
[
[
[198129.354, 446646.91],
[198131.991, 446641.453],
[198186.838, 446643.179],
[198045.827, 446631.114],
[198095.332, 446648.032],
[198122.469, 446657.733],
[198129.354, 446646.91]
]
]
]
}
https://github.com/geojson of kijk naar wat QGIS doet?
From: Yke van Randen notifications@github.com Sent: 21 October 2020 14:21 To: AgroDataCube/api-v1 api-v1@noreply.github.com Cc: La Riviere, Inge inge.lariviere@wur.nl; Comment comment@noreply.github.com Subject: Re: [AgroDataCube/api-v1] EPSG 4326 (WGS84) should be default for GeoJSON (#8)
saw some sample
"geometry": {
"type": "MultiPolygon",
"CRS" : "28992",
"coordinates": [
[
[
[198129.354, 446646.91],
[198131.991, 446641.453],
[198186.838, 446643.179],
[198045.827, 446631.114],
[198095.332, 446648.032],
[198122.469, 446657.733],
[198129.354, 446646.91]
]
]
]
}
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAgroDataCube%2Fapi-v1%2Fissues%2F8%23issuecomment-713529223&data=04%7C01%7C%7C719d99733cf0443c304808d875bbca79%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637388796700369930%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=lEju7JC6akAawzmAMzNP%2BGVBB96D7LO%2Br0bMFMSDDp8%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA4GX5AOYFLXH4XYLW3VYADSL3G3HANCNFSM4EWQSWWA&data=04%7C01%7C%7C719d99733cf0443c304808d875bbca79%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637388796700369930%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jQwrYbb6ZC3lYXKfgnp8Od1dSVVx8Uv2gW7u8kWggv8%3D&reserved=0.
QGIS (3.14) levert voor provincies uit ADC
{
"type": "FeatureCollection",
"name": "prov",
"crs": {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:EPSG::28992"
}
},
"features": [{
"type": "Feature",
"properties": {
"shapefile_objectid": 1.0,
"name": "Zuid-Holland",
"id": 1
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
...
]
]
]
}
}]
}
Currently we have RD (new) as default coordinate system, and WGS84 as optional. This should be switched around, as per current GeoJSON specs.