mapicgc-gl-js 0.0.39 → 0.0.41

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/docu_Map.md CHANGED
Binary file
package/nodeDeploy.js CHANGED
@@ -1,8 +1,7 @@
1
1
  const SftpClient = require("ssh2-sftp-client");
2
2
  const dotenv = require("dotenv");
3
3
  const fs = require('fs');
4
- //import SftpClient from "ssh2-sftp-client";
5
- //import dotenv from "dotenv";
4
+
6
5
  dotenv.config();
7
6
 
8
7
  const inFilePath = `${process.env.FTP_LOCA_PATH}${process.env.FILE_JS_UMD}`;
package/nodeSetConfig.js CHANGED
@@ -11,8 +11,6 @@ const defaultOptions = require('./src/configNode.js');
11
11
  const stylePath = path.join('./src/constants/', 'Styles.js');
12
12
  const terrainPath = path.join('./src/constants/', 'Terrains.js');
13
13
  const layersPath = path.join('./src/constants/', 'Layers.js');
14
- const xmldom = require('xmldom');; // 'xmldom' doesn't 'export' the DOMParser
15
- const WMSCapabilities = require("wms-capabilities");
16
14
 
17
15
  const https = require('https');
18
16
 
@@ -124,7 +122,6 @@ async function getVectorLimitsLayers() {
124
122
 
125
123
  let test= [
126
124
  { key: 'altimetria', layer:"", url: "https://betaserver.icgc.cat/tileserver3/tileserver.php/alti_bt5m/{z}/{x}/{y}.pbf"},
127
- { key: 'toponimia',layer:"", url: "https://betaserver.icgc.cat/tileserver3/tileserver.php/redtopo/{z}/{x}/{y}.pbf"},
128
125
  ]
129
126
  vectorLayersOptions = test
130
127
  console.info('Dades vector Layers actualitzats' )
@@ -145,8 +142,9 @@ async function getVectorLimitsLayers() {
145
142
  let layerCims = '0'
146
143
  let layerCobertesSol = 'cobertes_2009'
147
144
  let test= [
148
- { key: 'relleu', layer:"", url: `https://tilemaps.icgc.cat/mapfactory/wmts/${layerRelleu}/CAT3857/{z}/{x}/{y}.png`},
149
- { key: 'geologia', layer:"", url: `https://tilemaps.icgc.cat/mapfactory/wmts/${layerGeologia}/MON3857NW/{z}/{x}/{y}.png`},
145
+ { key: 'espaisInteresGeologic', layer:"", url: `https://geoserveis.icgc.cat/servei/catalunya/espais-interes-geologic/wms/service?&service=WMS&request=GetMap&layers=espais-interes-geologic&styles=&format=image%2Fpng&transparent=true&version=1.1.1&tipus=wms&width=512&height=512&srs=EPSG%3A3857&bbox={bbox-epsg-3857}`},
146
+ { key: 'gravimetriaBouguer500000', layer:"", url: `https://geoserveis.icgc.cat/servei/catalunya/gravimetria/wms/service?&service=WMS&request=GetMap&layers=anomalia_bouguer_500000&styles=&format=image%2Fpng&transparent=true&version=1.1.1&tipus=wms&width=512&height=512&srs=EPSG%3A3857&bbox={bbox-epsg-3857}`},
147
+ { key: 'cobertesSol2018', layer:"", url: `https://geoserveis.icgc.cat/servei/catalunya/cobertes-sol/wms/service?&service=WMS&request=GetMap&layers=cobertes_2018&styles=&format=image%2Fpng&transparent=true&version=1.1.1&tipus=wms&width=512&height=512&srs=EPSG%3A3857&bbox={bbox-epsg-3857}`},
150
148
  { key: 'administratiu', layer:"", url:`http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/administratiu/MON3857NW/{z}/{x}/{y}.png`},
151
149
  { key: 'simplificat', layer:"", url:`http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/simplificat/MON3857NW/{z}/{x}/{y}.png`},
152
150
  { key:"cims", layer:"", url:`https://geoserveis.icgc.cat/icc_100cims/wms/service?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=${layerCims}&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:25831&BBOX=137118.923076923,4488408.75,650959.076923077,4749634.75&WIDTH=895&HEIGHT=455`},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mapicgc-gl-js",
3
3
  "homepage": "https://autogitlab.icgc.local/geostarters/icgc/mapicgc/mapicgc-gl-js",
4
- "version": "0.0.39",
4
+ "version": "0.0.41",
5
5
  "description": "mapicgc-gl-js",
6
6
  "author": "ICGC",
7
7
  "main": "dist/mapicgc-gl.js",