This object is in archive! 

Support for WMTS servers

Menion shared this idea 12 years ago
Completed

Few interesting servers offer data only by WMTS protocol. This is still missing in locus. Nice example are these Swiss maps http://demo.geo.admin.ch/main/wsgi/do... and for sure, there will be more

Replies (19)

photo
2

Hi Menion:


Recently we lost the swiss topo maps that the Map Tweak allowed us to use in Locus. This has been on key usage of my preferred offline/online map system. Is there any chance that the approach described above would allow getting the maps.geoadmin.ch maps on Locus?


Thanks.


JP

photo
2

Belgian topo maps seem also to be available als a free WMTS service... anyway way to get them in locus?

(see http://ngi.be/NL/NL1-19-1.shtm for more information)

photo
1

I'd also like to see Locus Pro support WMTS. Several services I would like access to are only in WMTS format and not WMS. Also, I'd like to explore being able to download/cache from a WMTS. Has there been any progress on this front?

photo
1

Currently not, sorry.

photo
1

This would definitely be a useful addition. Opens up a wide range of maps and charts from Land Information New Zealand. I know NZTopo is already available in Locus by default but the nautical charts (plus others) could also be available through the WMTS service.

photo
1

Good day Nev P. and others, WMTS is already partially supported inside Locus for internal usage. If you have links to some freely available WMTS maps, that you think, may be usable for more users, let me know here and I'll check if they may be added into list of "Online maps" in Locus.

Public access to "WMTS feature" (usage of WMTS same as is possible to use WMS now) in Locus Map is still not possible and currently not planned, sorry.

photo
1

Hi Menion


There is a significant amount of freely available mapping and imagery data for New Zealand provided by LINZ Data Service (https://data.linz.govt.nz/). It does require a free registration to obtain an API key to gain access to the web services.


Some useful examples are;

NZ Aerial Imagery (This is a mosaic made up of all aerial imagery layers. Individual layers can also be accessed via WMTS or WMS):

https://data.linz.govt.nz/set/2-nz-aerial-imagery/webservices/ (WMTS only)


NZ Topo Maps (mainland and offshore islands at scales from 1:25,000 to 1:250,000):

https://data.linz.govt.nz/data/category/topographic/maps/ (WMTS or WMS)


NZ Nautical Charts (there are over 300 individual layers that each contain a single chart sheet):

https://data.linz.govt.nz/data/category/hydrographic-maritime/chart-images/ (WMTS or WMS)


Note that it appears that LINZ are deprecating the use of WMS (http://www.linz.govt.nz/data/linz-data-service/guides-and-documentation/which-web-service-should-i-use).

photo
1

Hi Nev P


Did you get the NZ nautical charts to work with Locus, I bought the pro version to try and set them up from LINZ as a WMS source without success. Also tried a kml export which Locus does not appear to like either. Any other options out there to convert to a suitable format?


Would be great if they could be added as an online source.

photo
1

Well, adding the official Belgian topographic maps would make a lot of people here very happy...but I'm sure that's something that applies to many regions ;-) I read about adding them in your 2016 new year wishes, so this might be planned for already...

Fwiw, you can find the particular specs for the belgian WMTS-service here:

http://www.ngi.be/cartoweb/cartoweb_specificatie.pdf (unfortunately only in dutch & french, but i might try to support you with translating)

& http://www.ngi.be/cartoweb/1.0.0/WMTSCapabilities.xml


---


What do you mean with "Public access to 'WMTS feature'", I'm not quite following here... is that like adding WMTS-sources by providing a set of default parameters?


---


Nevertheless a happy Locus camper/hiker/offroader/... :-)

photo
1

Yes, we are currently working on adding BKG Topo maps, so hope they may be available soon.


By "public access" I've improved my answer above, hope it's better. Thanks for "Carto - TOPO" maps, I'll forward them to Petr, who take care about everything around maps.

photo
1

I can say that we're somewhere in the middle of negotiation with IGN Belgium about possibility to use Cartoweb Topo maps in Locus. It should be possible to offer online subscription (with possibility of temporary caching). But we'd like to offer full offline downloading and that seems to be quite tricky. So please be patient but it is on good way

photo
1

Tnx for the status update!

photo
1

Here you will find the specifications and registration for Swedish topo maps under CCBY licence. Please add support for this. You will be the only app for this, an opportunity for increased business in Sweden. The Swedish maps was released as open data this year and I know that a mobile app for these maps will be a gamechanger. Here's the link: https://opendata.lantmateriet.se/#apis

photo
1

Hi! Could you also add support for some Polish WMTS maps? I'm especially interested in getting "ISOK - Cieniowanie" in Locus but as there are more map types, you could add all at once. Here are URLs of them: http://www.geoportal.gov.pl/uslugi/usluga-przegladania-wmts

photo
1

Hi

The same is avileble in Sweden but only in WMTS and not in WMS.

https://kso.etjanster.lantmateriet.se/#

photo
1

Thankyou for adding

  • Swedish Lansstyrelsernas maps
  • I`m greatfull for the respons.

photo
1

Regarding this:

Is there a HowTo something to bring a WMTS provided Map into a custom providers.xml (bring the WMTS Maps into Locus by hand)?

For me this would be sufficient to handle WMTS for now ;-)

photo
1

Locus can display WMTS maps but there isn't any provider.xml definition file for WMTS. All WMTS maps in Locus are defined directly in the app and it's not possible to add custom WMTS service into Locus at this moment (as written above). Maybe later but there isn't any final decision.

Thanks for understanding

photo
1

Then I really support the idea to add custom WMTS Services. Here in Vienna/Austria many different Open-Data Sets are just provided via WMTS (and not WMS). I'd like to have some of them viewable in Locus - but I am quite certain, that these are not of any general interest (like historic city maps and stuff like that).

photo
1

I see, however feel free to post here some WMTS URL, that could be interesting for other Locus user. Especially TOPO maps, outdoor maps, etc... We'll try to add them into Locus (if will be possible)

Thank you

photo
2

Is it possible to add?


http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/ISOK_CIEN

photo
3

Is it possible to add Geoprtal maps as a layer?


http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/ISOK_CIEN

photo
1

Dear Pawel,


we've already tried to find out more about mentioned service but we struggle with terms of use. I'll email you PM.

Thank you

Petr

photo
1

Thanks for working on that. Here's Terms and Conditions: http://www.geoportal.gov.pl/regulamin. Unfortunately even on the English version of the website, the T&C are written in Polish. I'm thinking about writing an email to Head Office of Geodesy and Cartography, who provide the map, if they could post an English version of that. If not, we could try to help translating it.

photo
1

@Hallgeir Gjesdal


Thank you for links. I've checked the maps and it seems that we can use them in Locus app. We'll try to add them into Locus in next versions.


@Piotr

Thank you. I'll send you more details into PM.

photo
1

Great news! Thanks a million!

photo
1

Any news abut Geoportal issue?

photo
1

Dear Pawel,


I can remember that I contacted again the administrators of Geoportal.gov to get more info but I didn't receive any response :/

I'm sorry but we don't want to risk any problems. I'll try to send new reminder.

Thank you

Petr

photo
2

Hi there! Did the administrators of Geoportal responded to your question? If not I can contact them for you. Locus will be a lot more functional for me with WMTS Isok Cieniowanie layer :)

photo
2

Is there anything new with this issue? Ability to add ISOK layer to Locus from geoportal.gov.pl would be of enormous value.

photo
1

ISOK layer in Locus would significantly improve our field work.

What we have to do to push this issue forward?

We need this as fresh air :)

http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/ISOK_CIEN

photo
1

Hi,

well there is complication with terms of use. We have the response from geoportal.gov about terms of use for mentioned WMTS services but the response is quite unclear. I already tried to ask them for detailed explanation, but without any response. @Pavel (above in this discussion) helped me to and send new request in Polish but I guess that he also didn't receive any useful explanation.@Pavel do you have any response, please?

thanks

photo
1

We can try again. Those government-run agencies need to be nagged on permanent basis. Otherwise they always seem to be too busy to reply, which is also their job. We can send them a new request and ask for clarification and monitor for reply, If only we knew what to ask for:)

photo
1

Hi!

I tried to contact Mr. Bujnowski but yet I received no answer. Maybe he's not working for geoportal administracy anymore. I think that the best solution would be to contact somebody else and wait for their responce.

photo
1

"well there is complication with terms of use. We have the response from geoportal.gov about terms of use for mentioned WMTS services but the response is quite unclear. I already tried to ask them for detailed explanation, but without any response."


Whatever is not forbidden, is allowed. Anyway you can add Geoportal's layers and remove in case of Geoportal's request, if they find a legal basis for this.

photo
1

Hi,

@PawelS well but the problem is, that we don't exactly know what is and what isn't allowed, I can send you the official statement.

@Pawel Could I ask you for another try, please? I found these two official adresses: dyr.generalny@gugik.gov.pl SekretariatGGK@gugik.gov.pl Would you please try to re-send again the request for clarification of their statement on these addresses?

Thank you!

photo
2

Well, if Pawel could give it another try that would be nice. Frankly, I also thought about talking you into adding Geoportal WMTS layer to Locus. If they do not clearly and specifically forbid the usage of their data, which is freely available online anyway, then in good faith it could be assumed that it is allowed. It can always be disabled if they find it abusive, at least untill the matter is clearly sorted out.

photo
1

Hi


Petr, please send me the official statement, or you can publish on yours website. Very often the main worry for a civil servant is not to be called to account. When there is no procedure the easiest way is to do nothing. So I hope now you know how cruel are your questions when you try to be holier than a pope (from Polish saying).

photo
1

Hi


From GŁÓWNY GEODETA KRAJU answer to Petr I understand that an access to state data is paid unless is publish on geoportal.gov.pl A company isn't allowed to resell copies of the data but may sell derivative products made from the data. Changing contrast would be enough? :)

Locus users may browse WMTS data, not only from Geoportal, on their own responsibility. I think about employees of companies with paid access I guess there is some authorization. So I think Locus as the browser may have lists of WMTS services, like bookmarks in Internet browsers, it doesn't require using data, and even an option to save data for off-line use.

photo
1

Ahoj


Petr, I'm curious whether you agree or not (and why) with my interpretation and what doubts you have.

photo
1

Hi,

@PawelS - I talked about it again with my colleagues and we aren't 100% sure that the meaning is as you wrote. Probably it is, but we has to be sure. I hope that Pawel can ask them again and get some useful response. Especially we need to under the paragraph

Jeżeli natomiast aplikacja Locus Map posiada funkcjonalność przeglądarki WMTS

użytkownicy tej aplikacji, na własną odpowiedzialność, mogą korzystać w sensie

technicznym z dowolnych usług WMTS, w tym usług WMTS publikowanych na witrynie

internetowej http://www.geoportal.gov.pl. Należy przy tym podkreślić, iż osoba, która

wykorzystuje materiały zasobu bez wymaganej licencji lub niezgodnie z warunkami licencji

lub udostępnia je wbrew postanowieniom licencji osobom trzecim, podlega karze pieniężnej

w wysokości dziesięciokrotności opłaty za udostępnienie tych materiałów (art. 48a ustawy

Prawo geodezyjne i kartograficzne).

The first sentence really say that user can use Locus as a browser for WMTS maps but the second one says that person who use the service need to use it based on the terms of use and license.

Petr

photo
3

Oh man, for me it is quite clear, really. All wee need is exactly that first sentence. It clearly allows Locus community to use the software as a browser for access to any WMTS service provided by geoportal.gov.pl - and this is exactly what we do when we access the data via, say, Chrome browser. We are using the software to browse, as they say, "at our own responsibility" the data on PC.

The second part is also clear to me and it even makes real sense. They state that the person cannot MAKE USE of the data without required license. Suppose I would like to make a .KMZ Locus file with some historical places using geoportal's WMTS (ISOK) data as a layer - and then make it available for profit via, for example, Locus Store or maybe my own channels. It would require a paid license and it really makes sense.

This paragraph also clearly states that the entity subject to fine (if lacking a proper license) is the PERSON making unauthorised use of the WMTS data and not the AUTHOR of the software which operates merely as a browser for that data (which is allowed). Again, this makes perfect sense. If I try to seduce a child I'd be charged with criminal offence but noone would charge the authors of, say, WhatsUp or Hangouts just because I used their chat software for my dirty plans.

The good news for me is that they clearly allow the access to their data, just as they allow it via web interface. No web browser author would bother even asking them if they can allow Opera/Explorer/Chrome/etc user to browse their data which they themselves make freely available for browsing. I reckon the same applies to Locus Maps authors and in this sense the meaning of their paragraphs is entirely clear.

photo
1

I know you've been busy with recent uopdates/fixes but I'm just curious if there was any progress with WMTS issue. Did you come to some conclusion? maybe a sort of quiet, non-public version with WMTS support to test geoportal.pl integration in the field?

photo
7

Dear Piotr,

we've decided to implement system that enables to user manually add arbitrary WMTS service - the similar solution as current manager for WMS services. Basically the goal is to create from Locus a WMTS viewer...but it takes some time for implementation and testing...

photo
1

Great! This is wonderful news indeed. I'd gladly help in testing, if needed.

photo
1

Hi!


Here are several publicly available WMTS sources, very high quality and useful. But I don't know if it's legally FREE for this kind of inclusion in an app. But the manual WMTS source addition would be a fantastic thing to have.

https://server.arcgisonline.com/arcgis/rest/services


I like Locus a lot, keep up the good work ;)

photo
1

Any news for WMTS support? Thanks.

photo
1

Anybody, please?

photo
2

Dear Piotr,

I'm sorry I wanted to wait for final release. However the latest beta version supports WMTS. If you want to test it, please became a beta tester and install the latest beta. How to is described http://docs.locusmap.eu/doku.php?id=manual:about:free_beta_testing (or wait for next official version, will be released probraly in the end of July)

BR PEtr

photo
1

Cool! I grab it right away. Some folks here will also beta test it during the weekend.

photo
1

Now I have both Pro and Free (beta) but in beta cannot see anything related to WMTS...

photo
1

The system is the same as for WMS. Please start Locus Free (beta) > open Menu > Maps > online > tab WMS > PLUS button > add Manually (WMTS).

photo
1

Goodie, thanks.

photo
1

After manually adding WMTS path (http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/ISOK_CIEN) progress window appears for a while, only to pop up an information "no internet connection". At the same time WMS works just fine.

photo
1

Is the the correct url for WMTS service? I tried it in QGIS and it doesn' work

photo
1

I guess it is. It's listed here: https://www.geoportal.gov.pl/uslugi/usluga-przegladania-wmts

The same url for ISOK layer appears while using web interface of Geoportal.

photo
1

In the past in some browsers "request" and "service" had to be added, i.e. http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/ISOK_CIEN?request=GetCapabilities&service=WMTS

but trying this does not work, still progress bar works briefly and reports "no internet connection"

photo
1

I understand that that the fact that WMTS service is located in WMS tab in Locus does not mean that the program is trying to add WMTS address as WMS service. If it is, then it will not work: serice will not be added and error will be returned (as explained on Geoportal support forum).

photo
1

For me the URL http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/ISOK_CIEN?request=GetCapabilities&service=WMTS works OK in Locus Free beta and also in qgis (see the screenshot). I guess that it remains two "http" sections in URL field. Please check it.

photo
1

Yep, I confirm: it works with additional commands and, obviously, with single "http://"; in the address line. Is there any way to set the opacity of the layer like with WMS layers?

photo
1

Not yet, but I think that it should be possible to prepare opacity settings in further versions.

photo
1

It would be great. Layers like ISOK are often used together with regular maps and ability to set opacity is vital.

Also, it seems a friend of mine (another Pro user) discovered a bug in BETA , which he replicated on 3 phones. Now I also replicated it on mine. User-defined waypoints/POI normally stick to the map, i.e. when you move the map with your finger, they stay in place and naturally move with the map. This is not the case with WMTS layer. When zoomed out waypoints (and the map) behave normally, but at bigger zooms the map moves but the waypoints sort of float over tha map, which is moving beneath them.

photo
1

Please create new topic for this issue and if possible upload short video. Please mention also WMTS url you use. BTW: in case that it's shown thousands of points it's limitation of locus and it's not related with WMTS

photo
1

OK, It somehow landed in Locus Map - help desk - Question - Locus Map. Probably wrong place, sorry for that. There should be a short video attached but I am unable to do it. I am on a mobile net now (supposedly LTE) but, unfortunately, this is not Africa but Poland here, so it works as everything else in Poland does.

Just wanted to add that the number of waypoints usually used does not exceed 300.

photo
1

Does the WMTS layers (ISOK) work only in free beta version?

photo
1

Yes, but suffers from a "floating bug". It's still good for displaying ISOK layer itself, though.

photo
1

Is this in the current stable version (3.33.1) already active?

Does someone have a weather source for europe?

photo
3

Good day,

WMTS maps are, and will be, currently for testing purpose in Beta version, not in the production version.

We found a serious problems with the transformation of the coordinate system between WMTS maps and the base app map and this issue have currently no solution. It requires a massive update in whole map system that Locus Map use. It is planned and this problem is one more reason to do it. Plan? Hopefully, during the next half year it should be done.

Thanks for understanding.

photo
1

Any news on this? Ski touring season is about to start and I really need this functionality - i wrote my own small app to display the maps and my current position but to take that to a point where it can compete against Locus in terms of feature richness would take quite some time that I can't afford. Time for you guys to to take the leap and rework your code!

Cheers

Paul

photo
1

@Menion

just out of curiosity: what transformation of the coordinate system are you writing of? Aren't WMTS providers mostly using the same coordinate system as other tile map servers like OpenStreetMap? (aka EPSG:3857)

photo
1

God and bad news.

The good one: more then the month, I'm creating a new "map core" of Locus Map from scratch. So WMTS and other features will work.

Bad news: it will take some time, ETA is somewhere in Q2/2019.

EDIT: sonny: and EPSG. most of them yes, but unfortunately not all ..

photo
2

Yep, we are all waiting for that WMTS stuff... Really.

photo
2

Since Q2/2019 just started I would like to ask how work is progressing regarding the new 'map core?'. Can we expect a testing version soon?

Cheers

Paul

photo
1

Hi Paul,

unfortunately it's little bit more tricky and time consuming then we expected. We're still working on it. I'm sorry we need to postpone it for couple months, I think Q3 / 2019.

Thank you for understanding

Petr

photo
2

Well, that's disappointing to say the least. Why spend so much time on

all those gimmickyy features if some basic map functionality is still missing? I start considering if I should release my own app which is still basic but supports wms, wmts, mbtiles and gemf. It sure doesn't look as streamlined as Locus yet - but with a few weekends of work it could be a contender. Or maybe I should just publish it open source and hope for the community to develop it further....

photo
1

Hello Paul,

cannot agree that WMTS support is essential for Hike&Bike app.

Anyway, please release your app, it will be perfect. Because it will show us if there is real interest in these features, thanks!

photo
2

Any update?

photo
1

Hi Jan,

support for WMTS is almost ready but we need to completely consider it in relation to new Locus Map. Please send me more info (in private ticket) what WMTS server you'd like to add. Thanks

photo
3

I'm pretty sure a lot of you are interested in ISOK Cieniowanie layer in Locus. Some time ago a new services have been added to the Polish Geoportal. Specifically, now ISOK is available both in WMS and WMTS. That basically means that, if you're interested only in this particular layer, you don't need to wait more years for the WMTS implementation :)

This is how it looks like in Locus (see attachment).

This is an URL to add in Locus as a new WMS map: https://mapy.geoportal.gov.pl/wss/service/PZGIK/NMT/GRID1/WMS/ShadedRelief

and source (also more links to other WMS services): https://www.geoportal.gov.pl/uslugi/usluga-przegladania-wms

photo
1

Paweł Dąbrowski is a real king for pointing this out. Couple of years was not enough to see proper WMTS implementation in Locus but at least Geoportal did the fob for them instead, cloning more important WMTS layers into WMS layers.

photo
1

Hello guys,

there seems to be a small discussion between my colleague Petr and Jan, Pawel and few others. I would like to post some official info, because there are expectations, some partial promises and also partially missing communication in our team.

Statement for 2019/05: because of plans we currently have and priorities we try to set up, there is no plan to support the WMTS servers in the near future for Locus Map application (definitely not in 2019). Only what we currently may offer is include WMTS map that may be globally useful for users directly into the list of online maps (so hardcoded in Locus Map app).

Thanks for understanding.

photo
2

What a pity. I wish I had retained that old beta version which worked with WMTS... Now I even can't remember which version it was. The last beta brought back WMTS but it's a dead end, because it doesn't work with Polish geoportal (the link from Paweł above). In fact older betas used to work with slightly modified path, which was http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/ISOK_CIEN?request=GetCapabilities&service=WMTS but it does not work any more.

photo
2

Yeah, extremely disappointing. Especially since it was announced more than a year ago and now it seems cancelled. Greedy devs.

photo
2

Hey, guys!

Nothing new in this respect?

photo
1

Such a nice feature and still missing right?

Nothing new currently done, something new partially in progress. In 2020 on 90%.

photo
1

I believe it when I see it.

photo
1

Any progress with WMTS feature?

photo
1

Hi,

I'm sorry but still partially in progress.

Thank you for understanding

photo
4

"In 2020 on 90%."

Will you finally end this farce and release the very long announced feature? I mean what the heck is taking you so long?

photo
1

I'm sorry, but it's simple - there are other and more important tasks that we're working on. As we already wrote - something is done but it's not still ideal for publish.

photo
2

Jesus, how some geocaching tweaks and icons can be more important than a serious mapping feature? When I see the list of changes for new versions half of them are some cosmetic stuff and WMTS support keeps lagging since something like two years.

photo
2

Yeah, this is just ridiculous. I decided to further develop my own implementation which already works quite well but isn't ready for publication yet. It really isn't that difficult so I suspect Petr just doesn't want us to be able to use all those great map resources for free.

photo
1

Hello Piotr, Paul,

as the app grows, I spend more and more time on support and solving problems caused by age of the code or new Google requirements for new Android versions. The rest of the time is currently mostly spent on preparing the new Locus Map 4 version. I can't agree that WMTS support is an easy task, anyway it already is implemented and works for a few of the provided online maps. And seems it works well. What we currently miss is some kind of UI for a user-based setup. I still think that "on 90% in 2020" is possible. It will be tight ...

Sorry, tweaks and icons are important for me (us) as well, that's reality.

photo
3

Hi guys,

8 years since this topic was created, not bad. We clearly do some progress :).

Anyway good news for those of you, who use Locus Map 4. WMTS support is now available in the Beta version (on the forum) and is very probable, it will be published in the next weeks in the public version. Test & report is more than welcome!

We also extended an integrated catalog of web services (Web service library) to support also WMTS maps and also users rating & tags suggestion so ... enjoy it!

photo
1

Hi,


is it possible to enable debug mode for wms/wmts maps? The WMTS map is successfuly intialized, but if I enable this map I see only error "connection failed" on map screen.


Thank you.

photo
1

Hi, probably best is to create new topic (public) or ticket (private) and share problematic WMTS maps with us. I've tested a lot of WMTS maps, but of course, it is highly probable that some may not yet work due to some technical problems. Thanks for understanding.

Replies have been locked on this page!