Need help in creating a grid

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help in creating a grid

opensrcguy
I have to create a grid to view the heatmap of my data on a geo location.

I am stuck with using some libraries that are used to create such grid.
Anyone here to help please ?

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Reply | Threaded
Open this post in threaded view
|

Re: Need help in creating a grid

Frede Aakmann Tøgersen-2
Yes, some one on this list may be able to help you but not before you show the list what you have been doing so far and where you get stucked.

Yours sincerely / Med venlig hilsen

Frede Aakmann Tøgersen
Specialist, M.Sc., Ph.D.
Plant Performance & Modeling

Technology & Service Solutions
T +45 9730 5135
M +45 2547 6050
[hidden email]
http://www.vestas.com

Company reg. name: Vestas Wind Systems A/S
This e-mail is subject to our e-mail disclaimer statement.
Please refer to www.vestas.com/legal/notice
If you have received this e-mail in error please contact the sender.



-----Original Message-----
From: R-sig-Geo [mailto:[hidden email]] On Behalf Of prabhu
Sent: 20. august 2015 21:49
To: [hidden email]
Subject: [R-sig-Geo] Need help in creating a grid

I have to create a grid to view the heatmap of my data on a geo location.

I am stuck with using some libraries that are used to create such grid.
Anyone here to help please ?

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Reply | Threaded
Open this post in threaded view
|

Re: Need help in creating a grid

manuel.schneider
See SpatialGridDataFrame in package sp

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Reply | Threaded
Open this post in threaded view
|

Re: Need help in creating a grid

geobernadotte
In reply to this post by opensrcguy
Hi,
just found that some days ago. No Idea if that is what you meant or need.

bb <- bbox(spdf)
cs <- c(0.1,0.1)  # cell size
cc <- bb[, 1] + (cs/2)  # cell offset
cd <- ceiling(diff(t(bb))/cs)  # number of cells per direction
grd <- GridTopology(cellcentre.offset=cc, cellsize=cs, cells.dim=cd)
sp_grd <- SpatialGridDataFrame(grd,
                            data=data.frame(id=1:prod(cd)))


from: http://gis.stackexchange.com/a/153958/8202

Cheers
Bernd


Am 20.08.2015, 21:49 Uhr, schrieb prabhu <[hidden email]>:

> I have to create a grid to view the heatmap of my data on a geo location.
>
> I am stuck with using some libraries that are used to create such grid.
> Anyone here to help please ?
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> [hidden email]
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo


--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo