WOW !! MUCH LOVE ! SO WORLD PEACE !
Fond bitcoin pour l'amélioration du site: 1memzGeKS7CB3ECNkzSn2qHwxU6NZoJ8o
  Dogecoin (tips/pourboires): DCLoo9Dd4qECqpMLurdgGnaoqbftj16Nvp


Home | Publier un mémoire | Une page au hasard

 > 

Mise en place d'une application webmapping de géolocalisation des points d'intérêt de la ville de Ouagadougou

( Télécharger le fichier original )
par Frédéric MILLOGO
Université de Douala et de l'AUF - Master 2 Informatique Appliquée aux Systèmes d'Information Géographique 2012
  

précédent sommaire suivant

Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy

15 Annexe 3 : Fichier de configuration Mapfile

#Map file

MAP

NAME "OuagaMap"

# taille de la carte

SIZE 800 800

UNITS dd

EXTENT -1.656292 12.2702231 -1.429012 12.441941

#EXTENT -1.530225 12.366282 -1.524417 12.369050

FONTSET '../etc/fonts.txt'

SYMBOLSET '../etc/symbols.txt'

PROJECTION

'init=epsg:4326'

END

# couleur de fond

IMAGECOLOR 255 255 255

IMAGEQUALITY 95

IMAGETYPE agg

OUTPUTFORMAT

NAME agg

DRIVER AGG/PNG

IMAGEMODE RGB

END

# la legende

LEGEND

IMAGECOLOR 255 255 255

STATUS ON

KEYSIZE 18 12

LABEL

TYPE BITMAP

SIZE MEDIUM

COLOR 0 0 89

END

END

# configuration interface web

WEB

#

#

# service WMS

#Metadonnées

# 'ows_title' 'QGIS-MAP'

# 'ows_onlineresource' 'http://millogo-pc:8080/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/ouagamap/mapfile/ouagamap/ouagamapfile.map'

# 'ows_srs' 'EPSG:4326'

#END

METADATA

'wms_title' 'Point_interet'

'ows_onlineresource' 'http://millogo-pc:8080/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/ouagamap/mapfile/ouagamap/ouagamapfile.map'

#'wms_srs' 'EPSG:4326'

#'wms_srs' 'EPSG:900913'

'wms_srs' 'EPSG:4326 EPSG:900913'

'wms_enable_request' '*'

END

END

LAYER

NAME 'pharmacie'

TYPE POINT

DUMP true

#TEMPLATE 'http://millogo-pc:8080/ouagamap/index.html'

#EXTENT 9.552036 3.989563 9.864222 4.150442

CONNECTIONTYPE postgis

CONNECTION "dbname='ouagamap' host=Millogo-PC port=5432 user=postgres password=******* sslmode=disable"

DATA 'latlong FROM "site" USING UNIQUE siteid USING srid=4326'

FILTER ( "categorie" = 'Pharmacie' )

METADATA

'wms_title' 'pharmacie'

END

STATUS ON

TRANSPARENCY 100

PROJECTION

'init=epsg:4326'

END

LABELITEM 'nomsite'

CLASS

NAME 'pharmacie'

STYLE

SYMBOL "sym_pharmacie"

SIZE 15.0

OUTLINECOLOR 0 0 0

COLOR 182 109 194

END

LABEL

#minfeaturesize 40

#mindistance 150

FONT "sans"

position auto

size MEDIUM

color 0 0 0

END

END

END

LAYER

NAME 'restaurant'

TYPE POINT

DUMP true

#TEMPLATE 'http://millogo-pc:8080/ouagamap/index.html'

#EXTENT 9.552036 3.989563 9.864222 4.150442

CONNECTIONTYPE postgis

CONNECTION "dbname='ouagamap' host=Millogo-PC port=5432 user=postgres password=******* sslmode=disable"

DATA 'latlong FROM "site" USING UNIQUE siteid USING srid=4326'

FILTER ( "categorie" = 'Restaurant' )

METADATA

'wms_title' 'restaurant'

END

STATUS ON

TRANSPARENCY 100

PROJECTION

'init=epsg:4326'

END

LABELITEM 'nomsite'

CLASS

NAME 'restaurant'

STYLE

SYMBOL "sym_restau"

SIZE 15.0

OUTLINECOLOR 0 0 0

COLOR 182 109 194

END

LABEL

#minfeaturesize 40

#mindistance 150

FONT "sans"

position auto

size MEDIUM

color 0 0 0

END

END

END

LAYER

NAME 'hotel'

TYPE POINT

DUMP true

#TEMPLATE 'http://millogo-pc:8080/ouagamap/index.html'

#EXTENT 9.552036 3.989563 9.864222 4.150442

CONNECTIONTYPE postgis

CONNECTION "dbname='ouagamap' host=Millogo-PC port=5432 user=postgres password=******* sslmode=disable"

DATA 'latlong FROM "site" USING UNIQUE siteid USING srid=4326'

FILTER ( "categorie" = 'Hotel' )

METADATA

'wms_title' 'hotel'

END

STATUS ON

TRANSPARENCY 100

PROJECTION

'init=epsg:4326'

END

LABELITEM 'nomsite'

CLASS

NAME 'hotel'

STYLE

SYMBOL "sym_hotel"

SIZE 15.0

OUTLINECOLOR 0 0 0

COLOR 182 109 194

END

LABEL

#minfeaturesize 40

#mindistance 150

FONT "sans"

position auto

size MEDIUM

color 0 0 0

END

END

END

LAYER

NAME 'autres'

TYPE POINT

DUMP true

#TEMPLATE 'http://millogo-pc:8080/ouagamap/index.html'

#EXTENT 9.552036 3.989563 9.864222 4.150442

CONNECTIONTYPE postgis

CONNECTION "dbname='ouagamap' host=Millogo-PC port=5432 user=postgres password=******* sslmode=disable"

DATA 'latlong FROM "site" USING UNIQUE siteid USING srid=4326'

FILTER ( "categorie" = 'Autres' )

METADATA

'wms_title' 'autres'

END

STATUS ON

TRANSPARENCY 100

PROJECTION

'init=epsg:4326'

END

LABELITEM 'nomsite'

CLASS

NAME 'autres'

STYLE

SYMBOL "sym_autre"

SIZE 15.0

OUTLINECOLOR 0 0 0

COLOR 182 109 194

END

LABEL

#minfeaturesize 40

#mindistance 150

FONT "sans"

position auto

size MEDIUM

color 0 0 0

END

END

END

END

précédent sommaire suivant






Extinction Rebellion







Changeons ce systeme injuste, Soyez votre propre syndic



"Un démenti, si pauvre qu'il soit, rassure les sots et déroute les incrédules"   Talleyrand