Base Map Engine for Geospatial Framework
apt-get install cgi-mapserver Location on : /usr/lib/cgi-bin/mapserv
apt-get install libpcre3 libpcre3-dev pip install virtualenv pip install uwsgi pip install MyMapProxy
server { listen 80; server_name map.vas.web.id;
location / {
include uwsgi_params;
uwsgi_pass unix:/var/www/awangga/sampeu.sock;
}
}
virtualenv sampeuenv /bin/bash source sampeuenv/bin/activate deactivate
edit sampeu.service
cp sampeu.service /etc/systemd/system/
by using dbfpy. try it with python cli
from dbfpy import dbf
db = dbf.Dbf("00.dbf")
db[23]
rec = db[23]
rec['PROVINSI']= 'ACEH'
rec.store()
del rec
db.close()
layer near end of file of mapfile it is show on the top of map minscale : showing layer at this min scale (Bigger Number, smaller map) maxscale : showing layer at this max scale (Bigger Number, smaller map) it is a range to show layer between maxscale and minscale