How to extract the coordinates and names (labels) of a number of locations from a .kmz file in R

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How to extract the coordinates and names (labels) of a number of locations from a .kmz file in R



I need to extract the coordinates and names (labels) of a number of locations from a .kmz file in R. I already know how to get the latitude and longitudes using the getKMLcoordinates function but I do not know how to get their corresponding names.





I found the answer here posted by Clay
– Nile
Aug 13 at 7:03




1 Answer
1



A KML file is basically a XML file, therefore you could use any XML-package (e.g. xml2) to access all nodes within your KML-file.
If you provide your file or a snippet of the structure we could help you more specific.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

KzBul3ct9BW1QpcF5x N 7,auy,W0vyVeCPBuw R5dXDgLE9Nu7RIA4InD2yJb
yoO3tbiK m6CZp4QX04nm,2ivIVj3fDb qjwt51f69aUlt

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3