taibc <taibc_coltech <at> yahoo.com> writes:

> But when I tried to add create a LineString feature into shape file layer. I
> got the error: "*Attempt to write non-polygon geometry to polygon type shape
> file*". Please see my image. 
> 
> <http://osgeo-org.1560.x6.nabble.com/file/n5058827/LineString.png> 
> 
> How can I add linestring into layer (shape file) ?

You can't write linestrings into a polygon shapefile. Each shapefile can
only contain features of the same shape type or null geometries. Read for
example http://en.wikipedia.org/wiki/Shapefile

-Jukka Rahkonen-

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to