Skip to content

Commit 22500a6

Browse files
authored
Merge pull request #466 from chrismayer/replace-gas-wfs
Replace no more existing "gas-wfs" in example application
2 parents ca260a7 + 7bf8edb commit 22500a6

9 files changed

Lines changed: 52 additions & 55 deletions

File tree

app-starter/locales/de.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"Shops": {
1515
"name": "Geschäfte DaSchau"
1616
},
17-
"gas-wfs": {
18-
"name": "Tankstellen WFS",
19-
"attributions": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> Mitwirkende."
17+
"airport-de-wfs": {
18+
"name": "Flughäfen Deutschland WFS",
19+
"attributions": "© <a href=\"https://www.bkg.bund.de/\">BKG</a> <a href=\"https://www.govdata.de/dl-de/by-2-0\">dl-de/by-2-0</a> <a href=\"https://sg.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_poi-open.pdf\">Datenquellen</a>"
2020
},
2121
"earthquakes": {
2222
"name": "Erdbeben 2012 (Mag 5)",

app-starter/locales/en.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"Shops": {
1515
"name": "Shops DaSchau"
1616
},
17-
"gas-wfs": {
18-
"name": "Gas Stations WFS",
19-
"attributions": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors."
17+
"airport-de-wfs": {
18+
"name": "Airports Germany WFS",
19+
"attributions": "© <a href=\"https://www.bkg.bund.de/\">BKG</a> <a href=\"https://www.govdata.de/dl-de/by-2-0\">dl-de/by-2-0</a> <a href=\"https://sg.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_poi-open.pdf\">Data Sources</a>"
2020
},
2121
"earthquakes": {
2222
"name": "Earthquakes 2012 (Mag 5)",

app-starter/locales/fr.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"Shops": {
1515
"name": "Magasins DaSchau"
1616
},
17-
"gas-wfs": {
18-
"name": "Pompes à Essence WFS",
19-
"attributions": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a>-contributeurs"
17+
"airport-de-wfs": {
18+
"name": "Aéroports Allemagne WFS",
19+
"attributions": "© <a href=\"https://www.bkg.bund.de/\">BKG</a> <a href=\"https://www.govdata.de/dl-de/by-2-0\">dl-de/by-2-0</a> <a href=\"https://sg.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_poi-open.pdf\">Sources de Données</a>."
2020
},
2121
"earthquakes": {
2222
"name": "Tremblements de Terre 2012 (Mag 5)",

app-starter/locales/pt.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"Shops": {
1515
"name": "Shops DaSchau"
1616
},
17-
"gas-wfs": {
18-
"name": "Estações de Gás WFS",
19-
"attributions": "© <a href=\"https://www.openstreetmap.org/copyright\">Colaboradores do OpenStreetMap</a>"
17+
"airport-de-wfs": {
18+
"name": "Aeroportos Alemanha WFS",
19+
"attributions": "© <a href=\"https://www.bkg.bund.de/\">BKG</a> <a href=\"https://www.govdata.de/dl-de/by-2-0\">dl-de/by-2-0</a> <a href=\"https://sg.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_poi-open.pdf\">Fontes de Dados</a>."
2020
},
2121
"earthquakes": {
2222
"name": "Terremotos 2012 (Magnitude 5)",

app-starter/public/static/app-conf-sidebar.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,33 +103,31 @@
103103
},
104104
{
105105
"type": "WFS",
106-
"lid": "gas-wfs",
107-
"url": "https://ows-demo.terrestris.de/geoserver/osm/wfs",
108-
"typeName": "osm:osm-fuel",
106+
"lid": "airport-de-wfs",
107+
"url": "https://sgx.geodatenzentrum.de/wfs_poi_open",
108+
"typeName": "poi-open:flughaefen",
109109
"version": "2.0.0",
110-
"maxFeatures": 50,
111-
"formatConfig": {
112-
},
110+
"maxFeatures": 75,
111+
"formatConfig": {},
113112
"format": "GML3",
114113
"loadOnlyVisible": true,
115114
"visible": false,
116115
"selectable": true,
117116
"style": {
118-
"textIcon": "local_gas_station",
117+
"textIcon": "airplane_ticket",
119118
"font": "normal 30px Material Icons",
120-
"fillColor": "blue"
119+
"fillColor": "black"
121120
},
122121
"columnMapping": {
123122
"name": "Name"
124123
},
125124
"selectStyle": {
126-
"textIcon": "star",
125+
"textIcon": "airplane_ticket",
127126
"font": "normal 30px Material Icons",
128-
"fillColor": "black"
127+
"fillColor": "blue"
129128
},
130129
"doAppendSelectStyle": false
131130
},
132-
133131
{
134132
"type": "VECTOR",
135133
"lid": "earthquakes",

app-starter/public/static/app-conf.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,33 +93,32 @@
9393
},
9494
{
9595
"type": "WFS",
96-
"lid": "gas-wfs",
97-
"url": "https://ows-demo.terrestris.de/geoserver/osm/wfs",
98-
"typeName": "osm:osm-fuel",
96+
"lid": "airport-de-wfs",
97+
"url": "https://sgx.geodatenzentrum.de/wfs_poi_open",
98+
"typeName": "poi-open:flughaefen",
9999
"version": "2.0.0",
100-
"maxFeatures": 50,
101-
"formatConfig": {
102-
},
100+
"maxFeatures": 75,
101+
"formatConfig": {},
103102
"format": "GML3",
104103
"loadOnlyVisible": true,
105104
"visible": false,
106105
"selectable": true,
106+
"columnMapping": {
107+
"name": "Name",
108+
"poi_id": "POI ID"
109+
},
107110
"style": {
108-
"textIcon": "local_gas_station",
111+
"textIcon": "airplane_ticket",
109112
"font": "normal 30px Material Icons",
110-
"fillColor": "blue"
111-
},
112-
"columnMapping": {
113-
"name": "Name"
113+
"fillColor": "black"
114114
},
115115
"selectStyle": {
116-
"textIcon": "star",
116+
"textIcon": "airplane_ticket",
117117
"font": "normal 30px Material Icons",
118-
"fillColor": "black"
118+
"fillColor": "blue"
119119
},
120120
"doAppendSelectStyle": false
121121
},
122-
123122
{
124123
"type": "VECTOR",
125124
"lid": "earthquakes",

docs/language-packs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ Below is an example configuration for an English language pack.
108108
"Shops": {
109109
"name": "Shops DaSchau"
110110
},
111-
"gas-wfs": {
112-
"name": "Gas Stations WFS",
113-
"attributions": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors."
111+
"airport-de-wfs": {
112+
"name": "Airports Germany WFS",
113+
"attributions": "© <a href=\"https://www.bkg.bund.de/\">BKG</a> <a href=\"https://www.govdata.de/dl-de/by-2-0\">dl-de/by-2-0</a> <a href=\"https://sg.geodatenzentrum.de/web_public/gdz/datenquellen/datenquellen_poi-open.pdf\">Data Sources</a>."
114114
},
115115
"earthquakes": {
116116
"name": "Earthquakes 2012 (Mag 5)",

docs/map-layer-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ The following properties can be applied to all map layer types
5555
| Property | Meaning | Example |
5656
|---------------------|:---------:|---------|
5757
| **type** | Indicator that the layer is a WFS-based vector layer, always `WFS` here | `"type": "WFS"` |
58-
| **url** | The URL to the Web Feature Service (WFS) | `"url": "https://ows.terrestris.de/geoserver/osm/wfs"` |
59-
| **typeName** | The name of the FeatureType | `"typeName": "osm:osm-fuel"`|
58+
| **url** | The URL to the Web Feature Service (WFS) | `"url": "https://sgx.geodatenzentrum.de/wfs_poi_open"` |
59+
| **typeName** | The name of the FeatureType | `"typeName": "poi-open:flughaefen"`|
6060
| projection | The projection of the layer. Has to be defined in `projectionDefs` if not `EPSG:4326` or `EPSG:3857`. if not set the projection of the map is used | `"projection": "EPSG:3857"` |
6161
| style | Object to define a rendering style for the features of the layer | see [style](map-layer-configuration?id=style-for-vectorlayers) |
6262
| version | The version of the WFS, defaults to `1.1.0` | `"version": "2.0.0"`|

docs/wegue-configuration.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -511,29 +511,29 @@ Example configurations can be found in the `app-starter/static` directory. Below
511511
},
512512
{
513513
"type": "WFS",
514-
"lid": "gas-wfs",
515-
"url": "https://ows-demo.terrestris.de/geoserver/osm/wfs",
516-
"typeName": "osm:osm-fuel",
514+
"lid": "airport-de-wfs",
515+
"url": "https://sgx.geodatenzentrum.de/wfs_poi_open",
516+
"typeName": "poi-open:flughaefen",
517517
"version": "2.0.0",
518-
"maxFeatures": 50,
519-
"formatConfig": {
520-
},
518+
"maxFeatures": 75,
519+
"formatConfig": {},
521520
"format": "GML3",
522521
"loadOnlyVisible": true,
523522
"visible": false,
524523
"selectable": true,
524+
"columnMapping": {
525+
"name": "Name",
526+
"poi_id": "POI ID"
527+
},
525528
"style": {
526-
"textIcon": "local_gas_station",
529+
"textIcon": "airplane_ticket",
527530
"font": "normal 30px Material Icons",
528-
"fillColor": "blue"
529-
},
530-
"columnMapping": {
531-
"name": "Name"
531+
"fillColor": "black"
532532
},
533533
"selectStyle": {
534-
"textIcon": "star",
534+
"textIcon": "airplane_ticket",
535535
"font": "normal 30px Material Icons",
536-
"fillColor": "black"
536+
"fillColor": "blue"
537537
},
538538
"doAppendSelectStyle": false
539539
},

0 commit comments

Comments
 (0)