All Questions
7
questions
5
votes
1
answer
376
views
raster and polygons in leaflet, without raster interpolation
I'm trying to display several layers in leaflet (or mapview), one of which is a raster in EPSG:27700. The only way I manage to adequately overlay those layers is through the default latlong projection,...
2
votes
1
answer
309
views
Issue plotting generated polygon grid to leaflet
I am trying to create a polygon grid to plot in leaflet, but am running into an error that I cannot seem to figure out:
library(leaflet)
library(raster)
library(sf)
library(rgdal)
r <- raster(ext =...
0
votes
1
answer
926
views
plot a map using lat and lng coordinates in R
My data set has 4 columns which are station_name, station_lat, station_lng and count.This is the example of my data set.
stations <- data.frame(station = c("StreeterDr", "MichiganAve&...
0
votes
1
answer
169
views
Misalignment between POSGAR94 polygons and WGS84 leaflet map
I need to draw a bunch of polygons from this dataset on a leaflet map on R:
The coordinates are in POSGAR94, but I need them in WGS84 to plot on leaflet (over a OpenStreetMap layer) and to compare ...
1
vote
0
answers
38
views
Convert edit_feature into an sp object
Drawing a polygon using R leaflet, how can the drawn object be converted into an sp object? The goal is to use it for filtering spatial points.
library(leaflet.extras)
library(sp)
library(geojsonio)
...
3
votes
1
answer
3k
views
add state borders to the output of leaflet where the input is counties shapefile
I downloaded the county shapefile off of data.gov. I can use them in leaflet as follows to plot counties in WA, ID and OR. I would like to make the state borders thicker. How can I do that?
counties ...
1
vote
1
answer
50
views
leaflet() draws shapefile as giant rectangle
I'm running into a problem with leaflet where it is drawing a giant rectangle instead of the shapes. I'm certain there is some issue with the format of the shapefile, but I can't determine what's ...