Re: [gdal-dev] Layer operations, a proposal

2012-04-17 Thread Ari Jolma
On 04/18/2012 02:32 AM, Frank Warmerdam wrote: Ari, I think this would be an interesting addition. Would you be willing to write up an RFC? Yes, but I probably want to include a working patch. I think the layer creation step should be a different call than the feature processing step to m

Re: [gdal-dev] gdal python script to calculate categories statistic

2012-04-17 Thread Anton Korosov
Hi Giuseppe, gdal_calc is built on operations with matrices using the Python module 'numpy' http://numpy.scipy.org/ Instead of digging into it I would suggest to study numpy functionality a bit. The following simple script somewhat solves your problem: import numpy as np """ you may data f

Re: [gdal-dev] Very large time difference using gdal_translate from Jpeg2000 to different formats using JP2KAK driver

2012-04-17 Thread Frank Warmerdam
On Tue, Apr 17, 2012 at 10:04 PM, Adam Brown wrote: > On 15/04/12 2:48 PM, Frank Warmerdam wrote: >> >> On 12-04-12 05:53 PM, ahbrown wrote: >>> >>> Hi, >>> >>> I am wondering why there is such a large difference in the time to >>> convert a >>> large O(250MB) Jpeg2000 image to GeoTiff format in c

Re: [gdal-dev] Very large time difference using gdal_translate from Jpeg2000 to different formats using JP2KAK driver

2012-04-17 Thread Adam Brown
On 15/04/12 2:48 PM, Frank Warmerdam wrote: On 12-04-12 05:53 PM, ahbrown wrote: Hi, I am wondering why there is such a large difference in the time to convert a large O(250MB) Jpeg2000 image to GeoTiff format in comparison with conversion to other formats (e.g. jpeg, png)? I am using the Ka

Re: [gdal-dev] Kakadu linking errors for MSVC 2010

2012-04-17 Thread Carl Godkin
On Tue, Apr 17, 2012 at 12:51 PM, Robert Zermeno wrote: > GDAL folks, > > I am upgrading my program from VS 2005 to VS 2010 and attempted to build > GDAL with Kakadu support using 4-15-2012 trunk version (FYI, GDAL can > compile cleanly without adding Kakadu support). I get the following build >

[gdal-dev] MSSQL Spatial and 3D issue

2012-04-17 Thread Nicolas Garel
Hi, I'm relaunching the following thread: http://lists.osgeo.org/pipermail/gdal-dev/2011-June/029034.html This time with GDAL 1.9 and the problem remains. Further explanation of what I'm trying to achieve: I would like to write and read 3d spatial data. I have a 3d point(-1092.7172471465196 122

RE: [gdal-dev] Layer operations, a proposal

2012-04-17 Thread Jason Roberts
As I have mentioned previously (http://lists.osgeo.org/pipermail/gdal-dev/2010-January/023089.html) I think something like this would be a great addition to OGR. No doubt it would be a huge job--basically turning OGR into a GIS--but if it could be done well, with sufficient performance and in the c

Re: [gdal-dev] Layer operations, a proposal

2012-04-17 Thread Frank Warmerdam
Ari, I think this would be an interesting addition. Would you be willing to write up an RFC? I think the layer creation step should be a different call than the feature processing step to maximize the chance that folks who need to do something very format specific at layer creation can do so an

Re: [gdal-dev] gdal_translate crash on certain filenames

2012-04-17 Thread Even Rouault
Le mercredi 18 avril 2012 00:17:27, Smith, Michael ERDC-CRREL-NH a écrit : > Looks like its a specific driver getting in the way > > http://trac.osgeo.org/gdal/ticket/4390 Good catch Michael, actually the crash dates back to a previous commit. Now fixed per http://trac.osgeo.org/gdal/ticket/4622

Re: [gdal-dev] gdal_translate crash on certain filenames

2012-04-17 Thread Smith, Michael ERDC-CRREL-NH
Looks like its a specific driver getting in the way http://trac.osgeo.org/gdal/ticket/4390 M From: Jay Jennings mailto:jennings@geoeye.com>> Date: Tuesday, April 17, 2012 6:11 PM To: "gdal-dev@lists.osgeo.org" mailto:gdal-dev@lists.osgeo.org>> Subject: [gdal

[gdal-dev] gdal_translate crash on certain filenames

2012-04-17 Thread Jay Jennings
Hi List, We have encountered something really strange in our GDAL build (1.9.0, built from source on Windows 7 64-bit). It appears that "gdal_translate" crashes (i.e. Windows popup dialog that says "gdal_translate has stopped working...") when the output filename starts with certain strings.

[gdal-dev] Layer operations, a proposal

2012-04-17 Thread Ari Jolma
Folks, I propose a set of new methods for OGR layers (see the PDF). I took the basic ideas from page http://courses.washington.edu/gis250/lessons/Model_Builder/ which seems rather comprehensive. I wrote the pseudo code myself quickly (thus it may not be optimal and may contain bugs - improvem

[gdal-dev] Kakadu linking errors for MSVC 2010

2012-04-17 Thread Robert Zermeno
GDAL folks,   I am upgrading my program from VS 2005 to VS 2010 and attempted to build GDAL with Kakadu support using 4-15-2012 trunk version (FYI, GDAL can compile cleanly without adding Kakadu support).  I get the following build errors: args.obj : error LNK2038: mismatch detected for ' __ITER

[gdal-dev] gdal python script to calculate categories statistic

2012-04-17 Thread Giuseppe Amatulli
Hi, I'm new in python and i would like to start in the hard way by modify an already existing script. In particular, I'm searching for a python script that is computing statistic of a raster base on another existing category raster. Something similar to r.statistics in grass. The out put has to be

Re: [gdal-dev] Summer of Code

2012-04-17 Thread Frank Warmerdam
Dmitry, I'll let Anne Ghisla know that you would like to mentor too. There should be some information on: http://wiki.osgeo.org/wiki/Google_Summer_of_Code_2012_Administrative Best regards, Frank On Mon, Apr 16, 2012 at 12:50 AM, Dmitry Baryshnikov wrote: > 16.04.2012 10:56, Chaitanya kumar

[gdal-dev] FID in a vrt

2012-04-17 Thread William Kyngesburye
I'm having trouble getting the FID option to work in a vrt. The help is not clear on how to do this. I've tried feature_id and but ogrinfo will not show the FID column info. - William Kyngesburye http://www.kyngchaos.com/ "We are at war with them. Neither in hatred nor revenge and wi

[gdal-dev] Configure error with Oracle instantclient 11.2.0.3

2012-04-17 Thread Stefano Iacovella
Hello I'm try to build gdal 1.9.0 on ubuntu server 11.10 32 bit. I read the help at http://trac.osgeo.org/gdal/wiki/BuildingOnUnix and also this thread on OTN forum: https://forums.oracle.com/forums/thread.jspa?messageID=4570333 I downloaded the tree files for instantclient 11.2.0.3: instantcli

RE: [gdal-dev] Multi image segments in NITF file

2012-04-17 Thread Livneh Yehiyam
Even I've created a ticket (#4619) for this enhancement, with the patch. Thanks, Yehiyam Livneh -Original Message- From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: Monday, April 16, 2012 6:06 PM To: Livneh Yehiyam Cc: gdal-dev; Even Rouault; Livneh Yehiyam Subject: Re: [gdal-