Hi,
On 20.01.2013 18:49, Stephan Knauss wrote:
I'd like to maintain an updatable database of OSM data clipped by a
polygon. I understand how to initialize the database using osmosis'
--bounding-polygon task. But this task does not seem to operate on a
change stream. Any recommendations on trimming a change set down?
As you already noticed only nodes have a coordinate and can be used for
filtering.
Select your bounds a bit bigger and filter later in the database. I'm
using a cron job to clean it up.
Alternatively, if you don't need minutely updates, download and clip the
full area of interest in regular intervals, run a --derive-change task
against the new extract and the earlier version, and load the resulting
.osc into the database.
Bye
Frederik
--
Frederik Ramm ## eMail [email protected] ## N49°00'09" E008°23'33"
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev