[gdal-dev] Big three rules for C++ classes

2009-07-01 Thread Christopher Hunt
Hi there, I've just started using the classes from the ogr_geometry API and note that they do not obey the C++ Rule of Three: http://en.wikipedia.org/wiki/Rule_of_three_(C%2B%2B_programming) Perhaps the copy ctor and assignment operators should receive a private scope in OGRGeometry unless

[gdal-dev] GDAL WKT Raster driver: Request for comments

2009-07-01 Thread Jorge Arévalo
Hello, I've published an updated version of my project plan for GDAL WKT Raster driver implementation. I'll strongly appreciate any comment and suggestion. Please, if you have login access to GDAL trac, feel free to edit the page. http://trac.osgeo.org/gdal/wiki/WKTRasterDriver

Re: [gdal-dev] PackBitsDecode: Not enough data ...

2009-07-01 Thread Even Rouault
Le Wednesday 01 July 2009 10:50:51 Hermann Peifer, vous avez écrit : > Even Rouault wrote: > > Does gdalinfo -checksum lceugr100_00_pct_epsg4326.tif works ? > > Not really: > Warning 1: lceugr100_00_pct_epsg4326.tif:PackBitsDecode: discarding 94 > bytes to avoid buffer overrun > ERROR 1: lceugr100_

[gdal-dev] best practice to evaluate (fast) point in polygon and attribute overlay with python and ogr?

2009-07-01 Thread G. Allegri
Hi list. I needed to make a simple routine to create a regular point grid (as csv) on the base of an input polygons layer and its attributes. I've compined the two needs: - verify point/polygon containment - extract polygon attribute and attach it to the point feature so I've used the .SetSpati

Re: [gdal-dev] including GCP file for gdal_translate

2009-07-01 Thread Chaitanya kumar CH
Narmadha, The file given with the option --optfile should just contain what the options should be. It is a way to simplify things in case of long commands. You will want to have the file (named, for example, options.txt) read something like this... -

Re: [gdal-dev] including GCP file for gdal_translate

2009-07-01 Thread NarmadhaK
Chaitanya, I am successful in stacking the images to one file. Thanks for your help. But still I am unable to input the GCPs from .txt file. I just did this. >gdal_translate -of GTiff -gcp --optfile L5142051_05120060207_GCP.txt merged_landsat.tif merged_landsat_proj.tif Result was: Too many comma

Re: [gdal-dev] Re: Future compatibility - plugins (C#)

2009-07-01 Thread Tamas Szekeres
I think you'd require a better versioning of the assemblies in order to install that side by side in the Global Assembly Cache (am I right?). The biggest problem around here is to properly load the the late bound unmanaged dll versions (loded by LoadLibrary) which uses a different mechanism (searci

Re: [gdal-dev] PackBitsDecode: Not enough data ...

2009-07-01 Thread Hermann Peifer
Even Rouault wrote: Does gdalinfo -checksum lceugr100_00_pct_epsg4326.tif works ? Not really: Warning 1: lceugr100_00_pct_epsg4326.tif:PackBitsDecode: discarding 94 bytes to avoid buffer overrun ERROR 1: lceugr100_00_pct_epsg4326.tif:PackBitsDecode: Not enough data for scanline 13228 ERROR