code sample to write a shapefile..

1,779 views
Skip to first unread message

Sanjay

unread,
Dec 15, 2009, 9:50:18 AM12/15/09
to NetTopologySuite
Hi Everyone,

I am looking for a simple C# .NET code sample that demonstrates how to
open/read/write geometry and attributes in a shapefile one record at a
time.

Could someone please post an example or point me to one online..

Thanks,
Sanjay.

FObermaier

unread,
Dec 15, 2009, 5:27:18 PM12/15/09
to NetTopologySuite

Diego Guidi

unread,
Dec 16, 2009, 6:33:38 AM12/16/09
to NetTopologySuite
from my private mail
> I wanna write a 2.5D/3D Polygon shapefile but can't quite see an option in
> ShapefileDataWriter to specify that the polygons have a z-coordinate. As a result, the z-values are being ignored.

trunk Shape.IO don't support Z/M values when writing, and simply
ignores Z/M values when reading, I don't know if NTS 2.0 supports Z/M
values, sorry :(

Pankaj Makode

unread,
Nov 17, 2014, 11:40:16 PM11/17/14
to nettopol...@googlegroups.com
Hi Everyone, 

I am looking for a simple C# .NET code sample that demonstrates how to 
Convert Any Feature input to a relevant  shape file one record at a 

time. 

Could someone please post an example or point me to one online.. 

Thanks, 
Pankaj 
Reply all
Reply to author
Forward
0 new messages