Skip to main content
Question

Can I use the SDF multi-geometric types?


rudewi
Participant
Forum|alt.badge.img

I'm working on a workbench converting CSV files with WKT geometry into autocad SDF. For some featuretypes i want to allow multigeometry. If I manually make a new feature in autocad map I can select some geomtric types that combine line and surface, point and surface, etc. .

If I set the fme_geometry{0} in the schema to FME_point, i get the SDF point geometric type. But if I add fme_geometry{1}: FME_line, fme_geometry{2}:FME_polygon (This is what it looks like when I read a file with this combined geometric type into FME). It looks like only the geometry{0} is read and I also get the Geometric type point.

Is there a way to use these other types? like point+curve, point+surface, .. ?

screenshot below shows the geometric types available in SDF:

image.png

3 replies

rudewi
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • May 24, 2022

Found out I can set geometry{0} to fme_collection to access the Point+Curve+Surface type. the other combinations (point+curve, Point+surface , etc.. ) I could not get to work.


JennaKAtSafe
Safer
Forum|alt.badge.img+7

Hi @rudewi​, I am not too familiar with the SDF Writer but looking at the documentation it looks like the SDF3 format can also store features with no geometry. Is there an error message/warning in the log you are running into from the writer that you could share?


rudewi
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • August 22, 2022

Thanks Jenna for your answer. What I'm looking for is a way to exactly set the data attributes of the SDF schema. Now it gets set by fme_geometry. (example fme_aggregate => 'Point+Curve+Surface' , fme_polygon => 'Surface'). But I would like to also acces the other options that don't correlate directly with the fme_geometry types; for example the 'Curve+Surface' type. Similarly I want to change the 'Has Elevation'.


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