Re: [gdal-dev] No Interlis format support after recent svn update

2010-08-11 Thread Andreas Neumann
Hi Even, Thank you for your hints. It seems to work again. From all of your suggestions it was most likely the make clean in ogr/ogrsf_frmts/ili. I think all other things were fine (the HAVE_XERCES was set to yes, ogr/ogrsf_frmts/ili existed). Anyway, all fine now. Thanks for your help, Andreas

RE: [gdal-dev] ArcGIS 10

2010-08-11 Thread Jason Roberts
Francis, The ticket that I referenced (http://trac.osgeo.org/gdal/ticket/3672) contains comprehensive details. In short: prior to ArcGIS 9.3, ArcGIS executed Python geoprocessing tools by creating a separate python.exe process with command line arguments specifying the script to run and its parame

Re: [gdal-dev] ArcGIS 10

2010-08-11 Thread Francis Markham
Thanks for your encyclopedic response Jason! If you don't mind detailing the problems with running GDAL scripts in process, and your work-around for avoiding it, I would be very interested. Cheers, Francis On 12 August 2010 02:49, Jason Roberts wrote: > ArcGIS 10 installs Python 2.6 and numpy

RE: [gdal-dev] Raster Scaling

2010-08-11 Thread m k
Im not sure if you are looking to rescale a whole map, or just individual rasters. If just rasters, I believe what you are looking for is: gdal_translate -outsize xsize[%] ysize[%] [file source] [file output] http://www.gdal.org/gdal_translate.html -Matt Date: Wed, 11 Aug 2010 18:03:50 -0300 F

[gdal-dev] Raster Scaling

2010-08-11 Thread Maurício de Paulo
Hi list, I've recently found an interest in scaling rasters. Mainly because of poor georeferencing techniques that the users applyed a few years ago. I've written a python script using gdal to alter the transformation parameters thus scaling the map. Is there any tool in gdaltools that does this ki

RE: [gdal-dev] ArcGIS 10

2010-08-11 Thread Jason Roberts
c10 install? > -- next part -- > An HTML attachment was scrubbed... > URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100811/5b8eebc1/atta chment-0001.html ___ gdal-dev mailing list gdal

[gdal-dev] ArcGIS 10

2010-08-11 Thread Hannes Reuter
gdal-dev/attachments/20100811/5b8eebc1/attachment-0001.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] No Interlis format support after recent svn update

2010-08-11 Thread Even Rouault
Well, interlis is listed for me with latest SVN, so I guess it must be some detail on your side. Did you do a full rebuild : 'make clean' and 'make' ? In GDALmake.opt, is HAVE_XERCES set to yes ? In the console, when compiling do you see that it goes into ogr/ogrsf_frmts/ili ? you can cd to th

RE: [gdal-dev] ArcGIS 10

2010-08-11 Thread Jason Roberts
ArcGIS 10 installs Python 2.6 and numpy 1.3.0. It does not install GDAL with Python bindings. It includes a new Python module from ESRI called ArcPy. This module supposedly provides the capability of reading and writing raster layers in the form of numpy arrays, similar to GDAL's Python bindings. I

[gdal-dev] Re: Geotiff with bands of different type

2010-08-11 Thread Jukka Rahkonen
Martin Raspaud smhi.se> writes: > > > Frank Warmerdam skrev: > > On Tue, Aug 10, 2010 at 7:16 AM, Martin Raspaud smhi.se> wrote: > >> Hmmm, that sounds like a sufficient solution indeed, very good idea, thanks. > >> > >> Is there any scale/slope and offset/intercept tags defined in geotiff ?

[gdal-dev] No Interlis format support after recent svn update

2010-08-11 Thread Andreas Neumann
Hi, For some reasons, after an SVN update, I can't use the Interlis format anymore. ogrinfo --formats doesn't list the Interlis 1/2 formats as supported. Luckily I still have an older installation which I can use for my data imports, but I would like to get it working again with the SVN version.

[gdal-dev] ArcGIS 10

2010-08-11 Thread Discourse Maps
I hear the new ArcGIS10 has GDAL and NumPy built into the geoprocessor. If this is true, does that mean that users will not have to install the various Python library bindings GDAL, numpy, etc. after a full Arc10 install? _

Re: [gdal-dev] directory for ECW tmp files

2010-08-11 Thread Jean-Claude REPETTO
Le 24/04/2009 22:02, Armin Burger a écrit : Hi everybody does anybody know if the tools like gdal_translate have a config parameter that allows to specify the directory used for the tmp files when creating ECW files? I made some tests on Linux and no environment vars like TMP, TEMP or TMPDIR wer

Re: [gdal-dev] Speed up MrSid warping

2010-08-11 Thread Jason Beverage
Hi Frank, Thanks for the tips, I'll tinker around and try to run some tests with GDAL_ONE_BIG_READ and try to get things working so that the MrSid isn't wrapped in a VRT and see if that helps. Thanks! Jason On Sat, Aug 7, 2010 at 9:25 AM, Frank Warmerdam wrote: > On Fri, Aug 6, 2010 at 11:34 A

[gdal-dev] GDAL equivalent of ArcGIS's focal statistics, raster interpolati

2010-08-11 Thread Hannes Reuter
Dear M, I programmed some of my recent zonalstats/DOCELL/IFTHENELSE (AG slang) work in numpy/scipys functionality for terrain analysis. Have a look there, and in combination with gdal its rather straightforward. The only problem you might run into is that at one stage you need to impleme

Re: [gdal-dev] Retrieve number of layers with gdalpy

2010-08-11 Thread Chaitanya kumar CH
António, GDALDataset::GetRasterCount doesn't have the same interface in Python. You can get the value using the GDALDataset's member variable RasterCount in Python. Example: http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/tiff_write.py?rev=19928#L764 2010/8/11 António Rocha > Greetings

Re: [gdal-dev] RE: [GDAL_TRANSLATE]Problem with colorimetry

2010-08-11 Thread Chaitanya kumar CH
Tacot, You could have used a small shell script like this for converting all the tif files. for f in *.tif; do echo "$f -> new_$f"; gdal_translate -of GTiff -expand RGB -co compress=lzw $f new_$f; done The issue is reported as a warning in the trunk version of GDAL. It will appear in gdal-1.8.0

[gdal-dev] RE: [GDAL_TRANSLATE]Problem with colorimetry

2010-08-11 Thread Tacot
Hi First of all, Thanks a lot: it works! I've run those commands line: /*For all pictures => it's a little bit repetitive: gdal_translate -of GTiff -expand RGB -co compress=lzw SC25_TOPO_0850_6470_L93.tif 0850_6470.tif gdalbuildvrt truc.vrt *.tif gdal_translate -of GTiff truc.vrt truc.tif

[gdal-dev] Retrieve number of layers with gdalpy

2010-08-11 Thread António Rocha
Greetings I have a file Geotiff format (and other in GRIB) and I need to know how many layers of data I have in each one of them by using gdalPy. is it possible? (I don't want to use gdalinfo , I just want to get this value directly) Thanks Antonio __ Information from ESET NOD32 An

Re: [gdal-dev] GDAL equivalent of ArcGIS's focal statistics raster interpolation?

2010-08-11 Thread Peter J Halls
When you talk of the ArcGIS FocalStatistics tool, to which statistics do you refer? ArcGIS Spatial Analyst is built on C Dana Tomlin's Map Algebra and the ArcGIS Workstation command line implementation 'Grid Algebra'. In Map Algebra, Focal functions operate on an immediate neighbourhood of sp