Re: [OSM-dev] OSM API lookups to complement minutely diffs?
Thanks mmd, As said, I'd like to fetch the latest available augmented diff and keep uptodate. So, to understand it correctly: Every minute I first call the http://overpass-api.de/api/augmented_diff_status which returns an id, e.g. 2111988, then I fetch the augmented diff file http://overpass-api.de/api/augmented_diff?id=2111988 Just want to be sure that this is the correct way to use the API. :Stefan 2016-09-17 16:48 GMT+02:00 mmd: > Am 15.09.2016 um 22:53 schrieb Stefan Keller: >> I'm setting up a Kafka publish-subscribe messaging system delivering >> minutely diffs. >> >> AFAIK augmented diffs are rather an experimental feature and I'd like >> to avoid the latency time and blackouts of overpass which runs in same >> server. So I'm concentrating on the main OSM API. >> >> Now, osmChange XML like >> http://www.osm.org/api/0.6/changeset/42143238/download obviously does >> not include all info (e.g. tags) from ref nodes/ways/relations. >> >> I'm not looking for specific info but I'd like to get at least all >> data about nodes/ways/relations which are created/modified/deleted in >> a changeset. >> > > This sounds a lot like what achavi is doing right now. > > Note that with the introduction of the famous 'attic' concept, augmented > diffs are nowadays simply translated into a plain Overpass QL query and > calculated on the fly. > > This also means that you don't have to stick to a minute interval or a > global scope as before: you're free to provide time intervals matching a > changeset (like achavi does), or restrict the adiff to a certain > bounding box or even some nodes/ways/relations with certain tags only. > > There's no XSD around, the wiki page should answer most questions, > though. In general, the Overpass Dev list would be a good place for more > details and discussions. [1] > > [1] http://listes.openstreetmap.fr/wws/info/overpass > > > > > ___ > dev mailing list > dev@openstreetmap.org > https://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Trouble editing in wiki.openstreetmap.org
Hi gang, Sorry if this isn't the right listserv: but I have been having trouble posting to the OSM wiki for months. I've been using Chrome 53.0.2785.116 on a Mac. The problem is a I can't see the Captcha to post or save a page I've edited. I see the text saying, "Your edit includes new external links. To protect the wiki against automated spam, we kindly ask you to type the two words you see in the box below:" but there's no box. Any ideas? Screenshot: https://dl.dropboxusercontent.com/u/1295925/Screen%20Shot%202016-09-17%20at%203.19.47%20PM.png Thanks for the help (maybe I'm missing something really simple). Jon___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] OSM API lookups to complement minutely diffs?
I have already opened a Overpass API Github issue relatd to a restriction with the Overpass Api while extracting the Attic data. If many versions of an object are available in the time span you specifiy, the Overpass API will only return the first and the last versions of the object. Then, you wont obtain all content included in the minutely diffs. Pierre De : mmdÀ : dev@openstreetmap.org Envoyé le : samedi 17 Septembre 2016 10h48 Objet : Re: [OSM-dev] OSM API lookups to complement minutely diffs? Am 15.09.2016 um 22:53 schrieb Stefan Keller: > I'm setting up a Kafka publish-subscribe messaging system delivering > minutely diffs. > > AFAIK augmented diffs are rather an experimental feature and I'd like > to avoid the latency time and blackouts of overpass which runs in same > server. So I'm concentrating on the main OSM API. > > Now, osmChange XML like > http://www.osm.org/api/0.6/changeset/42143238/download obviously does > not include all info (e.g. tags) from ref nodes/ways/relations. > > I'm not looking for specific info but I'd like to get at least all > data about nodes/ways/relations which are created/modified/deleted in > a changeset. > This sounds a lot like what achavi is doing right now. Note that with the introduction of the famous 'attic' concept, augmented diffs are nowadays simply translated into a plain Overpass QL query and calculated on the fly. This also means that you don't have to stick to a minute interval or a global scope as before: you're free to provide time intervals matching a changeset (like achavi does), or restrict the adiff to a certain bounding box or even some nodes/ways/relations with certain tags only. There's no XSD around, the wiki page should answer most questions, though. In general, the Overpass Dev list would be a good place for more details and discussions. [1] [1] http://listes.openstreetmap.fr/wws/info/overpass ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] OSM API lookups to complement minutely diffs?
Am 15.09.2016 um 22:53 schrieb Stefan Keller: > I'm setting up a Kafka publish-subscribe messaging system delivering > minutely diffs. > > AFAIK augmented diffs are rather an experimental feature and I'd like > to avoid the latency time and blackouts of overpass which runs in same > server. So I'm concentrating on the main OSM API. > > Now, osmChange XML like > http://www.osm.org/api/0.6/changeset/42143238/download obviously does > not include all info (e.g. tags) from ref nodes/ways/relations. > > I'm not looking for specific info but I'd like to get at least all > data about nodes/ways/relations which are created/modified/deleted in > a changeset. > This sounds a lot like what achavi is doing right now. Note that with the introduction of the famous 'attic' concept, augmented diffs are nowadays simply translated into a plain Overpass QL query and calculated on the fly. This also means that you don't have to stick to a minute interval or a global scope as before: you're free to provide time intervals matching a changeset (like achavi does), or restrict the adiff to a certain bounding box or even some nodes/ways/relations with certain tags only. There's no XSD around, the wiki page should answer most questions, though. In general, the Overpass Dev list would be a good place for more details and discussions. [1] [1] http://listes.openstreetmap.fr/wws/info/overpass ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] How does osm2pgsql handle multiple matches of same key?
> > > If you want a column for parking:lane:right and parking:lane:left, add > both to your style file. > > Ah, thanks. Should have caught that from addr:housename in the default style file. I had made it more complicated in my mind than it needed to be. Looks like that will work for my purposes. ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev