Quantcast
Channel: Question and Answer » gdal
Viewing all articles
Browse latest Browse all 397

Adding a column to several feature classes in a file gdb using ogr2ogr

$
0
0

I’m trying to add the same column to 25 feature classes in an ESRI FileGDB. I managed to do this for one feature class by using ogr2ogr:

ogrinfo C:temptest.gdb -sql “ALTER TABLE table01 ADD COLUMN myfield integer”

Now I wonder if there is a way to do this for all feature classes by substituting “table01″ with some kind of wildcard?

Thanks for support!


Viewing all articles
Browse latest Browse all 397

Trending Articles