[mapserver-users] GPX format supported?

Fawcett, David David.Fawcett at state.mn.us
Wed Jan 14 06:43:27 PST 2009


Bean, 
 
Can you post your gpx file (or a sample file that demonstrates the
problem)?
 
David.

	-----Original Message-----
	From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of
bean at warbaby.com
	Sent: Tuesday, January 13, 2009 6:20 PM
	To: mapserver-users at lists.osgeo.org
	Subject: [mapserver-users] GPX format supported?
	
	
	Hi Jeff,

	Thanks for the reply. I ran ogrinfo on both "waypoints" and
"track_points". "waypoints" returns 147 entries and "track_points"
returns 0 entries (there are no tracks recorded in my GPS unit at this
point, just trying to keep it simple for now). This is returned from a
Garmin eTrex Venture through gps babel.

	Thanks for entering the SVN.

	I am still puzzled about my mapfile layer however. It fails to
parse when CLASS is added and the layer fails to load when CLASS is
deleted. I feel sure my mapfile layer syntax is correct (although my
previous blooper with the errant END statement says I shouldn't be so
sure). Would you mind looking for obvious errors for the following?


		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

	Thanks,
	bean





		While testing gpx just now I realized that we don't have
a GPX page in the MapServer Vector Data Access doc, so I have added it
into SVN.
		
		In my testing I was forced to use the "track_points"
feature, as there was no actual data in the "waypoints" feature (you can
test this through ogrinfo).
		
		-jeff
		
		
		
		--
		Jeff McKenna
		FOSS4G Consulting and Training Services
		http://www.gatewaygeomatics.com/
		
		
		_______________________________________________
		mapserver-users mailing list
		mapserver-users at lists.osgeo.org
		http://lists.osgeo.org/mailman/listinfo/mapserver-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090114/36b1ae99/attachment.htm>


More information about the MapServer-users mailing list