In this week's post, I will present you with another improvement in MapInfo Pro v2023 that will help you access data from Internet sources. Well, it can be various types of sources and in various formats.
This feature is based on the work with OGR Vector Data that we did for MapInfo Pro v2021.
Many organizations share data via publicly accessible web services these days. Some of these organizations use services that already are spatial, such as OGC WMS, OGC WFS, and similar. You have for a long time been able to connect to these from MapInfo Pro.
Others share their data through more basic web services. Well, now you can connect to these and benefit from that data with MapInfo Pro v2023.
In my example, I will connect to a web service provided by the USGS, U.S. Geological Survey, of earthquakes around the World. This web service allows you to retrieve earthquakes and filter them by time and magnitude. The web service returns the result in GeoJSON that can be opened and mapped directly in MapInfo Pro. A resulting map from this data could look like this.
The format parameter controls the format of the data returned from the service. We will use geojson.
There are at least 3 parameters you can use to limit the amount of records. The service will only allow you to access 10,000 records so make sure you don't break this limit or you will get nothing.
With the URL ready, click on Open Table in MapInfo Pro, and in the Open dialog, click on the Open Connection button at the top right corner of the dialog.