Skip to content
An adoption of Mapbender (see @mapbender), the spatial web mapping framework, for Geoport.HRO, the web map portal of the municipality of Rostock
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
application
bin
documentation
packaging
phing/tasks
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
apigen.conf
bootstrap.sh
build.properties
build.xml
composer.phar

README.md

Geoport.HRO

An adoption of Mapbender, the spatial web mapping framework, for Geoport.HRO, the web map portal of the municipality of Rostock – view it in production: https://www.geoport-hro.de

Requirements

see Mapbender documentation

Installation

  1. Clone the project:

    git clone https://github.com/rostock/geoporthro /srv/www/htdocs/mapbender
    

Configuration

  1. Create a new settings file by copying the template for it:

    cp /srv/www/htdocs/mapbender/application/app/config/parameters_hro_default.yml /srv/www/htdocs/mapbender/application/app/config/parameters.yml
    
  2. Edit the settings file

Initialisation

  1. Install the bundle assets into the web folder (by using symlinks instead of copying) by running the Symfony console command from the application directory:

    cd /srv/www/htdocs/mapbender/application
    app/console assets:install --symlink web
    
  2. Initialise the database by running the Symfony console command from the application directory:

    cd /srv/www/htdocs/mapbender/application
    app/console doctrine:database:create
    app/console doctrine:schema:create
    
  3. Load EPSG codes into the database:

    cd /srv/www/htdocs/mapbender/application
    app/console doctrine:fixtures:load --fixtures=mapbender/src/Mapbender/CoreBundle/DataFixtures/ORM/Epsg/ --append
    
  4. Create an administrator account:

    cd /srv/www/htdocs/mapbender/application
    app/console fom:user:resetroot
    

Deployment

If you want to deploy Geoport.HRO with Apache HTTP Server, you can follow these steps:

  1. Create a new symbolic link:

    ln -s /srv/www/htdocs/mapbender/application /srv/www/htdocs/geoporthro
    
  2. Open your Apache HTTP Server configuration file and insert something like this:

    Alias /geoporthro /srv/www/htdocs/geoporthro/web
    
    <Directory /srv/www/htdocs/geoporthro/web>
        AddDefaultCharset   utf-8
        Options             +FollowSymlinks +Indexes +MultiViews
    </Directory>
    
You can’t perform that action at this time.