[gdal-dev] reading hdf4 files in R

2013-11-25 Thread Lucia Rueda Ramirez
Hi, I am trying to read hdf4 files in R. I have tried to install the gdal package from http://trac.osgeo.org/gdal/wiki/DownloadSource http://trac.osgeo.org/gdal/wiki/DownloadSource but I get an error message saying that the description file is missing (Error: Does not appear to be an R

[gdal-dev] Large shapefile issues

2013-11-25 Thread CARMAN, Darren
Hi List I notice on the OGR formats page for ESRI Shapefile the following is mentioned: Size Issues Geometry: The Shapefile format explicitly uses 32bit offsets and so cannot go over 8GB (it actually uses 32bit offsets to 16bit words). Hence, it is is not recommended to use

Re: [gdal-dev] Large shapefile issues

2013-11-25 Thread Chaitanya kumar CH
Darren, These limitations are a result of the shapefile reader/writer implementation. While the specification permits up to 8GB, the implementation might not use it fully. According to the specification a feature offset is stored as a 32-bit integer to a 16-bit word. So, that's (2^32)*16 bits or

[gdal-dev] Fwd: WRF NetCDF import

2013-11-25 Thread Etienne Tourigny
Forwarding to the list and others... -- Forwarded message -- From: Roger Veciana i Rovira rveci...@gmail.com Date: Mon, Nov 25, 2013 at 9:35 AM Subject: Re: [gdal-dev] WRF NetCDF import To: Etienne Tourigny etourigny@gmail.com As Etienne told you, the geotransform and

Re: [gdal-dev] reading hdf4 files in R

2013-11-25 Thread Etienne Tourigny
fwtool is really old so you should not use it and uninstall it. You may want to use the R package Rgdal, but I have not used iit under windows. http://cran.r-project.org/web/packages/rgdal/index.html On Mon, Nov 25, 2013 at 6:16 AM, Lucia Rueda Ramirez lucia.ru...@ba.ieo.eswrote: Hi, I

[gdal-dev] Nodata and compression artifacts

2013-11-25 Thread Simon Shak
I’m working with gdalwarp to reprocess a large amount of imagery to be compatible with another program that requires imagery to be in WGS84. The input imagery is compressed in MrSID format and does not include an internal mask for nodata. I don’t know if this is because the creator of the

Re: [gdal-dev] Nodata and compression artifacts

2013-11-25 Thread Even Rouault
Le lundi 25 novembre 2013 22:29:00, Simon Shak a écrit : I’m working with gdalwarp to reprocess a large amount of imagery to be compatible with another program that requires imagery to be in WGS84. The input imagery is compressed in MrSID format and does not include an internal mask for

Re: [gdal-dev] Nodata and compression artifacts

2013-11-25 Thread Simon Shak
I will look into the vet file. I often have multiple input files and didn't see a way to use the cutline option with multiple input cutline. On Nov 25, 2013 3:33 PM, Even Rouault even.roua...@mines-paris.org wrote: Le lundi 25 novembre 2013 22:29:00, Simon Shak a écrit : I’m working with

[gdal-dev] Slice Large GeoTiff into 1 Degree Tiles

2013-11-25 Thread Metzen
I have a bunch of large GeoTiff files (1.4GB, 4 latitude degrees x 8 longitude degrees). I need to slice each one up into 1 degree lat x 1 degree long tiles (with just a little bit of overage in each). Here is the gdalinfo output for one of the GeoTiff files: Driver: GTiff/GeoTIFF Files:

Re: [gdal-dev] Nodata and compression artifacts

2013-11-25 Thread Even Rouault
I often have multiple input files and didn't see a way to use the cutline option with multiple input cutline. You can try merging them into a single OGR layer (with ogr2ogr for example) On Nov 25, 2013 3:33 PM, Even Rouault even.roua...@mines-paris.org wrote: Le lundi 25 novembre 2013

Re: [gdal-dev] Nodata and compression artifacts

2013-11-25 Thread Simon Shak
Sorry my phone botched the reply. Meant to say having something like having 9 input files into gdalwarp and needing a cutline for each input to mask their individual Nodata. On Nov 25, 2013 3:44 PM, Even Rouault even.roua...@mines-paris.org wrote: I often have multiple input files and didn't

Re: [gdal-dev] Slice Large GeoTiff into 1 Degree Tiles

2013-11-25 Thread Metzen
Thanks, that's exactly what I'm looking for. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Slice-Large-GeoTiff-into-1-Degree-Tiles-tp5091122p5091131.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___

Re: [gdal-dev] WRF NetCDF import

2013-11-25 Thread Lee Eddington
Roger, Thank you for the info and link. Using a modified version of your code I was able to create and import into GRASS a GeoTIFF with the proper georeferencing. The coordinate system units are in meters though, and I'd prefer to have them in degrees lat/lon. Do you know if there's a way to

Re: [gdal-dev] Large shapefile issues

2013-11-25 Thread Even Rouault
Le lundi 25 novembre 2013 11:42:23, CARMAN, Darren a écrit : Hi List I notice on the OGR formats page for ESRI Shapefile the following is mentioned: Size Issues Geometry: The Shapefile format explicitly uses 32bit offsets and so cannot go over 8GB (it actually

Re: [gdal-dev] Large shapefile issues

2013-11-25 Thread Stephen Woodbridge
Unless something has changed, I have never been able to work with dbf file over 2GB using shapelib. -Steve W On 11/25/2013 5:52 PM, Even Rouault wrote: Le lundi 25 novembre 2013 11:42:23, CARMAN, Darren a écrit : Hi List I notice on the OGR formats page for ESRI Shapefile the following is

Re: [gdal-dev] Large shapefile issues

2013-11-25 Thread Even Rouault
Le mardi 26 novembre 2013 00:46:18, Stephen Woodbridge a écrit : Unless something has changed, I have never been able to work with dbf file over 2GB using shapelib. With shapelib or OGR ? With shapelib, you need to define SAOffset to be a 64bit integer, which OGR does. The shapefile driver

[gdal-dev] Using Derived Bands(VRT) in .NET

2013-11-25 Thread xwh19910...@163.com
Hi, I am trying to read dataset using VRT Driver, and need using derived bands of VRT Datasets (linked in http://www.gdal.org/gdal_vrttut.html). Now I known it could be achieved in C++, but not achieved in C#(.Net) as the classlib of GDAL in .NET dosen't contain class

Re: [gdal-dev] WRF NetCDF import

2013-11-25 Thread Lee Eddington
I think I might be getting close. I found the following which I'm hoping will create the GeoTiff with angular units of degrees instead of linear units of meters: OGRErr OGRSpatialReference::SetAngularUnits(const char * pszUnitsName, double dfInRadians ) and tried to use it, but don't know the