[gdal-dev] NITF Jpeg 2000 read support

2009-07-02 Thread Gong, Shawn (Contractor)
hi list, I need to build GDAL with NITF Jpeg 2000 read support on Windows (32 bit) and Linux (32 and/or 64-bit). I need to view the image (using OpenEV) and extract information. File sizes are large (1 to 2.5 GB). I did a search on the previous posts and found there are a few options, JP2KAK, JP2

Re: [gdal-dev] moving averaging filter in GDAL.

2009-07-02 Thread Even Rouault
Le Thursday 02 July 2009 21:14:58 Belaid MOA, vous avez écrit : > Even, you really made my day today!!! Thanks a lot for spotting that out. I > spent almost one day staring at my code in vain!   > BTW, in the GDAL VRT tutorial (http://www.gdal.org/gdal_vrttut.html), I > noticed that there is an e

RE: [gdal-dev] moving averaging filter in GDAL.

2009-07-02 Thread Belaid MOA
Even, you really made my day today!!! Thanks a lot for spotting that out. I spent almost one day staring at my code in vain! BTW, in the GDAL VRT tutorial (http://www.gdal.org/gdal_vrttut.html), I noticed that there is an extra character (1) in the XML description of KernalFilterSource as in:

[gdal-dev] gdal2tiles on exported arcgis geotiff

2009-07-02 Thread Reflect Thirteen
I have a geotiff (exported from arcgis) which has this medata (output from gdalinfo): Driver: GTiff/GeoTIFF Files: BasinOverlay.tif Size is 15488, 9788 Coordinate System is: GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.2572235630016, AUTHORITY["EPSG","

Re: [gdal-dev] moving averaging filter in GDAL.

2009-07-02 Thread Even Rouault
Belaid Moa, Good point! Yes it should work as your code is directly derived from the VRT tutorial. I discovered that in fact support for SetMetadataItem( "source_0", szFilterSourceXML, "vrt_sources" ) was missing in the VRT driver. I've fixed that as ticket #3052. In the meantime you've an eas

Re: [gdal-dev] query on OGR and Database

2009-07-02 Thread Brian Hamlin
Sukesh- there are several options for connecting to databases in OGR. Many of these are illustrated in a set of python test scripts. You can browse those test scripts via http://trac.osgeo.org/gdal/browser/trunk/autotest best regards -Brian == OSGeo California Chapter On Jul 2, 200

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

2009-07-02 Thread Hermann Peifer
Even Rouault wrote: 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: l

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

2009-07-02 Thread G. Allegri
Here I am, back to office ;-) I've had support by IRC people. As I supposed there aren't obvious improvements to the routine code. The only, real, boost is given by using a spatial index. My polygonal layer is a shapefile, so I've created a quadtree index using the shptree mapserver utility, which

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

2009-07-02 Thread NarmadhaK
Thanks a lot Chaitanya. It worked well for me. I gave got what I needed finally Narmadha ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

RE: [gdal-dev] moving averaging filter in GDAL.

2009-07-02 Thread Belaid MOA
Hi, As suggested by Frank and Even, I implemented a simple C++ version of gdalfilter.py (based on VRT driver) using the function below. Unfortunately, I keep getting the same data set as the source; no filtering is done at all! The destination file produced have the same content as the source

[gdal-dev] query on OGR and Database

2009-07-02 Thread sukesh laghate
Hello, I am new to OGR/GDAL and have gone through the tutorial listed in the help. However I could not find example of programeticaly connecting to Database. I would appreciate if you could provide pointers/examples on how to do so. I am using Oracle 10g spatial and MySQL databases. With regards