Trying to add a custom layer WMS

kxmlab's Avatar

kxmlab

12 Aug, 2019 07:57 PM

Hi there,

I'd like to display maps from the French Government online tool "Geoportail" into SARTopo.

I subscribed to their "Geoservice" WMS resource and was given the following URL:

https://wxs.ign.fr/7z6dl8qn42oreb98ru9mpbxp/geoportail/r/wms?

and tried this one as well:

http://wxs.ign.fr/7z6dl8qn42oreb98ru9mpbxp/geoportail/r/wms?SERVICE...

Nothing happens when I create the layer.

Could you tell me if I'm missing something?

Thanks,
Kevin

  1. Support Staff 1 Posted by rmarcucci on 13 Aug, 2019 02:33 PM

    rmarcucci's Avatar

    Hi Kevin,

    I've forwarded this along to our developer as I'm not sure whats going on here. He's unavailable currently and will likely get back to you in a few days.

    Thank you for reaching out,
    Rom

  2. Support Staff 2 Posted by matt on 15 Aug, 2019 09:52 PM

    matt's Avatar

    Neither of those URLs are what you would enter directly into the URL template field, but the first should work if you put it in the "auto-configure URL" box and click GO, and loading the second directly in a browser should give you an XML file listing the available layers etc.

    However I can't load either of those URLs in my browser - it just waits endlessly without a response. I'd need valid URLs that will actually load without being signed into a particular website in order to provide additional help.

  3. 3 Posted by kxmlab on 19 Aug, 2019 07:10 PM

    kxmlab's Avatar

    Hi Matt,

    Thanks a lot for your quick response!

    The URLs I'm trying to use are provided on my Geoportail/IGN account.

    When I load
    http://wxs.ign.fr/7z6dl8qn42oreb98ru9mpbxp/geoportail/r/wms?SERVICE...
    <http://wxs.ign.fr/7z6dl8qn42oreb98ru9mpbxp/geoportail/r/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities>
    in my browser, without being logged into the website, I do see an XML File,
    which I have saved and attached to this email.

    Besides that, the website requires me to choose one "securing" method:

    - HTTP referer, the one i've been trying to use, with the URL "sartopo.com"
    - IP
    - Login/Password (using an HTTPS referer)
    - User-Agent

    I've also attached a screenshot of this page, in French however.

    Hopefully, all this will help you figure out what's wrong.

    Best,
    Kevin

  4. Support Staff 4 Posted by matt on 20 Aug, 2019 04:24 AM

    matt's Avatar

    For various technical reasons, custom tiles are actually routed through the SARTopo server rather than directly requested by your browser, which is why the referer isn't working.

    The SARTopo user-agent is currently "SARTopo//Linux", although that will be changed in the near future to at least remove the second /, and possibly drop the "Linux" OS suffix.

    You should also be able to specify the sartopo.com IP address, it changes very infrequently.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac