[QGIS-ZA-user] SOLVED: Re: 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 08:03:36 PDT 2020


Hiya,
Blooming decimal point/comma issue :-(

Thanks anyway,
Zoltan

On 2020/05/08 16:26, Zoltan Szecsei via qgis-za-user wrote:
> 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 2722www.geograph.co.za
> ===============================================
>
> _______________________________________________
> qgis-za-user mailing list
> qgis-za-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-za-user

-- 

===============================================
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/2bf236c5/attachment.html>


More information about the qgis-za-user mailing list