Re: [gdal-dev] Compiling fails on Debian

2012-01-10 Thread Frank Broniewski
Hi Even, a verbose and helpful answer, as always. Point 3), the wrong symlink, seems to be my problem too. I am in the course of investigating how to resolve the problem. I just wanted to thank you for your help so far ... Frank Am 09.01.2012 13:44, schrieb Even Rouault: Frank, This looks

Re: [gdal-dev] Longitude and latitude raster bands

2012-01-10 Thread Frank Warmerdam
On Tue, Jan 10, 2012 at 5:36 AM, Knut-Frode Dagestad wrote: > Hi, > > For datasets with only GCPs for geolocation, is there any convenient and > efficient method to extract latitude and longitude values as arrays of same > size as the raster bands, using the Python API? > > And similarly: is there

Re: [gdal-dev] PCT Pallete

2012-01-10 Thread Chaitanya kumar CH
Nikos, The easiest way to create your own palette is described in the documentation of the script[1]. You can use any raster file with a palette as a source of palette. In the example in the script's documentation, a dummy VRT file with a color palette is created and used. [1]: http://www.gdal.o

[gdal-dev] PCT Pallete

2012-01-10 Thread Nikolaos Hatzopoulos
How you can create your own pallet for the tool rgb2pct from existing rgb image. What kind of technics are existing in order to define such a pallete? --Nikos ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal

[gdal-dev] Longitude and latitude raster bands

2012-01-10 Thread Knut-Frode Dagestad
Hi, For datasets with only GCPs for geolocation, is there any convenient and efficient method to extract latitude and longitude values as arrays of same size as the raster bands, using the Python API? And similarly: is there an efficient method to return full arrays of the azimuth direction,

Re: [gdal-dev] Re: Are these WFS issues worth filing tickets?

2012-01-10 Thread Even Rouault
> But is it ever safe to > guess the schema by investigating just the first feature? If the > attribute is not compulsory in the schema and the value > happens to be empty then it is not included at all in the GML of > the first feature. Doesn't this mean that GML driver creates a > schema without

Re: [gdal-dev] Re: Are these WFS issues worth filing tickets?

2012-01-10 Thread Rahkonen Jukka
Even Rouault wrote: > Selon Jukka Rahkonen : > > > Even Rouault mines-paris.org> writes: > > > > > > How about having an option -TRUST_GETCAPABILITIES=TRUE > and use it as > > > > a default value? So number of feature could be examined with > > > > resulttype=hits and extents could be taken as

Re: [gdal-dev] Re: Are these WFS issues worth filing tickets?

2012-01-10 Thread Even Rouault
Selon Jukka Rahkonen : > Even Rouault mines-paris.org> writes: > > > > How about having an option -TRUST_GETCAPABILITIES=TRUE and use it as > > > a default value? So number of feature could be examined with > > > resulttype=hits and extents could be taken as they are in the > > > getCapabilities.

[gdal-dev] Re: Are these WFS issues worth filing tickets?

2012-01-10 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > > How about having an option -TRUST_GETCAPABILITIES=TRUE and use it as > > a default value? So number of feature could be examined with > > resulttype=hits and extents could be taken as they are in the > > getCapabilities. Or perhaps they could be reported

Re: [gdal-dev] Shifting raster image one meter

2012-01-10 Thread Andreas Neumann
Hi, just wanted you to know that gdal_edit.py worked perfectly fine: Here is my command: gdal_edit.py -a_ullr 688999 252000.25 702999 241000.25 orthofoto_2010.tif where -a_ullr are the new upper left and the lower right corner coordinates. Thanks for the hint! Andreas On Mon, 09 Jan 2012