[gdal-dev] VPF parsing

2009-01-21 Thread Malm Paul
Hi list, Is it possible to convert all layers in a VPF database to shapefiles without knowing about the layers included, in Windows with ogr2ogr? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] JP2ECW driver fails with lossless JPEG2000 images

2009-01-21 Thread Jukka Rahkonen
Hi, I have been suspecting that JP2ECW driver does not handle lossless jpeg2000 images correctly and now I am pretty sure that it is true at least with images compressed with Kakadu. I made a test by using FWTools 2.2.8 on Windows. I took a 100x100 pixel sized test image in tif format and

[gdal-dev] Save/Update ENVI files

2009-01-21 Thread TSchilling OMW
Hello, Iam new to GDAL and Iam writing actually a test application to get familiar with this library. In general Iam using GDAL only for reading and writing ENVI files. Iam reading ENVI files via: Dataset ds = Gdal.Open(EnviPath, Access.GA_Update); My question is now: How to write back

Re: [gdal-dev] JP2ECW driver fails with lossless JPEG2000 images

2009-01-21 Thread Greg Coats
geojasper includes a utility that conveniently compares a GeoTif image to a GeoJp2 image. Greg Coats $ geoimgcmp Image Comparison Utility (Version 1.900.1). usage: geoimgcmp -f reference_image_file -F other_image_file [-m metric] The metric argument may assume one of the following values:

Re: [gdal-dev] Save/Update ENVI files

2009-01-21 Thread Frank Warmerdam
TSchilling OMW wrote: Hello, Iam new to GDAL and Iam writing actually a test application to get familiar with this library. In general Iam using GDAL only for reading and writing ENVI files. Iam reading ENVI files via: Dataset ds = Gdal.Open(EnviPath, Access.GA_Update); My question is now:

[gdal-dev] OGR : problem with the OGDI driver

2009-01-21 Thread Alexandre Gacon
Hi, We are trying to build OGR with the OGDI driver enabled, on Windows with Visual Studio 2005. We have modified the nmake.opt file to enable the OGDI driver (precising the OGDI directory where to find the headers and the libraries) and the compilation works fine (the install and dev-install

[gdal-dev] accessing the histogram

2009-01-21 Thread Greg Fiske
Hello folks, Can somebody demonstrate how I can access the histogram of a raster image. Ultimately, I'd like to dump it to a text file as well (I have many images to assess). Thanks for any advice, Greg Gregory J. Fiske GIS Manager/Research Associate The Woods Hole Research Center 149 Woods

FW: [gdal-dev] accessing the histogram

2009-01-21 Thread Domazlicky, Eric
There is no histogram in raster files sitting there for you to access. You have to calculate it yourself using the pixel data. Here is a good example of doing it in C# http://www.codeproject.com/KB/cs/Image_Histograms.aspx I would familiarize yourself with the ReadRaster functions so you know how

Re: FW: [gdal-dev] accessing the histogram

2009-01-21 Thread Frank Warmerdam
Domazlicky, Eric wrote: There is no histogram in raster files sitting there for you to access. You have to calculate it yourself using the pixel data. Here is a good example of doing it in C# http://www.codeproject.com/KB/cs/Image_Histograms.aspx I would familiarize yourself with the ReadRaster