[DIvisions] Mismatch between OSM's and overture's `division` feature type
@stepps00 ci sta già lavorando.
Dal 5/2/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Discussed in https://github.com/orgs/OvertureMaps/discussions/252
Originally posted by bocalml November 18, 2024
Category Feedback
Querying division feature type using the overturemaps package for some bbox returns following data:
batch = overturemaps.record_batch_reader(
overture_type="division", bbox=(1.0, 11.0, 2.0, 12.0)
)
gdf = gpd.GeoDataFrame.from_arrow(batch)
places_of_interest = ["isolated_dwelling", "village", "hamlet", "town", "city"]
# `local_type` column is of list[tuple[str, str]] type, just interested in the second element of the tuple
gdf = gdf.loc[gdf["local_type"].apply(lambda x: x[0][1] in places_of_interest)]
gdf["local_type"].value_counts()
>>> local_type
>>> [(en, village)] 100
>>> [(en, hamlet)] 29
>>> [(en, town)] 1
>>> Name: count, dtype: int64
while, when using overpass turbo to retrieve the data (from which I assume the overture's division feature type is pulling the data from) with
[out:json][timeout:25];
(
node["place"](11.0, 1.0, 12.0, 2.0);
);
out body;
>;
out skel qt;
and processing this data returns a larger amount of places actually being detected
gdf_osm = gpd.read_file("osm_benin_bbox.geojson")
gdf_osm = gdf_osm.loc[gdf_osm["place"].isin(places_of_interest)]
gdf_osm["place"].value_counts()
>>> place
>>> village 103
>>> hamlet 49
>>> town 1
>>> Name: count, dtype: int64
Couple of questions:
- why is there a mismatch between the OSM and overture data? My understanding was that overture is using OSM and GeoBoundaries dataset for this feature type
- is there some kind of filtering/preprocessing being used on your side to filter this OSM data, which would explain this? Couldn't find this explanation in the docs
- will the overture ever match the same data as it is in the OSM (it is clear to me this won't be the case if indeed there is some filtering/preprocessing happening on your side), regardless of the other datasets that could be added to it
- also noticed
isolated_dwellingtype barely even exists in overture'sdivisionfeature type (there's ~1.1k rows), while this number is significantly larger in the OSM - (couldn't find the
Divisioncategory, opened this discussion asBase)
Dependency with other categories, if any.
No response
- Lingua principale
- Python
- Stelle
- 1.2k
- Fork
- 48
- Merge medio
- 56m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OvertureMaps/data
-
external
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
OvertureMaps/data#584 ·
-
external
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OvertureMaps/data#509 ·
-
Places (FI): ~90 duplicate, misplaced, non-pharmacy or closed features in the pharmacy categoryApertaexternal
Difficoltà 4/5 3-5 giorni Idoneità per principianti 49/100
OvertureMaps/data#585 ·
-
[Places] Closed Feather River hospital identity mixed with active Skyway clinic (Paradise, CA)Apertaexternal
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
OvertureMaps/data#583 ·
-
data-sources external
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
OvertureMaps/data#581 ·
Tutte le issue di OvertureMaps/data
Issue simili
-
[Bug] Unit tests reach real Bedrock call paths without patching the modelForse già presa @proton0210 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
aws-samples/sample-aws-genai-db-modernizer#1318 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
pyarrow-25.0.1-cp310-cp310-manylinux_2_28_x86_64.whl: 1 vulnerabilities (highest severity is: 5.3)ApertaMend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
capitalone/locopy#394 ·
-
[Bug] Unhandled ValueError terminates watchdog thread when GISRC value contains multiple colonsApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
sdk-typescript: unquoted COPY globs in shell form are silently dropped from the image build contextApertabug javascript
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
ietf-tools/datatracker#11922 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno