[GeoNetwork-devel] wms

-----Original Message-----
From: geonetwork-devel-bounces@lists.sourceforge.net [mailto:geonetwork-devel-bounces@lists.sourceforge.net] On Behalf Of Petur Kirke
Sent: 02 November 2006 13:26
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] wms

We are using Mapserver as WMS-server.

Welcome to the group :slight_smile:

Does the geonetwork software support Mapserver ?

The answer is yes!

I’m using Mapserver to create web map services for the GeoNetwork node in FAO

----- Original Message -----
From: “Mathieu Coudert” mathieu.coudert@anonymised.com
To: “Petur Kirke” peturkirke@anonymised.com
Cc: geonetwork-devel@lists.sourceforge.net
Sent: Thursday, November 02, 2006 9:03 AM
Subject: Re: [GeoNetwork-devel] wms

Hi Petur,

your WMS configuration is wrong. Indeed the Getcapabilities is ok but
when
you
perform a Getmap, there a Mapserver Exception which is :

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?> <!DOCTYPE

ServiceExceptionReport SYSTEM
“http://schemas.opengeospatial.net/wms/1.1.1/exception_1_1_1.dtd”>


msWMSLoadGetMapParams(): WMS server error. Image size out of range,
WIDTH
and
HEIGHT must be between 1 and 2048 pixels.

Regards,

Mathieu

Quoting Petur Kirke peturkirke@anonymised.com:

hello again, and thanks a lot for your help so far.

i want to ask one more question.

i am still trying, and hope to see a map from our wms server. When i
am
on
this site (popup):

http://lv-ternan.fds.fo:8080/geonetwork/intermap/srv/fo/mapServers.listServers

To the right of “Map Server” I choose “- Other WMS server (specify
below)”
and to the right of “Specify if other:” i write

http://www.kagi.fo/cgi-bin/mapserv.exe?map=c:/heimasidur/Kagi/Data/kortal.map

Then i get a very nice screen with information about all the data
and layers, and everything looks fine so far. Then i choose some
layers, and push “OK” at the bottom. Than i get a nice screen where
the map should arrive, but the image isnt there - or, there is an
image, but only with the x at the top left
corner,
that means it cannot show the image.
Do you know what i have done wrong ? Can i see the error message
anywhere ?

----- Original Message -----
From: “Mathieu Coudert” mathieu.coudert@anonymised.com
To: “Petur Kirke” peturkirke@anonymised.com
Cc: geonetwork-devel@lists.sourceforge.net
Sent: Tuesday, October 31, 2006 5:47 PM
Subject: Re: [GeoNetwork-devel] wms

It looks wrong Petur,

Delete the second paragraph, you just need to have one WMS
protocol. And the second one is not correct, the tag orName must be
completed, it corresponds to the layer name of your WMS layer
(raster50cm in your
case).
Moreover, in the tag linkage, you don’t need to give parameter such
as REQUEST, LAYERS…

Mathieu

Quoting Petur Kirke peturkirke@anonymised.com:

i dont know if i have done it right, but everything is not
working
yet,
even
if it looks better. This is what i have now:

[http://www.kagi.fo](http://www.kagi.fo) WWW:LINK-1.0-http--link Kagin

http://www.kagi.fo/cgi-bin/mapserv.exe?map=c:/heimasidur/Kagi/Data/

Kortal.map&VERSION=1.1.0&REQUEST=GetCapabilities&Service=WMS</li

nkage>
OGC:WMS-1.1.1-http-get-capabilities

mapfile

http://www.kagi.fo/cgi-bin/mapserv.exe?map=c:/heimasidur/Kagi/Data/

Kortal.map
OGC:WMS-1.1.1-http-get-map
raster50cm
raster …

does it look ok or wrong ?

----- Original Message -----
From: “Mathieu Coudert” mathieu.coudert@anonymised.com
To: “Petur Kirke” peturkirke@anonymised.com
Sent: Tuesday, October 31, 2006 3:13 PM
Subject: Re: [GeoNetwork-devel] wms

Edit your metadata in XML and then your can modify it. Actually
your metadata file in XML is like that :

http://www.kagi.fo/cgi-bin/mapserv.exe?map=c:/heimasidur/Kagi/Data/

Kortal.map&VERSION=1.1.0&REQUEST=GetCapabilities&Service=WMS

OGC:WMS-1.1.1-http-get-capabilities

mapfile

you just have to change it in:

http://www.kagi.fo/cgi-bin/mapserv.exe?map=c:/heimasidur/Kagi/Data/

Kortal.map
OGC:WMS-1.1.1-http-get-map
Raster50cm
raster …

( Select the button “metadata” and then clic on “XML View” and
“edit”
your
metadata)

mathieu

Quoting Petur Kirke peturkirke@anonymised.com:

I am sorry, but where should i put this ?:

http://www.kagi.fo/cgi-bin/mapserv.exe?map=c:/heimasidur/Kagi/Data/

Kortal.map
OGC:WMS-1.1.1-http-get-map
Raster50cm
raster …

We are using Mapserver as our WMS-server. Should i put this in
the
.map
file
? Or somewhere in Geonetwork ?

We are using IIS as webserver.

----- Original Message -----
From: “Mathieu Coudert” mathieu.coudert@anonymised.com
To: geonetwork-devel@lists.sourceforge.net
Sent: Tuesday, October 31, 2006 1:58 PM
Subject: Re: [GeoNetwork-devel] wms

Hi Petur,

The distribution part of tour metadata is not correct as
well. Try this way :

http://www.kagi.fo/cgi-bin/mapserv.exe?map=c:/heimasidur/Kagi/Data/

Kortal.map

OGC:WMS-1.1.1-http-get-map
Raster50cm
raster …

But you should configure your web server (apache?) using a
proxy
path
to
hide
your map directory (for instance http://www.kagi.fo/services?
)

Mathieu

Quoting Petur Kirke peturkirke@anonymised.com:

Hi

We are trying to build a geonetwork system here, and this
is a
link
to somewhere on our system:

http://lv-ternan.fds.fo:8080/geonetwork/srv/fo/main.search?extended=off&remote=off&attrset=geo&any=myndakort&hitsPerPage=10

Somewhere in the middle of this page, there is a botton
called “Interactive Map”. When i click on this button i get
the error:

“The requested operation could not be performed”

What have we done wrong or what is missing ?

Can anyone help ? or give some clue ?

regards

Petur Kirke
Faroe Islands



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=lnk&kid=120709&bid=263057&dat=121642


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


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=lnk&kid=120709&bid=263057&dat=121642


GeoNetwork-devel mailing list GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork