Assignment 1 Marks available: 35% of Total This is the first of two assignments. It is designed to test Some basic programming skills Your understanding of basic shapefile read/write operations using...

1 answer below »

Assignment 1


Marks available: 35% of Total


This is the first of two assignments. It is designed to test




  1. Some basic programming skills




  2. Your understanding of basic shapefile read/write operations usingFiona




  3. Your ability to implement basic spatial analysis methods usingShapely




Specific tasks




  1. Download and save the counties dataset as a shapefile. You can get this at

    http://193.1.33.31/geoserver/census2011/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=census2011:counties&outputFormat=SHAPE-ZIP




  2. Merge the Dublin local authorities into one and store in a new shapefile. Don't forget to store the attributes as well as the geometry.




  3. Calculate the centroid for Dublin merged and store this in a new shapefile.




  4. Geocode the address of this centroid. You will need to convert the CRS to WGS84. This should be stored in the shapefile you created in the last step.




Suggestions




  • Store downloaded files likecountiesin their own directory/folder in yourPyCharmproject. Give this a sensible name such as "counties" in this example. By using this scheme you can download it once and use it in different programs.




  • Store files created such as the merged shapefile and centroid in a separate directory/folder. Name this something like ".cache". The leading "." indicates a hidden directory/folder. This is designed to be sacrificial. You can delete its contents without losing anything of value.




Testing


If you show the resulting shapefiles inArcGISorQGISyou can easily verify whether your output is correct.


Submission


Create a single.pyfile and submit this. Don't hard code file locations, like "c:\My Documents\Blah\Blah..." as I won't be able to run your code without amending it. Userelativelocations instead.


Assignment 1
Assignment 1
Due29 March at 11:30 PMStarts 28 February 2020 5:00 PMEnds 31 May 2020 11:30 PM
Answered Same DayMar 27, 2021

Answer To: Assignment 1 Marks available: 35% of Total This is the first of two assignments. It is designed to...

Prasun Kumar answered on Apr 02 2021
144 Votes
Download the solution from http://bit.ly/steven_k. Unzip the file and follow instructions given in the README.pdf file. http://bit.ly/steven_k
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here