[osmosis-dev] lost relations while clipping

2010-10-11 Thread Maxim Dubinin
Hi osmosis-devs,

On our regional extraction system we've ran into what seems to be a
bug.

Relations, that are members by themselves are dropped while extracting.

Example of such relation: http://www.openstreetmap.org/browse/relation/358215

Code and example to reproduce this behavior is attached.

Thank you for your work.

Maxim
http://gis-lab.info

runme
Description: Binary data


test.osm
Description: Binary data


test.poly
Description: Binary data
___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev


[osmosis-dev] extracting with --used-node BitSet misses certain objects

2010-01-18 Thread Maxim Dubinin
Hi osmosis-devs,

I've encountered rather strange behaviour for this test case:

osmosis --rx file=data/planet-091230.osm --bp file=poly/tatar.poly 
idTrackerType=BitSet --used-node idTrackerType=BitSet --wx file=tatar.osm

It produces  OSM XML, that completely misses place=hamlet. If I run it like 
this:

osmosis --rx file=data/planet-091230.osm --bp file=poly/tatar.poly 
idTrackerType=BitSet --wx file=tatar.osm

They are back. Is it normal? I'm using Osmosis 0.33 (r19236)

Maxim


___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev


[osmosis-dev] superslow completeWays again

2009-11-04 Thread Maxim Dubinin
Hi osmosis-devs,

Our server spent 54+ hours tryingn to clip Moscow region by osmosis with
completeWays on. I then spent another half a day with smaller test
region, trying to make Osmosis (0.31.2) clip with completeWays=yes in
reasonable amount of time. No luck.

Writing to the output file is very slow. According to logging, output
speed drops from 3000 to 50 nodes/sec.

Reducing the input file doesn't help at all, regardless whether I have a country
subset as input (3 gb), or pre-clipped osm file (20 mb) - it still
takes 40 mins for the test region.

I've read all I could find on the topic and I guess I'm seeking for
confirmation like don't even try to do it with osmosis.

I hope I missed something obvious. Any pointers?

Maxim


___
osmosis-dev mailing list
osmosis-...@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev


Re: [osmosis-dev] superslow completeWays again

2009-11-04 Thread Maxim Dubinin
Hi,

thanks for suggestion, but doesn't clipIncompleteEntities=yes
produce something different? With clipIncompleteEntities=yes nodes and
ways outside of clipping polygon are removed, but I want to keep them
if some nodes of the ways are inside the polygon.

Maxim

Вы писали 4 ноября 2009 г., 17:37:22:

FR completeWays IMHO is an ugly hack defying the streaming concept that
FR Osmosis was originally built on. Are you really really sure you need it?
FR   Because with clipIncompleteEntities=yes it works like a charm.

FR Bye
FR Frederik


___
osmosis-dev mailing list
osmosis-...@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev