[R-sig-Geo] loading GML files into R
Roger Bivand
Roger.Bivand at nhh.no
Thu Sep 28 11:28:30 CEST 2006
On Thu, 28 Sep 2006, Paul Hiemstra wrote:
> Dear All,
>
> I am using sp and gstat to interpolate radiation data from the Dutch
> Radiation Monitoring Network. One of the goals of this project is to use
> inter operable data formats, in this case probably GML (Geography Markup
> Language). I have not found a package to parse GML files directly into R.
> Is anyone aware of a way to read GML files into R?
(Assuming GML vector data)
Which platform are you on? If Linux/Unix/OSX, install GDAL with support in
OGR for GML vector files, and use the rgdal package; this should work, but
needs care in installing Xerces and other libraries. If Windows, use the
binary rgdal package on CRAN to read a file converted from GML to one of
the small range of drivers available - for example using the FWTools suite
of Windows binaries - see ogrinfo and ogr2ogr in that suite.
Roger
>
> regards,
>
> Paul Hiemstra
> University of Utrecht
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo
mailing list