[Gvsig_english] Error - Geoprocessing tools

Lucie Prunarová lprunarova at gmail.com
Fri Dec 16 11:58:35 CET 2011


Hi,
I have problem with geoprocessing tools. I use shp polygon data with
projection ESRI:102067. When I try to apply geoprocessing tools on it,
there are several errors depending on the tool. Buffer tool is OK.

When try difference or intersection (concretely layers buf_kom, chodniky)
two things happened. Sometimes there is bad result (the result layer is the
same like the input layer buf_kom, or the result is empty layer). The
second thing is attached error.

When try union of two layers (concretely chodniky, zelen_plochy) sometimes
it works, sometimes there is this error:
com.vividsolutions.jts.geom.TopologyException: found non-noded intersection
between LINESTRING ( -34.40000000002328 13.78000000002794,
-25.180000000051223 14.520000000018626 ) and LINESTRING (
-25.229999999981374 14.930000000051223, -24.849999999976717 7.75 ) [
(-25.208181128967457, 14.517738174053571, NaN) ]
    com.vividsolutions.jts.noding.FastNodingValidator.checkValid(FastNodingValidator.java:109)
    com.vividsolutions.jts.geomgraph.EdgeNodingValidator.checkValid(EdgeNodingValidator.java:94)
    com.vividsolutions.jts.geomgraph.EdgeNodingValidator.checkValid(EdgeNodingValidator.java:59)
    com.vividsolutions.jts.operation.overlay.OverlayOp.computeOverlay(OverlayOp.java:170)
    com.vividsolutions.jts.operation.overlay.OverlayOp.getResultGeometry(OverlayOp.java:127)
    com.vividsolutions.jts.operation.overlay.OverlayOp.overlayOp(OverlayOp.java:66)
    com.vividsolutions.jts.operation.overlay.snap.SnapOverlayOp.getResultGeometry(SnapOverlayOp.java:68)
    com.vividsolutions.jts.operation.overlay.snap.SnapOverlayOp.overlayOp(SnapOverlayOp.java:25)
    com.vividsolutions.jts.operation.overlay.snap.SnapIfNeededOverlayOp.getResultGeometry(SnapIfNeededOverlayOp.java:76)
    com.vividsolutions.jts.operation.overlay.snap.SnapIfNeededOverlayOp.overlayOp(SnapIfNeededOverlayOp.java:25)
    com.vividsolutions.jts.geom.Geometry.intersection(Geometry.java:1117)
    com.vividsolutions.jts.precision.EnhancedPrecisionOp.intersection(EnhancedPrecisionOp.java:57)
    com.iver.cit.gvsig.geoprocess.core.util.JTSFacade.intersection(JTSFacade.java:114)
    com.iver.cit.gvsig.geoprocess.impl.intersection.fmap.IntersectVisitor$1.visit(IntersectVisitor.java:239)
    com.iver.cit.gvsig.fmap.operations.strategies.DBStrategy.process(DBStrategy.java:264)
    com.iver.cit.gvsig.fmap.operations.strategies.DefaultStrategy.process(DefaultStrategy.java:312)
    com.iver.cit.gvsig.geoprocess.impl.intersection.fmap.IntersectVisitor.visit(IntersectVisitor.java:211)
    com.iver.cit.gvsig.fmap.operations.strategies.DefaultStrategy.process(DefaultStrategy.java:398)
    com.iver.cit.gvsig.geoprocess.impl.union.fmap.UnionGeoprocess$UnionMonitorableTask.run(UnionGeoprocess.java:378)
    com.iver.utiles.swing.threads.MonitorableDecoratorMainFirst.run(MonitorableDecoratorMainFirst.java:155)
    com.iver.andami.PluginServices$1.construct(PluginServices.java:405)
    com.iver.utiles.swing.threads.SwingWorker$2.run(SwingWorker.java:108)
    java.lang.Thread.run(Unknown Source)

I tried to work with these layers in gvSIG 1.11 (Windows 7) and gvSIG 1.10
(Windows XP), the result is very unstable and these errors are in both of
these versions and operating systems.

Can anybody help me?
I also attach the data. Maybe the error is in them. Is there some
possibility in gvSIG to control topology of the data before applying tools?

Thanks,
Lucie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20111216/81e1da06/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gvSIG_error_difference.log
Type: application/octet-stream
Size: 105797 bytes
Desc: not available
Url : http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20111216/81e1da06/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Data_SHP.rar
Type: application/rar
Size: 199440 bytes
Desc: not available
Url : http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20111216/81e1da06/attachment.rar 


More information about the Gvsig_internacional mailing list