[gdal-dev] Upgraded to 1.9 - Python Bindings Error

2012-05-04 Thread Jay L.
List, Just upgraded to 1.9.0 on my windows 7 machine and I can no longer access gdal via the python bindings. Command line (ogr2ogr, gdalinfo, etc. are functioning as expected). Specifically, running 'from osgeo import gdal', returns: File "C:\Python26\ArcGIS10.0\lib\site-packages\osgeo\__init.

Re: [gdal-dev] gdal.AutoCreateWarpedVRT returning different results than osr.CoordinateTransformation

2012-05-04 Thread Frank Warmerdam
On 12-05-04 03:39 PM, Billy Newman wrote: I ran a quick test and confirmed that gdal.AutoCreateWarpedVRT is returning different results than osr.CoordinateTransformation. I.E. I opened a file using: Dataset dataset = gdal.Open("/images/image.tif"); I grabbed the corner point and used osr.Coordi

[gdal-dev] gdal.AutoCreateWarpedVRT returning different results than osr.CoordinateTransformation

2012-05-04 Thread Billy Newman
I ran a quick test and confirmed that gdal.AutoCreateWarpedVRT is returning different results than osr.CoordinateTransformation. I.E. I opened a file using: Dataset dataset = gdal.Open("/images/image.tif"); I grabbed the corner point and used osr.CoordinateTransformation.TransformPoint(), to tran

Re: [gdal-dev] Which formats are just flat binary files plus a header?

2012-05-04 Thread Jonathan Greenberg
Thanks! This was really helpful! Cheers! --j On Thu, May 3, 2012 at 7:20 PM, Frank Warmerdam wrote: > On Thu, May 3, 2012 at 8:35 AM, Jonathan Greenberg > wrote: > > Gdalers: > > > > I'm working on some parallel processing routines via rgdal and R, but > > thought this question was better an

Re: [gdal-dev] Get SRID from image file

2012-05-04 Thread Ivan Lucena
Hi Billy, > > I did not know that existed.  A couple quick questions. > > 1.  I do not want to store the entire raster file in the database. I just > want to store the metadata, i.e. the bounding info and projection of the image file. The GeoRaster driver documentation made it seem like t

Re: [gdal-dev] Request for Spatial Operator function

2012-05-04 Thread Ari Jolma
On 05/04/2012 01:55 PM, xavier lhomme wrote: Hi I'm using a WFS Driver in a C# project. I would like to add a new function to the OGRWFSLayer like SetSpatialOperator() and modify the filter part of the function OGRWFSLayer::MakeGetFeatureURL if a spatial operator has been set. Xavier, To

[gdal-dev] Request for Spatial Operator function

2012-05-04 Thread xavier lhomme
Hi I'm using a WFS Driver in a C# project. I would like to add a new function to the OGRWFSLayer like SetSpatialOperator() and modify the filter part of the function OGRWFSLayer::MakeGetFeatureURL if a spatial operator has been set. then I need to call the SetSpatialOperator in C#. IWhat is t