Hello,

I tested this example and it works.

Thanks.

Best Regards Gerhard

Von meinem iPad gesendet

Am 07.02.2023 um 15:41 schrieb Seth G <[email protected]>:


Hi,

Did you set the metadata at the LAYER level?

LAYER
  NAME "testlayer"
  METADATA
    'ows_metadataurl_href' "https://mapservice.test.org/data/Test.XML"
  END
END


Status: 301 Moved Permanently
Location: D:\TFS\PublicLighting\Main\Python\plpy\mapfiles\generated\test.xml


Seth

--
twitter: @geographika

On Tue, Feb 7, 2023, at 3:08 PM, Gerhard Völkl wrote:


Hello,


I am looking for an getMetadata example


I want to call mapserver to get metadata xml file


Example:


https://mapservice.test.org/cgi-bin/mapserv?map=/data/ows/maps/metatest.map&request=GetMetadata&layer=testlayer


In the map file I used this

 

 'ows_metadataurl_href' "https://mapservice.test.org/data/Test.XML"


But it does not work.


Any examples. Perhaps with example xml file


 

 

Best Regards Gerhard


Von meinem iPad gesendet
_______________________________________________
MapServer-users mailing list


_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to