Hi Luca,

2009/1/13 Luca Delucchi <[email protected]>:
> Hi, i'm a newbye about mapnik, i would draw the streets with inside
> their name; i use this code but i haven't the expected result

Your <Rule> looks OK to me. Are you sure you're getting attribute
'name' from your <Datasource>?
Artem

>
> <Rule>
>     <Filter>([highway] = 'unclassified' or [highway] = 'tertiary' or
> [highway] = 'service' or [highway] = 'residential') and not ([tunnel]
> = 'yes' or [tunnel] = 'true' or [tunnel] = '1')</Filter>
>      <LineSymbolizer>
>        <CssParameter name="stroke">#FFFFFF</CssParameter>
>        <CssParameter name="stroke-width">6</CssParameter>
>        <CssParameter name="stroke-linejoin">round</CssParameter>
>      </LineSymbolizer>
>      <TextSymbolizer name="name" face_name="DejaVu Sans Book"
> size="6" fill="black" halo_radius="1" label_placement="line"
> allow_overlap="false"/>
> </Rule>
>
> thank's
> Luca
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to