Shapefiles are a popular vector data storage format used in Geographic Information Systems (GIS) to store the location, shape, and attributes of geographic features, such as points, lines, and polygons. They are used across many industries for applications like urban planning, environmental management, and transportation, enabling detailed mapping, analysis, and data-driven decision-making for location-based data.
This web application can be used to convert a shapefile containing WGS84 coordinates into a Litchi mission. Shapefile data is stored in three files:
In addition to the geometry contained within the shapefile data, the curve size and mission height must be specified. If the shapefile includes a third dimension, it will be interpreted as height and will override the height specified by the slider in this application. Note that "LineStringM" elements are not supported.
It has been found that shapefiles exported from QGIS are often missing binary data for the "Z" and "M" dimensions. Sometimes this is only for the very last record and sometimes this is for all of the records. If you encouters warnings such as the following, this is probably why.
Warning: unpack(): Type d: not enough input, need 8, have 0 in /home/wesbarri/litchiutilities.com/php-shapefile-3.4.1/src/Shapefile/ShapefileReader.php on line 317
Warning: current() expects parameter 1 to be array, boolean given in /home/wesbarri/litchiutilities.com/php-shapefile-3.4.1/src/Shapefile/ShapefileReader.php on line 317
I know that some may use this converter to create mapping missions. If you use this converter please let me know what your workflow is.