Re: [gdal-dev] building GDAL + OCI on linux

2010-07-16 Thread Chaitanya kumar CH
Pasta, Oracle provides the software Oracle Instant Client which is, I believe, free. Pick your platform here http://www.oracle.com/technology/tech/oci/instantclient/index.html and download Basic/BasicLite for running applications and SDK for compiling. On Sat, Jul 17, 2010 at 5:14 AM, Pasta Bolog

Re: [gdal-dev] gdal_merge is very slow

2010-07-16 Thread Greg Coats
Since you have 4 GB RAM, I suggest overriding the 40 MB GDAL_CACHEMAX default, and increasing it gdal_merge.py --config GDAL_CACHEMAX 1000 The maximum possible GDAL_CACHEMAX is gdal_merge.py --config GDAL_CACHEMAX 2147 Greg On Jul 16, 2010, at 9:19 PM, Leith Bade wrote: > Hi, > > I am trying t

Re: [gdal-dev] gdal_merge is very slow

2010-07-16 Thread Leith Bade
OK I will try the tiling. The aim of this merge is to generate an input for creating a compressed JPEG 2000 image (either using GDAL, Kakadu tools or the ER Image Compressor). In the meantime I have installed the 30-day demo of ER Mapper. This program was able to generate a mosaic in only a few s

Re: [gdal-dev] gdal_merge is very slow

2010-07-16 Thread Greg Coats
I do not see that you specified that the output TIFF image be tiled -co TILED=YES -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 gdal_merge.py supports the -v input option that reports progress as a % for every source image merged into the destination image. It is better to do the initial gdal_merge.py un

[gdal-dev] gdal_merge is very slow

2010-07-16 Thread Leith Bade
Hi, I am trying to use gdal_merge to mosaic a very large topo GeoTIFF set. Uncompressed the data set is 60GB, but I keep it stored with DEFLATE compression which results in a dataset under 10GB. Mosaicked the uncompressed file will be 125GB because of the large regions of nodata generated. Unfor

Re: [gdal-dev] building GDAL + OCI on linux

2010-07-16 Thread Pasta Bolognese
thanks for that... Is there anywhere from where I can download the OCI headers and Libraries needed to compile GDAL ? I don't have Oracle for Linux (I do have it for Windows) and buying it just for compile GDAL would not make sense... On Fri, Jul 16, 2010 at 9:40 PM, Ivan Lucena wrote: > Here yo

Re: [gdal-dev] building GDAL + OCI on linux

2010-07-16 Thread Ivan Lucena
Here you can download OCI and Geor plugins for GDAL 1.7.2 compatible with OSGeo4W: http://download.osgeo.org/gdal/win32/1.7/ To build GDAL witn support for OCI and GeoRaster in Linux you need ORACLE_HOME environment variable and --with-oci=yes The OTN page that I sent previously has more info.

Re: [gdal-dev] building GDAL + OCI on linux

2010-07-16 Thread Chaitanya kumar CH
Pasta, Refer to http://trac.osgeo.org/gdal/wiki/BuildingOnUnix for info on building on Linux. To include OCI in the compilation configure with the options "--with-oci", "--with-oci-include" and "--with-oci-lib" with appropriate paths. Run "./configure --help" for more details. On Fri, Jul 16, 201

[gdal-dev] building GDAL + OCI on linux

2010-07-16 Thread Pasta Bolognese
Hi All, as OSGeo4W doesn't have the GDAL17 GeoRaster and the 1.6 has some bugs... I'm trying to build it on a Linux Virtual Box... The first question is, HOW ??? I do have Oracle, but I dont't have the Linux version (only Windows). Where can I find all what I need to build GDAL + OCI (GeoRaster)

[gdal-dev] Re: ogrtindex take only one feature from a layer

2010-07-16 Thread Jukka Rahkonen
easyl gmail.com> writes: > But will a huge merged shapeflle take a long time to load in a Mapserver? > since I have really a lot of shapefiles to merge. > > I just thought the ogrtindex may help. :) Hi, Ogrtindex can help you. We are having one dataset which contains a few hundred shapefiles,

Re: [gdal-dev] Enhance attribute index support with OGR SQL queries (shapefile and mapinfo format)

2010-07-16 Thread Tamas Szekeres
2010/7/16 Frank Warmerdam > Tamas Szekeres wrote: > >> Folks, >> >> I've added 2 tickes with working patches to implement reasonable additions >> to the current (fairly limited) attribute index support. >> >> Support attribute index scan with the sql 'IN' operator: ticket 3686 < >> http://trac.os

[gdal-dev] Re: ogrtindex take only one feature from a layer

2010-07-16 Thread easyl
thanks, you are right. I was looking for something that can "merge" all shapefiles. But will a huge merged shapeflle take a long time to load in a Mapserver? since I have really a lot of shapefiles to merge. I just thought the ogrtindex may help. :) -- View this message in context: http://osg