Skip to content

Commit

Permalink
Merge pull request #8 from kreis-viersen/warendorf_services
Browse files Browse the repository at this point in the history
Add layer Kreis Warendorf ALKIS and ABK
  • Loading branch information
pathmapper authored Jan 22, 2021
2 parents 9436244 + 51be9a5 commit 31ee497
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ Einfach das gewünschte Werkzeug auswählen, den LineString oder das Polygon auf
|Kreis Viersen Geplante Gebäude|WMS|https://geoservices.krzn.de/security-proxy/services/wms_kvie_geplgeb?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities|kvie_geplgeb|
|**Nationaal Georegister (NL)**||||
|NL Luftbild Farbe|WMS|https://geodata.nationaalgeoregister.nl/luchtfoto/rgb/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities|Actueel_ortho25|
|**Kreis Warendorf**||||
|Kreis Warendorf ALKIS|WMS|https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities|alkis_lieka|
|Kreis Warendorf ABK 1:5000|WMS|https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities|abk5000|

### Overlays

Expand Down
32 changes: 32 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
<optgroup label="Nationaal Georegister (NL)">
<option value="ol_Actueel_ortho25">NL Luftbild Farbe</option>
</optgroup>
<optgroup label="Kreis Warendorf">
<option value="ol_warendorf_alkis">Kreis Warendorf ALKIS</option>
<option value="ol_warendorf_abk">Kreis Warendorf ABK 1:5000</option>
</optgroup>
</select>
</form>
<!-- Overlay-Deckkraft -->
Expand Down Expand Up @@ -110,6 +114,10 @@
<optgroup label="Nationaal Georegister (NL)">
<option value="Actueel_ortho25">NL Luftbild Farbe</option>
</optgroup>
<optgroup label="Kreis Warendorf">
<option value="warendorf_alkis">Kreis Warendorf ALKIS</option>
<option value="warendorf_abk">Kreis Warendorf ABK 1:5000</option>
</optgroup>
</select>
</form>
</div>
Expand Down Expand Up @@ -150,6 +158,10 @@
<optgroup label="Nationaal Georegister (NL)">
<option value="ol_Actueel_ortho25">NL Luftbild Farbe</option>
</optgroup>
<optgroup label="Kreis Warendorf">
<option value="ol_warendorf_alkis">Kreis Warendorf ALKIS</option>
<option value="ol_warendorf_abk">Kreis Warendorf ABK 1:5000</option>
</optgroup>
</select>
</form>
<!-- Overlay-Deckkraft -->
Expand Down Expand Up @@ -185,6 +197,10 @@
<optgroup label="Nationaal Georegister (NL)">
<option value="Actueel_ortho25">NL Luftbild Farbe</option>
</optgroup>
<optgroup label="Kreis Warendorf">
<option value="warendorf_alkis">Kreis Warendorf ALKIS</option>
<option value="warendorf_abk">Kreis Warendorf ABK 1:5000</option>
</optgroup>
</select>
</form>
</div>
Expand Down Expand Up @@ -225,6 +241,10 @@
<optgroup label="Nationaal Georegister (NL)">
<option value="ol_Actueel_ortho25">NL Luftbild Farbe</option>
</optgroup>
<optgroup label="Kreis Warendorf">
<option value="ol_warendorf_alkis">Kreis Warendorf ALKIS</option>
<option value="ol_warendorf_abk">Kreis Warendorf ABK 1:5000</option>
</optgroup>
</select>
</form>
<!-- Overlay-Deckkraft -->
Expand Down Expand Up @@ -260,6 +280,10 @@
<optgroup label="Nationaal Georegister (NL)">
<option value="Actueel_ortho25">NL Luftbild Farbe</option>
</optgroup>
<optgroup label="Kreis Warendorf">
<option value="warendorf_alkis">Kreis Warendorf ALKIS</option>
<option value="warendorf_abk">Kreis Warendorf ABK 1:5000</option>
</optgroup>
</select>
</form>
</div>
Expand Down Expand Up @@ -300,6 +324,10 @@
<optgroup label="Nationaal Georegister (NL)">
<option value="ol_Actueel_ortho25">NL Luftbild Farbe</option>
</optgroup>
<optgroup label="Kreis Warendorf">
<option value="ol_warendorf_alkis">Kreis Warendorf ALKIS</option>
<option value="ol_warendorf_abk">Kreis Warendorf ABK 1:5000</option>
</optgroup>
</select>
</form>
<!-- Overlay-Deckkraft -->
Expand Down Expand Up @@ -335,6 +363,10 @@
<optgroup label="Nationaal Georegister (NL)">
<option value="Actueel_ortho25">NL Luftbild Farbe</option>
</optgroup>
<optgroup label="Kreis Warendorf">
<option value="warendorf_alkis">Kreis Warendorf ALKIS</option>
<option value="warendorf_abk">Kreis Warendorf ABK 1:5000</option>
</optgroup>
</select>
</form>
</div>
Expand Down
74 changes: 71 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ map_1.on("load", function() {
map_1.addLayer(getPredefinedLayer("ol_krzn_vie_alkis_light")),
map_1.addLayer(getPredefinedLayer("ol_krzn_vie_geplgeb")),
map_1.addLayer(getPredefinedLayer("ol_Actueel_ortho25")),
map_1.addLayer(getPredefinedLayer("ol_warendorf_alkis")),
map_1.addLayer(getPredefinedLayer("ol_warendorf_abk")),
map_1.addLayer({
"id": "labels",
"type": "symbol",
Expand Down Expand Up @@ -185,7 +187,9 @@ map_2.on("load", function() {
map_2.addLayer(getPredefinedLayer("ol_krzn_bot_alkis")),
map_2.addLayer(getPredefinedLayer("ol_krzn_vie_alkis_light")),
map_2.addLayer(getPredefinedLayer("ol_krzn_vie_geplgeb")),
map_2.addLayer(getPredefinedLayer("ol_Actueel_ortho25"))
map_2.addLayer(getPredefinedLayer("ol_Actueel_ortho25")),
map_2.addLayer(getPredefinedLayer("ol_warendorf_alkis")),
map_2.addLayer(getPredefinedLayer("ol_warendorf_abk"))
});
map_3.on("load", function() {
// Basiskarte:
Expand All @@ -210,6 +214,8 @@ map_3.on("load", function() {
map_3.addLayer(getPredefinedLayer("ol_krzn_vie_alkis_light")),
map_3.addLayer(getPredefinedLayer("ol_krzn_vie_geplgeb")),
map_3.addLayer(getPredefinedLayer("ol_Actueel_ortho25")),
map_3.addLayer(getPredefinedLayer("ol_warendorf_alkis")),
map_3.addLayer(getPredefinedLayer("ol_warendorf_abk")),
setOverlay3(ol_krzn_vie_geplgeb)
});
map_4.on("load", function() {
Expand All @@ -234,7 +240,9 @@ map_4.on("load", function() {
map_4.addLayer(getPredefinedLayer("ol_krzn_bot_alkis")),
map_4.addLayer(getPredefinedLayer("ol_krzn_vie_alkis_light")),
map_4.addLayer(getPredefinedLayer("ol_krzn_vie_geplgeb")),
map_4.addLayer(getPredefinedLayer("ol_Actueel_ortho25"))
map_4.addLayer(getPredefinedLayer("ol_Actueel_ortho25")),
map_4.addLayer(getPredefinedLayer("ol_warendorf_alkis")),
map_4.addLayer(getPredefinedLayer("ol_warendorf_abk"))
});

// Kartenfenster synchronisieren:
Expand Down Expand Up @@ -570,6 +578,31 @@ var Actueel_ortho25 = {
paint: {}
};

// Kreis Warendorf
var warendorf_alkis = {
id: "warendorf_alkis",
type: "raster",
source: {
type: "raster",
attribution: "<b>Kreis Warendorf ALKIS</b> &copy; <a target='_blank' rel='noopener noreferrer' href='https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities'>Geodaten: Kreis Warendorf</a>",
tiles: ["https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX={bbox-epsg-3857}&CRS=EPSG:3857&WIDTH=256&HEIGHT=256&LAYERS=alkis_lieka&STYLES=&FORMAT=image/png"],
tileSize: 256
},
paint: {}
};

var warendorf_abk = {
id: "warendorf_abk",
type: "raster",
source: {
type: "raster",
attribution: "<b>Kreis Warendorf ABK 1:5000</b> &copy; <a target='_blank' rel='noopener noreferrer' href='https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities'>Geodaten: Kreis Warendorf</a>",
tiles: ["https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX={bbox-epsg-3857}&CRS=EPSG:3857&WIDTH=256&HEIGHT=256&LAYERS=abk5000&STYLES=&FORMAT=image/png"],
tileSize: 256
},
paint: {}
};



/*
Expand Down Expand Up @@ -866,6 +899,37 @@ var ol_Actueel_ortho25 = {
paint: {}
};

// Kreis Warendorf
var ol_warendorf_alkis = {
id: "ol_warendorf_alkis",
type: "raster",
source: {
type: "raster",
attribution: "<b>Overlay: Kreis Warendorf ALKIS</b> &copy; <a target='_blank' rel='noopener noreferrer' href='https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities'>Geodaten: Kreis Warendorf</a>",
tiles: ["https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX={bbox-epsg-3857}&CRS=EPSG:3857&WIDTH=256&HEIGHT=256&LAYERS=alkis_lieka&STYLES=&FORMAT=image/png"],
tileSize: 256
},
layout: {
visibility: 'none'
},
paint: {}
};

var ol_warendorf_abk = {
id: "ol_warendorf_abk",
type: "raster",
source: {
type: "raster",
attribution: "<b>Overlay: Kreis Warendorf ABK 1:5000</b> &copy; <a target='_blank' rel='noopener noreferrer' href='https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities'>Geodaten: Kreis Warendorf</a>",
tiles: ["https://www.kreis-warendorf.de/arcgis/service2?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX={bbox-epsg-3857}&CRS=EPSG:3857&WIDTH=256&HEIGHT=256&LAYERS=abk5000&STYLES=&FORMAT=image/png"],
tileSize: 256
},
layout: {
visibility: 'none'
},
paint: {}
};


/*
Layerliste IDs
Expand Down Expand Up @@ -896,6 +960,8 @@ var layers = {
"krzn_vie_alkis_light": krzn_vie_alkis_light,
"krzn_vie_geplgeb": krzn_vie_geplgeb,
"Actueel_ortho25": Actueel_ortho25,
"warendorf_alkis": warendorf_alkis,
"warendorf_abk": warendorf_abk,
// Overlays
"ol_nw_dop_rgb": ol_nw_dop_rgb,
"ol_nw_vdop_rgb": ol_nw_vdop_rgb,
Expand All @@ -915,7 +981,9 @@ var layers = {
"ol_krzn_bot_alkis": ol_krzn_bot_alkis,
"ol_krzn_vie_alkis_light": ol_krzn_vie_alkis_light,
"ol_krzn_vie_geplgeb": ol_krzn_vie_geplgeb,
"ol_Actueel_ortho25": ol_Actueel_ortho25
"ol_Actueel_ortho25": ol_Actueel_ortho25,
"ol_warendorf_alkis": ol_warendorf_alkis,
"ol_warendorf_abk": ol_warendorf_abk
}

/*
Expand Down

0 comments on commit 31ee497

Please sign in to comment.