ESP32 port of OSGEO/shapelib
Posted: Sat Dec 07, 2024 3:43 pm
I thought this was a suitable place to share a library here. I created a port of OSGeo/shapelib to be used with ESP32 boards. Here is some background. SHP files are a de facto Geographic Information System (GIS) standard. It can store GPS points, polylines, polygons, etc. With my port, one may read and write shape files on an SD card connected to ESP32 boards.
There are so many possible scenarios. For instance, you create polygons on QGIS or ArcGIS. Save your GIS layer to an SD card. Assume your board is equipped with a GPS receiver. You can program your board to achieve tasks based on the GPS position data. Do something in polygon A and do another thing in polygon B, etc., or create and store shapefiles on your SD card based on your position data from the GPS receiver. Then, open the stored shapefile on QGIS or ArcGIS for further analysis.
https://github.com/aferust/ShapeLibForESP32
There are so many possible scenarios. For instance, you create polygons on QGIS or ArcGIS. Save your GIS layer to an SD card. Assume your board is equipped with a GPS receiver. You can program your board to achieve tasks based on the GPS position data. Do something in polygon A and do another thing in polygon B, etc., or create and store shapefiles on your SD card based on your position data from the GPS receiver. Then, open the stored shapefile on QGIS or ArcGIS for further analysis.
https://github.com/aferust/ShapeLibForESP32