Thanks for your replies, i have overseen the changed axis order. It now works 
for my requests.
Regards,
Andre

-----Ursprüngliche Nachricht-----
Von: [email protected] 
[mailto:[email protected]] Im Auftrag von 
[email protected]
Gesendet: Montag, 29. April 2013 21:00
An: [email protected]
Betreff: mapserver-users Digest, Vol 63, Issue 52

Send mapserver-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of mapserver-users digest..."


Today's Topics:

   1. wms works with version 1.1.1 but not with 1.3.0
      ([email protected])
   2. Re: wms works with version 1.1.1 but not with     1.3.0
      (thomas bonfort)
   3. Re: wms works with version 1.1.1 but not with     1.3.0
      (Daniel Morissette)


----------------------------------------------------------------------

Message: 1
Date: Mon, 29 Apr 2013 14:43:24 +0200
From: <[email protected]>
To: <[email protected]>
Subject: [mapserver-users] wms works with version 1.1.1 but not with
        1.3.0
Message-ID:
        <40c03b3c6de65d4bb3788607b070cfeb0292a...@lunggue03.lung.lm.mvnet.de>
Content-Type: text/plain;       charset="iso-8859-1"

Hello,

I am trying to set up a wms server with one layer. Mapserver version is 5.6.1.

A getmap-request asking for Version 1.1.1 or 1.1.0 returns an image containing 
the information(lines) of the layer, including scale bar and legend. When i use 
a getmap-request for version 1.3.0 it returns a white image and the scale bar 
an legend but no error. I cannot find any error in my mapfile, but i am sure, 
there is one. Can anyone help me with finding my fault.

Thanks a lot,
regards,
Andre

+++Mapfile starts+++
MAP
  NAME Lawa
  Size 600 300
  EXTENT 5 47 15 55
  #IMAGECOLOR 123 123 255
  
  PROJECTION
   "init=epsg:4326"
  END
  
  SYMBOLSET './symbols/symbols.sym'
  SCALEBAR
    STATUS EMBED
    UNITS kilometers
    INTERVALS 3
    TRANSPARENT TRUE
    OUTLINECOLOR 0 0 0
    POSITION UR
  END

  LEGEND
    STATUS EMBED
    POSITION LR
    TRANSPARENT TRUE
  END
  
  OUTPUTFORMAT
    NAME "jpg"
    DRIVER AGG/jpeg
    MIMETYPE "image/jpg"
    IMAGEMODE RGB
    EXTENSION "jpg"
  END
  
  UNITS DD
  
  WEB
    IMAGEPATH '/tmp/'

    # Set IMAGEURL to the url that points to IMAGEPATH
    # as defined in your web server configuration
    IMAGEURL '/tmp/'

    # WMS server settings
      METADATA
        "wms_title" "LAWA-Typen-WMS-Server MV"
        "wms_onlineresource" 
"http://www.fis-wasser-mv.de/cgi-bin/mapserv?map=/home/fgsk/mapserver/LAWA/lawa-wms2.map&";
        "wms_srs" "EPSG:4326"
      END
  END

  LAYER
    NAME 'Lawa-Typen'
    EXTENT 5 47 15 55
    TYPE LINE
    STATUS DEFAULT
    INCLUDE "dbconnection.include"
    DATA "the_geom from (Select gid, the_geom, ty_cd_rw, rwb_name FROM 
raw.rwbody_wk_de) as FOO USING UNIQUE gid USING srid=4326"
    METADATA
      "wms_title" "LAWA-Typen"
      "wms_srs" "EPSG:4326"
      "wms_format" "image/jpg"
    END
    PROJECTION
      "init=epsg:4326"
    END
    #MINSCALEDENOM 1000
    #MAXSCALEDENOM 1000000000
    CLASS
      STYLE
        COLOR 0 0 0
      END
    END
  END
END

+++Mapfile ends+++


------------------------------

Message: 2
Date: Mon, 29 Apr 2013 15:02:03 +0200
From: thomas bonfort <[email protected]>
To: [email protected]
Cc: MapserverList OSGEO <[email protected]>
Subject: Re: [mapserver-users] wms works with version 1.1.1 but not
        with    1.3.0
Message-ID:
        <CAOM3y2hJ=bfvi+ihu1-oyyftt3wepr4t7vsdh7tsoiftekh...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Are you inverting the axis order in your BBOX= param for the wms 1.3.0 requests 
(needed if you're requesting in epsg:4326) ?

--
thomas


On 29 April 2013 14:43, <[email protected]> wrote:

> Hello,
>
> I am trying to set up a wms server with one layer. Mapserver version 
> is 5.6.1.
>
> A getmap-request asking for Version 1.1.1 or 1.1.0 returns an image 
> containing the information(lines) of the layer, including scale bar 
> and legend. When i use a getmap-request for version 1.3.0 it returns a 
> white image and the scale bar an legend but no error. I cannot find 
> any error in my mapfile, but i am sure, there is one. Can anyone help 
> me with finding my fault.
>
> Thanks a lot,
> regards,
> Andre
>
> +++Mapfile starts+++
> MAP
>   NAME Lawa
>   Size 600 300
>   EXTENT 5 47 15 55
>   #IMAGECOLOR 123 123 255
>
>   PROJECTION
>    "init=epsg:4326"
>   END
>
>   SYMBOLSET './symbols/symbols.sym'
>   SCALEBAR
>     STATUS EMBED
>     UNITS kilometers
>     INTERVALS 3
>     TRANSPARENT TRUE
>     OUTLINECOLOR 0 0 0
>     POSITION UR
>   END
>
>   LEGEND
>     STATUS EMBED
>     POSITION LR
>     TRANSPARENT TRUE
>   END
>
>   OUTPUTFORMAT
>     NAME "jpg"
>     DRIVER AGG/jpeg
>     MIMETYPE "image/jpg"
>     IMAGEMODE RGB
>     EXTENSION "jpg"
>   END
>
>   UNITS DD
>
>   WEB
>     IMAGEPATH '/tmp/'
>
>     # Set IMAGEURL to the url that points to IMAGEPATH
>     # as defined in your web server configuration
>     IMAGEURL '/tmp/'
>
>     # WMS server settings
>       METADATA
>         "wms_title" "LAWA-Typen-WMS-Server MV"
>         "wms_onlineresource" "
> http://www.fis-wasser-mv.de/cgi-bin/mapserv?map=/home/fgsk/mapserver/L
> AWA/lawa-wms2.map&
> "
>         "wms_srs" "EPSG:4326"
>       END
>   END
>
>   LAYER
>     NAME 'Lawa-Typen'
>     EXTENT 5 47 15 55
>     TYPE LINE
>     STATUS DEFAULT
>     INCLUDE "dbconnection.include"
>     DATA "the_geom from (Select gid, the_geom, ty_cd_rw, rwb_name FROM
> raw.rwbody_wk_de) as FOO USING UNIQUE gid USING srid=4326"
>     METADATA
>       "wms_title" "LAWA-Typen"
>       "wms_srs" "EPSG:4326"
>       "wms_format" "image/jpg"
>     END
>     PROJECTION
>       "init=epsg:4326"
>     END
>     #MINSCALEDENOM 1000
>     #MAXSCALEDENOM 1000000000
>     CLASS
>       STYLE
>         COLOR 0 0 0
>       END
>     END
>   END
> END
>
> +++Mapfile ends+++
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130429/141d2b45/attachment-0001.html>

------------------------------

Message: 3
Date: Mon, 29 Apr 2013 09:27:08 -0400
From: Daniel Morissette <[email protected]>
To: [email protected]
Subject: Re: [mapserver-users] wms works with version 1.1.1 but not
        with    1.3.0
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

And for a longer explanation about this axis order difference between WMS 1.1.1 
and 1.3.0 as well as some examples to help understand it, see:

http://dmorissette.blogspot.ca/2012/12/dont-upgrade-to-wms-130-unless-you.html



On 13-04-29 9:02 AM, thomas bonfort wrote:
> Are you inverting the axis order in your BBOX= param for the wms 1.3.0 
> requests (needed if you're requesting in epsg:4326) ?
>
> --
> thomas
>
>
> On 29 April 2013 14:43, <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hello,
>
>     I am trying to set up a wms server with one layer. Mapserver version
>     is 5.6.1.
>
>     A getmap-request asking for Version 1.1.1 or 1.1.0 returns an image
>     containing the information(lines) of the layer, including scale bar
>     and legend. When i use a getmap-request for version 1.3.0 it returns
>     a white image and the scale bar an legend but no error. I cannot
>     find any error in my mapfile, but i am sure, there is one. Can
>     anyone help me with finding my fault.
>
>     Thanks a lot,
>     regards,
>     Andre
>
>     +++Mapfile starts+++
>     MAP
>        NAME Lawa
>        Size 600 300
>        EXTENT 5 47 15 55
>        #IMAGECOLOR 123 123 255
>
>        PROJECTION
>         "init=epsg:4326"
>        END
>
>        SYMBOLSET './symbols/symbols.sym'
>        SCALEBAR
>          STATUS EMBED
>          UNITS kilometers
>          INTERVALS 3
>          TRANSPARENT TRUE
>          OUTLINECOLOR 0 0 0
>          POSITION UR
>        END
>
>        LEGEND
>          STATUS EMBED
>          POSITION LR
>          TRANSPARENT TRUE
>        END
>
>        OUTPUTFORMAT
>          NAME "jpg"
>          DRIVER AGG/jpeg
>          MIMETYPE "image/jpg"
>          IMAGEMODE RGB
>          EXTENSION "jpg"
>        END
>
>        UNITS DD
>
>        WEB
>          IMAGEPATH '/tmp/'
>
>          # Set IMAGEURL to the url that points to IMAGEPATH
>          # as defined in your web server configuration
>          IMAGEURL '/tmp/'
>
>          # WMS server settings
>            METADATA
>              "wms_title" "LAWA-Typen-WMS-Server MV"
>              "wms_onlineresource"
>     
> "http://www.fis-wasser-mv.de/cgi-bin/mapserv?map=/home/fgsk/mapserver/LAWA/lawa-wms2.map&";
>              "wms_srs" "EPSG:4326"
>            END
>        END
>
>        LAYER
>          NAME 'Lawa-Typen'
>          EXTENT 5 47 15 55
>          TYPE LINE
>          STATUS DEFAULT
>          INCLUDE "dbconnection.include"
>          DATA "the_geom from (Select gid, the_geom, ty_cd_rw, rwb_name
>     FROM raw.rwbody_wk_de) as FOO USING UNIQUE gid USING srid=4326"
>          METADATA
>            "wms_title" "LAWA-Typen"
>            "wms_srs" "EPSG:4326"
>            "wms_format" "image/jpg"
>          END
>          PROJECTION
>            "init=epsg:4326"
>          END
>          #MINSCALEDENOM 1000
>          #MAXSCALEDENOM 1000000000
>          CLASS
>            STYLE
>              COLOR 0 0 0
>            END
>          END
>        END
>     END
>
>     +++Mapfile ends+++
>     _______________________________________________
>     mapserver-users mailing list
>     [email protected] <mailto:[email protected]>
>     http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


--
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



------------------------------

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


End of mapserver-users Digest, Vol 63, Issue 52
***********************************************
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to