OkMap forum
OkMap forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 OkMap Forum - English
 Use of the software
 Max zoom and WMTS server

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert image on imageshack.us
 Insert small zipped file as attachment (< 500 Kb)
 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Tichodrome Posted - 12/04/2016 : 15:23:21
Hi

I added a personnal MapServer in OkMap :

<mapsServer>
<name>France IGN</name>
<code>new OpenLayers.Layer.XYZ("France IGN","http://wxs.ign.fr/PersonnalKey/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX=${z}&TILEROW=${y}&TILECOL=${x}&FORMAT=image%2Fjpeg");</code>
<baseLayer>true</baseLayer>
<covered>France</covered>
<active>true</active>
<canSaved>true</canSaved>
<custom>true</custom>
<default>false</default>
</mapsServer>

It's working Ok except for the zoom level that is limited to 15 whereas with the same server I can go up to zoom 18 in SasPlanet.

Any Idea ?
Thanks
8   L A T E S T    R E P L I E S    (Newest First)
okmap Posted - 15/04/2016 : 09:43:37
Sorry, you have reason: "isBaseLayer: true" is the right option.
Tichodrome Posted - 15/04/2016 : 09:35:49
{ maxZoomLevel: 17, numZoomLevels: 18, isBaseLayer: false, visibility: true} is not working. It gives a Javascript error. Contradiction between "isBaseLayer: false" and "<baseLayer>true</baseLayer>" ?

But it's OK with "isBaseLayer: true"

Even just { maxZoomLevel: 18, numZoomLevels: 19} is OK

I tested the creation of a map (4000 x 4000 pixels). It's working except that I get white/grey lines (+-4 pixels wide) on an approximate matrix 1800 x 800 pixels (size of the "Maps Server" window I used ?).

This function is not very important for me as I use maily Mobac for map creation, just to let you know what I tried.

Thanks for your help
okmap Posted - 14/04/2016 : 14:59:36
see also
http://openlayers.org/en/master/examples/wmts-ign.html
okmap Posted - 14/04/2016 : 14:34:16
To move track point:
1. unlock object on map (Alt+L) - or menu View ....
2. select the track with the mouse
3. select the track point with the mouse
4. drag the track point with the mouse.

For IGN try to add this parameters (see other servers):
{ maxZoomLevel: 17, numZoomLevels: 18, isBaseLayer: false, visibility: true}
Tichodrome Posted - 14/04/2016 : 12:12:49
Thanks for the answer concerning the "map server". I'm discovering OkMap and not aware of every subtility...
For example, I've not been able to move a track point just with the mouse without opening a dialog box with arrows (not very convenient...)

Concerning the zoom problem. here are the parameters I use in both applications, not much diffrence :

OkMap :
http://wxs.ign.fr/PersonnalKey/geoportail/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX=${z}&TILEROW=${y}&TILECOL=${x}&FORMAT=image%2Fjpeg

SasPlanet :
DefURLBase=http://wxs.ign.fr/PersonnalKey/geoportail/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&STYLE=normal&FORMAT=image%2Fjpeg&TILEMATRIXSET=PM
ResultURL:=GetUrlBase+'&TILEMATRIX='+inttostr(GetZ-1 )+'&TILEROW='+inttostr(GetY)+'&TILECOL='+ inttostr(GetX)+'.jpg';

In OkMap it stopped at Zoom 15 (1/25000 map) whereas in SasPlanet I have the same image at zoom 16 (why this (GetZ-1) ?), the full map resolution at zoom 17 and a more detailed map at zoom 18 and 19.
okmap Posted - 13/04/2016 : 09:45:23
The use of "Map server" function is download tiles from a WMS/TMS web server and merge all togheter to create a big georeferenced map.
Once created, this map can opened by OkMap.
The Web map function loads only the tiles necessary to the view.
But is the same, use Map server function to create your own map (there you can define the size in pixel).
Are you sure that SasPlanet server definition is the same you have used in OkMap?
Tichodrome Posted - 13/04/2016 : 08:09:20
I have a registered version.
I tried both "Map server" function or "Load a web map" with same result.
What's the use of the "Map server" function ? Creation of an image of the map ?
No possibility to create a local map with a calibration file from a web map ?

Thanks
okmap Posted - 12/04/2016 : 17:13:54
Are you working with "Map server" function or "Load a web map" function?
Are you using the trial version?

OkMap forum © 2018 OkMap Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07