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.

Failure using WMS Service

Go down

Failure using WMS Service Empty Failure using WMS Service

Post  Der_Max Fri Jun 17, 2011 11:08 am

Hi there,

I have a problem using the "wms-service". The following wms_services.xml is in use:

Code:

<?xml version="1.0" encoding="utf-8"?>
<wms_services>
   <wms>
      <name>NRW Topo DTK10</name>
      <uid>1001</uid><!--unique identifier in your database cache; >1000 -->
      <desc>NRW Topo DTK10</desc>
      <url>http://www.wms.nrw.de/geobasis/adv_dtk10?REQUEST=GetMap&SERVICE=WMS&version=1.1.1</url>
      <minzoomlevel>14</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->
      <layers>DTK10</layers>
      <coordinatesystem>EPSG:31466</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
   </wms>
  </wms_services>

In my first experiment in the table of online maps I saw an entry "WMS .....". After selecting the entry, the map appeared on the screen. Although very slow but it worked. Now my problem. After that I had in the table of online maps never again a record with "WMS .....". It seems that the wms_services.xml is ignored by Oruxmaps. Maybe someone can give me a hint what I'm doing wrong.

Samsung I9000 Galaxy with Android 2.3.3
OruxMaps 3.5.12beta

Thanks in advance.

Der_Max
Guest


Back to top Go down

Failure using WMS Service Empty Re: Failure using WMS Service

Post  orux Fri Jun 17, 2011 4:49 pm

Der_Max wrote:Hi there,

I have a problem using the "wms-service". The following wms_services.xml is in use:

Code:

<?xml version="1.0" encoding="utf-8"?>
<wms_services>
   <wms>
      <name>NRW Topo DTK10</name>
      <uid>1001</uid><!--unique identifier in your database cache; >1000 -->
      <desc>NRW Topo DTK10</desc>
      <url>http://www.wms.nrw.de/geobasis/adv_dtk10?REQUEST=GetMap&SERVICE=WMS&version=1.1.1</url>
      <minzoomlevel>14</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->
      <layers>DTK10</layers>
      <coordinatesystem>EPSG:31466</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
   </wms>
  </wms_services>

In my first experiment in the table of online maps I saw an entry "WMS .....". After selecting the entry, the map appeared on the screen. Although very slow but it worked. Now my problem. After that I had in the table of online maps never again a record with "WMS .....". It seems that the wms_services.xml is ignored by Oruxmaps. Maybe someone can give me a hint what I'm doing wrong.

Samsung I9000 Galaxy with Android 2.3.3
OruxMaps 3.5.12beta

Thanks in advance.

Hi;

With this beta, the wms file MUST be in oruxmaps/mapfiles/ directory.

If you add a new wms when OruxMaps is running, you must reset online maps, using 'online' button in the map selector view.

You have to put the url between <![CDATA[ and ]]> if it contains & or other strange characters.

OruxMaps only works with <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->

try adding this to your wms file (working in mi device). Remember that wms are usually slow.


Code:

  <wms>
      <name>NRW Topo DTK10</name>
      <uid>1022</uid><!--unique identifier in your database cache; >1000 -->
      <desc>NRW Topo DTK10</desc>
      <url><![CDATA[http://www.wms.nrw.de/geobasis/adv_dtk10?REQUEST=GetMap&SERVICE=WMS&]]></url>
      <minzoomlevel>14</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->
      <layers>DTK10</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

Failure using WMS Service Empty Failure using WMS Service

Post  Der_Max Sun Jun 19, 2011 11:19 am

It works fine. So I know what I did wrong.

Unfortunately the wms-server seems to be offline at the moment, but that's another topic.

Thanks for your support orux.

Der_Max
Guest


Back to top Go down

Failure using WMS Service Empty Re: Failure using WMS Service

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