Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mapnik/OGCServer
Pure python WMS
https://github.com/mapnik/OGCServer
Last synced: about 1 month ago
JSON representation
Pure python WMS
- Host: GitHub
- URL: https://github.com/mapnik/OGCServer
- Owner: mapnik
- License: other
- Created: 2010-11-22T16:00:00.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T17:18:25.000Z (about 4 years ago)
- Last Synced: 2024-03-25T23:29:56.703Z (3 months ago)
- Language: Python
- Homepage: https://github.com/mapnik/OGCServer/wiki
- Size: 811 KB
- Stars: 138
- Watchers: 17
- Forks: 39
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Lists
- Awesome-Geospatial - Ogcserver - Python WMS implementation using Mapnik. (Python)
- awesome-gis - Ogcserver - Python WMS implementation using Mapnik. (Geospatial Library / Python)
- awesome-gis - Ogcserver - Python WMS implementation using Mapnik. (Geospatial Library / Python)
- awesome-geospatial - Ogcserver - Python WMS implementation using Mapnik. (Python)
README
# Ogcserver
Python WMS implementation using Mapnik.
## Depends
Mapnik >= 0.7.0 (and python bindings)
Pillow
PasteScript
WebObYou will need to install Mapnik separately.
All the remaining dependencies should be installed cleanly with the command below.
## Install
Run the following command inside this directory (the directory that also contains the 'setup.py' file):sudo python setup.py install
## Testing
Run the local http server with the sample data:
ogcserver demo/map.xml
Viewing http://localhost:8000/ in a local browser should show a welcome message like 'Welcome to the OGCServer'
Now you should be able to access a map tile with a basic WMS request like:
http://localhost:8000/?LAYERS=__all__&STYLES=&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3857&BBOX=-20037508.34,-20037508.34,20037508.3384,20037508.3384&WIDTH=256&HEIGHT=256