Re: [gdal-dev] Adding Features to Existing PostIGIS Table with Python OGR/GDAL?

2019-11-25 Thread Gerard
x27; user='user'", update=1) # . trackslayer = ds.CreateLayer(table, srs, ogr.wkbMultiLineString, ['OVERWRITE=NO'] ) However, this seems to work fine: trackslayer = ds.GetLayerByName('tracks') tracksdef = trackslayer.GetLayerDefn() outFeature = ogr.Feature(tracksdef) outF

[gdal-dev] Adding Features to Existing PostIGIS Table with Python OGR/GDAL?

2019-11-25 Thread Gerard
es using psycopg2 (or SQLAlchemy) instead. Just wondering if it's directly possible using Python OGR/GDAL. Thanks, Gerard ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GPX metadata records?

2019-11-14 Thread Gerard
Ah -- thanks for clarifying. GMLAS with some regexp worked to parse the GPX metadata block. Would be interested in seeing metadata block implemented in the GPX driver. I imagine it's on some feature request/TODO. Thanks, Gerard On Tue, Nov 12, 2019 at 4:01 PM Even Rouault wrote: > On

Re: [gdal-dev] GPX metadata records?

2019-11-12 Thread Gerard
Thanks! I don't think I knew that I could preface the source with DRIVER:. Perhaps a suggestion for the documentation: <[DRIVER:]datasource_name> https://gdal.org/programs/ogrinfo.html Gerard On Tue, Nov 12, 2019 at 12:24 PM Even Rouault wrote: > On mardi 12 novembre 201

[gdal-dev] GPX metadata records?

2019-11-12 Thread Gerard
xsd:string xsd:string personType copyrightType linkType xsd:dateTime xsd:string boundsType extensionsType ... Thanks, Gerard ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.os