Re: [mkgmap-dev] meaning of compile errorrs

2010-08-25 Thread Marko Mäkelä
On Wed, Aug 25, 2010 at 02:47:33PM +0800, maning sambale wrote: >Hi, > >I am compiling a custom map from OSM format, what do these error messages mean: >ava.lang.NumberFormatException: null > at java.lang.Integer.parseInt(Integer.java:443) > at java.lang.Integer.parseInt(Integer.java:51

Re: [mkgmap-dev] meaning of compile errorrs

2010-08-25 Thread maning sambale
This is interesting because I converted the data from a GDB file (of survey points) and then further edited in JOSM. Node IDs are negative because the data didn't come from the main OSM dbase. head elkNEW_PRS92.osm On Wed, Aug 25, 2010 at 3:41 PM, Marko Mäke

Re: [mkgmap-dev] meaning of compile errorrs

2010-08-25 Thread Marko Mäkelä
On Wed, Aug 25, 2010 at 04:14:47PM +0800, maning sambale wrote: >This is interesting because I converted the data from a GDB file (of >survey points) and then further edited in JOSM. Node IDs are negative >because the data didn't come from the main OSM dbase. I can't remember if mkgmap has troubl

Re: [mkgmap-dev] meaning of compile errorrs

2010-08-25 Thread Andrew McCarthy
Hi, On Wed, Aug 25, 2010 at 02:47:33PM +0800, maning sambale wrote: > I am compiling a custom map from OSM format, what do these error messages > mean: > ava.lang.NumberFormatException: null > at java.lang.Integer.parseInt(Integer.java:443) > at java.lang.Integer.parseInt(Integer.java

Re: [mkgmap-dev] multipolygon wih leisure=park does not render

2010-08-25 Thread Markus
Hi Jeroen, Did you include the --process-boundary-relations switch in your mkgmap bat file? I believe this is needed to process multypolygons. Markus_g _ From: mkgmap-dev-boun...@lists.mkgmap.org.uk [mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk] On Behalf Of Jeroen Muri

Re: [mkgmap-dev] meaning of compile errorrs

2010-08-25 Thread maning sambale
Dear Andrew, Thanks for this! Adding version number in style/version file works. On Wed, Aug 25, 2010 at 5:07 PM, Andrew McCarthy wrote: > Hi, > > On Wed, Aug 25, 2010 at 02:47:33PM +0800, maning sambale wrote: >> I am compiling a custom map from OSM format, what do these error messages >> me

Re: [mkgmap-dev] multipolygon wih leisure=park does not render

2010-08-25 Thread Chris66
Am 25.08.2010 11:15, schrieb Markus: > Did you include the --process-boundary-relations switch in your mkgmap > bat file? > > I believe this is needed to process multypolygons. No, I think --process-boundary-relations is only for relations of type boundary (or type multipolygon with admin_level=

Re: [mkgmap-dev] multipolygon wih leisure=park does not render

2010-08-25 Thread Markus
Hi Chris, Are you sure? I just removed the --process-boundary-relations from my mgkmap bat file and the multipolygons I have added to osm no longer show up in mapsource. Regards, Markus_g -Original Message- From: mkgmap-dev-boun...@lists.mkgmap.org.uk [mailto:mkgmap-dev-boun...@lists.mk

Re: [mkgmap-dev] multipolygon wih leisure=park does not render

2010-08-25 Thread charlie
Markus (marku...@bigpond.com) wrote: > > Hi Chris, > > Are you sure? I just removed the --process-boundary-relations from my mgkmap > bat file and the multipolygons I have added to osm no longer show up in > mapsource. > > Regards, > > Markus_g --process-boundary-relations is definitely not neede

Re: [mkgmap-dev] multipolygon wih leisure=park does not render

2010-08-25 Thread Markus
I think it is needed if the ways aren't tagged individually and only the relation. Markus_g -Original Message- From: mkgmap-dev-boun...@lists.mkgmap.org.uk [mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk] On Behalf Of char...@cferrero.net Sent: Wednesday, 25 August 2010 8:11 PM To: mkgmap-

Re: [mkgmap-dev] multipolygon wih leisure=park does not render

2010-08-25 Thread Chris66
Am 25.08.2010 12:11, schrieb Markus: > > Hi Chris, > > Are you sure? No, not sure, simply my understanding how "--process-boundary-relations" *should* work. Chris ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/m

Re: [mkgmap-dev] one wish for creating a style

2010-08-25 Thread Christian H. Bruhn
Hi! >> set name '${name} ${ref}' >> set name '${name} ${anothertag}' >> name ${name} > OK, but can you use it in one line just for one rule like > 'amenity=postbox'? Just saw something in the All-In-One-Style: highway=emergency_access_point {add ref=''; add name=''; add operator=''; add emerge

Re: [mkgmap-dev] multipolygon wih leisure=park does not render

2010-08-25 Thread Jeroen Muris
Yes, but I checked and this polygon is not on a tile edge, and with different tags it is rendered ok. Thank you, J-. Op 25 aug. 2010 om 11:15 heeft "Markus" het volgende geschreven: > Hi Jeroen, > > > > Did you include the --process-boundary-relations switch in your mkgmap bat > fil

Re: [mkgmap-dev] multipolygon wih leisure=park does not render

2010-08-25 Thread WanMil
Hi Jeroen, the reason for this is simple. The multipolygon algorithm need to decide if the mp is fully tagged or if the tags need to be taken from the mp ways. At the moment the mp algorithm just checks if one of the tags ["boundary", "natural", "landuse", "land_area", "building", "waterway"]

[mkgmap-dev] [PATCH v1] Recognize more tags as polygon tags in mp algorithm

2010-08-25 Thread WanMil
A multipolygon is recognized as fully tagged if one or more special tags are set. The patch expands this list by the tags "leisure", "military", "man_made", "building", "place" and "tourism". This is a result of the thread http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2010q3/008849.html. Wan

[mkgmap-dev] highway=emergency_access_point

2010-08-25 Thread Marko Mäkelä
On Wed, Aug 25, 2010 at 01:17:12PM +0200, Christian H. Bruhn wrote: >Just saw something in the All-In-One-Style: > >highway=emergency_access_point {add ref=''; add name=''; add operator=''; add >emergency_telephone_code=''; name '${ref} ${name} ${operator} >${emergency_telephone_code}'} [0x7016 r

[mkgmap-dev] img subfile extraction

2010-08-25 Thread Albert Hattingh
Is there an easy way to extract the sub-files of a Gramin img file, either by using some of the mkgmap code or another piece of software? I am interested in delving deeper into the file format and playing around with the unknown areas. Albert ___ mkgmap

Re: [mkgmap-dev] img subfile extraction

2010-08-25 Thread Garvan
On 26-Aug-10 05:51, Albert Hattingh wrote: > Is there an easy way to extract the sub-files of a Gramin img file, > either by using some of the mkgmap code or another piece of software? I > am interested in delving deeper into the file format and playing around > with the unknown areas. > > Albert