Points of LinearRing do not form a closed linestring
----------------------------------------------------
Key: GEOT-2930
URL: http://jira.codehaus.org/browse/GEOT-2930
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.6.1
Environment: Windows XP, Java 1.6.0_18
Reporter: Mariusz Golus
Priority: Critical
When I try show layer with 1 point only (2 points - everything OK), I get
exception:
java.lang.IllegalArgumentException: Points of LinearRing do not form a closed
linestring
at
com.vividsolutions.jts.geom.LinearRing.validateConstruction(LinearRing.java:105)
at com.vividsolutions.jts.geom.LinearRing.<init>(LinearRing.java:100)
at
com.vividsolutions.jts.geom.GeometryFactory.createLinearRing(GeometryFactory.java:339)
at
com.vividsolutions.jts.geom.GeometryFactory.createLinearRing(GeometryFactory.java:329)
at
org.geotools.filter.BBoxExpressionImpl.setBounds(BBoxExpressionImpl.java:91)
at
org.geotools.filter.BBoxExpressionImpl.<init>(BBoxExpressionImpl.java:66)
at
org.geotools.filter.FilterFactoryImpl.createBBoxExpression(FilterFactoryImpl.java:589)
at
org.geotools.filter.FilterFactoryImpl.bbox(FilterFactoryImpl.java:304)
at
org.geotools.filter.FilterFactoryImpl.bbox(FilterFactoryImpl.java:280)
at
org.geotools.filter.visitor.DuplicatingFilterVisitor.visit(DuplicatingFilterVisitor.java:214)
at org.geotools.renderer.lite.FastBBOX.accept(FastBBOX.java:113)
at
org.geotools.renderer.lite.StreamingRenderer.queryLayer(StreamingRenderer.java:969)
at
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1752)
at
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:690)
at
org.geotools.swing.RenderingExecutor$Task.call(RenderingExecutor.java:148)
at
org.geotools.swing.RenderingExecutor$Task.call(RenderingExecutor.java:104)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel