Creating Polygon Shapefile with IDL [message #76597] |
Fri, 10 June 2011 09:16 |
Patrick Leinenkugel
Messages: 5 Registered: June 2011
|
Junior Member |
|
|
Hello everybody!
It would be very nice if some IDL expert (I am rather a beginner)
could help me with the following problem .
I tried to create a polygon shapefile with IDL. The entities of the
shapefile are very simple shapes, namely rectangulars with only four
vertex. Everything worked out quite well. I got my shapefile with the
polgones and their respective attributes. However, when I open the
shapefile with ArcGIS, it seems that one edge, namely the edge between
the starting vertex and the end vertex is missing, with the
implication that GIS processes such as intersecting between the
polygones, leads to weird results.
What am I doing wrong? Do I have to 'close' the polygon shapefile be
adding a fifth vertex, namely the same vertex as the starting vertex,
to the entity? I tried this out but it did'nt work eather. I am sure
there is a very simple solution to this problem. If anybody has the
answer, it would be very nice of you to let me know.
Thanks in advance and Cheers!
Patrick
|
|
|