colouring-cities / colouring-britain

Developed out of the Colouring London prototype. Collecting data on Britain's buildings and testing new core features
https://colouringbritain.org/
GNU General Public License v3.0
10 stars 2 forks source link

Data: API identification #320

Open MKIM1008 opened 6 months ago

MKIM1008 commented 6 months ago
MKIM1008 commented 6 months ago

@matkoniecz, can we review these APIs together from next week? - I will check their licenses first (sources from: https://www.api.gov.uk/#uk-public-sector-apis, https://github.com/co-cddo/api-catalogue/issues/new/choose).

matkoniecz commented 6 months ago

Yes, though processing all will take significant time.

MKIM1008 commented 6 months ago

Yes, though processing all will take significant time.

I guess we should choose some of them.

1) I will test the system if it's working on the website first, 2) Identifying their licenses for an open publication.

polly64 commented 6 months ago

@MKIM1008 let's do this together, as Monday holiday just send me a meeting for Tuesday

MKIM1008 commented 6 months ago
MKIM1008 commented 6 months ago
MKIM1008 commented 6 months ago

@MKIM1008

MKIM1008 commented 6 months ago

@matkoniecz, a reference for today's meeting: live bus location API https://data.bus-data.dft.gov.uk/api/v1/datafeed/bus ID/?api_key=

We have 5 public bus operators in Loughborough. 1) Then, would live 5 bus datasets be needed for one layer? 2) Could you let me know what method you prefer to develop/update the layer from me?

An example of API visualisation (bus) image

An example of API visualisation (Historic England - list of heritage) , https://services-eu1.arcgis.com/ZOdPfBS3aqqDYPUQ/arcgis/rest/services/National_Heritage_List_for_England_NHLE_v02_VIEW/FeatureServer image

MKIM1008 commented 5 months ago

https://www.choosehowyoumove.co.uk/wp-content/uploads/2019/12/Bus-Area-Guide-Loughborough-Mar-21.pdf

Screenshot_20240415_061459_Gallery.jpg

Bus route in Loughborough

Screenshot_20240415_055035_Samsung Notes.jpg

APIs are available per company Timetables instead of locations We can use open API without ID creation. https://www.kinchbus.co.uk/services/kinchbus5/live https://data.bus-data.dft.gov.uk/operators/?q=&ordering=name

MKIM1008 commented 5 months ago

https://assets.publishing.service.gov.uk/media/62ba0adf8fa8f57214d717a1/urban-observatories-sensor-report.pdf

MKIM1008 commented 5 months ago

Quality of life index

MKIM1008 commented 5 months ago

Bing Maps API: 125000 business information for free *per year

To refine Land use (business)

1) download Bing's business information geo-coordinated

2) matching business information with the Colouring Britain's updated landuse category

3) combining UPRNs

4) inserting it the document downloaded from Colouring Britain

matkoniecz commented 5 months ago

Bing API almost certainly forbids redistribution

MKIM1008 commented 5 months ago

@matkoniecz

Can we do download the data and insert Land use? Not to connect to the dashboard.

Maybe not available? https://www.microsoft.com/en-us/maps/bing-maps/product

Section 2. License grants. (a) Use of the Service and Content. Expressly conditioned upon your compliance with these TOU, and during the term of these TOU, Microsoft grants you a limited, non-exclusive, non-assignable, non-transferable, revocable license to: (i) install, use, and make calls to the Services to (A) develop, test, and support your Application and (B) allow End Users to use your integration of the Services within your Application; and (ii) to use the Content, as it is provided by the Services, in your Application. You may use the Services using only the methods and means of access that are documented in the Documentation.

Section 5. General Restrictions. When using the Services, you may not, nor may you permit End Users to: (f) Use the Services to create a database or service that competes with content received when using the Services;

matkoniecz commented 5 months ago

When using the Services, you may not, nor may you permit End Users to:

(...)

(g) Use of the Content may not be used in combination with any open source software or other data subject to an open source license that may impair the copyright protection of the Content.

(...)

(n) Copy, store, archive, or create a database of Content, except that you may store geocodes locally for use solely with your Applications;

(...)

(t) Replace imagery from the Services with imagery supplied by any other mapping platform. Notwithstanding the foregoing, you may overlay aerial imagery that you have the rights to use, provided that such imagery does not substantially replace the base aerial imagery provided by the Services. You may incorporate various data layers of types not available through the Services, in the Applications (for example, demographic or school location data); or

In general such commercial platform will forbid anything that would allow others to use, see, access data without direct tether to them. So redistribution can be assumed to be banned.

Otherwise someone could download data and stop paying. Or others could get this data without paying MS by getting it from redistributor.

MKIM1008 commented 5 months ago

https://github.com/colouring-cities/colouring-britain/issues/327#issuecomment-2080883991

MKIM1008 commented 5 months ago

Live bus location (Loughborough) https://bustimes.org/

Time-table based https://www.leicestershire.gov.uk/roads-and-travel/buses-and-public-transport/buses-in-my-local-area

MKIM1008 commented 5 months ago

https://bustimes.org/data

Data sources bustimes.org could not exist without open data.

Great Britain Contains public sector information licensed under the Open Government Licence v3.0.

NPTG (National Public Transport Gazetteer) (places) NaPTAN (National Public Transport Access Nodes) (bus stops) NOC (National Operator Codes) (operators) TNDS (Traveline National Dataset) (timetables) NCSD (National Coach Services Database) (timetables) BODS (Bus Open Data Service) (timetables and fares) Traffic Commissioners: local bus service registration (timetable changes) TfL (Transport for London) open data (live departure times) The source of each timetable (Traveline/BODS/other) is shown on each timetable page.

The Public Service Vehicles (Open Data) (England) Regulations 2020 require me to state that:

information has been taken from the bus open data digital service internet site while the Secretary of State strives to preserve the integrity and quality of information on the bus open data digital service internet site, they cannot warrant the accuracy or quality of the information on the site bustimes.org does not have the endorsement, affiliation, support or approval of the Secretary of State Live vehicle tracking data comes from a number of different sources, including:

BODS (Bus Open Data Service) Transport for Edinburgh open data TfWM (Transport for West Midlands) API The Welsh Bus Data Service Information about vehicles (colours, registrations, fleet numbers, etc.) has been contributed by dozens of enthusiastic contributors, and is available from the bustimes.org API.

Postcode search is powered by Postcodes.io.

Northern Ireland Translink Republic of Ireland Transport for Ireland Jersey States of Jersey

MKIM1008 commented 5 months ago

Smart Cambridge and Bustime have developed their own API.