[geotk] CRS issue with WFS module

Simone Giannecchini simone.giannecchini at geo-solutions.it
Sun Oct 29 09:05:12 PDT 2017


Ciao Stephane,
I think the axes are reverted on the client, see the layer preview below:
http://cloudsdi.geo-solutions.it/geoserver/daraa/wms?service=WMS&version=1.1.0&request=GetMap&layers=daraa:StructureSrf&styles=&bbox=36.081531018310216,32.60341760949603,36.12140606596241,32.644004820444756&width=754&height=768&srs=EPSG:4326&format=application/openlayers

Do you want me to change the SRS style in GeoServer back to using a URN?


Regards,
Simone Giannecchini
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

On Fri, Oct 27, 2017 at 10:23 PM, Stephane Fellah <
stephanef at imagemattersllc.com> wrote:

> Victory !!! I got it working. TIE has been established with Geosolutions
> WFS.
>
> Here a rendering of the following request
> <http://cloudsdi.geo-solutions.it/geoserver/daraa/ows?service=WFS&NAMESPACE=xmlns%28daraa%3Dhttp%3A%2F%2Fdaraa.cloudsdi.geo-solutions.it%2F%29&FILTER=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+standalone%3D%22yes%22%3F%3E%0A%3Cogc%3AFilter+xmlns%3Ans6%3D%22http%3A%2F%2Fgeotoolkit.org%22+xmlns%3Ase%3D%22http%3A%2F%2Fwww.opengis.net%2Fse%22+xmlns%3Ans8%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%2F3.2%22+xmlns%3Agml%3D%22http%3A%2F%2Fwww.opengis.net%2Fgml%22+xmlns%3Asld%3D%22http%3A%2F%2Fwww.opengis.net%2Fsld%22+xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22+xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A++%3Cogc%3ABBOX%3E%0A++++%3Cogc%3APropertyName%3Ethe_geom%3C%2Fogc%3APropertyName%3E%0A++++%3Cgml%3AEnvelope+srsName%3D%22urn%3Aogc%3Adef%3Acrs%3AEPSG%3A8.9%3A4326%22%3E%0A++++++%3Cgml%3AlowerCorner%3E32.60332015732547+36.08140948869223%3C%2Fgml%3AlowerCorner%3E%0A++++++%3Cgml%3AupperCorner%3E32.64407984267453+36.12149051130776%3C%2Fgml%3AupperCorner%3E%0A++++%3C%2Fgml%3AEnvelope%3E%0A++%3C%2Fogc%3ABBOX%3E%0A%3C%2Fogc%3AFilter%3E%0A&PROPERTYNAME=the_geom&TYPENAME=daraa%3AStructureSrf&REQUEST=GETFEATURE&VERSION=1.1.0&SERVICE=WFS>
> :
>
>
> http://cloudsdi.geo-solutions.it/geoserver/daraa/ows?
> service=WFS&NAMESPACE=xmlns(daraa=http://daraa.cloudsdi.
> geo-solutions.it/)&FILTER=<?xml version="1.0" encoding="UTF-8"
> standalone="yes"?>
> <ogc:Filter xmlns:ns6="http://geotoolkit.org" xmlns:se="
> http://www.opengis.net/se" xmlns:ns8="http://www.opengis.net/gml/3.2"
> xmlns:gml="http://www.opengis.net/gml" xmlns:sld="http://www.opengis.
> net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="
> http://www.w3.org/1999/xlink">
>   <ogc:BBOX>
>     <ogc:PropertyName>the_geom</ogc:PropertyName>
>     <gml:Envelope srsName="urn:ogc:def:crs:EPSG:8.9:4326">
>       <gml:lowerCorner>32.60332015732547 36.08140948869223</gml:
> lowerCorner>
>       <gml:upperCorner>32.64407984267453 36.12149051130776</gml:
> upperCorner>
>     </gml:Envelope>
>   </ogc:BBOX>
> </ogc:Filter>
> &PROPERTYNAME=the_geom&TYPENAME=daraa:StructureSrf&
> REQUEST=GETFEATURE&VERSION=1.1.0&SERVICE=WFS
>
> Notice it works even if the WFS uses the short version in its capabilities.
>
>
> [image: Inline image 1]
>
>
> Simone, please confirm that the features are displayed correctly.
> Martin, please deploy the jar files into your maven repository.
>
> Thank you sooo much Simone, Andrea and Martin !
>
> Regards
>
> Stephane
>
>
>
> On Fri, Oct 27, 2017 at 3:43 PM, Stephane Fellah <
> stephanef at imagemattersllc.com> wrote:
>
>> Simone,
>>
>> Would you mind to put back the CRS in urn form like before to test the
>> update. Thanks
>>
>> Stephane
>>
>> On Fri, Oct 27, 2017 at 3:32 PM, Stephane Fellah <
>> stephanef at imagemattersllc.com> wrote:
>>
>>> Martin,
>>>
>>> Let me check it out. I will test it and let you know if it works or not.
>>>
>>> Stephane
>>>
>>> On Fri, Oct 27, 2017 at 3:01 PM, Martin Desruisseaux <
>>> martin.desruisseaux at geomatys.com> wrote:
>>>
>>>> Hello Stephane
>>>>
>>>> I created a 4.0.4 branch on https://github.com/Geomatys/geotoolkit/.
>>>> Can you clone it, build with Maven and test?
>>>>
>>>>
>>>> Le 27/10/2017 à 18:09, Stephane Fellah a écrit :
>>>>
>>>> The code snippet that breaks is in the WFSFeatureStore.java  (line 138)
>>>>
>>>> Actually that snippet was for code parsing instead than code
>>>> formatting. I'm not sure why it shorten URNs before to pass them to the
>>>> CRS.forCode(String) static method since the later already understand
>>>> URNs. In doubt, I left it unchanged.
>>>>
>>>>     Martin
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Stephane Fellah
>>> Chief  Knowledge Scientist
>>> Image Matters LLC
>>> Office: +(703) 669 5510 <(703)%20669-5510>
>>> Cell: 703 431 9420 <(703)%20431-9420>
>>>
>>
>>
>>
>> --
>> Stephane Fellah
>> Chief  Knowledge Scientist
>> Image Matters LLC
>> Office: +(703) 669 5510 <(703)%20669-5510>
>> Cell: 703 431 9420 <(703)%20431-9420>
>>
>
>
>
> --
> Stephane Fellah
> Chief  Knowledge Scientist
> Image Matters LLC
> Office: +(703) 669 5510
> Cell: 703 431 9420
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20171029/d343097f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 50278 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20171029/d343097f/attachment-0001.png>


More information about the Geotoolkit mailing list