IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

IGN API Géoportail Discussion :

proxy pour cartorisque


Sujet :

IGN API Géoportail

  1. #1
    Membre chevronné
    Profil pro
    Inscrit en
    Mai 2009
    Messages
    2 124
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2009
    Messages : 2 124
    Points : 1 764
    Points
    1 764
    Par défaut proxy pour cartorisque
    Le service associé ne fonctionne pas et en cause le proxy!

    Voici comment je fais mon test:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
      proxy="http://localhost/geoportail/mgaProxy.php?url="
      wget -S -O tmp/noproxy.html "${url}"
      wget --no-proxy -S -O tmp/proxy.html "${proxy}${url}"
    et je compare les 2 fichiers et les headers (option -S de wget)

    Si quelqu'un a un proxy php fonctionnel, je prends!!!

  2. #2
    Expert confirmé
    Homme Profil pro
    Ingénieur cartographe
    Inscrit en
    Avril 2009
    Messages
    3 173
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur cartographe
    Secteur : Service public

    Informations forums :
    Inscription : Avril 2009
    Messages : 3 173
    Points : 4 224
    Points
    4 224
    Par défaut Proxy, t'es sûr ?
    Je ne suis pas sûr que ce soit le proxy : j'ai envoyé ce week-end (si, si) un courriel au responsable des serveurs là-bas à Bordeau car le service WMS cartorisque ne fonctionnait plus avec les URLs qu'il m'avait fourni (et qui sont dans les exemples) ... Il rentre demain.

  3. #3
    Membre chevronné
    Profil pro
    Inscrit en
    Mai 2009
    Messages
    2 124
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2009
    Messages : 2 124
    Points : 1 764
    Points
    1 764
    Par défaut Les réponses au wget
    sans proxy
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
    <!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd"
     [
     <!ELEMENT VendorSpecificCapabilities EMPTY>
     ]>  <!-- end of DOCTYPE declaration -->
    
    <WMT_MS_Capabilities version="1.1.1">
    
    <!-- MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
    
    <Service>
      <Name>OGC:WMS</Name>
      <Title>Serveur OGC Cartorisque - France </Title>
      <Abstract>Serveur WMS Cartorisque - France - Zones de sismicité, phénomènes avalancheux et arrêtés de catastrophe naturelle - Affichage des couches limité au 1:10 000. - Maître d&#39;ouvrage : Ministère de l&#39;Ecologie et du Développement Durable</Abstract>
      <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/>
      <ContactInformation>
      </ContactInformation>
    </Service>
    
    <Capability>
      <Request>
        <GetCapabilities>
          <Format>application/vnd.ogc.wms_xml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetCapabilities>
        <GetMap>
          <Format>image/png</Format>
          <Format>image/gif</Format>
          <Format>image/png; mode=24bit</Format>
          <Format>image/jpeg</Format>
          <Format>image/vnd.wap.wbmp</Format>
          <Format>image/tiff</Format>
          <Format>image/svg+xml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetMap>
        <GetFeatureInfo>
          <Format>text/plain</Format>
          <Format>application/vnd.ogc.gml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetFeatureInfo>
        <DescribeLayer>
          <Format>text/xml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </DescribeLayer>
        <GetLegendGraphic>
          <Format>image/png</Format>
          <Format>image/gif</Format>
          <Format>image/png; mode=24bit</Format>
          <Format>image/jpeg</Format>
          <Format>image/vnd.wap.wbmp</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetLegendGraphic>
        <GetStyles>
          <Format>text/xml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetStyles>
      </Request>
      <Exception>
        <Format>application/vnd.ogc.se_xml</Format>
        <Format>application/vnd.ogc.se_inimage</Format>
        <Format>application/vnd.ogc.se_blank</Format>
      </Exception>
      <VendorSpecificCapabilities />
      <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0"/>
      <Layer>
        <Name>France</Name>
        <Title>Serveur OGC Cartorisque - France </Title>
        <SRS>EPSG:27582</SRS>
        <SRS>EPSG:4326</SRS>
        <LatLonBoundingBox minx="-4.52096" miny="39.4787" maxx="11.7129" maxy="48.3959" />
        <BoundingBox SRS="EPSG:27582"
                    minx="90680" miny="1.42043e+06" maxx="1.29782e+06" maxy="2.37744e+06" />
        <Layer>
        <Title>Information préventive</Title>
        <Layer queryable="1" opaque="0" cascaded="0">
            <Name>ALEA_SEISME_SYNTHESE</Name>
            <Title>Zones de sismicité - Aléas</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-5.50054" miny="41.3202" maxx="10.8142" maxy="51.0896" />
            <BoundingBox SRS="EPSG:27582"
                        minx="47492.9" miny="1.6174e+06" maxx="1.1979e+06" maxy="2.67744e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="213" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=ALEA_SEISME_SYNTHESE&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
        </Layer>
        <Layer queryable="1" opaque="0" cascaded="0">
            <Name>ALEA_SISMIQUE_2005</Name>
            <Title>Aléa sismique de 2005</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-5.50054" miny="41.3202" maxx="10.8142" maxy="51.0896" />
            <BoundingBox SRS="EPSG:27582"
                        minx="47492.9" miny="1.6174e+06" maxx="1.1979e+06" maxy="2.67744e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="151" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=ALEA_SISMIQUE_2005&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
        </Layer>
        <Layer queryable="1" opaque="0" cascaded="0">
            <Name>COMMUNES_CAT_NAT</Name>
            <Title>Communes et arrêtés de catastrophe naturelle (© IGN - BD Carto : Licence n°2005CUIPUB0088 - Reproduction interdite) </Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-5.50054" miny="41.3202" maxx="10.8142" maxy="51.0896" />
            <BoundingBox SRS="EPSG:27582"
                        minx="47492.9" miny="1.6174e+06" maxx="1.1979e+06" maxy="2.67744e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="99" height="30">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=COMMUNES_CAT_NAT&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="523.847990851119" />
        </Layer>
        </Layer>
        <Layer>
          <Name>CLPA_limite_enquete</Name>
          <Title>CLPA Zones sans enquete terrain</Title>
          <Abstract>CLPA_limite_enquete</Abstract>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>front_pyr</Name>
            <Title>Pyrénées</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.769683" miny="42.317" maxx="2.14256" maxy="43.0414" />
            <BoundingBox SRS="EPSG:27582"
                        minx="346187" miny="1.70636e+06" maxx="583918" maxy="1.78209e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="205" height="30">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=front_pyr&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>front_alp</Name>
            <Title>Alpes</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.74226" miny="44.0252" maxx="7.94336" maxy="46.4285" />
            <BoundingBox SRS="EPSG:27582"
                        minx="872813" miny="1.90628e+06" maxx="1.03117e+06" maxy="2.16487e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="205" height="30">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=front_alp&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
        </Layer>
        <Layer>
          <Name>CLPA_interpretation</Name>
          <Title>CLPA - interprétation des phénomènes passés</Title>
          <Abstract>CLPA_interpretation</Abstract>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>linpi_pyr</Name>
            <Title>Pyrénées : couloirs</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.758678" miny="42.3228" maxx="2.12019" maxy="43.043" />
            <BoundingBox SRS="EPSG:27582"
                        minx="347094" miny="1.70697e+06" maxx="582071" maxy="1.78227e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="442" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=linpi_pyr&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>zonpi_pyr</Name>
            <Title>Pyrénées : zones</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.761567" miny="42.3235" maxx="2.13182" maxy="43.0412" />
            <BoundingBox SRS="EPSG:27582"
                        minx="346850" miny="1.70706e+06" maxx="583032" maxy="1.78207e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="442" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=zonpi_pyr&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>linpi_alp</Name>
            <Title>Alpes : couloirs</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.76569" miny="44.0115" maxx="7.93323" maxy="46.4192" />
            <BoundingBox SRS="EPSG:27582"
                        minx="874761" miny="1.90471e+06" maxx="1.03046e+06" maxy="2.16392e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="442" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=linpi_alp&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>zonpi_alp</Name>
            <Title>Alpes : zones</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.73851" miny="44.0119" maxx="7.93878" maxy="46.4228" />
            <BoundingBox SRS="EPSG:27582"
                        minx="872578" miny="1.90478e+06" maxx="1.03087e+06" maxy="2.16422e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="442" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=zonpi_alp&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
        </Layer>
        <Layer>
          <Name>CLPA_temoignage</Name>
          <Title>CLPA - témoignages d&#39;avalanches</Title>
          <Abstract>CLPA_temoignage</Abstract>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>lint_pyr</Name>
            <Title>Pyrénées : couloirs</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.749145" miny="42.3265" maxx="2.11892" maxy="43.0749" />
            <BoundingBox SRS="EPSG:27582"
                        minx="348013" miny="1.70735e+06" maxx="581968" maxy="1.78582e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>zont_pyr</Name>
            <Title>Pyrénées : zones</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.753025" miny="42.3338" maxx="2.13153" maxy="43.0635" />
            <BoundingBox SRS="EPSG:27582"
                        minx="347645" miny="1.70818e+06" maxx="583011" maxy="1.78455e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>Num_emprise_Pyrenees</Name>
            <Title>Pyrénées : Numéro des avalanches</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.753025" miny="42.3338" maxx="2.13153" maxy="43.0635" />
            <BoundingBox SRS="EPSG:27582"
                        minx="347645" miny="1.70818e+06" maxx="583011" maxy="1.78455e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="28.0632852241671" />
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>lint_alp</Name>
            <Title>Alpes : couloirs</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.75036" miny="44.0198" maxx="7.91205" maxy="46.418" />
            <BoundingBox SRS="EPSG:27582"
                        minx="873496" miny="1.90552e+06" maxx="1.02884e+06" maxy="2.16373e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>zont_alp</Name>
            <Title>Alpes : zones</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.74221" miny="44.0212" maxx="7.93987" maxy="46.421" />
            <BoundingBox SRS="EPSG:27582"
                        minx="872829" miny="1.90583e+06" maxx="1.03096e+06" maxy="2.16404e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>Num_emprise_Alpes</Name>
            <Title>Alpes : Numéro des avalanches</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.74221" miny="44.0212" maxx="7.93987" maxy="46.421" />
            <BoundingBox SRS="EPSG:27582"
                        minx="872829" miny="1.90583e+06" maxx="1.03096e+06" maxy="2.16404e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="28.0632852241671" />
          </Layer>
        </Layer>
      </Layer>
    </Capability>
    </WMT_MS_Capabilities>
    avec proxy
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
    <!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
    <ServiceExceptionReport version="1.1.1">
    <ServiceException code="ServiceNotDefined">
    msWMSDispatch: WMS server error. Required SERVICE parameter missing.
    </ServiceException>
    </ServiceExceptionReport>

  4. #4
    Membre chevronné
    Profil pro
    Inscrit en
    Mai 2009
    Messages
    2 124
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2009
    Messages : 2 124
    Points : 1 764
    Points
    1 764
    Par défaut La trace wireshark
    sans proxy
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    GET /wms/france/?REQUEST=GetCapabilities&SERVICE=WMS HTTP/1.0
    User-Agent: Wget/1.10.2
    Accept: */*
    Host: cartorisque.prim.net
    Connection: Keep-Alive
    
    HTTP/1.1 200 OK
    Date: Fri, 04 Sep 2009 04:44:18 GMT
    Server: Apache
    Content-Type: application/vnd.ogc.wms_xml
    Via: 1.0 cartorisque.prim.net
    Vary: Accept-Encoding,User-Agent
    Connection: close
    
    <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
    <!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd"
     [
     <!ELEMENT VendorSpecificCapabilities EMPTY>
     ]>  <!-- end of DOCTYPE declaration -->
    
    <WMT_MS_Capabilities version="1.1.1">
    
    <!-- MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
    
    <Service>
      <Name>OGC:WMS</Name>
      <Title>Serveur OGC Cartorisque - France </Title>
      <Abstract>Serveur WMS Cartorisque - France - Zones de sismicit., ph.nom.nes avalancheux et arr.t.s de catastrophe naturelle - Affichage des couches limit. au 1:10 000. - Ma.tre d&#39;ouvrage : Minist.re de l&#39;Ecologie et du D.veloppement Durable</Abstract>
      <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/>
      <ContactInformation>
      </ContactInformation>
    </Service>
    
    <Capability>
      <Request>
        <GetCapabilities>
          <Format>application/vnd.ogc.wms_xml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetCapabilities>
        <GetMap>
          <Format>image/png</Format>
          <Format>image/gif</Format>
          <Format>image/png; mode=24bit</Format>
          <Format>image/jpeg</Format>
          <Format>image/vnd.wap.wbmp</Format>
          <Format>image/tiff</Format>
          <Format>image/svg+xml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetMap>
        <GetFeatureInfo>
          <Format>text/plain</Format>
          <Format>application/vnd.ogc.gml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetFeatureInfo>
        <DescribeLayer>
          <Format>text/xml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </DescribeLayer>
        <GetLegendGraphic>
          <Format>image/png</Format>
          <Format>image/gif</Format>
          <Format>image/png; mode=24bit</Format>
          <Format>image/jpeg</Format>
          <Format>image/vnd.wap.wbmp</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetLegendGraphic>
        <GetStyles>
          <Format>text/xml</Format>
          <DCPType>
            <HTTP>
              <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Get>
              <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://cartorisque.prim.net/wms/france?"/></Post>
            </HTTP>
          </DCPType>
        </GetStyles>
      </Request>
      <Exception>
        <Format>application/vnd.ogc.se_xml</Format>
        <Format>application/vnd.ogc.se_inimage</Format>
        <Format>application/vnd.ogc.se_blank</Format>
      </Exception>
      <VendorSpecificCapabilities />
      <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0"/>
      <Layer>
        <Name>France</Name>
        <Title>Serveur OGC Cartorisque - France </Title>
        <SRS>EPSG:27582</SRS>
        <SRS>EPSG:4326</SRS>
        <LatLonBoundingBox minx="-4.52096" miny="39.4787" maxx="11.7129" maxy="48.3959" />
        <BoundingBox SRS="EPSG:27582"
                    minx="90680" miny="1.42043e+06" maxx="1.29782e+06" maxy="2.37744e+06" />
        <Layer>
        <Title>Information pr.ventive</Title>
        <Layer queryable="1" opaque="0" cascaded="0">
            <Name>ALEA_SEISME_SYNTHESE</Name>
            <Title>Zones de sismicit. - Al.as</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-5.50054" miny="41.3202" maxx="10.8142" maxy="51.0896" />
            <BoundingBox SRS="EPSG:27582"
                        minx="47492.9" miny="1.6174e+06" maxx="1.1979e+06" maxy="2.67744e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="213" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=ALEA_SEISME_SYNTHESE&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
        </Layer>
        <Layer queryable="1" opaque="0" cascaded="0">
            <Name>ALEA_SISMIQUE_2005</Name>
            <Title>Al.a sismique de 2005</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-5.50054" miny="41.3202" maxx="10.8142" maxy="51.0896" />
            <BoundingBox SRS="EPSG:27582"
                        minx="47492.9" miny="1.6174e+06" maxx="1.1979e+06" maxy="2.67744e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="151" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=ALEA_SISMIQUE_2005&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
        </Layer>
        <Layer queryable="1" opaque="0" cascaded="0">
            <Name>COMMUNES_CAT_NAT</Name>
            <Title>Communes et arr.t.s de catastrophe naturelle (. IGN - BD Carto : Licence n.2005CUIPUB0088 - Reproduction interdite) </Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-5.50054" miny="41.3202" maxx="10.8142" maxy="51.0896" />
            <BoundingBox SRS="EPSG:27582"
                        minx="47492.9" miny="1.6174e+06" maxx="1.1979e+06" maxy="2.67744e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="99" height="30">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=COMMUNES_CAT_NAT&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="523.847990851119" />
        </Layer>
        </Layer>
        <Layer>
          <Name>CLPA_limite_enquete</Name>
          <Title>CLPA Zones sans enquete terrain</Title>
          <Abstract>CLPA_limite_enquete</Abstract>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>front_pyr</Name>
            <Title>Pyr.n.es</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.769683" miny="42.317" maxx="2.14256" maxy="43.0414" />
            <BoundingBox SRS="EPSG:27582"
                        minx="346187" miny="1.70636e+06" maxx="583918" maxy="1.78209e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="205" height="30">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=front_pyr&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>front_alp</Name>
            <Title>Alpes</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.74226" miny="44.0252" maxx="7.94336" maxy="46.4285" />
            <BoundingBox SRS="EPSG:27582"
                        minx="872813" miny="1.90628e+06" maxx="1.03117e+06" maxy="2.16487e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="205" height="30">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=front_alp&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
        </Layer>
        <Layer>
          <Name>CLPA_interpretation</Name>
          <Title>CLPA - interpr.tation des ph.nom.nes pass.s</Title>
          <Abstract>CLPA_interpretation</Abstract>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>linpi_pyr</Name>
            <Title>Pyr.n.es : couloirs</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.758678" miny="42.3228" maxx="2.12019" maxy="43.043" />
            <BoundingBox SRS="EPSG:27582"
                        minx="347094" miny="1.70697e+06" maxx="582071" maxy="1.78227e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="442" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=linpi_pyr&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>zonpi_pyr</Name>
            <Title>Pyr.n.es : zones</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.761567" miny="42.3235" maxx="2.13182" maxy="43.0412" />
            <BoundingBox SRS="EPSG:27582"
                        minx="346850" miny="1.70706e+06" maxx="583032" maxy="1.78207e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="442" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=zonpi_pyr&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>linpi_alp</Name>
            <Title>Alpes : couloirs</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.76569" miny="44.0115" maxx="7.93323" maxy="46.4192" />
            <BoundingBox SRS="EPSG:27582"
                        minx="874761" miny="1.90471e+06" maxx="1.03046e+06" maxy="2.16392e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="442" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=linpi_alp&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="0" opaque="0" cascaded="0">
            <Name>zonpi_alp</Name>
            <Title>Alpes : zones</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.73851" miny="44.0119" maxx="7.93878" maxy="46.4228" />
            <BoundingBox SRS="EPSG:27582"
                        minx="872578" miny="1.90478e+06" maxx="1.03087e+06" maxy="2.16422e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="442" height="105">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/wms/france?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=zonpi_alp&amp;format=image/png&amp;STYLE=default"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
        </Layer>
        <Layer>
          <Name>CLPA_temoignage</Name>
          <Title>CLPA - t.moignages d&#39;avalanches</Title>
          <Abstract>CLPA_temoignage</Abstract>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>lint_pyr</Name>
            <Title>Pyr.n.es : couloirs</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.749145" miny="42.3265" maxx="2.11892" maxy="43.0749" />
            <BoundingBox SRS="EPSG:27582"
                        minx="348013" miny="1.70735e+06" maxx="581968" maxy="1.78582e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>zont_pyr</Name>
            <Title>Pyr.n.es : zones</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.753025" miny="42.3338" maxx="2.13153" maxy="43.0635" />
            <BoundingBox SRS="EPSG:27582"
                        minx="347645" miny="1.70818e+06" maxx="583011" maxy="1.78455e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>Num_emprise_Pyrenees</Name>
            <Title>Pyr.n.es : Num.ro des avalanches</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="-0.753025" miny="42.3338" maxx="2.13153" maxy="43.0635" />
            <BoundingBox SRS="EPSG:27582"
                        minx="347645" miny="1.70818e+06" maxx="583011" maxy="1.78455e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="28.0632852241671" />
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>lint_alp</Name>
            <Title>Alpes : couloirs</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.75036" miny="44.0198" maxx="7.91205" maxy="46.418" />
            <BoundingBox SRS="EPSG:27582"
                        minx="873496" miny="1.90552e+06" maxx="1.02884e+06" maxy="2.16373e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>zont_alp</Name>
            <Title>Alpes : zones</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.74221" miny="44.0212" maxx="7.93987" maxy="46.421" />
            <BoundingBox SRS="EPSG:27582"
                        minx="872829" miny="1.90583e+06" maxx="1.03096e+06" maxy="2.16404e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="0" />
            <!-- WARNING: Only MINSCALEDENOM and no MAXSCALEDENOM specified in the mapfile. A default value of 0 has been returned for the Max ScaleHint but this is probably not what you want. -->
          </Layer>
          <Layer queryable="1" opaque="0" cascaded="0">
            <Name>Num_emprise_Alpes</Name>
            <Title>Alpes : Num.ro des avalanches</Title>
    <!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
            <LatLonBoundingBox minx="5.74221" miny="44.0212" maxx="7.93987" maxy="46.421" />
            <BoundingBox SRS="EPSG:27582"
                        minx="872829" miny="1.90583e+06" maxx="1.03096e+06" maxy="2.16404e+06" />
            <Style>
              <Name>default</Name>
              <Title>default</Title>
              <LegendURL width="394" height="210">
                 <Format>image/png</Format>
                 <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://cartorisque.prim.net/dpt/legende/clpa_temoignage.png"/>
              </LegendURL>
            </Style>
            <ScaleHint min="3.74177136322228" max="28.0632852241671" />
          </Layer>
        </Layer>
      </Layer>
    </Capability>
    </WMT_MS_Capabilities>
    avec proxy
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    GET http://cartorisque.prim.net/wms/france/?REQUEST=GetCapabilities HTTP/1.0
    Accept: */*
    Host: cartorisque.prim.net
    Connection: close
    
    HTTP/1.1 200 OK
    Date: Fri, 04 Sep 2009 04:44:22 GMT
    Server: Apache
    Content-Type: application/vnd.ogc.se_xml
    Via: 1.0 cartorisque.prim.net
    Vary: Accept-Encoding,User-Agent
    Connection: close
    
    <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
    <!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
    <ServiceExceptionReport version="1.1.1">
    <ServiceException code="ServiceNotDefined">
    msWMSDispatch: WMS server error. Required SERVICE parameter missing.
    </ServiceException>
    </ServiceExceptionReport>
    mon proxy oublie la fin de l'url après le &

  5. #5
    Expert confirmé
    Homme Profil pro
    Ingénieur cartographe
    Inscrit en
    Avril 2009
    Messages
    3 173
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur cartographe
    Secteur : Service public

    Informations forums :
    Inscription : Avril 2009
    Messages : 3 173
    Points : 4 224
    Points
    4 224
    Par défaut
    Certes, mais via mon proxy (en Perl) je récupère bien les capabilities, par contre, je maintiens qu'il y a un problème côté service WMS :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>502 Proxy Error</title>
    </head><body>
    <h1>Proxy Error</h1>
    <p>The proxy server received an invalid response from an upstream server.<br />
    The proxy server could not handle the request <em><a href="/wms/france">GET&nbsp;/wms/france</a></em>.<p>
    Reason: <strong>DNS lookup failure for: cartorisque.app.sen.centre-serveur.i2</strong></p></p>
    </body></html>

  6. #6
    Membre chevronné
    Profil pro
    Inscrit en
    Mai 2009
    Messages
    2 124
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2009
    Messages : 2 124
    Points : 1 764
    Points
    1 764
    Par défaut Avec l'aide d'un exemple de GeoTribu
    J'ai très mal adapté un exemple (http://geotribu.net/node/113), mais il charge bien la couche ""Aléa sismique de 2005".
    Au niveau ergonomie, c'est pas top:
    - un premier clic sur la flèche basse de "Wms Layers"
    - chargement
    - possibilité de choix
    - chargement
    - il faut recentrer la carte sur la France

    http://atlasnw.free.fr/geoportail/ge...mboBoxWMS.html

Discussions similaires

  1. Réponses: 1
    Dernier message: 30/01/2008, 16h42
  2. Proxy pour terminal server
    Par ramzi_zi dans le forum Windows
    Réponses: 3
    Dernier message: 29/01/2008, 10h01
  3. Réponses: 7
    Dernier message: 11/12/2007, 03h16
  4. [ISA SERVER 2000] Configurer le proxy pour autoriser les connexions P2P
    Par senator dans le forum Serveurs (Apache, IIS,...)
    Réponses: 2
    Dernier message: 19/01/2007, 10h57
  5. Connexion derrière un proxy pour Firebird ???
    Par .:morgoth:. dans le forum Connexion aux bases de données
    Réponses: 8
    Dernier message: 17/02/2005, 09h32

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo