|
Sebastián Vázquez Cascales created an issue |
Issue Type: |
|
---|---|
Affects Versions: |
2.13.0 |
Assignee: |
Unassigned |
Components: |
geopackage, styling |
Created: |
25/May/18 4:19 PM |
Environment: |
Geoserver 2.13.0 deployed on Tomcat 9.0.7 + JRE 8u172. Windows server 2016 |
Priority: |
|
Reporter: |
Hi all, When publishing a layer from geopackage, and the SLD contains a rule, then it may raise an exception while rendering. This happens randomly. I’ve found this behaviour with line and polygon layers so far. The same sld works perfectly when publishing the equivalent table from other datasources, such as sql server. Sample rule: <ogc:PropertyIsEqualTo> Exception raised: 2018-05-24 16:19:42,773 TRACE [org.geotools.util] - Error applying the converter class org.geotools.util.GeometryConverterFactory$1 on (UNDIFFERENTIATED FAULT,class com.vividsolutions.jts.geom.MultiLineString) Looking at the code: private Geometry readGeometryTaggedText() throws IOException, ParseException { try{ type = getNextWord(); }catch(IOException e){ return null; }catch(ParseException e){ return null; } if (type.equalsIgnoreCase(“POINT”)) { return readPointText(); } In conclusion, it seems that somehow the function is being given the data value related to the rule instead the geometry type. |
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS |
|
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100086-sha1:7fad139) |
|