Kml file reader6/4/2023 ![]() ![]() For example, doc.kml, or a file with other valid extension, such as. When reading a compressed file, either as a zip or a KMZ, it will be unzipped and scanned for the first valid file. The read function returns a promise to add the image icons to the map, and processes data asynchronously to minimize impact to the UI thread. ![]() The proxy service is used to load resources on domains that aren't CORS enabled. URLs should be hosted on a CORS enabled endpoint, or a proxy service should be provided in the read options. ![]() Alternatively, the read function can take in a URL that points to a file in any of these formats. The KMZ file format is a compressed version of KML that can also include assets such as images. This function can also read compressed versions of these formats, as a zip file or a KMZ file. The atlas.io.read function is the main function used to read common spatial data formats such as KML, GPX, GeoRSS, GeoJSON, and CSV files with spatial data. These next sections outline all the different tools for reading and writing spatial data using the Spatial IO module. The table below lists the spatial file formats that are supported for reading and writing operations with the Spatial IO module. ![]()
0 Comments
Leave a Reply. |