Re: [osmosis-dev] Problem opening .osm files in JOSM after osmosis-0.32 processing

2010-01-11 Thread Holger Blum
Hi!

Brett Henderson schrieb:

> Can you provide the xml element for node with id=289490930 from both the
> original unterfraken.osm.bz2 file, and the osmosis modified files?  Then
> we can compare the two and try to figure out what might be causing the
> problem.

Because it's been a while since I've tried the last time I've reproduced
the problem today with current data.

Source was again the geofabrik extract unterfranken.osm.bz2 from 01-11,
the polygon is based on the outer way of relation 62465. JOSM 2813
complains about node 33641946.

Appearences in the original file:




  



[...]

[...]






  






[...]







  

The data in the processed file is exactly the same, apart from the
node-tag which is not included in the file because it's outside the
boundary.

If I delete the node-tag in the original file JOSM throws the same
error, if I also delete the references to this node in the way and the
relation the file opens again without a problem.
That's the same with the processed file, as soon as all remaining
elements containing this node ID are deleted the file opens.

So it doesn't seem to be a bug of osmosis. Now is the data somehow
corrupt or does JOSM have a bug? Any ideas?

Holger

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


Re: [osmosis-dev] Crash on processing nodes?

2010-01-11 Thread Brett Henderson
On Mon, Jan 11, 2010 at 8:38 PM, Brett Henderson  wrote:

> On Mon, Jan 11, 2010 at 6:40 PM, Frederik Ramm wrote:
>
>>
>> The problem was that in switching from --rci to --rri I didn't add the
>> --simc filter, which led to duplicate objects in the extracts. It should
>> be fixed now. I don't think that it was related to the Osmosis version,
>> but switched to 0.32 nonetheless.
>>
>
> I probably should fix the --apply-change so that it either fails or handles
> history diffs properly ... it's fairly non-obvious.
>
> I've checked in a change to detect this scenario and fail now.  It's only
in svn for now.

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


Re: [osmosis-dev] Crash on processing nodes?

2010-01-11 Thread Brett Henderson
On Mon, Jan 11, 2010 at 6:40 PM, Frederik Ramm  wrote:

> Hi,
>
> Simon Nuttall wrote:
> > 2010/1/10 Simon Nuttall :
> >> I think both these points are more a message for geofabrik.de than me
> >> because I'm using the diff's downloaded from their site.
> >
> > Sorry, I wasn't clear, I meant to say that CycleStreets uses the
> > ireland and great_britain extracts that we download from geofabrik.de,
> > and their system seems to be using 0.31.1 now.
>
> The problem was that in switching from --rci to --rri I didn't add the
> --simc filter, which led to duplicate objects in the extracts. It should
> be fixed now. I don't think that it was related to the Osmosis version,
> but switched to 0.32 nonetheless.
>

I probably should fix the --apply-change so that it either fails or handles
history diffs properly ... it's fairly non-obvious.
___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev