[gdal-dev] changing data type of a shapefile

2011-06-15 Thread ahmet temiz
hello how can I change data type of a shapefile by ogr2ogr ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535

Re: [gdal-dev] changing data type of a shapefile

2011-06-15 Thread Chaitanya kumar CH
Ahmet, You can use OGR SQL [1] to typecast fields and other stuff. You can use ogr2ogr [2] with the -sql option and supply the sql statement. [1]: http://trac.osgeo.org/gdal/wiki/rfc21_ogrsqlcast [2]: http://www.gdal.org/ogr2ogr.html 2011/6/15 ahmet temiz ahmettemi...@gmail.com hello how

Re: [gdal-dev] changing data type of a shapefile

2011-06-15 Thread Eli Adam
Ahmet, You can also change geometry type, it is also an option with ogr2ogr [2], -nlt. I've only used -nlt to promote to multi-geometry. Eli On 6/15/2011 at 7:27 AM, in message BANLkTik8UghqaRv8E-pES6OSv-+e=a3...@mail.gmail.com, Chaitanya kumar CH chaitanya...@gmail.com wrote: Ahmet,