Skip to content

Commit da61321

Browse files
committed
merge develop after cran release
Merge branch 'develop' # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
2 parents f9d67ac + 9d4afd0 commit da61321

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1660
-3180
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
^basic_small.png
66
^docs$
77
^vignettes$
8+
^tic.R

.travis.yml

Lines changed: 45 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,52 @@
11
language: r
2+
sudo: required
3+
dist: trusty
4+
cache:
5+
- packages
6+
- ccache
7+
latex: false
8+
9+
addons:
10+
postgresql: "9.6"
11+
apt:
12+
sources:
13+
- sourceline: 'ppa:ubuntugis/ubuntugis-unstable'
14+
packages:
15+
- libproj-dev
16+
- libgeos-dev
17+
- libgdal-dev
18+
- libudunits2-dev
19+
- postgresql-server-dev-9.6 # required for postgis installation
220

321
r:
422
- release
523
- devel
624

7-
cache: packages
8-
9-
sudo: required
10-
11-
dist: trusty
12-
1325
before_install:
14-
- sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes
15-
- sudo apt-get --yes --force-yes update -qq
16-
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev
17-
18-
warnings_are_errors: false
19-
20-
r_packages:
21-
- rgdal
22-
- roxygen2
23-
- rmarkdown
24-
- sf
25-
26-
after_success:
27-
- Rscript -e 'covr::codecov()'
26+
# install postgis from source (required for lwgeom installation):
27+
- wget http://download.osgeo.org/postgis/source/postgis-2.3.2.tar.gz
28+
- (mv postgis* /tmp; cd /tmp; tar xzf postgis-2.3.2.tar.gz)
29+
- (cd /tmp/postgis-2.3.2 ; ./configure; make; sudo make install)
30+
# create postgis databases:
31+
- sudo service postgresql restart
32+
- createdb postgis
33+
- psql -d postgis -c "CREATE EXTENSION postgis;"
34+
- psql -d postgis -c "GRANT CREATE ON DATABASE postgis TO travis"
35+
- createdb empty
36+
- psql -d empty -c "CREATE EXTENSION postgis;"
37+
- R -q -e 'install.packages("remotes"); remotes::install_github("ropenscilabs/tic"); tic::prepare_all_stages(); tic::before_install()'
38+
install: R -q -e 'tic::install()'
39+
script: R -q -e 'tic::script()'
40+
41+
before_deploy: R -q -e 'tic::before_deploy()'
42+
deploy:
43+
provider: script
44+
script: R -q -e 'tic::deploy()'
45+
on:
46+
branch: develop
47+
condition:
48+
- $TRAVIS_PULL_REQUEST = false
49+
- $TRAVIS_EVENT_TYPE != cron
50+
- $TRAVIS_R_VERSION_STRING = release
51+
52+
after_success: R -q -e 'tic::after_success()'

DESCRIPTION

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: mapview
22
Type: Package
33
Title: Interactive Viewing of Spatial Data in R
4-
Version: 2.3.0
5-
Date: 2018-01-30
4+
Version: 2.4.0
5+
Date: 2018-04-28
66
Authors@R: c(
77
person("Tim", "Appelhans", email = "tim.appelhans@gmail.com", role = c("cre", "aut")),
88
person("Florian", "Detsch", email = "florian.detsch@staff.uni-marburg.de", role = c("aut")),
@@ -13,6 +13,8 @@ Authors@R: c(
1313
person("Edzer", "Pebesma", role = c("ctb")),
1414
person("Kenton", "Russell", role = c("ctb")),
1515
person("Michael", "Sumner", role = c("ctb")),
16+
person("Jochen", "Darley", email = "Debugger@jedimasters.de", role = c("ctb")),
17+
person("Pierre", "Roudier", role = c("ctb")),
1618
person("Environmental Informatics Marburg", role = c("ctb"))
1719
)
1820
Maintainer: Tim Appelhans <tim.appelhans@gmail.com>
@@ -52,4 +54,5 @@ Suggests:
5254
rmarkdown,
5355
dplyr,
5456
testthat,
55-
covr
57+
covr,
58+
lwgeom

NAMESPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ export(addExtent)
44
export(addFeatures)
55
export(addHomeButton)
66
export(addImageQuery)
7-
export(addLargeFeatures)
87
export(addLogo)
8+
export(addMapPane)
99
export(addMouseCoordinates)
10-
export(addStarsImage)
10+
export(addStaticLabels)
1111
export(coords2JSON)
1212
export(coords2Lines)
1313
export(coords2Polygons)

NEWS

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
mapview 2.4.0
2+
3+
new features:
4+
5+
* addImageQuery has gained argument prefix to modify the layerId prefix.
6+
* mapview methods for raster data have gained arguments label, query.type, query.digits, query.position and query.prefix to modify raster value query settings. https://twitter.com/pierreroudier/status/958476875344392193
7+
* popupTable now right aligns values.
8+
* Thanks to Pierre Roudier quantile strectching in viewRGB can now be turned off by simply setting to NULL. #127
9+
* mapshot has gained argument remove_controls to remove map junk when saving to image file format.
10+
* mapview method for data.frame has gained argument crs to enable rendering on a basemap #138
11+
* updated to work with leaflet 2.0.0 #129 (incl. deprecation of previously used large methods)
12+
* new function addMapPane to enable control over layer order.
13+
* mapview has gained argument pane as it now uses addMapPane to ensure points overlay lines overlay polygons.
14+
* mapview has gained argument canvas to enable canvas rendering.
15+
16+
bugfixes:
17+
18+
* viewRGB failed because of missing method argument. #125
19+
* combineExtent didn't check properly for crs and failed for raster images.
20+
21+
122
mapview 2.3.0
223

324
new features:

NEWS.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## mapview 2.4.0
2+
3+
new features:
4+
5+
* addImageQuery has gained argument prefix to modify the layerId prefix.
6+
* mapview methods for raster data have gained arguments label, query.type, query.digits, query.position and query.prefix to modify raster value query settings. https://twitter.com/pierreroudier/status/958476875344392193
7+
* popupTable now right aligns values.
8+
* Thanks to Pierre Roudier quantile strectching in viewRGB can now be turned off by simply setting to NULL. #127
9+
* mapshot has gained argument remove_controls to remove map junk when saving to image file format.
10+
* mapview method for data.frame has gained argument crs to enable rendering on a basemap #138
11+
* updated to work with leaflet 2.0.0 #129 (incl. deprecation of previously used large methods)
12+
* new function addMapPane to enable control over layer order.
13+
* mapview has gained argument pane as it now uses addMapPane to ensure points overlay lines overlay polygons.
14+
* mapview has gained argument canvas to enable canvas rendering.
15+
16+
bugfixes:
17+
18+
* viewRGB failed because of missing method argument. #125
19+
* combineExtent didn't check properly for crs and failed for raster images.
20+
21+
122
## mapview 2.3.0
223

324
new features:

R/addLargeFeatures.R

Lines changed: 0 additions & 220 deletions
This file was deleted.

0 commit comments

Comments
 (0)