• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

geolinks/H05-Sep-2015-11164

PKG-INFOH A D05-Sep-20151.8 KiB5749

README.mdH A D05-Sep-2015644 3225

setup.pyH A D05-Sep-20152.4 KiB6433

README.md

1[![Build Status](https://travis-ci.org/geopython/geolinks.png)](https://travis-ci.org/geopython/geolinks)
2
3geolinks
4========
5
6Utilities to deal with geospatial links.  Working implementation
7of the Cat-Interop work at https://github.com/OSGeo/Cat-Interop
8
9Install
10-------
11
12```bash
13pip install geolinks
14```
15
16Use
17---
18
19```python
20>>> from geolinks import sniff_link
21>>> sniff_link('http://host/wms?service=WMS')
22'OGC:WMS'
23>>> sniff_link('http://host/wms?service=WPS')
24'OGC:WPS'
25>>> sniff_link('http://host/wms?service=CSW')
26'OGC:CSW'
27>>> sniff_link('http://host/data/roads.kmz')
28'OGC:KML'
29>>> sniff_link('http://host/data/roads.kml')
30'OGC:KML'
31```
32