Code Monkey home page Code Monkey logo

house-prices's Introduction

TSR Housing Map By Tyron and Jacob

  1. Download Files
File Link Location
Vector Maps OS (GeoPackage) www.ordnancesurvey.co.uk/business-government/products/vectormap-district Extract to Read in ArcGIS
ONS Postcode Directory www.ordnancesurvey.co.uk/business-government/products/vectormap-district Extract to Read in ArcGIS
Price Paid Data (Downloaded Dec 2020) https://www.gov.uk/government/statistical-data-sets/price-paid-data-downloads data/pricing.csv
MSOA Centroids https://geoportal.statistics.gov.uk/datasets/b0a6d8a3dc5d4718b3fd62c548d60f81_0 data/hexes.geojson
Output Area Boundaries https://geoportal.statistics.gov.uk/datasets/output-areas-december-2011-boundaries-ew-bgc-1 data/Maps/OA.shp
CPI/Wages https://docs.google.com/spreadsheets/d/1wPqbpLXIHzRKJuseX67vxX1ABxcfoxG-QfNbKrMLXi0/edit#gid=0 data/cpi.csv
  1. Run MSOA Postcode Table.py

  2. Run Main.py

  3. Run Data Maker.py

  4. Run Hex Maker.py

  5. In ARCGIS - Run Repair on the OA...and buildings if you have the memory (I don't). Then run intersect. Put these in the maps folder

  6. Run these commands

    mapshaper OA_2.shp -o oa.geojson mapshaper-xl 16gb Intersect.shp -proj wgs84 -o intersect.geojson precision=0.0000001

  7. Run these commands

    tippecanoe --output=oa.mbtiles --coalesce-smallest-as-needed --coalesce-densest-as-needed --coalesce-fraction-as-needed --simplify-only-low-zooms --no-feature-limit --no-tile-size-limit --detect-shared-borders oa.geojson

    tippecanoe --output=intersect.mbtiles --coalesce-smallest-as-needed --coalesce-densest-as-needed --coalesce-fraction-as-needed --simplify-only-low-zooms --no-feature-limit --no-tile-size-limit --detect-shared-borders intersect.geojson

    tippecanoe --output=hexes.mbtiles --coalesce-smallest-as-needed --coalesce-densest-as-needed --coalesce-fraction-as-needed --simplify-only-low-zooms --no-feature-limit --no-tile-size-limit --detect-shared-borders hexes.geojson

  8. Run these commands on backend

    ssh [email protected]
    docker run -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl --silent -c config.json python3 -m http.server (if you're testing)

house-prices's People

Contributors

jacobweinbren avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.