Skip to content

communaute-cimi/rosm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rosm

POC d’un serveur proxy OSM écrit en Go afin d’avoir de meilleur perf que le POC Python essentiellement pour la mise en cache.

Le dashboard bling bling bootstrap reste pour le moment en attendant de faire des ws.

Utilisation

Exemple de configuration :

{
    "cpu":4,
    "listen":"8080",
    "ttl":15,
    "proxy":"",
    "osmsrv":["a.tile.openstreetmap.org", "b.tile.openstreetmap.org", "c.tile.openstreetmap.org"],
    "db":{
    	"user":"ja",
    	"password":"ja",
    	"name":"tiled",
    	"host":"192.168.122.162",
    	"port":"5432"
    }
}
go run rosm.go -c /etc/rosm.json

ou bien compile and run

go build rosm.go
./rosm.go -c rosm.json

Par defaut le port est 8080. Vous pouvez essayer avec l’application OpenLayer de démonstration.

Profilage

http://ip:port/debug/pprof/

Bench

/bench/rosm.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published