Re: [gdal-dev] adding GCPs to RSAT-2 NITF format imagery_HH.ntf

2009-06-09 Thread Even Rouault
You can't. The NITF driver doesn't support setting GCPs in the imagery itself. When it reports GCPs while reading a NITF file, it takes them from the IGEOLO record that can contain up to 4 GCPs. But AFAIK, it wouldn't be easy to *set* arbitrary GCPs, as there must be necessary the 4 corners of th

[gdal-dev] adding GCPs to RSAT-2 NITF format imagery_HH.ntf

2009-06-09 Thread Gong, Shawn (Contractor)
hi list, I have run the following Python codes to add more GCPs to RSAT-2's single channel GeoTiff imagery_HH.tif. But when I apply it on RSAT-2 NITF format imagery_HH.ntf, all the GCPs went to an anxiliary file "imagery_HH_GCPs.ntf.aux.xml". How can I add the GCPs directly into imagery_HH.ntf?

Re: [gdal-dev] OGR and database filter on spatial extent

2009-06-09 Thread Brent Fraser
Frank, Interesting. I'm attempting to use Mapserver -> OGR -> VRT -> ODBC -> SqlServer2000 -> a table of 250k rows of point features. Testing with ogrinfo to return all the rows takes about 25 seconds, but with a "-spat" to get about 3000 rows takes < 2 seconds (very acceptable). And I d

Re: [gdal-dev] support for gml 3 in gdal

2009-06-09 Thread Frank Warmerdam
Jachym Cepicky wrote: Hi, I wanted to ask about current status of GML 3.x in OGR. Can it be created? Can I specify custom profiles? If not, is there any plan for implementing GML 3.1 to GML? Jachym, Chaitanya has a small contract to implement limited support for reading and I think writing

Re: [gdal-dev] OGR and database filter on spatial extent

2009-06-09 Thread Frank Warmerdam
Brent Fraser wrote: Hi All, In the case of accessing data in a relational database, does OGR have the ability to pass a spatial extent to the database to use as a filter on the geometry before sending the rows? Brent, Yes. The OGRLayer has a SetSpatialFilter() method for this. Some drive

[gdal-dev] OGR and database filter on spatial extent

2009-06-09 Thread Brent Fraser
Hi All, In the case of accessing data in a relational database, does OGR have the ability to pass a spatial extent to the database to use as a filter on the geometry before sending the rows? Thanks, Brent Fraser ___ gdal-dev mailing list gdal-dev@li

[gdal-dev] support for gml 3 in gdal

2009-06-09 Thread Jachym Cepicky
Hi, I wanted to ask about current status of GML 3.x in OGR. Can it be created? Can I specify custom profiles? If not, is there any plan for implementing GML 3.1 to GML? Thanks Jachym -- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://www.les-ejk.cz/pgp/Jach

Re: [gdal-dev] memory leak in hdf driver

2009-06-09 Thread Vincent Schut
issue filed as http://trac.osgeo.org/gdal/ticket/3023 Vincent Schut wrote: Hi, I'm afraid I've encountered a memory leak in the hdf driver. Context: because of massive parallel (cluster) processing, I'm reusing a python instance for lots of jobs. Some of these jobs use gdal to read and/or sav

[gdal-dev] memory leak in hdf driver

2009-06-09 Thread Vincent Schut
Hi, I'm afraid I've encountered a memory leak in the hdf driver. Context: because of massive parallel (cluster) processing, I'm reusing a python instance for lots of jobs. Some of these jobs use gdal to read and/or save data. In some cases, I saw the memory use of my python worker processes gr