Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thierry Feuillet
SpatialTreeP
Commits
cc3910a5
Commit
cc3910a5
authored
Dec 14, 2021
by
Thierry Feuillet
Browse files
index
parent
19a5415b
Pipeline
#9437
passed with stage
in 24 seconds
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
data/parcelles.cpg
deleted
100644 → 0
View file @
19a5415b
UTF-8
\ No newline at end of file
data/parcelles.dbf
View file @
cc3910a5
No preview for this file type
index.Rmd
View file @
cc3910a5
...
...
@@ -85,15 +85,27 @@ Row {data-width=600}
```{r, eval = TRUE, echo = FALSE, message=FALSE, warning=FALSE}
parcelles <- st_read("data/parcelles.shp", quiet = T)
vues <- parcelles %>% filter(Terrain == "VU") %>% st_centroid()
parcelles$shift2 <- cut(parcelles$shift,
include.lowest = TRUE,
right = FALSE,
dig.lab = 4,
breaks = c(-212, -30, 50, 100, 308)
)
# map <- mapview(parcelles$shftQrt, legend=F, col.regions="red",
# map.types = c("OpenTopoMap"))
# setView(map@map, lng = 1.84, lat = 42.6, zoom=12)
tmap_mode("view")
vues <- parcelles %>% filter(Terrain == "VU") %>% st_centroid()
clustExt <- parcelles %>% filter(change %in% c("1_3","3_1")) %>% st_centroid()
tm_basemap(leaflet::providers$OpenTopoMap) +
tm_shape(parcelles) +
tm_polygons(col = "shft
Qrt
", palette = "-RdBu", alpha = 0.
6
8) +
tm_polygons(col = "sh
i
ft
2
", palette = "-RdBu", alpha = 0.8) +
tm_view(set.view = c(1.84, 42.62, 12)) +
tm_shape(clustExt) +
tm_dots(col = "change", palette = "Set1", size = .08) +
tm_shape(vues) +
tm_dots()
```
...
...
index.html
View file @
cc3910a5
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment