msWMSLoadGetParams

Alexander Rodriguez Torres atorres at ESTUDIANTES.UCI.CU
Thu Jun 22 11:51:42 PDT 2006


I receive this error when I try load my map

 

msWMSLoadGetMapParams():Invalid SRS given:SRS must be valid for all
request layers

 

Somebody can help me????

 

This is my .map

 

MAP

  NAME "Mapa de la UCI"

  STATUS ON

  EXTENT 9387137.4 805683.77 10119140.81 1507910.77

  SIZE 500 500

  SHAPEPATH "/var/www/localhost/htdocs/MapaPost/data"

  SYMBOLSET "/var/www/localhost/htdocs/MapaPost/etc/symbols.sym"

  FONTSET "/var/www/localhost/htdocs/MapaPost/etc/fonts.txt"

  IMAGETYPE PNG

  IMAGECOLOR 174 183 207

  UNITS METERS

  TEMPLATEPATTERN "UCI"

  WEB

    MINSCALE 259371

    IMAGEPATH "/temp/"

    TEMPLATE mapa.html

    HEADER mapa_header.html

 

    IMAGEURL "/temp/"

     END

  REFERENCE

    STATUS ON

    IMAGE "/var/www/localhost/htdocs/MapaPost/images/keymap.png"

    SIZE 88 69 

    EXTENT 9387137.4 805683.77 10119140.81 1507910.77 

    COLOR -1 -1 -1

    OUTLINECOLOR 255 0 0

    MINBOXSIZE 3

    MAXBOXSIZE 0

    MARKER 0

    MARKERSIZE 0

  END

  QUERYMAP

    STATUS OFF

    SIZE -1 -1 

    COLOR 255 0 0

    STYLE HILITE

  END

  #

  # Start of legend object

  #

  LEGEND

    STATUS ON

    IMAGECOLOR 255 255 255

    POSITION LL

    KEYSIZE 18 12 

    KEYSPACING 5 5 

    TEMPLATE "ttt"

    LABEL

      TYPE BITMAP

      SIZE MEDIUM

      OFFSET 0 0 

      BUFFER 0

      MINDISTANCE -1

      MINFEATURESIZE -1

      COLOR 0 0 89

      PARTIALS TRUE

      FORCE FALSE

    END

  END

  #

  # Start of scalebar object

  #

  SCALEBAR

    STATUS ON

    COLOR 255 255 255

    OUTLINECOLOR 0 0 0

    BACKGROUNDCOLOR 0 0 0

    IMAGECOLOR 255 255 255

    UNITS KILOMETERS

    INTERVALS 5

    SIZE 150 5 

    STYLE 0

    POSITION LL

    LABEL

      TYPE BITMAP

      SIZE SMALL

      OFFSET 0 0 

      BUFFER 0

      MINDISTANCE -1

      MINFEATURESIZE -1

      COLOR 0 0 0

      PARTIALS TRUE

      FORCE TRUE

    END

  END

  #

  # Start of OutputFormat object

  #

  OUTPUTFORMAT

    NAME "png"

    MIMETYPE "image/png"

    DRIVER "GD/PNG"

    EXTENSION "png"

    IMAGEMODE PC256

    TRANSPARENT FALSE

  END

  LAYER

    NAME "Contornos"

    STATUS ON

    CONNECTIONTYPE POSTGIS

    CONNECTION "user=postgres dbname=siguci host=localhost"

    CLASSITEM "the_geom"

    DATA "the_geom from contornos"

    TYPE POLYGON    

    CLASS

      NAME "contornos"

      TEMPLATE ""

      STYLE

        SYMBOL 0

        COLOR 0 128 0

        OUTLINECOLOR 0 0 0

      END

   

 

    END

  END

  LAYER

    NAME "Viales"

    STATUS ON

    CONNECTIONTYPE POSTGIS

    CONNECTION "user=postgres dbname=siguci host=localhost"

    CLASSITEM "the_geom"

    DATA "the_geom from viales"

    TYPE LINE    

    CLASS

      NAME "viales"

      TEMPLATE ""

      STYLE

        SYMBOL 0

        COLOR 255 0 0

        OUTLINECOLOR 0 0 0

      END

    END

  END

  LAYER

    NAME "Areas deportivas"

    STATUS ON

    CONNECTIONTYPE POSTGIS

    CONNECTION "user=postgres dbname=siguci host=localhost"

    CLASSITEM "the_geom"

    DATA "the_geom from areasdeportivas"

    TYPE POLYGON

    CLASS

      NAME "areasdeportivas"

      TEMPLATE "deportivas.html"

      STYLE

        SYMBOL 0

        COLOR 255 255 0

        OUTLINECOLOR 0 0 0

      END

    END

    #HEADER "deportivas_header.html"

 

  END

  LAYER

    NAME "Separadores"

    STATUS ON

    CONNECTIONTYPE POSTGIS

    CONNECTION "user=postgres dbname=siguci host=localhost"

    CLASSITEM "the_geom"

    DATA "the_geom from separadores"

    TYPE POLYGON

    CLASS

      NAME "separadores"

      TEMPLATE ""

      STYLE

        SYMBOL 0

        COLOR 0 128 0

        OUTLINECOLOR 0 0 0

      END

    END

  END

  LAYER

    NAME "Manzanas"

    STATUS ON

    CONNECTIONTYPE POSTGIS

    CONNECTION "user=postgres dbname=siguci host=localhost"

    CLASSITEM "the_geom"

    DATA "the_geom from manzanas"

    TYPE POLYGON

    CLASS

      NAME "manzanas"

      TEMPLATE "manzanas.html"

      STYLE

        SYMBOL 0

        COLOR 255 232 208

        OUTLINECOLOR 0 0 0

      END

    END

    #HEADER "manzanas_header.html"

   # FOOTER "manzanas_footer.html"

 

  END

  LAYER

    NAME "Edificios"

    STATUS ON

    CONNECTIONTYPE POSTGIS

    CONNECTION "user=postgres dbname=siguci host=localhost"

    CLASSITEM "the_geom"

    DATA "the_geom from edificios"

    TYPE POLYGON

    CLASS

      NAME "edificios"

      TEMPLATE "edificios.html"

      STYLE

        SYMBOL 0

        COLOR 192 192 192

        OUTLINECOLOR 0 0 0

      END

    END

    #HEADER "edificios_header.html"

    #FOOTER "edificios_footer.html"

 

  END

END

 

--

Ing. Alexander Rodriguez Torres.

 Universidad de las Ciencias Informaticas.

  E-Mail:atorres at estudiantes.uci.cu

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060622/99ad26ff/attachment.htm>


More information about the MapServer-users mailing list