Skip to main content

Posts

Featured

Module Six Working with Geometries

Here we are in our final week of GIS programming working with Geometries in module 6. Some of the topics covered this week nested/search/for loops and writing to a TXT file. Some of the learning outcomes from this week's lab included being able to create a search cursor to iterate over shapefile geometries and the ability to write vertices of a geometry to a text file. Here below I have shared a flowchart I created that shows the workflow process of the script. For this script we were tasked with writing TXT file for all vertices in a shapefile. This script loops through every river feature in a shapefile, looking into its geometry and writing out every vertex's location and identification. Below is the output of the text file after running the script. the full output is 25 features and a total of 247 vertices. Each point list the Feature OID, Vertex ID, X & Y coordinate and the Name of the river feature. I used IDLE for creating this script and like in previous labs I took...

Latest Posts

Module Five Exploring & Manipulating Data

Module Four Geoprocessing

Module Three Debugging and Error Handling

Module Two Python Fundamentals

Module 1: Python Environments & Flowcharts

South Florida Population and Features on Google Earth

Isarithmic Mapping of a 30 Year Period of the Precipitation in the State of Washington

Mapping with Choropleth and Proportional/Graduated Symbology

Data Classification

The Use of Gestalt's Principles!