Thanks Bruce,

I ended up using the Change Element Direction tool in the Modify Curves
toolbox in MicroStation determine and change the lines directions and then
put in a linejoiner in my FME workspace to join up all of the segments in
FME before they get written in to the XML file.  Seems to work alright.

Chris

-----Original Message-----
From: Bruce Johnston [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 22, 2005 4:19 PM
To: [email protected]
Subject: Re: [fme] Sorting line vertices


I hit this same problem. It seems to come from the order that the line 
strings were written to file. Two way around it, both kinda kludgy.
Simplest, redo the line string from start to end snapping to each vertex; 
discard the original; use the copy
Otherwise: break the line string into at least three segments then use the 
modify element tool or the extend to intersection tool to make sure there 
are no gaps; create a complex chain start to end; use the chain.

I expect there is a more elegant way to do it within fme but I am still a 
novice there.
----- Original Message ----- 
From: "fme_user" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 22, 2005 2:33 PM
Subject: [fme] Sorting line vertices


> Hi All,
>
> I am translating a DGN file to an XML file with GML embedded for the
> spatial data.  The DGN lines are multiple vertices and when they are
> embedded into the XML file they are inserted as multi line strings,
> they look fine when displayed as a map, but when I view the XML file
> code and look at the verticies the lines are not contiguous, although
> all the parts of the line are there they are not in the correct
> order. 





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



 







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