[gdal-dev] Converting a .bin image

2010-06-30 Thread Pierre Racine
Hi, Someone gave me a .bin file. Apparently this is an image file that was created using ENVI. I don't have ENVI and there is no .hdr file. Anybody knows how to convert this to a more common format? gdalinfo says: ERROR 4: `gp_0.05_C5.1_2006.bin' not recognised as a supported file format. gda

RE: [gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-30 Thread Pierre Racine
>Now, going back to the WKT Raster. I have loaded Raster on PostGIS before >using TerraLib and I believe >there is a very large project called TerraAmazon using that combination. In >terms of query and >functionality I know that TerraLib also does raster/vector intersection too >but I am wonderi

RE: [gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-29 Thread Pierre Racine
>> wktraster makes it quite simple to achieve this. Is there any database >> layout you recommend. (A table for the image and one for each pyramid, or >> put all the tiles into one table having an attribute "level",.). >> > >I'd recommend one table for each separate tiled image. That's, in >fac

[gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-29 Thread Pierre Racine
e 2.0. Upcoming functions should include ST_Reclass, ST_Clip, ST_AsRaster, ST_Resample. Let us know your need and your experience with WKT Raster. Thanks, Pierre Racine ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] RE: [postgis-devel] Compiling PostGIS + GDAL + WKT Raster in Windows with MinGW

2010-06-01 Thread Pierre Racine
Try with GDAL 1.7.1 instead... this is the I could compile with (--without-libtool). >-Original Message- >From: postgis-devel-boun...@postgis.refractions.net [mailto:postgis-devel- >boun...@postgis.refractions.net] On Behalf Of Jorge Arévalo >Sent: 31 mai 2010 07:42 >To: gdal-dev@lists.os

RE: [gdal-dev] [WKTRaster] WKT Raster band to GDAL band

2010-03-08 Thread Pierre Racine
>4.- Add default geotransform to GDAL empty dataset: {0.0, 1.0, 0.0, 0.0, >0.0,1.0 }; (I can't get >geotransform from WKT Raster Band) Why? You can get all the parameters with (in order): rt_raster_get_x_offset(), rt_raster_get_pixel_width(), rt_raster_get_x_rotation(), rt_raster_get_y_offset()

RE: [gdal-dev] Question about gdal2wktraster

2009-07-13 Thread Pierre Racine
Jorge, 4267 should be the right CS (http://spatialreference.org/ref/epsg/4267/). however, the bounding box seems different also. You should compare what bounding box you get using your driver with "SELECT astext(extent) FROM raster_columns" in PostGIS... "SELECT astext(extent) FROM raster_colu