pub fn write<P: AsRef<Path>>( layer: &Layer, path: P, format: VectorFormat, ) -> Result<()>
Generic vector write when the target format is known.