KatKatKateryna 7bc42653d0 Kate speckle poc (#2)
* Revert "change port"

This reverts commit 92e0b0da9e.

* server patch

* enforce patch

* Reapply "change port"

This reverts commit 243994d0da.
2024-08-14 12:13:10 +08:00
2024-07-03 11:50:29 -04:00
2024-08-14 12:13:10 +08:00
2024-08-13 11:11:23 +01:00
2024-01-04 07:22:44 -05:00
2024-08-14 10:29:10 +08:00
2023-09-09 08:28:41 -04:00
2024-08-14 10:29:10 +08:00
2024-08-14 10:29:10 +08:00
2024-01-01 08:34:50 -05:00
2024-08-14 10:29:10 +08:00
2024-01-03 10:45:07 -05:00
2021-09-21 06:34:29 -04:00

pygeoapi

DOI Build Docker Vulnerabilities

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.

Please read the docs at https://docs.pygeoapi.io for more information.

Speckle plugin

First use:

python -m venv pygeoapi
pygeoapi\Scripts\activate
cd pygeoapi
git clone https://github.com/specklesystems/pygeoapi.git
cd pygeoapi
git checkout dev
pip install --upgrade pip
pip install -r requirements.txt
python setup.py install
set PYGEOAPI_CONFIG=example-config.yml
set PYGEOAPI_OPENAPI=example-config.yml
pygeoapi openapi generate $PYGEOAPI_CONFIG > $PYGEOAPI_OPENAPI
pygeoapi serve
curl http://localhost:5000

Repeated use:

cd C:\Users\yourusername
pygeoapi\Scripts\activate
cd pygeoapi
cd pygeoapi
git pull
git checkout dev
set PYGEOAPI_CONFIG=example-config.yml
set PYGEOAPI_OPENAPI=example-config.yml
pygeoapi openapi generate $PYGEOAPI_CONFIG > $PYGEOAPI_OPENAPI
pygeoapi serve

Example URL: http://localhost:5000/?limit=10000&speckleUrl=https://app.speckle.systems/projects/55a29f3e9d/models/2d497a381d

If GIS-originated Speckle model is loaded, no additional arguments are needed, except SPECKLEURL and LIMIT.

Supported arguments:

  • speckleUrl (text) - required, should contain path to a specific Model in Speckle Project, e.g. 'https://app.speckle.systems/projects/55a29f3e9d/models/2d497a381d'
  • limit (positive integer), recommended, as some applications might apply their custom feature limit
  • crsAuthid (text), an authority string e.g. 'epsg:4326'. If set, LAT, LON and NORTHDEGREES arguments will be ignored.
  • lat (number), in range -90 to 90
  • lon (number), in range -180 to 180
  • northDegrees (number), in range -180 to 180
S
Description
pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
Readme 50 MiB
Languages
nesC 76.3%
Python 22.3%
HTML 1.3%