[R-sig-Geo] converting points to grid

Tom Gottfried tom.gottfried at wzw.tum.de
Sun Jan 16 14:39:33 CET 2011


Leons,

Maybe that's what you mean:

grid <- as(as(points, "SpatialPixelsDataFrame"), "SpatialGridDataFrame")

Tom

P.S.: please post to the list instead of just writing me.

Am 16.01.2011 14:05, schrieb Leons Mwenda:
> Hi Tom,
> Have you come across on the way of converting SpatialPointDataFrame to
> SpatialPointGridFrame?
> Kindly regards
> Leons
>
>
> ----- Original Message ----
> From: Tom Gottfried<tom.gottfried at wzw.tum.de>
> To: r-sig-geo at r-project.org
> Sent: Sun, 16 January, 2011 13:50:57
> Subject: Re: [R-sig-Geo] from gps-coordinates to euclidean coordinates
>
> Hi Jan,
>
> spTransform in the package rgdal can do the job. You can reproject your
> GPS-coordinates (probably WGS84) into e.g. UTM and then substract the
> coordinates from one of your points from all to get relative coordinates.
>
> Tom
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>
>
>



More information about the R-sig-Geo mailing list