Skip to main content
Question

Writer GDB splits polylines

  • December 14, 2020
  • 5 replies
  • 27 views

Forum|alt.badge.img

Hello all!

I am writing polylines to an existing feature type in a GDB.

It shows that 48 polylines are written, however when I open the feature layer in the inspector or in ArcGIS Pro it added 66 polylines. It turnes out the Writer split the polylines at the cross with another polyline and so the data is not duplicated, but divided. Is there a parameter that I missed that does that or is it a normal behaviour?

Thank you for your help!

Ana

5 replies

rahulsharma
Safer
Forum|alt.badge.img+10
  • Safer
  • December 14, 2020

Hi @ana.j​ 

Can you confirm if you have set the writer to INSERT or UPDATE?

Can you confirm that the writer has split the feature or it is possible that duplicate features were added?

If you are writing to an existing geodatabase, it is recommended to use transformers such as ChangeDetector or FeatureMerger transformer to compare the original and Revised data see article Updating a File Geodatabase

 


Forum|alt.badge.img+2
  • December 14, 2020

@ana.j​ would you have a little sample dataset and your workspace that you can share with us? If you are using a template file or XML workspace document to define the target schema can you also include that. Also including the results you are seeing would help.

I have seen ArcPro insert points where lines cross, but not splitting the lines. This was for a feature class that was part of a topological network.


Forum|alt.badge.img
  • Author
  • December 15, 2020

Hello! Thank you for your prompt replays. The Writer is set on INSERT and its an existing GDB with a line feature type, the table handling is set to Use existing.

In the screenshot you can see the comparison between the writer and the reader. In green thin line is the reader and in red thick line is the writer. In blue you can see selected the overlapping line on the right and the line of the reader is long, however the writer in red was split at the cross with the perpendicular another line. Which results in 2 polylines in the writer for the one polyline in reader.

I hope I explained better this time and thank you to help me understand this behavoir.

 

 


Forum|alt.badge.img+2
  • December 15, 2020
ana.j wrote:

Hello! Thank you for your prompt replays. The Writer is set on INSERT and its an existing GDB with a line feature type, the table handling is set to Use existing.

In the screenshot you can see the comparison between the writer and the reader. In green thin line is the reader and in red thick line is the writer. In blue you can see selected the overlapping line on the right and the line of the reader is long, however the writer in red was split at the cross with the perpendicular another line. Which results in 2 polylines in the writer for the one polyline in reader.

I hope I explained better this time and thank you to help me understand this behavoir.

 

 

@ana.j​  Thanks for the clarification. To diagnose the problem we really need to understand the target schema. Can you export the destination schema to either a file geodatabase or as an Esri XML Workspace Document (schema only) and attach here or send it to me at mark @ safe.com. It would also help to include in a zip file a small sample of your source data and your workspace. Thanks


Forum|alt.badge.img+2
  • December 18, 2020

@ana.j​ It looks like it is the presence of a Geometric Network feature class that causes the lines to be split. Removing the geometric Network seems to solve the problem of lie splitting. I'm not sure if it is possible to change the geometric feature class properties to prevent line splitting - perhaps any Esri experts can chime in.


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