<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style>.EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; }</style></head>
<body>
<font size="2"><div class="PlainText">Hi Jackie,<br>
Thank you for all the information and the test that you did.<br>
<br>
There is something strange: i load your package but, during the test connection appears the following error:<br>
<br>
FDO Connection Status:<br>
        The remote server returned an error: (559) MgFdoException.: The custom error module does not recognize this error.<br>
        The remote server returned an error: (559) MgFdoException.<br>
<br>
I compared the 2 config file and two main difference are the following:<br>
<br>
- MM config: <xs:maxLength value="0" /> / JK config: <xs:maxLength value="256" /><br>
- where you put x20  the maestro by me put x2e<br>
<br>
But in both case the connection doesn't work,  or by loading your package or by creating the feature source new by me.<br>
<br>
Do you have some idea?<br>
<br>
Here a link to my actual package<br>
<br>
<a href="https://www.swisstransfer.com/d/0500602d-5285-4071-b49e-b66c0bf74137">https://www.swisstransfer.com/d/0500602d-5285-4071-b49e-b66c0bf74137</a><br>
<br>
Do you have some idea about this issue<br>
<br>
Thank you

<br><table id="0.pmf3qwagmfm" style="width: 365.315px;" cellspacing="0" cellpadding="0"><tbody><tr><td valign="top" style="font-family: Arial; font-size: 10pt; width: 365.315px;" class="" colspan="3"><b><span style="font-size: 10pt;"><span style="color: rgb(33, 37, 41);">MAURIZIO MASELLI</span></span></b></td></tr><tr><td valign="top" style="font-family: Arial; font-size: 9pt; width: 365.315px;" class="" colspan="3"><span style="color: rgb(0, 159, 227); font-size: 9pt;">Geografo dipl. Bsc UZH, Ingegnere geologo dipl. MSc ETHZ<br />Caposettore Geoinformazione</span></td></tr><tr><td valign="top" colspan="2" style="width: 265.315px; font-family: Arial; border-width: 0px 0px 1px; border-left-style: initial; border-color: rgb(255, 255, 255) rgb(255, 255, 255) rgb(0, 159, 227); border-right-style: initial; border-top-style: initial; border-bottom-style: solid; padding: 0px 0px 10px;"></td><td valign="top" colspan="1" style="width: 100px; font-family: Arial;"></td></tr><tr><td valign="middle" colspan="1" style="width: 15px; font-family: Arial; font-size: 9pt; padding: 10px 5px 0px 0px; text-align: center; color: rgb(0, 0, 0);" class=""><SPAN><IMG border=0 src="cid:telefono-40x40px_4d360f0e-4cab-411b-a533-46c57a97c734.png" height="15" width="15" style="height:15px; width:15px"/></SPAN></td><td valign="top" colspan="2" style="width: 350.315px; font-family: Arial; font-size: 9pt; padding: 10px 0px 0px; color: rgb(0, 0, 0);" class=""><a href="tel:+41 78 764 96 43" title="" style="color: rgb(0, 0, 0); text-decoration: none;">+41 58 580 01 49</a> </td></tr><tr><td valign="top" style="font-family: Arial; font-size: 9pt; width: 365.315px; padding: 10px 0px;" class="" colspan="3"><img src="cid:logo_andreotti_9c1f51e7-2040-413a-bbf6-643a1df9e70c.png" border="0" id="0.6ro78nr5iss" alt="Andreotti & Partners SA" style="aspect-ratio: 250 / 51; width: 250px; height: 51px;" width="250" height="51"><br></td></tr><tr><td valign="top" colspan="2" style="width: 265.315px; font-family: Arial; border-width: 1px 0px 0px; border-left-style: initial; border-color: rgb(0, 159, 227) rgb(255, 255, 255) rgb(255, 255, 255); border-right-style: initial; border-top-style: solid; border-bottom-style: initial; padding: 10px 0px 0px;" class=""></td><td valign="top" colspan="1" style="width: 100px; font-family: Arial;" class=""></td></tr><tr><td valign="middle" style="font-family: Arial; font-size: 9pt; width: 15px; text-align: center; padding: 0px 5px 5px 0px;" class=""><img src="cid:sedi-40x40px_290c3f55-7461-41e4-9bbf-88fd22420db3.png" border="0" id="0.q37t4k1u89m" style="aspect-ratio: 15 / 15; width: 15px; height: 15px;" width="15" height="15"></td><td valign="middle" colspan="2" style="width: 350.315px; text-align: left; padding: 0px 0px 5px;" class=""><span style="font-size: 9pt;">Locarno &#x2022; Bellinzona &#x2022; Biasca &#x2022; Mendrisio<br></span></td></tr><tr><td valign="middle" style="font-family: Arial; font-size: 9pt; width: 15px; text-align: center; padding: 0px 5px 0px 0px;" class=""><img src="cid:web-40x40px_62cb8b6f-76f0-4c7a-bb8c-52ac7c167a41.png" border="0" id="0.j1k31e4cirm" style="font-size: 12px; aspect-ratio: 15 / 15; width: 15px; height: 15px;" width="15" height="15"></td><td valign="middle" colspan="2" style="width: 350.315px; text-align: left;" class=""><span style="font-size: 9pt;"><a href="https://www.andreotti.ch" title="" style="text-decoration: none;"><span style="color: rgb(0, 0, 0);">www.andreotti.ch</span></a><span style="color: rgb(0, 0, 0);"> </span></span></td></tr></tbody></table><p><br></p><br>
-----Messaggio originale-----<br>
Da: mapguide-users <mapguide-users-bounces@lists.osgeo.org> Per conto di mapguide-users-request@lists.osgeo.org<br>
Inviato: giovedì, 5 settembre 2024 21:00<br>
A: mapguide-users@lists.osgeo.org<br>
Oggetto: mapguide-users Digest, Vol 212, Issue 4<br>
<br>
Send mapguide-users mailing list submissions to<br>
        mapguide-users@lists.osgeo.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        mapguide-users-request@lists.osgeo.org<br>
<br>
You can reach the person managing the list at<br>
        mapguide-users-owner@lists.osgeo.org<br>
<br>
When replying, please edit your Subject line so it is more specific than "Re: Contents of mapguide-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: WMS layer name problem (Jackie Ng)<br>
   2. Re: WMS layer name problem (Jackie Ng)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 5 Sep 2024 20:24:33 +1000<br>
From: Jackie Ng <jumpinjackie@gmail.com><br>
To: MapGuide Users Mail List <mapguide-users@lists.osgeo.org><br>
Subject: Re: [mapguide-users] WMS layer name problem<br>
Message-ID:<br>
        <CAAC2fNR88fAuzStjvg57AQLyDcsZeA+1rqzqqgeLjs54JWZE+Q@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Responses inline [JN] below.<br>
<br>
- Jackie<br>
<br>
You wrote:<br>
<br>
Hi Jackie,<br>
<br>
Thank you very much for the help. What you did is exactly what i did to load the wms as a layer definition.<br>
<br>
<br>
The layer names that create problems are the following:<br>
<br>
<br>
- [TI-028b.1] Gambarogno Lalpt - Piano zone Magadino (ti 028b_1<br>
zp100064_pz_ma)<br>
- [TI-028b.1] Gambarogno Lalpt - Piano zone S. Nazzaro (ti 028b_1<br>
zp100064_pz_sn)<br>
- [TI-028b.1] Gambarogno Lalpt - Piano zone S. Abbondio (ti 028b_1<br>
zp100064_pz_sa)<br>
- [TI-028b.1] Gambarogno Lalpt - Piano zone Gerra G. (ti 028b_1<br>
zp100064_pz_ge_)<br>
- [TI-028b.1] Gambarogno Lalpt - Piano zone Vira G. (ti 028b_1<br>
zp100064_pz_vi)<br>
- [TI-028b.1] Gambarogno Lalpt - Piano zone Indemini (ti 028b_1<br>
zp100064_pz_in)<br>
- [TI-028b.1] Gambarogno Lalpt - Piano zone Piazzogna (ti 028b_1<br>
zp100064_pz_pi)<br>
- [TI-028b.1] Gambarogno Lalpt - Piano zone Caviano (ti 028b_1<br>
zp100064_pz_ca)<br>
<br>
<br>
JN: Thanks for the specific list. I'll dig further.<br>
<br>
The improvements that you did to the advanced options of the WMS feture source are avaliable on the next release of Maestro?<br>
<br>
<br>
JN: Yes this change will be in the next release. No specific date on a next release of Maestro. But if you want to try Maestro with this change, you can grab the latest CI build from AppVeyor<br>
<br>
<a href="https://ci.appveyor.com/project/jumpinjackie/mapguide-maestro/builds/50521030/artifacts">https://ci.appveyor.com/project/jumpinjackie/mapguide-maestro/builds/50521030/artifacts</a><br>
<br>
Another question the query to wms in ajax viewer are possible only  with implementation of an external programm right or there is another solution?<br>
<br>
<br>
JN: The AJAX viewer is pretty much our "legacy" viewer offering that can only view layers served from MapGuide. It does not support external base layers or WFS/WMS layers unless those services are consumed via their respective FDO providers (which is what you're currently doing)<br>
<br>
I try to compose the getfetureinfo and create a link on a tooltip but i dont know how to find the width, hight, i and j paramters of wms to complete the url.<br>
<br>
<br>
Have you some idea or advise?<br>
<br>
<br>
JN: Sorry, the AJAX viewer only lets you *view* any WMS layers consumed through the FDO provider. There is no interaction support and trying to add such support is a fruitless endeavor. Neither does fusion without some significant work.<br>
<br>
However my mapguide-react-layout offering does let you overlay/underlay WMS layers against your MG layers and the default select tool does automatic WMS GetFeatureInfo queries against any WMS layers you click on and can present its result as either a feature popup or client-side vector feature "selection".<br>
<br>
It also comes built-in with an External Layer Manager widget to easily add WFS/WMS and file-based plaintext vector data (GeoJSON/KML/etc) layers. If you need a viewer solution that needs to do more than view WMS layers out-of-the-box then mapguide-react-layout is probably your best choice.<br>
<br>
mapguide-react-layout is on my github:<br>
<a href="https://github.com/jumpinjackie/mapguide-react-layout">https://github.com/jumpinjackie/mapguide-react-layout</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/mapguide-users/attachments/20240905/fbe5ecb3/attachment-0001.htm">http://lists.osgeo.org/pipermail/mapguide-users/attachments/20240905/fbe5ecb3/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 5 Sep 2024 23:24:54 +1000<br>
From: Jackie Ng <jumpinjackie@gmail.com><br>
To: MapGuide Users Mail List <mapguide-users@lists.osgeo.org><br>
Subject: Re: [mapguide-users] WMS layer name problem<br>
Message-ID:<br>
        <CAAC2fNT5S_SthVUxQjc3pHU1ZnYM3j2eO1PhsLR=-goTKb+izA@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
An update on the example layers.<br>
<br>
I could not reproduce the problems you described. I set up a WMS feature source in Maestro (git master) with a slimmed down configuration doc focused only on the layers you specified and I was able to create and preview all the layers specified.<br>
<br>
To see for yourself, I've uploaded a package containing this WMS feature source and all the layers you mentioned here:<br>
<br>
<a href="https://download.osgeo.org/mapguide/testing/data/WMS.mgp">https://download.osgeo.org/mapguide/testing/data/WMS.mgp</a><br>
<br>
This package loads into Library://WMS/ so make sure nothing else is there already or it may get overwritten by this package when loaded.<br>
<br>
So as far as I'm concerned, the displaying of these WMS layers is fine on any viewer as MapGuide layers using the WMS FDO Provider. However if you desire GetFeatureInfo-based interaction, then my mapguide-react-layout viewer recommendation still stands.<br>
<br>
- Jackie<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/mapguide-users/attachments/20240905/42030e1e/attachment-0001.htm">http://lists.osgeo.org/pipermail/mapguide-users/attachments/20240905/42030e1e/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
mapguide-users@lists.osgeo.org<br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of mapguide-users Digest, Vol 212, Issue 4<br>
**********************************************<br>
</div></font>
</body>
</html>