I think the problem is that the TopologyBuilder is smarter than i need
it to be. My line network is already "clean" in that the lines connect
and their endpoints are the only things I want to calculate upon. 

I'm not certain, but it *looks* like I can use the
SpatialRelationshipFactory to build the topology. If I can create
seperate node features for each line endpoint, I can pass the nodes
and lines through seperate counters to provide unique ids and then use
the node as the base and the line as the candidate for the
SpatialRelator. 

Is there a factory that will generate nodes from the endpoints of lines?

But, it might take two passes through the SpatialRelator, because the
nodes must know what lines they touch and the lines must know what
nodes they touch.

Thanks!
Thom

--- In [email protected], "mark2atsafe" <[EMAIL PROTECTED]> wrote:
>
> Bah! You can tell that first glance was the only one I took!
> 
> In that case I don't believe there is anything you can do; the two
> functions appear to be mutually exclusive. Of course you could always
> number the nodes manually and then apply the values to the lines.
> Wouldn't be too hard to do.
> 
> In the meantime I can file a request to implement such functionality.
> 
> Regards,
> 
> Mark
> 
> 
> --- In [email protected], "Thom DeCarlo" <t.r.decarlo@> wrote:
> >
> > Hey Mark,
> > At first glance the results looked good. The lines crossed without
> > producing nodes at the intersections while the endpoints generated
> nodes. 
> > 
> > However, the connectivity is now broken. All of the lines say that the
> > "_from_node" is 1 and the "_to_node" is 2. Is there something else I
> > can do to generate the complete endpoint connectivity structure?
> > 
> > Thanks!
> > Thom
> > 
> > --- In [email protected], "mark2atsafe" <mark.ireland@> wrote:
> > >
> > > Hi Thom,
> > > I think you can do what you want quite easily.
> > > 
> > > Run all of your line features through a Counter to give them a
unique
> > > ID (unless they have one already).
> > > 
> > > Then set the TopologyBuilder group-by to use the unique ID.
> > > 
> > > Doing this will exclude overlapping lines from the node generation;
> > > overlaps would only get noded where their IDs are the same. However,
> > > nodes are still created where end-points meet.
> > > 
> > > Hope this helps,
> > > 
> > > Mark
> > > 
> > > Mark Ireland, Product Support Engineer
> > > Safe Software Inc. Surrey, BC, CANADA
> > > support@ http://www.safe.com
> > > Solutions for Spatial Data Translation, Distribution and Access
> > > 
> > > 
> > > --- In [email protected], "Thom DeCarlo" <t.r.decarlo@> wrote:
> > > >
> > > > Hi,
> > > > Now that I've finally gotten my line network mostly cleaned up I'm
> > > > trying to figure out how to work with the TopologyBuilder.
Right off
> > > > the bat the first problem I'm having is that I only want to
generate
> > > > nodes where line endpoints touch either other endpoints or other
> > > > lines. I *don't* want to generate nodes where lines cross lines. 
> > > > 
> > > > Is there any way to do this with the TopologyBuilder? Or is there
> > > > another factory that can do this? I don't see anything in the
> > > > documentation to help me here.
> > > > 
> > > > Thanks,
> > > > Thom
> > > >
> > >
> >
>









Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our 
Professional Services team.  Visit www.safe.com/services for details. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/fme/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to