Difference between revisions of "Database/Map/Server"

From Open Maps wiki
Jump to: navigation, search
(RPi side)
Line 17: Line 17:
 
# [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://elinux.org/RPI-Wireless-Hotspot set up AP with udhcpd]
 
# [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!!]
Line 23: Line 24:
  
 
[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]
 +
 
== For Online ==  
 
== For Online ==  
  

Revision as of 15:49, 25 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. set up AP with udhcpd
  7. edimax version of hostapd
  8. captive portal setup!!
  9. but with iptables command from here, since the others are broken
  10. handle AP downs

some popup mehods

For Online

beautiful Stamen Design map that can be used

Map example1.png
Map example2.png