[OSM-dev] Osmosis: Filter way/node *without* key x

Brett Henderson brett at bretth.com
Thu Feb 12 23:20:54 GMT 2009


Ldp wrote:
> Brett Henderson wrote:
>
>   
>> You can still apply full planet changesets to your local file then run 
>> the result through a bounding box to remove unwanted data.
>>     
>
> I know, and I've done that in the past, but if you load diff files with 
> osm2pgsql (in slim mode), that can't be done. You'd have to patch the 
> extract with osmosis and reload (with osm2pgsql) the whole thing every time.
>   
I agree it's a pain.  If there was a simple way to fix it I would.
> But I notice osm2pgsql's --bbox parameter, so I'd have to see if that 
> works with --slim --append mode as well. And if it works, if it produces 
> sane results around the extract edges.
>   
Okay.  Yep, the only option you'll have in most cases is to rely on the 
import tool using the database (which has the full view of data) to 
eliminate unwanted data.





More information about the dev mailing list