pub fn write<P: AsRef<Path>>(layer: &Layer, path: P) -> Result<()>
Write a Layer as a Shapefile set (.shp, .shx, .dbf, .prj).
Layer
.shp
.shx
.dbf
.prj
path may include .shp or be the base name.
path