Changes between Version 2 and Version 3 of MapContextHowto


Ignore:
Timestamp:
Jan 27, 2009, 3:22:17 PM (15 years ago)
Author:
jmckenna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapContextHowto

    v2 v3  
    1313    http://www.opengis.org/techno/discussions/02-066r1.pdf
    1414
    15 Special Build consideration
     15== Special Build consideration ==
    1616
    1717Map Context support requires PROJ4, GDAL/OGR and PHP support libraries.
     
    1919Build/install the above libraries on your system and then build MapServer with the '--with-wmsclient --with-proj --with-php' configure options.
    2020
    21 Map Context options in a mapfile
     21== Map Context options in a mapfile ==
    2222
    2323As 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:
    2424
    25 Web object metadata
     25=== Web object metadata ===
    2626
    2727- wms_context_version
     
    6767- wms_contactelectronicmailaddress
    6868
    69 Layer object metadata
     69=== Layer object metadata ===
    7070
    7171- wms_name
     
    102102    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.
    103103
    104 Testing Map Context Support
     104== Testing Map Context Support ==
    105105
    106106The 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.
     
    108108Then 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.
    109109
    110 TODO, Known limitations
     110== TODO, Known limitations ==
    111111
    112112Before 3.7 release