logo separator

[mkgmap-dev] Overview2 branch - options file typo?

From GerdP gpetermann_muenchen at hotmail.com on Mon May 6 20:01:52 BST 2013

Hi Felix,

it's ant clean, not clear.

reg. the error message: I have to find a way to handle this. The program
wants either all files with an *_ovm.img or none, and all *_ovm.img should
have the same levels, else this error is triggered.
The problem is that the overview builder doesn't know the style that was
used to create the *.img files,
esp. not if multiple styles were used. So I decided to read the levels from
the first *_ovm.img file
and use it for the overview map. This doesn't work if not all files come
with a *_ovm.img

Gerd



Felix Hartmann-2 wrote
> and the resulting overview map, is completly empty...
> could this be related to using besides the OSM as input, also adding 
> contourlines precompiled?
> On 06.05.2013 14:39, Felix Hartmann wrote:
>> ups yes, I had a typo and did ant clear - which doesn#t exist in my 
>> build file -- however I run into the following problem:
>>
>> SEVERE (OverviewMapDataSource): invalid attempt to change map levels
>>
>> using the following "options" file:
>> levels = 0:24, 1:22, 2:21, 3:20, 4:19, 5:18
>> overview-levels = 6:17, 7:16, 8:14
>>
>>
>> On 06.05.2013 14:10, GerdP wrote:
>>> Hi Felix,
>>>
>>> did you compile from source? If yes, please try ant clean first.
>>>
>>> Gerd
>>>
>>> Felix Hartmann-2 wrote
>>>> for a conservative approach - yes. Though I think adding resolution 17
>>>> to the overview map, would be quite good (don't know if for Asia or
>>>> Europe continent maps however, the overview map would become too big 
>>>> and
>>>> fail to compile).
>>>>
>>>>
>>>> On 06.05.2013 13:53, GerdP wrote:
>>>>> Hi Felix,
>>>>> so you suggest  this?
>>>>>
>>>>> levels = 0:24, 1:22, 2:20, 3:18
>>>>> overview-levels = 4:16, 5:14
>>>>>
>>>>> Gerd
>>>> BTW - I have a problem with the overview branch - and my style (didn't
>>>> try default one yet):
>>>>
>>>> java.lang.NoSuchMethodError:
>>>> uk.me.parabola.mkgmap.build.LocatorUtil.getNameTags(Luk/me/parabola/util/EnhancedProperties;)Ljava/util/List; 
>>>>
>>>>           at
>>>> uk.me.parabola.mkgmap.reader.osm.LinkDestinationHook.init(LinkDestinationHook.java:64) 
>>>>
>>>>           at
>>>> uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.pluginChain(OsmMapDataSource.java:182) 
>>>>
>>>>           at
>>>> uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.setupHandler(OsmMapDataSource.java:150) 
>>>>
>>>>           at
>>>> uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:49) 
>>>>
>>>>           at
>>>> uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:124) 
>>>>
>>>>           at
>>>> uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:155)
>>>>           at 
>>>> uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:57)
>>>>           at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:234)
>>>>           at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:231)
>>>>           at java.util.concurrent.FutureTask$Sync.innerRun(Unknown 
>>>> Source)
>>>>           at java.util.concurrent.FutureTask.run(Unknown Source)
>>>>           at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
>>>> Source)
>>>>           at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>>>> Source)
>>>>           at java.lang.Thread.run(Unknown Source)
>>>> Exception in thread "main" java.lang.NoSuchMethodError:
>>>> uk.me.parabola.mkgmap.build.LocatorUtil.getNameTags(Luk/me/parabola/util/EnhancedProperties;)Ljava/util/List; 
>>>>
>>>>           at uk.me.parabola.mkgmap.build.Locator.
>>>> 
> <init>
>>>> (Locator.java:51)
>>>>           at uk.me.parabola.mkgmap.build.Locator.
>>>> 
> <init>
>>>> (Locator.java:47)
>>>>           at
>>>> uk.me.parabola.mkgmap.build.MapBuilder.
>>>> 
> <init>
>>>> (MapBuilder.java:146)
>>>>           at
>>>> uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(OverviewBuilder.java:91) 
>>>>
>>>>           at
>>>> uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuilder.java:84) 
>>>>
>>>>           at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:536)
>>>>           at
>>>> uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) 
>>>>
>>>>           at uk.me.parabola.mkgmap.main.Main.main(Main.java:119)
>>>>> Felix Hartmann-2 wrote
>>>>>> oh, and I would suppose a "," comma is missing too!
>>>>>> On 06.05.2013 13:46, GerdP wrote:
>>>>>>> Hi Felix,
>>>>>>>
>>>>>>> yes, it was a typo. I tested with different values. I have no
>>>>>>> preference
>>>>>>> and
>>>>>>> no experience,
>>>>>>> so I'd be happy to hear proposals.
>>>>>>>
>>>>>>> Gerd
>>>>>>>
>>>>>>>
>>>>>>> Felix Hartmann-2 wrote
>>>>>>>> Is there a typo in the options file?
>>>>>>>> "overview-levels = 5:16 6:18"
>>>>>>>>
>>>>>>>> shouldn't that be 5:16 6:14 ???
>>>>>>>> I think that if the numbering continues, further levels should be
>>>>>>>> decreasing resolution. So if 18 and 16 should be used in the 
>>>>>>>> overview
>>>>>>>> map (but why have 17 then as normal map resolution??):
>>>>>>>> it should read "5:18 6:16" -- However I thought overlapping
>>>>>>>> resolutions
>>>>>>>> is not good form (actually dunno what happens).
>>>>>>>>
>>>>>>>>
>>>>>>>> IMHO 5:16 6:14 is quite good as conservative value. (continent 
>>>>>>>> maps).
>>>>>>>> Maybe we should even move to 4:17 5:16 6:14 in the overview map 
>>>>>>>> (and
>>>>>>>> 0-3
>>>>>>>> in the normal map)...
>>>>>>>>
>>>>>>>>
>>>>>>>> As for the routable basemap on newer garmin GPS. Maybe we could 
>>>>>>>> create
>>>>>>>> a
>>>>>>>> non routable mkgmap created basemap and recommend people to use it
>>>>>>>> instead?
>>>>>>>> _______________________________________________
>>>>>>>> mkgmap-dev mailing list
>>>>>>>> mkgmap-dev at .org
>>>>>>>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> View this message in context:
>>>>>>> http://gis.19327.n5.nabble.com/Overview2-branch-options-file-typo-tp5759855p5759856.html 
>>>>>>>
>>>>>>> Sent from the Mkgmap Development mailing list archive at Nabble.com.
>>>>>>> _______________________________________________
>>>>>>> mkgmap-dev mailing list
>>>>>>>
>>>>>> mkgmap-dev at .org
>>>>>>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>>> _______________________________________________
>>>>>> mkgmap-dev mailing list
>>>>>> mkgmap-dev at .org
>>>>>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> View this message in context:
>>>>> http://gis.19327.n5.nabble.com/Overview2-branch-options-file-typo-tp5759855p5759858.html 
>>>>>
>>>>> Sent from the Mkgmap Development mailing list archive at Nabble.com.
>>>>> _______________________________________________
>>>>> mkgmap-dev mailing list
>>>>>
>>>> mkgmap-dev at .org
>>>>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>> _______________________________________________
>>>> mkgmap-dev mailing list
>>>> mkgmap-dev at .org
>>>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>
>>>
>>>
>>>
>>> -- 
>>> View this message in context: 
>>> http://gis.19327.n5.nabble.com/Overview2-branch-options-file-typo-tp5759855p5759861.html
>>> Sent from the Mkgmap Development mailing list archive at Nabble.com.
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> 

> mkgmap-dev at .org

>>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
> 
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: http://gis.19327.n5.nabble.com/Overview2-branch-options-file-typo-tp5759855p5759868.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list