Re: [gdal-dev] Guidance sought on using gdal-translate

2008-08-15 Thread Frank Warmerdam
On Fri, Aug 15, 2008 at 8:41 AM, Christopher Hunt <[EMAIL PROTECTED]> wrote: > Hi again Frank et. al, > > I've made some progress. The aerial image provider now tells me that it is > projected as OSGB 1936 which I believe is EPSG:27700. Thus if I use a > command like: > > gdal_translate -a_srs EPSG

[gdal-dev] Disabiling Geos messages via OGR

2008-08-15 Thread Brent Fraser
I'm using OGR's Geos functions (e.g. OGRGeometry::IsValid) to process some polygons. Geos spits out messages to console (stderr?) like "Warning 1: Self-intersection at or near point ...". Is there a way to disable these messages via OGR? Thanks! Brent Fraser __

Re: [gdal-dev] GRIB2 file produces None on opening

2008-08-15 Thread Limei Ran
Hi: I have the same problem. I just installed 1.5.2 version on Linux. When I do: gdalinfo --formats | grep GRIB Nothing came out. Also when I do: gdalinfo abc.grb I got: not recognised as a supported file format My grb file is GRIB2 format. Do we need to download the GRIB driver before the

Re: [gdal-dev] Guidance sought on using gdal-translate

2008-08-15 Thread Christopher Hunt
Hi again Frank et. al, I've made some progress. The aerial image provider now tells me that it is projected as OSGB 1936 which I believe is EPSG:27700. Thus if I use a command like: gdal_translate -a_srs EPSG:27700 -a_ullr then I should be able to create my GeoTIFF. Unfortunately the

Re: [gdal-dev] GRIB2 file produces None on opening

2008-08-15 Thread Lucena, Ivan
Just a comment: There are some grib files generated by SPRING that are not compatible with the GRIB driver. It might be a version issue GRIB1, GRIB2 or something. Ex.: C:\Data\SpringDB\SP\SPaulo>gdalinfo I000355.grb ERROR 4: `I000355.grb' not recognised as a supported file format. gdalinfo fai

Re: [gdal-dev] Segmentation fault using gdal 1.4.4 and 1.5.2 on netcdf data

2008-08-15 Thread Maarten Plieger
Hi Vishal, I do not have any problems with the gdal netcdf driver... The example netcdf files from the unidata website work well for example. I am using GDAL 1.5.2 with the latest netcdf 4.0 library. Maarten Vishal Mehta schreef: Hi Frank, I have tried with 2 netcdf files from different sites

Re: [gdal-dev] GRIB2 file produces None on opening

2008-08-15 Thread Mateusz Loskot
Frank Peacock wrote: Hello I have a GRIB2 file called "a" which I have tested and is correct. I use the following code: from osgeo import gdal src_ds = gdal.Open("a") print src_ds The result of the print is None. I have also run a test with a tif file and it works correctly producing > Ca

[gdal-dev] GRIB2 file produces None on opening

2008-08-15 Thread Frank Peacock
Hello I have a GRIB2 file called "a" which I have tested and is correct. I use the following code: from osgeo import gdal src_ds = gdal.Open("a") print src_ds The result of the print is None. I have also run a test with a tif file and it works correctly producing > C

Re: [gdal-dev] deleting feature exceptions

2008-08-15 Thread Mateusz Loskot
Mateusz Loskot wrote: Attachment of this mail is the example project. Thank you for more help. I've noticed no file attached to the ticket you reported. Do you mean the attachement as URL in your updating comment? Chen, I'd suggest to attach your file min-projV1.4.rar directly to the ticket

Re: [gdal-dev] deleting feature exceptions

2008-08-15 Thread Mateusz Loskot
wow wrote: Hi, Frank,thank you for reply. I have posted the ticket with little experience here: http://trac.osgeo.org/gdal/ticket/2531. Chen, Please, take care next time to wrap source code snippet included in the Ticket description with triple parenthesis, like this: {{{ ... your co

Re: [gdal-dev] deleting feature exceptions

2008-08-15 Thread wow
Hi, Frank,thank you for reply. I have posted the ticket with little experience here: http://trac.osgeo.org/gdal/ticket/2531. Attachment of this mail is the example project. Thank you for more help. -- To the world you're little, but to a person you're the world.