You are not logged in.

#1 2020-05-13 08:37:23

kannix
Member
From: Ruhrgebiet
Registered: 2008-10-29
Posts: 50
Website

openlayers / vector-tiles

Ahoi,

my waterway-map https://maps.grade.de/cemt.html#10/52.164736/23.725269 does not render tiles at all zoom levels (zoom-in on River Bug east of Brest (BY).
Same tile-source in leaflet works like expected...

Tips and tricks are welcome!

Thanks, Dirk

Offline

#2 2020-05-13 11:20:18

kannix
Member
From: Ruhrgebiet
Registered: 2008-10-29
Posts: 50
Website

Re: openlayers / vector-tiles

problem found and solved:
feature.getGeometry.getType is 'LineString' AND ' 'MultiLineString'
(I missed the latter one)

Convenient debugging tool:
https://chrome.google.com/webstore/deta … ajfgbofdpk

Last edited by kannix (2020-05-13 11:26:42)

Offline

#3 2020-05-13 11:49:30

FvGordon
Member
Registered: 2009-08-29
Posts: 704

Re: openlayers / vector-tiles

This part of the river has no CEMT code assigned - so you can't select a colour from the legend to draw it.

Offline

#4 2020-05-13 11:56:44

kannix
Member
From: Ruhrgebiet
Registered: 2008-10-29
Posts: 50
Website

Re: openlayers / vector-tiles

FvGordon wrote:

This part of the river has no CEMT code assigned - so you can't select a colour from the legend to draw it.

yes, the part still missing has no CEMT assigned (there is a weir, thus not navigable).

As said above, all is well, now.

Offline

Board footer

Powered by FluxBB