xyzspaces.datasets package

This package provides access to some public datasets used.


Pull countries example GeoJSON from the net or a locally cached file.

If this is not locally cached, yet, it will be after the first call, unless the file cannot be saved, in which case it will be re-downloaded again with every call.

Source (under

The data contains 180 countries, and does not cover all existing countries, ca. 200. For example the Vatican is missing.


A JSON object.


Create GeoJSON from file chicago_parks.geo.json stored locally.


Create a space object for the MS “US Buildings Footprints” dataset.

The original source for this dataset can be found on


A space object.