[Gdal-dev] GML generation

Jørn Vegard Røsnes jorn at spacetec.no
Tue Jan 24 04:41:18 EST 2006


Ah,

my scripts was wrong
I used 
ogr2ogr -f GML pipelines.gml pipelines pipelines.vrt

should be 
ogr2ogr -f GML pipelines.gml pipelines.vrt

just as Frank said.

cheers
Jorn

On Monday 23 January 2006 16:15, Frank Warmerdam wrote:
> On 1/23/06, Jørn Vegard Røsnes <jorn at spacetec.no> wrote:
> > Hi all,
> >
> > can ogr2ogr be used to convert CSV to GML?
>
> Jørn,
>
> Yes, something like:
>
>    ogr2ogr -f GML pcs.gml ~/gdal/data/pcs.csv
>
> If you have geometry in your csv file, you will have to do
> the normal things to make it useful to OGR.  (VRT file, etc).
>
> Best regards,
> --
>
> ---------------------------------------+-----------------------------------
>--- I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com light and sound - activate the windows |
> http://pobox.com/~warmerdam and watch the world go round - Rush    |
> Geospatial Programmer for Rent



More information about the Gdal-dev mailing list