[gdal-dev] Re: NITF JPEG2000/Kakadu vsisubfile/mechanism.

2010-10-26 Thread turtlewax
Need to make the jp2kakdataset recognize vsisubfile. Guidance appreciated. === gdal_translate -of NITF -co IC=C8 foo.tif foo.ntf Input file size is 5677, 2428 ERROR 4: `/vsisubfile/933_41351268,foo.ntf' not recognised as a supported file format.

[gdal-dev] Issue with python bindings.

2010-10-26 Thread Ivan Willig
Hi list, I am having an issues with using the python swig based bindings. I am on Fedora 13 using the default gdal rpm, which is at version 1.6.2. My issue is when i stack method calls. For example when I do the following: ogr.Open(/home/ivan/dev/bigapps/data/nyco.shp).GetLayer().GetFeature(0)

Re: [gdal-dev] Issue with python bindings.

2010-10-26 Thread Frank Warmerdam
Ivan Willig wrote: Hi list, I am having an issues with using the python swig based bindings. I am on Fedora 13 using the default gdal rpm, which is at version 1.6.2. My issue is when i stack method calls. For example when I do the following:

RE: [gdal-dev] Issue with python bindings.

2010-10-26 Thread Jason Roberts
Ivan, Frank, A month ago I started a gotchas page with Even Rouault that discusses this issue: http://trac.osgeo.org/gdal/wiki/PythonGotchas. If you have a moment, please consider adding your examples as other cases that cause the lifetime problem. Also (Frank) if there is any general advice

Re: [gdal-dev] Issue with python bindings.

2010-10-26 Thread Ivan Willig
Thanks Jason, I will add my examples when I get a chance. Ivan Willig On Tue, Oct 26, 2010 at 10:59 AM, Jason Roberts jason.robe...@duke.eduwrote: Ivan, Frank, A month ago I started a gotchas page with Even Rouault that discusses this issue:

[gdal-dev] ogrinfo wildchar in the datasource?

2010-10-26 Thread Sebastian E. Ovide
Hi All, Is there anyway to make gdal read from multiple folders ? something like ogrinfo mydata/* ? where mydata has a lot of subfolders and any of those subfolders have shape files. (I have some folders with tens of folders with shape files that I need to display with to MapServer. Just

[gdal-dev] Re: warp, translate and world files

2010-10-26 Thread Hermann Peifer
On 25/10/2010 11:17, Paul Meems wrote: Hi list, I've got several png files with worldfiles. I need them in another projection (28992 -- 3785). I'm using gdalwarp to reproject to a tiff file and then I use gdal_translate to create a png file again. My original png file is about 25 kB, the warped

Re: [gdal-dev] ogrinfo wildchar in the datasource?

2010-10-26 Thread Frank Warmerdam
Sebastian E. Ovide wrote: Hi All, Is there anyway to make gdal read from multiple folders ? something like ogrinfo mydata/* ? where mydata has a lot of subfolders and any of those subfolders have shape files. (I have some folders with tens of folders with shape files that I need to

Re: [gdal-dev] ogrinfo wildchar in the datasource?

2010-10-26 Thread Sebastian E. Ovide
...probably I will copy (or move) all the files under the same folder... I do not like too much this approach... as I would prefer to maintain the original directory hierarchy... but it will make its job... On Tue, Oct 26, 2010 at 5:25 PM, Frank Warmerdam warmer...@pobox.comwrote: Sebastian E.

RE: [gdal-dev] ogrinfo wildchar in the datasource?

2010-10-26 Thread Moskovitz, Bob
Sebastian, Why not create a script to find all the files and pass it to ogrinfo. For instance, if I wanted to run ogrinfo on all shapefiles in mydata, you can do something like this little bash script: for shapefile in `find mydata -name *.shp` do ogrinfo -al -so $shapefile

[gdal-dev] Intent to Package GDAL/OGR 1.7.3

2010-10-26 Thread Frank Warmerdam
Folks, I would like to package GDAL/OGR 1.7.3 in the near future. Does anyone have anything they see as critical for a 1.7.3 release? If I don't hear anything back, I hope to prepare a release candidate before the end of this week. To the best of my knowledge we don't have a formal release

[gdal-dev] Motion: RFC 7 - Use VSILFILE for VSI*L Functions

2010-10-26 Thread Even Rouault
Folks, Motion: I move to adopt RFC 7: Use VSILFILE for VSI*L Functions. http://trac.osgeo.org/gdal/wiki/rfc7_vsilapi Starting with my +1 Best regards, Even ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

[gdal-dev] problem with the OGR VRT example?

2010-10-26 Thread John Cartwright
Hello All, I was looking at the OGR VRT example on http://www.gdal.org/ogr/drv_csv.html, and it doesn't seem to work - complains that unrecognized driver. Am I missing something? Following example on http://www.gdal.org/ogr/drv_csv.html, 1) created a text file (test.csv) with the following:

Re: [gdal-dev] problem with the OGR VRT example?

2010-10-26 Thread Even Rouault
Works for me (tested with 1.7.2, but there's no reason 1.7.1 doesn't work). Check that OGRVRTDataSource is on the first line of the test.vrt file without any extra character (space, newline, etc...) before. Le mardi 26 octobre 2010 18:19:44, John Cartwright a écrit : Hello All, I was

Re: [gdal-dev] Motion: RFC 7 - Use VSILFILE for VSI*L Functions

2010-10-26 Thread Frank Warmerdam
Even Rouault wrote: Folks, Motion: I move to adopt RFC 7: Use VSILFILE for VSI*L Functions. http://trac.osgeo.org/gdal/wiki/rfc7_vsilapi Starting with my +1 +1 Frank -- ---+-- I set the clouds in motion - turn up

Re: [gdal-dev] Motion: RFC 7 - Use VSILFILE for VSI*L Functions

2010-10-26 Thread Daniel Morissette
Even Rouault wrote: Folks, Motion: I move to adopt RFC 7: Use VSILFILE for VSI*L Functions. http://trac.osgeo.org/gdal/wiki/rfc7_vsilapi +1 Daniel -- Daniel Morissette http://www.mapgears.com/ ___ gdal-dev mailing list

RE: [gdal-dev] Intent to Package GDAL/OGR 1.7.3

2010-10-26 Thread Corrado, George P.
Hello, Maybe make one of the Java SWIG examples read in DTED and fetch an elevation from a point. Thanks, George -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Frank Warmerdam Sent: Tuesday, October 26, 2010 1:02 PM To:

[gdal-dev] Re: ogrinfo wildchar in the datasource?

2010-10-26 Thread Jukka Rahkonen
Sebastian E. Ovide sebastian.ovide at gmail.com writes: Hi All, Is there anyway to make gdal read from multiple folders ? something like ogrinfo mydata/* ? where mydata has a lot of subfolders and any of those subfolders have shape files. (I have some folders with tens of folders with

Re: [gdal-dev] Motion: RFC 7 - Use VSILFILE for VSI*L Functions

2010-10-26 Thread Tamas Szekeres
+1 Tamas 2010/10/26 Even Rouault even.roua...@mines-paris.org Folks, Motion: I move to adopt RFC 7: Use VSILFILE for VSI*L Functions. http://trac.osgeo.org/gdal/wiki/rfc7_vsilapi Starting with my +1 Best regards, Even ___ gdal-dev

Re: [gdal-dev] Motion: RFC 7 - Use VSILFILE for VSI*L Functions

2010-10-26 Thread Howard Butler
+1. +1 for making VSIL_STRICT_ENFORCE active when building debug. We already do that for some stuff in the swig bindings with void pointers that compiler can't easily detect mixups of. Howard On Oct 26, 2010, at 1:37 PM, Tamas Szekeres wrote: +1 Tamas 2010/10/26 Even Rouault

[gdal-dev] new nearblack feature

2010-10-26 Thread brian
Hello everybody A new switch has been added to nearblack, -setmask, nearblack will write a mask band to mask out the nodata areas. Brian ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev