Re: [mkgmap-dev] Sea (or lakes) issue

2011-03-25 Thread Marko Mäkelä
On Thu, Mar 24, 2011 at 10:36:30PM -0400, Nakor wrote: I checked the coastlines and there is nothing wrong there. Now if I extract just the coastline and run mkgmap on that, every thing is fine. I take that back. I am not able to get a correct tile now for that one although the coastline is

Re: [mkgmap-dev] Running mkgmap in Eclipse

2011-03-25 Thread Chris Miller
The JVM is version 1.6.0_06 Try the latest JVM version. There were various generics bugs in earlier releases like this one. ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

[mkgmap-dev] Options overhaul

2011-03-25 Thread Steve Ratcliffe
Hi There is a new branch for an overhaul of the options. There are a number of recent (and not so recent!) posts about options that are badly documented, have the wrong defaults or just plain shouldn't exist. The first couple of things I plan to do in preparation are: 1. Make it possible to

Re: [mkgmap-dev] Options overhaul

2011-03-25 Thread Henning Scholland
Hi I think it would be better for the user of mkgmap, that they get with the same used parameter the same result. Opt-in is better then opt-out. If I set --route, map should contain routing information and if I don't set --route, there shouldn't be any routing information in the map. I think

Re: [mkgmap-dev] Options overhaul

2011-03-25 Thread Nakor
Things already on the list include: --charset, --remove-short-arcs, --ignore-osm-bounds, setting options inside the style (which can already be done, its just not really used properly). . Is there any reason to remove --ignore-osm-bounds or is there any replacement? I use it very often for

Re: [mkgmap-dev] Sensible resolutions - (or patch 5)

2011-03-25 Thread Felix Hartmann
On 25.03.2011 16:45, Marko Mäkelä wrote: On Fri, Mar 25, 2011 at 09:16:27AM +0100, Felix Hartmann wrote: Is the resolution a mkgmap-only entity, which is mapped to zoom layers known as levels in the IMG file? If that is the case, wouldn't this change introduce two more zoom layers to the

Re: [mkgmap-dev] Sensible resolutions - (or patch 5)

2011-03-25 Thread Marko Mäkelä
On Fri, Mar 25, 2011 at 05:09:19PM +0100, Felix Hartmann wrote: I did not test adding the levels 19 and 21 yet. Bad news: Adding just one level would blow up some limit. My largest tile .img is about 20 megabytes. Time to split my tiles again, I guess. you may lower secondary_link and

Re: [mkgmap-dev] Options overhaul

2011-03-25 Thread Marko Mäkelä
Hi Steve, On Fri, Mar 25, 2011 at 01:17:22PM +, Steve Ratcliffe wrote: Things already on the list include: --charset, --remove-short-arcs I agree that --charset (and possibly --latin1) should be removed, but what is bad about remove-short-arcs? I thought that it is useful when the map has

Re: [mkgmap-dev] Options overhaul

2011-03-25 Thread WanMil
Hi There is a new branch for an overhaul of the options. There are a number of recent (and not so recent!) posts about options that are badly documented, have the wrong defaults or just plain shouldn't exist. That's great! I think we should invest some time on mkgmap documentation. Some

Re: [mkgmap-dev] Sensible resolutions - (or patch 5)

2011-03-25 Thread Marko Mäkelä
On Fri, Mar 25, 2011 at 07:11:05PM +0200, Marko Mäkelä wrote: I did not test adding the levels 19 and 21 yet. Bad news: Adding just one level would blow up some limit. My largest tile .img is about 20 megabytes. Time to split my tiles again, I guess. More bad news: After the additional

[mkgmap-dev] Sea (or lakes) bug

2011-03-25 Thread Nakor
So I have played a little bit more and came with a file where there are just three straight lines that represent the main idea of the tile. I am getting to get right (see attached file). This files fails to build the sea sectors properly (i.e. the north portion of the tile is inundated).

Re: [mkgmap-dev] Sea (or lakes) bug

2011-03-25 Thread WanMil
Nakor, thanks for the very minimalistic example. This is great because that's easy to debug. With generate-sea=multipolygon the SeaGenerator works fine but there seems to be a bug in the multipolygon processing which causes flooding of the north part. I haven't tried generate-sea=polygon.

Re: [mkgmap-dev] Sensible resolutions - (or patch 5)

2011-03-25 Thread Greg Troxel
Marko Mäkelä marko.mak...@iki.fi writes: Actually, we do have a mean: if there are multiple parallel tracks (each drawn as a separate way with railway=*), it is a major railway. It should be doable to merge adjacent ways at lower resolutions and sum the weights of the ways, to decide what

Re: [mkgmap-dev] Sensible resolutions - (or patch 5)

2011-03-25 Thread Felix Hartmann
On 25.03.2011 22:01, Marko Mäkelä wrote: On Fri, Mar 25, 2011 at 07:11:05PM +0200, Marko Mäkelä wrote: I did not test adding the levels 19 and 21 yet. Bad news: Adding just one level would blow up some limit. My largest tile .img is about 20 megabytes. Time to split my tiles again, I guess.

Re: [mkgmap-dev] Options overhaul

2011-03-25 Thread Felix Hartmann
On 25.03.2011 18:22, Marko Mäkelä wrote: Hi Steve, On Fri, Mar 25, 2011 at 01:17:22PM +, Steve Ratcliffe wrote: Things already on the list include: --charset, --remove-short-arcs I agree that --charset (and possibly --latin1) should be removed, but what is bad about remove-short-arcs?