Seth Girvin wrote:
Hi,
I have just started using the GDAL functions through the .NET wrapper
written by Tamas Szekeres.
I can get statistics on my GeoTIFF which is great, but I need to get the
count of pixels in each class in the raster.
Ideally I want to get the count by a range e.g. 123787
Even,
Thanks for the solution!
Regards,
Juan
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Selon Juan Rapoport :
Juan,
GetFileList() is a relatively new feature in GDAL long history, so not all
drivers implement it : the default implementation just returns the name of the
main file passed to GDALOpen. I've just changed the FAST driver to return the
filenames of the bands. Done in trunk
Selon Chaitanya kumar CH :
Atubar
As Chaintanya says and the doc recommands it, you must use the macro and not
string values directly. For one good reason : #define ODrCCreateDataSource
expands to "CreateDataSource"... So "ODrCCreateDataSource" is an invalid input
for OGRSFDriver::TestCapability(
hi list,
I received Kakadu v6_2_1-00984N.zip and tried to build it on 64-bit
Linux.
Kakadu make went smoothly.
libkdu.a, libkdu_a62R.so, etc were generated in
kakadu-v6_2_1-00984N/lib/Linux-x86-64-gcc/
Then I added
"--with-kakadu=/home/sgong/build_openev2/kakadu-6_2_1-00984N" in Gdal
config. I g
atubar,
Here is a sample.
http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/ogr2ogr.cpp#L401
The preferred #define macro forms are used here. (
http://www.gdal.org/ogr/classOGRSFDriver.html#6c37cb7552902cd27cd6d4b904d7c744
)
As per your problem, perhaps the drivers you tested did indeed not supp
Dear Frank
Thanks for the swift response.
Viswanath.
--- On Thu, 15/10/09, Frank Warmerdam wrote:
> From: Frank Warmerdam
> Subject: Re: [gdal-dev] Change Resampling method
> To: "vvv jjj"
> Cc: gdal-dev@lists.osgeo.org
> Date: Thursday, 15 October, 2009, 8:01 PM
> vvv jjj wrote:
> > Hi
> >
Your reference to lanscoz is likely referring to Lanczos resampling
http://en.wikipedia.org/wiki/Lanczos_resampling
The gdalwarp man page shows that it supports 5 resampling methods:
near, bilinear, cubic, cubicspline, lanczos.
http://www.gdal.org/gdalwarp.html
Greg
On Oct 15, 2009, at 4:00 AM
Hi,
I want to take a test about the capability of creation and deletion for all
supported formats of ogr .
The code like below, The parameter "const char" are copied from api doc. But
all flag return a value of 0, why ?
int flag;
flag=poDriver->TestCapability("ODrCCreateDataSource");
vvv jjj wrote:
Hi
I'm trying to read raster file (simple Tiff) raster data using RasterIO and
display the raster data without creating another dataset. By default GDAL
uses nearest neighbor resampling algorithm. I would like to use other
resampling methods (lanscoz). I do not need to write in a
Hello,
I'm trying to use the GetFileList() function with a FAST-L7A image; it's
supposed to return a list with the files associated with the dataset, but it
only returns the administrative file (the _HRF.FST file). How can I get the
complete list o files?
Thanks
--
Juan Rapoport
SUR Emprendimie
Viswanath,
RastorIO doesn't do any resampling. RasterIO doesn't have an argument like
hDstDS. I think the resampling is occuring during reprojection or some other
process.
On Thu, Oct 15, 2009 at 1:30 PM, vvv jjj wrote:
> Hi
>
> I'm trying to read raster file (simple Tiff) raster data using Ras
Hi
I'm trying to read raster file (simple Tiff) raster data using RasterIO and
display the raster data without creating another dataset. By default GDAL uses
nearest neighbor resampling algorithm. I would like to use other resampling
methods (lanscoz). I do not need to write in a new file (no h
13 matches
Mail list logo