Monday, July 14, 2014

Working with Geometries

Geometries can best be described as the bits and pieces that make up a feature.  This includes everything from a point or vertices that display the feature to the attribute data that contains the information on where those points should be placed.  Features such as polylines and polygons contain an array of point geometry.

This weeks lab we were to create a text file from an existing shp file.  A for loop with a .getPart() method was used to get all parts of the line feature class.  The second column of data shows each vertex point that was used to create the polyline for each river.

Mod7 Results

I'm not of fan of programming.  I find that it's the little mistakes that are sending me headlong into a brick wall every week.  But, for some reason, walking away from it for a day or two always seems to make things more clear.

No comments:

Post a Comment