[gdal-dev] How far can we resolve complex GeoJSON?
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Thu Feb 13 13:06:57 PST 2020
Hi,
Have a look at data returned by request https://beta-paikkatieto.maanmittauslaitos.fi/geographic-names/wfs3/v1/collections/placenames/items?municipality=837&limit=100
There exists couple of features with "parallelName" and GDAL converts that part into a string type attribute
parallelName (String) = [ { "placeNameId": 40581553, "placeNameVersionId": 2, "spelling": "Pirkkahalli", "language": "fin", "languageOfficiality": 1, "languageDominance": 1, "placeNameSource": 1, "placeNameStatus": 5, "placeNameCreationTime": "2008-12-05T22:00:00Z", "placeNameModificationTime": "2017-02-15T10:41:10Z", "placeNameDeletionTime": null } ]
Can we do anything else with GDAL and GeoJSON driver? I suppose it does not same kind of advanced features like GMLAS driver has.
Here is one placename as an example. A place can have zero to n parallel names.
{
"type": "Feature",
"id": "PN_40581553",
"properties": {
"placeNameId": 40581553,
"placeNameVersionId": 2,
"spelling": "Pirkkahalli",
"language": "fin",
"languageOfficiality": 1,
"languageDominance": 1,
"placeNameSource": 1,
"placeNameStatus": 5,
"placeNameCreationTime": "2008-12-05T22:00:00Z",
"placeNameModificationTime": "2017-02-15T10:41:10Z",
"placeNameDeletionTime": null,
"placeId": 10581553,
"placeVersionId": 2,
"placeType": 8010105,
"placeTypeDescription": 8010105,
"placeTypeCategory": 8,
"placeTypeGroup": 801,
"placeTypeSubgroup": 80101,
"placeElevation": 81,
"tm35MapSheet": "M4211F3",
"gslsMapSheet": "212308D",
"rescueGridSquare": "21N4B3",
"municipality": "837",
"subregion": "064",
"region": "06",
"scaleRelevance": 50000,
"placeCreationTime": "2008-12-05T22:00:00Z",
"placeModificationTime": "2014-08-01T13:47:38Z",
"placeDeletionTime": null,
"parallelName": [
{
"placeNameId": 42003784,
"placeNameVersionId": 3,
"spelling": "Tampereen messu- ja urheilukeskus",
"language": "fin",
"languageOfficiality": 1,
"languageDominance": 1,
"placeNameSource": 1,
"placeNameStatus": 3,
"placeNameCreationTime": "2017-02-02T13:53:12Z",
"placeNameModificationTime": "2017-02-15T14:34:47Z",
"placeNameDeletionTime": null
}
]
},
"geometry": {
"type": "Point",
"coordinates": [
23.7323985,
61.4640113
]
}
}
-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200213/f772595e/attachment.html>
More information about the gdal-dev
mailing list