Skip to content

Commit 30cea93

Browse files
authored
Replace WMS service (#789)
* Update WmsLayerUrlSample.java * Update README.md
1 parent e63287f commit 30cea93

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ogc/wms-layer-url/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The map will load automatically when the sample starts.
2020

2121
## About the data
2222

23-
This sample uses a [U.S. National Weather Service radar map](https://nowcoast.noaa.gov/arcgis/services/nowcoast/radar_meteo_imagery_nexrad_time/MapServer/WMSServer?request=GetCapabilities&service=WMS). Because WMS services generate map images on-the-fly, this layer is always up-to-date with the latest [NOAA NEXRAD radar](https://www.ncdc.noaa.gov/data-access/radar-data/nexrad) observations.
23+
This sample uses a [U.S. National Weather Service radar map](https://nowcoast.noaa.gov/geoserver/observations/weather_radar/wms). Because WMS services generate map images on-the-fly, this layer is always up-to-date with the latest [NOAA NEXRAD radar](https://www.ncdc.noaa.gov/data-access/radar-data/nexrad) observations.
2424

2525
## Relevant API
2626

ogc/wms-layer-url/src/main/java/com/esri/samples/wms_layer_url/WmsLayerUrlSample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public void start(Stage stage) {
7676
progressIndicator.setMaxSize(25, 25);
7777

7878
// create a WMS layer
79-
List<String> wmsLayerNames = Collections.singletonList("1");
80-
String url = "https://nowcoast.noaa.gov/arcgis/services/nowcoast/radar_meteo_imagery_nexrad_time/MapServer/WMSServer?request=GetCapabilities&service=WMS";
79+
List<String> wmsLayerNames = Collections.singletonList("base_reflectivity_mosaic");
80+
String url = "https://nowcoast.noaa.gov/geoserver/observations/weather_radar/wms";
8181
wmsLayer = new WmsLayer(url, wmsLayerNames);
8282
// load the layer and add it as an operational layer
8383
wmsLayer.addDoneLoadingListener(() -> {

0 commit comments

Comments
 (0)