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

Daniel Morissette dmorissette at mapgears.com
Wed Jun 7 16:44:18 EDT 2006


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/



More information about the Gdal-dev mailing list