spatial-interpolation

Average values of a point dataset to a grid dataset

你说的曾经没有我的故事 提交于 2019-11-28 05:08:36
I am relatively new to ggplot, so please forgive me if some of my problems are really simple or not solvable at all. What I am trying to do is generate a "Heat Map" of a country where the filling of the shape is continous. Furthermore I have the shape of the country as .RData . I used hadley wickham's script to transform my SpatialPolygon data into a data frame. The long and lat data of my data frame now looks like this head(my_df) long lat group 6.527187 51.87055 0.1 6.531768 51.87206 0.1 6.541202 51.87656 0.1 6.553331 51.88271 0.1 This long/lat data draws the outline of Germany. The rest of

Plotting interpolated data on map

百般思念 提交于 2019-11-27 10:37:24
I have survey data of species richness that was taken at various sites in the Chesapeake Bay, USA, and I would like to graphically present the data as a "heat map." I have a dataframe of lat/long coordinates and richness values, which I converted into a SpatialPointsDataFrame and used the autoKrige() function from the automap package to generate the interpolated values. First, can anyone comment as to whether I am correctly implementing the autoKrige() function? Second, I am having trouble plotting the data and overlaying a map of the region. Alternately, could I specify the interpolation grid

Average values of a point dataset to a grid dataset

安稳与你 提交于 2019-11-27 00:48:49
问题 I am relatively new to ggplot, so please forgive me if some of my problems are really simple or not solvable at all. What I am trying to do is generate a "Heat Map" of a country where the filling of the shape is continous. Furthermore I have the shape of the country as .RData . I used hadley wickham's script to transform my SpatialPolygon data into a data frame. The long and lat data of my data frame now looks like this head(my_df) long lat group 6.527187 51.87055 0.1 6.531768 51.87206 0.1 6

Plotting interpolated data on map

点点圈 提交于 2019-11-26 17:58:00
问题 I have survey data of species richness that was taken at various sites in the Chesapeake Bay, USA, and I would like to graphically present the data as a "heat map." I have a dataframe of lat/long coordinates and richness values, which I converted into a SpatialPointsDataFrame and used the autoKrige() function from the automap package to generate the interpolated values. First, can anyone comment as to whether I am correctly implementing the autoKrige() function? Second, I am having trouble