delete and replace is_in:country tags

How do I do this within the style file? For the points, I tried this one: *=* {delete is_in:country=disputed territory} place=* {add is_in:country=Philippines} But I keep getting "disputed territory" for all my search results (POI and streets) I also get "Indonesia" in some streets Is this related to the location-autofill=1 switch? -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

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 you want to be more selective you could do: is_in:country='disputed territory' {delete is_in:country} or.. place=* {add is_in:country=Philippines} The --country-name=Philippines and --country-abbr=PL options should be used with mkgmap to set the default country too. ..Steve

Thanks! Now I have two countries to choose from Philippines and PHI. Better that the last one. On Wed, Feb 16, 2011 at 4:33 PM, Steve Ratcliffe <steve@parabola.me.uk> wrote:
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 you want to be more selective you could do:
is_in:country='disputed territory' {delete is_in:country} or.. place=* {add is_in:country=Philippines}
The --country-name=Philippines and --country-abbr=PL options should be used with mkgmap to set the default country too.
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

Thanks. Just to correct my last message, ISO shortname should be PHL On Wed, Feb 16, 2011 at 6:25 PM, Steve Ratcliffe <steve@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 adding the Philippines to the LocatorConfig file so you should have only one to choose from once it is checked in.
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------
participants (2)
-
maning sambale
-
Steve Ratcliffe