thank you I think I need one more clarification. Doesn't "field" have same meaning with column ? or what does "field" correspond to in sql jargon ?
I will appreciate if you make me clear 2010/8/24 Frank Warmerdam <[email protected]>: > ahmet temiz wrote: >> >> hello >> >> I can create spatial column. But I don't know how I can create >> nonspatial column with ogr in gdal-java. >> >> something like column "name" and its value "xxxx" >> > > Ahmet, > > I believe you are looking for the CreateField() method on the OGR Layer > class. Note that it does not provide a mechanism to populate the new > column with a particular value for pre-existing features. > > > http://www.gdal.org/java/org/gdal/ogr/Layer.html#CreateField%28org.gdal.ogr.FieldDefn,%20int%29 > > > Best regards, > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, > [email protected] > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
