Re: [mapserver-users] Getting all endpoints on a single MapServer instance

2018-10-13 Thread Jonathan Moules
I figure it's reasonable to assume that not all services end up in the 
catalogues (for lots of reasons) - I'm already looking in lots of 
catalogues - so I was hoping there was another way to get the other 
endpoints if you already had at least one map on that server.


But if it can't be done, then it can't be done.

Thanks again,

Jonathan



On 2018-10-08 15:53, Lime, Steve D (MNIT) wrote:

Correct, MapServer doesn't provide this capability. You'd have to uses a 
catalog services or write something custom.

-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Passmore, James H.
Sent: Monday, October 08, 2018 5:00 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Getting all endpoints on a single MapServer 
instance


Is there a way to get all the endpoints (maps) that are available from a given 
server?

I hope not, each service should be isolated from another.

To find different services from a single provider you should search some 
metadata catalogue, perhaps:

http://mcc.jrc.ec.europa.eu/emis/dev.py?N=42=277_page=Catalogue%20Service%20(CSW)_chap=Data%20access

James

-Original Message-
Today's Topics:

1. Getting all endpoints on a single MapServerinstance
   (Jonathan Moules)


--

Message: 1
Date: Sat, 6 Oct 2018 20:08:45 +0100
From: Jonathan Moules 
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Getting all endpoints on a single MapServer
instance
Message-ID: <92a837a1-0334-a0e3-6757-bdee4bc22...@lightpear.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi List,

Is there a way to get all the endpoints (maps) that are available from a given 
server?

Or put another way, take this example where these two URL's both use different map files, and so 
have different layers (one is pointing to "wms_4km_modisa-bbp.map", the other to 
"wms_9km_seawifs-pp.map"):

http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map=wms=getcapabilities

http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map=wms=getcapabilities

If I only knew one of those URL's, would it be possible for me to figure out 
the other one, ideally via a GET request?

Thanks,
Jonathan

  This message (and any attachments) is for the recipient only. NERC is subject 
to the Freedom of Information Act 2000 and the contents of this email and any 
reply you make may be disclosed by NERC unless it is exempt from release under 
the Act. Any material supplied to NERC may be stored in an electronic records 
management system.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Getting all endpoints on a single MapServer instance

2018-10-08 Thread Lime, Steve D (MNIT)
Correct, MapServer doesn't provide this capability. You'd have to uses a 
catalog services or write something custom.

-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Passmore, James H.
Sent: Monday, October 08, 2018 5:00 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Getting all endpoints on a single MapServer 
instance

> Is there a way to get all the endpoints (maps) that are available from a 
> given server?

I hope not, each service should be isolated from another.

To find different services from a single provider you should search some 
metadata catalogue, perhaps:

http://mcc.jrc.ec.europa.eu/emis/dev.py?N=42=277_page=Catalogue%20Service%20(CSW)_chap=Data%20access

James

-Original Message-
Today's Topics:

   1. Getting all endpoints on a single MapServerinstance
  (Jonathan Moules)


--

Message: 1
Date: Sat, 6 Oct 2018 20:08:45 +0100
From: Jonathan Moules 
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Getting all endpoints on a single MapServer
instance
Message-ID: <92a837a1-0334-a0e3-6757-bdee4bc22...@lightpear.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi List,

Is there a way to get all the endpoints (maps) that are available from a given 
server?

Or put another way, take this example where these two URL's both use different 
map files, and so have different layers (one is pointing to 
"wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"):

http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map=wms=getcapabilities

http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map=wms=getcapabilities

If I only knew one of those URL's, would it be possible for me to figure out 
the other one, ideally via a GET request?

Thanks,
Jonathan

 This message (and any attachments) is for the recipient only. NERC is subject 
to the Freedom of Information Act 2000 and the contents of this email and any 
reply you make may be disclosed by NERC unless it is exempt from release under 
the Act. Any material supplied to NERC may be stored in an electronic records 
management system.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Getting all endpoints on a single MapServer instance

2018-10-08 Thread Passmore, James H.
> Is there a way to get all the endpoints (maps) that are available from a 
> given server?

I hope not, each service should be isolated from another.

To find different services from a single provider you should search some 
metadata catalogue, perhaps:

http://mcc.jrc.ec.europa.eu/emis/dev.py?N=42=277_page=Catalogue%20Service%20(CSW)_chap=Data%20access

James

-Original Message-
Today's Topics:

   1. Getting all endpoints on a single MapServerinstance
  (Jonathan Moules)


--

Message: 1
Date: Sat, 6 Oct 2018 20:08:45 +0100
From: Jonathan Moules 
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Getting all endpoints on a single MapServer
instance
Message-ID: <92a837a1-0334-a0e3-6757-bdee4bc22...@lightpear.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi List,

Is there a way to get all the endpoints (maps) that are available from a given 
server?

Or put another way, take this example where these two URL's both use different 
map files, and so have different layers (one is pointing to 
"wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"):

http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map=wms=getcapabilities

http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map=wms=getcapabilities

If I only knew one of those URL's, would it be possible for me to figure out 
the other one, ideally via a GET request?

Thanks,
Jonathan

 This message (and any attachments) is for the recipient only. NERC is subject 
to the Freedom of Information Act 2000 and the contents of this email and any 
reply you make may be disclosed by NERC unless it is exempt from release under 
the Act. Any material supplied to NERC may be stored in an electronic records 
management system.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Getting all endpoints on a single MapServer instance

2018-10-08 Thread Jonathan Moules

Thanks both for the answer. That's a shame, but it's good to know.

Thanks again!


On 2018-10-08 07:24, Marco wrote:

No.

Mapserver is completely stateless. It loads the file specified in the 
request and parses it as a map file. That file can be any file on the 
file system which is readable by mapserver.


Mapserver has no configuration file holding the files which are 
regarded as mapfiles.


MArcp


On 06-10-18 21:08, Jonathan Moules wrote:

Hi List,

Is there a way to get all the endpoints (maps) that are available 
from a given server?


Or put another way, take this example where these two URL's both use 
different map files, and so have different layers (one is pointing to 
"wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"):


http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map=wms=getcapabilities 



http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map=wms=getcapabilities 



If I only knew one of those URL's, would it be possible for me to 
figure out the other one, ideally via a GET request?


Thanks,
Jonathan






___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Getting all endpoints on a single MapServer instance

2018-10-08 Thread Marco

No.

Mapserver is completely stateless. It loads the file specified in the 
request and parses it as a map file. That file can be any file on the 
file system which is readable by mapserver.


Mapserver has no configuration file holding the files which are regarded 
as mapfiles.


MArcp


On 06-10-18 21:08, Jonathan Moules wrote:

Hi List,

Is there a way to get all the endpoints (maps) that are available from 
a given server?


Or put another way, take this example where these two URL's both use 
different map files, and so have different layers (one is pointing to 
"wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"):


http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map=wms=getcapabilities 



http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map=wms=getcapabilities 



If I only knew one of those URL's, would it be possible for me to 
figure out the other one, ideally via a GET request?


Thanks,
Jonathan




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Getting all endpoints on a single MapServer instance

2018-10-07 Thread Robert Sanson
Hi Jonathan

No, you can't get all end points. The GetCapabilities response only rturns what 
is listed in the specific map file.

Regards

Robert

-Original Message-
From: mapserver-users  On Behalf Of 
Jonathan Moules
Sent: Sunday, 7 October 2018 8:09 a.m.
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Getting all endpoints on a single MapServer instance

Hi List,

Is there a way to get all the endpoints (maps) that are available from a given 
server?

Or put another way, take this example where these two URL's both use different 
map files, and so have different layers (one is pointing to 
"wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"):

http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map=wms=getcapabilities

http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map=wms=getcapabilities

If I only knew one of those URL's, would it be possible for me to figure out 
the other one, ideally via a GET request?

Thanks,
Jonathan


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Getting all endpoints on a single MapServer instance

2018-10-06 Thread Jonathan Moules

Hi List,

Is there a way to get all the endpoints (maps) that are available from a 
given server?


Or put another way, take this example where these two URL's both use 
different map files, and so have different layers (one is pointing to 
"wms_4km_modisa-bbp.map", the other to "wms_9km_seawifs-pp.map"):


http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_4km_modisa-bbp.map=wms=getcapabilities

http://gmis.jrc.ec.europa.eu/cgi-bin/mapserv?map=/srv/www/htdocs/wms/wms_9km_seawifs-pp.map=wms=getcapabilities

If I only knew one of those URL's, would it be possible for me to figure 
out the other one, ideally via a GET request?


Thanks,
Jonathan


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users