In the console, do:
dbstop if error
to stop Matlab in debugging mode on an error.
# I use Mercator here as I saw only mercator is supported by the webservice (see website Michel Stuyts or getcapabilities call) | |
plain_crs = ccrs.Mercator() | |
fig, ax = plt.subplots(subplot_kw={"projection": plain_crs}, figsize=(10, 10)) | |
ax.set_extent([2.4, 8, 48., 52], crs=ccrs.PlateCarree()) | |
# Add WMS imaging. | |
base_uri = 'https://image.discomap.eea.europa.eu/arcgis/services/Elevation/EUElev_DEM_V11/MapServer/WMSServer' | |
layer_name = 'DEM_v11_Masked2' | |
ax.add_wms(base_uri, layers=layer_name) |
Collecting package metadata (repodata.json): done | |
Solving environment: / | |
Found conflicts! Looking for incompatible packages. | |
This can take several minutes. Press CTRL-C to abort. | |
failed | | |
Solving environment: | | |
Found conflicts! Looking for incompatible packages. | |
This can take several minutes. Press CTRL-C to abort. | |
failed / |
In the console, do:
dbstop if error
to stop Matlab in debugging mode on an error.
# | |
# refactored of https://github.com/OlafenwaMoses/ImageAI/blob/master/imageai/Detection/__init__.py for yolov3 only | |
# credits to @OlafenwaMoses | |
# | |
# MIT License | |
# | |
# Van Hoey S. | |
import os | |
import cv2 |
library(glue) | |
library(httr) | |
library(tidyverse) | |
library(jsonlite) | |
#' Search for planet labs images | |
#' | |
#' Credits to https://www.lentilcurtain.com/posts/accessing-planet-labs-data-api-from-r/ |
## | |
## Derive distance matrix for a given set of receivers within the boundaries | |
## af the provided water bodies - support functions | |
## | |
## Van Hoey S. | |
## Lifewatch INBO | |
## | |
library("sp") | |
library("rgdal") |
library(tidyr) | |
library(dplyr) | |
library(purrr) | |
#' Create sequence from colon sepearted sequence in string format | |
#' | |
#' @param input character character vector with : based sequences | |
#' in between comma separated numbers | |
#' |
library(RODBC) | |
library(ggplot2) | |
library(nlme) | |
library(mgcv) | |
library(lme4) | |
library(MASS) | |
library(splines) | |
# additional library to install for parameterized queries | |
library(RODBCext) |