Re: [gdal-dev] kmlsuperoverlay driver

2010-09-27 Thread Vincent Schut
On 09/24/2010 03:52 PM, Frank Warmerdam wrote: Vincent Schut wrote: On 09/23/2010 02:48 PM, Vincent Schut wrote: Hi, I was curious about the new gdal klmsuperoverlay driver (frmts/kmlsuperoverlay). I have installed minizip, and ran make in the frmts/kmlsuperoverlay folder, which resulted

[gdal-dev] Using a directory of bitmaps as tiles

2010-09-27 Thread Oyvind Idland
I got a directoty of tiff's, where all of them has an associated .tfw with them. I would like to use an index and treat the whole folder as a dataset. I have successfully genereated a shape-index using gdaltindex. Is it possible to use this index in GDAL directly in some way, or do I have to imple

[gdal-dev] Re: Using a directory of bitmaps as tiles

2010-09-27 Thread Oyvind Idland
Update: solved by using gdalbuildvrt. -- Oyvind On Mon, Sep 27, 2010 at 12:40 PM, Oyvind Idland wrote: > I got a directoty of tiff's, where all of them has an associated .tfw with > them. I would > like to use an index and treat the whole folder as a dataset. > > I have successfully genereated a

[gdal-dev] Proposed UTF-8 SWIG Changes

2010-09-27 Thread Frank Warmerdam
Even, Tamas, Ari, Howard, and other SWIG wise men, I got lost last night in the SWIG typemaps we use for GDAL, but eventually I came up with a minimal patch that seems to make sense and work. I would appreciate it if you guys could skim it and let me know if I'm doing things in a really wrong or

Re: [gdal-dev] Proposed UTF-8 SWIG Changes

2010-09-27 Thread Tamas Szekeres
2010/9/27 Frank Warmerdam > Even, Tamas, Ari, Howard, and other SWIG wise men, > > I got lost last night in the SWIG typemaps we use for GDAL, but eventually > I came up with a minimal patch that seems to make sense and work. I would > appreciate it if you guys could skim it and let me know if I

[gdal-dev] compiling gdal under linux + OCI without installing Oracle

2010-09-27 Thread Sebastian E. Ovide
Hi Guys, I have a VBox (no graphic) with Ubuntu 10.10 and trying to build GDAL + OCI. Is there anyway of doing it without installing Oracle ?... perhaps downloading only the -libs ? I know that Oracle is not so light... and it could be problematic under Ubuntu... thanks -- Sebastian E. Ovide __

Re: [gdal-dev] Proposed UTF-8 SWIG Changes

2010-09-27 Thread Frank Warmerdam
Tamas Szekeres wrote: 2010/9/27 Frank Warmerdam mailto:warmer...@pobox.com>> Even, Tamas, Ari, Howard, and other SWIG wise men, I got lost last night in the SWIG typemaps we use for GDAL, but eventually I came up with a minimal patch that seems to make sense and work. I wo

Re: [gdal-dev] compiling gdal under linux + OCI without installing Oracle

2010-09-27 Thread Ivan Lucena
Sebastian, That might help you: http://forums.oracle.com/forums/thread.jspa?messageID=4570333 "Thread: Building GDAL with geoRaster support in Linux " Regards, Ivan > ---Original Message--- > From: Sebastian E. Ovide > To: gdal-dev > Subject: [gdal-dev] compiling gdal under linu

[gdal-dev] Why not netCDF output?

2010-09-27 Thread Joaquim Luis
Hi While running this command gdalwarp -s_srs +proj=latlong -t_srs "+proj=ortho +lon_0=-42 +lat_0=40 +ellps=WGS84" -of netCDF lixo.grd proj.grd I get Output driver `netCDF' not recognised or does not support direct output file creation. The following format drivers are configured (a forma

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Even Rouault
Joaquim, The valid formats for the output of gdalwarp are formats that support the Create() method, not just the CreateCopy() method. This is indicated by (rw+) : the + indicates that Create() is supported. The difference between Create() and CreateCopy() is mainly that Create() allows writing

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Joaquim Luis
Thanks Even, I think that's the second time you explain me that (sorry, an easy thing to forget), but the docs could be a bit clearer about this. For example *--formats* List all raster formats supported by this GDAL build (read-only and read-write) and exit. The format support is indica

Re: [gdal-dev] Proposed UTF-8 SWIG Changes

2010-09-27 Thread Even Rouault
Frank, you'd likely need to also define the following typemap %typemap(freearg) (const char *utf8_path) { GDALPythonFreeCStr($1); } to avoid memory leaks with Python3. Hum, and on Python2, GDALPythonObjectToCStr() doesn't seem to accept unicode strings. Did you make a change in it ?

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Even Rouault
Le lundi 27 septembre 2010 21:20:02, Joaquim Luis a écrit : > Thanks Even, > > I think that's the second time you explain me that (sorry, an easy thing > to forget), but the docs could be a bit clearer about this. For example > > *--formats* > List all raster formats supported by this GDAL bu

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Joaquim Luis
On 27-09-2010 20:39, Even Rouault wrote: Le lundi 27 septembre 2010 21:20:02, Joaquim Luis a écrit : Thanks Even, I think that's the second time you explain me that (sorry, an easy thing to forget), but the docs could be a bit clearer about this. For example *--formats* List all raste

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Even Rouault
Le lundi 27 septembre 2010 22:11:43, Joaquim Luis a écrit : > > Well, using your own words, and to not extend the wording too much. > Something like > > ... 'rw+' is read, write and update (ie. supports Create). Note: The > valid formats for the output of gdalwarp are formats that support the >

Re: [gdal-dev] Why not netCDF output?

2010-09-27 Thread Joaquim Luis
Yes, that's probably doable, but clearly not trivial. I add a hard time (look at how ugly/complicated the code now looks...) doing something similar in GDALSuggestedWarpOutput2() to guess the extent of the target extent when such discontinuities in the reprojection occur (and it probably doesn'

[gdal-dev] GDAL easy_install problem

2010-09-27 Thread Greg Corradini
Hello, I'm trying to install GDAL using easy_install as detailed here ( http://trac.osgeo.org/gdal/wiki/GdalOgrInPython). I've never see this error before on my other GDAL Ubuntu 9.0 installs. Not sure what it means. I'm wondering if it might have to do with NumPy (I think I screwed that install up

Re: [gdal-dev] GDAL easy_install problem

2010-09-27 Thread Chaitanya kumar CH
Greg, This issue is actively being pursued. There is a temporary fix for this. Refer to http://trac.osgeo.org/gdal/ticket/3468#comment:10 On Tue, Sep 28, 2010 at 8:30 AM, Greg Corradini wrote: > Hello, > I'm trying to install GDAL using easy_install as detailed here ( > http://trac.osgeo.org/gda

[gdal-dev] Accessing in-memory shapefiles and db

2010-09-27 Thread Alexander Bruy
Hi all, I've develop a small GIS tool and use GDAL/OGR to work with raster and vector data. Is it possible to access shapefiles which loaded in memory with OGR? And same things with SpatiaLite databases? I know that SQLIte/SpatiaLite can create in-memory DB. But is it possible to access such data