Mapfile quebec bdta

From OSGeo
Jump to: navigation, search

WMS de la BDTA Québec 1/ 250 000

Fichiers sources WMS de La Base de données topographiques et administratives(BDTA) du Québec avec Mapserver. Noter que ce service utilise des fonts ESRI pour certains symboles. Il suffit de les remplacer par d'autres symboles ou de récupérer les bons fichiers pour les utiliser. De plus, Dans ce mapfile la connection sur les données se fait sur Oracle. Cette option est à modifier au besoin...

Mapfile

#-- ========================================================================
#-- Ministère de la Sécurité publique
#--
#-- Création:  Simon Mercier
#-- date : par
#-- Mise à jour:
#-- date:par
#-- date:par
#--
#-- Description:
#-- Ce fichier contient les layers de la Base de données topographiques et administratives.
#-- pour le MSP.
#--
#--
#-- Accès wrapper et test:
#-- http://geomsp.msp.gouv.qc.ca/cgi-wms/bdta?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities

#-- Apache:
#-- SetEnvIf Request_URI "/cgi-wms/bdta" MS_MAPFILE=/ms4w/wms/bdta.map
#--
#-- ========================================================================

MAP
    NAME "BDTA"
    EXTENT -1100000 -23500 1100000 2253500
    SIZE 700 500
    SYMBOLSET                   "/ms4w/msp/symbols/bdta/symbols_bdta.map"
    FONTSET                     "/ms4w/msp/fonts/bdta/fonts_bdta.txt"
    CONFIG GDAL_DATA            "/ms4w/gdaldata"
    CONFIG MS_ENCRYPTION_KEY    "/ms4w/msp/keygeo/mspkey.txt"
    IMAGETYPE PNG
    IMAGECOLOR 255 255 255
    UNITS METERS
    INCLUDE                     "/ms4w/msp/include/layers_commun.map"
    QUERYFORMAT                 "text/xml"
    BROWSEFORMAT                "text/xml"
    IMAGEPATH                   "/ms4w/tmp/ms_tmp/"
    IMAGEURL                    "/ms_tmp/"
    WEB
        METADATA
           "wms_title"                          "Base de données topographiques et administratives"
           "wms_name"                           "BDTA"
           "wms_abstract"                       "Base de données topographiques et administratives"
           "wms_description"                    "Échelle 1 / 250 000"
           "wms_keywordlist"                    "Base de données topographiques et administratives"
           "wms_onlineresource"         "http://geomsp.msp.gouv.qc.ca/cgi-wms/bdta?"
           "wms_server_version"                 "1.1.1"
           "wms_format"                         "image/png"
           "wms_feature_info_mime_type"         "text/html"
           "wms_getcontext_enabled"             "1"
           "wms_fees"                           "Aucun"
           "wms_descriptionurl_format"          "text/html"
           "wms_descriptionurl_format"          "http://geomsp.msp.gouv.qc.ca/meta/THEMES.html"  
           "wms_abstract"                       ""
           "wms_accessconstraints"              "L'utilisation des données de ce service WMS est sujette aux conditions d'utilisation stipulées par l'entente ou l'accord de licence entre Le Ministère de la sécurité publique(MSP) et son propriétaire.  Ce service WMS est diffusé selon les informations fournies par le propriétaire et n'a aucune valeur légale. Le Ministère de la sécurité publique n'est pas responsable des erreurs qui pourraient s'y retrouver."
           "wms_contactorganization"            "Ministère de la sécurité publique"
           "wms_contactperson"                  ""       
           "wms_contactposition"                ""
           "wms_contactelectronicmailaddress"   "admgeo1@msp.gouv.qc.ca"
           "wms_contactvoicetelephone"          ""
           "wms_contactfacsimiletelephone"      "" 
           "wms_addresstype"                    "postal"
           "wms_address"                        "2525, boul. Laurier, 10e étage"
           "wms_city"                           "Québec"
           "wms_stateorprovince"                "Quebec"
           "wms_postcode"                       "G1V2L2"
           "wms_country"                        "Canada"
           "wms_srs"                            "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
           "wms_attribution_onlineresource"     "http://www.msp.gouv.qc.ca/"
           "wms_attribution_title"              "Service pour la sécurité publique"
           "wms_attribution_logourl_width"      "211"
           "wms_attribution_logourl_height"     "85"
           "wms_attribution_logourl_format"     "image/gif"
           "wms_attribution_logourl_href"       "http://www.msp.gouv.qc.ca/imgsite/piv/entete_msp_drapeau.gif"     
        END
    END
    PROJECTION
        "init=epsg:32198"
    END

#-- Image de sortie

    OUTPUTFORMAT
        NAME "png"
        MIMETYPE "image/png"
        DRIVER "GD/PNG"
        EXTENSION "png"
        IMAGEMODE RGBA
        TRANSPARENT ON
    END
    OUTPUTFORMAT
        NAME "png"
        MIMETYPE "image/png"
        DRIVER AGG/PNG
        IMAGEMODE RGBA
        FORMATOPTION          "TRANSPARENT=ON"
        FORMATOPTION          "INTERLACE=OFF"
    END  
    OUTPUTFORMAT
        NAME "gif"
        DRIVER "GD/GIF"
        MIMETYPE "image/gif"
        IMAGEMODE PC256
        EXTENSION "gif"
        TRANSPARENT ON
    END 

#-- Carte de référence

    REFERENCE
        IMAGE "/ms4w/msp/ref/bdta.png"
        EXTENT -1100000 23500 1100000 2253500
        STATUS ON
        COLOR -1 -1 -1
        OUTLINECOLOR 255 0 0
        SIZE 96 96
    END

#-- Index cartographique

    LAYER
        NAME "BDTA_INDEX_S"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_s FROM ADMGEO1.BDTA_INDEX_S USING SRID 32198"
        EXTENT -1100000 -23500 1100000 2253500

        TYPE POLYGON
        SIZEUNITS METERS
        DUMP TRUE
        METADATA
            "wms_name"              "BDTA_INDEX_S"
            "wms_title"             "Index cartographique"
            "wms_keywordlist"       "Découpage cartographique au 1/250 000"
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "Découpage cartographique au 1/250 000"
           "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END

        LABELITEM "TILE_NAME"
        LABELMAXSCALE 2000000
        LABELMINSCALE 1
        CLASS
            NAME "Index"
            LABEL
                COLOR 85 107 47
                ANTIALIAS TRUE
                TYPE TRUETYPE
                FONT "vera"
                SIZE 25
                MINSIZE 10
                MAXSIZE 25
                POSITION CC
            END
            STYLE
                SYMBOL 'line_solid'
                OUTLINECOLOR 85 107 47
                SIZE 80
            END
        END
    END

#-- Hydrographie de surface

    LAYER
        NAME "BDTA_HYDRO_S_POLYGON"
        GROUP "HYDROGRAPHIE"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_s FROM ADMGEO1.BDTA_HYDRO_S_POLYGON USING SRID 32198"
        FILTER "hys_de_ind<>'Île'"
        EXTENT -1100000 -23500 1100000 2253500
        TYPE POLYGON
        DUMP TRUE
        SIZEUNITS METERS
        MAXSCALE 1000000
        MINSCALE 1
        TRANSPARENCY 50
        METADATA
            "wms_group_title"       "Hydrographie"
            "wms_name"              "BDTA_HYDRO_S_POLYGON"
            "wms_title"             "Hydrographie(Fleuve, Rivière, Lac)"
            "wms_keywordlist"       ""
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "(1/1 000 000)"
            "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END

        LABELITEM "HYS_NM_TOP"
        LABELMAXSCALE 250000
        LABELMINSCALE 1
        CLASS
            NAME "Hydrographie"
            LABEL
                COLOR 65 105 225
                ANTIALIAS TRUE
                TYPE TRUETYPE
                FONT "verait"
                MINSIZE 9
                MAXSIZE 9
                POSITION AUTO
                FORCE FALSE
                MINDISTANCE 10000
                PARTIALS FALSE
                BUFFER 3
            END
            STYLE
                COLOR 79 148 205
            END
        END
    END

#-- Hydrographie de ligne

    LAYER
        NAME "BDTA_HYDRO_L_ARC"
        GROUP "HYDROGRAPHIE"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_l FROM ADMGEO1.BDTA_HYDRO_L_ARC USING SRID 32198"
        EXTENT -1100000 -23500 1100000 2253500

        TYPE LINE
        DUMP TRUE
        SIZEUNITS METERS
        MAXSCALE 500000
        MINSCALE 1
        TRANSPARENCY 50
        METADATA
            "wms_name"              "BDTA_HYDRO_L_ARC"
            "wms_title"             "Hydrographie (Rivière, ruisseau)"
            "wms_keywordlist"       "Hydrographie (Rivière, ruisseau)"
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "Hydrographie (Rivière, ruisseau) (1/500 000)"
            "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END

        LABELITEM "HYL_NM_TOP"
        LABELMAXSCALE 250000
        LABELMINSCALE 1
        CLASS
            NAME "Rivière, ruisseau"
            LABEL
                COLOR 65 105 225
                ANTIALIAS TRUE
                TYPE TRUETYPE
                FONT "verait"
                MINSIZE 7
                MAXSIZE 7
                POSITION AUTO
                FORCE FALSE
                MINDISTANCE 10000
                PARTIALS FALSE
                BUFFER 3
                ANGLE FOLLOW
            END
            STYLE
                COLOR 79 148 205
            END
        END
    END

#-- Zone habitée classée par taille.PRI 10 000 et +, SEC 1 000 a 9 999, TER - de 1 000, AUT autre lieu

    LAYER
        NAME "BDTA_HABIT_S_POLYGON"
        GROUP "ZONES_HABITEES"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_s FROM ADMGEO1.BDTA_HABIT_S_POLYGON USING SRID 32198"
        EXTENT -1100000 -23500 1100000 2253500

        TYPE POLYGON
        DUMP TRUE
        SIZEUNITS METERS
        MAXSCALE 1000000
        MINSCALE 1
        METADATA
            "wms_group_title"       "Zones habitées"
            "wms_name"              "BDTA_HABIT_S_POLYGON"
            "wms_title"             "Zone habitée"
            "wms_keywordlist"       "Zone habitée"
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "Zone habitée, PRI 10 000 et +, SEC 1 000 a 9 999, TER - de 1 000, AUT autre lieu (1/1 000 000)"
            "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END
        CLASS
            NAME "Zone habitée"
            STYLE
                COLOR 143 188 143
            END
        END
    END

#-- Zone habitée classée par taille.PRI 10 000 et +, SEC 1 000 a 9 999, TER - de 1 000, AUT autre lieu

    LAYER
        NAME "BDTA_HABIT_P_POINT"
        GROUP "ZONES_HABITEES"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_p FROM ADMGEO1.BDTA_HABIT_P_POINT USING SRID 32198"
        EXTENT -1100000 -23500 1100000 2253500

        TYPE POINT
        DUMP TRUE
        SIZEUNITS METERS
        MAXSCALE 250000
        MINSCALE 1
        METADATA
            "wms_name"              "BDTA_HABIT_P_POINT"
            "wms_title"             "Toponyme de lieu"
            "wms_keywordlist"       "Toponyme de lieu"
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "Toponyme de lieu, PRI 10 000 et +, SEC 1 000 a 9 999, TER - de 1 000, AUT autre lieu (1/250 000)"
            "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END

        LABELITEM "HAP_NM_TOP"
        LABELMAXSCALE 180000
        LABELMINSCALE 1
        CLASSITEM "HAP_CO_CLA"
        CLASS
            NAME "Principal"
            EXPRESSION ("[HAP_CO_CLA]" ne "PRI")
            LABEL
                OUTLINECOLOR 235 235 235
                COLOR 0 0 0
                OFFSET 0 -7
                ANTIALIAS TRUE
                TYPE TRUETYPE
                FONT "vera"
                MINSIZE 10
                MAXSIZE 10
                POSITION AUTO
                FORCE FALSE
                MINDISTANCE 10000
                PARTIALS FALSE
                BUFFER 3
            END
            STYLE
                SYMBOL "circle"
                SIZE 200
                COLOR 105 105 105
            END
        END
        CLASS
            NAME "Secondaire"
            EXPRESSION "SEC"
            LABEL
                OUTLINECOLOR 235 235 235
                COLOR 0 0 0
                OFFSET 0 -7
                ANTIALIAS TRUE
                TYPE TRUETYPE
                FONT "vera"
                MINSIZE 8
                MAXSIZE 8
                POSITION AUTO
                FORCE FALSE
                MINDISTANCE 10000
                PARTIALS FALSE
                BUFFER 3
            END
            STYLE
                SYMBOL "circle"
                SIZE 150
                COLOR 105 105 105
            END
        END
        CLASS
            NAME "Secondaire"
            EXPRESSION "TER"
            LABEL
                OUTLINECOLOR 235 235 235
                COLOR 0 0 0
                OFFSET 0 -7
                ANTIALIAS TRUE
                TYPE TRUETYPE
                FONT "vera"
                MINSIZE 6
                MAXSIZE 6
                POSITION AUTO
                FORCE FALSE
                MINDISTANCE 10000
                PARTIALS FALSE
                BUFFER 3
            END
            STYLE
                SYMBOL "circle"
                SIZE 100
                COLOR 105 105 105
            END
        END
        CLASS
            NAME "Secondaire"
            EXPRESSION "AUT"
            LABEL
                OUTLINECOLOR 235 235 235
                COLOR 0 0 0
                OFFSET 0 -7
                ANTIALIAS TRUE
                TYPE TRUETYPE
                FONT "vera"
                MINSIZE 5
                MAXSIZE 5
                POSITION AUTO
                FORCE FALSE
                MINDISTANCE 10000
                PARTIALS FALSE
                BUFFER 3
            END
            STYLE
                SYMBOL "circle"
                SIZE 75
                COLOR 105 105 105
            END
        END
    END

#-- Transport routier

    LAYER
        NAME "BDTA_ROUTE_L_ARC"
        GROUP "TRANSPORT"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_l FROM ADMGEO1.BDTA_ROUTE_L_ARC USING SRID 32198"
        EXTENT -1100000 -23500 1100000 2253500

        TYPE LINE
        DUMP TRUE
        SIZEUNITS METERS
        MAXSCALE 1000000
        MINSCALE 1
        METADATA
            "wms_group_title"       "Transport"
            "wms_name"              "BDTA_ROUTE_L_ARC"
            "wms_title"             "Transport routier"
            "wms_keywordlist"       "Autoroute, Route nationale, Routerégional, route collectrice, route locale, Accès aux ressources, chemin forestier du MRN"
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "Autoroute, Bretelle, Pont, Route nationale, Route régionale, Voie ferrée (1/1 000 000)"
            "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END

        CLASSITEM "ROL_CO_CLA"
        CLASS
            NAME "Autoroute"
            EXPRESSION "AUT"
            STYLE
                SYMBOL 'line_solid'
                COLOR 255 140 105
                SIZE 50
            END
        END
        CLASS
            NAME "Nationale"
            EXPRESSION "NAT"
            STYLE
                SYMBOL 'line_solid'
                COLOR 255 140 0
                SIZE 30
            END
        END
        CLASS
            NAME "Régionale"
            EXPRESSION /^REG$|^COL$/
            STYLE
                SYMBOL 'line_solid'
                COLOR 255 140 0
                SIZE 20
            END
        END
        CLASS
            NAME "Accès aux ressources"
            EXPRESSION "ACC"
            STYLE
                SYMBOL 'tirete1'
                COLOR 0 0 0
                SIZE 10
            END
        END
        CLASS
            NAME "Accès aux ressources"
            EXPRESSION "MRN"
            STYLE
                SYMBOL 'tirete1'
                COLOR 139 69 19
                SIZE 10
            END
        END
    END

#-- Écussons

    LAYER
        NAME "BDTA_ROUTE_P_POINT"
        GROUP "TRANSPORT"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_p FROM ADMGEO1.BDTA_ROUTE_P_POINT USING SRID 32198"
        EXTENT -1100000 -23500 1100000 2253500

        TYPE ANNOTATION
        DUMP TRUE
        SIZEUNITS METERS
        MAXSCALE 1000000
        MINSCALE 1
        METADATA
            "wms_name"              "BDTA_ROUTE_P_POINT"
            "wms_title"             "Écussons"
            "wms_keywordlist"       "Autoroute, Route nationale, Routerégional, route collectrice, route locale, Accès aux ressources, chemin forestier du MRN"
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "Autoroute, Bretelle, Pont, Route nationale, Route régionale, Voie ferrée (1/1 000 000)"
            "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END

        LABELITEM "ROP_NO_ROU"
        CLASSITEM "ROP_CO_CLA"
        CLASS
            NAME "Autoroute"
            EXPRESSION "AUT"
            LABEL
                COLOR 255 255 255
                ANTIALIAS TRUE
                TYPE TRUETYPE
                FONT "arialbd"
                SIZE 200
                SIZE 200
                POSITION CC
                FORCE TRUE
            END
            STYLE
                SYMBOL "nation"
                COLOR 0 0 255
                SIZE 600
            END
        END
        CLASS
            NAME "Nationales"
            EXPRESSION "NAT"
            LABEL
                COLOR 255 255 255
                ANTIALIAS TRUE
                TYPE TRUETYPE
                FONT "arialbd"
                SIZE 200
                SIZE 200
                POSITION CC
            END
            STYLE
                SYMBOL "nation"
                COLOR 0 139 69
                SIZE 600
            END
        END
    END

#-- Transport aérien, ferroviaire et maritime

    LAYER
        NAME "BDTA_TRANS_L_ARC"
        GROUP "TRANSPORT"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_l FROM ADMGEO1.BDTA_TRANS_L_ARC USING SRID 32198"
        EXTENT -1100000 -23500 1100000 2253500

        TYPE LINE
        DUMP TRUE
        SIZEUNITS METERS
        MAXSCALE 1000000
        MINSCALE 1
        METADATA
            "wms_name"              "BDTA_TRANS_L_ARC"
            "wms_title"             "Transport aérien, ferroviaire et maritime"
            "wms_keywordlist"       "Voie ferrée, Traverse, Piste d'atterissage"
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "Voie ferrée, Traversse, Piste d'atterissage (1/1 000 000)"
            "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END

        CLASSITEM "TRL_DE_IND"
        CLASS
            NAME "Voie ferrée"
            EXPRESSION "Voie ferrée"
            STYLE
                SYMBOL 'line_solid'
                COLOR 139 90 43
                SIZE 10
            END
            STYLE
                SYMBOL 'tie'
                COLOR 139 90 43
                SIZE 50
            END
        END
        CLASS
            NAME "Traverse"
            EXPRESSION "Traverse"
            STYLE
                SYMBOL 'tirete1'
                COLOR 0 0 205
                SIZE 10
            END
        END
        CLASS
            NAME "Piste d'atterrissage"
            EXPRESSION "Piste d'atterrissage"
            STYLE
                SYMBOL 'line_solid'
                COLOR 131 139 139
                SIZE 100
            END
        END
    END

#-- Ligne de transport d'énergie électrique

    LAYER
        NAME "BDTA_ENERG_L_ARC"
        GROUP "ENERGIE"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_l FROM ADMGEO1.BDTA_ENERG_L_ARC USING SRID 32198"
        EXTENT -1100000 -23500 1100000 2253500

        TYPE LINE
        DUMP TRUE
        SIZEUNITS METERS
        MAXSCALE 6000000
        MINSCALE 1
        METADATA
            "wms_group_title"       "Énergie"
            "wms_name"              "BDTA_ENERG_L_ARC"
            "wms_title"             "Ligne de transport d'énergie électrique"
            "wms_keywordlist"       "Ligne de transport d'énergie électrique"
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "Ligne de transport d'énergie électrique (1/6 000 000)"
            "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END

        CLASS
            NAME "Ligne de transport d'énergie électrique"
            STYLE
                SYMBOL 'tirete1'
                COLOR 0 0 0
                SIZE 10
            END
        END
    END

#-- Ligne de transport d'énergie électrique

    LAYER
        NAME "BDTA_ENERG_P_POINT"
        GROUP "ENERGIE"
        CONNECTIONTYPE oraclespatial
        CONNECTION "{5ACE86C1C852C937B72C65170F96C6062B8D055438EB8A61}"
        PROCESSING "CLOSE_CONNECTION=DEFER"
        DATA "geom_p FROM ADMGEO1.BDTA_ENERG_P_POINT USING SRID 32198"
        EXTENT -1100000 -23500 1100000 2253500

        TYPE POINT
        DUMP TRUE
        SIZEUNITS METERS
        MAXSCALE 1000000
        MINSCALE 1
        METADATA
            "wms_name"              "BDTA_ENERG_P_POINT"
            "wms_title"             "Barrage, Centrale, Poste de distribution"
            "wms_keywordlist"       "Barrage, Centrale hydroélectrique, Poste de distribution d'électricité"
            "wms_server_version"    "1.1.1"
            "wms_abstract"          "Barrage, Centrale hydroélectrique, Poste de distribution d'électricité (1/1 000 000)"
            "wms_srs"               "EPSG:2036 EPSG:2037 EPSG:2148 EPSG:2149 EPSG:2150 EPSG:4269 EPSG:4326 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920 EPSG:32183 EPSG:32184 EPSG:32185 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190 EPSG:32198 EPSG:42105 EPSG:42304"
            "wms_extent"            "-1100000 23500 1100000 2253500"
            "gml_include_items"     "all"
        END
        PROJECTION
            "init=epsg:32198"
        END

        CLASSITEM "ENP_DE_IND"
        CLASS
            NAME "Barrage"
            EXPRESSION "Barrage"
            STYLE
                SYMBOL 'barrage'
                COLOR 0 0 0
                SIZE 10
            END
        END
        CLASS
            NAME "Centrale hydroélectrique"
            EXPRESSION "Centrale hydroélectrique"
            STYLE
                SYMBOL 'central'
                COLOR 0 0 0
                SIZE 10
            END
        END
        CLASS
            NAME "Poste de distribution d'électricité"
            EXPRESSION "Poste de distribution d'électricité"
            STYLE
                SYMBOL "poste_elec"
                SIZE 250
                COLOR 0 0 0
            END
        END
    END
 END

Symbole


#-- ========================================================================
#-- Ministère de la Sécurité publique

#-- ========================================================================
#-- Symbole utilisé pour les contours de polygone ET de ligne
SYMBOL
    NAME "line_solid"
    TYPE ELLIPSE
    POINTS 
        1 1
    END
    FILLED true
END
#-- Symbole utilisé pour les points
SYMBOL
    NAME 'circle'
    TYPE ELLIPSE
    FILLED TRUE
    POINTS
        1 1
    END
END 
#-- Symbole utilisé pour les points
SYMBOL
    NAME 'square'
    TYPE VECTOR
    FILLED TRUE
    POINTS
        0 1
        0 0
        1 0
        1 1
        0 1
    END
END
SYMBOL
    NAME 'tirete1'
    TYPE ELLIPSE
    POINTS 
        1 1 
    END
    FILLED true
    STYLE 
        10 5 
        5 10 
    END
END
#-- Symbole utilisé pour les voie ferrées
SYMBOL
    NAME "tie"
    TYPE cartoline
    LINECAP butt
    LINEJOIN miter
    LINEJOINMAXSIZE 5
    STYLE
        1 80 1 80
    END
END 

#--========================================================================
#--Symboles TrueType liés à l'utilisation de la BDAT
#--La majorité des ces symboles proviennent des Fonts ESRI
#--========================================================================  


#--========================================================================
#--le 3 symboles qui font le symbole autoroute ...
#--========================================================================  
    SYMBOL
        NAME "nation"
        TYPE TRUETYPE
        FILLED TRUE
        FONT "esri_defau"
        ANTIALIAS TRUE
        CHARACTER "£"
    END

    SYMBOL
		NAME "barrage"
		TYPE TRUETYPE
		FILLED true
		FONT "esri_carto"
		ANTIALIAS false
		CHARACTER "Q"
	END 
    SYMBOL
		NAME "central"
		TYPE TRUETYPE
		FILLED true
		FONT "esri_carto"
		ANTIALIAS false
		CHARACTER "q"
	END     
    SYMBOL
		NAME "poste_elec"
		TYPE TRUETYPE
		FILLED true
		FONT "esri_envir"
		ANTIALIAS false
		CHARACTER "ÿ"
	END            
            #-------------------------


Fonts

arial arial.ttf
arialbd arialbd.ttf
vera vera.ttf
verabd verabd.ttf
verait verait.ttf
esri_carto esri_1.ttf
esri_defau esri_11.ttf
esri_envir esri_2.ttf