Skip to main content
Question

Compound Curve problem

  • January 15, 2015
  • 7 replies
  • 184 views

Hello!

 

 

I am trying to convert COMPOUNDCURVE to FME_line but the GeometryFilter transformer wont recognize COMPOUNDCURVE as an ARC :( I am managing a PostGIS database and i found a temporary SQL-fix: http://www.postgis.org/docs/ST_CurveToLine.html (http://www.postgis.org/docs/ST_CurveToLine.html)

 

 

Any ideas? :)

 

 

 

Best regards,

 

AlexG
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

7 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • January 15, 2015
Hi,

 

I think you will have to deaggregate the feature first.

takashi
Celebrity
  • January 15, 2015
Hi,

 

 

The GeometryFilter seems to treat a composite curve like the COMPOUNDCURVE as a Line geometry, even if every component is arc.

 

If you send the feature to Data Inspector, what kind of geometry type is detected?

 

 

Takashi

  • Author
  • January 15, 2015
I have tried using 2DForcer --> Deaggregator --> GeometryValidator --> Intersector and GeometryValidator in an array. GeometryFilter --> GeometryCoercer won't work either. I don't know exactly which object that is failing becaus i generate the PK when i do the DB uppload. I have 1372106 features and 12 Compound Curve ;P

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • January 15, 2015
I would try the TopologyBuilder > GeometryFilter, any improvement?

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • January 15, 2015
As Takashis said, its not a compositon of (solely) arcs. The compound curve will be treated as a fme_line.

 

So you should see the cc output at the line output of the Geometryfilter.

  • Author
  • January 16, 2015
Ok, this confirms my suspicion about the GeometryFilter :P I will try the TopologyBuilder :)

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • January 21, 2015
you could expose the attribute and test on the fme_type.

 

Look in the navigator wich attribute to expose (or use directly)