Re: [gdal-dev] Re: Runtime error on executing "OGRRegisterAll()" function.

2011-12-16 Thread Mateusz Łoskot
On 16 December 2011 07:56, mrym wrote: > Thanks. I've done things you have written, but it's still same. It is hard to judge what is wrong there. It smells like memory corruption, memory allocations passed boundaries of modules, mixed C/C++ run-times. (see GDAL FAQ for links which may be helpful)

[gdal-dev] Mac OS X tiger Drag & Drop GDAL

2011-12-16 Thread philippe brosson
Thanks to GDAL developers and William Kyngesburye's help (http:// www.kyngchaos.com/software:frameworks), i could build a standalone GUI for gdal_translate and gdalinfo for Macintosh PPC Mac OS X Tiger (10.4) It is a drag & drop application for converting a JPEG map into an IGN Geoportail

[gdal-dev] DXF to Postgis using ogr2ogr

2011-12-16 Thread Bob Pawley
I have imported a dxf file into Postgis using the following command line - set DXF_INLINE_BLOCKS=FALSE&set DXF_MERGE_BLOCK_GEOMETRIES=FALSE&set PGCLIENTENCODING=LATIN1&&ogr2ogr -f "PostgreSQL" PG:"host=localhost user=postgres dbname=dbname password=pass" W_Works.dxf -nln Import_PID -overwrite

Re: [gdal-dev] 1.9 Release Process

2011-12-16 Thread Even Rouault
Le vendredi 16 décembre 2011 15:48:30, Pirmin Kalberer a écrit : > Hi Frank, all > > Am Mittwoch, 14. Dezember 2011, um 08.31:22 schrieb Frank Warmerdam: > > Folks, > > > > I would like to have a GDAL/OGR 1.9 release by the end of this year, > > ideally before Christmas. We have not formalized a

Re: [gdal-dev] Warping without shear

2011-12-16 Thread Joaquim Luis
On 16-12-2011 18:50, Jan Hartmann wrote: On 16-12-2011 18:25, Joaquim Luis wrote: Jan, What you want is to apply a transformation called (at least on the Matlab parlance) "Linear conformal" which an afine transform but without the the shear terms. Mirone has it implemented and if your image

Re: [gdal-dev] Warping without shear

2011-12-16 Thread Jan Hartmann
On 16-12-2011 18:25, Joaquim Luis wrote: Jan, What you want is to apply a transformation called (at least on the Matlab parlance) "Linear conformal" which an afine transform but without the the shear terms. Mirone has it implemented and if your image has the GCPS embedded the operation is rea

Re: [gdal-dev] OGR PG Driver 1.8 to 1.9 undocumented functionality change (bug?) with ExecuteSQL/GetSpatialRef

2011-12-16 Thread Silas Parker
On 16 December 2011 17:17, Even Rouault wrote: > Le vendredi 16 décembre 2011 14:18:16, Silas Parker a écrit : >> Hi, >> >> I've updated my GDAL 1.9 build to SVN rev 23580 which is currently the >> head revision. >> >> I then ran the new commands and the previous set with the debug flag on. >> >>

Re: [gdal-dev] 1.9 Release Process

2011-12-16 Thread Frank Warmerdam
Pirmin, I have made a note to myself to look into this ticket tonight. Best regards, On Fri, Dec 16, 2011 at 6:48 AM, Pirmin Kalberer wrote: > Hi Frank, all > > Am Mittwoch, 14. Dezember 2011, um 08.31:22 schrieb Frank Warmerdam: >> Folks, >> >> I would like to have a GDAL/OGR 1.9 release by th

Re: [gdal-dev] 1.9 Release Process

2011-12-16 Thread Frank Warmerdam
On Wed, Dec 14, 2011 at 1:53 PM, Etienne Tourigny wrote: > Frank, I have 2 issues I would like to address before 1.9 is released. > > 1) The ability to save the gdal commandline string and access it later. > > This is useful for the netcdf 'history' metadata, and consistent with > all other softwa

[gdal-dev] OGR shapefile driver, field numerical scientific notation

2011-12-16 Thread Roger Bivand
Hi, I've been contacted off-list by users of OGR and shapelib compiled into R packages. They report recent ESRI shapefiles apparently writing very small floating point numbers in "e" format, which can be read but not be written with shapelib or the ESRI shapefile driver. The numbers were gener

Re: [gdal-dev] Warping without shear

2011-12-16 Thread Joaquim Luis
On 16-12-2011 15:32, Jan Hartmann wrote: Hi all, Is it possible to do a first order GCP-warp *without* shearing? I have a rectangular scan with very imprecise control points, and I want it georeferenced without any distortion. With a first order gdalwarp I get back a map in the form of a para

Re: [gdal-dev] OGR PG Driver 1.8 to 1.9 undocumented functionality change (bug?) with ExecuteSQL/GetSpatialRef

2011-12-16 Thread Even Rouault
Le vendredi 16 décembre 2011 14:18:16, Silas Parker a écrit : > Hi, > > I've updated my GDAL 1.9 build to SVN rev 23580 which is currently the > head revision. > > I then ran the new commands and the previous set with the debug flag on. > > The standard (not SQL) based command works fine, the SQ

[gdal-dev] Warping without shear

2011-12-16 Thread Jan Hartmann
Hi all, Is it possible to do a first order GCP-warp *without* shearing? I have a rectangular scan with very imprecise control points, and I want it georeferenced without any distortion. With a first order gdalwarp I get back a map in the form of a parallellogram. Is there a way to get back th

Re: [gdal-dev] Warping onto an image with only GCPs

2011-12-16 Thread Anton Korosov
Hi! I'm not sure but probably my question is related to the one below. I'm trying to mosaic one MODIS images onto another with GDAL: gdal_translate HDF4_EOS:EOS_SWATH:"/Data/sat/GDAL_test/MYD021KM.A2011228.0925.005.2011229003113.hdf":MODIS_SWATH_Type_L1B:EV_1KM_RefSB -b 1 /data/modis1.tif gd

Re: [gdal-dev] 1.9 Release Process

2011-12-16 Thread Pirmin Kalberer
Hi Frank, all Am Mittwoch, 14. Dezember 2011, um 08.31:22 schrieb Frank Warmerdam: > Folks, > > I would like to have a GDAL/OGR 1.9 release by the end of this year, > ideally before Christmas. We have not formalized a release process > for the project, but I'd like to follow the approach of past

Re: [gdal-dev] OGR PG Driver 1.8 to 1.9 undocumented functionality change (bug?) with ExecuteSQL/GetSpatialRef

2011-12-16 Thread Silas Parker
Hi, I've updated my GDAL 1.9 build to SVN rev 23580 which is currently the head revision. I then ran the new commands and the previous set with the debug flag on. The standard (not SQL) based command works fine, the SQL with a space at the beginning still fails, SQL with no space at the beginnin

Re: [gdal-dev] OGR PG Driver 1.8 to 1.9 undocumented functionality change (bug?) with ExecuteSQL/GetSpatialRef

2011-12-16 Thread Even Rouault
Selon Silas Parker : > Hello, > > I've found that the behaviour of the PG (Postgres/Postgis) driver has > changed between 1.8 and 1.9 in ExecuteSQL that isn't listed in the > NEWS file. > > The Spatial reference system of a SQL query can not be obtained (using > GetSpatialRef) if the SQL query sta

[gdal-dev] OGR PG Driver 1.8 to 1.9 undocumented functionality change (bug?) with ExecuteSQL/GetSpatialRef

2011-12-16 Thread Silas Parker
Hello, I've found that the behaviour of the PG (Postgres/Postgis) driver has changed between 1.8 and 1.9 in ExecuteSQL that isn't listed in the NEWS file. The Spatial reference system of a SQL query can not be obtained (using GetSpatialRef) if the SQL query starts with white-space. This may be a