Difference between revisions of "Database/Map/Server"

From Open Maps wiki
Jump to: navigation, search
Line 1: Line 1:
  
 +
== Client Side ==
  
 
extract the location client-side with [https://github.com/jseidelin/exif-js EXIF-JS]
 
extract the location client-side with [https://github.com/jseidelin/exif-js EXIF-JS]
  
 +
== RPi side ==
  
 
[http://wiki.openstreetmap.org/wiki/Mapserver Tutorial for mapserver hosting OSM]
 
[http://wiki.openstreetmap.org/wiki/Mapserver Tutorial for mapserver hosting OSM]
Line 12: Line 14:
 
# [http://xmodulo.com/how-to-uninstall-and-remove-apache2-on-ubuntu-debian.html uninstall apache]
 
# [http://xmodulo.com/how-to-uninstall-and-remove-apache2-on-ubuntu-debian.html uninstall apache]
 
# [http://elinux.org/RPi_Nginx_Webserver install Nginx instead]
 
# [http://elinux.org/RPi_Nginx_Webserver install Nginx instead]
 
 
# [http://wiki.nginx.org/PHPFcgiExample now set up PHP with fastCGI]
 
# [http://wiki.nginx.org/PHPFcgiExample now set up PHP with fastCGI]
 
# [http://gis.stackexchange.com/a/102775 set up mapserv]
 
# [http://gis.stackexchange.com/a/102775 set up mapserv]
 
 
# [https://www.digitalocean.com/community/tutorials/how-to-setup-fastcgi-caching-with-nginx-on-your-vps add mapserv to cache]
 
# [https://www.digitalocean.com/community/tutorials/how-to-setup-fastcgi-caching-with-nginx-on-your-vps add mapserv to cache]
 
 
# [http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ edimax version of hostapd]
 
# [http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/ edimax version of hostapd]
 
 
# [http://www.pihomeserver.fr/en/2014/05/22/raspberry-pi-home-server-creer-hot-spot-wifi-captive-portal/ captive portal setup!!]
 
# [http://www.pihomeserver.fr/en/2014/05/22/raspberry-pi-home-server-creer-hot-spot-wifi-captive-portal/ captive portal setup!!]
 
# '''[http://www.revsys.com/writings/quicktips/nat.html but with iptables command from here, since the others are broken]'''
 
# '''[http://www.revsys.com/writings/quicktips/nat.html but with iptables command from here, since the others are broken]'''
 +
# [http://raspberrypi.stackexchange.com/a/5341 handle AP downs]
  
 
[http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=39225 some popup mehods]
 
[http://www.raspberrypi.org/forums/viewtopic.php?f=36&t=39225 some popup mehods]

Revision as of 09:36, 22 January 2015

Client Side

extract the location client-side with EXIF-JS

RPi side

Tutorial for mapserver hosting OSM

RPi Mapserver Setup

works great. Then

  1. uninstall apache
  2. install Nginx instead
  3. now set up PHP with fastCGI
  4. set up mapserv
  5. add mapserv to cache
  6. edimax version of hostapd
  7. captive portal setup!!
  8. but with iptables command from here, since the others are broken
  9. handle AP downs

some popup mehods

For Online

beautiful Stamen Design map that can be used

Map example1.png
Map example2.png