I hereby claim:
- I am jorgejesus on github.
- I am dovtov (https://keybase.io/dovtov) on keybase.
- I have a public key ASC7TIAkj21oc4ydbamSyjCG1U4d2wkAFIgYkmNVNf46bAo
To claim this, I am signing this object:
| # mapserver 8.4.0 and mapscript build for independ project install (pip) | |
| # assuming mapserver, mapscript, gdal, proj dependies installed | |
| # using pyenv for virtual env and python 3.13.1 install using pyenv | |
| # This gist is copy paste from a README.md so never tested as full sequence bash | |
| # Get mapserver code and set the pyenv python version to be used by mapserver (globally) | |
| wget https://github.com/MapServer/MapServer/releases/download/rel-8-4-0/mapserver-8.4.0.tar.gz | |
| tar -xvzf mapserver-8.4.0.tar.gz | |
| cd mapserver-8.4.0 | |
| mkdir build && cd build |
| # using zsh bash on Ubuntu 22.04.2 LTS | |
| export PYENV_PYTHON_VERSION=3.10.8 | |
| export SQLITE_VERSION=3410000 | |
| export SQLITE_INSTALL_PATH=/opt/sqlite3 | |
| cd ~ | |
| test -f sqlite-autoconf-$SQLITE_VERSION.tar.gz || wget https://sqlite.org/2023/sqlite-autoconf-$SQLITE_VERSION.tar.gz | |
| tar zxvf sqlite-autoconf-$SQLITE_VERSION.tar.gz | |
| cd sqlite-autoconf-$SQLITE_VERSION | |
| CFLAGS="-march=native -g -O3" CXXFLAGS=${CFLAGS} ./configure --prefix=$SQLITE_INSTALL_PATH --enable-readline |
| # python version 3.10.7 | |
| from owslib.wms import WebMapService # owslib.__version__ == '0.27.2' | |
| from lxml import etree # lxml.__version__== '4.9.1' | |
| parser = etree.XMLParser(resolve_entities = False, strip_cdata = True, recover=True, ns_clean=True) | |
| url = 'https://maps.isric.org/mapserv?map=/map/wrb.map' | |
| wms = WebMapService(url, version='1.3.0') | |
| service_xml = wms.getServiceXML() |
| #!/usr/bin/env bash | |
| # Credit https://giters.com/decuser | |
| # packages needed Ubuntu 20.04.3 LTS | |
| # libsqlite3-dev lib3-mod-spatialite zlib1g-dev | |
| set +x | |
| PY_VERSION=3.10.1 | |
| export MAKE_OPTS="-j8" | |
| export PYTHON_CONFIGURE_OPTS="$PYTHON_CONFIGURE_OPTS --enable-loadable-sqlite-extensions" |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "openapi":"3.0.2", | |
| "info":{ | |
| "title":"GeoServer Web Feature Service", | |
| "description":"This is the reference implementation of WFS 1.0.0 and WFS 1.1.0, supports all WFS operations including Transaction.", | |
| "contact":{ | |
| "name":"Jorge - pygeoapi", | |
| "email":"[email protected]" | |
| }, | |
| "version":"2.18-SNAPSHOT" |
| { | |
| 'server': { | |
| 'bind': { | |
| 'host': '0.0.0.0', | |
| 'port': 5000 | |
| }, | |
| 'url': 'http://localhost:5000/', | |
| 'mimetype': 'application/json; charset=UTF-8', | |
| 'encoding': 'utf-8', | |
| 'language': 'en-US', |
| { | |
| 'openapi': '3.0.2', | |
| 'tags': [ | |
| { | |
| 'name': 'server', | |
| 'description': 'pygeoapi provides an API to geospatial data', | |
| 'externalDocs': { | |
| 'description': 'information', | |
| 'url': 'http://example.org' | |
| } |