[Rspatial-devel] [R-spatial-devel] sp geometry from WKT/WKB

Roger Bivand Roger.Bivand at nhh.no
Fri Apr 1 09:05:06 CEST 2011


On Fri, 1 Apr 2011, Michael Sumner wrote:

> Hello,

Hi,

I'm CC-ing to the R-forge successor to the sourceforge list.

>
> Are there any R level functions to generate Spatial* objects directly
> from WKT or WKB geometry?

WKT is in rgeos.

>
> If not, would it take much to expose importFromWkb() from the GDAL API
> in rgdal?

I think that you mean OGR rather than GDAL for importFromWkb() and 
importFromWkt()? I guess that it is possible, but haven't seen a need 
before.

>
> It's probably time that I learnt to work on rgdal under the hood,
> which I'm keen to do.
>

Great - I've added you with commit rights to the rgdal R-Forge project!

Best wishes,

Roger

> Cheers, Mike.
>
>
>
>

-- 
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 Rspatial-devel mailing list