[gdal-dev] Asking about feature field types of Shape File (SHP) ?

2014-06-04 Thread taibc
Hi everyone, I created the shape file by usinge the feature filed type: OFTInteger. But when I open the file in Arcgis (ArcCatalog) the data type is: Double (not integer). Do you know how to fix this (I want it is Int) ? Thanks and regards, Tai -- View this message in context: http://osgeo

Re: [gdal-dev] Convert raster into points with GDAL?

2014-06-04 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > > Hi Jukka, > > At least two ways of turning a raster into a grid of poinds : > > * gdal2ogr mentionned in http://trac.osgeo.org/gdal/wiki/CodeSnippets. You need > to compile it from source. > > * Otherwise http://svn.osgeo.org/gdal/trunk/gdal/swig/pyth

[gdal-dev] Behavior of Polygonize function (JAVA bindings to GDAL)

2014-06-04 Thread Mateusz Wodzikowski
Hello, I just discovered strange behavior of Polygonize function in JAVA bindings to GDAL. The function do not create the attribute in which the value of raster is stored as it is described in http://www.gdal.org/gdal_polygonize.html . After performing the function on a raster GeoTIFF file the it

Re: [gdal-dev] AOI, Signature and Fourier Transform files' access?

2014-06-04 Thread Ivan Lucena
Hi Ramesh, Are those files real raster images or auxiliary information, companion of .img files? Can you point to a website that describe those files? There is nothing on [http://www.gdal.org/frmt_hfa.html] that says the HFA driver reads it. Assuming that those are auxiliary information, woul

Re: [gdal-dev] Convert raster into points with GDAL?

2014-06-04 Thread Joaquim Luis
On 04-06-2014 13:33, Hernán De Angelis wrote: One option is exporting to NetCDF format and running GMT's grd2xy (http://gmt.soest.hawaii.edu/doc/latest/grd2xyz.html). If the raster is big this will be slow though. If GMT was built with the GDAL link (nearly all the GMT5's and many of the GMT4

Re: [gdal-dev] Convert raster into points with GDAL?

2014-06-04 Thread Hernán De Angelis
One option is exporting to NetCDF format and running GMT's grd2xy ( http://gmt.soest.hawaii.edu/doc/latest/grd2xyz.html). If the raster is big this will be slow though. H. On Wed, Jun 4, 2014 at 1:00 PM, Jukka Rahkonen wrote: > Hi, > > Is there a tool for converting rasters into vector grids,

Re: [gdal-dev] Convert raster into points with GDAL?

2014-06-04 Thread Even Rouault
Hi Jukka, At least two ways of turning a raster into a grid of poinds : * gdal2ogr mentionned in http://trac.osgeo.org/gdal/wiki/CodeSnippets. You need to compile it from source. * Otherwise http://svn.osgeo.org/gdal/trunk/gdal/swig/python/scripts/gdal2xyz.py . With the -csv option, it will crea

[gdal-dev] Convert raster into points with GDAL?

2014-06-04 Thread Jukka Rahkonen
Hi, Is there a tool for converting rasters into vector grids, either points or polygons? I know gdal_polygonize but what I am after would just create a regular grid of points or polygons and write raster values into attributes. I can do that with SEXTANTE vectorization tools but I would rather use