Skip to content
/ Mapito Public

Mapito is opensource project for editing and sharing spatial data.

Notifications You must be signed in to change notification settings

jkdubr/Mapito

Repository files navigation

Mapito

Mapito is opensource project for editing and sharing spatial data. It is map manager, which create new map portal with any WMS layers in a few seconds. Mapito is made available under a MIT-license.

Contact information: Jakub Dubrovsky (jkdubr@hotmail.com)

Getting Mapito

Mapito is available at (https://github.com/jkdubr/Mapito) .

Requirements

PHP, MySQL, PostGIS, Geoserver

Create PostGIS template database in PostGIS - template database generally created by the Postgis installer to ease the process of creating Postgis-enabled databases.

Set chmod for Mapito folder - linux: sudo chmod -R 755 /

Install CURL for PHP - ubuntu: apt-get install php5-curl

Enabled .htaccess - http://www.joeldare.com/wiki/linux:using_.htaccess_on_ubuntu

Installing Mapito

Download Mapito from GitHub (https://github.com/jkdubr/Mapito/) and prepare backend - PHP, MySQL, PostGIS and Geoserver

Install PHP and MySQL on OpenShift

Mapito runs on PHP and MySQL. You can use your PHP server or free opensource solution OpenShift.

A How-to Guide for Hosting on OpenShift (http://cloud.dzone.com/articles/how-guide-hosting-openshift)

Install PostGIS

PostGIS can be install on OpenShift. Unfortunatelly now OpenShift does not support connecting to database from one OpenShift application to another. So, you have to run PostGIS somewhere else :(

How to install PostGIS (http://postgis.refractions.net/documentation/manual-1.3/ch02.html)

Install Geoserver on OpenShift

For installing Geoserver look at my previous blogpost (http://dubrovsky.posterous.com/geoserver-on-openshift) , it is easy.

Push Mapito to server

Transfer Mapito on your PHP server or PUSH it to OpenShift.

Troubles

You need PHP support for pgsql

apt-get install php5-pgsql

/etc/init.d/apache2 restart

You need PHP support for curl

sudo apt-get install php5-curl;

sudo service apache2 restart.

Enable htaccess

https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles

Getting started with Mapito

Account setup

You can set up Mapito in short time and run your map portal. Fill in your MySQL account for storing metadata, PostGIS account for storing GIS data, Geoserver account and URL where Mapito is. Mapito admin page URL is URL where is root Mapito page. Mapito viewer url is where Mapito map portal is. Default is http://admin.your_domain.com/module/viewer, but you can change it.

alt

After setting up basic information is send to your mail. Your new Mapito login is your email, password is your email.

Enjoy your map portal

If your account is set up correctly, go to admin page and disable Mapito setup page. Enjoy map portal.

If you cannot login into Mapito admin page or have an error in database connection you can go again to setup page /install/settings.php and set up Mapito again.

alt

Create your first map portal

Create map portal

alt

Add remote WMS

alt

Layer settings

alt

Your new meteo portal in few steps

alt

example: (http://admin.mapy.mostar.cz/module/viewer/usa_radar/)

About

Mapito is opensource project for editing and sharing spatial data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages