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 data implementation

2 posters

Go down

WMS data implementation Empty WMS data implementation

Post  MK Thu Apr 29, 2010 11:53 am

Hi Orux.
I would welcome if Oruxmaps be able to work in online mode with WMS. It would be also useful if offline cashing of WMS data will be available. I found simple example (supposedly) here. But I'm not a programmer Very Happy

MK
Guest


Back to top Go down

WMS data implementation Empty Re: WMS data implementation

Post  orux Thu Apr 29, 2010 4:53 pm

MK wrote:Hi Orux.
I would welcome if Oruxmaps be able to work in online mode with WMS. It would be also useful if offline cashing of WMS data will be available. I found simple example (supposedly) here. But I'm not a programmer Very Happy

Hi, MK;

last beta works with wms (very limited, but I will work with best support);

I have not post how-to (only in Spanish). I will do a mini-howto this night;

You can use epsg:4326 (wgs84 lat lon) sources with a simple xml file.

See:

https://oruxmaps.forumotion.com/betas-f14/usando-wms-con-oruxmaps-254-o-posterior-t257.htm#1075

orux
orux
orux

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

Back to top Go down

WMS data implementation Empty Re: WMS data implementation

Post  brotbuexe Thu Apr 29, 2010 8:31 pm

thats epic!

now i can use again a great map from year 1800 for saxony germany. Smile

WMS data implementation Meilensteinblatt

some working wms maps for Saxony and Mecklenburg-Vorpommern in Germany:

Code:

<?xml version="1.0" encoding="utf-8"?>
<wms_services>
  <wms>
      <name>Sachsen Meilenblaetter</name><!--ERROR DE UNOS 200 mts SE SUPONE SOPORTA EPSG:4326???-->
      <uid>1301</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Old Map from Saxony Germany from 1800</desc>
      <url>http://geoinformatik.htw-dresden.de/cgi-bin/mbl?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>16</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>Meilenblatt_V</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>
  <wms>
      <name>LVM Sachsen Luftbild</name><!--ERROR DE UNOS 200 mts SE SUPONE SOPORTA EPSG:4326???-->
      <uid>1302</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Luftbild Sachsen</desc>
      <url>http://www.landesvermessung.sachsen.de/ias/basiskarte4/service/SRV4DOPFREE/WMSFREE_TK/WMSFREE_TK/wmsservice?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>20</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>MS</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>
  <wms>
      <name>LVM Sachsen Topo</name><!--ERROR DE UNOS 200 mts SE SUPONE SOPORTA EPSG:4326???-->
      <uid>1303</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Topographische Karte Sachsen</desc>
      <url>http://www.landesvermessung.sachsen.de/ias/basiskarte4/service/SRV4TKFREE/WMSFREE_TK/wmsservice?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>20</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>MS</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>
  <wms>
      <name>LVM Sachsen Top</name><!--ERROR DE UNOS 200 mts SE SUPONE SOPORTA EPSG:4326???-->
      <uid>1304</uid><!--unique identifier in your database cache; >1000 -->
      <desc>"Top" Sachsen</desc>
      <url>http://www.landesvermessung.sachsen.de/ias/basiskarte4/service/SRV4TOPSN/WMSFREE_TK/WMSFREE_TK/wmsservice?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>MS,TOP.sachsen</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>
  <wms>
      <name>MV Topo</name><!--ERROR DE UNOS 200 mts SE SUPONE SOPORTA EPSG:4326???-->
      <uid>1306</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Digitale Topographische Karten und Gebietskarten 1:10.000 - 1:1.000.000</desc>
      <url>http://www.geodaten-mv.de/dienste/gdimv_dtk?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>17</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>gdimv_dtk</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>
  <wms>
      <name>MV Luftbild</name><!--ERROR DE UNOS 200 mts SE SUPONE SOPORTA EPSG:4326???-->
      <uid>1307</uid><!--unique identifier in your database cache; >1000 -->
      <desc>Digitale Orthophotos 2x2 km mit DLM-Objekten. Maßstabsbereich bis 1:250.000</desc>
      <url>http://www.geodaten-mv.de/dienste/gdimv_dopdlm?</url>
      <minzoomlevel>8</minzoomlevel><!-- 0 to 20 -->
      <maxzoomlevel>20</maxzoomlevel><!-- 0 to 20 -->
      <version>1.1.1</version><!-- do not change -->                 
      <layers>gdimv_dopdlm</layers>
      <coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
      <format>image/jpeg</format>
      <cache>1</cache><!-- not in use -->
  </wms>
</wms_services>

brotbuexe

Cantidad de envíos : 17
Fecha de inscripción : 2010-04-13

Back to top Go down

WMS data implementation Empty Re: WMS data implementation

Post  orux Thu Apr 29, 2010 8:36 pm

brotbuexe wrote:thats epic!

now i can use again a great map from year 1800 for saxony germany. Smile


Hi, brotbuexe;

I am going to open a thread with tested wms, next days.

orux
orux
orux

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

Back to top Go down

WMS data implementation Empty Re: WMS data implementation

Post  brotbuexe Fri May 07, 2010 6:32 pm

i have a small problem with one of the wms servers

http://www.landesvermessung.sachsen.de/ias/basiskarte4/service/SRV4TKFREE/WMSFREE_TK/wmsservice

This map have the problem that I get a wrong image with a black background.
I have to use &BGCOLOR=0xFFFFFF in the url to get a correct image.

its no big deal if you dont "fix" this, i dont use this map regularly.

thats the url i used in another app on windows mobile some time ago:
URL=http://www.landesvermessung.sachsen.de/ias/basiskarte4/service/SRV4TKFREE/WMSFREE_TK/wmsservice?REQUEST=GetMap&VERSION=1.1.1&BBOX=%LONG1,%LAT1,%LONG2,%LAT2&SRS=EPSG:4326&HEIGHT=256&WIDTH=256&FORMAT=image/png&BGCOLOR=0xFFFFFF&LAYERS=MS,UEB,TK100,tk100v,tk100i,tk100w,tk100g,tk100s,TK50,tk50v,tk50i,tk50w,tk50g,TK25,tk25v,tk25i,tk25w,tk25g,TK10,tk10v,tk10i,tk10w,tk10g&STYLES=,,,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,,DEFAULT,DEFAULT,DEFAULT,DEFAULT,,DEFAULT,DEFAULT,DEFAULT,DEFAULT,,DEFAULT,DEFAULT,DEFAULT,DEFAULT&TRANSPARENT=FALSE&EXCEPTIONS=application/vnd.ogc.se_xml

brotbuexe

Cantidad de envíos : 17
Fecha de inscripción : 2010-04-13

Back to top Go down

WMS data implementation Empty Re: WMS data implementation

Post  orux Fri May 07, 2010 6:56 pm

brotbuexe wrote:i have a small problem with one of the wms servers

http://www.landesvermessung.sachsen.de/ias/basiskarte4/service/SRV4TKFREE/WMSFREE_TK/wmsservice

This map have the problem that I get a wrong image with a black background.
I have to use &BGCOLOR=0xFFFFFF in the url to get a correct image.

its no big deal if you dont "fix" this, i dont use this map regularly.

thats the url i used in another app on windows mobile some time ago:
URL=http://www.landesvermessung.sachsen.de/ias/basiskarte4/service/SRV4TKFREE/WMSFREE_TK/wmsservice?REQUEST=GetMap&VERSION=1.1.1&BBOX=%LONG1,%LAT1,%LONG2,%LAT2&SRS=EPSG:4326&HEIGHT=256&WIDTH=256&FORMAT=image/png&BGCOLOR=0xFFFFFF&LAYERS=MS,UEB,TK100,tk100v,tk100i,tk100w,tk100g,tk100s,TK50,tk50v,tk50i,tk50w,tk50g,TK25,tk25v,tk25i,tk25w,tk25g,TK10,tk10v,tk10i,tk10w,tk10g&STYLES=,,,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT,,DEFAULT,DEFAULT,DEFAULT,DEFAULT,,DEFAULT,DEFAULT,DEFAULT,DEFAULT,,DEFAULT,DEFAULT,DEFAULT,DEFAULT&TRANSPARENT=FALSE&EXCEPTIONS=application/vnd.ogc.se_xml

Hi, brotbuexe;

Try using this url:
http://www.landesvermessung.sachsen.de/ias/basiskarte4/service/SRV4TKFREE/WMSFREE_TK/wmsservice?BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&EXCEPTIONS=application/vnd.ogc.se_xml&

You can not use:
varsion=
request=
Layers=
Styles=
SRS=
BBOX=
width=
height=
format=

But I think you can add any other parameter at the beginning of the url.

orux
orux
orux

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

Back to top Go down

WMS data implementation Empty Re: WMS data implementation

Post  brotbuexe Fri May 07, 2010 8:04 pm

it seems it does not like the & in the url, tried to escape with &amp; but it also doesnt work

brotbuexe

Cantidad de envíos : 17
Fecha de inscripción : 2010-04-13

Back to top Go down

WMS data implementation Empty Re: WMS data implementation

Post  orux Fri May 07, 2010 8:56 pm

brotbuexe wrote:it seems it does not like the & in the url, tried to escape with & but it also doesnt work

Hi, brotbuexe;

try with:

<url><![CDATA[http://www.landesvermessung.sachsen.de/ias/basiskarte4/service/SRV4TKFREE/WMSFREE_TK/wmsservice?BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&EXCEPTIONS=application/vnd.ogc.se_xml&]]></url>

Tested, and works fine.

orux


Last edited by orux on Sat May 08, 2010 10:24 am; edited 1 time in total (Reason for editing : works fine!)
orux
orux

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

Back to top Go down

WMS data implementation Empty Re: WMS data implementation

Post  brotbuexe Sat May 08, 2010 11:45 am

yes, now its working, thanks.

brotbuexe

Cantidad de envíos : 17
Fecha de inscripción : 2010-04-13

Back to top Go down

WMS data implementation Empty Re: WMS data implementation

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