Key Information

Register
Submit
The challenge is finished.

Challenge Overview

In previous challenge we built shapefiles for two USA states, and created a python to search these shapefiles.

 

In this challenge you will build a single shapefile that combine the existing ones and add new USA states and custom attribute to this shapefile. And update python script search functionality as outlined below.

Challenge Requirements

You will address the following in this challenge :

- In provided code base, the vermont.shp is the Vermont state shapefile. ma.shp is shapefile for massachusettes towns. massachusettes shapefile contains a custom attribute that associate town with a utility provider name, this pdf show you the towns and utility providers of each town http://images.masscec.com.s3.amazonaws.com/uploads/attachments/ElectricUtilityMap.pdf

 

- The new shapefile you are building should combine the following information :

   - Include MAINE state

        - Utility provider name : MAINE

        - Load Zone name : MAINE

   - Include Vermont state in Massachusettes state shapefile

       - Utility provider name : Vermont

       - Load Zone name : Vermont

   - Include New Hampshire state

       - Utility provider name : NewHampshire

       - Load Zone name : NewHampshire

   - Include Rhodi Island

       - Utility Provider name : Rhodi

       - Load Zone name : Rhodi

   - Update the Massachusettes towns to include Zone name

       - Load Zone name / town can be found here (if any is missing please ask in forums): https://www.nationalgridus.com/non_html/shared_load_zones.pdf
       - Utility provider name : already set in the shapefile.

 

-  In python script, the GDAL bindings package for python has deprecated  "import ogr" and it now needs to be "from osgeo import ogr" for the most recent versions of GDAL (>2.0).  

 

- Update the python script to return “state name”, “town name” (for Massachusettes), “utility name”, and “load zone”.

Technology

- Python

- GIS

Deliverable

  • - ESRI Shapefile file.

  • - Python script

  • - README file.


Final Submission Guidelines

.

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30052294