Hello,
We are dealing with some problems in some of our WFS. The geometry that is shown, doesn’t correspond to the original geometry.
As you can see in the image, the blue line is the correct geometry in a WMS, the red line is the wrong geometry in the WFS. It seems a kind of generalization or a wrong resolution but we don’t know how to fix it. We tried to change some options in the wfs configurations but didn’t work.
The original data is in PostgreSQL but we are using app-schema generated in Hale Studio.
We are using GeoServer 2.14 and this is our services:
http://wssig3.azores.gov.pt/geoserver/el-vec-bat-10m/wfs?service=wfs&version=2.0.0&request=GetCapabilities
http://wssig3.azores.gov.pt/geoserver/el-vec-bat-10m/wms?service=wms&version=1.3.0&request=GetCapabilities
Thank you for your help.
Best regards,
Vanda Marcos
Did you turn off “Support on the fly geometry simplification” in your postgis store? Otherwise you will see the simplification you see by default.
Ian
···
Ian Turton
Hi,
I actually read the question the other way around… WMS is fine, WFS output is problematic.
If that’s the case, I’m wondering if it may be a case of number of decimals in the layer configuration?
I think the default, if no value is provided, or if a value <= 0 is set, is like 6 decimals, maybe that layer requires 8 or more to be represented correctly.
Hard to say, the screenshot is too small to see the scale denominator.
Cheers
Andrea
···
Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.