Re: [gdal-dev] PostgreSQL problems

2011-10-14 Thread David J. Bakeman
Thanks Even and everyone else who responded! It was the fact that I had created the tables without registering the geometry column. I did that and now things appear good to go! That is ogrinfo is successful and lists the three tables with geometry. Perhaps the normal user of ogr is aware th

Re: [gdal-dev] PostgreSQL problems

2011-10-14 Thread Even Rouault
> OK now we are getting somewhere! I did the following: > > env PG_LIST_ALL_TABLES=YES ogrinfo --debug on PG:'dbname=mydb' > PG: DBName="mydb" > PG: PostgreSQL version string : 'PostgreSQL 8.4.9 on > x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.5.1 20100924 (Red > Hat 4.5.1-4), 64-bit' >

Re: [gdal-dev] PostgreSQL problems

2011-10-14 Thread David J. Bakeman
Even Rouault wrote: Le vendredi 14 octobre 2011 22:57:32, David J. Bakeman a écrit : Even Rouault wrote: Le vendredi 14 octobre 2011 21:04:12, David J. Bakeman a écrit : Try ogrinfo --debug on -ro PG:'dbname=mydb' OK I am totally confused now here is the output: ogrinfo --

Re: [gdal-dev] PostgreSQL problems

2011-10-14 Thread Even Rouault
Le vendredi 14 octobre 2011 22:57:32, David J. Bakeman a écrit : > Even Rouault wrote: > > Le vendredi 14 octobre 2011 21:04:12, David J. Bakeman a écrit : > > > > Try ogrinfo --debug on -ro PG:'dbname=mydb' > > OK I am totally confused now here is the output: > ogrinfo --debug -ro PG:'dbname=m

Re: [gdal-dev] PostgreSQL problems

2011-10-14 Thread David J. Bakeman
Even Rouault wrote: Le vendredi 14 octobre 2011 21:04:12, David J. Bakeman a écrit : Try ogrinfo --debug on -ro PG:'dbname=mydb' OK I am totally confused now here is the output: ogrinfo --debug -ro PG:'dbname=mydb' INFO: Open of `PG:dbname=mydb' using driver `PostgreSQL' successful.

Re: [gdal-dev] PostgreSQL problems

2011-10-14 Thread Even Rouault
Le vendredi 14 octobre 2011 21:04:12, David J. Bakeman a écrit : Try ogrinfo --debug on -ro PG:'dbname=mydb' and see if something interesting shows up (and post the output to the list if you don't find the solution by yourself) It is really weird that it works with QGIS but not with OGR. Th

Re: [gdal-dev] PostgreSQL problems

2011-10-14 Thread David J. Bakeman
Sorry I was trying to limit the bandwidth I used I figured it was probably something really stupid and someone would just say you forgot to XX :<; Anyway this is a test database so it really is named mydb and I copied the ogrinfo command from the PostgreSQL driver page for OGR. I checked bef

Re: [gdal-dev] ArcSDE -> GeoTiff: Bit size calculation failed...

2011-10-14 Thread Howard Butler
On Oct 14, 2011, at 9:47 AM, Wouter Schaubroeck wrote: > Bit size calculation failed... > SDE's length:16834 With bitmap length: 18529 Without bitmap length: 16834 Wouter, I was the author of that code, but it has been a number of years since I've done anything with SDE. I believe it has to do

Re: [gdal-dev] ArcSDE -> GeoTiff: Bit size calculation failed...

2011-10-14 Thread Chaitanya kumar CH
Wouter, Which version of GDAL are you using? On Fri, Oct 14, 2011 at 8:17 PM, Wouter Schaubroeck < wouter.schaubro...@gmail.com> wrote: > Hey list, > > I'm trying to convert a raster image in ArcSDE to a GeoTiff, but this > isn't working as expected. I'm getting the following error: > > Bit size

[gdal-dev] ArcSDE -> GeoTiff: Bit size calculation failed...

2011-10-14 Thread Wouter Schaubroeck
Hey list, I'm trying to convert a raster image in ArcSDE to a GeoTiff, but this isn't working as expected. I'm getting the following error: Bit size calculation failed... SDE's length:16834 With bitmap length: 18529 Without bitmap length: 16834 The error is thrown in the following file: sderaste

Re: [gdal-dev] GDAL Javascript

2011-10-14 Thread Jorge Arévalo
On Fri, Oct 14, 2011 at 7:44 AM, Mohammed Rashad wrote: > Hi All, > how can I use OGR to read shapefile using JavaScript > Is this possible? > If yes please tell me how. > > -- > Regards, >    Mohammed Rashad K M >    M.S. (By Research) student >    Lab for Spatial Informatics >    Department of C

Re: [gdal-dev] Using gdal_translate to convert tiff 2 tiff with georeferencing

2011-10-14 Thread Jorge Arévalo
Hello, On Wed, Oct 12, 2011 at 4:43 PM, Jean-Claude Repetto wrote: > Le 23/07/2011 16:17, Михаил a écrit : >> >> Hello, everybody. >> I have some images in TIFF format created in Photoshop. Also, I have >> georeferncing for each file in txt. >> If I'm working with BMP files, then i have no proble