<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Preformattato HTML Carattere";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.PreformattatoHTMLCarattere
        {mso-style-name:"Preformattato HTML Carattere";
        mso-style-priority:99;
        mso-style-link:"Preformattato HTML";
        font-family:Consolas;
        mso-fareast-language:IT;}
span.StileMessaggioDiPostaElettronica20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=IT link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Yes Jackie, this resolve my issue!<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>In the same MGOS installation, if the feature source id change, also the </span>nsXXXXXXX ID change.<o:p></o:p></p><p class=MsoNormal>But the most important thing is that, in case of migration from one MGOS to a new MGOS, if all data sources will have the same resource id (i.e. the same path and name) they will have also the same nsXXXXXXX calculated from hash.<o:p></o:p></p><p class=MsoNormal>I hope we don't find any bugs :)<o:p></o:p></p><p class=MsoNormal><br>Thank you very much<o:p></o:p></p><p class=MsoNormal>gvtomm<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Da:</b> mapguide-users <mapguide-users-bounces@lists.osgeo.org> <b>Per conto di </b>Jackie Ng<br><b>Inviato:</b> venerdì 19 novembre 2021 09:10<br><b>A:</b> mapguide-users@lists.osgeo.org<br><b>Oggetto:</b> Re: [mapguide-users] R: MapGuide WFS uniqueID<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I took a peek at how the nsXXXXXXX is being generated in the Web Tier code.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The number is a hash of the feature source id (Library://....FeatureSource) and should be the same hash on any server as long as the feature source id is the same. If the same feature source id produces different hashes on different servers, it is probably a bug.<o:p></o:p></p></div><div><p class=MsoNormal><br>- Jackie<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>You wrote:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><blockquote style='margin-left:30.0pt;margin-right:0cm'><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>Hi Mark<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>Thank you, I tried with MG_CONTROL (very good script!!) and my  polygon<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>table<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>Insert into MG_CONTROL<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>   ( FDO_ORA_OWNER, FDO_ORA_NAME, FDO_ORA_GEOMCOLUMN,  FDO_CLASS_NAME,<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>FDO_SRID,<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>    FDO_IDENTITY)<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>Values<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>   ('ATS_BASE', 'BA_MUNICIPALITY_POLYGON', 'GEOM', 'MY_POLYGON', 82087, <o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>    'FID');<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>than I Used the Mapagent Web Tier Test page with WFS GETCAPABILITIES to see<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>the result<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'><a href="http://xxx:8018/mapguide/mapagent/index.html"><span style='color:#005096'>http://xxx:8018/mapguide/mapagent/index.html</span></a><o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>When I use Gaia to test the service, the reference name is<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>ns160697717:MY_POLYGON<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>Result<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>In my opinion MG_CONTROL can handle the name of the feature class, but not<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>the ID before the name that depends from the data source created in MGOS<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>(I’m trying to force/change the ID)<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>Do you have experienced something else, please?<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>Best regards<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span style='font-size:10.5pt;font-family:Courier;color:black'>Gvtomm<o:p></o:p></span></pre></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><p class=MsoNormal><i><span style='font-size:7.5pt'>Please Note: I no longer create new posts or post replies to any OSGeo mailing list through nabble. As a result, you most likely won't see this message appear on nabble's view of any OSGeo mailing list and may only see this message through mailing list archives or depending on your mailing list subscription settings, through daily message digests or automated notifications from the mailing lists.</span></i><o:p></o:p></p></div></div></div></div></div></body></html>