Observed since 20 Oct, 19:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
adaptwms
Lightweight OpenStreetMap adapter for WMS services as Django app
Lightweight OpenStreetMap adapter for WMS services
Basically it is adapter translating requests in so called Slippy Map format (used by OpenStreetMap, takes zoom level and XY tile indexes) into requests to external WMS service (takes bounding box in form of two points in some coordinate system of area to render).
To give an example , let's say you need to supply to external map viewer an URL in format:
https://tile.openstreetmap.org/{z}/{x}/{y}.png
All x,y and z are natural numbers. But the service you want to access gives you interface that requires this format:
https://external.service/wms?BBOX=0.0%2C0.0%2C1.0%2C1.0&SRS=EPSG%3A3857&WIDTH=256&HEIGHT=256&SERVICE=WMS
However in this case BBOX contains set of 4 floating point numbers for 2 (x0, y0) and (x1, y1) points limiting the area to render. This is a kind of problems this program is trying to solve.
These are the known constraints:
This makes use of this Github project and demo project it supplies. Best for testing, or temporary deployement.
git clone git@github.com:v3l0c1r4pt0r/adaptwms.git and enter it: cd adaptwmspip install -r requirements.txt./manage.py runserverhttp://127.0.0.1:8000/ in your browserTODO: write
This makes use of pip package available on PyPI and Django project that you have, or want to set up. Best for production environments.
django-admin startproject demo ., where demo is its name, or use existing onepip install adaptwmsadaptwms to your INSTALLED_APPS in settings.pypath("adaptwms/", adaptwms.views.adapter_view), to your urlpatterns in urls.py (same could be done for adaptwms.views.InterfaceView.as_view() if you want to have interactive generator for adaptwms URLs)./manage.py runserverhttp://127.0.0.1:8000/ in your browserDownload counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
djangoEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11,<4.0",
"evaluation": "NOT_EVALUATED"
} | django (>=4.2.2,<5.0.0) | runtime |
pyprojEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11,<4.0",
"evaluation": "NOT_EVALUATED"
} | pyproj (>=3.6.0,<4.0.0) | runtime |
requestsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11,<4.0",
"evaluation": "NOT_EVALUATED"
} | requests (>=2.31.0,<3.0.0) | runtime |
bdist_wheel · 9.58 KB · Python py3
sdist · 7.55 KB · Python source
Observed since 20 Oct, 19:09 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:fc783fafc890ca432594500d113cef129c4d0cc9fce68707a077b1f2e3383f57