Skip to main content
Question

Convert string (or integer) format to boolean

  • June 5, 2020
  • 2 replies
  • 214 views

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:

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • 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


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! :)