Giter Site home page Giter Site logo

gridref's Introduction

GridRef v1.6 - Convert Irish/British Grid Reference points to WGS84

GridRef

Description

In general, neither Ireland nor Great Britain use latitude or longitude in describing internal geographic locations. Instead grid reference systems are in common usage.

The national grid referencing system was devised by the Ordnance Survey, and is heavily used in their survey data, and in maps (whether published by the Ordnance Survey of Ireland, the Ordnance Survey of Northern Ireland or commercial map producers) based on those surveys. Additionally grid references are commonly quoted in other publications and data sources, such as guide books or government planning documents.

OS Grid References are based on 100km grid squares identified by letter-pairs (in Great Britain) or a single letter (in Ireland), followed by digits which locate a point within the grid square, as explained by the Irish national grid reference system or British national grid reference system. 6-digit references provide precision to 100m grid squares; 8 digits to 10m grid squares, and 10 digits to 1m.

If you are interested I also wrote a old perl script for mapping Ireland in grid codes (ideal for ecological survey), see https://github.com/pseudogene/irishgrid.

Usage

Use a local http server with PHP capabilitites and copy the contant of this folder in /gridref/ edit the header of the index.php file.

$server = 'http://localhost/';
# to
$server = 'https://yourserver.com/';

access it through

http://localhost/gridref/
or
https://yourserver.com/gridref/

Open source and future

Please feel free to edit the web interface, rewrite the script in modern language or develop a full API. Let me know I will advertise it! The code is under a GPL-3.0 License.

History

  • October 2009 - v1.5 (public service)
  • July 2021 - v1.6 (source code released)

gridref's People

Contributors

pseudogene avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.