[Qgis-user] Selecting a part of an attribute
johnrobot
johnrobot at gmail.com
Thu Jan 10 01:59:27 PST 2019
Hi
I have an attribute (named "Koordinater") with coordinate pairs, such as
"6417192.227, 326926.702", and I would like to exctract the two coordinates
into separate attributes. Using the field calculator seems to be the way to
do this, for example:
left( "Koordinater", strpos( "Koordinater" , ','))
When I runt this in the field calculator from the attribute table, I get
"6417192.227", but when I run the field calculator in Processing with the
same configuration, I get "6417192.227,". Note the extra "," at the end. Am
I missing something or could this be a bug? I use QGIS 3.4.3, 64 bit, on
Windows 10.
Regards,
Magnus
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
More information about the Qgis-user
mailing list