Re: [gdal-dev] Why have I got SRS 900914 in my PostGIS table after ogr2ogr alimentation ?

2012-10-24 Thread SAEZ Laurent - SG/SPSSI/CPII/DOM/ETER/PNE IG
Thanks Even for your new answer. I have found my mistake. I haven't deleted the 900914 entry in my spatial_ref_sys table. So, when I request auth_srid = 4467, it returns 2 entries : 900914 and 4467. When I delete 900914 entry every thing works fine. Thanks a lot Laurent Le 24/10/2012 20:23,

Re: [gdal-dev] problem with compiling grass with gdal

2012-10-24 Thread Martin Landa
Hi, 2012/10/24 Even Rouault : > Hum, still nothing obvious. Perhaps retry to configure trunk --without-libxml2 > , but I'm quite skeptical it will change anything. right, `--without-xml2` didn't help. In other worlds there is no difference. > Perhaps try to diff the output of ldd libgdal.so ??

Re: [gdal-dev] reading non baseline tiffs with python image

2012-10-24 Thread Travis Kirstine
After poking around a little more it appear the problem is related internal tiling with the tifs (not the profile) and yes I am using PIL . On 24 October 2012 14:20, Frank Warmerdam wrote: > > > On Wed, Oct 24, 2012 at 9:48 AM, Travis Kirstine > wrote: >> >> I've been using the python image mo

Re: [gdal-dev] problem with compiling grass with gdal

2012-10-24 Thread Even Rouault
Le mardi 23 octobre 2012 21:36:48, Martin Landa a écrit : > Hi Even, > > 2012/10/23 Even Rouault : > > Could you diff the output of the generated GDALmake.opt in trunk and 1.9 > > ? And also the same for config.log ? > > thanks for the quick answer, the files attached. Hum, still nothing obvious

Re: [gdal-dev] Having problems reading a GRIB2 file with GDAL driver

2012-10-24 Thread Even Rouault
Le mercredi 24 octobre 2012 19:21:08, Rick Wayne a écrit : > Dear Jeff, > > I want to import it -- probably tiled and pyramid-ed -- into a PostGIS > 2.0 raster, to be published with GeoServer. I can use wgrib2 to create > a CSV file without trouble, so one option would be to use gdal_grid to > re-

Re: [gdal-dev] Why have I got SRS 900914 in my PostGIS table after ogr2ogr alimentation ?

2012-10-24 Thread Even Rouault
Le mercredi 24 octobre 2012 08:48:54, SAEZ Laurent - SG/SPSSI/CPII/DOM/ETER/PNE IG a écrit : > Thanks Even for your answer. > > In fact I add EPSG code 4467 in my spatial_ref_sys with the definition I > took in PostGIS 2.0. > So this code is present in the table spatial_ref_sys and I do not > und

Re: [gdal-dev] reading non baseline tiffs with python image

2012-10-24 Thread Frank Warmerdam
On Wed, Oct 24, 2012 at 9:48 AM, Travis Kirstine wrote: > I've been using the python image module to resize geotiff images. I've > noticed that if the source tif image is not created using the gdal > PROFILE=BASELINE option the python resize function will return > unexpected results. The output w

Re: [gdal-dev] New OGR driver to read OpenStreetMap .osm / .pbf files

2012-10-24 Thread Even Rouault
Le mercredi 24 octobre 2012 09:57:58, Frank Broniewski a écrit : > Hi, > > I had this up my schedule for this week, but I see I need GDAL >= 2.0. > Where might I get this? From svn (https://svn.osgeo.org/gdal/trunk/gdal)? Yes, svn trunk = GDAL 2.0dev.

Re: [gdal-dev] EHdr guesses wrong pixel type...

2012-10-24 Thread Even Rouault
Le mercredi 24 octobre 2012 16:11:01, Carl Godkin a écrit : > Hi, > > I'm using GDAL 1.9.2 to read a .bil data set that has an accompanying .hdr > file which does not include PIXELTYPE. It does have NBITS = 32. > > The documentation for the EHdr format mentions > > This driver does not always d

Re: [gdal-dev] Having problems reading a GRIB2 file with GDAL driver

2012-10-24 Thread Rick Wayne
Dear Jeff, I want to import it -- probably tiled and pyramid-ed -- into a PostGIS 2.0 raster, to be published with GeoServer. I can use wgrib2 to create a CSV file without trouble, so one option would be to use gdal_grid to re-create the raster in, say, a GeoTIFF from the CSV. That seems

[gdal-dev] reading non baseline tiffs with python image

2012-10-24 Thread Travis Kirstine
I've been using the python image module to resize geotiff images. I've noticed that if the source tif image is not created using the gdal PROFILE=BASELINE option the python resize function will return unexpected results. The output will have a black boarder around a portion of the image. Any thou

[gdal-dev] Question about using crop_to_cutline

2012-10-24 Thread António Rocha
Greetings I have a raster image and a shapefile polygon and I wanted to crop the raster for just to have valid pixels inside the polygon. I have used crop_to_cutline but here is a problem: It produces a raster map but pixels does not geographically match with the original raster map. So, i pro

[gdal-dev] EHdr guesses wrong pixel type...

2012-10-24 Thread Carl Godkin
Hi, I'm using GDAL 1.9.2 to read a .bil data set that has an accompanying .hdr file which does not include PIXELTYPE. It does have NBITS = 32. The documentation for the EHdr format mentions This driver does not always do well differentiating between floating point > and integer data. The GDAL e

Re: [gdal-dev] New OGR driver to read OpenStreetMap .osm / .pbf files

2012-10-24 Thread Frank Broniewski
Hi, I had this up my schedule for this week, but I see I need GDAL >= 2.0. Where might I get this? From svn (https://svn.osgeo.org/gdal/trunk/gdal)? Thanks, Frank Am 2012-10-17 11:54, schrieb Even Rouault: Selon Frank Broniewski : Hi Even, I need to reinstall my OSM database due to the l