Skip to content

peuyeum/sampeu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sampeu

Base Map Engine for Geospatial Framework

Installation

Ubuntu 16.04

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

Nginx

server { listen 80; server_name map.vas.web.id;

location / {
    include         uwsgi_params;
    uwsgi_pass      unix:/var/www/awangga/sampeu.sock;
}

}

Make it as service

virtualenv sampeuenv /bin/bash source sampeuenv/bin/activate deactivate

edit sampeu.service

cp sampeu.service /etc/systemd/system/

Editing Mapdata

Edit Atribut in dbf

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

Mapfile RUles

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

About

Base Map Engine for Geospatial Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published