Evo skraćeno sve tri datoteke:
Naselja
AdministrativeUnit-naselja-4326.geojson
{
"type": "FeatureCollection",
"name": "naselja-4326",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "gml_id": "AdministrativeUnit.2178203977", "nationalCode": 7552, "localId": "NA.0005001377", "namespace": "HR.DGU.RPJ", "LocalisedCharacterString": "Naselje", "Country": "HR", "language": "hrv", "nativeness": null, "nameStatus": null, "sourceOfName": null, "pronunciation": null, "text": "Cancini", "script": "Latn", "residenceOfAuthority": null, "beginLifespanVersion": "2024-09-27T15:46:27.634Z", "boundary": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 13.624150304772865, 45.263315499521113 ],---sve točke--- ] ] ] } },---sva naselja---]
}
Općine/gradovi
AdministrativeUnit-jedinice-lokalne-samouprave-4326.geojson
{
"type": "FeatureCollection",
"name": "jedinice-lokalne-samouprave-4326",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "gml_id": "AdministrativeUnit.2161247394", "nationalCode": 3271, "localId": "JLS.0052000307", "namespace": "HR.DGU.RPJ", "LocalisedCharacterString": "Jedinica lokalne samouprave", "Country": "HR", "language": "hrv", "nativeness": null, "nameStatus": null, "sourceOfName": null, "pronunciation": null, "text": "PETRIJEVCI", "script": "Latn", "residenceOfAuthority": null, "beginLifespanVersion": "2021-12-08T09:30:50.050Z", "boundary": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 18.485356001605737, 45.592890863127913 ],---sve točke--- ] ] ] } },---sve općine/gradovi---]
}
Županije
AdministrativeUnit-zupanije-4326.geojson
{
"type": "FeatureCollection",
"name": "zupanije-4326",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "gml_id": "AdministrativeUnit.2178659403", "nationalCode": 17, "localId": "ZU.0007000017", "namespace": "HR.DGU.RPJ", "LocalisedCharacterString": "Županija", "Country": "HR", "language": "hrv", "nativeness": null, "nameStatus": null, "sourceOfName": null, "pronunciation": null, "text": "Splitsko-dalmatinska županija", "script": "Latn", "residenceOfAuthority": null, "beginLifespanVersion": "2024-10-18T07:44:20.228Z", "boundary": null }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 15.99562316638338, 42.953347496980015 ],---sve točke--- ] ] ] } },---sve županije---]
}
Sad kad sam to sve napisao, nameće se “jedinice lokalne samouprave” umjesto općine i gradovi. Ali malko je dugačko, ref:HR:jedinica_lokalne_samouprave
I sada vidim da sam krivo napisao, localId
je nekakav drugi broj, ovaj koji mi gledamo je nationalCode
. U inspire definiciji piše da je to:
– Name – national code – Definition – Thematic identifier corresponding to the national administrative codes defined in each country.
Isto je generičan i ne pomaže baš.