[R-sig-Geo] writing a leaflet object to a KML file

Erin Hodgess er|nm@hodge@@ @end|ng |rom gm@||@com
Sat Jun 4 03:23:36 CEST 2022


I am looking at my HTML file and a lot of the code is the same as KML.  I’m
going to try to generate KML From the HTML.

Thanks,
Erin

On Fri, Jun 3, 2022 at 9:21 PM Josiah Parry <josiah.parry using gmail.com> wrote:

> Hey Erin,
>
> Leaflet is a JavaScript library to make interactive maps. So necessarily,
> the output is html and JavaScript. Can you clarify what you mean by output?
> Perhaps a more specific example can help inform the question.
>
> I do think, however, st_write() is the proper tool. But maybe you need
> subsets of data from an interactive map?
>
> On Fri, Jun 3, 2022 at 21:07 Erin Hodgess <erinm.hodgess using gmail.com> wrote:
>
>> Hello!
>>
>> Is there a way to write a leaflet object to a KML instead of an HTML file,
>> please?
>>
>> I did see st_write for the sf object, but I really need the output from
>> leaflet.
>>
>> Thanks so much!
>>
>> Sincerely,
>> Erin
>>
>>
>> Erin Hodgess, PhD
>> mailto: erinm.hodgess using gmail.com
>>
>>         [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo using r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
> --
Erin Hodgess, PhD
mailto: erinm.hodgess using gmail.com

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list