The source is at the download page: http://www.vividsolutions.com/JCS/

Larry

On Jan 30, 2008 12:30 PM, Sunburned Surveyor
<[EMAIL PROTECTED]> wrote:
> Fabio,
>
> The first thing we have to do is track down the JCS and Roadmatcher
> source code. I'll try to find the code and will post a link in a
> follow up e-mail.
>
> Then we need to look at the
> com.vividsolutions.jcs.conflate.roads.model.SplitRoadSegmentFactory.create
> method. It should be on line 22 of the source code file for the
> SplitRoadSegmentFactory class. I would also read the Javadoc for the
> com.vividsolutions.jts.util.AssertionFailedException class. This
> Javdoc can be found here:
>
> http://www.vividsolutions.com/jts/javadoc/index.html
> http://www.vividsolutions.com/jts/javadoc/com/vividsolutions/jts/util/AssertionFailedException.html
>
> It seems that there is something wrong with the program "state" when
> the create method of the SplitRoadSegmentFactory class is called. You
> mentioned this might have something to do with the "whole shapes" you
> are using. I don't totally understand what you are talking about,
> since I have never used Roadmatcher. Take a look at the statements in
> the create method and see if you can determine where the exception is
> being thrown from. When you find the statements throwing the
> exception, ask yourself what it is about your data that could be
> causing the error. (This doesn't mean that there is something wrong
> with your data or your use of the program, but that the source code
> isn't written to handle something about the data you are using.)
>
> I hope that will get you started. Let me know if you have further questions.
>
> If you find and squish the bug I'll find out if there is anyone
> maintaining the source code for JCS or Roadmatcher so you can
> contribute a patch.
>
> The Sunburned Surveyor
>
>
> On Jan 30, 2008 9:32 AM, Fabio Lombardi <[EMAIL PROTECTED]> wrote:
> > OK. I can try there.  Where do I have to Look?
> > Thanks
> >
> >
> >
> > Sunburned Surveyor ha scritto:
> >
> > > Fabio,
> > >
> > > I don't think Roadmatcher has been developed at all for a couple of
> > > years, and I'm not really familiar with the application. Do you know
> > > any Java programming? If you do, I could tell you where to look for
> > > the problem based on the stack trace that you posted.
> > >
> > > Perhaps someone else familiar with RoadMatcher will be able to help.
> > >
> > > The Sunburned Surveyor
> > >
> > > On Jan 29, 2008 2:58 PM, Fabio Lombardi <[EMAIL PROTECTED]> wrote:
> > >
> > >> Hi to everybody, I am an Italian university student, I am using
> > >> RoadMatcher on two full-bodied cartographies. The plug-in on sub-set of
> > >> the cartographies it works well, but if I use the whole shapes I get the
> > >> following error. How can I do? Thanks
> > >>
> > >> Lombardi Fabio
> > >>
> > >> com.vividsolutions.jts.util.AssertionFailedException
> > >>    at com.vividsolutions.jts.util.Assert.isTrue(Unknown Source)
> > >>    at com.vividsolutions.jts.util.Assert.isTrue(Unknown Source)
> > >>    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:136)
> > >>    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
> > >
> > >
> >
> > _______________________________________________
> > 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
>



-- 
http://amusingprogrammer.blogspot.com/
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users

Reply via email to