mmgis

Multi-Mission Geographical Information System - Web-based Mapping and Spatial Data Infrastructure for Planetary Science Operations - https://nasa-ammos.github.io/MMGIS/

https://github.com/nasa-ammos/mmgis

Science Score: 85.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    5 of 16 committers (31.3%) from academic institutions
  • Institutional organization owner
    Organization nasa-ammos has institutional domain (ammos.nasa.gov)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.7%) to scientific vocabulary

Keywords from Contributors

interactive mesh interpretability sequences generic projection optim hacking network-simulation
Last synced: 6 months ago · JSON representation ·

Repository

Multi-Mission Geographical Information System - Web-based Mapping and Spatial Data Infrastructure for Planetary Science Operations - https://nasa-ammos.github.io/MMGIS/

Basic Info
  • Host: GitHub
  • Owner: NASA-AMMOS
  • License: apache-2.0
  • Language: JavaScript
  • Default Branch: development
  • Homepage:
  • Size: 99.9 MB
Statistics
  • Stars: 170
  • Watchers: 17
  • Forks: 52
  • Open Issues: 71
  • Releases: 23
Created almost 7 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md


MMGIS (Multi-Mission Geographic Information System)

Spatial Data Infrastructure for Planetary Missions

Example

DOI


Features

  • Web-based mapping interface
  • 2D slippy map
  • 3D globe with tiled height data
  • Image viewer capable of showing mosaics with targets
  • 5 fully customizable layer types
  • Easy to use CMS
  • Multi-user vector drawing
  • Elevation profiler
  • Custom projections
  • Tiling scripts
  • COGs
  • TiTiler
  • STAC
  • And so much more...

Full documentation


Installation


Installing with Docker

/ will always refer to the repo's root directory

  1. Clone the repo
    git clone https://github.com/NASA-AMMOS/MMGIS

  2. From within /
    npm install

Building

To build the Docker image, run: docker build -t <image tag> .

Preparing

.env

  • Copy /sample.env to .env
    cp sample.env .env
  • Open .env and update the following:

DB_NAME=<name> DB_USER=<user> DB_PASS=<password>

From the install example:

DB_NAME=db DB_USER=postgres DB_PASS=<POSTGRES_PASSWORD (see below)>

  • Set all the ENV variables in .env. More information about the ENVs can be found here.
    • If using the postgis/postgres image from within the docker-compose.yml, set the ENV DB_NAME to the name of the service (in this case db)

docker-compose.yml

This repo contains a /docker-compose.sample.yml file that defines a service for the application and a PostgreSQL database with PostGIS installed

  • Copy this file to a docker-compose.yml.
  • In the db service in docker-compose.yml, set the POSTGRES_PASSWORD environment variable and use this for MMGIS's DB_PASS ENV value.
  • Fill out the other environment variables within the docker-compose.yml as well.
  • To run MMGIS in a container, you need to create a directory on the host machine and map this to a directory in the container.
    • On the host machine, create a Missions directory and copy the contents of ./Missions to your directory.
    • Via the docker-compose.yml, map this directory to /usr/src/app/Missions in the container. For example, if the host directory is ./Missions, the volume mapping would be - ./Missions:/usr/src/app/Missions
  • Note, the /docker-compose.sample.yml includes optional STAC and TiTiler services. If any of them are unwanted, they can be removed from the docker-compose-yml and their respective .env variable WITH_{service} can be set to false.

Running

Run: docker-compose up -d

First Time UI Setup

  1. Setup the admin account:
  • In your browser, navigate to http://localhost:8888/configure
  • Sign up for an Administrator account (The Administrator account is always the first user in the database and you are only prompted to create an Administrator account if there are no other users)
  1. Now sign in with you Administrator credentials

  2. Click NEW MISSION
    Enter a new mission name and click MAKE MISSION
    Optional: (Use the mission name "Test" (case-sensitive) to make the sample mission)

Navigate to http://localhost:8888.

See the configuration documentation for more information on how to use the configure page to customize and add data to MMGIS.

Installing Without Docker

System Requirements

  1. Install the latest version of Node.js v20.11.1+.

  2. Install PostgreSQL v16+. Detailed install instructions for all platforms.

  3. Install PostGIS 3+. From the above install, you can use the 'Application Stack Builder' to install PostGIS or the default PostGIS install instructions for all platforms.

  4. Make a new PostgreSQL database and remember the user, password and database name. Use 'psql' or the 'SQL Shell' to log into Postgres. It will prompt you for the username and password made during the install.

Python Environment

  1. Install micromamba 2+ #### Windows:
    1. In powershell run: Invoke-Expression ((Invoke-WebRequest -Uri https://micro.mamba.pm/install.ps1).Content)
    2. Initialize the shell with: micromamba shell init --shell cmd.exe --root-prefix=your\path\to\mamba
    3. In a command window in the MMGIS root directory run: micromamba env create -y --name mmgis --file=python-environment.yml
      • If you encounter an error like: ..\mamba\condabin\micromamba"' is not recognized as an internal or external command, operable program or batch file., then copy the mamba.bat file in that directory to micromamba.bat
    4. Confirm the installation and initialization went well with: micromamba run -n mmgis gdalinfo --version
    5. Activate the environment before running npm start micromamba activate mmgis #### Legacy (without micromamba):
    6. GDAL 3.4+ with Python bindings (Windows users may find these helpful)
    7. Python >=3.10 and <3.13
    8. From root MMGIS directory: python -m pip install -r python-requirements.txt
    9. Ensure your PROJ_LIB system ENV points to the proj.db install through python.
    10. Note: MMGIS expects and uses the command python only and not python3 or variations.

Setup

/ will always refer to the repo's root directory

  1. Clone the repo
    git clone https://github.com/NASA-AMMOS/MMGIS

  2. From within /
    npm install

  3. Copy /sample.env to .env
    cp sample.env .env

  4. Open .env and update the following:

DB_NAME=<name> DB_USER=<user> DB_PASS=<password>

From the install example:

DB_NAME=mmgis DB_USER=postgres DB_PASS=<password>

  1. Run npm run build to bundle up the code (first time or if there are any changes)

  2. Go into /configure and run npm install followed by npm run build to build the configuration site.

  3. Go back to the root / directory

  4. Run micromamba activate mmgis or python -m pip install -r python-requirements.txt (if not using python environments)

  5. If using adjacent-servers (titiler, stac, ...) make .env files from the samples within the /adjacent-servers/{servers}/ directory.

  6. Run npm run start:prod

  7. Setup the admin account:

  • In your browser, navigate to http://localhost:8888/configure
  • Sign up for an Administrator account (The Administrator account is always the first user in the database and you are only prompted to create an Administrator account if there are no other users)
  1. Now sign in with you Administrator credentials

  2. Click NEW MISSION
    Enter a new mission name and click MAKE MISSION
    (Use the mission name "Test" (case-sensitive) to make the sample mission)

Go to http://localhost:8888 to see the Test mission

Note: The development environment (npm start) and only the development environment uses two port numbers 8888 and 8889 (by default) — the latter for the main site and the former for the ancillary pages (such as /configure and /docs)


Scripts

Production

  1. Run npm run build to bundle up the code (first time or if there are any changes)

  2. Run micromamba activate mmgis(if applicable)

  3. Run npm run start:prod

Development

  1. Run micromamba activate mmgis(if applicable)

  2. Run npm start

Test

  1. Run npm run test
    Note: Jest has just been added in v2.0.0 and test suites are still very limited. There is strong interest to move to Playwright.

Documentation

The latest online documentation can be found here.

Additionally, documentation pages are served at http://localhost:8888/docs or immediately within the docs/pages/markdowns directory.


Contributing

Check out our contributing guide here.


Code of Conduct

Check out our code of conduct here.


License: Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0)

Copyright (c) 2024, California Institute of Technology ("Caltech"). U.S. Government sponsorship acknowledged.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Caltech nor its operating division, the Jet Propulsion Laboratory, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Contacts

Dr. Fred J. Calef III - fred.calef@jpl.nasa.gov
Tariq K. Soliman - tariq.k.soliman@jpl.nasa.gov

Or join us on Slack

Owner

  • Name: NASA Advanced Multi-Mission Operations System
  • Login: NASA-AMMOS
  • Kind: organization
  • Location: NASA

Administrator contacts: Aniwat.Nik.Sheurpukdi@jpl.nasa.gov and shawn.n.nguyen@jpl.nasa.gov For AMMOS tech support, please contact the developers.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: "Calef III"
    given-names: "Fred"
    orcid: "https://orcid.org/0000-0002-5132-3980"
  - family-names: "Soliman"
    given-names: "Tariq"
    orcid: "https://orcid.org/0009-0001-2264-3176"
  - family-names: "Roberts"
    given-names: "Joe"
    orcid: "https://orcid.org/0000-0002-1545-1862"
  - family-names: "Chung"
    given-names: "Amanda"
    orcid: "https://orcid.org/0009-0004-8926-7859"
title: "MMGIS (Multi-Mission Geographic Information System)"
version: 4.0.0
doi: 10.5281/zenodo.15237385
date-released: 2025-04-17
url: "https://github.com/NASA-AMMOS/MMGIS"

GitHub Events

Total
  • Create event: 63
  • Issues event: 108
  • Watch event: 18
  • Delete event: 52
  • Member event: 1
  • Issue comment event: 118
  • Push event: 265
  • Pull request review comment event: 7
  • Pull request review event: 39
  • Pull request event: 110
  • Fork event: 13
Last Year
  • Create event: 63
  • Issues event: 108
  • Watch event: 18
  • Delete event: 52
  • Member event: 1
  • Issue comment event: 118
  • Push event: 265
  • Pull request review comment event: 7
  • Pull request review event: 39
  • Pull request event: 110
  • Fork event: 13

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 770
  • Total Committers: 16
  • Avg Commits per committer: 48.125
  • Development Distribution Score (DDS): 0.232
Past Year
  • Commits: 181
  • Committers: 5
  • Avg Commits per committer: 36.2
  • Development Distribution Score (DDS): 0.249
Top Committers
Name Email Commits
Tariq Soliman T****n@j****v 591
Joe Roberts j****s@j****v 71
ac-61 a****1 57
Vincent Y Hoang h****9@g****m 13
fcalef 4****f 12
Flynn Platt F****t@j****v 11
Even Stensberg e****g@g****m 3
Cameron Pittman c****n@g****m 2
dependabot[bot] 4****] 2
Cameron Fraser c****r@n****v 2
David Tsay 3****y 1
Evan Schiewe 3****e 1
James Montalvo j****3@g****m 1
Phil Brodrick p****k@g****m 1
dsl3000 d****1@g****m 1
Soliman t****n@n****v 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 160
  • Total pull requests: 216
  • Average time to close issues: 3 months
  • Average time to close pull requests: 3 days
  • Total issue authors: 23
  • Total pull request authors: 11
  • Average comments per issue: 0.4
  • Average comments per pull request: 0.38
  • Merged pull requests: 196
  • Bot issues: 0
  • Bot pull requests: 6
Past Year
  • Issues: 73
  • Pull requests: 106
  • Average time to close issues: 8 days
  • Average time to close pull requests: 1 day
  • Issue authors: 9
  • Pull request authors: 6
  • Average comments per issue: 0.04
  • Average comments per pull request: 0.65
  • Merged pull requests: 95
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • tariqksoliman (92)
  • fcalef (21)
  • jtroberts (13)
  • davetsay (7)
  • cirquelar (4)
  • ac-61 (3)
  • erentar (2)
  • pgbrodrick (2)
  • tamarmot (2)
  • michaelkiper (1)
  • cstatz (1)
  • khalidadil (1)
  • jl-0 (1)
  • kidpixo (1)
  • ghost (1)
Pull Request Authors
  • tariqksoliman (151)
  • jtroberts (26)
  • ac-61 (18)
  • dependabot[bot] (6)
  • flynnplatt (4)
  • frasercl (3)
  • Ricecrackerz (3)
  • pgbrodrick (2)
  • galenaidev (1)
  • cameronwp (1)
  • fcalef (1)
Top Labels
Issue Labels
enhancement (66) bug (41) new feature (18) good first issue (1) documentation (1)
Pull Request Labels
enhancement (34) new feature (29) bug (28) dependencies (6) release (3) documentation (3)

Dependencies

.github/workflows/docker-build.yml actions
  • actions/checkout v3 composite
config/js/codemirror/codemirror-5.19.0/bower.json bower
Dockerfile docker
  • node 16 build
docker-compose-env.yml docker
  • mmgis development
  • postgis/postgis 10-2.5-alpine
docker-compose.yml docker
  • postgis/postgis 10-2.5-alpine
config/js/codemirror/codemirror-5.19.0/package.json npm
  • blint >=0.1.1 development
  • node-static 0.6.0 development
  • phantomjs-prebuilt ^2.1.12 development
docs/Gemfile rubygems
  • github-pages ~> 214 development
  • jekyll-feed ~> 0.12 development
  • jekyll ~> 3.9.0
  • jekyll-remote-theme >= 0
  • just-the-docs ~> 0.3.3
  • tzinfo ~> 1.2
  • tzinfo-data >= 0
  • wdm ~> 0.1.1
  • webrick >= 0
docs/Gemfile.lock rubygems
  • 107 dependencies
package-lock.json npm
  • 1837 dependencies
package.json npm
  • @babel/core ^7.23.0 development
  • @babel/plugin-proposal-nullish-coalescing-operator ^7.18.6 development
  • @babel/plugin-proposal-optional-chaining ^7.21.0 development
  • @babel/plugin-proposal-private-property-in-object ^7.21.11 development
  • @babel/plugin-transform-private-property-in-object ^7.22.11 development
  • @svgr/webpack ^8.1.0 development
  • @testing-library/jest-dom ^4.2.4 development
  • @testing-library/react ^9.5.0 development
  • @testing-library/user-event ^7.2.1 development
  • @typescript-eslint/eslint-plugin ^2.10.0 development
  • @typescript-eslint/parser ^2.10.0 development
  • babel-eslint ^10.1.0 development
  • babel-jest ^29.7.0 development
  • babel-loader ^9.1.3 development
  • babel-plugin-named-asset-import ^0.3.8 development
  • babel-preset-react-app ^10.0.1 development
  • case-sensitive-paths-webpack-plugin 2.3.0 development
  • css-loader 3.4.2 development
  • css-minimizer-webpack-plugin ^5.0.1 development
  • eslint ^6.6.0 development
  • eslint-config-react-app ^5.2.1 development
  • eslint-loader 3.0.3 development
  • eslint-plugin-flowtype 4.6.0 development
  • eslint-plugin-import 2.20.1 development
  • eslint-plugin-jsx-a11y 6.2.3 development
  • eslint-plugin-react 7.19.0 development
  • eslint-plugin-react-hooks ^1.6.1 development
  • file-loader ^6.2.0 development
  • html-webpack-plugin ^5.5.3 development
  • jest ^29.7.0 development
  • jest-environment-jsdom-fourteen 1.0.1 development
  • jest-resolve 24.9.0 development
  • jest-watch-typeahead 0.4.2 development
  • mini-css-extract-plugin ^2.7.6 development
  • postcss-flexbugs-fixes 4.1.0 development
  • postcss-loader 3.0.0 development
  • postcss-normalize 8.0.1 development
  • postcss-preset-env 6.7.0 development
  • react-dev-utils ^12.0.1 development
  • sass-loader 8.0.2 development
  • string-replace-loader ^3.1.0 development
  • style-loader 0.23.1 development
  • terser-webpack-plugin ^4.2.3 development
  • url-loader ^4.1.1 development
  • webpack ^5.88.2 development
  • webpack-bundle-analyzer ^4.5.0 development
  • webpack-cli ^5.1.4 development
  • webpack-dev-server ^4.15.1 development
  • webpack-manifest-plugin ^5.0.0 development
  • winston ^3.3.4 development
  • @babel/runtime ^7.23.1
  • @eonasdan/tempus-dominus ^6.2.6
  • @mapbox/shp-write ^0.4.3
  • @maphubs/tokml ^0.6.1
  • @popperjs/core ^2.11.6
  • @terraformer/wkt ^2.2.0
  • @turf/turf ^6.5.0
  • bcryptjs ^2.4.3
  • busboy 1.6
  • camelcase ^5.3.1
  • chart.js ^3.6.0
  • chartjs-plugin-zoom ^1.2.1
  • compression ^1.7.4
  • connect-pg-simple ^8.0.0
  • cookie-parser ^1.4.5
  • cors ^2.8.5
  • cross-env ^7.0.2
  • csvtojson ^2.0.10
  • d3 ^7.8.5
  • deepmerge ^4.2.2
  • dotenv 8.2.0
  • dotenv-expand 5.1.0
  • express ^4.18.2
  • express-rate-limit ^5.1.3
  • express-session ^1.17.3
  • file-saver ^2.0.2
  • flat ^5.0.2
  • fs-extra ^8.1.0
  • geojson-validation ^1.0.2
  • hammerjs ^2.0.8
  • helmet ^4.1.1
  • hotkeys-js ^3.12.0
  • html2canvas ^1.4.1
  • html2pug ^4.0.0
  • identity-obj-proxy 3.0.0
  • isomorphic-ws 5.0.0
  • jquery ^3.5.1
  • lithosphere ^1.5.4
  • mark.js ^8.11.1
  • materialize-css ^1.0.0
  • memorystore ^1.6.2
  • nipplejs ^0.8.5
  • node-fetch ^2.6.1
  • node-schedule ^1.3.2
  • pg-promise ^10.6.1
  • png-js ^1.0.0
  • proj4 ^2.8.1
  • pug ^3.0.1
  • react ^16.13.1
  • react-app-polyfill ^1.0.6
  • react-chartjs-2 ^3.3.0
  • react-dom ^16.13.1
  • resolve 1.15.0
  • resolve-url-loader ^5.0.0
  • semver 6.3
  • sequelize ^6.33.0
  • sharp ^0.31.2
  • showdown ^2.1.0
  • sortablejs ^1.15.0
  • swagger-ui-express ^4.1.4
  • tippy.js ^6.3.7
  • ts-pnp 1.1.6
  • turf ^3.0.14
  • util ^0.12.3
  • uuid ^9.0.0
  • ws ^8.8.1
  • xml2js ^0.6.2
python-requirements.txt pypi
  • numpy ==1.21.6
  • spiceypy ==5.1.2