Giter Site home page Giter Site logo

os-places's Introduction

#OS Places API Demos

This repo contains working examples of how to use the Ordnance Survey Places API, a RESTful API based on OS AddressBase Premium datasets. The API returns queries to the service in either XML or JSON, and through a 'find' resource enables rapid searches of AddressBase Premium to drill down and isolate ambiguous addressing details. The 'match' resource is for more granular matching and cleansing of existing address databases. Neither features needs any database management of AddressBase Premium. 'Postcode' searches need the area and district integers as a minimum. There are JQuery examples using getJSON and examples using typeahead.js. Additionally Leaflet and Openlayers examples are provided to facilliate the Geosearch resources.

Register for an API key of OS Places API here.

Full documentation for the OS Places API can be found here, while service terms for OS Places API can be found here.

##License

These demos are released under the Apache 2.0 License.

os-places's People

Contributors

gussmith21 avatar michaelgordon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

os-places's Issues

OS Places API - HTML Code example

The code example found here:-

https://labs.os.uk/public/os-data-hub-examples/os-places-api/capture-and-verify-example-find

The code does not display an 'OS map' when opened in a browser. The 'OS Places API' all work perfectly but there is no map displayed. The 'apiKey' must be changed below in order for the OS map (road_3857) to display (using the 'map' api) but if this is changed the 'OS Places API' it will not display an OS map.

var apiKey = 'oeDha1JVulFkpOA3VZQ7gq7a1UME5r8k';

In order for the 'html' file to work independently in any browser the above code requires both a 'Places' API and a 'OS Map API' both somewhere in the code. Is this intended to only to work correctly at the above url only?

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.