ogr2og2

Posted

Copy ESRI Filegeodatabase featureclass to Shapefile with Selection from Attributes and for selected Attribute columns only using GDAL ogr2ogr

ogr2ogr -sql "SELECT * FROM IN_LAYER WHERE ATTRIBUTE_X IN ('Value1', 'Value2')" -select ATTRIBUTE_X, ATTRIBUTE_Y output.shp input.gdb IN_LAYER

Author
Categories gdal, GIS