Re: [postgis-devel] [gdal-dev] Question about gdal2wktraster

2009-07-14 Thread Jorge Arévalo
Hello, 2009/7/14 Jorge Arévalo : > Ok, here are the Corner coordinates of the utm.tif file (gdalinfo output): > > Corner Coordinates: > Upper Left  (  440720.000, 3751320.000) (117d38'28.21"W, 33d54'8.47"N) > Lower Left  (  440720.000, 3720600.000) (117d38'20.79"W, 33d37'31.04"N) > Upper Right (  

Re: [postgis-devel] [gdal-dev] Question about gdal2wktraster

2009-07-14 Thread Jorge Arévalo
Hello, On Tue, Jul 14, 2009 at 5:21 PM, Mateusz Loskot wrote: > Jorge Arévalo wrote: >> >> Hello, >> >> On Tue, Jul 14, 2009 at 3:28 PM, Mateusz Loskot wrote: > > I'd suggest to test datasets based on EPSG 4326 first. > After these work for you, then switch to projected ones.

Re: [postgis-devel] [gdal-dev] Question about gdal2wktraster

2009-07-14 Thread Mateusz Loskot
Jorge Arévalo wrote: Hello, On Tue, Jul 14, 2009 at 3:28 PM, Mateusz Loskot wrote: I'd suggest to test datasets based on EPSG 4326 first. After these work for you, then switch to projected ones. Do you know where can I find geotiff images based on EPSG:4326? Jorge, My favorite images for ini

Re: [postgis-devel] [gdal-dev] Question about gdal2wktraster

2009-07-14 Thread Jorge Arévalo
Hello, On Tue, Jul 14, 2009 at 3:28 PM, Mateusz Loskot wrote: >>> I'd suggest to test datasets based on EPSG 4326 first. >>> After these work for you, then switch to projected ones. >> >> Do you know where can I find geotiff images based on EPSG:4326? > > Jorge, > > My favorite images for initial

Re: [postgis-devel] [gdal-dev] Question about gdal2wktraster

2009-07-14 Thread Mateusz Loskot
Jorge Arévalo wrote: Hello, On Tue, Jul 14, 2009 at 12:14 AM, Mateusz Loskot wrote: Pierre Racine wrote: Jorge, 4267 should be the right CS (http://spatialreference.org/ref/epsg/4267/). Actually, it isn't. What gdalinfo reports for the file cea.tif is a projected CS, this one to be precise:

Re: [postgis-devel] [gdal-dev] Question about gdal2wktraster

2009-07-14 Thread Jorge Arévalo
Hello, On Tue, Jul 14, 2009 at 12:14 AM, Mateusz Loskot wrote: > Pierre Racine wrote: >> Jorge, >> >> 4267 should be the right CS (http://spatialreference.org/ref/epsg/4267/). > > Actually, it isn't. > What gdalinfo reports for the file cea.tif is a projected CS, > this one to be precise: > > http

Re: [gdal-dev] Question about gdal2wktraster

2009-07-14 Thread Vincent Schut
Jorge Arévalo wrote: Hi Vincent, 2009/7/13 Vincent Schut : Hi Jorge, I'm not sure what projection your cea.tif was in (it seems you've not pasted the full wkt output from gdalinfo on cea.tif?), but you say in your message that it is supposed to be UTM. For UTM, it is very easy to get the ri

Re: [gdal-dev] Question about gdal2wktraster

2009-07-13 Thread Mateusz Loskot
Pierre Racine wrote: > Jorge, > > 4267 should be the right CS (http://spatialreference.org/ref/epsg/4267/). Actually, it isn't. What gdalinfo reports for the file cea.tif is a projected CS, this one to be precise: http://www.remotesensing.org/geotiff/proj_list/cylindrical_equal_area.html "There

RE: [gdal-dev] Question about gdal2wktraster

2009-07-13 Thread Pierre Racine
v@lists.osgeo.org; PostGIS Development Discussion >Subject: [gdal-dev] Question about gdal2wktraster > >Hello, > >Context: GDAL WKT Raster driver > >I've loaded the tif image >ftp://ftp.remotesensing.org/geotiff/samples/gdal_eg/cea.tif on PostGIS >using g

[gdal-dev] Question about gdal2wktraster

2009-07-12 Thread Jorge Arévalo
Hello, Context: GDAL WKT Raster driver I've loaded the tif image ftp://ftp.remotesensing.org/geotiff/samples/gdal_eg/cea.tif on PostGIS using gdal2wktraster script using this line: gdal2wktraster.py -r cea.tif -t usa_mountain_one_band -s 4267 -b 1 -k 514x15 -I -M -o usa_raster_one_band.sql I use