Re: [gdal-dev] OGR Geometry methods

2011-07-13 Thread Frank Warmerdam
On Wed, Jul 13, 2011 at 4:23 PM, Marius Jigmond wrote: > aqfeat = aqLayer.GetNextFeature() > aqgeom = aqfeat.GetGeometryRef() > geomList = [aqgeom] > > while aqfeat is not None: #loop thru features in case of islands/multiple > polygons >   aqfeat = aqLayer.GetNextFeature() >   if aqfeat is not No

Re: [gdal-dev] CreateCopy() works great on some NITF, not on others

2011-07-13 Thread Eli Adam
Derek, >> This seems to work good for one NITF, but for another I am getting some >> problems. It seems like the one with the problems gets a copy created, but >> the images themselves are just all black. This could depend on your viewer, there is one thread about something similar when using

Re: [gdal-dev] OGR Geometry methods

2011-07-13 Thread Marius Jigmond
Frank, thanks for the clarification on iterating over the selection. I was able to run my script and in the simple case of returning one polygon feature it works great. However, I ran into some problems when I tried to assume that the filter would return multiple features. Is it possible to iterat

[gdal-dev] CreateCopy() works great on some NITF, not on others

2011-07-13 Thread Cole, Derek
Hello, As I have mentioned in earlier threads, I have been using GDAL to read NITF and make copies of some files. In particular, I have been creating NITFs copy with 2 images in them, from the original. This seems to work good for one NITF, but for another I am getting some problems. It seems

Re: [gdal-dev] FileGDB OGR driver test

2011-07-13 Thread Smith, Michael ERDC-CRREL-NH
Or anyone to download and test, just so its clear. Mike -- Mike Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 7/13/11 3:05 PM, "Smith, Michael ERDC-CRREL-NH" wrote: >Yes, it is ok for you to download and test. This is OSM data that I >created using ArcCatalog 10.

Re: [gdal-dev] FileGDB OGR driver test

2011-07-13 Thread Smith, Michael ERDC-CRREL-NH
Yes, it is ok for you to download and test. This is OSM data that I created using ArcCatalog 10. Jeff also has a layer of US States that I created from OGR. It did have the extents. Mike -- Mike Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 7/13/11 2:54 PM, "Paul R

Re: [gdal-dev] FileGDB OGR driver test

2011-07-13 Thread Paul Ramsey
The fact that sometimes you can see an extent (when you create a FGDB with OGR) seems to indicate a complexity beyond the driver simply not reading extents... are you certain this FGDB file has extents set? I assume it's OK for me to download it and test. P. On Wed, Jul 13, 2011 at 2:00 PM, Jeff

Re: [gdal-dev] FileGDB OGR driver test

2011-07-13 Thread Jeff McKenna
More feedback on the FileGDB driver: - we're trying to access an OSM road network for Colorado, stored in fgb format, created with ArcCatalog 10.0 (ftp://ftp.usace.army.mil/pub/erdc/crrel/rsgis/osm_colo_roads.zip) - using gdal-trunk and FileGDB_API_1_0Final - when executing ogrinfo for some

Re: [gdal-dev] PDF via podofo

2011-07-13 Thread Even Rouault
Selon Joaquim Luis : > Evan, > > It seams to work now. I say "seams" because with podofo it also requires > to have available "pdftoppm" > > gdal_translate lixo.pdf lixo.tiff > Input file size is 1239, 1754 > 0'pdftoppm' is not recognized as an internal or external command, Yes, this is expected

Re: [gdal-dev] Motion: Approve GDAL/OGR 1.8.1RC2 for release

2011-07-13 Thread Even Rouault
Selon Frank Warmerdam : > Motion: GDAL/OGR 1.8.1RC2 is approved as the official 1.8.1 > release. +1 Even ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Python WriteArray()

2011-07-13 Thread Jay L.
I am working on processing some raster images and have been really struggling with processing times. I have tracked the issue down to GDAL's WriteArray() function. I am cutting the image into blocks and processing in small chunks. This is facilitate working with really large images where the ent

[gdal-dev] Re: [gdal-1.8.0] Get new Coordinates from Geotiff avoiding black area

2011-07-13 Thread mett
Chaitanya, I do not understand how can I use that tool to reset the coordinates. Could you be more precise? Thanks! Luiz, thank you very much for your contribute, I need it for Java, I will try to convert it. Thank you again, Mett luizmotta wrote: > > Sorry Folk, > > I forgot the source

RE: [gdal-dev] ogr2ogr SQL Date Calculation

2011-07-13 Thread Langford, Robert
Michael, Thanks for that; got me going in the right direction. I was still experiencing 2 main problems: 1) Command "DATE /T" returning date format as DD/MM/ (SQL needs /MM/DD) 2) Still couldn't calculate one month ago in the SQL string (i.e. TODAY - 30 Days) However I think I've crac