Hello Dane,

> I see a few simple problems and a few less so.
>
> First, your gpx sample files only have a 'wayoints' layer so you need
> to symbolize them with a PointSymbolizer. Currently you are using a
> LineSymbolizer on point data which won't show anything, so try
> something like this for your gpx styles and layer:

Thanks for that, that was not clear to me before.  I thought i could intermix
as i'd like.

> <Style name="qwepoint">
>      <Rule>
>        <PointSymbolizer allow_overlap="true"/>
>      </Rule>
> </Style>
>
> <Layer name="waypoints" status="on" srs="+init=epsg:4326">
>      <StyleName>qwepoint</StyleName>
>      <Datasource>
>        <Parameter name="type">ogr</Parameter>
>        <Parameter name="file">test.gpx</Parameter>
>        <Parameter name="layer">waypoints</Parameter>
>      </Datasource>
> </Layer>
>
> Next, I recommend taking away all Min/Max scaledenominators so that
> this will not get in the way of your testing and you'll see the data
> at any scale.
>
> When I make these changes I get points placed on the map fine using
> nik2img.py:

Yes, i also see an output now with the waypoints represented as black dots.
Though i think that are not all waypoints in the file.

I can also generate a GPX file with a track instead of just waypoints and i
can see the track as a line.


Best regards,
Torsten.

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

Reply via email to