Re: [mkgmap-dev] delete and replace is_in:country tags

2011-02-16 Thread Steve Ratcliffe
Hello On 16/02/11 03:01, maning sambale wrote: *=* {delete is_in:country=disputed territory} place=* {add is_in:country=Philippines} If you want to replace all disputed's with Philippines then this will do it: is_in:country='disputed territory' {set is_in:country=Philippines} If

[mkgmap-dev] java.lang.IllegalArgumentException

2011-02-16 Thread Thorsten Kukuk
Hi, with the mkgmap sr1846 I see now this java exception: Exception in thread main java.lang.IllegalArgumentException at java.nio.ByteBuffer.allocate(ByteBuffer.java:311) at uk.me.parabola.imgfmt.sys.Directory.sync(Directory.java:176) at

Re: [mkgmap-dev] java.lang.IllegalArgumentException

2011-02-16 Thread Steve Ratcliffe
On 16/02/11 09:50, Thorsten Kukuk wrote: Hi, with the mkgmap sr1846 I see now this java exception: Exception in thread main java.lang.IllegalArgumentException at java.nio.ByteBuffer.allocate(ByteBuffer.java:311) at

Re: [mkgmap-dev] Address search and index.

2011-02-16 Thread Steve Hosgood
On 15/02/11 18:16, WanMil wrote: 1st problem: Splitter (as you already mentioned) The tiles do not contain the full information for multipolygons that exceed the tile bounds It may be possible to pre-process the planet file to divide the world into (say) 1° by 1° squares and pre-tag each

Re: [mkgmap-dev] delete and replace is_in:country tags

2011-02-16 Thread Steve Ratcliffe
On 16/02/11 10:20, maning sambale wrote: Thanks! Now I have two countries to choose from Philippines and PHI. Better that the last one. OK I am adding the Philippines to the LocatorConfig file so you should have only one to choose from once it is checked in. ..Steve

Re: [mkgmap-dev] delete and replace is_in:country tags

2011-02-16 Thread maning sambale
Thanks. Just to correct my last message, ISO shortname should be PHL On Wed, Feb 16, 2011 at 6:25 PM, Steve Ratcliffe st...@parabola.me.uk wrote: On 16/02/11 10:20, maning sambale wrote: Thanks! Now I have two countries to choose from Philippines and PHI. Better that the last one. OK I am

[mkgmap-dev] --make-cycleways labels invisible

2011-02-16 Thread Minko
Hi, If I use the option --make-opposite-cycleways or --make-all-cycleways, an extra label is placed with street (cycleway). Is it possible to turn this label off or make it invisible in the style line file and how? Cheers, Minko ___ mkgmap-dev mailing

Re: [mkgmap-dev] Address city country name assignment.

2011-02-16 Thread Henning Scholland
Am 16.02.2011 11:32, schrieb Christian Steins: On Wed, 16 Feb 2011 08:00:48 +0200, Du Plessis, Bennie wrote: I don't understand which tags are used to find the country (and other address data) for a street, or city to use in address search. I think we should have a wiki page describing all

Re: [mkgmap-dev] Address search and index.

2011-02-16 Thread Colin Smale
4) There are such things as cities that span multiple counties (like London, England for instance). There needs to be rules to allow that, maybe where the bounding-box for the majority of the county of Middlesex is required to be entirely outside the bounding box for London, but a second

Re: [mkgmap-dev] Address city country name assignment.

2011-02-16 Thread Steve Ratcliffe
I don't understand which tags are used to find the country (and other address data) for a street, or city to use in address search. [First I should say that I did not write any of the code in question and haven't looked at it much at all so I don't really know how it works in any detail] It

Re: [mkgmap-dev] Address city country name assignment.

2011-02-16 Thread Steve Ratcliffe
On 16/02/11 10:42, Henning Scholland wrote: -how do the different location-autofill options work? -what is the algorithm for getting the region for a place? -how are streets assigned to cities? -what is the purpose of the LocatorConfig.xml file? Don't forget the importanrs point: How to use

Re: [mkgmap-dev] Address city country name assignment.

2011-02-16 Thread Dermot McNally
It's amusing and not particularly surprising how, as soon as we have searchable maps, we discover the importance of having better addressing information about locations. So far a lot of a fundamental principles have been mentioned: * That using is_in information is easy, but not satisfactory,

Re: [mkgmap-dev] Index branch - Umlaut problem

2011-02-16 Thread Chris66
Am 16.02.2011 00:19, schrieb Steve Ratcliffe: just was wondering because v1850 was not crashing anymore. Oh OK. Well I believe that now it should work again in 1855. Yesss, Germany is working now. I see following regions: Be Belgique Berlin Bundesrepubblik Deutschalnd Cz Czech Republic

Re: [mkgmap-dev] Address city country name assignment.

2011-02-16 Thread Robert Vollmert
On Feb 16, 2011, at 15:20, Dermot McNally wrote: On 16 February 2011 13:28, Robert Vollmert rvollmert-li...@gmx.net wrote: My suggestion would be to move region (country, city) detection into a preprocessing step, outside of mkgmap. That is, some other tool preprocesses and normalizes the

Re: [mkgmap-dev] Address city country name assignment.

2011-02-16 Thread Dermot McNally
On 16 February 2011 14:40, Robert Vollmert rvollmert-li...@gmx.net wrote: So instead of writing is_in tags, write the actual data as relations? One relation per street,  one relation per city, etc., with all streets as members in the corresponding city relation? I wasn't thinking of trying

Re: [mkgmap-dev] Splitter issue

2011-02-16 Thread Jeffrey Ollie
On Sun, Nov 7, 2010 at 3:05 PM, Nakor nakor@gmail.com wrote: I was splitting the file from http://download.geofabrik.de/osm/north-america/us-west.osm.pbf and got the following error a couple times: Exception in thread worker-0 java.lang.StringIndexOutOfBoundsException: String index out

Re: [mkgmap-dev] Index branch - Umlaut problem

2011-02-16 Thread Chris66
Am 16.02.2011 14:01, schrieb Henning Scholland: How can I find the node with the typing error (Bundesrepubblik Deutschalnd) ? You can search with taginfo.openstreetmap.de. I found them and will fix them. Thanks for fixing. No I have to find out how to eliminate region 'Berlin'. ;) Chris

Re: [mkgmap-dev] java.lang.IllegalArgumentException

2011-02-16 Thread Thorsten Kukuk
On Wed, Feb 16, Thorsten Kukuk wrote: Hi, with the mkgmap sr1846 I see now this java exception: Exception in thread main java.lang.IllegalArgumentException at java.nio.ByteBuffer.allocate(ByteBuffer.java:311) at uk.me.parabola.imgfmt.sys.Directory.sync(Directory.java:176)

Re: [mkgmap-dev] Index branch - Umlaut problem

2011-02-16 Thread Chris66
Am 16.02.2011 17:22, schrieb Chris66: No I have to find out how to eliminate region 'Berlin'. ;) Node 262130957 fixed. Chris ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Index branch: broken routing and sea generation

2011-02-16 Thread Chris66
Am 16.02.2011 18:07, schrieb Carlos Dávila: Any attempt to compile map of Spain with index branch results in a map with all tiles with coast flooded and broken routing. For Germany both is ok. I had to manually correct the coast in one flooded tile. I'm using the default style. My options:

Re: [mkgmap-dev] Generating sea

2011-02-16 Thread Josef Latt
Hi Wanmil, No findings? The screenshots show clearly the difference between the maps created with mkgpmap-r1625 (generating sea is good, except the ghost rivers) and newer mkgmap-versions (incl. -r1846). Greetings Josef Am 10.02.2011 19:17, schrieb Josef Latt: Hi Wanmil, Did you download

Re: [mkgmap-dev] Patch: Add Ireland to LocatorConfig.xml

2011-02-16 Thread WanMil
I have applied your patch and added a very long list of other countries from the english wikipedia. It can be used as a starting point for patches to this file. WanMil It would be great if somebody could add the following patch to improve the address support in Ireland: Index:

Re: [mkgmap-dev] Address search and index.

2011-02-16 Thread WanMil
It should be easier to maintain than the coastline data because the political (or adminstration??) bounding polygons should obey certain rules that could be checked automatically. Can you give an example? I don't see why it should be easier than coastline checking. 1) A bounding polygon

Re: [mkgmap-dev] --make-cycleways labels invisible

2011-02-16 Thread Jeroen Muris
Op 16-2-2011 15:46, Felix Hartmann schreef: On 16.02.2011 15:19, Minko wrote: Can you give an example how this can be done in the style file: A street with oneway=yes cycleway=opposite -If the navigation is set to cars, routing is only possible in one way -If navigation is set to bicycle,

Re: [mkgmap-dev] Multipolygon problem

2011-02-16 Thread Torsten Leistikow
WanMil schrieb am 08.01.2011 11:44: I have attached that patch to limit polygon creation to closed ways. It's untested and I assume there are some unwanted effects at tile borders. Please check and if you (and others) find it usefull it can be committed. Did anybody else try this patch? I

Re: [mkgmap-dev] Patch: Add Ireland to LocatorConfig.xml

2011-02-16 Thread Clinton Gladstone
On Feb 16, 2011, at 14:20, Henning Scholland wrote: I think it would be better, if this file would be external, so every user could edit this file. If you place LocatorConfig.xml in a sub-directory called resources in the same directory where you process the osm files (i.e., the directory

Re: [mkgmap-dev] --make-cycleways labels invisible

2011-02-16 Thread Valentijn Sessink
Op 16-02-11 15:46, Felix Hartmann schreef: highway=* oneway=yes cycleway=opposite {set oneway=-1; set access=no; set bicycle=yes} [0x?? road_speed=? road_class=? continue] What about the other oneway options? I.e. oneway could be 1, yes, -1 (and no, but that probably doesn't matter) as valid

Re: [mkgmap-dev] --make-cycleways labels invisible

2011-02-16 Thread Felix Hartmann
On 16.02.2011 21:50, Minko wrote: Thanks Felix, But how about situations with highway=* oneway=-1? Does this work too? highway=* oneway=-1 cycleway=opposite {set oneway=yes; set access=no; set bicycle=yes} Yes of course. That's what you need to do (assuming that cycleway=opposite

Re: [mkgmap-dev] Patch: Add Ireland to LocatorConfig.xml

2011-02-16 Thread Felix Hartmann
With 1860 everything seems to be assigned crazy for me. When compiling Austria from Geofabrik, and even setting the country name/abbrevation via commandline, Vienna ends up in Czech Rebublic, lotta cities in Germany and so on. Is there a problem with Umlauts? I have found very few cities in

[mkgmap-dev] search and address test (index-r1860)

2011-02-16 Thread maning sambale
Hi, Some test results using the index-r1860 for the Philippines using nuvi 1310. 1. Select country now has one option for the Philippines 2. Search by address by street name works. You can use both Spell City and Search All . One quirk, I noticed is that a street is assigned to a single