[mkgmap-dev] exclude words from city / state

2011-05-19 Thread Felix Hartmann
Using the locator branch, I noticed that many cities in Austria are not findable anymore. The problem is that there are words like "Gemeinde Mödling" or "Bezirk Mödling" or "county XYZ". There should be a list where one can enter words that get deleted. That is because for the boundary it is the

Re: [mkgmap-dev] exclude words from city / state

2011-05-22 Thread WanMil
> Using the locator branch, I noticed that many cities in Austria are not > findable anymore. The problem is that there are words like "Gemeinde > Mödling" or "Bezirk Mödling" or "county XYZ". There should be a list > where one can enter words that get deleted. > That is because for the boundary it

Re: [mkgmap-dev] exclude words from city / state

2011-05-22 Thread Felix Hartmann
On 22.05.2011 20:47, WanMil wrote: >> Using the locator branch, I noticed that many cities in Austria are not >> findable anymore. The problem is that there are words like "Gemeinde >> Mödling" or "Bezirk Mödling" or "county XYZ". There should be a list >> where one can enter words that get delet

Re: [mkgmap-dev] exclude words from city / state

2011-05-22 Thread WanMil
>>> Using the locator branch, I noticed that many cities in Austria are not >>> findable anymore. The problem is that there are words like "Gemeinde >>> Mödling" or "Bezirk Mödling" or "county XYZ". There should be a list >>> where one can enter words that get deleted. >>> That is because for the b

Re: [mkgmap-dev] exclude words from city / state

2011-07-17 Thread navmaps
I noticed that level 8 boundaries in Germany use the name of the city, and that lavel 8 boundaries in Austria always have the prefix 'Gemeinde' in the name before the name of the city. That prefix is in my opinion obsolete information. Using a Garmin one always needs to type this prefix 'Gemein

Re: [mkgmap-dev] exclude words from city / state

2011-07-23 Thread WanMil
Hi, the style system provides a substitution filter which can remove the 'Gemeinde' prefix: The following rule from the locator branch is expanded with "|subst:Gemeinde ": mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde }' }

Re: [mkgmap-dev] exclude words from city / state

2011-07-30 Thread navmaps
Thanks, works great! I have no ideas yet to further improve the filter function. On Sat, 23 Jul 2011 14:14:43 +0200, WanMil wrote: > Hi, > > the style system provides a substitution filter which can remove the > 'Gemeinde' prefix: > > The following rule from the locator branch is expanded with >

Re: [mkgmap-dev] exclude words from city / state

2011-12-06 Thread toc-rox
How is it possible to substitute more than one word ? I have something like this as names in "admin_level=8": "Gemeinde Spalt" "Gemeinde Maxdorf" "Stadt Linz am Rhein" "Stadt Rodgau" I want to replace "Gemeinde " and "Stadt " with nothing. How is it possible to combine: mkgmap:country=DEU & mkgma

Re: [mkgmap-dev] exclude words from city / state

2011-12-06 Thread Jaakko Helleranta.com
pment list for mkgmap Subject: Re: [mkgmap-dev] exclude words from city / state Sent: Dec 6, 2011 10:22 How is it possible to substitute more than one word ? I have something like this as names in "admin_level=8": "Gemeinde Spalt" "Gemeinde Maxdorf" "Stadt Lin

Re: [mkgmap-dev] exclude words from city / state

2011-12-06 Thread Marko Mäkelä
On Tue, Dec 06, 2011 at 04:36:15PM +, Jaakko Helleranta.com wrote: >Add >short_name / short_name:[lang] >to data as need and use them if they are available and >name / name:[lang] if not? There is also official_name. They are not being used consistently, but I guess that a step to the right d

Re: [mkgmap-dev] exclude words from city / state

2011-12-07 Thread Thorsten Kukuk
On Tue, Dec 06, toc-rox wrote: > How is it possible to substitute more than one word ? > > I have something like this as names in "admin_level=8": > "Gemeinde Spalt" > "Gemeinde Maxdorf" > "Stadt Linz am Rhein" > "Stadt Rodgau" > > I want to replace "Gemeinde " and "Stadt " with nothing. > How i

Re: [mkgmap-dev] exclude words from city / state

2011-12-08 Thread Steve Ratcliffe
On 06/12/11 15:22, toc-rox wrote: > I want to replace "Gemeinde " and "Stadt " with nothing. > How is it possible to combine: > mkgmap:country=DEU& mkgmap:city!=*& mkgmap:admin_level8=* { set > mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde }' } > and > mkgmap:country=DEU& mkgmap:city!=*& mk

Re: [mkgmap-dev] exclude words from city / state

2011-12-08 Thread Thorsten Kukuk
On Thu, Dec 08, Steve Ratcliffe wrote: > On 06/12/11 15:22, toc-rox wrote: > > I want to replace "Gemeinde " and "Stadt " with nothing. > > How is it possible to combine: > > mkgmap:country=DEU& mkgmap:city!=*& mkgmap:admin_level8=* { set > > mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde }'

Re: [mkgmap-dev] exclude words from city / state

2011-12-08 Thread WanMil
> On 06/12/11 15:22, toc-rox wrote: >> I want to replace "Gemeinde " and "Stadt " with nothing. >> How is it possible to combine: >> mkgmap:country=DEU& mkgmap:city!=*& mkgmap:admin_level8=* { set >> mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde }' } >> and >> mkgmap:country=DEU& mkgmap:c

Re: [mkgmap-dev] exclude words from city / state

2011-12-09 Thread toc-rox
The following suggestions are tested and are working fine: 1. (Thorsten) mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level8~'Gemeinde.*' { set mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde }' } mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level8~'Stadt.*' { set mkgmap:city='${mkg

Re: [mkgmap-dev] exclude words from city / state

2011-12-09 Thread Marko Mäkelä
On Fri, Dec 09, 2011 at 06:29:37AM -0800, toc-rox wrote: >The following suggestions are tested and are working fine: > >1. (Thorsten) >mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level8~'Gemeinde.*' { set >mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde }' } >mkgmap:country=DEU & mkgmap:ci

Re: [mkgmap-dev] exclude words from city / state

2011-12-10 Thread Minko
What happens if a city name is like Halberstadt? Will it be filtered into Halber? ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] exclude words from city / state

2011-12-10 Thread Henning Scholland
I don't think so because the searchstring is "Stadt ". But I'm not sure if there are other false positives so I think it would be better to fix these things in osm-data with name:prefix. Henning ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.

Re: [mkgmap-dev] exclude words from city / state

2011-12-10 Thread Minko
Perhaps Neustadt an der ? Or is it case sensitive? Henning wrote: >But I'm not sure if there are other false positives so I think it would be >better to fix these things in osm-data with name:prefix. Henning ___ mkgmap-dev mailing list mkgmap-de

Re: [mkgmap-dev] exclude words from city / state

2011-12-10 Thread Marko Mäkelä
On Sat, Dec 10, 2011 at 11:05:32AM +0100, Henning Scholland wrote: >I don't think so because the searchstring is "Stadt ". But I'm not sure >if there are other false positives so I think it would be better to fix >these things in osm-data with name:prefix. You hopefully mean short_name and short

Re: [mkgmap-dev] exclude words from city / state

2011-12-10 Thread Thorsten Kukuk
On Sat, Dec 10, Minko wrote: > Perhaps Neustadt an der ? Or is it case sensitive? I guess it is case sensitive, Neustadt an der ... and Halberstadt are still available. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuer

Re: [mkgmap-dev] exclude words from city / state

2011-12-10 Thread Henning Scholland
No, I think in Germany we are using for "Stadt Erfurt" name=Erfurt name:prefix=Stadt. Henning Am 10.12.2011 12:55, schrieb Marko Mäkelä: On Sat, Dec 10, 2011 at 11:05:32AM +0100, Henning Scholland wrote: I don't think so because the searchstring is "Stadt ". But I'm not sure if there are other

Re: [mkgmap-dev] exclude words from city / state

2011-12-10 Thread toc-rox
Here some stats: Germany, admin_level 8, name prefix: "Gemeinde " = 658x (!) "Stadt " = 67 Austria, admin_level 8, name prefix: "Gemeinde " = 1925x (!) My recommendation: - "Gemeinde " should be removed by default for germany and austria - "Stadt " should be corrected by the mappers Klaus --