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
ShinyApps
briskaRShinyApp
Commits
87ee498a
Commit
87ee498a
authored
Apr 27, 2020
by
Virgile Baudrot
Browse files
add constraint st_zm from sf
parent
cc95a648
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/app_server.R
View file @
87ee498a
...
@@ -33,13 +33,13 @@ app_server <- function(input, output,session) {
...
@@ -33,13 +33,13 @@ app_server <- function(input, output,session) {
})
})
## OBSERVE
## OBSERVE
observe
({
observe
({
r
$
landscapeSOURCE
<-
sf
::
st_read
(
req
(
input
$
landscapeSOURCE
)
$
datapath
)
r
$
landscapeSOURCE
<-
sf
::
st_zm
(
sf
::
st_read
(
req
(
input
$
landscapeSOURCE
)
$
datapath
)
)
})
})
observe
({
observe
({
r
$
landscapeHOST
<-
sf
::
st_read
(
req
(
input
$
landscapeHOST
)
$
datapath
)
r
$
landscapeHOST
<-
sf
::
st_zm
(
sf
::
st_read
(
req
(
input
$
landscapeHOST
)
$
datapath
)
)
})
})
observe
({
observe
({
r
$
landscapeSQUAREFRAME
<-
sf
::
st_read
(
req
(
input
$
landscapeSQUAREFRAME
)
$
datapath
)
r
$
landscapeSQUAREFRAME
<-
sf
::
st_zm
(
sf
::
st_read
(
req
(
input
$
landscapeSQUAREFRAME
)
$
datapath
)
)
})
})
callModule
(
mod_tabItemLandscape_server
,
id
=
"tabItemLandscape_ui_1"
,
session
=
session
,
r
=
r
)
callModule
(
mod_tabItemLandscape_server
,
id
=
"tabItemLandscape_ui_1"
,
session
=
session
,
r
=
r
)
##################
##################
...
...
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