Hi,
I would like to integrate graticules in my rendering.

My first thought was to use shape files available on naturalearthdata
(http://www.naturalearthdata.com/downloads/110m-physical-vectors/) 

So I downloaded the files into world_boundaries directory , add a style
and a layer in layer-shapefiles.xml.inc file:

<Style name="graticules">
    <Rule>
      <LineSymbolizer>
        <CssParameter name="stroke">green</CssParameter>
        <CssParameter name="stroke-width">2</CssParameter>
      </LineSymbolizer>
    </Rule>
</Style>

<Layer name="graticules4" status="on" srs="&srs4326;">
    <StyleName>graticules</StyleName>
    <Datasource>
      <Parameter name="type">shape</Parameter>
      <Parameter 
name="file">&world_boundaries;/110m_graticules_1.shp</Parameter>
       <Parameter name="encoding">latin1</Parameter>
    </Datasource>
</Layer>


The rendering is strange : http://burnosland.com/PERSO/BXN/mapnik/image.png 

Other rendering such as coastlines work correctly.

So I am wondering if the shape parameters are incorrect (srs and/or encoding) 
or may
be mapnik configuration ?

Philippe
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to