[R-sig-Geo] loading GML files into R
Roger Bivand
Roger.Bivand at nhh.no
Thu Sep 28 12:14:58 CEST 2006
On Thu, 28 Sep 2006, Paul Hiemstra wrote:
> I'm running Windows and the GML files will consist of point data.
>
> Thank for the fast response :),
Please try the route through FWTools binaries for Windows, ogr2ogr, and
let us know how you get on, I'm sure others will find your report useful.
You should be able to call ogr2ogr through system() from within R if you
need to.
Roger
>
> Paul
>
> At 11:28 28-9-2006, you wrote:
> >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
>
> _______________________________________________
> 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