1 Reply Latest reply: Nov 11, 2017 2:25 AM by Patric Nordström RSS

    WKT Area Layer

    Laurens Koppenol

      Hi Guys,

       

      I am having great difficulty showing an area layer based on a local csv with WKT data. See below example. I am trying to show this in an area layer, but i keep getting unsuccesful location lookup errors . Does anyone have any experience with this?

       

      Kind regards,

       

      Laurens

      Screenshot_4.png

       

      Screenshot_3.png

        • Re: WKT Area Layer
          Patric Nordström

          Hi,

          QGA can't show WKT directly in a layer, load the csv file via GeoAnalytics connector Load or Simplify operation.

          Unless you have Plus, place the csv on cloud drive.

           

          If the data is in WGS84 and only one polygon per line, a hack is transform the WKT directly to Sense geometries like this

           

          ='[[['& replace(

               replace(

                  replace(replace(WKT,'POLYGON((',''),'))','')          

                      ,', ','],[')

                  ,' ',',')

          & ']]]'

           

          Thanks,

          Patric