- Web application for cataloguing mapseries
- Able to automatically fill map sheet metadata and copy it to clipboard for another cataloguing software, e.g. Aleph.
Read manual. Or briefly:
- Prepare ShapeFile with map sheets.
- Each map sheet should be one polygon.
- Table must have at least SHEET and TITLE columns. SHEET contains unique ID of the sheet within map series. TITLE contains sheet title
- Table might have another attributes, that can be used for filling the template.
- Add the ShapeFile as a new layer to GeoServer running at http://mapseries.georeferencer.org/geoserver Use mapseries workspace.
- Create template file in /templates direcory. Find an inspiration in the existing ah-ms3-200.txt template.
- Add map series metadata to the config.js. Specify at least
- title: map series title
- layer: name of the GeoServer layer
- template: template file created in step 3
- Get beer
Repository structure based on ol3ds.
- Java 7 or higher
- Windows users:
path/to/directory/with/java.exe
must be in your PATH system variable
- Windows users:
- Python 2.7 (32bit or 64bit; must correspond with node.js because of node-gyp)
- Windows users:
path/to/python/directory
andpath/to/python/directory/Scripts
must be in your PATH system variable
- Windows users:
- node.js (32bit or 64bit; must correspond with Python 2.7 because of node-gyp)
- grunt
npm install -g grunt-cli
- bower
npm install -g bower
- git
- Windows users:
path/to/directory/with/git.exe
must be in your PATH system variable
- Windows users:
git clone https://github.com/klokan/mapseries-temap.git mapseries
cd mapseries
npm install
bower install
sudo grunt install (Linux) / grunt install (Windows)
Windows users: If you have some errors during npm install
related to node-gyp, you will probably need to install Microsoft Visual Studio C++ 2012 Express for Windows Desktop and run the installation again.
grunt
to run dev server and open mapseries.html in web browser- Edit e.g. content of
client/src/js/webpages/mapseries.js
and see changes in the browser
- Edit e.g. content of
grunt lint
to run gjslintgrunt fix
to run fixjsstyle
grunt build
to compile the code and copy files toclient/public
grunt build --map
to include also source maps