Re: [gdal-dev] Fw: GDAL for windows

2013-09-02 Thread Jean-Claude Repetto
On 03/09/2013 01:32, nicholas.g.lawre...@tmr.qld.gov.au wrote: > "ogr2ogr -f "MapInfo File" "C:\DATA\2013\08\osm2\australia_lines.tab" > "C:\DATA\2013\08\osm2\australia-latest.osm.pbf lines" I tried the command you suggested, but it returns this error Unable to open datasource 'C:\DATA\2013\

Re: [gdal-dev] Fw: GDAL for windows

2013-09-02 Thread nicholas . g . lawrence
> > Hello all,I would like to translate an OSM .pbf file to MapInfo .tab, I am > running Windows XPI downloaded release-1310-gdal-1-10-mapserver-6-2.zip from > http://www.gisinternals.com/sdk/ and unzipped the files to "C:\Program > Files\GDAL"I then ran SDKShell.bat to get a command line; and the

[gdal-dev] GTiff stack to NetCDF

2013-09-02 Thread David Shean
Hi list, I'm trying to package a timeseries of GTiff rasters with identical projection/extent/resolution as a single NetCDF file for distribution. I've spent the past hour consulting the online doc and playing with gdal_translate, gdalbuildvrt and gdalwarp without any success. Is there an ea

Re: [gdal-dev] Change of DECIMAL_PRECISION in AAIGrid

2013-09-02 Thread peifer
  I can't tell you how much thought there was behind the change from "%.f"  to "%.g". At least noone bothered to change the documentation which continues to tell us:  "You can alternatively specify the number of decimal places with the DECIMAL_PRECISION creation option." [http://www.gdal.org/frmt

Re: [gdal-dev] Change of DECIMAL_PRECISION in AAIGrid

2013-09-02 Thread CABO
Hi Peifer. Thank you for your comments. They do explain more in depth what is happening. But as seen in your first example, the value 333.123456 is reduced to 300 while the value 0.00012345 is reduced to 0.0001. I think this is a big change in the relative values of each number. I am curious t

Re: [gdal-dev] Change of DECIMAL_PRECISION in AAIGrid

2013-09-02 Thread peifer
Casper Børgesen wrote > This is my syntax: > > gdal_translate -of AAIGrid -ot Float32 -co DECIMAL_PRECISION=2 > my_source.vrt my_target.asc > > I have tried the above syntax using gdal 1.9.2 and 1.10 and these are > examples from my results: > > 1.9.2: > ... > 3.77 3.83 3.89 3.87 3.79 3.49 3.03

[gdal-dev] Change of DECIMAL_PRECISION in AAIGrid

2013-09-02 Thread CABO
Hi list! I have just performed a test using gdal_translate to translate a GeoTIFF (referenced using a VRT file) to ASCII Grid, and I have stumpled upon an issue with precision. This is my syntax: gdal_translate -of AAIGrid -ot Float32 -co DECIMAL_PRECISION=2 my_source.vrt my_target.asc I hav