- WFS-Geoportail (Version bêta) |
+ WFS-Geoportail |
API d'accès à n'importe quel flux WFS du Géoportail
|
diff --git a/doc/views/partial/menu.ejs b/doc/views/partial/menu.ejs
index 1b0d2bb..713b823 100644
--- a/doc/views/partial/menu.ejs
+++ b/doc/views/partial/menu.ejs
@@ -34,7 +34,7 @@
RPG
- WFS-Geoportail (Version Bêta)
+ WFS-Geoportail
Nature
diff --git a/doc/wfs-geoportail.yml b/doc/wfs-geoportail.yml
index 86fef85..cb73ed9 100644
--- a/doc/wfs-geoportail.yml
+++ b/doc/wfs-geoportail.yml
@@ -1,7 +1,7 @@
swagger: '2.0'
info:
- title: Module pour rechercher dans tous les flux WFS Géoportail (Version Bêta)
+ title: Module pour rechercher dans tous les flux WFS Géoportail
description: >
Ce module permet d’intersecter toute couche WFS du géoportail exprimée dans le référentiel géographique WGS84 **EPSG:4326** avec la géométrie passée en paramètre.
diff --git a/package-lock.json b/package-lock.json
index 1832145..06cb7ae 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "apicarto",
- "version": "v2.7.7",
+ "version": "v2.7.8",
"lockfileVersion": 3,
"requires": true,
"packages": {
@@ -22,11 +22,12 @@
"ejs": "^3.1.10",
"express": "^4.19.2",
"express-validator": "^7.1.0",
- "geoportal-wfs-client": "https://github.com/IGNF/geoportal-wfs-client#v1.0.0",
+ "geoportal-wfs-client": "https://github.com/IGNF/geoportal-wfs-client#v1.0.3",
"handlebars": "^4.7.7",
"http-proxy-agent": "^7.0.2",
"https-proxy-agent": "^7.0.4",
"lodash": "^4.17.21",
+ "node-cache": "^5.1.2",
"pg": "^8.11.5",
"pg-format": "^1.0.4",
"shelljs": "^0.8.5",
@@ -771,14 +772,6 @@
"resolved": "https://registry.npmjs.org/@terraformer/wkt/-/wkt-2.2.1.tgz",
"integrity": "sha512-XDUsW/lvbMzFi7GIuRD9+UqR4QyP+5C+TugeJLMDczKIRbaHoE9J3N8zLSdyOGmnJL9B6xTS3YMMlBnMU0Ar5A=="
},
- "node_modules/@tootallnate/once": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz",
- "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==",
- "engines": {
- "node": ">= 10"
- }
- },
"node_modules/@turf/along": {
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/@turf/along/-/along-6.5.0.tgz",
@@ -2950,6 +2943,14 @@
"node": ">=8"
}
},
+ "node_modules/clone": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
+ "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
"node_modules/codes-postaux": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/codes-postaux/-/codes-postaux-4.1.1.tgz",
@@ -4085,66 +4086,23 @@
}
},
"node_modules/geoportal-wfs-client": {
- "version": "1.0.0",
- "resolved": "git+ssh://git@github.com/IGNF/geoportal-wfs-client.git#8a34ce5bd805ffea13617f94bbcbef1ddc41538d",
+ "version": "1.0.3",
+ "resolved": "git+ssh://git@github.com/IGNF/geoportal-wfs-client.git#b1b50caef6622c6bd3673eb8c03b00357494174d",
"dependencies": {
"@turf/flip": "^6.5.0",
"@turf/meta": "6.5.0",
"@turf/turf": "^6.5.0",
"@xmldom/xmldom": "^0.8.2",
- "axios": "^0.27.2",
- "http-proxy-agent": "^5.0.0",
- "https-proxy-agent": "^5.0.1",
+ "axios": "^1.7.2",
+ "http-proxy-agent": "^7.0.0",
+ "https-proxy-agent": "^7.0.2",
+ "net": "^1.0.2",
"proj4": "^2.8.0",
"terraformer-wkt-parser": "^1.1.2",
+ "tls": "^0.0.1",
"xpath": "0.0.32"
}
},
- "node_modules/geoportal-wfs-client/node_modules/agent-base": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
- "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
- "dependencies": {
- "debug": "4"
- },
- "engines": {
- "node": ">= 6.0.0"
- }
- },
- "node_modules/geoportal-wfs-client/node_modules/axios": {
- "version": "0.27.2",
- "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz",
- "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==",
- "dependencies": {
- "follow-redirects": "^1.14.9",
- "form-data": "^4.0.0"
- }
- },
- "node_modules/geoportal-wfs-client/node_modules/http-proxy-agent": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz",
- "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==",
- "dependencies": {
- "@tootallnate/once": "2",
- "agent-base": "6",
- "debug": "4"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/geoportal-wfs-client/node_modules/https-proxy-agent": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
- "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
- "dependencies": {
- "agent-base": "6",
- "debug": "4"
- },
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/get-caller-file": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
@@ -5481,6 +5439,22 @@
"resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
"integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw=="
},
+ "node_modules/net": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/net/-/net-1.0.2.tgz",
+ "integrity": "sha512-kbhcj2SVVR4caaVnGLJKmlk2+f+oLkjqdKeQlmUtz6nGzOpbcobwVIeSURNgraV/v3tlmGIX82OcPCl0K6RbHQ=="
+ },
+ "node_modules/node-cache": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/node-cache/-/node-cache-5.1.2.tgz",
+ "integrity": "sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==",
+ "dependencies": {
+ "clone": "2.x"
+ },
+ "engines": {
+ "node": ">= 8.0.0"
+ }
+ },
"node_modules/node-preload": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz",
@@ -7278,6 +7252,11 @@
"resolved": "https://registry.npmjs.org/tinyqueue/-/tinyqueue-2.0.3.tgz",
"integrity": "sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA=="
},
+ "node_modules/tls": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/tls/-/tls-0.0.1.tgz",
+ "integrity": "sha512-GzHpG+hwupY8VMR6rYsnAhTHqT/97zT45PG8WD5eTT1lq+dFE0nN+1PYpsoBcHJgSmTz5ceK2Cv88IkPmIPOtQ=="
+ },
"node_modules/to-fast-properties": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
diff --git a/package.json b/package.json
index 03df7ce..e3f10ea 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "apicarto",
- "version": "v2.7.7",
+ "version": "v2.7.8",
"main": "index.js",
"type": "module",
"scripts": {
@@ -35,11 +35,12 @@
"ejs": "^3.1.10",
"express": "^4.19.2",
"express-validator": "^7.1.0",
- "geoportal-wfs-client": "https://github.com/IGNF/geoportal-wfs-client#v1.0.0",
+ "geoportal-wfs-client": "https://github.com/IGNF/geoportal-wfs-client#v1.0.3",
"handlebars": "^4.7.7",
"http-proxy-agent": "^7.0.2",
"https-proxy-agent": "^7.0.4",
"lodash": "^4.17.21",
+ "node-cache": "^5.1.2",
"pg": "^8.11.5",
"pg-format": "^1.0.4",
"shelljs": "^0.8.5",
diff --git a/test/controllers/gpu/municipality.js b/test/controllers/gpu/municipality.js
index b51a0a3..9548edf 100644
--- a/test/controllers/gpu/municipality.js
+++ b/test/controllers/gpu/municipality.js
@@ -45,5 +45,4 @@ describe('with point at [1.654399,48.112235] (Rennes)', function() {
// .end(done);
// });
// });
-
// });