[Gdal-dev] VRT to turn multiple points into a polyline

Tamas Szekeres szekerest at gmail.com
Wed Jun 7 18:22:06 EDT 2006


I would suggest to create a LINESTRING WKT inside the query a read that
layer as with WKT geometry field.

Best Regards,

Tamas 

-----Original Message-----
From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Daniel Morissette
Sent: Wednesday, June 07, 2006 10:44 PM
To: gdal-dev
Subject: [Gdal-dev] VRT to turn multiple points into a polyline

Let's say I have a flat database table with an X and a Y column, it is 
easy to create a OGR-VRT data source to return the records as points.

Is there a way using the VRT driver to return a set of records with X,Y 
columns as a single LineString instead of multiple points?

The reason why I'm asking is that I have an Oracle database with X, Y, 
and TIMESTAMP columns, and I would like to use a SQL query in a VRT to 
select multiple points over a period of time and return them as a track 
(a LineString) instead of individual points for use in MapServer.

Does anyone know of a way to do that?

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/
_______________________________________________
Gdal-dev mailing list
Gdal-dev at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/gdal-dev

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/358 - Release Date: 2006.06.07.
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/358 - Release Date: 2006.06.07.
 




More information about the Gdal-dev mailing list