GithubHelp home page GithubHelp logo

andrewharvey / au-nsw-public-schools-to-osm Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.18 MB

Convert AU NSW Public Schools data into OpenStreetMap

License: MIT License

Makefile 2.52% JavaScript 50.75% HTML 46.73%

au-nsw-public-schools-to-osm's Introduction

au-nsw-public-schools-to-osm

Converts AU NSW Public Schools data into GeoJSON/OpenStreetMap XML and tools to compare with OpenStreetMap.

Download NSW Public Schools Data

make download

This will download the latest data from https://data.cese.nsw.gov.au/data/dataset/nsw-public-schools-master-dataset

Download Schools Data from OSM

Visit https://overpass-turbo.eu/s/y3y which will run this Overpass query which returns all schools in NSW (including private schools).

[out:json][timeout:25];
area["ISO3166-2"="AU-NSW"][boundary=administrative]->.searchArea;
(
  node["amenity"="school"](area.searchArea);
  way["amenity"="school"](area.searchArea);
  relation["amenity"="school"](area.searchArea);
);
out meta;
>;
out skel qt;

You can Export to GeoJSON from Overpass Turbo, or in JOSM under Download Data > Download from Overpass API, paste in the above query to download directly to JOSM.

Or from the command line you can run:

yarn install
make downloadOverpass

Convert NSW Public Schools Data to OSM XML

yarn install
make convertToOSM

Or download the prebuilt cached datasets nsw-public-schools.geojson, nsw-public-schools.osm.

Compare

make diff

This will output:

  • matches.json contains the matches in the format like { B.id: { from: B, to [As] } where A is OpenStreetMap and B is the NSW Public Schools data.
  • missingInOSM.geojson which contains features from the "NSW Public Schools data" not found in OpenStreetMap.
  • missingInSource.geojson which contains features from OpenStreetMap not found in the "NSW Public Schools data". This is less useful as most schools in OSM don't differentiate between private and public so most of these features will be private schools obviously not found in the public schools data.

Copyright

The NSW Public Schools Master Dataset is licensed under CC BY 4.0 (confirmed via email) by NSW Department of Education, Centre for Education Statistics and Evaluation.

The publisher has completed the OSMF's CC BY waiver allowing the dataset to be incorporated into the OpenStreetMap database.

au-nsw-public-schools-to-osm's People

Contributors

andrewharvey avatar dependabot[bot] avatar

Watchers

 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.