Sync from SUSE:ALP:Source:Standard:1.0 python-xyzservices revision 6d85ebffaaf602c100d0289ddaff0c34

This commit is contained in:
Adrian Schröter 2024-01-05 10:11:37 +01:00
commit c556a208bf
4 changed files with 210 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,90 @@
-------------------------------------------------------------------
Fri Dec 1 13:36:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2023.10.1:
* ``Stamen`` tiles have been removed due to their upstream
deprecation.
* Use ``Stamen`` styles of ``Stadia`` provider instead.
* ``JusticeMap`` tiles are temporarily marked as broken.
* ``Stamen`` tiles are now available under ``Stadia`` provider.
* Providers:
* Added ``GeoportailFrance``
``Orthoimagery_Orthophotos_Irc_express_2023`` and
* ``Orthoimagery_Orthophotos_Ortho_express_2023`` layers
* Updated domain for ``OpenStreetMap.DE``
``GeoportailFrance.Orthoimagery_Orthophotos_1980_1995`` as
possibly broken
* Added ``OrdnanceSurvey`` layers
* xyzservices 2023.2.0 (February 19, 2023)
* Updated available layers of ``GeoportailFrance``
* Use ``pkgutil`` instead of ``importlib`` to fetch the JSON if
the default in ``share``
* is not available. Fixes this fallback for Python 3.8.
* Added ``GeoportailFrance`` tile layers (#126)
* Better cleaning of names in ``query_name`` method
* Added a gallery of included tiles to the documentation (#114)
* xyzservices 2022.06.0 (June 21, 2022)
* Added ``NASAGIBS.ASTER_GDEM_Greyscale_Shaded_Relief``
* Added ``Esri.ArcticImagery`` (EPSG:5936) and
``Esri.AntarcticImagery`` (EPSG:3031)
* Update ``OpenStreetMap.DE`` URL
* Remove broken Hydda tiles
* Added ``Esri`` ``ArcticOceanBase``, ``ArcticOceanReference``
and ``AntarcticBasemap``
* Fixed ``MapTiler.Winter``
* Updated ``AzureMaps`` links
* Added ``NASAGIBS.BlueMarble`` datasets in EPSG 3857
(default), 3413, and 3031
* Added more ``MapTiler`` providers (``Outdoor``,
``Topographique``, ``Winter``, ``Satellite``, ``Terrain``,
and ``Basic4326`` in ESPG 4326).
* Added ``SwissFederalGeoportal`` providers
(``NationalMapColor``, ``NationalMapGrey``, ``SWISSIMAGE``,
``JourneyThroughTime``)
* Updated deprecated links to ``nlmaps`` providers
* Added ``nlmaps.water``
* Added ``OPNVKarte`` map
* Removed discontinued ``OpenPtMap``
* Max zoom of ``CartoDB`` tiles changed from 19 to 20
* xyzservices 2021.09.1 (September 20, 2021)
* New functionality:
* Added ``Bunch.query_name()`` method allowing to fetch the
``TileProvider`` object based on the name with flexible
formatting. (#93)
* Fixed ``Strava`` maps (#85)
* Fixed ``nlmaps.luchtfoto`` (#90)
* Fixed ``NASAGIBS.ModisTerraSnowCover`` (#90)
* ``JusticeMap`` and ``OpenAIP`` now use https instead of http
* Added ``OpenStreetMap.BlackAndWhite`` (#83)
* Added ``Gaode`` tiles (``Normal`` and ``Satellite``) (#83)
* Expanded ``NASAGIBS`` tiles with ``ModisTerraBands721CR``,
``ModisAquaTrueColorCR``, ``ModisAquaBands721CR`` and
``ViirsTrueColorCR`` (#83)
* Added metadata to ``Strava`` maps (currently down) (#83)
* New functionality:
* Added ``TileProvider.from_qms()`` allowing to create a
``TileProvider`` object from the remote Quick Map Services
repository (#71)
* Added support of ``html_attribution`` to have live links in
attributions in HTML-based outputs like leaflet (#60)
* New ``Bunch.flatten`` method creating a flat dictionary of
``TileProvider`` objects based on a nested ``Bunch`` (#68)
* Added ``fill_subdomain`` keyword to
``TileProvider.build_url`` to control ``{s}`` placeholder in
the URL (#75)
* New Bunch.filter method to filter specific providers based on
keywords and other criteria (#76)
* Minor enhancements:
* Indent providers JSON file for better readability (#64)
* Support dark themes in HTML repr (#70)
* Mark broken providers with ``status="broken"`` attribute
(#78)
* Document providers requiring registrations (#79)
* The initial release provides ``TileProvider`` and ``Bunch``
classes and an initial set of providers.
-------------------------------------------------------------------
Mon Oct 31 11:51:21 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Initial specfile for v2022.9.0
- Required by bokeh 3

94
python-xyzservices.spec Normal file
View File

@ -0,0 +1,94 @@
#
# spec file for package python-xyzservices
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-xyzservices
Version: 2023.10.1
Release: 0
Summary: Source of XYZ tiles providers
License: BSD-3-Clause
URL: https://xyzservices.readthedocs.io/
#Repo-URL: https://github.com/geopandas/xyzservices
Source: https://files.pythonhosted.org/packages/source/x/xyzservices/xyzservices-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: xyzservices-data = %{version}
# SECTION test
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module mercantile}
BuildRequires: %{python_module requests}
# /SECTION
BuildArch: noarch
%python_subpackages
%description
xyzservices is a lightweight library providing a repository
of available XYZ services offering raster basemap tiles.
The repository is provided via Python API and as a compressed
JSON file.
XYZ tiles can be used as background for your maps to provide
necessary spatial context. xyzservices offer specifications
of many tile services and provide an easy-to-use tools to
plug them into your work, no matter if interactive or static.
%package -n xyzservices-data
Summary: Source of XYZ tiles providers - common data package
%description -n xyzservices-data
xyzservices is a lightweight library providing a repository
of available XYZ services offering raster basemap tiles.
The repository is provided via Python API and as a compressed
JSON file.
XYZ tiles can be used as background for your maps to provide
necessary spatial context. xyzservices offer specifications
of many tile services and provide an easy-to-use tools to
plug them into your work, no matter if interactive or static.
This package provides the common compressed JSON file for the
pythonXY-xyzservices packages.
%prep
%setup -q -n xyzservices-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -m "not request"
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/xyzservices
%{python_sitelib}/xyzservices-%{version}.dist-info
%files -n xyzservices-data
%license LICENSE
%{_datadir}/xyzservices
%changelog

BIN
xyzservices-2023.10.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.