OkMap forum
OkMap forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 OkMap Forum - English
 Use of the software
 WMS OkMap mobile iOs
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

okmap

Italy
2572 Posts

Posted - 26/10/2017 :  13:56:51  Show Profile  Visit okmap's Homepage  Reply with Quote
Compila l'indirizzo - cittą nel campo "centro mappa" oppure digita le coordinate e premi il pulsante "Carica mappa".
Go to Top of Page

okmap

Italy
2572 Posts

Posted - 31/10/2017 :  12:59:47  Show Profile  Visit okmap's Homepage  Reply with Quote
I've tried WMS server on OkMap Desktop without success.
This is the command I've used:

new OpenLayers.Layer.WMS("PL topo", "http://mapy.geoportal.gov.pl/wss/service/img/guest/topo/MapServer/WMSServer?service=WMS&request=GetMap&VERSION=1.3.0&FORMAT=image/png&WIDTH=256&HEIGHT=256&LAYERS=Raster&CRS=EPSG:4326&styles=default");

I think there are some problems with openlayers environment.
Go to Top of Page

gsepic

Croatia
9 Posts

Posted - 29/10/2018 :  14:23:17  Show Profile  Reply with Quote
Hi,

I wish also to use wms server in Croatia:

http://kalisto.geoportal.dgu.hr/cwms?LAYERS=TK25&FORMAT=image/jpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:3765&BBOX=454086.2,4830679,454444.6,4831037.4&WIDTH=256&HEIGHT=256

If I define this url, I got an image. But if I wish to use bbox implemented in OkMap mobile, I got nothing.

http://kalisto.geoportal.dgu.hr/cwms?LAYERS=TK25&FORMAT=image/jpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:3765&WIDTH=256&HEIGHT=256

What's the problem.
p.s. I defined Coordinate type: Degrees-Minutes and Datum: World Geodetic 1984 (WGS84).
Go to Top of Page

gsepic

Croatia
9 Posts

Posted - 29/10/2018 :  14:28:20  Show Profile  Reply with Quote
I successfuly use this wms server in desktop version od OkMap

new OpenLayers.Layer.WMS("Hrvatska TK25", " http://geoportal.dgu.hr/wms", {layers: 'TK25', maxZoomLevel: 22});



quote:
Originally posted by gsepic

Hi,

I wish also to use wms server in Croatia:

http://kalisto.geoportal.dgu.hr/cwms?LAYERS=TK25&FORMAT=image/jpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:3765&BBOX=454086.2,4830679,454444.6,4831037.4&WIDTH=256&HEIGHT=256

If I define this url, I got an image. But if I wish to use bbox implemented in OkMap mobile, I got nothing.

http://kalisto.geoportal.dgu.hr/cwms?LAYERS=TK25&FORMAT=image/jpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:3765&WIDTH=256&HEIGHT=256

What's the problem.
p.s. I defined Coordinate type: Degrees-Minutes and Datum: World Geodetic 1984 (WGS84).

Go to Top of Page

okmap

Italy
2572 Posts

Posted - 29/10/2018 :  14:42:37  Show Profile  Visit okmap's Homepage  Reply with Quote
Well done!!!
Go to Top of Page

gsepic

Croatia
9 Posts

Posted - 29/10/2018 :  14:48:28  Show Profile  Reply with Quote
I really need to be able to use this wms server on mobile version.

this is new version of wms service --> 1.3.0
But I still have no luck to define in OkMap Mobile :(

http://geoportal.dgu.hr/wms?LAYERS=TK25&FORMAT=image%2Fjpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&STYLES=&SRS=EPSG%3A3765&BBOX=454086.2,4830679,454444.6,4831037.4&WIDTH=256&HEIGHT=256

quote:
Originally posted by gsepic

Hi,

I wish also to use wms server in Croatia:

http://kalisto.geoportal.dgu.hr/cwms?LAYERS=TK25&FORMAT=image/jpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:3765&BBOX=454086.2,4830679,454444.6,4831037.4&WIDTH=256&HEIGHT=256

If I define this url, I got an image. But if I wish to use bbox implemented in OkMap mobile, I got nothing.

http://kalisto.geoportal.dgu.hr/cwms?LAYERS=TK25&FORMAT=image/jpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:3765&WIDTH=256&HEIGHT=256

What's the problem.
p.s. I defined Coordinate type: Degrees-Minutes and Datum: World Geodetic 1984 (WGS84).

Go to Top of Page

okmap

Italy
2572 Posts

Posted - 29/10/2018 :  15:01:10  Show Profile  Visit okmap's Homepage  Reply with Quote
Have you tried to remove the BBOX clause?
Go to Top of Page

gsepic

Croatia
9 Posts

Posted - 29/10/2018 :  15:09:14  Show Profile  Reply with Quote
Ok I tried to change Datum in Settings: to
HTRS96 (GRS 1980) EPSG 6761

but for HTRS96 should be EPSG:3765

http://spatialreference.org/ref/epsg/htrs96-croatia-tm/

And I change url but no success :(

http://geoportal.dgu.hr/wms?LAYERS=TK25&FORMAT=image%2Fjpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&STYLES=&SRS=EPSG%3A3765&WIDTH=256&HEIGHT=256

quote:
Originally posted by okmap

Have you tried to remove the BBOX clause?

Go to Top of Page

okmap

Italy
2572 Posts

Posted - 29/10/2018 :  15:12:26  Show Profile  Visit okmap's Homepage  Reply with Quote
EPSG should be 3857 => "Popular Visualisation CRS / Mercator"
Go to Top of Page

gsepic

Croatia
9 Posts

Posted - 29/10/2018 :  15:37:11  Show Profile  Reply with Quote
BINGO!!!

correct url is:
http://geoportal.dgu.hr/wms?LAYERS=TK25&FORMAT=image/jpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&STYLES=&SRS=EPSG:3857&WIDTH=256&HEIGHT=256

quote:
Originally posted by okmap

EPSG should be 3857 => "Popular Visualisation CRS / Mercator"

Go to Top of Page

okmap

Italy
2572 Posts

Posted - 29/10/2018 :  15:43:36  Show Profile  Visit okmap's Homepage  Reply with Quote
Good job!!!
Go to Top of Page

gsepic

Croatia
9 Posts

Posted - 30/10/2018 :  14:12:39  Show Profile  Reply with Quote
Working topo 50K of Slovenia

http://prostor4.gov.si:80/ows2-m-pub/ows?SERVICE=WMS&LAYERS=raster_gurs_pub:SI.GURS.RASTRI.DTK50&FORMAT=image/jpeg&VERSION=1.3.0&REQUEST=GetMap&STYLES=&SRS=EPSG:3857&WIDTH=256&HEIGHT=256

and working ortophoto of Slovenia
http://prostor4.gov.si:80/ows2-m-pub/ows?SERVICE=WMS&LAYERS=SI.GURS.ZPDZ:DOF050&FORMAT=image/jpeg&VERSION=1.3.0&REQUEST=GetMap&STYLES=&SRS=EPSG:3857&WIDTH=256&HEIGHT=256

quote:
Originally posted by gsepic

BINGO!!!

correct url is:
http://geoportal.dgu.hr/wms?LAYERS=TK25&FORMAT=image/jpeg&SLDRULE=0&TRANSPARENT=FALSE&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&STYLES=&SRS=EPSG:3857&WIDTH=256&HEIGHT=256

quote:
Originally posted by okmap

EPSG should be 3857 => "Popular Visualisation CRS / Mercator"



Go to Top of Page

okmap

Italy
2572 Posts

Posted - 30/10/2018 :  14:29:06  Show Profile  Visit okmap's Homepage  Reply with Quote
Thanks for report!
If you are satisfied of OkMap Mobile can you write a little review on Apple store? I will appreciate it very much.
Thanks!
Go to Top of Page

gsepic

Croatia
9 Posts

Posted - 14/03/2019 :  12:57:50  Show Profile  Reply with Quote
Working TOPO of France:


http://mapsref.brgm.fr/wxs/refcom-brgm/refign?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&WIDTH=256&HEIGHT=256&BGCOLOR=0xCCCCCC&FORMAT=image/png&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:3857&LAYERS=FONDS_SCAN

Go to Top of Page

okmap

Italy
2572 Posts

Posted - 14/03/2019 :  14:01:29  Show Profile  Visit okmap's Homepage  Reply with Quote
Thanks!
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
OkMap forum © 2018 OkMap Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07