[OSM-dev] Get geometries out of OSM changes file
Pierre Béland
pierzenh at yahoo.fr
Mon Mar 22 15:29:43 UTC 2021
As we can see, using OSM changes file gives a partial info and we need to go back to the database to obtain geometry of a deleted node.
If it can suit François needs, there are other solutions like Planet files compare at various intervals.
If situation at the end of day (loosing intermediate modifications in the day) would be acceptable, it would be possible to download (I suppose France) from GeoFabrik every night and compare the files Before - After in PostgreSQL.
This way you can have ways added, revised or deleted and for these the nodes added, revised or deleted. This let you find objects added / deleted or geometry revisio only.
Pierre
Le lundi 22 mars 2021 05 h 11 min 58 s UTC−4, Norbert Renner <ikonor at gmx.de> a écrit :
> Do we agree about nodes lat/lon presence in an osc file as shown in the
> first example here?
> https://wiki.openstreetmap.org/wiki/OsmChange
No, a node deletion contains neither lat/lon nor tags, e.g.:
https://www.openstreetmap.org/api/0.6/changeset/45652310/download
Norbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20210322/ae7a528d/attachment.htm>
More information about the dev
mailing list