Open tbonfort opened 12 years ago
Author: assefa Date: 2004/11/08 - 18:36
The problem is that the context parser looks for title element first in the
layer and if not found, tries to get the title in the <Server> element. It
save the reulst as wms_title metadata and uses this value when outputing a
context. We may need to save 2 metadatas if the values of server and layer
title are diffrent.
Set it to FUTURE.
Author: tomkralidis Date: 2008/09/23 - 02:08 Norm: I can work on this one. Can you post a test case?
Author: nsavard Date: 2008/09/23 - 15:23 Tom: I'll look into this. It was a long time ago. A lot more grey hairs since then ...
Author: tomkralidis Date: 2009/01/28 - 15:42 Norm: can you post a testcase? Maybe a PHP mapscript?
Author: tomkralidis Date: 2009/01/28 - 16:30 Norm: I was able to reproduce the problem. Fixed in 58ecd0b51e4b4b685cf0cc9c899a9655cc8f98c4 (r8461). MAP.LAYER.METADATA.wms_server_title is now picked up by the parser and written out by the writer.
Here's an example to test the functionality:
#!/usr/bin/python
import mapscript
map = mapscript.mapObj('./config.map')
map.loadMapContext('./wmc100.xml')
map.saveMapContext('./wmc100.xml-out')
Can you test and confirm? Thx
Author: nsavard Date: 2009/01/28 - 17:26 Tom: Yes I'm checking this today. I'll let you know.
Author: nsavard Date: 2009/01/28 - 23:07 Tom, this is fixed.
Reporter: nsavard@mapgears.com Date: 2004/09/22 - 19:21