Skip to main content
Question

Convert string (or integer) format to boolean


Hi! I have this project in which there are three shp readers (Feature Merger Requestors) and one excel reader (as Feature Merger Supplier). In this excel there is an attribute in string format, that I want to have it as boolean/logical format on the shp writer. If I specify in the writer the format as "logical", it doesn't transform it, it keeps it as string (or integer, I have tried too). Is there any way to get it? Thanks!Writer Attributes:

Result:

Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • June 5, 2020

Where are you viewing the data? If you have just diverted to inspector then you won't see the logical interpretation


ebygomm wrote:

Where are you viewing the data? If you have just diverted to inspector then you won't see the logical interpretation

That was the problem... I was viewwing the data on Qgis. When I check it on the Inspector, it show the data as logical. So...it was as simple as that! Your question was the answer! :)


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