Re: [mkgmap-dev] Splitting an country borders?

2009-09-15 Thread Apollinaris Schoell
you can use the downloads from geofabrik or cloudmade or use osmosis with country polygons and run splitter on this data. why duplicate the same functions in splitter? On 15 Sep 2009, at 14:45 , dom wrote: > Hi, > > is it possible to use or to set the splitter up in that way, that eg a > europe

[mkgmap-dev] Splitting an country borders?

2009-09-15 Thread dom
Hi, is it possible to use or to set the splitter up in that way, that eg a europe map is split at the country borders? So it would be great to get a mapset for each country out of the europe mapset. Do you think this is possible? Thanks, Marco ___ mkgma

Re: [mkgmap-dev] Updated splitter (r87) - tile trimming

2009-09-15 Thread Chris Miller
One thing that might work is if the trimming code I recently added was enhanced to look for 'large' gaps in the middle of a tile. If such a gap was found, it could split the tile in two and throw away the centre sea area. I'm not sure how well it would work in practice, the ferry routes you ment

Re: [mkgmap-dev] Updated splitter (r87) - tile trimming

2009-09-15 Thread Chris Miller
It's quite a difficult problem to solve in general, though it is probably possible to 'cheat' by eg refusing to cross certain boundaries. Tackling this is something I'd like to get on to eventually but I don't have any specific plans on how best to deal with this just yet. There are still quite

Re: [mkgmap-dev] Updated splitter (r87) - tile trimming

2009-09-15 Thread Marko Mäkelä
On Tue, Sep 15, 2009 at 07:15:04PM +0100, Charlie Ferrero wrote: > Is there any simple way to add some logic to make sure a tile doesn't > span two continents (e.g. Brazil and Namibia, in the KML example you > sent, or Nicaragua and the Antarctic)? I hope I'm not unique in wanting > my tiles to

Re: [mkgmap-dev] Updated splitter (r87) - tile trimming

2009-09-15 Thread Charlie Ferrero
Is there any simple way to add some logic to make sure a tile doesn't span two continents (e.g. Brazil and Namibia, in the KML example you sent, or Nicaragua and the Antarctic)? I hope I'm not unique in wanting my tiles to be associated with geographical regions, at least vaguely! Charlie Ch

[mkgmap-dev] Commit: r1196: Add code to detect that we are not running under 1.6 and

2009-09-15 Thread svn commit
Version 1196 was commited by steve on 2009-09-15 18:37:56 +0100 (Tue, 15 Sep 2009) Add code to detect that we are not running under 1.6 and print a message. Went though all references to java 1.5 or 1.6 and changed as appropriate. Comments that suggested a better way of doing things in 1.6 act

[mkgmap-dev] Moving to Java 1.6

2009-09-15 Thread Steve Ratcliffe
Hi As there wasn't any voices against the change, I am now going announce that mkgmap will now require java 1.6. Just in time really as there is just over a month before 1.5 is end-of-life'd by Sun ;) During a transitional period I will compile it with target 1.5 and detect if 1.6 is not being

Re: [mkgmap-dev] Merge from the multipolygon branch.

2009-09-15 Thread Mark Burton
> Yes even although the advice to use final is frequently seen on the > internet 'for performance' it is not really true. And if it were you > would be better to make the class final anyway. Why's that? Mark ___ mkgmap-dev mailing list mkgmap-dev@list

Re: [mkgmap-dev] Merge from the multipolygon branch.

2009-09-15 Thread Steve Ratcliffe
On 15/09/09 08:34, Mark Burton wrote: > That's very interesting, I didn't know that the Java runtime was as > sophisticated as that. So, indeed the final was not actually doing > anything useful apart from expressing my intention. No doubt, that's > why Steve removed it. Yes even although the advi

Re: [mkgmap-dev] Commit: r1184: Allow white space before mph and kph suffixes in speeds.

2009-09-15 Thread Apollinaris Schoell
On 15 Sep 2009, at 7:54 , Chris-Hein Lunkhusen wrote: > svn commit schrieb: >> Version 1184 was commited by steve on 2009-09-12 13:48:13 +0100 >> (Sat, 12 Sep 2009) >> >> Allow white space before mph and kph suffixes in speeds. > > Is kph the same as kmh or km/h (usual in germany) ? > > Are max

Re: [mkgmap-dev] multipolygon support?

2009-09-15 Thread Apollinaris Schoell
On 14 Sep 2009, at 13:19 , Steve Ratcliffe wrote: > On 13/09/09 20:21, Chris Miller wrote: >> I've grabbed a copy of this test case and when I find the time will >> see what >> can be done about it in the splitter. It sounds like it might be >> quite a >> tricky problem to solve efficiently t

Re: [mkgmap-dev] Commit: r1184: Allow white space before mph and kph suffixes in speeds.

2009-09-15 Thread Chris-Hein Lunkhusen
svn commit schrieb: > Version 1184 was commited by steve on 2009-09-12 13:48:13 +0100 (Sat, 12 Sep > 2009) > > Allow white space before mph and kph suffixes in speeds. Is kph the same as kmh or km/h (usual in germany) ? Are maxspeed tags with an unknown unit of measurey considered as beeing no

Re: [mkgmap-dev] Commit: r1189: Remove the priority setting from the GType.

2009-09-15 Thread Torsten Leistikow
Steve Ratcliffe schrieb: > I would like to know how people use the 'continue' patch. It seems to > me that there would be two cases. > > 1. Where the mapper has used the same way for two different things. > A boundary that goes along a road is a common case. In this case > I imagine that you wou

Re: [mkgmap-dev] Merge from the multipolygon branch.

2009-09-15 Thread Mark Burton
Hi Chris, > As far as I'm aware, declaring a method final doesn't make a whole lot of > difference to hotspot these days. Hotspot can still inline a method if it's > not declared final but determines at runtime it's not overriden elsewhere. > If some new code eventually turns up that does over