[GeoNetwork-users] Map Server

Hi Francois!

2007/8/29, François-Xavier PRUNAYRE <fx.prunayre@anonymised.com>:

Which version of GeoNetwork are you using ? 2.0 or 2.1

Francois

------------------------------

*De :* Igor V. Burago [mailto:iburago@anonymised.com]
*Envoyé :* mercredi 29 août 2007 03:32
*À :* François-Xavier PRUNAYRE
*Objet :* Re: [GeoNetwork-users] Map Server

Hi Francois!

2007/8/28, François-Xavier PRUNAYRE < fx.prunayre@anonymised.com>:

I think you could not get intermap works with mapserver without using a
wms
service. So first set up a wms service for your mapfile :
http://mapserver.gis.umn.edu/docs/howto/wms_server

Name should be the name of the layer as defined in the getCapabilities
operation of the WMS services.

For example :
    <onLineSrc>
        <linkage> http://gesteau.eaufrance.fr/service?&lt;/linkage&gt;
        <protocol>OGC:WMS-1.1.1-http-get-map</protocol>
        <orName>CONTRATEX</orName>
        <orDesc>Carte des contrats de rivière en cours
d'exécution</orDesc>
    </onLineSrc>

Maybe you could also get more info on that thread :
http://www.nabble.com/Need-help-configuring-geonetwork-to-use-WMS-tf3230378s

18419.html#a8975280
HTH
Francois
-----Message d'origine-----
De: geonetwork-users-bounces@lists.sourceforge.net
[mailto: geonetwork-users-bounces@lists.sourceforge.net] De la part de
KiranShakya
Envoyé: mardi 28 août 2007 10:55
À: geonetwork-users@lists.sourceforge.net
Objet: Re: [GeoNetwork-users] Map Server

hi Igor

I am also facing the same problem. I have UMN Mapserver and
GeoNetwork. I
want to use InterMap as the client for MapServer but no idea where to
configure.

I did went to Distribution of geonetwork > Distribution info> online
resources.

On linkage :
http://myhost/cgi-bin/mapserv.exe?map=/ms4w/apps/kiranWMS/map/demo.map
on protocol: OpenGIS Map service (ver 1.1.1)
on Name:
on Description: My Site

by doing this, i get the link "Internet mapping" but it does not connect
to
my UMN MapServer. I could not see any maps.

If any of you have found the solution in this matter, I will be very
grateful, if you could share the information with me (or all of us).

Thank you in advance.

Kiran
--
View this message in context:
http://www.nabble.com/Map-Server-tf4320729s18419.html#a12364340
Sent from the geonetwork-users mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

I've tried your solution from http://www.nabble.com/Need-help-configuring-geonetwork-to-use-WMS-tf3230378s18419.html#a8975280
thread. But it does not work.

I entered these data:
Linkage = http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/workshop/itasca.map
;
Name = drgs;
Select protocol = OpenGIS Map service (ver. 1.1.1) ("<protocol>OGC:
WMS-1.1.1-http-get-map </protocol>" in XML).

When I'm trying http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/workshop/itasca.map&service=wms&version=1.1.1&layers=drgs&request=GetMap
URL in my browser everything works correctly (I can see map in browser).
But GeoNetwork makes another URL: http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/workshop/itasca.map&service=drgs&type=2
. It seems strange, I thought service should be "wms". And when I'm trying
this URL in browser, it does not work.

Thank You,
Igor V. Burago

Now I'm using GeoNetwork 2.0.3, but soon I'll have to switch over to new
GeoNetwork 2.1 release.
Is there valuable changes in linking maps between 2.0.3 and 2.1 versions of
GeoNetwork?

By the way, may be you have tiny working map with WMS at hand? I would like
to check is there problem in my maps. But still I can't, because I'm not
sure I have correct WMS map. Could you send me complete example (map file,
shape file, etc.) of map that really works and supports WMS? I'll really
appreciate it.

Thank You,
Igor V. Burago

Hi Francois!

2007/8/31, François-Xavier PRUNAYRE <fx.prunayre@anonymised.com>:

Hi Igor, could you try to make it work with these parameters :
<onLineSrc>
> <linkage> http://gesteau.eaufrance.fr/service?&lt;/linkage&gt;
> <protocol>OGC:WMS-1.1.1-http-get-map</protocol>
> <orName>CONTRATEX</orName>
> <orDesc>Carte des contrats de rivière en cours
> d'exécution</orDesc>
</onLineSrc>
And check that intermap is showing the map (zoom to France to check the
map).

I'm not an Intermap expert but I think it could be linked to the url of
intermap
If that works :

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/workshop/itasca.map&serv
ice=wms&version=1.1.1&layers=drgs&request=GetMap
... you're WMS is up and running.

Maybe having a "?" or "&" in the linkage is the origin. I'll try to test
that ... but I'm quite busy today.
Cheers. Francois

-----Message d'origine-----
De: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net ] De la part de
Igor
V. Burago
Envoyé: jeudi 30 août 2007 02:00
À: geonetwork-users@lists.sourceforge.net
Objet: Re: [GeoNetwork-users] Map Server

Hi Francois!

2007/8/29, François-Xavier PRUNAYRE <fx.prunayre@anonymised.com>:
>
> Which version of GeoNetwork are you using ? 2.0 or 2.1
>
>
>
> Francois
>
>
> ------------------------------
>
> *De :* Igor V. Burago [mailto:iburago@anonymised.com]
> *Envoyé :* mercredi 29 août 2007 03:32
> *À :* François-Xavier PRUNAYRE
> *Objet :* Re: [GeoNetwork-users] Map Server
>
>
>
> Hi Francois!
>
> 2007/8/28, François-Xavier PRUNAYRE < fx.prunayre@anonymised.com>:
>
> I think you could not get intermap works with mapserver without using a
> wms
> service. So first set up a wms service for your mapfile :
> http://mapserver.gis.umn.edu/docs/howto/wms_server
>
> Name should be the name of the layer as defined in the getCapabilities
> operation of the WMS services.
>
> For example :
> <onLineSrc>
> <linkage> http://gesteau.eaufrance.fr/service?&lt;/linkage&gt;
> <protocol>OGC:WMS-1.1.1-http-get-map</protocol>
> <orName>CONTRATEX</orName>
> <orDesc>Carte des contrats de rivière en cours
> d'exécution</orDesc>
> </onLineSrc>
>
> Maybe you could also get more info on that thread :
>

http://www.nabble.com/Need-help-configuring-geonetwork-to-use-WMS-tf3230378s
>
> 18419.html#a8975280
> HTH
> Francois
> -----Message d'origine-----
> De: geonetwork-users-bounces@lists.sourceforge.net
> [mailto: geonetwork-users-bounces@lists.sourceforge.net] De la part de
> KiranShakya
> Envoyé: mardi 28 août 2007 10:55
> À: geonetwork-users@lists.sourceforge.net
> Objet: Re: [GeoNetwork-users] Map Server
>
>
> hi Igor
>
> I am also facing the same problem. I have UMN Mapserver and
> GeoNetwork. I
> want to use InterMap as the client for MapServer but no idea where to
> configure.
>
> I did went to Distribution of geonetwork > Distribution info> online
> resources.
>
> On linkage :
> http://myhost/cgi-bin/mapserv.exe?map=/ms4w/apps/kiranWMS/map/demo.map
> on protocol: OpenGIS Map service (ver 1.1.1)
> on Name:
> on Description: My Site
>
> by doing this, i get the link "Internet mapping" but it does not connect
> to
> my UMN MapServer. I could not see any maps.
>
> If any of you have found the solution in this matter, I will be very
> grateful, if you could share the information with me (or all of us).
>
> Thank you in advance.
>
> Kiran
> --
> View this message in context:
> http://www.nabble.com/Map-Server-tf4320729s18419.html#a12364340
> Sent from the geonetwork-users mailing list archive at Nabble.com.
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
>
>
>
>
>
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
>
>
> I've tried your solution from
http://www.nabble.com/Need-help-configuring-geonetwork-to-use-WMS-tf3230378s

18419.html#a8975280
> thread. But it does not work.
>
> I entered these data:
> Linkage =
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/workshop/itasca.map
> ;
> Name = drgs;
> Select protocol = OpenGIS Map service (ver. 1.1.1) ("<protocol>OGC:
> WMS-1.1.1-http-get-map </protocol>" in XML).
>
> When I'm trying

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/workshop/itasca.map&serv
ice=wms&version=1.1.1&layers=drgs&request=GetMap
> URL in my browser everything works correctly (I can see map in browser).
> But GeoNetwork makes another URL:
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/workshop/itasca.map&serv

ice=drgs&type=2
> . It seems strange, I thought service should be "wms". And when I'm
trying
> this URL in browser, it does not work.
>
> Thank You,
> Igor V. Burago
>
Now I'm using GeoNetwork 2.0.3, but soon I'll have to switch over to new
GeoNetwork 2.1 release.
Is there valuable changes in linking maps between 2.0.3 and 2.1 versions
of
GeoNetwork?

By the way, may be you have tiny working map with WMS at hand? I would
like
to check is there problem in my maps. But still I can't, because I'm not
sure I have correct WMS map. Could you send me complete example (map file,

shape file, etc.) of map that really works and supports WMS? I'll really
appreciate it.

Thank You,
Igor V. Burago
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Unfortunately, I can't. There is no possible way to connect the Internet,
except proxy at my organization. But there is no way to specify login name
and password for proxy in GeoNetwork now. (This feature will be added in new
2.1 release, I think. That's why I'll have to switch over to new release
soon.) So I can't test InterMap using remote map services.

But I can't understand why InterMap fails viewing local maps. I've tried to
use alias (using RewriteEngine of Apache) instead of long URL with '?' and
'&'. But there is no positive result: "The requested operation could not be
performed." May be InterMap has detailed diagnostics, may be I can see it?

Thank You,
Igor V. Burago