[QGIS-ZA-user] Field calculator issue - QGIS version,3.10.1-A Coruña on Win10 via OSGEO4W64
Zoltan Szecsei
zoltans at geograph.co.za
Fri May 8 07:26:28 PDT 2020
Hi,
Can anyone shed light on why I get: Eval Error: Cannot convert '[LonM]'
to double
from this expression:
if( "LonD" IS 'Longitude' , 0.0, "LonD" + ( "LonM" / 60.0 ))
I've pulled a CSV file into 'Layer' and failed to generate Point using
Toolbox->Geometry by Expression, so I am now trying to create decimal
Deg columns (virtual).
The first few lines in the CSV are:
Num,LonD,LonM,LonS,DirE,LatD,LatM,LatS,DirN
A1,Longitude,Latitude,,,,
1,17,25.00,0.0,E,23,7.53,0.0,N
2,17,25.10,0.0,E,23,7.52,0.0,N
Thanks and regards,
Zoltan
--
===============================================
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services
P.O. Box 7, Muizenberg 7950, South Africa.
Mobile: +27-83-6004028 (Best option: WhatsApp)
India: +91 83418 01616
Qatar: +974 5083 2722 www.geograph.co.za
===============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-za-user/attachments/20200508/974c9e63/attachment.html>
More information about the qgis-za-user
mailing list