[HOT] Downlaoding OSM data with timestamp field and Source field
olubunmi4ever at yahoo.co.uk
Fri Sep 18 11:39:05 UTC 2015
Thanks Imre and Giovanni,
I have tried out your method on overpass and it work but the issue i am having has to do with the extent of the size of the data which makes the script to timeout.
When i tried extracting highway for the whole of Nigeria it timed out, i reduced it to a State it timed out too but when i reduced it to a lower geography it worked. I need the data for a larger geography, do you think if a have a faster internet the script can run before it timed out or do i try other browsers as i currently use chrome.
Will appreciate your advice.
I can't figure out the api method, can you please explain better
ThanksSamuel Samuel Aiyeoribe
On Friday, 18 September 2015, 11:40, Imre Samu <pella.samu at gmail.com> wrote:
my tip for overpass-turbo:
you have to add "meta" keyword to the "generated" query :
"meta is the most complete mode. Beside child elements and tags, also the meta data (timestamp, version, changeset, user name and id) is printed:"
( see more: http://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide )
like: http://overpass-turbo.eu/s/bwB and you can export the data ...
my method:- http://overpass-turbo.eu + "Wizard" menu- and added : amenity=drinking_water in "Nepal"- press: "build and run query" -> this result generate query, but without metadata ..
- on the code panel ( left ) find this lines :
// print resultsout body;
- add a "meta" keyword !
// print resultsout body meta;
- and re-"Run" again! ( the result: http://overpass-turbo.eu/s/bwB )
be careful !! The metadata "user" = the user who last modified the object!!!so on this object ( http://www.openstreetmap.org/node/1743138335 ) the "version"=4 you only see the last user name!!!!if you want to know the other 3 user, you have to check the history: http://www.openstreetmap.org/node/1743138335/history
regards :) Imre
2015-09-18 11:21 GMT+02:00 Samuel Aiyeoribe <olubunmi4ever at yahoo.co.uk>:
I will like to know if there is a way to download osm data with "timestamp" and "Source" field (source field should be the OSM username of the person that digitise the feature into OSM.
I have tried QGIS osm download tool, HOT export tool, overpass turbo and InSAFE but couldn't retrieve any field with "timestamp" and "source" information. Hopefully there is a trick i don't know about.
CheersSamuel Samuel Aiyeoribe
HOT mailing list
HOT at openstreetmap.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the HOT