Good to hear you have a working solution.
Re this issue, we've updated the @Geometry function to permit creating
an arc by 3 points...
<arcBy3Points>
<startCoord x="5" y="5" />
<midCoord x="2" y="8" />
<endCoord x="7" y="11" />
</arcBy3Points>
...and an arc defined by bulge...
<arcByBulge>
<startCoord x="12" y="12" />
<endCoord x="20" y="20" />
<bulge>.5</bulge>
</arcByBulge>
...and I'm sure these will appear in Workbench shortly. The 2 end
points/centre-point is causing confusion because we think it would
only work for a circular arc where the radius of the two end points is
the same. Therefore the second point would be moved as necessary to
fit the spec, eg, given...
center: 0, 0
start: 4, 3
end: 0, -10
...the end point would be updated to (0, -5). The XML generated by
this would be
<arc>
<centerCoord x="0" y="0" />
<primRadius>5.0</primRadius>
<startAngle>36.8698976458440</startAngle>
<sweepAngle>143.1301023541559</sweepAngle>
<startCoord x="4" y="3" />
<endCoord x="0" y="-5" />
</arc>
It's under discussion whether we'll do this one or not (or save it for
later). Are there any other users apart from Michael who would find
this useful? Would you ever need this in a "creator" transformer, or
purely in a "replacer"?
Mark
Mark Ireland, Senior Product Specialist
Safe Software Inc. Surrey, BC, CANADA
[EMAIL PROTECTED] http://www.safe.com
Solutions for Spatial Data Translation, Distribution and Access
--- In [email protected], "mhabarta" <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> Thanks for all the support on the arc problem.
>
> I solved it, using 2DArcReplacer and some ExpressionEvaluators
> to calculate the radius, rotation, and sweep_angle from the attributes
> containing the center, start- and endpoint, and put all this in an
> embedded custom transformer.
>
> Michael
>
>
> --- In [email protected], "mark2atsafe" <mark.ireland@> wrote:
> >
> > > 4. Petition Safe to expand its arc support by adding different arc
> > notation styles to Creator and (2D|3D)ArcReplacer.
> >
> > I'll file an enhancement request. It seems a reasonable thing to be
> > able to do and with the new geometry model I believe the FME core can
> > handle arcs defined in a number of ways (3 edge points, 2 end points +
> > centre, etc).
> >
> > Regards,
> >
> > Mark
> >
> > Mark Ireland, Senior Product Specialist
> > Safe Software Inc. Surrey, BC, CANADA
> > support@ http://www.safe.com
> > Solutions for Spatial Data Translation, Distribution and Access
> >
>
For insights into what's up at Safe Software and what's on the development
horizon, visit Safe's blog at spatial-etl.blogspot.com.
Safe Software has also made slides available that outline enhancements planned
for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2
of the FME Worldwide Users Conference. To view these slides, visit
www.safe.com/2006uc.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/fme/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/fme/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/