Re: [gdal-dev] How do we know the number of raster bands of a WKT Raster object?

2009-07-12 Thread Mateusz Loskot
Jorge Arévalo wrote: > Hello, > > On Sun, Jul 12, 2009 at 11:53 PM, Mateusz Loskot wrote: >> Frank Warmerdam wrote: >>> Jorge Arévalo wrote: Hello, I have a doubt: I have a raster loaded in PostgreSQL with gdal2wktraster, and I'm not sure of the best way to know the number of >

[gdal-dev] SQL "LEFT JOIN"

2009-07-12 Thread Kris R. DeLaney
Re: GDAL 1.6.0, released 2008/11/26 I have be unable to use OGR2OGR to accomplish an SQL LEFT JOIN of a shapefile with the attributes of a master dbf table. If my syntax is not correct, I hope someone can show me where it is wrong. The files I am using are all in the same directory. I have t

Re: [gdal-dev] How do we know the number of raster bands of a WKT Raster object?

2009-07-12 Thread Jorge Arévalo
Hello, On Sun, Jul 12, 2009 at 11:53 PM, Mateusz Loskot wrote: > Frank Warmerdam wrote: >> Jorge Arévalo wrote: >>> Hello, >>> >>> I have a doubt: I have a raster loaded in PostgreSQL with >>> gdal2wktraster, and I'm not sure of the best way to know the number of >>> raster bands the raster has. T

Re: [gdal-dev] Question about GDALDriverManager + gdal2wktraster

2009-07-12 Thread Jorge Arévalo
Hello, On Sun, Jul 12, 2009 at 11:47 PM, Mateusz Loskot wrote: > Tamas Szekeres wrote: >> Jorge, >> >> I'm not aware much about the changes in the gdal2wktraster script, I can see >> a r4226 which may be related to the problem. Please consult with the author >> Mateusz Loskot about the possible re

[gdal-dev] GDAL WKT Raster driver weekly report #7

2009-07-12 Thread Jorge Arévalo
Hello, Here, the report for this week: http://www.gis4free.org/blog/2009/07/13/gsoc-09-weekly-report-7-0307-1007/ The project can be followed here: http://trac.osgeo.org/gdal/wiki/WKTRasterDriver Best regards, Jorge ___ gdal-dev mailing list gdal-dev@l

[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

Re: [gdal-dev] How do we know the number of raster bands of a WKT Raster object?

2009-07-12 Thread Mateusz Loskot
Frank Warmerdam wrote: > Jorge Arévalo wrote: >> Hello, >> >> I have a doubt: I have a raster loaded in PostgreSQL with >> gdal2wktraster, and I'm not sure of the best way to know the number of >> raster bands the raster has. The fields "pixel_types" and >> "nodata_values" from raster_columns table

Re: [gdal-dev] Question about GDALDriverManager + gdal2wktraster

2009-07-12 Thread Mateusz Loskot
Tamas Szekeres wrote: > Jorge, > > I'm not aware much about the changes in the gdal2wktraster script, I can see > a r4226 which may be related to the problem. Please consult with the author > Mateusz Loskot about the possible reasons you've encountered with the > script. Tamas, I believe Jorge's

[gdal-dev] Re: C# Nad27 to WGS 84

2009-07-12 Thread Tomas R
I might do something wrong... I just grab whatever Proj-file I find, I have not compiled it myself. Unsure witch version I was using when I posted the Q but now I use the one found in the latest build at http://trac.osgeo.org/proj/ (proj446_win32_bin.zip) With that version I get a promising err

Re: [gdal-dev] C# Nad27 to WGS 84

2009-07-12 Thread Frank Warmerdam
Tomas R wrote: Hi again, New problems arises as the world of Gdal is quite complex to grasp. Have understood that the transformation of coordinates from Nad 27 datum to WGS 84 requires some look up tables to be done correctly, tables that differ with the are the Nad 27 is valid in. Simple q

Re: [gdal-dev] Big three rules for C++ classes

2009-07-12 Thread Mateusz Loskot
Christopher Hunt wrote: > Hi Mateusz, > > Thank you for your email and confirmation of GDAL's use of C++. Hi Christopher, Welcome. By the way, I usually wrap GDAL with some *very* thin class (holder/surrogate) that manages all the basic C++ principles and idioms for me. Sometimes, boost::shared_

[gdal-dev] C# Nad27 to WGS 84

2009-07-12 Thread Tomas R
Hi again, New problems arises as the world of Gdal is quite complex to grasp. Have understood that the transformation of coordinates from Nad 27 datum to WGS 84 requires some look up tables to be done correctly, tables that differ with the are the Nad 27 is valid in. Simple question is, how