I want to get data after some The result should be same as when we use the
asked 15 Nov '13, 04:54 amritkarma |
In JOSM, instead of selecting new objects with "timestamp:sometime" and copy them to a new layer loosing their Id's, you could try the opposite: select old objects with "-timestamp:sometime" (the "-" is the reverse option) and delete all of them. Thus, only the most recent elements are staying and you preserve the Id's. But I'm not able to test this method right now, I'm not sure if it works. answered 18 Nov '13, 14:47 Pieren They would not be deleted immidiately. They would be marked for deletion and don't show up in josm but they will still exist in the osm file.
(18 Nov '13, 15:04)
amritkarma
Is this a problem? You could just ignore any element with
(18 Nov '13, 16:33)
scai ♦
JOSM can also discard data altogehter ("purge") instead of flagging it as deleted.
(19 Nov '13, 13:33)
Frederik Ramm ♦
|
For anyone looking to do this on a larger dataset, my approach would be to load the data into PostgreSQL
Then drop everything that was last touched before / after your desired horizon:
Then dump the data to PBF again:
answered 10 Aug '15, 00:46 mvexel |