Hi, many thanks for your reply. I understood most of it I think :  )

Yes, you understood my post correctly, except:

1 "with any of JDK, the error remains"  - > it happens with any jdk 11, the
issue does not occur with any jdk 8. So the issue seems tied to jdk 11
somehow.


I changed the log_statement but am seeing the erroring select either way
("none" by default). As you mention it includes an st_simplify if "Enable on
the fly simplification" is enabled for this postgis data store. The same
error appears regardless. It says:


2019-06-26 17:32:53.752 CEST [7348] FEL:  parse error - invalid geometry
2019-06-26 17:32:53.752 CEST [7348] TIPS:  "POLYGON ((âˆ" <-- parse error at
position 12 within geometry
2019-06-26 17:32:53.752 CEST [7348] SATS:  SELECT
encode(ST_AsBinary(ST_Simplify(ST_Force2D("geom"), 975.2960384979845,
true)),'base64') as "geom" FROM "public"."sokvy_sgu_berggrundslinjer" WHERE
"geom" && ST_GeomFromText('POLYGON ((−329838.31117160065 6277316.71759862,
−329838.31117160065 ..

I don't know where that "−" part in the coordinates comes from.

I did try a "SELECT ST_ISVALIDREASON(ST_Simplify(ST_Force2D("geom"),
975.2960384979845, true)) isvalid from (one of the postgis layers) and got
one case of Too few points in geometry component. I'm not sure if that is
causing the above issue and I'm not sure why this error does not happen with
java 8, only in java 11. 

Regards 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to