[R-sig-Geo] Getting the other GIS to recognize files created by writeRaster()

Dylan Beaudette debeaudette at ucdavis.edu
Thu Oct 20 16:33:17 CEST 2011


Thanks Robert. It may be 2025 by the time the USDA installs ArcGIS 10. 
Something to look forward to.

Dylan

On Sunday, October 16, 2011, Robert J. Hijmans wrote:
> Dylan, It seems to me that this problem was fixed in ArcGIS 10. Perhaps a
> good reason to upgrade? Robert
> 
> On Thu, Oct 13, 2011 at 10:57 AM, Dylan Beaudette <dylan.beaudette at gmail.com
> > wrote:
> 
> > I can't believe that I am asking for advice on how to assist my
> > special-needs GIS software with recognizing files created by the
> > raster/rgdal packages.
> >
> > Recently (after some silent update by IT no doubt), I noticed that
> > files created like this:
> >
> > writeRaster(r.mast,  filename='spatial_data/latest/mast-model',
> > datatype='FLT4S', format='ENVI', overwrite=TRUE, NAflag=-999)
> >
> > ... aren't read-in properly by ArcGIS (9.3.1). Specifically, the
> > raster statistics and the NODATA value aren't read from the file or
> > from the .xml file that is automatically generated by GDAL. I have
> > tried all of the different formats supported by the raster package,
> > with the 'ENVI' format getting the closest to working (statistics
> > almost correct but missing NODATA information). Are there any
> > additional things I can do to help ArcGIS figure these files out
> > without any tweaking from within the hulking beast? Ideally, I would
> > like to update model estimates on a semi-regular basis and have the
> > files ready for viewing by colleagues-- without manual intervention.
> >
> > Thanks!
> >
> > Dylan
> >
> > _______________________________________________
> > R-sig-Geo mailing list
> > R-sig-Geo at r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> >
> 


-- 
Dylan E. Beaudette
USDA-NRCS Soil Scientist
California Soil Resource Lab
http://casoilresource.lawr.ucdavis.edu/



More information about the R-sig-Geo mailing list