<div dir="ltr">Martin,<div><br>Yes, definitely we will test it. You plan to deploy 4.0.4 on maven repo will work for us. </div><div>Please note that the CRS URL is truncated in the WFSFeatureStore</div><div><br></div><div><br></div><div><div style="font-size:12.8px">The code snippet that breaks is in the WFSFeatureStore.java (line 138)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><pre style="white-space:pre-wrap;font-family:"Courier New";font-size:9pt"><span style="color:rgb(128,128,128);font-style:italic">//extract the feature type ------------------------------<wbr>-----------<br></span><font color="#000000">CoordinateReferenceSystem crs;<br>FeatureType sft;<br></font><span style="color:rgb(0,0,128);font-weight:bold">try </span><font color="#000000">{<br> String defaultCRS = ftt.getDefaultCRS();<br> </font><span style="color:rgb(0,0,128);font-weight:bold">if</span><font color="#000000">(defaultCRS.contains(</font><span style="color:rgb(0,128,0);font-weight:bold">"EPSG"</span><font color="#000000">)<wbr>){<br> </font><span style="color:rgb(0,0,128);font-weight:bold">final int </span><font color="#000000">last = defaultCRS.lastIndexOf(</font><span style="color:rgb(0,128,0);font-weight:bold">':'</span><font color="#000000">);<br> </font><b><font color="#ff0000"> defaultCRS = "EPSG:"+defaultCRS.substring(<wbr>last+1);</font></b><font color="#000000"><br> }<br> crs = CRS.</font><span style="color:rgb(0,0,0);font-style:italic">forCode</span><font color="#000000">(defaultCRS);<br> </font><span style="color:rgb(0,0,128);font-weight:bold">if </span><font color="#000000">(getLongitudeFirst()) {<br> crs = AbstractCRS.</font><span style="color:rgb(0,0,0);font-style:italic">castOrCopy</span><font color="#000000">(crs).<wbr>forConvention(AxesConvention.</font><span style="color:rgb(102,14,122);font-weight:bold;font-style:italic">R<wbr>IGHT_HANDED</span><font color="#000000">);<br> }<br> sft = </font><span style="color:rgb(0,0,0);background-color:rgb(228,228,255)">requestType</span><font color="#000000">(typeName);<br>} </font></pre><div><font color="#000000"><br></font></div><div><font color="#000000">Simone has redeployed the WFS using the short version "EPSG:4326" to see if the problem is solved, However, we ran into another issue with Geoserver. The coordinates of lat/long are flipped when the short version is used on Geoserver.</font></div><div><font color="#000000">Only the preservation of the full URL will keep the order lat/long. I will forward to you the email thread related to this problem.</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><br></font></div><div><br></div><div><font color="#000000"><br></font></div><div><font color="#000000">Regards</font></div></div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 27, 2017 at 11:16 AM, Martin Desruisseaux <span dir="ltr"><<a href="mailto:martin.desruisseaux@geomatys.com" target="_blank">martin.desruisseaux@geomatys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-2272358743694775066moz-cite-prefix">
<p>Hello Stephane</p>
<p>Indeed, the <tt>srsName</tt> attribute in <tt>gml:Envelope</tt>
is of type <tt>anyURI</tt>. My interpretation is that the
"urn:ogc:def:crs:epsg:…" syntax is more adequate than "EPSG:…"
there. I'm not sure why <tt>WFSFeatureStore</tt> uses the short
form; maybe at the time it was written, not all servers
understood the URN form.</p>
<p>I can try modify Geotk 4.0.0 for using the URN form. I think
(but I'm not sure) it would be at line 576 of
GTtoSE110Transformer. If I try a change, would you have an
opportunity to test? What would be the preferred approach?</p>
<ul>
<li>You checkout the source code and propose the line to edit.</li>
<li>I deploy a 4.0.4-SNAPSHOT version (the changes in 4.0.1 to
4.0.3 should not affects WFS).</li>
</ul>
<p>If we get a test to work, I can deploy a 4.0.4 on
<a class="m_-2272358743694775066moz-txt-link-freetext" href="http://maven.geotoolkit.org/" target="_blank">http://maven.geotoolkit.org/</a> if useful.</p><span class="HOEnZb"><font color="#888888">
<p> Martin</p>
<br>
</font></span></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Stephane Fellah<br></div><div style="font-family:arial;font-size:small">Chief Knowledge Scientist</div><div style="font-family:arial;font-size:small">Image Matters LLC</div><div style="font-family:arial;font-size:small">Office: +(703) 669 5510</div><div style="font-family:arial;font-size:small">Cell: 703 431 9420</div></div></div></div></div>
</div>