https://github.com/azavea/spacenet-viz

Visualization for SpaceNet data using GeoTrellis

https://github.com/azavea/spacenet-viz

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.2%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Visualization for SpaceNet data using GeoTrellis

Basic Info
  • Host: GitHub
  • Owner: azavea
  • License: apache-2.0
  • Language: JavaScript
  • Default Branch: master
  • Size: 765 KB
Statistics
  • Stars: 4
  • Watchers: 4
  • Forks: 0
  • Open Issues: 6
  • Releases: 0
Created about 9 years ago · Last pushed almost 9 years ago
Metadata Files
Readme License

README.md

Spacenet Viz

This is an application for viewing the SpaceNet dataset and results from Azavea's Raster Vision project applied to SpaceNet.

TODO: Modify README to remove all ISPRS viewer references.

Requirements

  • Vagrant 1.8+
  • VirtualBox 4.3+
  • Ansible 2.2+

Getting Started

Quick setup

Make sure you have a geotrellis profile in your aws-cli profiles, with keys that can access your data on S3.

Clone the project, cd into the directory, then run ./scripts/setup.sh to create the Vagrant VM and then build the Docker container(s).

setup.sh can also be used to restore the project to its initial state: it will re-provision the VM, then remove and rebuild the Docker container(s).

Note: this will destroy the VM's existing Docker container before rebuilding it.

To run just the UI server

./scripts/setup.sh vagrant up vagrant ssh ./scripts/server.sh

Ingesting data

Downloading test data

make load-local will download the necessary data. Make sure you environment variable AWS_DEFAULT_PROFILE is set to the correct profile.

Using Docker in the VM

The other project scripts are meant to execute in the VM in the /vagrant directory. To run the container during development use the following commands:

vagrant up
vagrant ssh
./scripts/server.sh

Scripts

| Name | Description | | --- | --- | | cibuild.sh | Build the project for CI server TODO | | clean.sh | Clean up unused Docker resources to free disk space. TODO | | console.sh | Run docker-compose exec app /bin/sh TODO | | lint.sh | Run ESLint TODO | | server.sh | Run docker-compose up and start a server on port 8284 | | setup.sh | Bring up the VM, and then destroy and rebuild the Docker container | | test.sh | Run tests TODO | | update.sh | Update the app container with npm dependencies TODO |

Makefile

| Command | Description |------------------|------------------------------------------------------------| |local-run |Run benchmark job locally | |upload-code |Upload code and scripts to S3 | |create-cluster |Create EMR cluster with configurations | |ingest-dsm |IDW ingest with or without pyramiding | |ingest-labels |Raw PointCloud ingest without pyramiding yet | |ingest-rgbir |Local IDW ingest with or without pyramiding | |ingest-unet |Run server on EMR master | |ingest-fcn |TIN ingest with or without pyramiding | |wait |Wait for last step to finish | |proxy |Create SOCKS proxy for active cluster | |ssh |SSH into cluster master | |get-logs |Get spark history logs from active cluster | |clean |Clean local project |

Running on EMR

Requires: Reasonably up to date aws-cli.

Configuration

You will need to modify config-aws.mk to reflect your credentials and your VPC configuration. config-emr.mk and config-ingest.mk have been configured with an area over Japan. Be especially aware that as you change instance types config-emr.mk parameters like EXECUTOR_MEMORY and EXECUTOR_CORES need to be reviewed and likely adjusted.

EMR pipeline example

bash make upload-code && make create-cluster make ingest-rgbir

Licence

  • Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Owner

  • Name: Azavea
  • Login: azavea
  • Kind: organization
  • Location: Philadelphia, PA

Geospatial software engineering for good

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 11
  • Total pull requests: 34
  • Average time to close issues: 6 days
  • Average time to close pull requests: 2 months
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.82
  • Average comments per pull request: 0.56
  • Merged pull requests: 27
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • yoninachmany (5)
  • hectcastro (1)
  • lossyrob (1)
Pull Request Authors
  • yoninachmany (17)
  • lossyrob (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

docker-compose.test.yml docker
  • node 6.9-slim
  • rastervision-api-server ${GIT_COMMIT
  • rastervision-nginx ${GIT_COMMIT
docker-compose.yml docker
  • node 6.9-slim
  • openjdk 8-jre
  • rfviz-nginx latest
src/app-backend/server/Dockerfile docker
  • openjdk 8-jre-alpine build
src/app-frontend/Dockerfile docker
  • node 4.5 build
src/nginx/Dockerfile docker
  • nginx 1.10 build
src/app-frontend/package.json npm
  • babel 6.5.2 development
  • babel-core 6.14.0 development
  • babel-eslint 6.1.2 development
  • babel-jest 6.0.1 development
  • babel-loader 6.2.5 development
  • babel-plugin-transform-class-properties 6.10.2 development
  • babel-plugin-transform-runtime 6.9.0 development
  • babel-polyfill 6.13.0 development
  • babel-preset-es2015 6.14.0 development
  • babel-preset-react 6.11.1 development
  • babel-preset-react-hmre 1.1.1 development
  • bootstrap-loader 1.0.10 development
  • chai 3.5.0 development
  • css-loader 0.24.0 development
  • eslint 3.4.0 development
  • eslint-config-airbnb 10.0.1 development
  • eslint-import-resolver-webpack 0.5.1 development
  • eslint-loader 1.5.0 development
  • eslint-plugin-import 1.14.0 development
  • eslint-plugin-jsx-a11y 2.2.1 development
  • eslint-plugin-react 6.2.0 development
  • exports-loader 0.6.3 development
  • file-loader 0.9.0 development
  • html-loader 0.4.3 development
  • html-webpack-plugin 2.24.1 development
  • jest 17.0.3 development
  • mocha 2.5.3 development
  • node-sass 3.8.0 development
  • resolve-url-loader 1.6.1 development
  • sass-loader 3.2.0 development
  • style-loader 0.13.1 development
  • url-loader 0.5.7 development
  • webpack 1.13.2 development
  • webpack-dev-server 1.16.2 development
  • @blueprintjs/core 1.8.0
  • axios 0.15.3
  • leaflet 0.7.7
  • leaflet-draw ^0.4.9
  • leaflet-fullscreen 1.0.2
  • lodash 4.17.4
  • object-path-immutable ^0.5.1
  • react 15.4.2
  • react-addons-css-transition-group 15.4.2
  • react-addons-test-utils 15.4.2
  • react-addons-transition-group 15.4.2
  • react-dom 15.4.2
  • react-leaflet 0.12.3
  • react-leaflet-draw ^0.13.0
  • react-redux 5.0.1
  • react-router 2.7.0
  • react-router-redux 2.1.0
  • react-scroll 1.4.4
  • react-select 1.0.0-rc.2
  • redux 3.6.0
  • redux-devtools 3.3.1
  • redux-logger 2.7.4
  • redux-thunk 2.1.0
requirements.txt pypi
  • PyYAML ==3.12
  • Shapely ==1.6b4
  • affine ==2.0.0.post1
  • awscli ==1.11.108
  • bitstring ==3.1.5
  • botocore ==1.5.71
  • click ==6.7
  • click-plugins ==1.0.3
  • cligj ==0.4.0
  • colorama ==0.3.7
  • docutils ==0.13.1
  • fastavro ==0.14.2
  • geopyspark ==0.1.0
  • jmespath ==0.9.3
  • nltk ==3.2.2
  • numpy ==1.13.0
  • protobuf ==3.2.0
  • py ==1.4.34
  • pyasn1 ==0.2.3
  • pyparsing ==2.2.0
  • pytest ==3.1.1
  • python-dateutil ==2.6.0
  • rasterio ==1.0a9
  • rsa ==3.4.2
  • s3transfer ==0.1.10
  • six ==1.10.0
  • snuggs ==1.4.1
  • tensorflow ==1.0.0