This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I recognize there needs to be a <color>green</color> attribute added after the <Placemark>. Before I get to this step, I've tried to read the file using a .csv format but get an error saying there are too many fields. So here's where I'm flailing. How do I read it, edit it, then save it?
My end goal is a .kml file which will be used in ESRI's ArcExplorer.
For reference, this is a sample Google .kml file:
<?xml version="1.0" encoding="UTF-8"?>
<name>The Great Sphinx of Egypt</name>
<description>The Great Sphinx of Egypt</description>
Hi @TR! I would try several things (in no particular order):
1) For the delimiters, use \0 (\0 means no delimiters)
2) For the field length, use a really big number (In case things are getting truncated)
3) Check the treat errors as warnings box (to at least try to read in as much as possible and allow debugging if there are still issues)
Once you get the data in, you could use a formula tool to add in the color attribute. For your output, you would use the same setup as the input. I'd be happy to help more, but I think you're on the right track!