<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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">A quick follow-up, and I’m not sure it is “best practice”, but since I’m on the inside only.<o:p></o:p></p>
<p class="MsoNormal">I reverted back to the original: <config name="srs" value="EPSG:26917" />, as I noticed the CORS error.<o:p></o:p></p>
<p class="MsoNormal">Confirmed editing works as well: <a href="https://docs.geomoose.org/3.x/howto/add-vector-editing.html">
Vector Editing Introduction — GeoMoose documentation</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The following was what worked, and kind of makes sense to me (by no means a professional opinion) due to passing WMS and WFS services:<o:p></o:p></p>
<p class="MsoNormal"><Directory "/var/www/cgi-bin"><o:p></o:p></p>
<p class="MsoNormal"> AllowOverride None<o:p></o:p></p>
<p class="MsoNormal"> Options FollowSymLinks<o:p></o:p></p>
<p class="MsoNormal"> Require all granted<o:p></o:p></p>
<p class="MsoNormal"> Header set Access-Control-Allow-Origin "*"<o:p></o:p></p>
<p class="MsoNormal"></Directory><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Brent Fraser <bfraser@geoanalytic.com> <br>
<b>Sent:</b> Tuesday, May 31, 2022 9:35 AM<br>
<b>To:</b> R. Paul Warriner <paul@warriner.us>; geomoose-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [GeoMoose-users] Identify tool using TinyOWS layer<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">And you could step through the code using the Browser's Developer Tools. A good place to set a breakpoint is in wfsGetFeatureQuery in components/map/index.js
<a href="https://github.com/geomoose/gm3/blob/f9f6e3be5c93b26c62aaa39ecf59c9bfe4d948de/src/gm3/components/map/index.js#L346" target="_blank">
<span style="color:#006693">https://github.com/geomoose/gm3/blob/f9f6e3be5c93b26c62aaa39ecf59c9bfe4d948de/src/gm3/components/map/index.js#L346</span></a> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">I'm still convinced it's related to the SRS of the returned data....<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">In some of my old test mapbooks I see I have set <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <param name="srsname" value="EPSG:4326"/><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">(note the parameter name is "srsname"; I don't recall the significance of that parameter).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">
<hr size="2" width="100%" align="center" id="previousmessagehr">
</span></div>
<div>
<p class="MsoNormal"><strong><span style="font-size:10.5pt;font-family:"Arial",sans-serif">From</span></strong><span style="font-size:10.5pt;font-family:"Arial",sans-serif">: "R. Paul Warriner" <<a href="mailto:paul@warriner.us">paul@warriner.us</a>><br>
<strong><span style="font-family:"Arial",sans-serif">Sent</span></strong>: 5/31/22 7:16 AM<br>
<strong><span style="font-family:"Arial",sans-serif">To</span></strong>: "<a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a>" <<a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a>><br>
<strong><span style="font-family:"Arial",sans-serif">Subject</span></strong>: Re: [GeoMoose-users] Identify tool using TinyOWS layer<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
</div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">TinyOWS 1.2.0 from git.<o:p></o:p></span></p>
<p style="margin-top:.75pt;box-sizing: border-box"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
<p style="margin-top:.75pt;box-sizing: border-box"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">The SQL appears valid, as I get all the correct attributes.<o:p></o:p></span></p>
<p style="margin-top:.75pt;box-sizing: border-box"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
<p style="margin-top:.75pt;box-sizing: border-box"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">Will do some debugging through the browser, and see if I find anything.<o:p></o:p></span></p>
<p style="margin-top:.75pt;box-sizing: border-box"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
<p style="margin-top:.75pt;box-sizing: border-box"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">Thanks,<o:p></o:p></span></p>
<p style="margin-top:.75pt;box-sizing: border-box"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">Paul<o:p></o:p></span></p>
<p style="margin-top:.75pt;box-sizing: border-box"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor;border-image: none 100% / 1 / 0 stretch;box-sizing: border-box">
<p style="margin-top:.75pt"><strong><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">From:</span></strong><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> Brent Fraser <<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>><br>
<strong><span style="font-family:"Arial",sans-serif">Sent:</span></strong> Monday, May 30, 2022 9:15 PM<br>
<strong><span style="font-family:"Arial",sans-serif">To:</span></strong> R. Paul Warriner <<a href="mailto:paul@warriner.us">paul@warriner.us</a>>;
<a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a><br>
<strong><span style="font-family:"Arial",sans-serif">Subject:</span></strong> Re: [GeoMoose-users] Identify tool using TinyOWS layer<o:p></o:p></span></p>
</div>
<p style="margin-top:.75pt;box-sizing: border-box"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
<div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">Some of the things I've done while trying to track down GeoMoose issues are:<o:p></o:p></span></p>
</div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
</div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">1. Use the Developer tools in the browser to examine the network traffic between the browser and the server when doing an Identify.<o:p></o:p></span></p>
</div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">2. Copy the last SQL command from the TinyOWS log into the SQL tool of pgAdmin and see what response it gives.<o:p></o:p></span></p>
</div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
</div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444">Which version of TinyOWS are you using?<o:p></o:p></span></p>
</div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
</div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
</div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"><o:p> </o:p></span></p>
</div>
<div>
<div>
<div>
<p style="margin-top:.75pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#444444"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>