LANIS link #349

Closed
opened 2023-10-24 14:07:49 +02:00 by mpeltriaux · 1 comment
Owner

Status quo

The currently used LANIS link template does not render certain layers: https://git.naturschutz.rlp.de/SGD-Nord/konova/src/branch/master/konova/sub_settings/lanis_settings.py#L18

Fix

In

https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/index.php?lang=de&zl={}&x={}&y={}&bl=tk_rlp_tms_grau&bo=1&lo=0.8,0.8,0.8,0.6,0.8,0.8,0.8,0.8,0.8&layers=eiv_recorded,eiv_unrecorded,eiv_unrecorded_old_entries,kom_recorded,kom_unrecorded,kom_unrecorded_old_entries,oek_recorded,oek_unrecorded,ema_recorded,ema_unrecorded,mae&service=kartendienste_naturschutz

the parameter lo should be dropped. It contains 10 values which does not match the given 12 layers, resulting in the last two not being rendered at all. By dropping the parameter default values will be used instead:

https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/index.php?lang=de&zl={}&x={}&y={}&bl=tk_rlp_tms_grau&bo=1&layers=eiv_recorded,eiv_unrecorded,eiv_unrecorded_old_entries,kom_recorded,kom_unrecorded,kom_unrecorded_old_entries,oek_recorded,oek_unrecorded,ema_recorded,ema_unrecorded,mae&service=kartendienste_naturschutz

Further improvement

However, LANIS provides support for proper highlighting of the polygon of interest. Using that functionality would surely improve the UX.

# Status quo The currently used LANIS link template does not render certain layers: https://git.naturschutz.rlp.de/SGD-Nord/konova/src/branch/master/konova/sub_settings/lanis_settings.py#L18 # Fix In ``` https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/index.php?lang=de&zl={}&x={}&y={}&bl=tk_rlp_tms_grau&bo=1&lo=0.8,0.8,0.8,0.6,0.8,0.8,0.8,0.8,0.8&layers=eiv_recorded,eiv_unrecorded,eiv_unrecorded_old_entries,kom_recorded,kom_unrecorded,kom_unrecorded_old_entries,oek_recorded,oek_unrecorded,ema_recorded,ema_unrecorded,mae&service=kartendienste_naturschutz ``` the parameter `lo` should be dropped. It contains 10 values which does not match the given 12 layers, resulting in the last two not being rendered at all. By dropping the parameter default values will be used instead: ``` https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/index.php?lang=de&zl={}&x={}&y={}&bl=tk_rlp_tms_grau&bo=1&layers=eiv_recorded,eiv_unrecorded,eiv_unrecorded_old_entries,kom_recorded,kom_unrecorded,kom_unrecorded_old_entries,oek_recorded,oek_unrecorded,ema_recorded,ema_unrecorded,mae&service=kartendienste_naturschutz ``` # Further improvement However, LANIS provides support for proper highlighting of the polygon of interest. Using that functionality would surely improve the UX.
mpeltriaux added the
bug
label 2023-10-24 14:07:49 +02:00
mpeltriaux self-assigned this 2023-10-24 14:07:49 +02:00
mpeltriaux added the
enhancement
label 2023-10-24 14:09:41 +02:00
Author
Owner

Merged in #350

# Merged in #350
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#349
No description provided.