Re: [gdal-dev] Using GDAL.Transformer from C#

2008-10-16 Thread Tamas Szekeres
Hi, Here is an example extracted from the gdalinfo.cs sample application (http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALInfo.cs) private static string GDALInfoGetPosition(Dataset ds, double x, double y) { double[] adfGeoTransform = new double[6]; double dfGeoX, d

[gdal-dev] Problem with image overview creation in GTiff files

2008-10-16 Thread Ozy Sjahputera
I am trying to create image overviews for a GTiff file using GDALDataset::BuildOverviews. I keep getting various errors such as: ERROR 1: TIFFSetField:VISUAL.tif: Cannot modify tag "Compression" while writing ERROR 1: TIFFSetField:VISUAL.tif: Cannot modify tag "ImageWidth" while writing ERROR

Re: [gdal-dev] get fmrt grib

2008-10-16 Thread Limei Ran
Hi Frank: Thank you very much and it worked. Limei Frank Warmerdam wrote: Limei Ran wrote: Hi Frank: I got gdal-svn-trunk-2008.10.14.tar.gz. When I compiled it on Linux server 32bits I got the following errors: gt_overview.cpp: In function `toff_t GTIF

[gdal-dev] Using GDAL.Transformer from C#

2008-10-16 Thread Reed Copsey, Jr.
I'm looking for the best approach to figuring out the specific projected coordinate of a raster read via the GDAL C# wrappers. If I open a dataset using Gdal.Open(...) which has projection information, what is the best way in C# to determine the actual coordinate of a specific pixel? For example,

Re: [gdal-dev] Supporting ECW as GDAL plugin.

2008-10-16 Thread Andrea Aime
Daniele Romagnoli ha scritto: Hi list, I would like to get some information about how to support ECW as a GDAL's plugin. Andrea Aime, back from the FOSS4G, have proposed to improve the support to ECW format offered by our ImageIO-Ext project, by leveraging on GDAL plugin mechanism. Which steps

[gdal-dev] visual leak detector support

2008-10-16 Thread Norman Barker
Hi, I see that visual leak detector support has been added to gdal nmake.opt, and I have turned this on. However the visual studio project files use a make file configuration, how do you actually get the leak detector to work? The docs at http://trac.osgeo.org/gdal/ticket/2009 are a little sp

[gdal-dev] CPLHttp and CURL_HOME

2008-10-16 Thread Norman Barker
Hi, within GDAL is there a way to get libcurl to pickup the .curlrc (_curlrc on windows) files, in particular to set --insecure flag so that gdal can talk to self-signed https wcs and wms (and in my case jpips)? The curl utility can pick up the conf file if either curl_home is set, or in the us

Re: [gdal-dev] mod_python problems, bigtiff

2008-10-16 Thread Christopher Barker
Andreas Neumann wrote: My guess was that mod_python picks up a different version of gdal.py and the osgeo package but I can only find one installation of gdal.py on the server. This is total guess, but it could be possible that there is more than one copy of one of the libraries (libgdal or li

Re: [gdal-dev] Supporting ECW as GDAL plugin.

2008-10-16 Thread Daniele Romagnoli
Folks, thank for the info. I'll take a look on them this evening when I'll back to home. Regards, Daniele On Thu, Oct 16, 2008 at 5:30 PM, Frank Warmerdam <[EMAIL PROTECTED]>wrote: > Daniele Romagnoli wrote: > >> Hi list, >> I would like to get some information about how to support ECW as a GDAL

[gdal-dev] Re: Motion: Adopt GDAL 1.5.3RC1 as official 1.5.3 Release

2008-10-16 Thread Frank Warmerdam
Frank Warmerdam wrote: Motion: Adopt GDAL 1.5.3RC1 as official 1.5.3 Release This vote should be open till late on Tuesday. Please vote or comment after you have had a chance to try the release candidate. Folks, I'm +1 on this motion as well. I declare the motion passed with support from T

Re: [gdal-dev] Supporting ECW as GDAL plugin.

2008-10-16 Thread Frank Warmerdam
Daniele Romagnoli wrote: Hi list, I would like to get some information about how to support ECW as a GDAL's plugin. Andrea Aime, back from the FOSS4G, have proposed to improve the support to ECW format offered by our ImageIO-Ext project, by leveraging on GDAL plugin mechanism. Which steps are

[gdal-dev] mod_python problems, bigtiff

2008-10-16 Thread Andreas Neumann
Hi, I have a very simple python script that queries some metadata from raster images. The script works fine on the console and in a web application with mod_python. I am still rather new to python and mod_python. A problem arises when I query meta information of big tiff files, larger than 4GB. I

Re: [gdal-dev] RE: CPLXMLNode, no GetChilds()'like method ?

2008-10-16 Thread Frank Warmerdam
Aurélien Kamel wrote: Actually I have one more question for you. Imagine you have an xml file like this : start of xml file ... end of xml file How can you access to the node "a" if you don't know its name ? I tried to do a recursive function that would loop on

Re: [gdal-dev] Reprojection of textual lat-longs from Python script

2008-10-16 Thread Frank Warmerdam
[EMAIL PROTECTED] wrote: I understand that GDAL/OGR includes the Proj.4 library, but I haven't found any documentation explaining how I can transform a textfile of NAD27 coordinates to NAD83 from a Python script. Can anyone point me in the right direction? Jim, There is some information on GD

[gdal-dev] Reprojection of textual lat-longs from Python script

2008-10-16 Thread James_Cook
I understand that GDAL/OGR includes the Proj.4 library, but I haven't found any documentation explaining how I can transform a textfile of NAD27 coordinates to NAD83 from a Python script. Can anyone point me in the right direction? Jim Cook, GIS Specialist BLM Colorado State Office 2850 Youngfi

Re: [gdal-dev] Supporting ECW as GDAL plugin.

2008-10-16 Thread Andreas Neumann
Hi Daniele, You need to install the ecw libraries. For Unix/Linux/MacOSX you need to compile from source. You can get the libraries from http://www.ermapper.com/ProductView.aspx?t=131 - after installing the libraries you need to tell gdal where to find them and re-compile gdal. I don't know what

Re: [gdal-dev] OGR: GetField methods problem

2008-10-16 Thread Anton Patrushev
Oh, my! I thought I'm replying to the list! Sorry. My message is quoted below anyway. Anton. On 10/16/08, Markus Neteler <[EMAIL PROTECTED]> wrote: > Hi Anton, > > > On Thu, Oct 16, 2008 at 10:12 AM, Anton Patrushev <[EMAIL PROTECTED]> wrote: > > Hi Markus, > > > > I installed the newer vers

RE: [gdal-dev] RE: CPLXMLNode, no GetChilds()'like method ?

2008-10-16 Thread Aurélien Kamel
Actually I have one more question for you. Imagine you have an xml file like this : start of xml file ... end of xml file How can you access to the node "a" if you don't know its name ? I tried to do a recursive function that would loop on all the nodes of the fi

[gdal-dev] Supporting ECW as GDAL plugin.

2008-10-16 Thread Daniele Romagnoli
Hi list, I would like to get some information about how to support ECW as a GDAL's plugin. Andrea Aime, back from the FOSS4G, have proposed to improve the support to ECW format offered by our ImageIO-Ext project, by leveraging on GDAL plugin mechanism. Which steps are involved to support ECW Driver