Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 action
Octocat-spinner-32 api
Octocat-spinner-32 cron
Octocat-spinner-32 data
Octocat-spinner-32 install
Octocat-spinner-32 lib
Octocat-spinner-32 module
Octocat-spinner-32 page
Octocat-spinner-32 settings
Octocat-spinner-32 style
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 favicon.ico
Octocat-spinner-32 index.php
Octocat-spinner-32 login.php
Octocat-spinner-32 proxy.php
Octocat-spinner-32 proxyPrint.php
README.md

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/)

Something went wrong with that request. Please try again.