Re: [gdal-dev] RFC 39

2012-05-03 Thread Ari Jolma
2012/5/4 Jason Roberts > it accepts an unlimited number of layers, performs the intersection or > union > of all of them, and creates one (new) output. > The main obvious downside of that is having to create and manage the > temporary outputs. Currently the output layer is not checked fo

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

2012-05-03 Thread Frank Warmerdam
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 answered here.  I'm trying to find out > which raster formats are simply a flat binary file an a header.  ENVI is the >

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

2012-05-03 Thread Paolo Corti
On Fri, May 4, 2012 at 12:22 AM, Billy Newman wrote: > 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 driv

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

2012-05-03 Thread Billy Newman
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 the entire raster file is

Re: [gdal-dev] RFC 39

2012-05-03 Thread Paolo Corti
On Thu, May 3, 2012 at 11:04 PM, Jason Roberts wrote: > As I mentioned, I do not have a strong opinion about the value of accepting > multiple inputs. The obvious workaround is to call the same method in a > loop. The main obvious downside of that is having to create and manage the > temporary out

RE: [gdal-dev] RFC 39

2012-05-03 Thread Jason Roberts
Hi Ari, Thanks for your response, and for implementing Symmetrical Difference. Regarding multiple inputs to Intersect and Union. ArcGIS does not use an in-place pattern either. Instead, rather than accepting two layers as input, it accepts an unlimited number of layers, performs the intersection

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

2012-05-03 Thread Sjur Kolberg
Jonathan, The same also for the IDRISI .rst + .rdc format. An example header (.rdc) ASCII file looks like below. The short ref. system item names a file in a library supplied with the IDRISI distribution. The GDAL Idrisi driver recognises a subset of these file format : Idrisi Raster A.1 file t

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

2012-05-03 Thread Martin Lambers
Hi Jonathan! On Thu, 3 May 2012 10:35:57 -0500, Jonathan Greenberg wrote: > I'm working on some parallel processing routines via rgdal and R, but > thought this question was better answered here. I'm trying to find > out which raster formats are simply a flat binary file an a header. > ENVI is th

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

2012-05-03 Thread Ivan Lucena
Billy, The GeoRaster driver will do that for you. It takes the EPSG Authority code from the input file and use it as SRID when loading the image to the database sdo_georaster object. For more info: http://gdal.org/frmt_georaster.html Regards, Ivan > ---Original Message--- > From:

[gdal-dev] Get SRID from image file

2012-05-03 Thread Billy Newman
I have some image files (geotiff's) and I would like to store some of the metadata about the image files in oracle spatial. Is there any way to get the SRID for an image file? Thanks, Billy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists

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

2012-05-03 Thread Jonathan Greenberg
Gdalers: I'm working on some parallel processing routines via rgdal and R, but thought this question was better answered here. I'm trying to find out which raster formats are simply a flat binary file an a header. ENVI is the one that springs to mind. We're trying to work up which files can be

Re: [gdal-dev] RFC 39

2012-05-03 Thread Ari Jolma
On 05/02/2012 09:56 PM, Jason Roberts wrote: 1. Would you consider implementing a Symmetrical Difference method? It is the only one from the ArcGIS Overlay toolset that you did not implement (except Spatial Join, which does not really apply here). I've added SymDifference method to the patch. I

Re: [gdal-dev] RFC 39

2012-05-03 Thread Even Rouault
Selon Ari Jolma : > Even, > > I've uploaded a version, which fixes these. I added a note that GEOS is > required, as these probably segfault without it (the methods return > NULLs and not geometries). Hi, Hum, I didn't think at crashes. I thought that the algorithm would just nicely fail. But ye

Re: [gdal-dev] RFC 39

2012-05-03 Thread Ari Jolma
Even, I've uploaded a version, which fixes these. I added a note that GEOS is required, as these probably segfault without it (the methods return NULLs and not geometries). I added a simple test against a pre-computed layer envelope, and it speeds up the computation in my test case ~30%. Sti

Re: [gdal-dev] Re: MrSID driver, JPEG2000 format files and world files

2012-05-03 Thread the Old Topo Depot
Including the patch, the driver tries to find .sdw, .sidw, .wld, and .j2w files if no geotransform is found in the base file. On Thu, May 3, 2012 at 1:43 AM, Jukka Rahkonen wrote: > the Old Topo Depot novacell.com> writes: > > > > > > > Ticket http://trac.osgeo.org/gdal/ticket/4651 opened with

Re: [gdal-dev] RFC 39

2012-05-03 Thread Ari Jolma
On 05/03/2012 11:27 AM, Peter Halls wrote: Ari, as a user (and teacher of users), I would urge you to keep to the model where the output is always a new object (actually the same as ArcGIS), rather than consider modifying an input for any of these spatial operations. That automatically s

Re: [gdal-dev] RFC 39

2012-05-03 Thread Peter Halls
Ari, as a user (and teacher of users), I would urge you to keep to the model where the output is always a new object (actually the same as ArcGIS), rather than consider modifying an input for any of these spatial operations. That automatically solves the read-only input issue. Best wishes,

Re: [gdal-dev] RFC 39

2012-05-03 Thread Even Rouault
Selon Ari Jolma : > > The performance is anyway an internal issues and the main thing is to > get the API and logic acceptable. Yes, that's what I meant. Those ideas can be kept in mind for later improvements. > > Ari > > ___ gdal-dev mailing list gd