From: <fx....@oi...> - 2006-10-23 08:23:23
|
Hi Willem,=20 =20 You're right, WMS server base url should be put in the linkage field and the layer in the Name field. So in your case,=20 Linkage =3D http://localhost/cgi-bin/mapserv.exe?map=3DC:/ms4w/apps/GDI/gdi= .map Name =3D region,gdi Select protocol =3D Open GIS WMS 1.1.1. All other wms parameters will be defined by Intermap I think problem come from your "?map=3DC:/" parameter in the url parameter. Try to create an alias for your WMS in your web server. RewriteEngine on RewriteRule ^/mapservice(.*) http://localhost/cgi-bin/mapserv.exe?map=3DC:/ms4w/apps/GDI/gdi.map&$1 If you use "Add Layer" button in intermap does it work ? HTH. Francois -----Message d'origine----- De : geo...@li... [mailto:geo...@li...] De la part de Willem Nieuwenhuis Envoy=E9 : jeudi 19 octobre 2006 17:08 =C0 : geo...@li... Objet : [GeoNetwork-users] Need help configuring geonetwork to use WMS I have Mapserver and Geonetwork (v2.0.2) running (both locally still). I use the following WMS request to display some data: http://localhost/cgi-bin/mapserv.exe?map=3DC:/ms4w/apps/GDI/gdi.map&SERVIC E=3DWMS&VERSION=3D1.1.1&REQUEST=3DGetMap&SRS=3DEPSG:4326&BBOX=3D-18,25,52,5= 5&FORMA T=3Dimage/gif&WIDTH=3D640&HEIGHT=3D480&LAYERS=3Dregion,gdi I want to add a link in geonetwork to this request. 1. I tried to add it as interactive map (OpenGIS Map service (ver 1.1.1)) in the linkage field. The Intermap window is opened, the layer is populated, but no image is displayed (small red cross in the internet explorer). Now I read in an earlier E-mail that the WMS server should be put in the linkage field and the layer in the Name field;=20 But in that case where do all the other parameters go? Do I need to configure Intermap for this? If so, how? BTW: if I put the server in the linkage and the layer in the name field the request generated by geonetwork is: http:/localhost/cgi-bin/mapserv.exe&service=3Dregion&type=3D2': I thought service should be "WMS". 2. I also tried to add it as an online resource (Web Address (URL)) and using the complete request as the URL. Unfortunately geonetworks prepends http://localhost:8080/ in front of the URL Appreciate any help W. Nieuwenhuis System Developer IT-Department, Sector Remote Sensing & GIS International Institute for Geo-information Science and Earth Observation (ITC) P.O. Box 6, NL 7500 AA, Enschede, The Netherlands Phone +31 (0)53 4874 458, Telefax +31 (0)53 4874 385 e-mail nie...@it..., Internet http://www.itc.nl =20 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1= 21642 _______________________________________________ GeoNetwork-users mailing list Geo...@li... https://lists.sourceforge.net/lists/listinfo/geonetwork-users GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork -- Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve. Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et prives. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee. Any data and information contained in this electronic mail is personal, confidential and secret. Any total or partial publication, use or distribution must be authorized. --=20 Ce message a ete verifie par MailScanner pour des virus ou des polluriels e= t rien de suspect n'a ete trouve. Les donnees et renseignements contenus dans ce message sont personnels, con= fidentiels et prives. Toute publication, utilisation ou diffusion, meme par= tielle, doit etre autorisee. Any data and information contained in this electronic mail is personal, con= fidential and secret. Any total or partial publication, use or distribution= must be authorized. |