Skip to main content
Question

How can I add new geometries to an existing dataset?

  • July 27, 2023
  • 4 replies
  • 144 views

areyi
Contributor
Forum|alt.badge.img+3

Hi together, I am trying to add new geometries to an existing dataset, but always my new geometries got rejected.

 

I was using the FeatureMerger, FeatureJoiner and Dissolver, but it will not work at all to add them as new elements.

 

Does anyone has a suggestion to me what to do?

 

Thank you very much :)

4 replies

featuremichael
Enthusiast
Forum|alt.badge.img+9

Hello @areyi​ 

to get the best support in this forum, we need much more information about your input dataset and your output dataset.

and what you would like to create and in what dataset do you need the new geometry and so on...

 

Greets Michael


areyi
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • July 27, 2023

Hello @featuremichael​, thank you for your response!

My input dataset is in dxf, the output should be geopackage gpkg. The geometries are fme_polygon. I only need to add these geometries to my already existing dataset, consisting of polygons. All the other required attributes are not in my dxf file and will be added manually in QGIS after I added the geometries in FME.

 

I hope my question is more clear now?

Thanks and have a nice day!


featuremichael
Enthusiast
Forum|alt.badge.img+9

Hello @areyi​ 

1.)You have Polygons in your DXF file - and want the data do be written into the GeoPackage DB, with or without Attributes?

2.) If with Attributes, do you want to join some DXF Polygones with features of data in the GeoPackage DB ( because you tried the transformers Featurmerger, FJ, Dissolver )

3.) if your data is rejected, what says the log window ?

4.) did you check your geometry with the geometry validator ?

5.) what are your Geometry settings for the GeoPackage Writer ? (thats can be importend - becaouse your dxf could hold more then different geome like polygons, areas, points and so on.grafik6.) if your geopackage db contains only polygons then you could check your geome of you dxf file with the geometryfilter and filter only the geometrys that you need.

 7.) you could upload your workbench so i can have a look into it. i use FME2022.1

8.) In your GeoPackage Writer und the Parameters point General -> Feature Operation is it set to Insert and Table Handling Use Existing ?


areyi
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • July 31, 2023

Hello @featuremichael​, I found a solution. Instead of using a FeatureMerger I tried to combine my data via an AttributeManager and finally, everythin is fine.

 

Thank you for your support and have a nice week :)