[OSM-talk] osm.xml, Filter, what tags are available?

2009-04-29 Thread Torsten Mohr
Hello,

looking into osm.xml i see Rules with Filters like:

Filter[tourism] = 'attraction'/Filter

How can i find out what tags (right wording?  I mean keywords like 'tourism')
are available?  What values could they have?

Background is that i want to write an own Rule (with Filter) for country
names, i want to highlight a country and render a map, so i want to
make other countries a bit darker so i can still see them but see the
borders of the highlighted country clearly.

So i guess the tags i want to filter are in world_borders.  Under what
tag are country names stored?

Does that make sense?  Is it clear what i want to do?

It would be great if anybody got a hint on this.


Best regards,
Torsten.



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] osm.xml, Filter, what tags are available?

2009-04-29 Thread Torsten Mohr
Hi,

i just found out using a hex editor that the rule i need is:

Filter[CNTRY_NAME] = 'Germany'/Filter


It would be great to know if there is another way than using a hex editor,
has anybody got a hint?


Best regards,
Torsten.


Am Mittwoch, 29. April 2009 21:22:34 schrieb Torsten Mohr:
 Hello,

 looking into osm.xml i see Rules with Filters like:

 Filter[tourism] = 'attraction'/Filter

 How can i find out what tags (right wording?  I mean keywords like
 'tourism') are available?  What values could they have?

 Background is that i want to write an own Rule (with Filter) for country
 names, i want to highlight a country and render a map, so i want to
 make other countries a bit darker so i can still see them but see the
 borders of the highlighted country clearly.

 So i guess the tags i want to filter are in world_borders.  Under what
 tag are country names stored?

 Does that make sense?  Is it clear what i want to do?

 It would be great if anybody got a hint on this.


 Best regards,
 Torsten.



 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] osm.xml, Filter, what tags are available?

2009-04-29 Thread Iván Sánchez Ortega
El Miércoles, 29 de Abril de 2009, Torsten Mohr escribió:
 looking into osm.xml i see Rules with Filters like:

 Filter[tourism] = 'attraction'/Filter

I suppose you're talking about the mapnik stylesheets.

 How can i find out what tags (right wording?  I mean keywords like
 'tourism') are available?  What values could they have?

Anything that is in the data backend specified in the mapnik XML config file. 
That would be columns in the PostGIS DB (for OSM data), or data in the 
shapefiles (for the world boundaries).

You can either run osm2pgsql with different parameters, or replace the world 
boundaries shapefiles with your own, or some other solution.


Cheers,
-- 
--
Iván Sánchez Ortega i...@sanchezortega.es

If everything seems under control, you're just not going fast enough.
 - Mario Andretti


signature.asc
Description: This is a digitally signed message part.
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk