Re: [gdal-dev] Unable to open GRIB file

2012-02-14 Thread Brian Case
On Wed, 2012-02-15 at 09:10 +0300, SupportLists wrote: Carlos is it raster or vector data? can you make the file accessible some place? Brian > Hi, > > I am trying to open a grib file (meteorological data) with GDAL 1.8.1 > but i get the following error: > > ./2011.grib is a grib file, but

[gdal-dev] Unable to open GRIB file

2012-02-14 Thread SupportLists
Hi, I am trying to open a grib file (meteorological data) with GDAL 1.8.1 but i get the following error: ./2011.grib is a grib file, but no raster dataset was successfully identified. gdalinfo failed - unable to open './2011.grib' Other tools like wgrib successfully opens the same file. An

Re: [gdal-dev] ogr2ogr

2012-02-14 Thread Bob Pawley
I am trying to add columns to a table (which I am able to do), then add a trigger to that table in order to trigger an existing function. My basic problem is that the ogr2ogr switch (ie: –lco Dim=2) appear to only work with an -overwrite. They don’t seem to work with an -append. As -overwrite d

Re: [gdal-dev] ogr2ogr

2012-02-14 Thread Chander Ganesan
I'm not certain what you are trying to do, but... Consider the SQL "UNION", "UNION ALL", "INTERSECT", or "INTERSECT ALL" statements perhaps? They allow you to combine the results of two queries into a single result set (as a single query.) Chander On 2/14/12 1:24 PM, Bob Pawley wrote: Is th

[gdal-dev] ogr2ogr

2012-02-14 Thread Bob Pawley
Is there a method of having two –sql commands in one command prompt execution. I have attempted 1. –sql “first statement ” –sql “second“ 2. –sql “first; second“ 3. sql “first “ “second“ 4. –sql “first” –overwrite –skipfailures -sql “second” (an attempt to separate the two). Bob_

RE: [gdal-dev] PostGIS SRID conundrum

2012-02-14 Thread Martin Chapman
Sandro, Thank you very much for the info! Best regards, Martin From: sandro.santi...@gmail.com [mailto:sandro.santi...@gmail.com] On Behalf Of Sandro Santilli Sent: Tuesday, February 14, 2012 3:05 AM To: Martin Chapman Cc: pcr...@pcreso.com; gdal-dev@lists.osgeo.org Subject: Re: [gdal-de

Re: [gdal-dev] PostGIS SRID conundrum

2012-02-14 Thread Sandro Santilli
On Sat, Feb 11, 2012 at 6:48 AM, Martin Chapman wrote: > 4. I select the max(srid) where srid > 1000. If zero is > returned then I use that base number (1000) and add a new entry to the > spatial_ref_sys table using the proj4 text and wkt so all fields have a > value…and my app na