Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build providers infrastructure #23

Merged
merged 6 commits into from
Jul 13, 2021
Merged

Conversation

martinfleis
Copy link
Member

This PR implements handling of providers JSONs and consists of a few changes:

  • include _meta attribute in leaflet-providers-parsed.json storing a description of the file, date of creation and a commit to leaflet-extras/leaflet-providers from which it was created
  • leaflet-providers-parsed.json is stored in a pretty format
  • add xyzservices-providers.json with templates for additional services not present in leaflet JSON.
  • create _compress_providers.py which merges both together and stores them in xyzservices/data/providers.json, which is being shipped with the package and used to create Bunch.
  • create Makefile to make compression and updating of leaflet JSON slightly easier.
  • move things around a bit again - provider_sources folder with JSONs is now in root

Closes #9

@martinfleis martinfleis merged commit e8646ae into geopandas:main Jul 13, 2021
@martinfleis martinfleis deleted the json_gen branch July 13, 2021 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provider sources model
2 participants