[gdal-dev] CEOS issues on WinXP

2009-09-21 Thread Pinner, Luke
Hi all, Opening ALOS AVNIR-2 & PRISM (CEOS format) images using GDAL is really slow and uses loads of memory on Windows XP. This includes things like gdalinfo and opening via the python bindings (gdal.Open()). I've tried (on WinXP) with various gdal installs (fwtools, osgeo4w, basic binaries) and

Re: [gdal-dev] ERROR 6: SetNoDataValue() not supported for this dataset.

2009-09-21 Thread Even Rouault
Selon Joaquim Luis : Very weird. In such cases, I'd recommand a 'make clean; make', especially if you've hacked your tree. If it still continues afterwards, you'll have to set a breakpoint in GDALRasterBand::SetNoDataValue() and see what calls it. > Yes, strange it is. I'm using trunk as well (fr

Re: [gdal-dev] ERROR 6: SetNoDataValue() not supported for this dataset.

2009-09-21 Thread Joaquim Luis
Yes, strange it is. I'm using trunk as well (from yesterday) but I don't get it when I use FWTools. Even weirder, I used GTiff just as an easy example but the original place where I saw it is with my gdalread MEX, which only reads a dataset and does not attempt to write it anywhere. Even Rouau

Re: [gdal-dev] ERROR 6: SetNoDataValue() not supported for this dataset.

2009-09-21 Thread Even Rouault
Selon Joaquim Luis : I can't reproduce your issue with trunk, nor can I understand how it can happen. This error message is thrown when a driver doesn't implement the SetNoDataValue() method. But the GTiff driver has supported it for ages. > Hi, > > In this example I get the (apparently innocuous

[gdal-dev] ERROR 6: SetNoDataValue() not supported for this dataset.

2009-09-21 Thread Joaquim Luis
Hi, In this example I get the (apparently innocuous) error message below. The file is correctly converted, but why is it complaining? gdal_translate w020n40.Bathymetry.srtm lixo.tiff ERROR 6: SetNoDataValue() not supported for this dataset. Input file size is 4800, 6000 0...10...20...30...40..

Re: [gdal-dev] 1.7 Release Planning

2009-09-21 Thread Peder Axensten
+1 On 21 sep 2009, at 16.55, Frank Warmerdam wrote: Howard Butler wrote: Speaking of which, are we going to release 1.7 on your birthday again? Howard, I would like to aim somewhat earlier - perhaps the end of October with a bit of room to slip if needed. Does anyone have particular featu

[gdal-dev] Re: gdal-dev Digest, Vol 64, Issue 45

2009-09-21 Thread Jeff
accounts from your Hotmail inbox. Add them now. http://clk.atdmt.com/UKM/go/167688463/direct/01/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090921/f7ff9a13/attachment-0001.html -

Re: [gdal-dev] OGRGeometry Distance

2009-09-21 Thread Frank Warmerdam
Yilmaz Arslanoglu wrote: Also, as another related question, I query the DEPCNT layer in one of my ENC files, and it has a geospatial reference. However, the points on the line string features themselves return NULL when they are queried with getSpatialReference(). Aren't they expected to return

[gdal-dev] Re: gdal_rasterize with a NetCDF file?

2009-09-21 Thread Even Rouault
Selon Scott Lewis : You've got the main point, but the meaning of '+' is a bit more subtle. The '+' indicates in fact support for the Create() method. Some drivers support updating existing datasets (like DTED for example), or CreateCopy() (translating entire existing dataset to the new format) bu

[gdal-dev] Re: gdal_rasterize with a NetCDF file?

2009-09-21 Thread Scott Lewis
Ah, thanks. I must have missed that. Looks like I'll have to find another way to accomplish what I'm trying to do then! Thanks for your help! Scott Hermann Peifer wrote: > The driver doesn't support updating netCDF files. gdalinfo --formats says: > > GTiff (rw+): GeoTIFF > (...) > netCDF (

[gdal-dev] Re: gdal_rasterize with a NetCDF file?

2009-09-21 Thread Hermann Peifer
The driver doesn't support updating netCDF files. gdalinfo --formats says: GTiff (rw+): GeoTIFF (...) netCDF (rw): Network Common Data Format The "+" indicates update support, which is obviously missing for netCDF format. Hermann Original Message Subject: Re:gdal_rasteri

Re: [gdal-dev] OGRGeometry Distance

2009-09-21 Thread Even Rouault
Selon Christopher Barker : I'd note that in the OGR XPlane driver, a function is available to compute the distance on the spheroid. You could use it if you don't need much accuracy : http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/xplane/ogr_xplane_geo_utils.cpp (It's an internal fu

Re: [gdal-dev] gdal_rasterize with a NetCDF file?

2009-09-21 Thread Scott Lewis
Evan, Thanks, that seems to be getting me in the right direction: I'm no longer getting the segfault error, or "ERROR 5" at all. However, now it's giving me a different error. The first line has the: 0...10...20...30...40...50...60...70...80...90...100 - done. message, like I would expect from w

Re: [gdal-dev] OGRGeometry Distance

2009-09-21 Thread Christopher Barker
Yilmaz Arslanoglu wrote: I wanted to compute the distance between two points, you need to be clear by what you mean here: I suspect you mean: "The shortest distance between two points following the surface of the earth" In which case, what you are looking for is referred to as the geodesic

Re: [gdal-dev] gdal_rasterize with a NetCDF file?

2009-09-21 Thread Even Rouault
Selon Scott Lewis : Scott, Anytime you want to access to a subdataset with a gdal utility, you must use the value of the relevant SUBDATASET_xxx_NAME metadata item, in that instance 'NETCDF:"Albedo.nc":Albedo_with_1400_Local_Time_of_Measurement' The segmentation fault however wasn't expected, so

Re: [gdal-dev] Motion: Extend Maintenance Contract

2009-09-21 Thread Daniel Morissette
Frank Warmerdam wrote: Folks, Motion: Extend Chaitanya's maintenance contract to December 31st. --- Chaitanya has only billed $1224.00 during the planned maintenance period ending August 31st, 2009 out of available funding of $6000.00. Chaitanya has indicate greater time availability and a wi

Re: [gdal-dev] Motion: Extend Maintenance Contract

2009-09-21 Thread Even Rouault
Selon Frank Warmerdam : +1 Best regards > Folks, > > Motion: Extend Chaitanya's maintenance contract to December 31st. > > --- > > Chaitanya has only billed $1224.00 during the planned maintenance period > ending August 31st, 2009 out of available funding of $6000.00. Chaitanya > has indicate g

[gdal-dev] Problem converting .gml to shapefile

2009-09-21 Thread Adrián Ribao Martínez
Hello everybody, I have a problem converting a gml file into .shp. I'm using this command: ogr2ogr -append -f "ESRI Shapefile" limits limits.gml -nlt multipolygon but it's not working, it seems that only one geometry per feature is converted. What am I doing wrong? You can have a look at th

[gdal-dev] gdal_rasterize with a NetCDF file?

2009-09-21 Thread Scott Lewis
Hi, I'm still fairly new at using GDAL, but I am having trouble burning a vector image onto a NetCDF file. I've had success with using gdal_rasterize to burn a vector onto a GeoTIFF file, but when I try to burn the same vector onto a NetCDF file, I get an error. Based on the error, I'm suspectin

Re: [gdal-dev] Motion: Extend Maintenance Contract

2009-09-21 Thread Tamas Szekeres
+1 Best regards, Tamas 2009/9/21 Frank Warmerdam > Folks, > > Motion: Extend Chaitanya's maintenance contract to December 31st. > > --- > > Chaitanya has only billed $1224.00 during the planned maintenance period > ending August 31st, 2009 out of available funding of $6000.00. Chaitanya > ha

[gdal-dev] Re: Problem with gdal_translate

2009-09-21 Thread Hermann Peifer
gdal_translate -scale src_dataset.asc dst_dataset.tif -scale [src_min src_max [dst_min dst_max]]: Rescale the input pixels values from the range src_min to src_max to the range dst_min to dst_max. If omitted the output range is 0 to 255. If omitted the input range is automatically computed

RE: [gdal-dev] Problem with gdal_translate

2009-09-21 Thread Chris Emberson
Thanks for your reply. Would you be able to give me an example of the syntax for the gdal_translate option? How do I change the dynamics to 8 bits? -scale [src_min src_max [dst_min dst_max]]: Thanks Chris > Date: Fri, 11 Sep 2009 18:06:48 +0200 > From: even.roua...@mines-paris.org > To: chris

[gdal-dev] OGRGeometry Distance

2009-09-21 Thread Yilmaz Arslanoglu
Hi all; I wanted to compute the distance between two points, and for this reason I tried the "OGRGeometry::Distance" member function. However, I saw that this function only returns the linear distance between the objects, regardless of their geospatial reference. (as it is also stated somewhere o

[gdal-dev] 1.7 Release Planning

2009-09-21 Thread Frank Warmerdam
Howard Butler wrote: Speaking of which, are we going to release 1.7 on your birthday again? Howard, I would like to aim somewhat earlier - perhaps the end of October with a bit of room to slip if needed. Does anyone have particular features they want to see accomplished in time for 1.7? I'd

Re: [gdal-dev] Motion: Extend Maintenance Contract

2009-09-21 Thread Howard Butler
On Sep 20, 2009, at 10:19 PM, Frank Warmerdam wrote: Folks, Motion: Extend Chaitanya's maintenance contract to December 31st. --- Chaitanya has only billed $1224.00 during the planned maintenance period ending August 31st, 2009 out of available funding of $6000.00. Chaitanya has indicat

[Gdal-dev] Extent of a set of tiles

2009-09-21 Thread darrepac
Dear all, I have a set of tiles. I would like to know the polygon coordinates which describe the extent of this set of tiles. Is there a way to make this with GDAL? I saw the possibility to make a rectangular extent but here it is more a polygon (as the set of tiles doesn't represent necessary a

Re: [gdal-dev] Problems with TIFF internal symbols

2009-09-21 Thread Antonio Valentino
Hi Francesco, thanks for your feedback - Original Message - From: "Francesco P. Lovergine" To: "Antonio Valentino" Cc: Sent: Monday, September 21, 2009 10:45 AM Subject: Re: [gdal-dev] Problems with TIFF internal symbols On Fri, Sep 18, 2009 at 08:55:03AM +0200, Antonio Valentino

Re: [gdal-dev] Problems with TIFF internal symbols

2009-09-21 Thread Francesco P. Lovergine
On Fri, Sep 18, 2009 at 08:55:03AM +0200, Antonio Valentino wrote: > Hi list, > I'm trying to use OTB (Orfeo ToolBox) on Debian Sid with GDAL 1.6.2 and > I get a lot of segmentation fault related to GDAL and TIFF files. > > A guy on the OTB mailing list suggested that it could depend on the > "wit

Re: [gdal-dev] Spatialite oddness

2009-09-21 Thread Rahkonen Jukka
Hi, Thanks a lot. It was indeed enough to put a new dll into FWTools bin directory. Right now I am pleased enough because I can handle the data storaged in Spatialite database with both FWTools and current Spatialite programs. However, Spatialite database feels so handy that it attracts me to t

Re: [gdal-dev] Cassini_Soldner warping using WGS84 GCPs is distorted

2009-09-21 Thread Martin Geng
Hi Frank, thank you for your answer. I have tried gdalwarp -t_srs EPSG:4326 -tr 0.031156 0.019021 pic_gcp.tif result.tif but neither with QGis nor with SharpMap the map is rendered undistorted. And that although the sizes now have proper values... Any idea? Best regards, Martin ..\FWToo