Re: [mkgmap-dev] [PATCH v1] Improve delete-tag-list with blacklist-tags-file and whitelist-tags-file

2009-11-29 Thread Clinton Gladstone
On Nov 29, 2009, at 19:54, WanMil wrote: In future it might be interesting to preparse the style and the typ file to autocreate a whitelist file. This would certainly be the most convenient approach, from a user's point of view. I recently made an overlay map which contained only public

Re: [mkgmap-dev] Don't let action rule execute its actions if its type isn't going to be used

2009-11-29 Thread Clinton Gladstone
On Nov 30, 2009, at 0:41, Felix Hartmann wrote: it's not that difficult. if I put highway=* oneway=yes {set oneway=-1}[0x01 road_class=0 road_speed=0 resolution 24 continue] oneway=-1 will not be remembered and only the way I used up here will be reversed Ah, I think, as they say, the

Re: [mkgmap-dev] Commit: r1409: Add support for generating multiple map objects from a single OSM object.

2009-11-28 Thread Clinton Gladstone
On Nov 28, 2009, at 10:50, Christoph Wagner wrote: svn commit schrieb: Version 1409 was commited by markb on 2009-11-27 20:52:16 + (Fri, 27 Nov 2009) Add support for generating multiple map objects from a single OSM object. The style system is augmented with 'continue' and 'stop'

Re: [mkgmap-dev] --index crashes on an otherwise successfully rendered image

2009-11-28 Thread Clinton Gladstone
On Nov 27, 2009, at 11:09, Lambertus wrote: Mkgmap sometimes crashes with when trying to build a gmapsupp including index using an existing (prerenderd) image. Exception in thread main java.lang.IndexOutOfBoundsException: Index: 32803, Size: 488 at

Re: [mkgmap-dev] --index crashes on an otherwise successfully rendered image

2009-11-28 Thread Clinton Gladstone
On Nov 28, 2009, at 18:15, Lambertus wrote: If you catch the error can you print an warning/error? I don't understand why the map would potentially be broken? Is it possibile to leave the POI out entirely and would that prevent a broken map? Try the attached patch. It catches the index out

Re: [mkgmap-dev] --index crashes on an otherwise successfully rendered image

2009-11-27 Thread Clinton Gladstone
On Nov 27, 2009, at 11:09, Lambertus wrote: Exception in thread main java.lang.IndexOutOfBoundsException: Index: 32803, Size: 488 at java.util.ArrayList.rangeCheck(ArrayList.java:571) at java.util.ArrayList.get(ArrayList.java:349) at

Re: [mkgmap-dev] Map end user documentation?

2009-11-26 Thread Clinton Gladstone
On Nov 26, 2009, at 11:45, Marko Mäkelä wrote: I translated http://www.polkupyoraily.net/osm/ into English and German. Any suggestions for improvement are welcome, as are and any translations for minority languages spoken in Finland: se, sv, et, ru at least. Thanks for providing this. I'll

Re: [mkgmap-dev] [PATCH v2] Fix Nuvi routing regression (rebloat Table A)

2009-11-26 Thread Clinton Gladstone
On Nov 26, 2009, at 1:08, Mark Burton wrote: v2 - now does nothing more (or less) than revert commits 1228 and 1373. I (casually) tested this patch on a Nuvi 255w today: I did not notice any harm done to the routing at least. Since I don't have a standard set of tests, I can't report if the

Re: [mkgmap-dev] [PATCH v1] increase Table B size

2009-11-25 Thread Clinton Gladstone
On Nov 24, 2009, at 23:18, Mark Burton wrote: Strangely, with the same map, but after updating to r1404, the problem has disappeared. Sorry, can you confirm that was with the Table B size increase patch applied to the latest SVN? Yes, I just checked again. The patch is applied. The

Re: [mkgmap-dev] [PATCH v1] increase Table B size

2009-11-25 Thread Clinton Gladstone
On Nov 25, 2009, at 23:49, Mark Burton wrote: Yes, I just checked again. The patch is applied. The error seems to have inexplicably disappeared. Hmm, well even if it comes back you can always do what it's telling you and specify a value for block-size (or whatever it was). As the maps

Re: [mkgmap-dev] [PATCH v1] increase Table B size

2009-11-24 Thread Clinton Gladstone
On Nov 23, 2009, at 23:36, Mark Burton wrote: On Mon, 23 Nov 2009 23:27:38 +0100 Clinton Gladstone clinton.gladst...@googlemail.com wrote: On Nov 23, 2009, at 16:13, Mark Burton wrote: Support larger Table B sizes. I tested the patch on a map of Germany. When I did, I received

Re: [mkgmap-dev] [PATCH v1] increase Table B size

2009-11-23 Thread Clinton Gladstone
On Nov 23, 2009, at 16:13, Mark Burton wrote: Support larger Table B sizes. I tested the patch on a map of Germany. When I did, I received the following error: SEVERE (BlockManager): overflowed directory with max block 65534, current=65535 Too many blocks. Use a larger block size with an

Re: [mkgmap-dev] [PATCH v1] make DP filter avoid removing pointslocated at nodes

2009-11-23 Thread Clinton Gladstone
On Nov 23, 2009, at 22:02, Mark Burton wrote: So I guess that's why they say that some people think the class is half empty while the others say that the class is half full! It's been quite some time since I have read something so witty. You should be proud. Cheers.

Re: [mkgmap-dev] Map missing from r1363++ (Re: Commit: r1363: Merge the mapset branch back to trunk.)

2009-11-22 Thread Clinton Gladstone
On Nov 22, 2009, at 17:05, Valentijn Sessink wrote: There's something strange with version 1363 and later: using a template.args file seems not to include the first map (in my case 63240001). Hm... I can't reproduce this: my map of Germany appears to generate all tiles correctly. Perhaps

Re: [mkgmap-dev] mdr address index with gmapsupp and macroadtrip installers

2009-11-16 Thread Clinton Gladstone
On Mon, Nov 16, 2009 at 2:22 AM, maning sambale emmanuel.samb...@gmail.com wrote: Installing to RoadTrip works without a hitch! Thanks Clinton. I am not a regular RoadTrip user and I can't seem to upload the map from Roadtrip to GPS SD card.  When I hit the send button, only waypoints and

Re: [mkgmap-dev] mdr address index with gmapsupp and macroadtrip installers

2009-11-16 Thread Clinton Gladstone
On Nov 16, 2009, at 11:19, Lambertus wrote: Please, can you send me the patched Gmapibuilder too? Tia. I've attached the file. There are now two added options to gmapi-builder.py: -i path to the .mdx file -m path to the _mdr.img file (The _mdr.img file also has to be included with the other

Re: [mkgmap-dev] mdr address index with gmapsupp and macroadtrip installers

2009-11-15 Thread Clinton Gladstone
On Nov 14, 2009, at 12:48, maning sambale wrote: Last time I checked address search works via mapsource upload to GPS, is this working now for gmapsupp and gmapibuilder generated installer? If you or anyone else is interested, I have modified Gmapibuilder to support the index files necessary

Re: [mkgmap-dev] Problems loading map to GPSr - MDR_TRIMMER.H

2009-11-13 Thread Clinton Gladstone
On Fri, Nov 13, 2009 at 10:46 AM, Steve Ratcliffe st...@parabola.me.uk wrote: On 13/11/09 00:54, Felix Hartmann wrote: Well just retested - 1351 still works. Anton has made a breakthrough with the regions.  He suggests sorting them by region id. This is working well for me in a quick test on

Re: [mkgmap-dev] Problems loading map to GPSr - MDR_TRIMMER.H

2009-11-13 Thread Clinton Gladstone
On Fri, Nov 13, 2009 at 12:36 PM, Mark Burton ma...@ordern.com wrote: Within that range of commits, the only one that alters the map data is: Substitute '/' for ';' in display_name to avoid it getting split.    Based on patch from Clinton Gladstone.    git-svn-id: http://svn.parabola.me.uk

Re: [mkgmap-dev] Problems loading map to GPSr - MDR_TRIMMER.H

2009-11-13 Thread Clinton Gladstone
On Fri, Nov 13, 2009 at 1:39 PM, Felix Hartmann extremecar...@googlemail.com wrote: Could you please retest 1352. I have 1351 working, 1352 failing on Germany. I my opinion it is definitely the fix city code by Anton that is causing the problem! (remember to run ant clean when downgrading

Re: [mkgmap-dev] Commit: r1382: Sort regions by region id, after map id as per Anton's suggestion.

2009-11-13 Thread Clinton Gladstone
On Nov 13, 2009, at 16:56, Steve Ratcliffe wrote: With the latest commit, my germany map works as well as my UK one. To recap we should now have: 1. No repeated city name when finding cities 2. Maps transfer from mapsource even when they have more than 16 regions Thanks to Anton for

Re: [mkgmap-dev] add info-letters for

2009-11-12 Thread Clinton Gladstone
On Thu, Nov 12, 2009 at 11:11 AM, Jan Tappenbeck o...@tappenbeck.net wrote: Hi ! you use tags in the argument like extremecarver - but i only want to use  strings like H= !!! Hi Jan, This should be possible too. In the worst case, you can insert the magic code into the style file directly by

Re: [mkgmap-dev] Problems loading map to GPSr - MDR_TRIMMER.H

2009-11-12 Thread Clinton Gladstone
On Thu, Nov 12, 2009 at 4:29 PM, Steve Ratcliffe st...@parabola.me.uk wrote: That is interesting. Do you have a range of versions where the problem started?  I have not made a change to MDR for a while.  It would be interesting if one of Mark's changes caused it as that would mean that you

Re: [mkgmap-dev] add info-letters for

2009-11-11 Thread Clinton Gladstone
On Nov 11, 2009, at 19:26, Jan Tappenbeck wrote: highway=* maxheight0 {name 'h= ${maxheight|subst: |highway-symbol:hbox}'} [0x01 resolution 12] I think the subst: filter is replacing maxheight with an empty string. I'm not sure you want that statement there. Cheers.

Re: [mkgmap-dev] Use userdefine way-Icons

2009-11-11 Thread Clinton Gladstone
On Nov 10, 2009, at 17:33, Jan Tappenbeck wrote: but is there a possiblity to use my own icons for hikingways for example ?? how ? Do you want to reuse the highway shields for your hiking trails or do you want to use your own special hiking symbols for the trails? If it is the latter, I

Re: [mkgmap-dev] set display name problem ( Error in style: Error: (lines:14): Unrecognised command 'display_name', Could not open style null )

2009-11-11 Thread Clinton Gladstone
On Nov 11, 2009, at 22:47, Felix Hartmann wrote: Best however would be a command to append labels like { append name '${ref}' } that would replace the current command { name '${name} {ref}' | '${name}' | '${ref}' }. In case that nothing in the append name '' exists then it will not be

[mkgmap-dev] Problems loading map to GPSr - MDR_TRIMMER.H

2009-11-11 Thread Clinton Gladstone
With the latest builds, I can no longer transfer my maps of Germany using mapsource to my e-Trex. The maps are build with the --index option, which I suspect may be part of the problem, as the error comes from MDR_TRIMMER.H. Does anyone have an idea? - I still have the region-munge.patch

Re: [mkgmap-dev] set display name problem ( Error in style: Error: (lines:14): Unrecognised command 'display_name', Could not open style null )

2009-11-09 Thread Clinton Gladstone
On Nov 9, 2009, at 19:04, Felix Hartmann wrote: I would like to set up display name with lines in my style-file like highway=tertiary { display_name '${name}' | 'tertiary' } [0x04 ] Have you tried it with add display_name = ...? Or do you need the syntax in the line above? This

[mkgmap-dev] [PATCH] Improve display of highway shields

2009-11-08 Thread Clinton Gladstone
The attached patch is an attempt to improve the reliability and flexibility for displaying highway shields. It does the following: 1. Removes the alpha balancing coding. (This coding checked that values for signs were primarily numeric, and therefore prevented refs such as QEW from being

Re: [mkgmap-dev] highway shields in label occasionally dropped

2009-11-04 Thread Clinton Gladstone
On Wed, Nov 4, 2009 at 11:51 AM, Gert Münzel gert.muen...@netcologne.de wrote: I have looked in the code and found  in the HighwaySymbolFilter.java this alpha_balance which is the reason for. Simply changing return value to return prefix + value stops this. Looking at the examples, the

Re: [mkgmap-dev] highway shields in label occasionally dropped

2009-11-04 Thread Clinton Gladstone
On Nov 4, 2009, at 11:51, Gert Münzel wrote: I found that at some of the ways (which have a filled REF-field) the highway-symbol is dropped and only the content of REF is shown. some examples(i used r1344). I write _ instead of real spaces just to make it easier to read: if B is given the

Re: [mkgmap-dev] IndexOutOfBoundsException while creating MDR

2009-11-02 Thread Clinton Gladstone
On Nov 2, 2009, at 1:06, Steve Ratcliffe wrote: Were you using --road-name-pois ? This option can produce invalid files that cause this error on being read. There maybe other ways of ending up with an invalid file too. Yes I was. Although the map compiles correctly with --road-name-pois

Re: [mkgmap-dev] IndexOutOfBoundsException while creating MDR

2009-11-02 Thread Clinton Gladstone
On Nov 2, 2009, at 1:06, Steve Ratcliffe wrote: Were you using --road-name-pois ? Actually, now that I look at my script, I see that I did not use this option. I'll try again anyway with some other options removed. Cheers. ___ mkgmap-dev mailing

Re: [mkgmap-dev] roadtrip no longer happy

2009-11-01 Thread Clinton Gladstone
On Nov 1, 2009, at 2:09, Greg Troxel wrote: Has anyone had recent success with roadtrip? I probably should try bisecting svn to find when this behavior started I've had success with r1333, but have not tried with later versions. If there is a problem, it must have occurred after r1333.

[mkgmap-dev] IndexOutOfBoundsException while creating MDR

2009-11-01 Thread Clinton Gladstone
I attempted to create a map of the Geofabrik extract of Europe using the --index option. (I know this may be somewhat premature, since the MDR code is still in progress.) - This map consists of 274 tiles. When I tried this, mkgmap halted with an IndexOutOfBoundsException. - The exception

Re: [mkgmap-dev] [PATCH] Display road name instead of ref in routing directions

2009-10-31 Thread Clinton Gladstone
On Oct 30, 2009, at 23:56, Felix Hartmann wrote: In Germany the label of the primaries is shown on the road signs (B57, B58...), but not the labels of the secondaries (like L237, K39 and so on). How is this handled in other countries? This is not related to type of road, but type of

Re: [mkgmap-dev] Do we write the region and/or country index wrongly? Still not able to search addresses outside of current maptile on etrex vista hcx

2009-10-30 Thread Clinton Gladstone
On Fri, Oct 30, 2009 at 6:05 PM, Felix Hartmann extremecar...@googlemail.com wrote: Also the cities seem to be missing something, as soon as I type in a letter it says none found (only in address search or intersection search tab, in the city search tab cities are found - except those with

Re: [mkgmap-dev] highway-symbol and name

2009-10-28 Thread Clinton Gladstone
On Tue, Oct 27, 2009 at 3:26 PM, Gert Münzel gert.muen...@netcologne.de wrote: If a ref-tag is given in  the osm-file, allways an extra label  is produced in the img. I think this causes the differences e.g. in turn instructions. Before i tought is was the missing 1F but the manual injection

Re: [mkgmap-dev] output of splitter isn't recognized by JOSM

2009-10-28 Thread Clinton Gladstone
On Wed, Oct 28, 2009 at 11:45 AM, ste...@binaervarianz.de wrote: does anybody know why the output of splitter is not recognized by JOSM? The last time I tried this, with a recent version of JOSM, JOSM rejected the splitter file due to an incompatible OSM API version. I haven't tried it, but I

[mkgmap-dev] [PATCH] Display road name instead of ref in routing directions

2009-10-28 Thread Clinton Gladstone
The attached patch causes road names (instead of refs) to be displayed in routing directions. That is, you will get Turn right onto Weseler Strasse (B58) instead of just Turn right onto B58. If you use a style other than the default, you will have to add a add display_name = '${name} (${ref})'

Re: [mkgmap-dev] amenity=embassy not handled by mkgmap ?

2009-10-25 Thread Clinton Gladstone
On Oct 25, 2009, at 10:42, Hendrik Oesterlin wrote: Now I noticed that an POI amenity=embassy added in OSM is not available in the produced gmapsupp.img (both with mkgmap v1303 et 1311) I assume this is the case because there is no specific Garmin POI type for embassies. (Please correct me

Re: [mkgmap-dev] highway-symbol and name

2009-10-25 Thread Clinton Gladstone
On Oct 25, 2009, at 9:31, Ralf Reimann wrote: Toby Speight wrote: The above means: * If the highway has both 'ref' and 'name' tags, give it a name made of the 'ref' value in an oval box, followed by the 'name' value; else I understood it in this way, but it doesn't do this. I looked for a

Re: [mkgmap-dev] highway-symbol and name

2009-10-25 Thread Clinton Gladstone
On Oct 25, 2009, at 17:27, Ralf Reimann wrote: You are right. On my Etrex Legend HCx it shows (B58 Weseler Strasse) when cursoring over the street. In Mapsource 6.15.6 it shows only (B 58). But I tested again the routing instructions on my etrex. Turning in any street with a

Re: [mkgmap-dev] highway-symbol and name

2009-10-25 Thread Clinton Gladstone
On Oct 25, 2009, at 19:28, Gert Münzel wrote: You told me the trick to isert e.g. this 1F as real hex value direct into the lines style-file. This works, but indeed it would be better if mkmap could also handle this type of labels if the data input is in osm-format. Yes, I was just about

Re: [mkgmap-dev] Sea tiles problem

2009-10-25 Thread Clinton Gladstone
On Oct 25, 2009, at 22:24, Toby Speight wrote: I've just started using the --generate-sea option, and it almost works. The problem is that of the UK, the whole of northern Scotland (north of a line through Stirling) is inverted - i.e. the land is blue and the sea is light yellow

Re: [mkgmap-dev] Commit: r1305: Message tweak - s/road/street/.

2009-10-22 Thread Clinton Gladstone
On Thu, Oct 22, 2009 at 11:53 AM, Mark Burton ma...@ordern.com wrote: Anyway, it's a good new feature - I found over 40 locations in the GB map where oneway roads met up with nowhere else to go. Typically, the direction of one or more of the roads was wrong (e.g. motorway road backwards).

Re: [mkgmap-dev] Unable to send maps with MapSource

2009-10-22 Thread Clinton Gladstone
On Wed, Oct 21, 2009 at 1:24 PM, Steve Ratcliffe st...@parabola.me.uk wrote: If an individual map has more than 16 regions then the transfer fails for that file.  It doesn't appear to make any difference if there are other maps selected or not.  I modified mkgmap to limit to 16 regions per

Re: [mkgmap-dev] Unable to send maps with MapSource

2009-10-21 Thread Clinton Gladstone
On Wed, Oct 21, 2009 at 12:32 AM, Steve Ratcliffe st...@parabola.me.uk wrote: I think I have found what causes this, and it would be good if someone could confirm. If an individual map has more than 16 regions then the transfer fails for that file.  It doesn't appear to make any difference

Re: [mkgmap-dev] Warning when generating the index

2009-10-21 Thread Clinton Gladstone
On Wed, Oct 21, 2009 at 3:34 PM, Nakor nakor...@gmail.com wrote: WARNING: string pointer size is not 3, index will probably not work try with fewer maps until this is resolved. Somehow the recently committed r1297 sounds a lot like it would solve this problem: Commit: r1297: Remove warning

Re: [mkgmap-dev] [PATCH] ref/operator/shelter naming for stops of public transit

2009-10-14 Thread Clinton Gladstone
On Oct 13, 2009, at 16:24, Marko Mäkelä wrote: Some months ago, I submitted a patch to the mkgmap default style that would do two things: include ref/operator/shelter in bus/rail/tram stop names and change the types of minor stops from 0x2f08 to 0x2f17. I can understand hesitation to

Re: [mkgmap-dev] Reduce road class/speed when road is narrow

2009-10-12 Thread Clinton Gladstone
On Oct 12, 2009, at 17:12, Mark Burton wrote: I want to dissuade my gps from using very narrow roads (for car routing) so one way of doing that is to reduce the road class and/or speed if the road is narrower than some threshold. I can easily imagine how to do that in mkgmap using some

Re: [mkgmap-dev] Memory problems since 1245

2009-10-06 Thread Clinton Gladstone
On Tue, Oct 6, 2009 at 12:11 PM, maning sambale emmanuel.samb...@gmail.com wrote: I am interested in this approach as well.  Can you please post the howto for this? In our areas the sea gets broken sometimes due to newbie editing it would be good if I have a permanent sea osm file to create a

Re: [mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-05 Thread Clinton Gladstone
On Mon, Oct 5, 2009 at 5:59 PM, Steve Ratcliffe st...@parabola.me.uk wrote: As the 0x1f separator is not a highway symbol it is not supported by the highway-symbol modifier.  In this case, since you don't want to modify the string it would be best to just insert the symbol where you want it

Re: [mkgmap-dev] Coastline stops when also Admin Boundry

2009-10-01 Thread Clinton Gladstone
On Thu, Oct 1, 2009 at 12:06 PM, Peter Suzie pslowa...@gmail.com wrote: I have noticed that the coastline stops when the coastline also meets and admin boundry, this is a problem area As a work around, you can change your style files to always draw coastline if there is a conflict. For

Re: [mkgmap-dev] night-mode styling

2009-09-13 Thread Clinton Gladstone
On Sep 13, 2009, at 6:30, maning sambale wrote: I am trying to create a nightmode styling for my osm-ph gps maps. A good inspiration are radarmaps: http://justin.everett-church.com/ymaps/radarMaps.html Just out of interest, would it not be better to use primarily red colours in a night mode

Re: [mkgmap-dev] Fun with splitter tile descriptions

2009-09-12 Thread Clinton Gladstone
On Sep 11, 2009, at 23:05, Chris Miller wrote: The approach I'm currently looking at is using a geonames file (eg cities15000.zip) from http://download.geonames.org/export/dump/ to decide which country and city is the most predominant one in each tile. I tried this out on an extract of

Re: [mkgmap-dev] add building names in building polygon, make it searcheable.

2009-09-09 Thread Clinton Gladstone
On Wed, Sep 9, 2009 at 1:24 PM, maning sambaleemmanuel.samb...@gmail.com wrote: Currently building polygons have names in my area.  How do I add the names  in the map and enable search? A while back I believe I posted a patch which modified the polygons style file to add names (and house

[mkgmap-dev] Fun with splitter tile descriptions

2009-09-09 Thread Clinton Gladstone
I found it somewhat annoying that my tiles always had identical generic descriptions such as OSM Map. It made it very difficult to recognise which tiles belonged to which areas, in particular when attempting to select specific tiles on my GPSr. Since my maps could have over 200 tiles, it was

Re: [mkgmap-dev] Fun with splitter tile descriptions

2009-09-09 Thread Clinton Gladstone
On Wed, Sep 9, 2009 at 4:02 PM, Chris Millerchris.mil...@kbcfp.com wrote: Nice idea! I'll put that on the todo list for incorporating into the splitter, sounds like a very useful feature to add. What might be even better is if I use those webservices to generate a data file that can be

Re: [mkgmap-dev] Fun with splitter tile descriptions

2009-09-09 Thread Clinton Gladstone
On Wed, Sep 9, 2009 at 5:07 PM, Chris Millerchris.mil...@kbcfp.com wrote: Well I wasn't planning on bundling the whole thing. My idea was to create a grid that's the same resolution as the splitter's density map (typically 8192x4096), This would be very cool. I'm in favour! ;-) Cheers.

Re: [mkgmap-dev] Spotlight files makes Garmin crash

2009-09-01 Thread Clinton Gladstone
On Tue, Sep 1, 2009 at 4:57 PM, Morten Kjeldgaardm...@bioxray.au.dk wrote: I've just discovered that a directory called .Spotlight-V100/ on the microSD card makes my Garmin Legend Cx crash when I switch it off. This is not really mkgmap related, but the latest Legend/Vista updates are supposed

Re: [mkgmap-dev] Sea Polygons and java 1.6

2009-08-22 Thread Clinton Gladstone
On Aug 22, 2009, at 19:02, Steve Ratcliffe wrote: The openJDK release from the same source has recently appeared and is GPL of course and so has no such restriction, but it is marked beta and although I would be surprised if there were any problem with a command line app it would be good

Re: [mkgmap-dev] Overflowed directory error

2009-08-21 Thread Clinton Gladstone
2009/8/21 Carlos Dávila cdavi...@jemila.jazztel.es: Hello all While compiling a map from 6 tiles obtained with splitter (manually adjusted areas.list) I get the following error: GRAVE (BlockManager): overflowed directory with max block 65534, current=65535 There is not enough room in a

Re: [mkgmap-dev] Commit: r1140: -- breaks overlays and relations file?

2009-08-20 Thread Clinton Gladstone
On Thu, Aug 20, 2009 at 12:56 PM, Felix Hartmannextremecar...@googlemail.com wrote: Could some other people please try out whether the overlays and relations file still work with 1140? Could you send an example of what you are doing in your relations file? I will then see if I can reproduce the

Re: [mkgmap-dev] maps mixed

2009-08-18 Thread Clinton Gladstone
On Tue, Aug 18, 2009 at 1:09 PM, frmasfr...@free.fr wrote: OK, done. I put it up for download here http://arvernes.dyndns.org/mapmake.zip I briefly looked at your script and couldn't notice anything, but it is fairly complex. Instead, have you considered downloading the entire geofabrik

Re: [mkgmap-dev] [PATCH v4] sea polygons

2009-08-17 Thread Clinton Gladstone
On Sun, Aug 16, 2009 at 12:49 AM, Christian Gawronchristian.gaw...@gmx.de wrote: With this version of the patch, the intersection of the bounding box and the landmass does not have to be simply connected as in version 3 of the patch. Hm... I tried out this patch with a tiled map of Germany.

Re: [mkgmap-dev] [PATCH v4] - min arc length fixes

2009-08-15 Thread Clinton Gladstone
On Aug 14, 2009, at 14:44, Greg Troxel wrote: Also my test map (in script as well) works on the garmin but crashes roadtrip. You know, I tried this too, and noticed that the test map ( test- map:all-elements) also crashes Mapsource. Also in my tests, gmapi- builder.py displayed an Unknown

Re: [mkgmap-dev] Changed build.xml for DEM generation

2009-08-15 Thread Clinton Gladstone
On Aug 15, 2009, at 7:54, maning sambale wrote: package com.sun.media.jai.codec does not exist [javac] import com.sun.media.jai.codec.*; Hm... this sounds a lot like javac cannot find the jai jar files. Are you sure you put the jai stuff in a directory which javac can find? (I've

Re: [mkgmap-dev] Changed build.xml for DEM generation

2009-08-15 Thread Clinton Gladstone
On Aug 15, 2009, at 7:54, maning sambale wrote: And then used this build.xml for mkgmap: man...@cumingi:~/osm/routable_garmin/mkgmap/trunk$ ant dist Buildfile: build.xml It also occurs to me that if you are using the build.xml file from Jörg, I assume you have to adjust the path to the jai

Re: [mkgmap-dev] [PATCH v4] - min arc length fixes

2009-08-14 Thread Clinton Gladstone
On Thu, Aug 13, 2009 at 8:52 PM, Greg Troxelg...@ir.bbn.com wrote: I am finding routing totally broken in Massachusetts; routes (etrex vista hcx) are computed apparently using the basemap.  I have not tested enough to figure out why. Which extract are you using (geofabrik, cloudmade?), and

Re: [mkgmap-dev] [PATCH v4] - min arc length fixes

2009-08-14 Thread Clinton Gladstone
On Fri, Aug 14, 2009 at 2:44 PM, Greg Troxelg...@ir.bbn.com wrote: I most recently built with all 6 NE states (conn, ri, mass, vermont, new hampshire, maine) all together, invoking the script 'do-mkgmap' which follows as something like $ do-mkgmap *.osm.bz2 In this case, routing will not

Re: [mkgmap-dev] Putting the DP code under the microscope (simplifyWays patch V8)

2009-08-13 Thread Clinton Gladstone
On Wed, Aug 12, 2009 at 8:01 PM, Thilo Hannemannthann...@gmx.de wrote: I'm currently working on it. Have you tried the patch together with routing? In my trials the routing was completely broken after applying the patch. I have tried this with routing, but not yet noticed a significant

Re: [mkgmap-dev] [PATCH v1] - Add support for marine (aka extended) types

2009-08-12 Thread Clinton Gladstone
On Tue, Aug 4, 2009 at 10:40 PM, Mark Burtonma...@ordern.com wrote: Ahoy there shipmates, This patch is a first stab at providing support for the 3-byte extended types that are used on marine maps. I tested this, and found that it works fine, both on my eTrex and in Roadtrip for Mac OS X.

Re: [mkgmap-dev] Putting the DP code under the microscope (simplifyWays patch V8)

2009-08-12 Thread Clinton Gladstone
On Sat, Jul 25, 2009 at 3:55 PM, Johann Gailjohann.g...@gmx.de wrote: Find attached an patch of my working copy. It is based mainly on my old simplifyWays patch. Its diffed against the current R1102. The main idea is to merge the lines directly before input them to the filters. It improves

Re: [mkgmap-dev] [PATCH v1] Better rounding in mkgmap

2009-08-11 Thread Clinton Gladstone
On Tue, Aug 11, 2009 at 3:50 PM, Elrondelrond+openstreetmap@samba-tng.org wrote: As rounding seems a current topic, I'm throwing in a patch that is sitting in my tree for a while now: How can I best test this patch? Is there something I can look for without examining the binary data of the

Re: [mkgmap-dev] [PATCH] Style additions for marine navigation markers

2009-08-11 Thread Clinton Gladstone
On Aug 11, 2009, at 17:59, Elrond wrote: Looking at your mods... +man_made=pier {name '${name} (${man_made})' | '${man_made}' 1. Did you miss the } at the end? Or am I missing something obvious? 2. Shouldn't that line before the other man_made=pier line? Yes, it looks like the final }

Re: [mkgmap-dev] New splitter version available

2009-08-08 Thread Clinton Gladstone
On Aug 6, 2009, at 1:39, Chris Miller wrote: 've checked in a new version of the tile splitter. It's not yet available for download on the splitter homepage, but until then you can either check it out of Subversion at http://svn.mkgmap.org.uk/splitter/trunk or download a prebuilt

Re: [mkgmap-dev] Memory limits for mkgmap and splitter

2009-08-07 Thread Clinton Gladstone
On Fri, Aug 7, 2009 at 2:56 PM, Chris Millerchris.mil...@kbcfp.com wrote: I've got 4 cores (8 with hyperthreading) so this is something I'm acutely aware of. Watching my PC churn away at only 12.5% CPU for a few hours isn't my idea or resources well spent! Unfortunately there's no quick win

Re: [mkgmap-dev] compiled mkgmap binary with contour option

2009-08-06 Thread Clinton Gladstone
On Thu, Aug 6, 2009 at 2:56 PM, maning sambaleemmanuel.samb...@gmail.com wrote: According to this: http://wiki.openstreetmap.org/wiki/Mkgmap/help/usage#Contours Contours were added in r1079. They were removed in r1080 as they do not compile without extra packages. But were they not added

Re: [mkgmap-dev] splitter build fails on mac

2009-08-06 Thread Clinton Gladstone
On Thu, Aug 6, 2009 at 6:26 PM, Greg Troxelg...@ir.bbn.com wrote: Another mystery - after 'ant' I don't find dist/splitter.jar.  Do I need to do something special to get a jar file?  The mkgmap ant build seems to create this automatically. Try ant dist. dist is the default for mkgmap, but not

Re: [mkgmap-dev] splitter build fails on mac

2009-08-05 Thread Clinton Gladstone
On Wed, Aug 5, 2009 at 2:24 AM, Greg Troxelg...@ir.bbn.com wrote: (This is also splitter-dev I think.) I am trying to build the splitter on a mac (10.5.7 with java 1.6.0_13, 64-bit server VM), and failing.  I have successfully built mkgmap and run it, so my java setup is mostly ok. I

Re: [mkgmap-dev] complete list of all mkgmap options

2009-08-04 Thread Clinton Gladstone
On Mon, Aug 3, 2009 at 10:38 PM, Mark Burtonma...@ordern.com wrote: What I believe we need is some fascist check in the options processing code that prints a message and quits the program if you specify an option that isn't recognised. Yeah, maybe we could make an option for this? ;-)

Re: [mkgmap-dev] Apparent bug: POIs from areas

2009-08-03 Thread Clinton Gladstone
On Aug 3, 2009, at 20:19, Dermot McNally wrote: By accident, I've noticed that when areas are converted to POIs, address and phone number information (and maybe other stuff) does not seem to be preserved. Hi Dermot, I posted a patch for this a while ago. You should be able to find it in

Re: [mkgmap-dev] [PATCH v1] sea polygons

2009-08-02 Thread Clinton Gladstone
On Aug 2, 2009, at 11:03, Christian Gawron wrote: The output suggests that the code repeatedly concatenates a (closed) way with itself - this surely will exhaust the heap space quickly. I'will post an improved patch later. Hi Christian, I also received heap overflows similar to what was

Re: [mkgmap-dev] Magic highway symbols on Vista CX failing

2009-08-01 Thread Clinton Gladstone
On Jul 31, 2009, at 19:54, Alexander Wittig wrote: So I did some research and I think the problem is that not all of the magic symbols in src/uk/me/parabola/mkgmap/osmstyle/actions/HighwaySymbolFilter.java are available on the unit. Also they are named wrongly for this unit. Just out of

Re: [mkgmap-dev] errors in routing

2009-08-01 Thread Clinton Gladstone
On Aug 1, 2009, at 10:13, Garvan maew wrote: I re-tested a sample I posted before with routing problems, except this time I converted the data to OSM format first, and it has the same problem with routing as I noted in a larger map, and as I explained above. In the attached sample,

Re: [mkgmap-dev] Garmin Nuvi asks province

2009-07-30 Thread Clinton Gladstone
On Thu, Jul 30, 2009 at 4:39 PM, Valentijn Sessinkvalen...@blub.net wrote: java -enableassertions -Xmx1800m -jar ~/garmintest/mkgmap/dist/mkgmap.jar --country-name= --country-abbr= --family-name=Openstreetmap Netherlands `date -I` --latin1 --remove-short-arcs --lower-case

Re: [mkgmap-dev] vanishing map

2009-07-29 Thread Clinton Gladstone
On Wed, Jul 29, 2009 at 12:03 PM, Steve Ratcliffest...@parabola.me.uk wrote: Hi Could everyone who is interested in this please try the attached patch. I tried the patch on Valentijn's example, and it solved the problem. I will now try it on a larger area and report the results. Thanks!

[mkgmap-dev] [PATCH] Style to display house numbers of polygons

2009-07-27 Thread Clinton Gladstone
Hello, For whomever is interested, the attached patch will display house numbers for buildings. The patch simply adds a few lines to the polygon style file. (I have placed the additions at the end of the polygons style file, so that any other previously occurring name directives will take

Re: [mkgmap-dev] missing tooltips, map blanking

2009-07-27 Thread Clinton Gladstone
On Thu, Jul 23, 2009 at 8:07 PM, Valentijn Sessinkvalen...@blub.net wrote: If anyone else finds something (maybe you even find that running the split above will give you a map that will let you zoom into it - please let me know. Hello Valentijn, Just to let you know, I was able to run the

Re: [mkgmap-dev] [PATCH v1] - All ways may contain nodes

2009-07-27 Thread Clinton Gladstone
On Mon, Jul 27, 2009 at 1:34 PM, Mark Burtonma...@ordern.com wrote: I would be grateful if as many people as possible test this and report any breakage as it could have an effect on any map (although, I believe it safe enough). I did a quick test of this patch: I could not observe any

Re: [mkgmap-dev] [PATCH] Translate railway=platform

2009-07-27 Thread Clinton Gladstone
On Fri, Jul 10, 2009 at 11:22 AM, Marko Mäkelämarko.mak...@iki.fi wrote: Here is a tested patch for translating railway=platform just like highway=footway.  Please apply it. Hi Marko, Since a railway platform can be both a way and an area, does it make sense to handle this in the same way as

Re: [mkgmap-dev] [PATCH v1] - All ways may contain nodes

2009-07-27 Thread Clinton Gladstone
On Mon, Jul 27, 2009 at 4:25 PM, Mark Burtonma...@ordern.com wrote: As for the short arc errors going away, it must be more of those wacky routable railway platforms! Yeah, I changed my style file to exclude railway platforms which are areas. I know I shouldn't change two things at once when I

Re: [mkgmap-dev] Missing strip at map intersections: is it a regression?

2009-07-20 Thread Clinton Gladstone
On Sat, Jul 18, 2009 at 11:49 AM, Mark Burtonma...@ordern.com wrote: This issue of the area near a tile boundary not being drawn is weird because when I was first working on the inter-tile routing, I never noticed this occurring. So either I was lucky and just didn't come across it or

Re: [mkgmap-dev] [PATCH v4] - beware of the bollards!

2009-07-20 Thread Clinton Gladstone
On Fri, Jul 17, 2009 at 10:32 PM, Mark Burtonma...@ordern.com wrote: Shall I commit this stuff or does it need more work? I have not yet had time to test this, but would it be an idea to optionally enable or disable this behaviour? I know that mkgmap is slowly growing an unmanageable number of

[mkgmap-dev] [PATCH] Address values for area POIs

2009-07-20 Thread Clinton Gladstone
The attached patch inelegantly copies address data to the POIs created when using the --add-pois-to-areas option. I have noticed that more and more map objects contain address information (street number, name, etc.). This was being skipped for POIs which were created from polygons. It

[mkgmap-dev] [PATCH] Properly remove spaces in highway shield labels

2009-07-20 Thread Clinton Gladstone
Is anyone else using the highway shield feature? I found that highway names with spaces in them, such as A 1 would be displayed in the shield as just A. The attached patch fixes this. If this also fixes the problem for other people, and is not some weird peculiarity of my operating

Re: [mkgmap-dev] Long Distance Routing

2009-07-16 Thread Clinton Gladstone
On Wed, Jul 15, 2009 at 10:34 PM, Mark Burtonma...@ordern.com wrote: If only we could get a grip on the .MDR file format, it would make search work as well as the routing. By the way, are you aware of the information here:

Re: [mkgmap-dev] [PATCH v4] contours

2009-07-11 Thread Clinton Gladstone
On Jul 10, 2009, at 19:01, Christian Gawron wrote: Clinton Gladstone schrieb: I was able to successfully compile a small area using ASTER tiles. The resulting map looked correct. Hi Christian, I did more testing using the complete ASTER tile ASTGTM_N49E008_dem.tif. I received a lot

Re: [mkgmap-dev] [PATCH v4] contours

2009-07-10 Thread Clinton Gladstone
On Thu, Jul 9, 2009 at 9:10 PM, Christian Gawronchristian.gaw...@gmx.de wrote: The CGIAR files are GeoTIFF files which cover 5x5 degrees. You can get them from http://srtm.csi.cgiar.org/. The ASTER data (http://asterweb.jpl.nasa.gov/gdem.asp) also comes as GeoTIFF files (each covering 1x1

<    1   2   3   >