Skip to content

Missing tags while extracting features with geometries #332

@vwvbrand

Description

@vwvbrand

Use Case Description

Extracting road features with geometries and attribute data (width) to buffer and create polygonal geometries. It would be useful to enrich existing timeseries of land-use/land-cover datasets that mostly based on remote sensing data (for example, UKCEH land-cover.

Request Description

Only limited number of tags is returned for POST/elements/(geometryType) when trying to fetch tags. Currently it is specified as "properties" : "tags". It would be more useful to bring all the tags available from OSM (or, at least, specify needed, for example, "properties" : "width").

Additional Information

For the sample request with a simple filter for road features, the query brings only 127 tags (compared to raw data fetched through Overpass Turbo API - 612 tags).
Capture_1
Capture_2

The Python code used is the following (template bounding bbox from Ohsome API documentation):
url = 'https://api.ohsome.org/v1/elements/geometry' data = {"bboxes": "8.625,49.3711,8.7334,49.4397", "properties": "tags", "time": "2024-01-01", "filter": "highway=tertiary"} response = requests.post(url, data=data) print(response.json())

'Width' column persists in the 2023-2024 timestamp, but omitted from the earlier timestamps, which complicates the analysis of historical land use change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions