Skip to main content
Question

Compound Curve problem

  • January 15, 2015
  • 7 replies
  • 130 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

7 replies

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

 

I think you will have to deaggregate the feature first.

takashi
Influencer
  • 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+18
  • 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)

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings