Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-15 Thread Peter J Halls
Dear All, Mateusz Loskot wrote: % Snip Yes. Also, most applications I've seen using OGR do define their own data models and translate OGRFeature to features of their own types. Perhaps it would be interesting to know why they don't use OGRFeature as a part of their data model, what's

Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-15 Thread Jan Hartmann
I was thinking along the same lines, but more in the direction of OGR as an archival standard. I have been working with archives and stored maps all my life and am now busy with lots of digital historical maps. For raster maps the best storing format is Geotiff, from which all other formats

Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-15 Thread Peter J Halls
Jan, for a vector archival format, surely GML is the nearest equivalent to Geotiff? That should preserve all information; be vendor neutral; and it be possible to retrieve all information in the future. Peter Jan Hartmann wrote: I was thinking along the same lines, but more in the

Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-15 Thread Jan Hartmann
Personally, I find GML far too complex to be of practical use (for my own purposes, mind). The GML 3.1 specification is 595 pages of small print, almost none of which are part of existing datasets. I just want to store existing datasets in a system-independent way, and preferably, to be able

[gdal-dev] Gdal / Python / Win7 crash with ReadAsArray()

2010-01-15 Thread Daniel Victoria
Hi, I'm trying to use Gdal in a python program in Win7 (32 bit - portuguese). I have python 2.6.2 and installed the gdal libraries following the instructions in this page: http://pypi.python.org/pypi/GDAL/ That is, I have the GDAL 1.6.1 python extension (GDAL-1.6.1.win32-py2.6.exe) and installed

[gdal-dev] Locking of Open Shapefile

2010-01-15 Thread Joel Odom
I've discovered that when I use OGRSFDriverRegistrar::Open to open a Shapefile, the file remains locked so that another process can't open the file until after I've called OGRDataSource::DestroyDataSource. Is there any way to prevent the file from being locked? Thanks! --

[Gdal-dev] gdal_translate .tif to .ecw

2010-01-15 Thread gpsguido
I want to convert .tif to .ecw . I use FWtools shell. Would like to run it in batch so I have following: for %f in (*.tif) do gdal_translate -of ECW -co TARGET=92 -expand rgb -co DATUM=RD -co PROJ=DUTCHNEW %f %f.ecw with result in : gdal_translate -of ECW -co TARGET=92 -expand rgb -co DATUM=RD

[gdal-dev] OziExplorer OZF binary format specification

2010-01-15 Thread Klokan Petr Přidal
Hi folks! I published at https://svn.osgeo.org/gdal/sandbox/klokan/ozf/ the description, sample files and links to existing implementation of the popular OziExplorers OZF2 and OZFx3 binary formats done by hnedka user of the Global Mapper Forum. The description is derived from the code of

[gdal-dev] error about gdal shared libraries from within GRASS

2010-01-15 Thread Isaac Ullah
Hi list, I have recently been trying to compile and install 64 bit GRASS7 with 64 bit GDAL1.6.3 on 64 bit Ubuntu 9.10. I have successfully compiled both packages (with no errors), but am getting this error upon GRASS startup when the GRASS gui loads and first tries to access GDAL: g.list:

[gdal-dev] gdal + ace2-data

2010-01-15 Thread Helmut Kudrnovsky
hi, has anyone information if gdal is able to read ACE - Altimeter Corrected Elevations-DEM-data from ESA? overview ace2-data http://www.cse.dmu.ac.uk/EAPRS/products_ace_overview.html 3 SECOND DATASET - Data_Format_and_Source_3S

Re: [gdal-dev] gdal + ace2-data

2010-01-15 Thread Even Rouault
Helmut, From the doc, the ACE tiles are just raw files. So this is the perfect use case for using VRT descriptions for raw files : http://www.gdal.org/gdal_vrttut.html#gdal_vrttut_vrt For example, for the 30N000E.ACE file, you can create a 30N000E.VRT description file VRTDataset

Re: [gdal-dev] Gdal / Python / Win7 crash with ReadAsArray()

2010-01-15 Thread Christopher Barker
Daniel Victoria wrote: I'm trying to use Gdal in a python program in Win7 (32 bit - portuguese). I have python 2.6.2 and installed the gdal libraries following the instructions in this page: http://pypi.python.org/pypi/GDAL/ That is, I have the GDAL 1.6.1 python extension

Re: [gdal-dev] Locking of Open Shapefile

2010-01-15 Thread Frank Warmerdam
Joel Odom wrote: I've discovered that when I use OGRSFDriverRegistrar::Open to open a Shapefile, the file remains locked so that another process can't open the file until after I've called OGRDataSource::DestroyDataSource. Is there any way to prevent the file from being locked? Thanks!

Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-15 Thread Frank Warmerdam
Jan Hartmann wrote: 1) If a map is converted to OGR and converted back, there should be an option of getting it back byte-identical. Law #1 of archiving: always make sure that you can get back the original Jan, I think this is generally impractical with most OGR formats. In most cases

Re: [gdal-dev] suppressing libtiff warnings

2010-01-15 Thread Frank Warmerdam
Richard Buenger wrote: Is there some way to turn off libtiff warning messages generated by GDAL calls? How do I tell GDAL to set the libtiff warning handler to null? using c# gdal wrapper in .NET Richard, I think you can call gdal.PushErrorHandler( CPLQuietErrorHandler ) to supress all

Re: [gdal-dev] Locking of Open Shapefile

2010-01-15 Thread Joel Odom
Thanks, Frank. I'll check source code of the FalconView Shapefile overlay and see if it is requesting exclusive access. That could be the problem and I could change that as there is no need for FalconView to have exclusive access when it is only reading. On Fri, Jan 15, 2010 at 8:40 PM, Frank

Re: [gdal-dev] UTF8/Wide chars in path

2010-01-15 Thread Frank Warmerdam
ogr user wrote: Dear all, I've been looking around GDAL codebase and I can't see anything that would deal with wide/multybyte characters for file names/paths on Windows. Would you please confirm that on Windows GDAL will only be able to open files with pure ASCII names, not international

Re: [Gdal-dev] When GDAL 1.7.0 branch?

2010-01-15 Thread Frank Warmerdam
Mateusz Loskot wrote: One more thing if I may, the Wiki/Roadmap say the RC1 is planned on Dec 15, 2009. I understand the schedule has changed. Would you have new date of RC1? Mateusz, I'd like to issue RC1 by January 19th. Are there things any of the developers are wanting to get in before

[gdal-dev] Mosaic to vrt format with gdalwarp

2010-01-15 Thread Eli Adam
Hi all, I'm having some trouble using gdalwarp to mosaic ArcInfo Binary Grid files to vrt. Here is what I want to do and works in .tif. I mosaic the three grids be... to test2.tif: gdalwarp -t_srs EPSG:2913 -s_srs EPSG:2994 -srcnodata 0 0 0 -dstnodata 0 0 0 -of GTIFF be44123g8b

Re: [gdal-dev] Mosaic to vrt format with gdalwarp

2010-01-15 Thread Frank Warmerdam
Eli Adam wrote: Hi all, I'm having some trouble using gdalwarp to mosaic ArcInfo Binary Grid files to vrt. Here is what I want to do and works in .tif. I mosaic the three grids be... to test2.tif: gdalwarp -t_srs EPSG:2913 -s_srs EPSG:2994 -srcnodata 0 0 0 -dstnodata 0 0 0 -of GTIFF be44123g8b

Re: [gdal-dev] Mosaic to vrt format with gdalwarp

2010-01-15 Thread John C. Tull
On Jan 15, 2010, at 8:29 PM, Frank Warmerdam wrote: Eli Adam wrote: Hi all, I'm having some trouble using gdalwarp to mosaic ArcInfo Binary Grid files to vrt. Here is what I want to do and works in .tif. I mosaic the three grids be... to test2.tif: gdalwarp -t_srs EPSG:2913 -s_srs EPSG:2994

Re: [gdal-dev] Mosaic to vrt format with gdalwarp

2010-01-15 Thread Eli Adam
Frank and John, Thanks for the suggestions. I did take the advice to use gdalbuildvrt and then warp that: gdalbuildvrt gdalbuildvrt.vrt be44123g8a be44123g8b be44123g8c be44123h7 be44123h8a be44123h8b be44124g1 be44124h1 be45123a7 be45123a8 be45124a1 gdalwarp -t_srs EPSG:2913 -s_srs