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

Creating WMS Maps

Go down

Creating WMS Maps Empty Creating WMS Maps

Post  amarok67 on Mon Jan 30, 2012 9:18 pm

Hello.
as a new user of OruxMaps, curiosity drives me to experiment with the creation of WMS.
The documentation mentions the WMS Creator, and the "mini how to WMS".
As I understand, the WMS Creator automatically performs the entire procedure, the "how to" is there only to explain what it does ... ?
I tried with the information found on "http://www.geosignal.org/wmsclient/viewer/frameview.phtml"
The "Getcapability" informs me that only the layer "Pays du monde" will be compatible because ESPG: 4326.
Am I right?
But the test in the WMS creator gives me no return.
In the end, the file is created, but does not work ...
Can anyone help me? I turn around

Many Thanks
Best regards
Bernard

amarok67

Cantidad de envíos : 18
Fecha de inscripción : 2012-01-21

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  orux on Tue Jan 31, 2012 7:42 pm

amarok67 wrote:Hello.
as a new user of OruxMaps, curiosity drives me to experiment with the creation of WMS.
The documentation mentions the WMS Creator, and the "mini how to WMS".
As I understand, the WMS Creator automatically performs the entire procedure, the "how to" is there only to explain what it does ... ?
I tried with the information found on "http://www.geosignal.org/wmsclient/viewer/frameview.phtml"
The "Getcapability" informs me that only the layer "Pays du monde" will be compatible because ESPG: 4326.
Am I right?
But the test in the WMS creator gives me no return.
In the end, the file is created, but does not work ...
Can anyone help me? I turn around

Many Thanks
Best regards
Bernard


Hi,

Using this url: http://www.geosignal.org/cgi-bin/wmsmap
with WMS creator, you will be able to see a lot of layers, not only world map.

Try again,

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE
orux
orux

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

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  amarok67 on Wed Feb 01, 2012 8:36 am

Hey José and many thanks
I think , I have tried both links, I will retry again with the link you have mentionned
But, am I right to think if I use the WMS Creator, I don't have to follow the process specified in "how to wms ";

TNX

best regards
Bernard

amarok67

Cantidad de envíos : 18
Fecha de inscripción : 2012-01-21

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  amarok67 on Wed Feb 01, 2012 9:50 am

Hy again :
I try again, and that's what I did :
1)enter the WMS URL , push OK
a layer popup opened
2) i chose a layer
3) i chose a zoom level and push "test",

nothing happens as described in the manual, nothing appears in the test window ...


amarok67

Cantidad de envíos : 18
Fecha de inscripción : 2012-01-21

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  amarok67 on Wed Feb 01, 2012 9:57 am

another question:
Where are stored the information created by WMS Creator?
I see the name of my created WMS in the Online cards window , but the file "wms_services.xml" has not changed ...

many thanks for help

amarok67

Cantidad de envíos : 18
Fecha de inscripción : 2012-01-21

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  amarok67 on Wed Feb 08, 2012 4:10 pm

bonjour
je ne suis toujours pas arrivé à créer des cartes wms.
quelqu'un aurait-il les réponses à mes questions.
cela m'aiderait certainement.


hello
I'm still not managed to create a map wms.
have anyone answers to my questions ?
maybe it would help me.

Merci
Tnx

amarok67

Cantidad de envíos : 18
Fecha de inscripción : 2012-01-21

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  yip on Wed Feb 08, 2012 5:37 pm

oruxmaps stores WMS entries in an internal database. you can't easily access this file.
in theory, once the info is in the database, you could safely remove the XML file as it is no longer needed (well, except for re-install of the software)


Could you try with the layer "Pays du monde" ? does it work ?

all other layers of this WMS are with EPSG:27582, which is not standard projection. it might not work.
but i'm not sure of that.

yip

Cantidad de envíos : 40
Fecha de inscripción : 2012-01-21

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  amarok67 on Thu Feb 09, 2012 12:24 pm

Hy Yip
thank you very much for your message
that you answer me this is what I thought and why I wanted a confirmaton.
Indeed, only the layer "Countries of the world" should work, if we follow the explanation of the documentation ...
But if I select this layer and I click "test", nothing happens in the little window...


amarok67

Cantidad de envíos : 18
Fecha de inscripción : 2012-01-21

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  yip on Thu Feb 09, 2012 6:25 pm

it seems to work. french explanation below.

try to put this in your oruxmaps/mapfiles/wms_services.xml :

<?xml version="1.0" encoding="UTF-8"?>
<wms_services>
<wms>
<name>GeoSignal</name>
<uid>1287</uid><!--unique identifier in your database cache; >1000 -->
<desc>Geosignalwms</desc>
<url>http://www.geosignal.org/cgi-bin/wmsmap?</url>
<minzoomlevel>6</minzoomlevel><!-- 0 to 20 -->
<maxzoomlevel>16</maxzoomlevel><!-- 0 to 20 -->
<version>1.1.1</version><!-- do not change -->
<layers>RASTER4000k,RASTER1000k,RASTER500k,RASTER250k,RASTER100k,RASTER50k,RASTER25k,RASTER5k</layers>
<coordinatesystem>EPSG:4326</coordinatesystem><!-- do not change -->
<format>image/png</format>
<cache>1</cache><!-- not in use -->
</wms>

</wms_services>


Note the successive LAYERS, you can add or remove if you want.

after that, re-run oruxmaps
- online sources
- rescan online sources

the new source "WMS:Geosignal" should appear.

select it and have fun !

by doing like this, you do not need the "WMS creator" tool.

The problem may be because WMScreator allow you to choose only one layer at a time, something like a generic layer that would be called "ALL_RASTERS" for example and auto-adapt to the scale of the map.
With Geosignal, you need to specify ALL the layers : 1000k, 250k, 25k ...

I didn't test it much, perhaps you will need to adapt "minzoomlevel" and "zoomaxlevel"

-------FRENCH---------
Ca marche chez moi, même malgré cette histoire de EPSG:27852 scratch

modifie ton fichier oruxmaps/mapfiles/wms_services.xml sur la carte SD, avec le contenu que j'ai mis au dessus en italique.
relance oruxmaps et re-scan les maps dans "online maps"
la map WMS Geosignal devrait apparaitre.
c'est tout .

plus besoin de WMScreator.
les serveurs WMS sont parfois assez complexes et tordus, c'est le cas de geosignal, et l'outil WMSCreator ne peut pas s'adapter a tous les WMS existants, sinon ca deviendrait une usine a gaz.
Pour info, je pense que WMSCreator ne sait pas bien gérer les layers multiples. en theorie, il faudrait changer de layer a chaque niveau de zoom (RASTER4000k pour la france entiere, et RASTER5k pour un gros plan sur une ruelle)
Certains WMS sont plus simples et n'ont qu'un seul layer, par exemple ALL_RASTERS, qui s'adaptera tout seul en fonction du zoom.
Malheureusement, c'est pas le cas de geosignal. faut tout lui dire.
Je crois que le test ne marchait pas parce que Geosignal affiche une page blanche quand il trouve que le zoom est inapproprié: par exemple , si on lui demande d'afficher la carte précise d'un quartier, avec le layer "pays du monde" No c'est pas cohérent => page blanche.
C'est pour ca qu'il faut lui donner TOUS les layers, pour qu'il puisse choisir le bon dedans


Si tout ne s'affiche pas comme tu veux, tu peux rajouter ou enlever des "layers", par exemple, je n'ai pas mis "pays du monde" ni "communes".
Tu peux avoir la liste des layers avec :
http://www.geosignal.org/cgi-bin/wmsmap?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
attention, il faut fouiller ... c'est la meme liste que tu avais dans WMScreator de toute façon.

Il manque peut etre des niveaux de zooms, tu peux changer les valeurs de "minzoomlevel" et surtout "maxzoomlevel" qui est peut etre insuffisant pour le layer très précis RASTER5k.
j'ai pas eu le temps de fignoler What a Face

n'oublie pas, a chaque fois que tu modifie ce fichier, de rafraichir les cartes dans oruxmaps

Thanks orux for this wonderful software !

yip

Cantidad de envíos : 40
Fecha de inscripción : 2012-01-21

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  amarok67 on Thu Feb 09, 2012 9:50 pm

Merci beaucoup pour ton aide, yip.
ça a l'air de fonctionner , même si je n'ai pas encore tout compris avec les niveaux de zooms à définir et les différentes couches. Je testerai cela plus à fond dans les jours qui viennent.

Merci à Orux, pour cette magnifique appli.

Thank you very much for your help, yip.
it seems to work, although I have not yet fully understood with zoom levels, layers. I will test it further in the coming days.

Thank you to Orux, for this wonderful App.

amarok67

Cantidad de envíos : 18
Fecha de inscripción : 2012-01-21

View user profile

Back to top Go down

Creating WMS Maps Empty Re: Creating WMS Maps

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


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