Thanks, Will try it! :-)

Mvh,
Paul Malm


10 nov. 2020 kl. 16:21 skrev Roar Brænden <roar.brenden...@gmail.com>:


Hi Paul,

I've had the same problem after installing Java 9++. It's related to the nordic 
countries and our representation of minus.

https://bugs.openjdk.java.net/browse/JDK-8214926<https://url11.mailanyone.net/v1/?m=1kcVSU-0002hM-6O&i=57e1b682&c=gKHjOZM3VlYb5Ry0dZJvNoFyPaBRBj-mIkDu9rkJXntSP6TwA5Irp82jZGhLl1txCXGZ0L38BvvppGtcu_Oly3LaEkOwxOoarPNUNVHD8hXzsVCYgi6IDp3IWnQ9YOcVqwPLrefnLbYGJac_01VPRsyGL4iwIrpVmn_oundyoHO3oKnrWCfPIssZEIZHYEkW-MOtUjurmKCGgZQuckid0QGa0sv9YoHoma8B6qy_Mwi-su6JMvF7b7_BcjLHEtXC>

You can avoid it by specifying -Djava.locale.providers=COMPAT, CLDR when you 
start java.

Regards,
Roar Brænden

tir. 10. nov. 2020 kl. 09:49 skrev Andrea Aime 
<andrea.a...@geo-solutions.it<mailto:andrea.a...@geo-solutions.it>>:
Hi Paul,
in your message there seems to be two references to charset issues, see below.

On Tue, Nov 10, 2020 at 9:09 AM <paul.m...@lfv.se<mailto:paul.m...@lfv.se>> 
wrote:
Caused by: java.sql.SQLException: org.postgresql.util.PSQLException: FEL: parse 
error - invalid geometry (pgjdbc: autodetected server-encoding to be 
ISO-8859-1, if the message is not readable, please check database logs and/or 
host, port, dbname, user, password, pg_hba.conf)

"autodetected server-encoding to be ISO-8859-1, if the message is not 
readable..."

The JDBC driver logging itself is expressing concern that the charset could be 
mis-setup, and its error messages might not come back correctly.

  Hint: "POLYGON ((âˆ" <-- parse error at position 12 within geometry

I don't think GeoServer has an opportunity to write out a WKT Geometry looking 
like "POLYGON ((âˆ", after the second parenthesis a number is expected instead.

Long story short, I would check the system, GeoServer and PostgreSQL default 
charsets and make sure they do line up.

Cheers
Andrea


== GeoServer Professional Services from the experts! Visit 
http://goo.gl/it488V<https://url11.mailanyone.net/v1/?m=1kcVSU-0002hM-6O&i=57e1b682&c=Z3la0pdUocTVbgwxn-zaWl4a5FSG9TBPudP352kKXdT6iBrRy_TBI6E9RTDRcpGqKNNvzxOjv4EjXWNALSQF-kbabyEdgIV5Yn3MO0Nk1PugOLxroJ1b2aGLf8qf-Caudb6PYg-W7LGX0h4c14lEAegg85Ls60kPe3G4cvZu-xoo7eDu1Gzodyilrv9IcX9wvnAox7yKcFyJbZEjPpD6Mw>
 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<https://url11.mailanyone.net/v1/?m=1kcVSU-0002hM-6O&i=57e1b682&c=MgeBFXR3mMqzv8FWlKc7AjT8hf3360dwhCKRYABBczrk9RO8qZJtOzddCQFhVX1LIhr893TqzSP_te_v2Jf2bZg-rvNNMe8w-HNuFLSX3lLt9zgE_7yockSDq_an5bfIddchOscMQs4ifRLe2bsHjXewWbVDgDF4FsEshXxGI6qqZMG_i6WmMLGhFitvSUz6CsyB6UC3EyWB01OGgUhzj2ZlF950VpxabRyrDGGtW5E>
 
http://twitter.com/geosolutions_it<https://url11.mailanyone.net/v1/?m=1kcVSU-0002hM-6O&i=57e1b682&c=kwxTE9M0kfWxQTr64QrtWB0WYePSCeiSO8ar0iQX22DdT35gGj8fmk8k5DAI-LmV26KPy9ausH3s7QTdkTbaDNPUkp7GIwOrmLBLbj_urDxUKgNBSZ0frJ8G5VK-opMXhzzW5shWC8EBvL-Awt3GuCm4DLFqsuu_79GKJax5kW7N0L4l4eMk1R22xUWKG5fjKGPCroUKSYIcfUv2kesfMW8kUOtA7FcGzVvZ9PNYgKc>
 ------------------------------------------------------- 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.

_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net<mailto:GeoTools-GT2-Users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users<https://url11.mailanyone.net/v1/?m=1kcVSU-0002hM-6O&i=57e1b682&c=O3KJTItdFMYAg21gbQNlFU2Jdn0LsCd2TPDsZ5kjvVtQlCs7Jh5BFQzQjYPC3zCjTxhiHSH-epPaZSx1lW0cfoAHSZAUxaQWHvs1SZzrLvaaQ-bx08c9no-u1m-LPZit0shHx51RU7MRHyQktz3f8-PM5w1OxHFi9U8nBOhZd1nX1RRMxxoMGEF3b7C2oHdVgMh-JH1j4TRbNVK84TA2o5xAv1hXBogJXTfwKsULrxvkaXvuhDj3sb3ecRhe3f2sYClOFNYrymQzoJz07sWD-Q>

_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to