Fehlender Eintrag mit Admin Level 6 bei Darmstadt?

Hallo zusammen,

es gibt ja verschiedene Admin Levels in OSM, z.B.

  • 8 - Stadt
  • 6 - Landkreis
  • 5 - Regierungsbezirk
  • 4 - Bundesland

Allerdings gibt es ja auch kreisfreie Städte, z.B. Schwabach oder Darmstadt.
Wir prüfen anhand von Koordinaten ob die Stadt im richtigen Landkreis liegt, wodurch Städte, bei denen kein Landkreis gesetzt ist, nicht gefunden werden (Ausnahmen sind hier natürlich Stadtstaaten).
Bei den meisten kreisfreien Städten ist ein Eintrag mit Admin Level 6 vorhanden, so auch bei Schwabach:

Query: [out:json];is_in(49.34050785395843,11.025095201972892);area._[admin_level~"[4568]"];out;
Ergebnis:

{
  "version": 0.6,
  "generator": "Overpass API 0.7.59 e21c39fe",
  "osm3s": {
    "timestamp_osm_base": "2022-10-26T09:01:08Z",
    "timestamp_areas_base": "2022-10-26T05:56:40Z",
    "copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."
  },
  "elements": [

{
  "type": "area",
  "id": 3600017614,
  "tags": {
    "TMC:cid_58:tabcd_1:Class": "Area",
    "TMC:cid_58:tabcd_1:LCLversion": "9.00",
    "TMC:cid_58:tabcd_1:LocationCode": "291",
    "admin_level": "5",
    "boundary": "administrative",
    "de:amtlicher_gemeindeschluessel": "095",
    "de:regionalschluessel": "095",
    "name": "Mittelfranken",
    "name:an": "Franconia Meya",
    "name:ar": "فرنكونيا الوسطى",
    "name:az": "Mərkəzi Frankoniya",
    "name:be": "Сярэдняя Франконія",
    "name:bg": "Средна Франкония",
    "name:cs": "Střední Franky",
    "name:cv": "Вăта Франкони",
    "name:de": "Mittelfranken",
    "name:el": "Μέση Φραγκονία",
    "name:en": "Middle Franconia",
    "name:eo": "Meza Frankonio",
    "name:es": "Franconia Media",
    "name:et": "Kesk-Frangimaa",
    "name:eu": "Frankonia Erdikoa",
    "name:fa": "فرانکن وسطی",
    "name:fr": "Moyenne-Franconie",
    "name:hu": "Közép-Frankföld",
    "name:ie": "Medie Franconia",
    "name:it": "Media Franconia",
    "name:la": "Franconia Media",
    "name:lb": "Mëttelfranken",
    "name:mk": "Средна Франконија",
    "name:nl": "Mittelfranken",
    "name:pl": "Środkowa Frankonia",
    "name:prefix:de": "Regierungsbezirk",
    "name:pt": "Média Francónia",
    "name:ro": "Franconia Mijlocie",
    "name:ru": "Средняя Франкония",
    "name:sl": "Srednja Frankonija",
    "name:sr": "Средња Франконија",
    "name:suffix:en": "(administrative region)",
    "name:suffix:fr": "(région administrative)",
    "name:uk": "Середня Франконія",
    "name:ur": "فرینکونیا وسطی",
    "name:zh": "中弗兰肯行政区",
    "ref:nuts": "DE25",
    "ref:nuts:2": "DE25",
    "type": "boundary",
    "wikidata": "Q10551",
    "wikipedia": "de:Mittelfranken"
  }
},
{
  "type": "area",
  "id": 3600062720,
  "tags": {
    "TMC:cid_58:tabcd_1:Class": "Area",
    "TMC:cid_58:tabcd_1:LCLversion": "12.0",
    "TMC:cid_58:tabcd_1:LocationCode": "2361",
    "admin_level": "6",
    "boundary": "administrative",
    "de:amtlicher_gemeindeschluessel": "09565000",
    "de:place": "city",
    "de:regionalschluessel": "095650000000",
    "license_plate_code": "SC",
    "name": "Schwabach",
    "name:prefix:de": "Kreisfreie Stadt",
    "name_suffix:en": "(district city)",
    "name_suffix:fr": "(ville-arrondissement)",
    "ref:nuts:3": "DE255",
    "source": "http://wiki.openstreetmap.org/wiki/Import/Catalogue/Kreisgrenzen_Deutschland_2005",
    "type": "boundary",
    "wikidata": "Q14889",
    "wikipedia": "de:Schwabach"
  }
},
{
  "type": "area",
  "id": 3602145268,
  "tags": {
    "ISO3166-2": "DE-BY",
    "TMC:cid_58:tabcd_1:Class": "Area",
    "TMC:cid_58:tabcd_1:LCLversion": "12.0",
    "TMC:cid_58:tabcd_1:LocationCode": "264",
    "admin_level": "4",
    "alt_name:eo": "Bavarujo",
    "border_type": "state",
    "boundary": "administrative",
    "de:amtlicher_gemeindeschluessel": "09",
    "de:regionalschluessel": "09",
    "int_name": "Bavaria",
    "name": "Bayern",
    "name:af": "Beiere",
    "name:am": "ባቫሪያ",
    "name:an": "Bavera",
    "name:ar": "بفاريا",
    "name:ay": "Bayern suyu",
    "name:az": "Bavariya",
    "name:ba": "Бавария",
    "name:be": "Баварыя",
    "name:bg": "Бавария",
    "name:bn": "বায়ার্ন",
    "name:br": "Bavaria",
    "name:bs": "Bavarska",
    "name:ca": "Baviera",
    "name:ce": "Бавари",
    "name:cs": "Bavorsko",
    "name:cv": "Бавари",
    "name:cy": "Bafaria",
    "name:de": "Bayern",
    "name:el": "Βαυαρία",
    "name:en": "Bavaria",
    "name:eo": "Bavario",
    "name:es": "Baviera",
    "name:et": "Baieri",
    "name:eu": "Bavaria",
    "name:fa": "بایرن",
    "name:fi": "Baijeri",
    "name:fr": "Bavière",
    "name:fy": "Beieren",
    "name:ga": "An Bhaváir",
    "name:gd": "A' Bhaidhearn",
    "name:gl": "Baviera",
    "name:gn": "Baviera",
    "name:gv": "Yn Vaveyr",
    "name:he": "בוואריה",
    "name:hi": "बायर्न",
    "name:hr": "Bavarska",
    "name:hsb": "Bayerska",
    "name:hu": "Bajorország",
    "name:hy": "Բավարիա",
    "name:ia": "Bavaria",
    "name:ie": "Bavaria",
    "name:io": "Bavaria",
    "name:is": "Bæjaraland",
    "name:it": "Baviera",
    "name:ja": "バイエルン州",
    "name:ka": "ბავარია",
    "name:kg": "Bavaria",
    "name:kk": "Бавария",
    "name:ko": "바이에른 주",
    "name:ky": "Бавария",
    "name:la": "Bavaria",
    "name:li": "Beiere",
    "name:lt": "Bavarija",
    "name:lv": "Bavārija",
    "name:mk": "Баварија",
    "name:ml": "ബവേറിയ",
    "name:mn": "Бавар",
    "name:mr": "बायर्न",
    "name:ms": "Bavaria",
    "name:mt": "Bavarja",
    "name:nl": "Beieren",
    "name:oc": "Bavièra",
    "name:os": "Бавари",
    "name:pa": "ਬਾਈਆਨ",
    "name:pl": "Bawaria",
    "name:prefix": "Freistaat",
    "name:pt": "Baviera",
    "name:rm": "Baviera",
    "name:ro": "Bavaria",
    "name:ru": "Бавария",
    "name:sc": "Baviera",
    "name:sk": "Bavorsko",
    "name:sl": "Bavarska",
    "name:sq": "Bavaria",
    "name:sr": "Баварска",
    "name:sw": "Bavaria",
    "name:szl": "Bajery",
    "name:ta": "பவேரியா",
    "name:te": "బవేరియా",
    "name:th": "รัฐบาวาเรีย",
    "name:tk": "Bawariýa",
    "name:tl": "Baviera",
    "name:tr": "Bavyera",
    "name:tt": "Бавария",
    "name:uk": "Баварія",
    "name:ur": "بواریا",
    "name:uz": "Bavariya",
    "name:vo": "Bayän",
    "name:yi": "בייערן",
    "name:yo": "Bavaria",
    "name:zh": "巴伐利亚",
    "official_name": "Freistaat Bayern",
    "official_name:ar": "ولاية بفاريا الحرة",
    "official_name:cs": "Svobodný stát Bavorsko",
    "official_name:en": "Free State of Bavaria",
    "official_name:sk": "Slobodný štát Bavorsko",
    "official_name:sr": "Слободна Држава Баварска",
    "old_name:cs": "Bavory",
    "ref": "BY",
    "ref:nuts": "DE2",
    "ref:nuts:1": "DE2",
    "type": "boundary",
    "wikidata": "Q980",
    "wikipedia": "de:Bayern"
  }
}

  ]
}

Bei Darmstadt ist dies allerdings nicht der Fall.
Ist hier eventuell ein Fehler unterlaufen? Oder ist es gewollt, dass kreisfreie Städte keinen Eintrag mit Admin Level 6 haben?

Query: [out:json];is_in(49.8202319,8.6417275);area._[admin_level~"[4568]"];out;
Ergebnis:

{
  "version": 0.6,
  "generator": "Overpass API 0.7.59 e21c39fe",
  "osm3s": {
    "timestamp_osm_base": "2022-10-26T08:53:08Z",
    "timestamp_areas_base": "2022-10-26T05:56:40Z",
    "copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."
  },
  "elements": [

{
  "type": "area",
  "id": 3600062581,
  "tags": {
    "TMC:cid_58:tabcd_1:Class": "Area",
    "TMC:cid_58:tabcd_1:LCLversion": "8.00",
    "TMC:cid_58:tabcd_1:LocationCode": "374",
    "admin_level": "8",
    "boundary": "administrative",
    "de:amtlicher_gemeindeschluessel": "06411000",
    "de:place": "city",
    "de:regionalschluessel": "064110000000",
    "license_plate_code": "DA",
    "name": "Darmstadt",
    "name:ar": "دارمشتات",
    "name:prefix": "Wissenschaftsstadt",
    "ref:nuts:3": "DE711",
    "source": "http://wiki.openstreetmap.org/wiki/Import/Catalogue/Kreisgrenzen_Deutschland_2005",
    "type": "boundary",
    "wikidata": "Q2973",
    "wikipedia": "de:Darmstadt"
  }
},
{
  "type": "area",
  "id": 3600062650,
  "tags": {
    "ISO3166-2": "DE-HE",
    "TMC:cid_58:tabcd_1:Class": "Area",
    "TMC:cid_58:tabcd_1:LCLversion": "12.0",
    "TMC:cid_58:tabcd_1:LocationCode": "261",
    "admin_level": "4",
    "alt_name:eo": "Hesujo",
    "boundary": "administrative",
    "de:amtlicher_gemeindeschluessel": "06",
    "de:regionalschluessel": "06",
    "name": "Hessen",
    "name:ar": "هسن",
    "name:ca": "Hessen",
    "name:de": "Hessen",
    "name:el": "Έσση",
    "name:en": "Hesse",
    "name:eo": "Hesio",
    "name:es": "Hesse",
    "name:fa": "هسن",
    "name:fr": "Hesse",
    "name:hsb": "Hessenska",
    "name:hu": "Hessen",
    "name:io": "Hesia",
    "name:it": "Assia",
    "name:la": "Hassia",
    "name:lt": "Hesenas",
    "name:mk": "Хесен",
    "name:pfl": "Hesse",
    "name:pl": "Hesja",
    "name:prefix": "Bundesland",
    "name:pt": "Hesse",
    "name:ru": "Гессен",
    "name:sk": "Hesensko",
    "name:sr": "Хесен",
    "name:tzl": "Hesna",
    "name:uk": "Гессен",
    "name:ur": "ہیسے",
    "name:vo": "Hesän",
    "name:zh": "黑森州",
    "ref": "H",
    "ref:nuts": "DE7",
    "ref:nuts:1": "DE7",
    "source": "http://wiki.openstreetmap.org/wiki/Import/Catalogue/Kreisgrenzen_Deutschland_2005",
    "type": "boundary",
    "wikidata": "Q1199",
    "wikipedia": "de:Hessen"
  }
},
{
  "type": "area",
  "id": 3600286590,
  "tags": {
    "TMC:cid_58:tabcd_1:Class": "Area",
    "TMC:cid_58:tabcd_1:LCLversion": "9.00",
    "TMC:cid_58:tabcd_1:LocationCode": "275",
    "admin_level": "5",
    "boundary": "administrative",
    "de:amtlicher_gemeindeschluessel": "064",
    "de:regionalschluessel": "064",
    "name": "Regierungsbezirk Darmstadt",
    "name:de": "Regierungsbezirk Darmstadt",
    "name:fr": "District de Darmstadt",
    "name:ru": "Дармштадт",
    "ref:nuts": "DE71",
    "ref:nuts:2": "DE71",
    "type": "boundary",
    "wikidata": "Q7932",
    "wikipedia": "de:Regierungsbezirk Darmstadt"
  }
}

  ]
}

4 posts - 3 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/fehlender-eintrag-mit-admin-level-6-bei-darmstadt/4645