AnsweredAssumed Answered

Update data in a CSV Layer (3.26)

Question asked by cameronsmith@vhb.com_VHB on Oct 11, 2018



In the application I am working on, I need to create a csvLayer from some csv data. The problem is that the 'lat' and 'long' in the csv data is in Web Mercator coordinates, ex. 5266333.39344532,-8271077.53515363. I think this is why when I add the csvlayer to my map, nothing appears. I see in webMercatorUtils, there is a function to change these to actual lat long values. So I want to know how to get access to the individual data fields of the 'lat' and 'long' so that I would be able to change them with the webMercatorUtils function.


Thanks a lot!