[mapserver-users] GPX format supported?

bean at warbaby.com bean at warbaby.com
Tue Jan 13 13:21:03 PST 2009


Hi Steve,

Thanks for the rapid reply. I have removed the layers one by one. 
They all parse right but this GPX layer.
Curiously if I remove the class statement (including the first end 
statement) I get no parse errors but the layer fails to render.

Still puzzled,
bean

>Bean,
>
>You probably have some other layer that does not have the block ... 
>ENDs match up correctly. Try making a mapfile with just the single 
>layer below and see if that works, then add another layer and test 
>it, and so on until it breaks. Also check the all quoted strings are 
>properly terminated.
>
>No magic here, just take it layer by layer until you find the problem.
>
>-Steve W

>>LAYER
>>   NAME 'GPS'
>>   TYPE POINT
>>   CONNECTIONTYPE OGR
>>   CONNECTION 
>>'/Applications/MAMP/d/DATA/NonGrassFiles/GPX/gpsbabel_output.gpx'
>>   DATA 'waypoints'
>>   STATUS ON
>>   DEBUG 5
>>   CLASS
>>     STYLE
>>       SYMBOL 'CIRCLE'
>>       SIZE 3
>>        OUTLINECOLOR 0 0 0
>>        COLOR 106 7 182
>>     END
>>   END
END



More information about the MapServer-users mailing list