Code Monkey home page Code Monkey logo

open-names-geohash-uk-generator's Introduction

Open Names GeoHash and Long/Lat Generator

Intro

Quick tool written in PHP 7.2 on top of a number of symfony/silly/portphp and co-ordniate packages. Currently converts the open names british national grid references to long/lat and geohashs.

Usage

Installation

  • git clone [email protected]:Caffe1neAdd1ct/open-names-geohash-uk-generator.git
  • Install PHP 7.2 and Composer https://getcomposer.org/download/
  • php composer install
  • Configure the app inside app/config/config.yaml
  • Create schema and pull in app/config/postcodes.sql

Open Names Data Download

  • Navigate to https://www.ordnancesurvey.co.uk/opendatadownload/products.html
  • Find the "OS Open Names" product
  • Tick to download this product, scroll to the bottom and continue
  • Enter your life details and await your download URL to arrive via the electroic postal service
  • Pop the downloaded .zip into data/opname_csv_gb.zip

Turning the cogs

Run by either executing the index.php file:

  • chmod +x index.php
  • ./index.php extract
  • ./index.php process

Or running it through a php executable:

  • php index.php extract
  • php index.php process

open-names-geohash-uk-generator's People

Contributors

caffe1neadd1ct avatar

Watchers

 avatar  avatar

open-names-geohash-uk-generator's Issues

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.