These are the two docs from the OGC site that I've been looking at - they aren't exactly brief. Someone may know a more succinct summary
http://portal.opengeospatial.org/files/?artifact_id=13227 http://portal.opengeospatial.org/files/?artifact_id=13228 >From my playing - I think if everything is in a single projection then you need do little more than stick the string in as: POLYGON (( 100000 100000, 200000 500000,500000 500000,500000 200000, 100000 100000)) (Or LINESTRING etc - Other Geom types detaild in second of the 2 links) Best wishes James -----Original Message----- From: Chip Taylor [mailto:[EMAIL PROTECTED] Sent: 30 March 2006 19:09 To: [email protected] Subject: Re: [UMN_MAPSERVER-USERS] Defining a line from SQL server using OGR The x,y columns are doubles. Where can I learn about geometry in WKT format? Thanks for all your help! Chip Chip, what are the types of your gpsLongitude columns? Are they array types of some kind? Or perhaps you are hoping that OGR will collect all the rows, and make it into a single linestring features? Basically, this is not supported. If you could do something in the database to prepare an appropriate line geometry in WKT format, you could use the WKT column support in VRT. Best regards, -- ---------------------------------------+-------------------------------- ---- -- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | President OSGF, http://osgeo.org
