Re: [mkgmap-dev] Problems searching for California addresses

2012-03-03 Thread Henning Scholland
Hi, I think you should have something like this in your mkgmap-call: --location-autofill=bounds,is_in,nearest --index --bounds=data\bounds Henning ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

[mkgmap-dev] [Patch] Spurious dead main thread

2012-03-03 Thread GerdP
Hi WanMil, the loop in main (performance branch) does not always end, sometimes the main thread hangs in cmplService.take(); I guess this happens when the last preparer finishes after the test of getActiveCount() and before take() is called: do {

Re: [mkgmap-dev] [Patch] Spurious dead main thread

2012-03-03 Thread WanMil
Hi Gerd, thanks for the patch. The problem is the getActiveCount() method. The javadoc tells that it returns the approximate number of active threads. The only chance that the old code dead locks is that getActiveCount() returns 1 but all threads have already been finished and all results have

Re: [mkgmap-dev] [Patch] Add Spanish to nsis installer

2012-03-03 Thread Minko
I already found a partly solution to my own question: How to compile a simple installer without my users bothering to install nsis. I still have to use makensis.exe, but it runs standalone and I can distribute it with mkgmap in my zip files (together with a nsis subdir called Stubs). Mkgmap is

Re: [mkgmap-dev] [Patch] Spurious dead main thread

2012-03-03 Thread GerdP
Hi WanMil, I did never hit the problem that you describe. I don't think that this is meant with *approximately* correct result. I think the documentation just means that the calculation of the value happens at time x and the value is returned *somewhat* later without blocking all other

[mkgmap-dev] [Patch] Reduce bearingTo() calculations

2012-03-03 Thread GerdP
Hi, in class RoadNetwork we calculate both p1.bearingTo(p2) and the reverse p2.bearingTo(p1). I think the reverse value should be calculated from the initial value. See attached patch. Gerd http://gis.19327.n5.nabble.com/file/n5533880/bearingTo.patch bearingTo.patch -- View this message in

[mkgmap-dev] [Patch] Improve StyledConverter

2012-03-03 Thread GerdP
Hi WanMil, we have at least 5 unused bytes in each Coord instance. I suggest to save one more flag and an id-value in them to speed up StyledConverter and remove one more IdentityHashMap. See attached patch. Gerd http://gis.19327.n5.nabble.com/file/n5533908/styledConv_v1.patch

[mkgmap-dev] newbie question: How to use mkgmap?

2012-03-03 Thread Hadmut Danisch
Hi, this list is said to be suitable for *any* questions about mkgmap. I'm trying to create my own img files for a garmin eTrex (instead of downloading from the tile server). For some reason it does not work the way I expect, and even by reading all web pages I could find about usage of mkgmap,

[mkgmap-dev] Street name search in gmapsupp.img generated via --index option

2012-03-03 Thread Enrico Liboni
Hi - to test if --index now works out of the box, I just used mkgmap r2226 to generate a gmapsupp.img for my Nuvi SD card (I'm a linux user, no mapsource). It works! However street name search string need to start exactly with the street name prefix entered in OSM, example: for a street (via in

Re: [mkgmap-dev] newbie question: How to use mkgmap?

2012-03-03 Thread Carlos Dávila
El 03/03/12 21:33, Hadmut Danisch escribió: Hi, this list is said to be suitable for*any* questions about mkgmap. I'm trying to create my own img files for a garmin eTrex (instead of downloading from the tile server). For some reason it does not work the way I expect, and even by reading all

Re: [mkgmap-dev] Problems searching for California addresses

2012-03-03 Thread Bill
Henning, I appreciate the info on additional options for location-autofill. Adding --location-autofill=bounds,is_in to my command I discovered that it will now pull city type information from the .osm file as well as from the bounds directory. Unfortunately there are a crazy amount of hamlets