OpenSeaMap Forum

New registrations / Neue Registrierungen

Please create and activate an account. Afterwards send an email to forum@openseamap.eu including a short message and your username to get write access to this forum. Thanks!

Bitte erstelle einen neuen Account und schalte ihn frei. Anschließend sende eine kurze Mail mit deinem Nutzernamen an forum@openseamap.eu um Schreibzugriff für dieses Forum zu bekommen. Danke!

Maintenance window / Wartungsfenster

This server undergoes periodic maintenance and will be unavailable for a few minutes between 00:00 UTC and 01:30 UTC at the first day of the month. New posts during that time could potentially be lost.

Dieser Server wird regelmäßig gewartet und ist deshalb für einige Minuten zwischen 00:00 UTC und 01:30 UTC am Monatsanfang nicht erreichbar. Es kann sein, dass in dieser Zeit erstellte Beiträge verloren gehen.

You are not logged in.

#1 2016-05-23 11:55:14

pieri70
Member
Registered: 2016-05-23
Posts: 4

How to access Tile-server as WMS service to load in a project

Hello
As I wrote on my presentation topic I'm working on the implementation of a webgis on fisheries for Adriatic Sea.
The site is under development and this is the temporary url

It is open to public and will have all data available via WMS/WFS services.

I'm trying to load the openseamap/seamarks via Tile-server

This is the code I'm trying to use for gdal TMS service

<GDAL_WMS>
    <Service name="TMS">
        <ServerUrl>http://t1.openseamap.org/seamark/${z}/${x}/${y}.png</ServerUrl>
    </Service>
    <DataWindow>
        <UpperLeftX>953500</UpperLeftX>
        <UpperLeftY>5767999</UpperLeftY>
        <LowerRightX>2618500</LowerRightX>
        <LowerRightY>4801900</LowerRightY>
        <TileLevel>18</TileLevel>
        <TileCountX>1</TileCountX>
        <TileCountY>1</TileCountY>
        <YOrigin>bottom</YOrigin>
    </DataWindow>
    <Projection>EPSG:3857</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <BandsCount>3</BandsCount>
    <Cache />
</GDAL_WMS>

It doesn't work, do you now if it's correct or if there are any kind of restriction?

Thanks in advance
Bye
Pietro

Last edited by pieri70 (2016-05-23 12:12:38)

Offline

#2 2016-05-24 11:07:45

pieri70
Member
Registered: 2016-05-23
Posts: 4

Re: How to access Tile-server as WMS service to load in a project

Hello
I solved my problem
It was a proxy problem on my laptop where I create maps to be published with Qgis.
In windows you must set in so GDAL can pass request via proxy.

I added a user environmental variable with name = http_proxy
and value
http://domain\user:password@url_without_http:port/

Now the seamarks service works!
Thanks

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman