@eeacms/volto-n2k 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,13 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
### [1.0.
|
|
7
|
+
### [1.0.20](https://github.com/eea/volto-n2k/compare/1.0.19...1.0.20) - 15 March 2023
|
|
8
8
|
|
|
9
9
|
#### :hammer_and_wrench: Others
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- update layer for species and habitats [Claudia Ifrim - [`b2262fc`](https://github.com/eea/volto-n2k/commit/b2262fcb7416208ba3ce5368bbd50bda2e0e58f6)]
|
|
12
|
+
### [1.0.19](https://github.com/eea/volto-n2k/compare/1.0.18...1.0.19) - 7 March 2023
|
|
13
|
+
|
|
12
14
|
### [1.0.18](https://github.com/eea/volto-n2k/compare/1.0.17...1.0.18) - 25 February 2023
|
|
13
15
|
|
|
14
16
|
#### :rocket: New Features
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import getSchema from './schema';
|
|
|
3
3
|
|
|
4
4
|
export function getHabitatProtectedSitesURL(code_2000) {
|
|
5
5
|
return encodeURI(
|
|
6
|
-
`https://bio.discomap.eea.europa.eu/arcgis/rest/services/ProtectedSites/EUNIS_Website_Dyna_WM/MapServer/
|
|
6
|
+
`https://bio.discomap.eea.europa.eu/arcgis/rest/services/ProtectedSites/EUNIS_Website_Dyna_WM/MapServer/3/query?f=json&where=HABITATCODE LIKE '%${code_2000.toUpperCase()}%'&returnGeometry=true&spatialRel=esriSpatialRelIntersects&outFields=SPECIESCODE,SITECODE,HABITATCODE,OBJECTID&outSR=102100`,
|
|
7
7
|
);
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import getSchema from './schema';
|
|
|
3
3
|
|
|
4
4
|
export function getSpeciesProtectedSitesURL(code_2000) {
|
|
5
5
|
return encodeURI(
|
|
6
|
-
`https://bio.discomap.eea.europa.eu/arcgis/rest/services/ProtectedSites/EUNIS_Website_Dyna_WM/MapServer/
|
|
6
|
+
`https://bio.discomap.eea.europa.eu/arcgis/rest/services/ProtectedSites/EUNIS_Website_Dyna_WM/MapServer/7/query?f=json&where=SPECIESCODE LIKE '%${code_2000.toUpperCase()}%'&returnGeometry=true&spatialRel=esriSpatialRelIntersects&outFields=SPECIESCODE,SITECODE,HABITATCODE,OBJECTID&outSR=102100`,
|
|
7
7
|
);
|
|
8
8
|
}
|
|
9
9
|
|