Skip to content

A web application that shows mineral deposits on a browsable map.

License

Notifications You must be signed in to change notification settings

dbaldes/mineral-deposit-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mineral Deposit Map

This is a toy project that displays mineral deposits on a browsable map.

The Spring Boot application uses Redis to store and retrieve data about mineral deposits. The Web UI shows deposits on a browsable map by OpenStreetMap using Leaflet.

The data can be imported into Redis from the files provided by the Mineral Resources Data System, using the DepositImportApplication provided in the project. I'm not entirely sure about the licensing status of the data, so use it at your own discretion.

I found this data set in this great collection of Free GIS Data by a guy named Robin Wilson.

Setup

Start redis, e.g. by running:

docker run -d --name redis -p 6379:6379 redis:latest

Download https://tin.er.usgs.gov/mrds/rdbms-tab-all.zip and extract it to a folder, e.g.:

mkdir mrdsdata && cd mrdsdata
wget https://tin.er.usgs.gov/mrds/rdbms-tab-all.zip
unzip rdbms-tab-all.zip

Run the importer tool from the project, e.g.:

mvn spring-boot:run -Dstart-class=de.throughput.deposit.importer.DepositImporterApplication -Dspring-boot.run.arguments=/path/to/mrdsdata

Finally, start the web application:

mvn spring-boot:run -Dstart-class=de.throughput.deposit.web.DepositWebApplication

And navigate to https://localhost:8080/ to view the map.

Example deposit

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A web application that shows mineral deposits on a browsable map.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published