Re: [mkgmap-dev] Bogus warnings about intersected ways in multipolygons

2010-01-19 Thread Steve Ratcliffe
Hi Marko I still can't view the gmapsupp.img because of a NullPointerException: I can only think that this is due to an img that has failed to build properly. I saw one case of this was using the command line option --keep-going, are you using that? If so remove it and see if the error is

[mkgmap-dev] Commit: r1501: When classifying files in FileInfo, check for the existance

2010-01-19 Thread svn commit
Version 1501 was commited by steve on 2010-01-19 10:23:19 + (Tue, 19 Jan 2010) When classifying files in FileInfo, check for the existance of a TRE section before confirming a file being of the IMG kind. ___ mkgmap-dev mailing list

Re: [mkgmap-dev] [mkgmap-svn] Commit: r1497: Merge the mp branch to trunk.

2010-01-19 Thread Steve Ratcliffe
All (or almost all at least) of the lines I see go away when I zoom in. In gpsmapedit, I don't notice any gaps between the polygons at any level. I'll take a closer look tomorrow. OK here is an image of the sea polygons as seen in mapedit. This is at level 4 (most zoomed out). Does this

Re: [mkgmap-dev] [mkgmap-svn] Commit: r1497: Merge the mp branch to trunk.

2010-01-19 Thread Mark Burton
Steve, Does this splitting happen at the generate sea stage or is it being mangled later on? It's done by the new mp code. Mark ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Bogus warnings about intersected ways in multipolygons

2010-01-19 Thread Marko Mäkelä
On Tue, Jan 19, 2010 at 10:20:38AM +, Steve Ratcliffe wrote: Hi Marko I still can't view the gmapsupp.img because of a NullPointerException: I can only think that this is due to an img that has failed to build properly. I saw one case of this was using the command line option

Re: [mkgmap-dev] Bogus warnings about intersected ways in multipolygons

2010-01-19 Thread Marko Mäkelä
On Tue, Jan 19, 2010 at 12:42:46PM +0200, Marko Mäkelä wrote: The r1501 fixed it. But why was no TRE section generated by mkgmap in the first place? Will it do any harm if it is missing? Or was the TRE section generated in the wrong place? I am using --max-jobs on a dual core processor. I

[mkgmap-dev] Use of relations file

2010-01-19 Thread Fabrizio Lorenzini
I am trying to use the relations to build a simple map (to use over my existing OSM map produced with mkgmap too) with only mtb routes. I've tried with a simple relations file like this: type=route route=mtb { apply { set route=mtb; add route_ref='${ref}'}} and I have also a simple lines file

[mkgmap-dev] Commit: r1502: Remove redundant method isFakeId().

2010-01-19 Thread svn commit
Version 1502 was commited by markb on 2010-01-19 11:12:50 + (Tue, 19 Jan 2010) Remove redundant method isFakeId(). ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Use of relations file

2010-01-19 Thread Marko Mäkelä
On Tue, Jan 19, 2010 at 03:10:12AM -0800, Fabrizio Lorenzini wrote: I am trying to use the relations to build a simple map (to use over my existing OSM map produced with mkgmap too) with only mtb routes. I've tried with a simple relations file like this: type=route route=mtb { apply { set

Re: [mkgmap-dev] Use of relations file

2010-01-19 Thread Felix Hartmann
On 19.01.2010 12:25, Marko Mäkelä wrote: On Tue, Jan 19, 2010 at 03:10:12AM -0800, Fabrizio Lorenzini wrote: I am trying to use the relations to build a simple map (to use over my existing OSM map produced with mkgmap too) with only mtb routes. I've tried with a simple relations file

Re: [mkgmap-dev] Bogus warnings about intersected ways in multipolygons

2010-01-19 Thread Steve Ratcliffe
I am attempting to reproduce from your script. OK I have reproduced the problem. It appears that the directory withing the IMG is empty and yet the file is quite large, so something is very wrong. $ jv test.ListFile 63240001.img Block size: 512 . 0 I don't see the problem

Re: [mkgmap-dev] Bogus warnings about intersected ways in multipolygons

2010-01-19 Thread Marko Mäkelä
Hi Steve, I am attempting to reproduce from your script. OK I have reproduced the problem. It appears that the directory withing the IMG is empty and yet the file is quite large, so something is very wrong. Can you add some diagnostics for this case? Preferrably near the place where

Re: [mkgmap-dev] Use of relations file

2010-01-19 Thread Marko Mäkelä
Hi Felix, Fabrizio, On Tue, Jan 19, 2010 at 12:33:28PM +0100, Felix Hartmann wrote: Running mkgmap with these two files against an Italy extract from geofabrik.de, I am only able to see ways wich have route=mtb in herself. All ways wich belongs to a relations are simply ignored.

Re: [mkgmap-dev] Bogus warnings about intersected ways in multipolygons

2010-01-19 Thread Steve Ratcliffe
Hi Marko OK the directory overflows for that file because there are more than 64k blocks. You can either reduce the size of the file or use the --block-size=1024 parameter to make the blocks bigger and so reduce the number. The bug is that it doesn't trigger the error message when the

[mkgmap-dev] R: Use of relations file

2010-01-19 Thread Fabrizio Lorenzini
I understood the question differently. (After all, we all are non-native speakers.) Yeah, sorry for my poor english ;o) I understood that Fabrizio wants to see just the MTB routes and nothing else. You are right! I am using mkgmap from a long time to produce a map of whole Italy, and for this

Re: [mkgmap-dev] R: Use of relations file

2010-01-19 Thread Marko Mäkelä
On Tue, Jan 19, 2010 at 05:36:44AM -0800, Fabrizio Lorenzini wrote: I'd like to have different maps for mtb routes, hiking routes, cycleway routes and so on, in order to enable/disable it on my Oregon when I need it. I have exactly the same goal, but it will take a few weeks until I can create

[mkgmap-dev] Haiti OSM problem on Garmin 76CSx

2010-01-19 Thread and...@inveneo.org
Hi all, I am with Inveneo (www.inveneo.org) and arrive in Port-au-Princd tomorrow to begin deploying a wireless network in support of relief efforts there. I have successfully loaded the latest OSM on my Garmin 76CSx and it's fantastic, will be very useful there. However, when I turn off the

Re: [mkgmap-dev] Haiti OSM problem on Garmin 76CSx

2010-01-19 Thread charlie
Quoting and...@inveneo.org abjorn...@inveneo.org: Hi all, I am with Inveneo (www.inveneo.org) and arrive in Port-au-Princd tomorrow to begin deploying a wireless network in support of relief efforts there. I have successfully loaded the latest OSM on my Garmin 76CSx and it's fantastic,

Re: [mkgmap-dev] Haiti OSM problem on Garmin 76CSx

2010-01-19 Thread Clinton Gladstone
On Tue, Jan 19, 2010 at 3:26 PM, and...@inveneo.org abjorn...@inveneo.org wrote: However, when I turn off the unit, I get I constant low alarm tone.  The only way to make it stop is to remove batteries. This symptom is similar to that caused in certain units (eTrex) when a SD card was used

Re: [mkgmap-dev] Haiti OSM problem on Garmin 76CSx

2010-01-19 Thread and...@inveneo.org
Hi, and thanks for your quick response, I can check the firmware version, that's a good thought. This is my first OSM map. I've never seen this problem with the GPS unit before, and it started immediately after I loaded the map. I'm on OSX, and I copied into a folder called Garmin on the

Re: [mkgmap-dev] Haiti OSM problem on Garmin 76CSx

2010-01-19 Thread and...@inveneo.org
Ah, great...this gives me a great starting point. thanks for the info! Andris On Tue, Jan 19, 2010 at 6:52 AM, Clinton Gladstone clinton.gladst...@googlemail.com wrote: On Tue, Jan 19, 2010 at 3:26 PM, and...@inveneo.org abjorn...@inveneo.org wrote: However, when I turn off the unit, I

[mkgmap-dev] R: Use of relations file

2010-01-19 Thread Fabrizio Lorenzini
If I were you, I would use JOSM to download and save a small area that contains a route.  (Or you can define a bogus route relation on your home street and not download it, just save it to a file that you would process with mkgmap.) I've tried your suggestion, using JOSM to obtain a file with a

Re: [mkgmap-dev] Haiti OSM problem on Garmin 76CSx

2010-01-19 Thread Aleksandar
On Tue, Jan 19, 2010 at 3:59 PM, and...@inveneo.org abjorn...@inveneo.orgwrote: Thanks Clinton, that was the fix. I accessed the device only from the terminal and removed all the dot-files placed on the card by OSX. Add a .metadata_never_index on the card so that you don't get those files

Re: [mkgmap-dev] Haiti OSM problem on Garmin 76CSx

2010-01-19 Thread Apollinaris Schoell
upgrading to latest firmware will fix it permanently. but don't use the webupdater on OSX it may leave the device corrupted. On 19 Jan 2010, at 6:59 , and...@inveneo.org wrote: Thanks Clinton, that was the fix. I accessed the device only from the terminal and removed all the dot-files

Re: [mkgmap-dev] [mkgmap-svn] Commit: r1497: Merge the mp branch to trunk.

2010-01-19 Thread WanMil
All (or almost all at least) of the lines I see go away when I zoom in. In gpsmapedit, I don't notice any gaps between the polygons at any level. I'll take a closer look tomorrow. OK here is an image of the sea polygons as seen in mapedit. This is at level 4 (most zoomed out). Does this

Re: [mkgmap-dev] [MP] Cannot join ways to closed polygons

2010-01-19 Thread Marko Mäkelä
Hi WanMil, On Tue, Jan 19, 2010 at 07:04:54PM +0100, WanMil wrote: This seems to be another bogus warning: 2010/01/19 09:26:47 WARNING (MultiPolygonRelation): Cannot join the following ways to closed polygons. MP-Relation http://www.openstreetmap.org/browse/relation/302408 I did

Re: [mkgmap-dev] R: Use of relations file

2010-01-19 Thread Marko Mäkelä
Hi Fabrizio, On Tue, Jan 19, 2010 at 06:59:59AM -0800, Fabrizio Lorenzini wrote: If I were you, I would use JOSM to download and save a small area that contains a route.  (Or you can define a bogus route relation on your home street and not download it, just save it to a file that you would

Re: [mkgmap-dev] Flooding in Germany

2010-01-19 Thread Felix Hartmann
On 19.01.2010 22:44, Felix Hartmann wrote: I let my PC compile for the last several hours. All countries but... seem allright: 1. Australia-Oceania from Geofabrik simply misses a lot of sea. No apparent flooding though. Also the overview map has undefined holes, which should not happen

[mkgmap-dev] Question on license for style-file

2010-01-19 Thread Felix Hartmann
I am going to publish my style-file (and dual license the rest like typfiles), but I would like that a) any works that build upon it, have to give attribution to openmtbmap.org b) any maps generated by using the style-file or large parts of it have to give attribution to openmtbmap.org Which

Re: [mkgmap-dev] [PATCH v1] add close-gaps option to generate-sea

2010-01-19 Thread Felix Hartmann
I don't understand why we still need 0x4b polygon in case of using --generate-sea=polygons if we have a polygons for land and one for see. Isn't this enough? The problem is that 0x4b behaves a bit strange, so I would prefer to neither map sea, nor land to it as in that case flooding or land

[mkgmap-dev] R: Use of relations file

2010-01-19 Thread Fabrizio Lorenzini
Which program are you using for splitting the tiles? Are the relations defined fine in the split tile .osm files? The node and way members of a relation should be defined before the relation in the .osm file. Otherwise, mkgmap will pretend that the node or way is not a member in the relation.

[mkgmap-dev] [PATCH v1] Speedup for mp

2010-01-19 Thread WanMil
Depending on the sea complexity some countries really take a lot more time for rendering now. (Norway went from 5 minutes to 45 minutes). I don't really mind as my upload speed is still a lot slower than my PC compiling on my weekly updates. This is caused by the new mp code. The methods

Re: [mkgmap-dev] [MP] Cannot join ways to closed polygons

2010-01-19 Thread WanMil
There are many missing lakes in Northern Finland, even large reservoirs that are shown on Garmin's base map. I have not paid much attention to lakes before. Many lakes are displayed just as coastlines, but I hope that I can soon enable sea polygons. Finland's thousands of lakes and islands

Re: [mkgmap-dev] Question on license for style-file

2010-01-19 Thread Marko Mäkelä
Hi Felix, all, On Wed, Jan 20, 2010 at 01:18:18AM +0100, Felix Hartmann wrote: I am going to publish my style-file (and dual license the rest like typfiles), but I would like that a) any works that build upon it, have to give attribution to openmtbmap.org b) any maps generated by using the