Skip to main content

Hello everyone,

I use PBF data format as a reader.
Which I downloaded from https://planet.openstreetmap.org/pbf/
or any other URL and Esri Geodatabase (File Geodb API) format as a writer.

Is it any possibility that the reader takes the
LATEST VERSION pbf file automatically from the website and After that the
writer show the date of used pbf file (which date of pbf file was used)?

For example: I took the pbf file of (2018-01-11)
in reader and the writer shows the same date (2018-01-11) data is used for
reader.

Thanks.

If you use a HTTPCaller to GET the data from https://planet.openstreetmap.org/pbf/ it will return a response body containing the HTML source of that page, so searching for planet-latest.osm.pbf followed by a date should do the trick.

You can then use that attribute to either tag all your features with that date or store it in a logfile or table, whatever you prefer

none2none.fmw

 


Reply