[R-sig-Geo] longitude, latitude, and heat value

Alex Mandel tech_dev at wildintellect.com
Thu Feb 27 08:14:54 CET 2014


gstat

In general this is called interpolation, where you create a raster based
on known point values that is a continuous surface. Once you generate
the surface you can plot it applying an appropriate color ramp.

There are many types of interpolation, start with IDW as it's easiest to
understand. Depending on the distribution of your points you may need to
move onto more advanced algorithms.

Outside of R this can also be done easily with SAGA, GRASS, or QGIS.

Enjoy,
Alex

On 02/26/2014 05:50 PM, william claster wrote:
> I am resending this, since I did not confirm my subscription before mailing
> it before:
> 
> Hi. I have data like that below. In particular I have Latitude, Longitude,
> and Value. I want to make a "heat map" of this data. The data points are in
> Japan and I want to have a map of Japan and then a color overlay of the
> Value variable as the heat. Can anyone suggest a package and an "easy" way
> to do this?
> Thanks!
> 
> 
> 
> 
> 
>          X       Captured.Time Latitude Longitude Value Unit Location.Name
> 1 12696963 2012-08-07 11:00:51 39.16094  140.4883    45  cpm
> 2  2056198 2013-11-10 03:14:19 32.84428 -117.2240    47  cpm
> 3   727957 2014-01-28 04:47:54 35.80605  139.3789    28  cpm
> 4  2864220 2013-10-22 19:41:53 35.07816 -106.6123    50  cpm
> 5  5787688 2013-06-13 04:13:57 35.83174  136.2027    35  cpm
> 6  6191345 2013-05-28 06:48:34 34.78944  137.9496    32  cpm
>   Device.ID                           MD5Sum Height Surface Radiation
> 1        NA b0465019b46289b82450c39ce1397b98     NA                NA
> 2        NA 8fa14a1227d23e6cf286785e8843cc39     NA                NA
> 3        NA c72cd7f9cedd59cf6e6892049dfbf9a0     NA                NA
> 4        NA aca82e39ff9098e45eea04f661f68dc7     NA                NA
> 5        NA cc9394e6dceb91f0e0de97cc2db57e19     NA                NA
> 6        NA f18d194a41e1448c7776dbeba8b351af     NA                NA
>                Uploaded.Time Loader.ID
> 1  2012-08-13 19:16:10.18555     10832
> 2 2013-12-05 01:47:24.154971     13958
> 3 2014-01-29 22:55:39.138043     14451
> 4 2013-10-26 13:50:17.629869     13743
> 5 2013-06-16 16:17:21.148239     12930
> 6 2013-06-04 23:31:55.455323     12841
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> 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