+ Reply to Thread
Results 1 to 5 of 5

Thread: Downloading from WMS server that doesn't support EPSG:4326

  1. #1
    czietz is offline Global Mapper User
    Join Date
    Mar 2008
    Posts
    32
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default Downloading from WMS server that doesn't support EPSG:4326

    Hi,

    I'd like to download data from a WMS server that doesn't support EPSG:4326 as SRS. (This fact is also stated in the answer to the GetCapabilities request.) Is there a way to tell GM (v.10 or v.11) to use another SRS for the GetMap request?

    Christian

  2. #2
    global_mapper is offline Administrator
    Join Date
    Jun 2007
    Posts
    7,236
    Thanks
    2
    Thanked 611 Times in 594 Posts

    Default

    Christian,

    What you can do is add the desired EPSG code to the service name when adding the service, like 'WMS&SRS=EPSG:4326' (use the desired EPSG code of course). If that doesn't work, let me know what EPSG code the server is using as it's possible GM simply doesn't recognize that EPSG code yet, but I can add it (actually you can add it as well to the epsg_codes.txt file, but I'd rather just build it in so others can use it).

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com

  3. #3
    czietz is offline Global Mapper User
    Join Date
    Mar 2008
    Posts
    32
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Unfortunately, adding the desired SRS to the service name doesn't change anything. I still get an error message saying

    Error downloading WMS data tile
    freezoneogc/mapserverogc?VERSION=1.1.1&SERVICE=WMS&REQUEST=Get Map&LAYERS=TK100&FORMAT=image/png&STYLES=&SRS=EPSG:4326&BBOX=9.580146969,52.5370 120487,9.6387639081,52.5956289878&WIDTH=512&HEIGHT =512


    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ServiceExceptionReport SYSTEM "http://www.mapserver.niedersachsen.de/exception_1_1_1.dtd">
    <ServiceExceptionReport version="1.1.1">
    <ServiceException code="InvalidSRS">Request contains an SRS not offered by the service instance for one or more of the Layers.</ServiceException>
    </ServiceExceptionReport>
    The WMS server address in question is http://www.mapserver.niedersachsen.d...c/mapserverogc. It supports EPSG:31467.

  4. #4
    global_mapper is offline Administrator
    Join Date
    Jun 2007
    Posts
    7,236
    Thanks
    2
    Thanked 611 Times in 594 Posts

    Default

    What version of GM are you using? When I created a new source with the service name set to 'WMS&SRS=EPSG:31467' that SRS is used rather than 4326.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com

  5. #5
    czietz is offline Global Mapper User
    Join Date
    Mar 2008
    Posts
    32
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Strange, it works now after I deleted the WMS source and added it again. Maybe I did something wrong the first time while setting the service name.

    Anyway, thank you, Mike.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts