You are on page 1of 8

WIKIPEDIA MAPPER

Andrew Jones
GIS 540 Fall 2015

Problem
Wikipedia a treasure trove of potential GIS information
Dispersed nature makes it difficult aggregating information for analysis

Parse

User-defined POI and location

Museums, cities, airports etc

State

Parse the list and link to each site

Retrieve coordinates and save

Map
Create x-y event layer from coordinate list in ArcMap
Zoom to Layer
Add map elements
Export .png

Report
Results shown in a simple .html page with map and POI
coordinates

Requirements
I. Implement Instructor Feedback
Sort of, project mostly finished by the time I got feedback
II. Code Components
Geoprocessing

Used arcpy to add xy points to map

Batch processing

For loop to loop through Wiki lists

Code Reuse

4 user-defined functions and 1 class

Class was very simple and not extremely useful

Requirements
II. Code Components
Python Script Tool

Interface and button in ArcMap to map xy points from file

Progress messages

Wiki search statistics displayed in python while parsing Wikipedia and retrieving
coordinates

Geoprocessing display

.html page generated from ArcMap output

III. Programming Style


Used variables, docstrings, functions, try/except

How to make it better


More robust search capability
Different Wikipedia list types
Find useful attributes
Use GUIs to guide user through process
Make map and html report more viewer friendly

You might also like