shapefile format is documented here
Reading geographic data.
luarocks install shapefile
then
local sd = require"shapedir"
for shapes, filename in sd.files("path/to/files", "filename-pattern") do
for shape, data in shapes do
-- something with the shape and descriptive data
end
end
Lua >= 5.1 or LuaJIT >= 2.0.0.
- Incomplete
- Tests?
- Documentation?
- I don't know of any