Skip to main content
Question

Writing spatial data to an MSSQL table results in no data written

  • May 10, 2023
  • 5 replies
  • 32 views

emerson_styles
Contributor
Forum|alt.badge.img+4

I have a spatial data set that contains line data that I need to write to a MSSQL table. Unfortunately at the moment the table is being created but no data is being written to it despite FME saying it is successful. I have my writer set up and it can be seen in the attached screenshot. I'm wondering how I can force the data into the table?

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2937 replies
  • May 10, 2023

Anything in the log?


emerson_styles
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 3 replies
  • May 10, 2023

Anything in the log?

There are warnings but no errors and it says translation was successful. The number of features I expect to be written are written according to FME


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2937 replies
  • May 10, 2023

There are warnings but no errors and it says translation was successful. The number of features I expect to be written are written according to FME

I believe the translation is always succesful unless it get terminated, so translation succesful might be a bit misleading.

 

How do you check the result? Can you try and use another workspace to read the written table? My MSSQL knowledge / experience is zero. This is what I would try to check if the resulting table has any feature.

 

I would also try to fix the warnings in the log. Got quite focussed on blue text in the years using FME.


emerson_styles
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • 3 replies
  • May 10, 2023

There are warnings but no errors and it says translation was successful. The number of features I expect to be written are written according to FME

I've checked the resulting table in MSSQL studio and it is blank; the column headings are there but there is no data in the table.


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2937 replies
  • May 10, 2023

There are warnings but no errors and it says translation was successful. The number of features I expect to be written are written according to FME

Are you sure it is not a cache issue? This is the reason why I would check reading the table using another tool, FME, to be sure.