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

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

[gdal-dev] ogr2gui version 0.5 released

2009-01-21 Thread Mathieu Lahaye
A new version of ogr2gui – the graphical user interface for ogr2ogr is now available. What’s new in the 0.5 version ? - ogr2gui is now a stand-alone application - it supports BNA file format - it supports batch processing   The source code as well as the binary executable for Windows and Linux ca

Re: [gdal-dev] VPF parsing

2009-01-21 Thread Frank Warmerdam
Malm Paul wrote: 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? Paul, In theory that is what ogr2ogr should do by default but it will produce shapefiles with awful names due to the messy name

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

2009-01-21 Thread Frank Warmerdam
Jukka Rahkonen wrote: 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. Jukka, I have also observed that the JP2ECW driver does not appear to read losslessly co

[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 H

[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 ste

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:

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:

[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 (update)

[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 compres

[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