Offset (and invisible) layers when loaded from the Catalog
37 views
Skip to first unread message
Assigned to matteo.v...@geosolutionsgroup.com by me
Severin Menard
unread,
Sep 8, 2022, 6:08:20 PM9/8/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mapstore-users
Hi,
Any attempt from loading layers from https://ifl.francophonelibre.org/mapstore/#/ ends with zooming in a totally different area of the one covered by the layer (and the zoom on layer button does not change anything), while everything is fine when loading the same layers directly from GeoServer (called here IFL - Les Libres Geographes).
I guess it is related to some wrong CRS instructions, but where can I fix that?
Sincerely,
Severin
Matteo Velludini
unread,
Sep 9, 2022, 5:41:03 AM9/9/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mapstor...@googlegroups.com
Hi Severin,
is it possible that this problem is related to the wrong bbox associated with that layer in geoserver?
Can you check in geoserver if the bbox is correctly assigned?
for example for this layer (Guinee_PNLTHA_hors_osm_public:GN_limites_adm1_regions_ocha_20210503)
the bbox associated is
which indeed makes the "zoom to layer extent" action zoom where no data are present.
please, let me know if this was helpful
Severin Menard
unread,
Sep 9, 2022, 4:34:13 PM9/9/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mapstore-users
Hi Matteo,
Thanks for your answer.
The GeoServer bbox is different than the one you found (where?) associated to the layer:
and as I mentioned in my previous message, there is no problem to load the layers from GeoServer.
So it seems there is something between GS and MapStore that changes the bbox. Any clue?
Matteo Velludini
unread,
Sep 12, 2022, 10:45:33 AM9/12/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mapstor...@googlegroups.com
Hi,
i noticed that the wrong crs are received from the get capabilities here
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mapstore-users
Hi,
Someone from the geOrchestra community told me there is (was?) actually a bug with the Zoom to layer extent function. A way to bypass it is to add these settings in the MapStore contexts within the Catalog plugin:
{
"cfg":
{
"zoomToLayer": false,
"wrap": true
},
"override":
{}
}
and also to add this in the LocalConfig.json file, in the desktop section:
and this works: no (wrong) zoom to layer when loading a layer. But of course if you click on the Zoom to layer button, you still end up at the wrong place.
The bug may have been solved in the last MapStore version for geOrchestra, but I have been advised to wait for the next one.
Sincerely,
Severin
Matteo Velludini
unread,
Oct 11, 2022, 11:09:59 AM10/11/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mapstore-users
Hi,
Have you had the change to prove the new release v2022.02.00?