[ka-Map-users] Problem WMS SIGPAC IN MAPSERVER

Antonio Garcia angarben at hotmail.com
Tue Sep 25 12:42:21 EDT 2007


Hello, I would like create a new wms service.

My new WMS service is SIGPAC (spain)

I don't understand why can't see it.

My mapserver configuration in kamap is:

    #--------------------------------------------------
    LAYER
      NAME "WMSSIGPAC"
      TYPE RASTER
      STATUS ON
      CONNECTION "http://195.235.91.59/wms/wms.aspx?"
      CONNECTIONTYPE WMS
      GROUP  WMSSIGPAC

      METADATA
#        "wms_srs" "EPSG:23030 EPSG:23031 EPSG:23029"
        "wms_srs" "EPSG:23030"
        "wms_name" "Ortofotos (SIGPAC-FEGA)"
        "wms_server_version" "1.1.0"
        "wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp"
        "wms_format" "image/jpeg"
      END
    END

In this case, the sometimes the image is OK, in other cases I only have got 
a write image with the text WMS SIGPAC.

I don't understand why it is? And I don't know how can I tell the 
"ORTOFOTOS" from the map "TOPOGRAFICOS". How can I obtein only one of this 
maps.

When I do a getcapabilities

http://195.235.91.59/wms/wms.aspx?request=getcapabilities
I obtain:


<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM 
"http://schemas.opengis.net/wms/1.1.0/capabilities_1_1_0.dtd"[<!ELEMENT 
VendorSpecificCapabilities EMPTY>]>
<WMT_MS_Capabilities version="1.1.0"><Service>
  <!-- The WMT-defined name for this type of service -->
  <Name>OGC:WMS</Name>
  <!-- Human-readable title for pick lists -->
  <Title>SIGPAC Web Map Service</Title>
  <!-- Narrative description providing additional information -->
  <Abstract>
      Ortofoto utilizada en el proyecto SIGPAC.
    </Abstract>
  <KeywordList>
    <Keyword>WMS</Keyword>
    <Keyword>CARTOGRAFIA</Keyword>
    <Keyword>FEGA</Keyword>
    <Keyword>SIGPAC</Keyword>
    <Keyword>ORTOFOTO</Keyword>
  </KeywordList>
  <!-- Contact information -->
  <ContactInformation>
    <ContactPersonPrimary>
      <ContactPerson>&gt;CAU SIGPAC</ContactPerson>
      <ContactOrganization>FEGA</ContactOrganization>
    </ContactPersonPrimary>
    <ContactPosition></ContactPosition>
    <ContactAddress>
      <AddressType></AddressType>
      <Address></Address>
      <City></City>
      <StateOrProvince></StateOrProvince>
      <PostCode></PostCode>
      <Country></Country>
    </ContactAddress>
    <ContactVoiceTelephone></ContactVoiceTelephone>
    <ContactFacsimileTelephone></ContactFacsimileTelephone>
    
<ContactElectronicMailAddress>cau-sigpac at tragsatec.es</ContactElectronicMailAddress>
  </ContactInformation>
  <!-- Fees or access constraints imposed. -->
  <Fees>Acceso gratuito.</Fees>
  <AccessConstraints>Acceso libre, pero se prohibe la descarga masiva de 
porciones de cartografía.</AccessConstraints>
</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://wms.mapa.es/wms/wms.aspx?" 
/></Get></HTTP></DCPType></GetCapabilities><GetMap>

<Format>image/jpeg</Format><Format>image/png</Format>

<DCPType><HTTP><Get><OnlineResource 
xmlns:xlink="http://www.w3.org/1999/xlink" 
xlink:href="http://wms.mapa.es/wms/wms.aspx?" 
/></Get></HTTP></DCPType></GetMap><GetFeatureInfo><Format>text/html</Format><DCPType><HTTP><Get><OnlineResource 
xmlns:xlink="http://www.w3.org/1999/xlink" 
xlink:href="http://wms.mapa.es/wms/wms.aspx?" 
/></Get></HTTP></DCPType></GetFeatureInfo><DescribeLayer><Format>text/xml</Format><DCPType><HTTP><Get><OnlineResource 
xmlns:xlink="http://www.w3.org/1999/xlink" 
xlink:href="http://wms.mapa.es/wms/wms.aspx?" 
/></Get></HTTP></DCPType></DescribeLayer></Request><Exception><Format>application/vnd.ogc.se_inimage</Format><Format>application/vnd.ogc.se_xml</Format></Exception><Layer><Title>Sigpac</Title>

<SRS>EPSG:4230 EPSG:32627 EPSG:32628 EPSG:23029 EPSG:23030 EPSG:23031</SRS>

<LatLonBoundingBox minx="-23.5731" miny="27.3529" maxx="9.7356" 
maxy="44.0073" /><BoundingBox SRS="EPSG:4230" minx="-18.1599408036435" 
miny="27.6360071159009" maxx="4.32776042909982" maxy="43.7928835793813" 
/><BoundingBox SRS="EPSG:32627" minx="770000" miny="3000000" maxx="2700000" 
maxy="5000000" /><BoundingBox SRS="EPSG:32628" minx="180000" miny="3000000" 
maxx="2170000" maxy="5000000" /><BoundingBox SRS="EPSG:23029" 
minx="-405884.36" miny="3090700.81" maxx="1572649.05" maxy="4936103.31" 
/><BoundingBox SRS="EPSG:23030" minx="-1005624.64885121" 
miny="3150745.30280532" maxx="1089630.52914165" maxy="4875124.92126049" 
/><BoundingBox SRS="EPSG:23031" minx="-1614793.32" miny="3243605.14" 
maxx="606826.98" maxy="4849814.46" />

<Layer queryable="0" opaque="1" noSubsets="0"><Name>TOPOGRAFICOS</Name>
<Title>Topograficos</Title></Layer>

<Layer queryable="0" opaque="1" noSubsets="0"><Name>ORTOFOTOS</Name>
<Title>Ortofotos</Title></Layer></Layer>

</Capability></WMT_MS_Capabilities>

Saludos,
-----------
Antonio García Benlloch

Correo:
angarben at hotmail.com
angarben at topo.upv.es

Web:
http://personales.alumno.upv.es/~angarben

_________________________________________________________________
Moda para esta temporada. Ponte al día de todas las tendencias. 
http://www.msn.es/Mujer/moda/default.asp



More information about the ka-Map-users mailing list