This tool is a TomCat Servlet and allows you to import Shapefiles into a cache database. The user can access the cached data to update the meta data of shapes like valid dates, the name or the classification of the shape.
You can find more information about how the tool works, on the Wiki. The source code is available on GitHub.
- TomCat Webserver
- PostgresSQL database with PostGIS Extension
Clone this project:
$ git clone https://github.com/OpenHistoricalDataMap/OHDMImportTool.git
Configure the necessary constants in the file src/main/webapp/java/de/htwb/shpImport/ShapeImporter.java -->CreateConfigs()
- open the project with IntelliJ
- click in 'Run' on 'Edit Configuration'
- add 'TomCat Server' to configuration
- set URL to root path (http://localhost:8080/)
- before lunch: add 'OHDMInformation.war' as Build Artifact
- set 'Application context' to root path