Re: [mkgmap-dev] mkgmap error with austria.osm.bz2 of June 1 (all other contry extracts by gefabrik for Europe compiled except for Austria)

2009-06-02 Thread Mark Burton

Hi Felix, Thilo,

Is it possible to produce a small example OSM file that shows this
problem? If so, please zip it up and send it to me or put it on a
website I can access.

Cheers,

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] mkgmap error with austria.osm.bz2 of June 1 (all other contry extracts by gefabrik for Europe compiled except for Austria)

2009-06-02 Thread Thilo Hannemann

Hi Mark,

I tried to do so, but the small file was processed without error :(.  
The big one is available at a website though (http://osm.arndnet.de/problem.osm.zip 
). The problem to reproduce that error is that it occurs for me only  
if I merge contourlines that I generated on my own (not with  
srtm2osm). So this is quite a special case. I wouldn't have reported  
that error, but as I see that extremecarver sees a similar error I  
thought it might help.


Regards
Thilo

Am 02.06.2009 um 08:50 schrieb Mark Burton:



Hi Felix, Thilo,

Is it possible to produce a small example OSM file that shows this
problem? If so, please zip it up and send it to me or put it on a
website I can access.

Cheers,

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] mkgmap error with austria.osm.bz2 of June 1 (all other contry extracts by gefabrik for Europe compiled except for Austria)

2009-06-02 Thread Robert Vollmert


On Jun 2, 2009, at 07:50, Thilo Hannemann wrote:

The command line is
java -Xmx2048m -ea -Dlog.config=logging.properties -jar trunk/dist/ 
mkgmap.jar --net --route problem.osm


The log output is available at http://osm.arndnet.de/mkgmap.log.0  
(15 MB)
The input file problem.osm is available at http://osm.arndnet.de/problem.osm.zip 
 (16 MB)


Reduced (and slightly munged) extract that causes the same error here at
http://page.mi.fu-berlin.de/vollmert/tmp/neud.osm.gz

Cheers
Robert

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] mkgmap error with austria.osm.bz2 of June 1 (all other contry extracts by gefabrik for Europe compiled except for Austria)

2009-06-02 Thread Ralf Kleineisel
Thilo Hannemann wrote:

 I tried to do so, but the small file was processed without error :(. The
 big one is available at a website though
 (http://osm.arndnet.de/problem.osm.zip). The problem to reproduce that
 error is that it occurs for me only if I merge contourlines that I
 generated on my own 

I suggest you create a separate overlay map with contours only and an second
map with OSM data only. The SRTM map gets --transparent but no --route, the
OSM map the other way round. This way you have to process the SRTM data only
once. SRTM data don't change so there's no need for an update. If you update
the OSM map you can easily merge the existing SRTM map into the gmapsupp.img.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] mkgmap error with austria.osm.bz2 of June 1 (all other contry extracts by gefabrik for Europe compiled except for Austria)

2009-06-02 Thread Mark Burton

Hi Robert,

 http://page.mi.fu-berlin.de/vollmert/tmp/neud.osm.gz

Yes, that file contains lot's of duplicate ways/nodes sitting on top of
each other so it will never be able to be sub-divided (hence mkgmap
blows up). Personally, I don't think we need to fix mkgmap to handle
this because the data is obviously crap. What I can do is put in some
code to detect this situation and issue a more useful error message
before it bombs out.

BTW if you download the same area, all the crap has gone away.

Cheers,

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] mkgmap error with austria.osm.bz2

2009-06-02 Thread Mark Burton

Hi Felix,

 Well it does not look so bad that mkgmap should crash. There are about 
 40-50 nodes that have no tags attached to them at all (except if someone 
 cleaned up before me looking at it). In my eyes this should not lead 
 mkgmap to crash.

Ideally, yes, it shouldn't crash on any data but, at this time, mkgmap
can't cope with a small area that contains more nodes/arcs than are
allowed in a subdivision. I am not saying this issue cannot be fixed
but, to me, it's a low priority because no sensible map should
contain such a cluster of nodes. At least now it tells you where the
problem area is.

Cheers,

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] mkgmap error with austria.osm.bz2 of June 1 (all other contry extracts by gefabrik for Europe compiled except for Austria)

2009-06-02 Thread Mark Burton

I fired up JOSM and deleted the myriad duplicate ways as no one else had
bothered to do it. With luck, the austria map will build now.

Cheers,

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev