Hi all,

A user asked earlier today about how to access WEB METADATA values through MapScript, with the betas, and I realized that this example was not included in the MS4W 5.0 Migration Guide (only LAYER metadata was mentioned). I have now added this to the PHP MapScript notes at : https://ms4w.com/trac/wiki/MigrationGuide5.x

Here it is for both PHP and Python MapScripts:


  // PHP: get WEB object metadata
  echo $oMap->web->metadata->get("wms_title");

  # Python: get WEB object metadata
  print (map.web.metadata.get("wms_title"))



Thank-you for using MS4W.
"MS4W: open doors as well as windows"



-jeff



--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/




On 2021-12-23 8:51 a.m., Jeff McKenna via MS4W-Users wrote:
Hi everyone,

A beta2 is now available, containing only the change in PROJ, that was first caught by Sven.  Thanks to all of the fast feedback from everyone.  https://ms4w.com/release/experimental/ms4w_5.0.0_beta2.zip

I also took the time to create a Migration Guide draft on the wiki ( https://ms4w.com/trac/wiki/MigrationGuide5.x ), containing sections on:
   - REQUIREMENTS.txt
   - ms4w.conf
   - PHP MapScript
   - Python MapScript
   - PROJ
   - Removed mapfile parameters
   - map2img

Please help adding to it by editing the wiki page directly.

Wishing a safe and healthy Christmas holiday to all.

Thank-you for using MS4W.
"MS4W: open doors as well as windows"


-jeff




_______________________________________________
MS4W-Users mailing list
MS4W-Users@lists.ms4w.com
https://lists.ms4w.com/mailman/listinfo/ms4w-users

Reply via email to