OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

WMS server list

3 posters

Go down

WMS server list Empty WMS server list

Post  TC Mon Jan 10, 2011 12:24 pm

Following instructions to use wms_services.xml file, I was expecting a list of WMS servers (and setup) somewhere in the forum. Does someone succeded to add such services ?

I tried adding folowing service... but without success.

Code:

  <wms>
      <name>Geneve Cadastre</name>
      <uid>1292</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Cadastre Geneve</desc>
      <url>http://etat.geneve.ch/ags1/services/Cadastre/MapServer/WMSServer?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>18</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers><![CDATA[ Bâtiments  ]]></layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>
 

Someone has an idea what could be wrong with it ?

Note that from a WEB browser, I was able to querry the server with the following command (that return me an XML). That's where I get the "layers". Not sure exactly how to use all the XML informations and what OruxMaps need.

Code:

http://etat.geneve.ch/ags1/services/Cadastre/MapServer/WMSServer?request=getcapabilities&service=WMS


TC

Cantidad de envíos : 6
Fecha de inscripción : 2010-09-15

Back to top Go down

WMS server list Empty Re: WMS server list

Post  TC Mon Jan 10, 2011 12:46 pm

Found it... I was using the wrong content for <layer> field. I was using the <Title> instead of the <name>. I'll update the list of supported layers for this server and post it into the forum.

Any way to specify multiple layers ?

TC

Cantidad de envíos : 6
Fecha de inscripción : 2010-09-15

Back to top Go down

WMS server list Empty Re: WMS server list

Post  orux Mon Jan 10, 2011 1:07 pm

TC wrote:Found it... I was using the wrong content for <layer> field. I was using the <Title> instead of the <name>. I'll update the list of supported layers for this server and post it into the forum.

Any way to specify multiple layers ?

You are right; you have to use 'name' tags.

You can see more layers, comma separated; example:

<layers>1,2,3,4</layers>

orux

orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

WMS server list Empty Re: WMS server list

Post  TC Tue Jan 11, 2011 9:13 am

Thanks, works fine with multiple layer... just one more issue :

With this code, I can see correctly the map, but there's about 200-300 m positioning error :

Code:

  <wms>
      <name>Geneve Cadastre</name>
      <uid>1290</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Geneve Cadastre</desc>
      <url>http://etat.geneve.ch/ags1/services/Cadastre/MapServer/WMSServer?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>18</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>1,2,4,8,11,13</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>

But for the same area, I tried another WMS server, and the position have no errors :

Code:

  <wms>
      <name>Geneve Orthophotos</name>
      <uid>1297</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Geneve Orthophotos</desc>
      <url>http://etat.geneve.ch/ags2/services/Rasters_wgs84/MapServer/WMSServer?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>18</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>7</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>

Could it be a projection issue ? I didn't find any projection indication into the "GetCapabilities" returned XML. Just one more SRS specified.

Any idea what could be wrong ?

TC

Cantidad de envíos : 6
Fecha de inscripción : 2010-09-15

Back to top Go down

WMS server list Empty Re: WMS server list

Post  orux Tue Jan 11, 2011 5:28 pm

TC wrote:Thanks, works fine with multiple layer... just one more issue :

With this code, I can see correctly the map, but there's about 200-300 m positioning error :

Code:

  <wms>
      <name>Geneve Cadastre</name>
      <uid>1290</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Geneve Cadastre</desc>
      <url>http://etat.geneve.ch/ags1/services/Cadastre/MapServer/WMSServer?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>18</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>1,2,4,8,11,13</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>

But for the same area, I tried another WMS server, and the position have no errors :

Code:

  <wms>
      <name>Geneve Orthophotos</name>
      <uid>1297</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Geneve Orthophotos</desc>
      <url>http://etat.geneve.ch/ags2/services/Rasters_wgs84/MapServer/WMSServer?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>18</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>7</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>

Could it be a projection issue ? I didn't find any projection indication into the "GetCapabilities" returned XML. Just one more SRS specified.

Any idea what could be wrong ?

Strange; if the wms can work with EPSG:4326 (simple latitude/longitude) it should work fine.

Test with http://www.idee.es/clientesIGN/wmsGenericClient/index.html?lang=En

viewer and 'center on map' option.



orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

WMS server list Empty Re: WMS server list

Post  TC Wed Jan 12, 2011 5:13 pm

Apparently Map Viewer has some issues too.. see the attached picture, the Tiles are not joined correctly.

WMS server list Capturegeneve


Strange !

TC

Cantidad de envíos : 6
Fecha de inscripción : 2010-09-15

Back to top Go down

WMS server list Empty italy wms

Post  CronoX Sat Feb 12, 2011 1:12 pm

from this site:
i've this wms link....but what's UID?!


<?xml version="1.0" encoding="utf-8"?>
<wms_services>
<wms>
<name>Aste fluviali</name>
<uid>1001</uid><!--unique identifier in your database cache; >1000 -->
<desc>aste fluviali</desc>
<url>
<minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
<maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
<version>1.1.1</version><!-- do not change -->
<layers>DRG</layers>
<coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
<format>image/jpeg</format>
<cache>1</cache><!-- not in use -->
</wms>
<wms>
<name>Kartverket sea (NOR)</name><!--ERROR DE UNOS 200 mts SE SUPONE SOPORTA EPSG:4326???-->
<uid>1309</uid><!--unique identifier in your database cache; >1000 -->
<desc>Norway sea maps</desc>
<url><![CDATA
<minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
<maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
<version>1.1.1</version><!-- do not change -->
<layers>Sjokart_Hovedkartserien2</layers>
<coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
<format>image/png</format>
<cache>1</cache><!-- not in use -->
</wms>

</wms_services>

now i have the xml file in oruxmap folder (mapfiles) but it does not appair, i've updated db from oruxmaps...thank, from italy

CronoX
Guest


Back to top Go down

WMS server list Empty sorry

Post  Crono Sat Feb 12, 2011 1:24 pm

from this site:
http://www.pcn.minambiente.it/mdSearch/
i've this wms link....but what's UID?!
http://wms.pcn.minambiente.it/cgi-bin/mapserv.exe?map=/ms_ogc/service/astefluviali_33.map


Code:
<?xml version="1.0" encoding="utf-8"?>
<wms_services>
   <wms>
      <name>Aste fluviali</name>
      <uid>1001</uid><!--unique identifier in your database cache; >1000 -->
      <desc>aste fluviali</desc>
      <url>http://wms.pcn.minambiente.it/cgi-bin/mapserv.exe?map=/ms_ogc/service/astefluviali_33.map</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->
      <layers>DRG</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
   </wms>
  <wms>
      <name>Kartverket sea (NOR)</name><!--ERROR DE UNOS 200 mts SE SUPONE SOPORTA EPSG:4326???-->
      <uid>1309</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Norway sea maps</desc>
      <url><![CDATA[http://openwms.statkart.no/skwms1/wms.sjo_hovedkart2?SERVICE=WMS&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&]]></url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>Sjokart_Hovedkartserien2</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/png</format>
      <cache>1</cache><!-- not in use -->
  </wms>

</wms_services>

now i have the xml file in oruxmap folder (mapfiles) but it does not appair, i've updated db from oruxmaps...thank, from italy

Crono

Cantidad de envíos : 12
Fecha de inscripción : 2011-02-12

Back to top Go down

WMS server list Empty Re: WMS server list

Post  orux Sat Feb 12, 2011 7:27 pm

Crono wrote:from this site:
http://www.pcn.minambiente.it/mdSearch/
i've this wms link....but what's UID?!
http://wms.pcn.minambiente.it/cgi-bin/mapserv.exe?map=/ms_ogc/service/astefluviali_33.map

now i have the xml file in oruxmap folder (mapfiles) but it does not appair, i've updated db from oruxmaps...thank, from italy

Hi,

UID is a number > 1000, unique for each wms you insert in wms file.

You have to put a valid 'layer'.

May be the url you use is not valid. I have found this wms:

Code:

   <wms>
      <name>Aqua (ITA)</name>
      <uid>1010</uid><!--unique identifier in your database cache; >1000 -->
      <desc>aste fluviali</desc>
      <url><![CDATA[http://wms.pcn.minambiente.it/cgi-bin/mapserv.exe?map=/ms_ogc/service/astefluviali.map&]]></url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->
      <layers>aste_fluviali</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
   </wms>

orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

WMS server list Empty Re: WMS server list

Post  Crono Sun Feb 13, 2011 1:17 pm

where do you have found it?

thanks

Crono

Cantidad de envíos : 12
Fecha de inscripción : 2011-02-12

Back to top Go down

WMS server list Empty Re: WMS server list

Post  orux Sun Feb 13, 2011 3:50 pm

Crono wrote:where do you have found it?

thanks

From your post:

Select 'Disegna Mappa' anywhere in the site: http://www.pcn.minambiente.it/mdSearch/

Now you will see a wms viewer. Select 'Servizi WMS'

Select a service:

WMS server list Pantallazoportalecartog



Now you have the URL.

Select 'Catalogo'. Then you will see the available layers name.

orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

WMS server list Empty Re: WMS server list

Post  Crono Mon Feb 21, 2011 5:54 pm

thanks...is this correct?

Code:

<wms>
      <name>Ortofoto</name>
      <uid>1010</uid><!--unique identifier in your database cache; >1000 -->
      <desc>ortofoto</desc>
      <url><![CDATA[http://wms.pcn.minambiente.it/cgi-bin/mapserv.exe?map=/ms_ogc/service/ortofoto_colore_06_f33.map]]></url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->
      <layers>aste_fluviali</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>

Crono

Cantidad de envíos : 12
Fecha de inscripción : 2011-02-12

Back to top Go down

WMS server list Empty Re: WMS server list

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum