editing .kml files
Author
Discussion

markbigears

Original Poster:

2,485 posts

299 months

Thursday 31st December 2020
quotequote all
Hi top team, do any of you know how to edit a .kml file so instead of a red outline, i can change it to white, so i end up with red inside solid, white outline?



Happy new year! smile

droopsnoot

14,726 posts

272 months

Thursday 31st December 2020
quotequote all
Isn't .kml basically a variant of XML? If so, you could probably do it in a text editor. Seems on the face of it that LineStyle might be the way, but I haven't done this in any detail.

Edited by droopsnoot on Thursday 31st December 18:22

markbigears

Original Poster:

2,485 posts

299 months

Thursday 31st December 2020
quotequote all
I did google and see text editor,
But looks like lines of script, that’s
Out of my comfort zone!

droopsnoot

14,726 posts

272 months

Thursday 31st December 2020
quotequote all
How big is the file? Could you post it here, for example, or is it too big for that?

markbigears

Original Poster:

2,485 posts

299 months

Thursday 31st December 2020
quotequote all
Can you do that? I thought I could only post photos on here?

babelfish

1,020 posts

237 months

Friday 1st January 2021
quotequote all
Open the kml file in a text editor and change which ever <color> tag you want to the colour of your choosing.

pingu393

11,107 posts

235 months

Friday 1st January 2021
quotequote all
droopsnoot said:
Isn't .kml basically a variant of XML? If so, you could probably do it in a text editor. Seems on the face of it that LineStyle might be the way, but I haven't done this in any detail.

Edited by droopsnoot on Thursday 31st December 18:22
^^This

I used to edit kml files, and I did it inside Notepad.

Looking at it, it looks like the outer line is a "route" and it will be inside the file as a series of lat/long coordinates.

If you can't host the file somewhere, e-mail it to me, I can host it and post the link on here.

markbigears

Original Poster:

2,485 posts

299 months

Friday 1st January 2021
quotequote all
Many thanks all for the pointers and help ...
I’m going to have a looksee and see if I can work it out!
Thanks again .... I may be back! Mark