[mkgmap-dev] State of the coastline art

2010-03-31 Thread NopMap
Hi! I am working on sea polygons once again. After reading through the many generate-sea-related topics I am still not sure what the current state of the art is on the matter. - What is the current recommended command line option/combination that works for you? What other techniques do you

[mkgmap-dev] --keep-going ?

2010-03-31 Thread Chris-Hein Lunkhusen
Hi, I don't see the --keep-going option working in the recent versions of mkgmap. When there is a .NET1 overflow mkgmap stops complete mkgmap 1624 OS:XP Chris ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] Highway name or ref

2010-03-31 Thread Lambertus
There's a question on the OSM forum about the naming of highways in the default stylesheet which comes down to this: if a ref is available then that seems always used even if a name is also available, can this be changed to show the name as well?

Re: [mkgmap-dev] Highway name or ref

2010-03-31 Thread maning sambale
I confirm this behavior using this style: # Set highway names to include the reference if there is one highway=motorway {name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' | '${name}' } highway=trunk {name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' |

Re: [mkgmap-dev] Generate coastline - can we keep the coastline way?

2010-03-31 Thread Toby Speight
0 In article honhsq$ak...@dough.gmane.org, 0 Chris-Hein Lunkhusen URL:mailto:chris66...@gmx.de (CL) wrote: CL I'm a little confused, are you talking about the --generate-sea CL option? Yes - sorry for my little brainfart. :-) ___ mkgmap-dev mailing

Re: [mkgmap-dev] a FIXME map style

2010-03-31 Thread Toby Speight
0 In article f902f9841003282341m501ff578g68213926fdca9...@mail.gmail.com, 0 maning sambale URL:mailto:emmanuel.samb...@gmail.com (Maning) wrote: Maning Just got this idea of creating Garmin maps designed for fixing Maning the data (I use Garmin primarily to collect and fix OSM). I haven't done

Re: [mkgmap-dev] a FIXME map style

2010-03-31 Thread Toby Speight
0 In article 4bb0e0b4.9090...@web.de, 0 WanMil URL:mailto:wmgc...@web.de (Wanmil) wrote: Wanmil sometimes I create a map that colours the streets depending on Wanmil their maxspeed tag. I have attached the mkgmap style files and Wanmil the typ file. Thanks - I've been intending to do that; I'll

[mkgmap-dev] Roundabout processing suggestion

2010-03-31 Thread Toby Speight
Sometimes I see roundabouts where the mapper has used the same node for an exit as for an entry. This means that exit counting is off by one when approaching by that entry. Is it possible for mkgmap to warn when this is the case? Even better if it could minimally separate the two, at least in

Re: [mkgmap-dev] Roundabout processing suggestion

2010-03-31 Thread Marko Mäkelä
On Wed, Mar 31, 2010 at 09:56:32AM +0100, Toby Speight wrote: Sometimes I see roundabouts where the mapper has used the same node for an exit as for an entry. This means that exit counting is off by one when approaching by that entry. Is it possible for mkgmap to warn when this is the case?

Re: [mkgmap-dev] --keep-going ?

2010-03-31 Thread Steve Ratcliffe
On 31/03/10 08:17, Chris-Hein Lunkhusen wrote: Hi, I don't see the --keep-going option working in the recent versions of mkgmap. When there is a .NET1 overflow mkgmap stops complete It only keeps going if there is an unexpected error. For anticipated errors it stops straight away. I

Re: [mkgmap-dev] Highway name or ref

2010-03-31 Thread Greg Troxel
Lambertus o...@na1400.info writes: There's a question on the OSM forum about the naming of highways in the default stylesheet which comes down to this: if a ref is available then that seems always used even if a name is also available, can this be changed to show the name as well?

Re: [mkgmap-dev] --keep-going ?

2010-03-31 Thread Chris-Hein Lunkhusen
Steve Ratcliffe schrieb: I don't see the --keep-going option working in the recent versions of mkgmap. When there is a .NET1 overflow mkgmap stops complete It only keeps going if there is an unexpected error. For anticipated errors it stops straight away. I guess this is useful

[mkgmap-dev] Patch to reduce memory usage by interning strings.

2010-03-31 Thread Scott A Crosby
I noticed that mkgmap does not intern any strings. In particular, this tile, generated by the splitter, fails to build with -Xmx3000m on 64-bit jdk under linux. With my patch, mkgmap generates the tile with -Xmx1000m. bounds minlat='55.1953125' minlon='9.4921875' maxlat='56.6015625'

Re: [mkgmap-dev] a FIXME map style

2010-03-31 Thread Christoph Wagner
2010/3/29 maning sambale emmanuel.samb...@gmail.com: I can't find a worldwide data dump.  But here's a sample in my area: Hi, I asked the author of the keepright project and he gave me a database dump. He will try to make it public available as soon as he can, but first he will do some changes

Re: [mkgmap-dev] State of the coastline art

2010-03-31 Thread Apollinaris Schoell
On Wed, Mar 31, 2010 at 12:30 AM, Marko Mäkelä marko.mak...@iki.fi wrote: On Tue, Mar 30, 2010 at 11:08:40PM -0800, NopMap wrote: - What level of confidence do you achieve with generate sea? Many posts still mention minor failures, disappearing islands etc. As far as I am concerned, it

Re: [mkgmap-dev] State of the coastline art

2010-03-31 Thread Marko Mäkelä
On Wed, Mar 31, 2010 at 09:27:19AM -0700, Apollinaris Schoell wrote: Also, when debugging coastline errors (gap in coastline, coastline not extending to map border), you may want to use a command like this: osmosis --rx finland.osm.bz2 --tf accept-ways natural=coastline --used-node \

Re: [mkgmap-dev] a FIXME map style

2010-03-31 Thread WanMil
0 In article4bb0e0b4.9090...@web.de, 0 WanMilURL:mailto:wmgc...@web.de (Wanmil) wrote: Wanmil sometimes I create a map that colours the streets depending on Wanmil their maxspeed tag. I have attached the mkgmap style files and Wanmil the typ file. Thanks - I've been intending to do

Re: [mkgmap-dev] Patch to reduce memory usage by interning strings.

2010-03-31 Thread WanMil
I noticed that mkgmap does not intern any strings. In particular, this tile, generated by the splitter, fails to build with -Xmx3000m on 64-bit jdk under linux. With my patch, mkgmap generates the tile with -Xmx1000m. bounds minlat='55.1953125' minlon='9.4921875' maxlat='56.6015625'

Re: [mkgmap-dev] Patch to reduce memory usage by interning strings.

2010-03-31 Thread Scott A Crosby
On Wed, 31 Mar 2010 21:13:49 +0200, WanMil wmgc...@web.de writes: I noticed that mkgmap does not intern any strings. In particular, this tile, generated by the splitter, fails to build with -Xmx3000m on 64-bit jdk under linux. With my patch, mkgmap generates the tile with -Xmx1000m.

Re: [mkgmap-dev] Patch to reduce memory usage by interning strings.

2010-03-31 Thread WanMil
Am 31.03.2010 22:10, schrieb Scott A Crosby: On Wed, 31 Mar 2010 21:13:49 +0200, WanMilwmgc...@web.de writes: I noticed that mkgmap does not intern any strings. In particular, this tile, generated by the splitter, fails to build with -Xmx3000m on 64-bit jdk under linux. With my patch, mkgmap

Re: [mkgmap-dev] Patch to reduce memory usage by interning strings.

2010-03-31 Thread Chris Miller
Note that Java's String.intern() method can be pretty slow, so while you'll save a fair chunk of memory you'll potentially suffer a noticable performance hit too if you're calling it a lot. By adding a barrier-free caching layer in front of the String.intern() calls you can gain a reasonable