Changes between Version 2 and Version 3 of MapContextHowto
- Timestamp:
- Jan 27, 2009, 3:22:17 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapContextHowto
v2 v3 13 13 http://www.opengis.org/techno/discussions/02-066r1.pdf 14 14 15 Special Build consideration 15 == Special Build consideration == 16 16 17 17 Map Context support requires PROJ4, GDAL/OGR and PHP support libraries. … … 19 19 Build/install the above libraries on your system and then build MapServer with the '--with-wmsclient --with-proj --with-php' configure options. 20 20 21 Map Context options in a mapfile 21 == Map Context options in a mapfile == 22 22 23 23 As mentioned above, a map context document can contain only references to WMS layers (CONNECTIONTYPE WMS). Please refer to the MapServer WMS Client HOWTO for more information on WMS layers. The following metadata are used by MapServer to handle map context information: 24 24 25 Web object metadata 25 === Web object metadata === 26 26 27 27 - wms_context_version … … 67 67 - wms_contactelectronicmailaddress 68 68 69 Layer object metadata 69 === Layer object metadata === 70 70 71 71 - wms_name … … 102 102 Location of an image describing the style. This metadata contains 4 elements separated by spaces. The width of the image, the height, the format and the URL. %s = The name of the style. 103 103 104 Testing Map Context Support 104 == Testing Map Context Support == 105 105 106 106 The first thing to do is to save your mapfile using the saveMapContext? function available from the php_mascript library. After, scan the XML output to look for <!-- WARNING: ... --> comments. Then take actions to fix every warning that you encounter. At the end of this you should have a mapfile compatible with the Map Context. … … 108 108 Then you can load your new Map Context with a php_mapscript application. MapBrowser? from MapLab? is a good tool for that. With this tool you can load Map Context from othere servers with the loadMapContext? function from php_mapscript or save a mapfile into a Map Context. 109 109 110 TODO, Known limitations 110 == TODO, Known limitations == 111 111 112 112 Before 3.7 release