[OSM-dev] Querying Changeset Tags in OSM API

Paul Norman penorman at mac.com
Fri May 24 09:23:18 UTC 2013


You could do this with pgsnapshot (or if just doing analysis, osm2pgsql) in
the same database as changesetmd, and then do JOINs between the tables to
get objects that were last modified in a changeset that had a particular
tag.

 

This may be hampered by two things

-          A lack of minutely diff support by changesetmd

-          A lack of schema support in most OSM software. See
http://www.postgresql.org/docs/9.1/static/ddl-schemas.html in the postgresql
docs for information about schemas. osmosis

 

This probably isn't exactly what you want, but I think it's the best there
is at this point. 

 

From: william skora [mailto:skorasaurus at gmail.com] 
Sent: Sunday, May 05, 2013 8:50 AM
To: dev at openstreetmap.org
Subject: [OSM-dev] Querying Changeset Tags in OSM API

 

 

Hi, 

I'm curious if there's any current capabilities to filter entire objects
based on the tags used on the changeset. I'm on the CAP103 team in Northern
Haiti with HOT and we'd like to filter objects modified by mappers that we
are training by querying changesets, instead of adding a tag to each object
within a specific bbox and a changeset tag with something like
source:Project=CAP103.
 
Ideally, I'd prefer to do this through a server-side interface (XAPI) but
would be open to client-side filtering options like osmosis. 

as I understand, Overpass isn't currently capable to do this; it is only
able to query within 

Any advice and help is appreciated. 

Regards,
Will 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20130524/323c16dd/attachment.html>


More information about the dev mailing list