Geospatial web services like WMS, WMTS, WFS and XYZ tile layers are used a lot by GIS professionals. In the past I made different webpages with lists of these different types of services that contain data for Belgium. Since a couple of years the Open Geospatial Consortium (OGC) has been busy creating new standards to replace these older types of web services. One of those new standards is OGC API Features.
A while ago I wrote a script to get data from the Mapillary API v3 and that was pretty easy to do so. But in the mean time v3 of their API was discontinued, so I had to rewrite my script to use v4 of the API, but it took me a while to figure out how to talk to the v4 API using Python.
Below you can find a simple example of how to get info on available images around a certain longitude and latitude. Of course you can incorporate this concept into a larger script to get data from multiple points, that can for example be stored in a database. But for this example we’ll just request info on available Mapillary imagery for one set of coordinates and show the information.
In the past I wrote multiple blog posts about how you can make a map of Google Street View capture dates. On December 29, 2020 I noticed the old unofficial Google API I used doesn’t work anymore. Luckily Google has a new official API that can be used to get the same information. Therefore I updated all my scripts to use the new JSON file instead of the old XML file.