Skip to main content

Map-oriented custom Girder appfor geospatial metadata browsing

Project description

Girder GeoBrowser

Requirements

Plugin Installation

pip install girder-geobrowser

Custom Python Commands

setup.py includes 2 custom commands:

  • build_ui: This command builds the frontend from the gui folder, and places the build into geobrowser_plugin/external_web_client.
  • clean_build: This command cleans the project of the files generated by the previous command.

WARNING

If you run girder serve in development mode, the standalone frontend will not be served at /geobrowser. This is because it is expected that the frontend will be served on its own (E.g. yarn run serve) in order to see the changes being made. If for some reason you need to serve the frontend at /geobrowser, you will need to run girder serve in production mode. However be aware that in this case it is serving the pre-built files, and thus no changes will take affect until you rebuild the frontend (E.g. by running python setup.py build_ui).

Custom Girder CLI Commands

This plugin adds a Girder CLI command, extract-geospatial. This command manually runs the Geospatial plugin on any Girder paths specified (defaults to '/'). To specify one or more path, use the -p argument. For example, to run this command on the collections collection1 and collection2, you would run:

girder extract-geospatial -p collection/collection1 -p collection/collection2

Standalone Frontend Setup

Install Yarn

npm install -g yarn

Install Frontend packages

cd gui
yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Run your tests

yarn run test

Lints and fixes files

yarn run lint

Customize configuration

See Configuration Reference.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

girder-geobrowser-0.2.1.tar.gz (2.5 MB view details)

Uploaded Source

File details

Details for the file girder-geobrowser-0.2.1.tar.gz.

File metadata

  • Download URL: girder-geobrowser-0.2.1.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for girder-geobrowser-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7be0b2584af6252fd058d1ad4cbc5ec7db084e7e9c827148cff6cf3f2c91b34e
MD5 adbe813d1873729bfff3bb617fa4542b
BLAKE2b-256 c8fd9ac32b6bfe7da3f979b1d70e161ceee7e85d088c34cdb4aef838bed4c91d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page