Giter Site home page Giter Site logo

geotrellis / geotrellis-pointcloud-server Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 0.0 14.11 MB

GeoTrellis PointCloud OGC Server

License: Apache License 2.0

Scala 67.35% Shell 31.69% Makefile 0.96%
geotrellis pdal pointcloud gis scala ogc wms wmts wcs

geotrellis-pointcloud-server's Introduction

GeoTrellis PointCloud OGC Server

CircleCI Join the chat at https://gitter.im/geotrellis/geotrellis

To run this demo you can use the following Makefile commands:

# to run from the sbt shell
$ make run

# to run assembly jar locally
$ make run-jar

# build docker
$ make docker

# run server in a docker container
$ make run-docker

Makefile

Makefile contains some shortcuts to simplify the demo run.

Command Description
run Run server from sbt
assembly Build assembly jar
run-assembly Run assembly jar
docker Build a docker container
run-docker Run assembly jar inside a docker container, alias for docker-compose up
run-docker-raw docker-compose up alternative but without docker-compose usage

AWS S3 Configuration

For the proper work with usgs-lpc-ny-cl-ess-lchamp layer it is necessary to configure AWS S3 Credentials via env variables or via ~/.aws/credentials file. The region of this layer is us-west-2.

PDAL also requires AWS_CONFIG_FILE variable to point to the ~/.aws/credentials file. Check out the docker-compose.yaml file for the min necessary configuration.

If you want to view the usgs-lpc-ny-cl-ess-lchamp layer S3 layer, please modify the application.conf file to include this layer in the services descriptions:

layer-definitions = [
  ${layers.red-rocks},
  ${layers.usgs-lpc-ny-cl-ess-lchamp}
]

Ingest

Some ingest docs can be found here. This section would briefly describe the ingest process as well with some important parameters descriptions.

The simple ingest can be launched via the following command:

mkdir ~/entwine
docker run -it -v ~/entwine:/entwine connormanning/entwine build \
    -i https://data.entwine.io/red-rocks.laz \
    -o /entwine/red-rocks
  • All extra parameters supported by the catalog build process are described here.
  • In order to update the same catalog, preset the bounds parameter. It will make possible to ingest some new files into the same catalog that are inside of the predefined bounds.
  • span allows to specify the amount of voxels per dimension, a pretty important for the catalog read performance parameter.

geotrellis-pointcloud-server's People

Contributors

pomadchin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.