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

 All Forums
 Forum OkMap - Italiano
 Integrazione con altri software
 WMS CTR Friuli Venezia Giulia
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

oldmax

Italy
29 Posts

Posted - 01/06/2015 :  21:44:01  Show Profile  Reply with Quote
Ho visto che il "magico" OkMap riesce a leggere anche siti WMS.
Vorrei usare il WMS messo a dispossizione daalla regione Friuli Venezia Giulia, http://serviziogc.regione.fvg.it?SERVICE=WMS&
Impostandolo su OruxMaps funziona egregiamente.
Ma in MapsServers.xml non so cosa mettere. Potete aiutarmi?
(p.es. ho con successso inserito OpenTopoMaps)

Grazie mille !!

okmap

Italy
2563 Posts

Posted - 02/06/2015 :  09:37:22  Show Profile  Visit okmap's Homepage  Reply with Quote
Puoi postare la stringa che hai inserito in OruxMaps?
Go to Top of Page

oldmax

Italy
29 Posts

Posted - 02/06/2015 :  18:06:13  Show Profile  Reply with Quote
Oilà, buongiorno e grazie per la solerte risposta,

dunque, in OruxMaps richiede solo la URL base e io ho inserito esattamente:

http://serviziogc.regione.fvg.it/?SERVICE=WMS&

Appena si da OK OruxMap propone l'elenco dei layer disponibili (e suppongo che Orux esegue un :

http://serviziogc.regione.fvg.it/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities

o equivalente.
Dopodiché Orux visualizza correttamente il/i layer che seleziono.
E basta,per Orux non occorre altro.

Per OkMap in MapsServers.xml ho inserito:

<mapsServer>
<name>WMS-FVG</name>
<code><![CDATA[new OpenLayers.Layer.WMS("OpenLayers WMS-FVG", "http://serviziogc.regione.fvg.it?SERVICE=WMS&", {layers: 'CIS_ACQUE_SOTTERRANEE', projection: 'EPSG:4230'});]]></code>
<baseLayer>true</baseLayer>
<covered>FVG-Italy</covered>
<active>true</active>
</mapsServer>

seguendo un esempio su questi forum.

Poi quando in "Server mappe" seleziono WMS-FVG, una località, e quindi faccio "Carica immag." nella barra di stato mi da "In attesa di file.... ecc.", termina senza errori (con un rapidissimo "9 file rimanenti ... ecc.") e poi compare la barra dello zoom e a destra la selezione dei overlay ecc. Zoommando non succede nulle e comunque non si vede nulla. Deduco che errori di accesso o sintassi formali non ce ne sono ma evidentemente manca qualcosa che un OruxMap da per scontato ma che in OkMap bisogna specificare esplicitamente.


saluti e grazie per l'attenzione
Go to Top of Page

okmap

Italy
2563 Posts

Posted - 02/06/2015 :  18:59:12  Show Profile  Visit okmap's Homepage  Reply with Quote
Prova così

<mapsServer>
<name>WMS-FVG</name>
<code><![CDATA[new OpenLayers.Layer.WMS("OpenLayers WMS-FVG", "http://serviziogc.regione.fvg.it/geoserver/ows?service=WMS&layer=CIS_ACQUE_SOTTERRANEE", {layers: 'CIS_ACQUE_SOTTERRANEE', projection: 'EPSG:4230'});]]></code>
<baseLayer>true</baseLayer>
<covered>FVG-Italy</covered>
<active>true</active>
</mapsServer>
Go to Top of Page

oldmax

Italy
29 Posts

Posted - 02/06/2015 :  19:06:56  Show Profile  Reply with Quote
Evviva !!
Così funziona egregiamente!

Grazie 10000000000 Gian Paolo !

Salutissimi

Mario
Go to Top of Page

oldmax

Italy
29 Posts

Posted - 02/06/2015 :  19:13:49  Show Profile  Reply with Quote
Un altro layer (quello sopra da poco da vedere)
<mapsServer>
<name>WMS-FVG2</name>
<code><![CDATA[new OpenLayers.Layer.WMS("OpenLayers WMS-FVG", "http://serviziogc.regione.fvg.it/geoserver/ows?service=WMS&layers=COMUNI_FVG_2015", {layers: 'COMUNI_FVG_2015', projection: 'EPSG:4230'});]]></code>
<baseLayer>true</baseLayer>
<covered>FVG-Italy</covered>
<active>true</active>
</mapsServer>
Go to Top of Page

okmap

Italy
2563 Posts

Posted - 02/06/2015 :  19:56:20  Show Profile  Visit okmap's Homepage  Reply with Quote
Perfetto!
Go to Top of Page

oldmax

Italy
29 Posts

Posted - 02/06/2015 :  20:27:43  Show Profile  Reply with Quote
Mi sono permesso di lasciare un meritato "donate"
Go to Top of Page

okmap

Italy
2563 Posts

Posted - 03/06/2015 :  19:16:15  Show Profile  Visit okmap's Homepage  Reply with Quote
Ti ringrazio moltissimo!!!!!
Ciao.
Gian Paolo
Go to Top of Page
  Previous Topic Topic Next Topic  
 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