OpenSeaMap / depth_webfrontend

Web frontend for the depth project.
http://depth.openseamap.org
Creative Commons Zero v1.0 Universal
14 stars 16 forks source link

tracks viewer: no tracks visible #233

Closed stevo01 closed 11 months ago

stevo01 commented 1 year ago

The service for the "tracks" layer changed.

old solution:

new solution:

I think we need to adapt the online chart for access to new url / service.

stevo01 commented 12 months ago

the openseamap geoserver provides a new layer for tracks.

var wms = new ImageLayer({
  source: new ImageWMS({
    url: 'https://depth.openseamap.org/geoserver/openseamap/wms',
    params: {
      //'LAYERS': 'openseamap:trackpoints_raw_merge_1,openseamap:trackpoints_raw_merge_2,openseamap:trackpoints_raw_merge_3,openseamap:trackpoints_raw_merge_4,openseamap:trackpoints_raw_merge_5,openseamap:trackpoints_raw_merge_6,openseamap:trackpoints_raw_merge_7,openseamap:trackpoints_raw_merge_8,openseamap:trackpoints_raw_merge_9,openseamap:trackpoints_raw_merge_10,openseamap:trackpoints_raw_merge_11,openseamap:trackpoints_raw_merge_12,openseamap:trackpoints_raw_merge_13,openseamap:trackpoints_raw_merge_14,openseamap:trackpoints_raw_merge_15,openseamap:trackpoints_raw_merge_16,openseamap:trackpoints_raw_merge_17,openseamap:trackpoints_raw_merge_18,openseamap:trackpoints_raw_merge_19,openseamap:trackpoints_raw_merge_20',
      'LAYERS': 'openseamap:tracks_10m',
      'VERSION': '1.1.0'
    },
    attributions: '© OpenSeaMap Contributors,'
  })
});
stevo01 commented 11 months ago

https://github.com/OpenSeaMap/depth_webfrontend/pull/235 solved the issue