Le jeudi 21 mai 2015 15:14:46, jramm a écrit : > That sounds great. Does this driver allow you to only write the dbf file > (and not the shp/shx etc files?)
Yes, if you create a layer with a None geometry type, no .shp,.shx will be created. > > I can't find much on the docs for doing that: > http://www.gdal.org/drv_shapefile.html > > I'll have a look through the header files... Basically follow http://gdal.org/1.11/ogr/ogr_apitut.html "Writing to OGR" and ignore what is related to geometries and pass wkbNone instead of wkbPoint when calling CreateLayer() > > On 20 May 2015 at 15:38, Even Rouault-2 [via OSGeo.org] < > > [email protected]> wrote: > > Le mercredi 20 mai 2015 15:57:38, jramm a écrit : > > > Does GDAL have any support for writing ESRI-style raster attribute > > > > tables? > > > > > These are the .vat.dbf files that often accompany geotiffs and other > > > formats.... > > > > I wasn't particularly aware of those sidecar files, but looking a bit I > > found > > one sample at https://dl.vecnet.org/files/j67313813 > > > > It seems it is a standard .DBF file, so you can read/write it with the > > OGR Shapefile driver. > > > > Even > > > > -- > > Spatialys - Geospatial professional services > > http://www.spatialys.com > > _______________________________________________ > > gdal-dev mailing list > > [hidden email] <http:///user/SendEmail.jtp?type=node&node=5206664&i=0> > > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > > > ------------------------------ > > > > If you reply to this email, your message will be added to the discussion > > > > below: > > > > http://osgeo-org.1560.x6.nabble.com/Raster-attribute-tables-in-GDAL-tp520 > > 6653p5206664.html > > > > To unsubscribe from Raster attribute tables in GDAL?, click here > > > > <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsub > > scribe_by_code&node=5206653&code=amFtZXNzcmFtbUBnbWFpbC5jb218NTIwNjY1M3wy > > MTIyMDM1OTQ5> . > > NAML > > <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro > > _viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces > > .BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web. > > template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.na > > ml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aema > > il.naml> > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Raster-attribute-tables-in-GDAL-tp5206 > 653p5206907.html Sent from the GDAL - Dev mailing list archive at > Nabble.com. -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
