[gdal-dev] Select a geometry attribute from multiple geometry
input?
Stefan Keller
sfkeller at gmail.com
Wed Jan 30 19:11:26 EST 2008
> -dsco (DataSource Creation Option) applies only when creating a
datasource,
Oh, sorry.
You say via an environment/config variable.
Why not also use "... -dsro GeometryField=fieldname" (dsro= DataSource
Reading Option)?
-- Stefan
2008/1/30, Frank Warmerdam <warmerdam at pobox.com>:
>
> Stefan Keller wrote:
> > Frank,
> >
> > I can imagine that adding multiple geometries to OGR would touch some
> > core components.
> >
> > > The OGR data model assumes at most one geometry per feature.
> >
> > I assumed that. My proposal rather would be, that users have at least a
> > choice which geometry the input driver takes. This would restrict the
> > solution to the input drivers (GML, Interlis 1, Interlis 2, others?). I
> > would simply add a (common) format specific option (e.g. -dsco
> > GeometryField=fieldname). What do you think?
>
> Stefan,
>
> -dsco (DataSource Creation Option) applies only when creating a
> datasource,
> not when opening an existing datasource for read access.
>
> In theory it could be supported via an environment/config variable, or
> perhaps encoded into the datasource name in some funky way.
>
> 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 | President OSGeo, http://osgeo.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080131/5228bcf8/attachment-0001.html
More information about the gdal-dev
mailing list