mkgmap_svn_index mdr compile error on Finland

When I try to compile Finland (I think this has been already happening since around rev 1835) I get the following error - If I noticed right this happens on the mdr creation - maps compile fine beforehand: I don't think it was reported yet - that's why I send it out here. (similar error happens on some German Bundeslaender - however Germany as a whole compiles fine). This is compiling the Finland osm.pbf extract from Geofabrik. Can you get the same error or do I need to provide some more info? Exception in thread "main" java.lang.AssertionError at uk.me.parabola.mkgmap.combiners.MdrBuilder.addStreets(MdrBuilder.java:310) at uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:171) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:411) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126) at uk.me.parabola.mkgmap.main.Main.main(Main.java:129)

On Mon, Feb 14, 2011 at 11:30:59PM +0100, Felix Hartmann wrote:
When I try to compile Finland (I think this has been already happening since around rev 1835) I get the following error
I have not seen any mkgmap assertions for a long time. Yesterday and the day before, I got some errors for some generate-sea multipolygons. They should be gone today.
Can you get the same error or do I need to provide some more info?
Yes, please provide more info. I am not using --index, for what it is worth. My scripts are at http://www.polkupyoraily.net/osm/. Marko

On 15.02.2011 08:12, Marko Mäkelä wrote:
On Mon, Feb 14, 2011 at 11:30:59PM +0100, Felix Hartmann wrote:
When I try to compile Finland (I think this has been already happening since around rev 1835) I get the following error I have not seen any mkgmap assertions for a long time. Yesterday and the day before, I got some errors for some generate-sea multipolygons. They should be gone today.
Can you get the same error or do I need to provide some more info? Yes, please provide more info. I am not using --index, for what it is worth. My scripts are at http://www.polkupyoraily.net/osm/.
Marko
Well if you're not using --index on the index branch, then you cannot get this error. As it happens on mdr creation.....

On Tue, Feb 15, 2011 at 09:05:29AM +0100, Felix Hartmann wrote:
Well if you're not using --index on the index branch, then you cannot get this error. As it happens on mdr creation.....
Oh, sorry for the noise. And by the way, my coastline fixes from yesterday were not enough, or someone planted another bug there. Marko

Hi
Exception in thread "main" java.lang.AssertionError at uk.me.parabola.mkgmap.combiners.MdrBuilder.addStreets(MdrBuilder.java:310) at
Well, I can't reproduce, but I believe it is because of a city that doesn't have a name. Unlike for regions, having a city without a name is a bit more acceptable maybe, since an icon will still show up on the map. So I have reverted the strict check and now simply ignore the city associated with a street if that city doesn't have a name. You will have to try it out, since I don't have a case where that happens. It is r1852. (Ha, the fix commit message arrived in the same minute as your next message!) ..Steve

On 15.02.2011 09:10, Steve Ratcliffe wrote:
Hi
Exception in thread "main" java.lang.AssertionError at uk.me.parabola.mkgmap.combiners.MdrBuilder.addStreets(MdrBuilder.java:310)
at
Well, I can't reproduce, but I believe it is because of a city that doesn't have a name.
Unlike for regions, having a city without a name is a bit more acceptable maybe, since an icon will still show up on the map.
So I have reverted the strict check and now simply ignore the city associated with a street if that city doesn't have a name. You will have to try it out, since I don't have a case where that happens. It is r1852.
(Ha, the fix commit message arrived in the same minute as your next message!)
..Steve
yes, 1851 (not 1852 which is not existing yet) solved it.
participants (3)
-
Felix Hartmann
-
Marko Mäkelä
-
Steve Ratcliffe