I managed to find the "wrong path" in my dataset. I don't see nothing special about the geometries included in this path. I manually conflated this wrong path. After that I could run the automatic process without problem. I don't understand the origin of the problem.
Vincent On 25 août, 00:33, Sunburned Surveyor <[email protected]> wrote: > Vincent: > > I was able to get to the source code in question. The line of the code > generating your error seems to indicate a problem with the first > coordinates of a LineString representing a road segment not being > equal with another coordinate. > > Here is the code itself: > > Assert.isTrue(FUTURE_LineString.first(lineStrings[0]).equals2D( > FUTURE_LineString.first(roadSegmentBeingSplit.getLine())), > "First coordinates are not equal"); > > You may not know any Java code, but someone else on this list does > might have some more suggestions. It seems the code is complaining > because the first coordinate of the LineString it wants to create is > not equal to the first coordinate of the LineString that is being > split. I'd have to look at the code in some more detail to figure out > exactly what is going on. > > Hopefully that will help us narrow down the problem geometry. If we > can do that, I may be able to work up a patch if it isn't too much > effort. > > The Sunburned Surveyor > > On Mon, Aug 24, 2009 at 9:39 AM, Sunburned > > Surveyor<[email protected]> wrote: > > Vincent, > > > This makes sense. I suspected the form of your data might be a > > problem. When I look at the source code I might get some clues about > > the type of geometry that is causing the error. > > > Landon > > > On Mon, Aug 24, 2009 at 8:39 AM, Vincent > > Bombaerts<[email protected]> wrote: > > >> I'm using Roadmatching 1.4 with Jump 1.1.3-RC6 (the version that is > >> included in the Roadmatching package) in a Windows XP environment. The > >> version of java is 1.6.0 > > >> The error occurs during the automatic process of "Finding Path > >> Matches". I guess the error has something to do with geometry and more > >> precisely with the process of splitting a line or adding a split node. > >> I don't think the error is due to a big amount of features to process. > >> All parameters are set to default. If I change parameters, the erros > >> occurs. If I split my dataset, only the part containing the "wrong > >> geometry" fails to pass the automatic process. All other parts are > >> fine. I'm currently trying to isolate the "wrong geometry", but it is > >> a long process as I work with more than 10.000 features. > > >> Vincent > > >> On 24 août, 16:58, Sunburned Surveyor <[email protected]> > >> wrote: > >>> Vincent, > > >>> Please use the mailing list I copied, as we are trying to retire the > >>> jump-users mailing list, and it doesn't see much traffic any more. > > >>> I haven't used road matcher much, and I'm not very familiar with the > >>> JCS code. However, I can Identify the portion of the JCS code that > >>> seems to be causing the error. > > >>> I will see if I can look at the code today. I'm not promising I will > >>> find a fix, or even understand what the code is doing, but I will at > >>> least try to take a look. > > >>> If you can, give me some details on what you are trying to do when you > >>> get the error. Please also provide the details of your operating > >>> system and the version of JUMP/Road Matcher you are trying to use. > > >>> The Sunburned Surveyor > > >>> On Mon, Aug 24, 2009 at 6:33 AM, Vincent > > >>> Bombaerts<[email protected]> wrote: > >>> > Hi all, > > >>> > I'm having the same error that Fabio Lombardi described earlier. I would > >>> > like to know if someone has found a fix for this problem. > > >>> > Here is a copy/paste from the error log. > > >>> > Thanks in advance if someone can help me. > > >>> > Vincent > > >>> > --------------- > >>> > com.vividsolutions.jts.util.AssertionFailedException > >>> > at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:68) > >>> > at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:54) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.model.SplitRoadSegmentFactory.create(SplitRoadSegmentFactory.java:22) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.model.SourceRoadSegment.split(SourceRoadSegment.java:289) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.pathmatch.RoadSplitPath.performSplits(RoadSplitPath.java:144) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.pathmatch.RoadSplitPath.updateSource(RoadSplitPath.java:112) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.pathmatch.RoadSplitPath.updateSource(RoadSplitPath.java:95) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.pathmatch.RoadPathZipper.zipper(RoadPathZipper.java:70) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.pathmatch.RoadNetworkPathMatcher.matchPath(RoadNetworkPathMatcher.java:149) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.pathmatch.RoadNetworkPathMatcher.matchPathsFromNodes(RoadNetworkPathMatcher.java:129) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.pathmatch.RoadNetworkPathMatcher.matchOnlyCurrentGraphState(RoadNetworkPathMatcher.java:109) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.pathmatch.RoadNetworkPathMatcher.match(RoadNetworkPathMatcher.java:65) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.match.RoadMatcherProcess.computePathMatches(RoadMatcherProcess.java:94) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.match.RoadMatcherProcess.matchOnce(RoadMatcherProcess.java:51) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.match.RoadMatcherProcess.match(RoadMatcherProcess.java:38) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.ConflationSession$2.yield(ConflationSession.java:286) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.ConflationSession.doAutomatedProcess(ConflationSession.java:319) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.ConflationSession.autoMatch(ConflationSession.java:284) > >>> > at > >>> > com.vividsolutions.jcs.plugin.conflate.roads.AutoMatchPlugIn$2.yield(AutoMatchPlugIn.java:87) > >>> > at > >>> > com.vividsolutions.jcs.plugin.conflate.roads.AutoMatchPlugIn.time(AutoMatchPlugIn.java:138) > >>> > at > >>> > com.vividsolutions.jcs.plugin.conflate.roads.AutoMatchPlugIn.access$200(AutoMatchPlugIn.java:15) > >>> > at > >>> > com.vividsolutions.jcs.plugin.conflate.roads.AutoMatchPlugIn$1.yield(AutoMatchPlugIn.java:85) > >>> > at > >>> > com.vividsolutions.jcs.conflate.roads.model.RoadsEventFirer.deferFiringEvents(RoadsEventFirer.java:76) > >>> > at > >>> > com.vividsolutions.jcs.plugin.conflate.roads.AutoMatchPlugIn.run(AutoMatchPlugIn.java:82) > >>> > at > >>> > com.vividsolutions.jcs.plugin.conflate.roads.AutoConflatePlugIn.run(AutoConflatePlugIn.java:143) > >>> > at > >>> > com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149) > >>> > at java.lang.Thread.run(Unknown Source) > > >>> > _______________________________________________ > >>> > jump-users mailing list > >>> > [email protected] > >>> >http://lists.refractions.net/mailman/listinfo/jump-users _______________________________________________ jump-users mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jump-users
