Hi James,
Could you make one more test by using the "states.shp" file from the Geoserver
demo data and with this mapfile:
MAP
NAME "METADATATEST"
SIZE 800 800
EXTENT -180 -90 180 90
UNITS DD
IMAGECOLOR 20 250 250
SHAPEPATH "c:\ms4w\tmp"
IMAGETYPE "png"
WEB
METADATA
"ows_enable_request" "*"
"wms_srs" "EPSG:4326"
"wms_onlineresource" "http://localhost:8060/cgi-bin/mapserv.exe?"
END
END
# DEBUG 5
CONFIG "PROJ_LIB" "C:/ms4w/proj/nad"
CONFIG "CPL_DEBUG" "ON"
CONFIG "MS_ERRORFILE" "c:/ms4w/tmp/debug.txt"
PROJECTION
"init=epsg:4326"
END
LAYER
NAME "states"
STATUS ON
DATA "c:\ms4w\apps\states"
TYPE POLYGON
PROJECTION
"init=epsg:4326"
END
METADATA
"wms_title" "states
"wms_srs" "EPSG:4326"
END
CLASS
STYLE
COLOR 100 200 100
OUTLINECOLOR 0 0 0
END
END
END
END
Do you still see the metadata links? If you do feel free to include this
mapfile and test data into the GitHub issue.
-Jukka-
-----Alkuperäinen viesti-----
Lähettäjä: Passmore, James H. [mailto:[email protected]]
Lähetetty: 19. lokakuuta 2018 14:19
Vastaanottaja: Rahkonen Jukka (MML) <[email protected]>;
[email protected]
Aihe: RE: Disable automatic metadata in MapServer 7.2
Hi Jukka,
I disabled the INSPIRE content in my service and I still have the generated
metadata sections like below in my layers.
<MetadataURL type="ISOTC211/19115">
<Format>text/xml</Format>
<OnlineResource xlink:type="simple"
xlink:href="http://ogc2.bgs.ac.uk/cgi-bin/UGA_ARGI/ows?language=eng&request=GetMetadata&layer=RAILWAY"/>
</MetadataURL>
James
-----Original Message-----
From: Rahkonen Jukka (MML) <[email protected]>
Sent: 19 October 2018 12:14
To: Passmore, James H. <[email protected]>; [email protected]
Subject: Re: Disable automatic metadata in MapServer 7.2
Hi James,
I do not have INSPIRE configurations set and I do not have any metadata links
in the body of GetCapabilities.
Without reading the code we can't know if adding INSPIRE stuff adds also
something to the body. Fortunately it is easy to test by commenting out
everything that seems to relate to INSPIRE in your mapfile. Or write a new
as-simple-as-possible mapfile and see how it behaves.
-Jukka-
-----Alkuperäinen viesti-----
Lähettäjä: Passmore, James H. [mailto:[email protected]]
Lähetetty: 19. lokakuuta 2018 14:09
Vastaanottaja: Rahkonen Jukka (MML) <[email protected]>;
[email protected]
Aihe: RE: Disable automatic metadata in MapServer 7.2
So I do have INSPIRE configurations set, but the links I refer to are in the
body of GetCapabilities response not the INSPIRE extended capabilities section.
-----Original Message-----
From: Rahkonen Jukka (MML) <[email protected]>
Sent: 19 October 2018 12:03
To: Passmore, James H. <[email protected]>; [email protected]
Subject: Re: Disable automatic metadata in MapServer 7.2
Hi,
I do not see any metadata links at all in our WMS services made with Mapserver
7.2.0 and I have certainly not disabled them in any way. I guess that
something that you have done has enabled those. Have you played for example
with some Inspire configurations?
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users [mailto:[email protected]]
Puolesta Passmore, James H.
Lähetetty: 19. lokakuuta 2018 13:48
Vastaanottaja: [email protected]
Aihe: [mapserver-users] Disable automatic metadata in MapServer 7.2
Is it possible to disable/prevent the automatically created ISO metadata links
appearing in WMS GetCapabilities response?
The reason for asking is that at the moment these created links are making the
GetCapabilities response invalid.
Thanks
James Passmore
-------------------------------
British Geological Survey,
Environmental Science Centre,
KEYWORTH,
United Kingdom,
NG12 5GG
orcid: https://orcid.org/0000-0002-9891-6265
-------------------------------
Phone: +44 (0)115 936 3125
-------------------------------
Skype: BGSjames
________________________________
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
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
________________________________
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.
________________________________
________________________________
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
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users