Torsten,

I try to render a track that i captured with my GPS data logger yesterday.
The data logger is a Columbus V-900 and it captures a CSV file.


The OGR driver may be able to read directly from the csv: 
http://www.gdal.org/ogr/drv_csv.html


Now i extended osm.xml to render the track in /local/mapnik/track.gpx:


<Style name="qwetrack">
   <Rule>
     <MaxScaleDenominator>5000000000</MaxScaleDenominator>
<PointSymbolizer file= "/local/mapnik/symbols/point.png" type="png"
width="16" height="16" />
   </Rule>
</Style>


Are you sure the data are points not lines?
Maybe you should stick a LineSymbolizer in there just to be safe?



<Layer name="track" status="on" srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgri...@null
+no_defs +over">
   <StyleName>qwetrack</StyleName>
   <Datasource>
     <Parameter name="type">ogr</Parameter>
     <Parameter name="file">/local/mapnik/track.gpx</Parameter>
   </Datasource>
</Layer>


This *should* be throwing an error because you have not provided a 'layer' parameter for the OGR plugin.

See: http://trac.mapnik.org/wiki/OGR#Usage


But i don't get no error

That is surprising.

and i don't see the track.

That is not! :)

Maybe you should try getting the ogr driver working with some sample GPX data first that you know is valid, then try again with your converted csv?

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

Reply via email to