Writes a shapefile to disk.
[Visual Basic]
Public Shared Sub Write( _
ByVal filename As String, _
ByVal geometryCollection As GeometryCollection, _
ByVal geometryFactory As GeometryFactory _
)
Assumes the type given for the first geometry is the same for all subsequent geometries. For example, is, if the first Geometry is a Multi-polygon/ Polygon, the subsequent geometies are Muli-polygon/ polygon and not lines or points.
The dbase file for the corresponding shapefile contains one column called row. It contains the row number.
ShapefileWriter Class | ShapefileWriter Members | Geotools.Data Namespace