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

Mateusz Loskot mateusz at loskot.net
Tue Jul 14 06:28:24 PDT 2009


Jorge Arévalo wrote:
> Hello,
> 
> On Tue, Jul 14, 2009 at 12:14 AM, Mateusz Loskot<mateusz at loskot.net> 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://www.remotesensing.org/geotiff/proj_list/cylindrical_equal_area.html
>>
>> "There does not seem to be an EPSG equivelent."
>>
>> Check this too:
>>
>> http://lists.maptools.org/pipermail/geotiff/2005-March/000138.html
>>
>> Jorge,
>>
>> 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 and basic testing of WKT Raster are here:

http://download.osgeo.org/gdal/data/gtiff/

First, I use utm.tif to test if 1 band raster works.
This one is UTM (EPSG:26711) not WGS 84, but it's perfectly usable as 
such. Also, you can easily transform it to WGS84 with GDAL utils if you 
like.

Next, I switch to >1 bands datasets and for this purpose I use 
small_world.tif. This one is WGS 84 (EPSG:4326).

When my WKT Raster software works with these two images, I start playing 
with other and big datasets.

I think that small files will make it easier to debug your driver.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net



More information about the postgis-devel mailing list