[Tilesathome] No rendering of power_source=wind

Rodolphe Quiedeville rodolphe at quiedeville.org
Wed Jan 28 17:27:46 GMT 2009


Patrick Kilian a écrit on 28.01.2009 18:01:
> Hi,
> 
>>> Now we need rules that use this icon... ;-)
>> I tried to do it by myself, it doesn't work, I probably miss something,
>> I added this to the file osm-POI-features-z17.xml in approprieate section.
> Ok. the *-POI-* files are left over from the disused POI layer. Stuff
> that should be on the map has to go into osm-map-features-z*.xml
> 
> 
>> <rule e="node" k="power" v="generator">
>>   <rule e="node" k="power_source" v="wind">
>>      <symbol xlink:href="#windpower" width='16px' height='16px'
>> transform='translate(-1,-1)' />
>>   </rule>
>> </rule>
> Without having checked the following rule should work:
> <rule e="node" k="power" v="generator">
>     <rule e="node" k="power_source" v="wind">
>         <symbol ref="windpower" position="center"/>
>     </rule>
> </rule>

Great It works !
OSM is definetely a great project.


-- 
Rodolphe Quiédeville - Artisan Logiciel Libre
http://rodolphe.quiedeville.org/
Travaillons Libre - http://fr.lolix.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20090128/1029e65e/attachment.pgp>


More information about the Tilesathome mailing list