Copyright (c) 2003, DM Solutions Group Inc. * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. **/ /** * * This demo index is NOT portable ... it's intended use is for that of the * GeoConnections WFS Demo *ONLY* * **/ if (!extension_loaded("MapScript")) { if (PHP_OS == "WINNT" || PHP_OS == "WIN32") dl("php_mapscript_41.dll"); else dl("php_mapscript_41.so"); } include "fn_cfs_demo.php"; if (sizeof($_POST) > 0) $HTTP_FORM_VARS = $_POST; else if (sizeof($_GET) > 0) $HTTP_FORM_VARS = $_GET; else $HTTP_FORM_VARS = array(""); ?> Filter Encding test with WFS and Novascotia data
SERVER: DM Solutions WFS Demo Server
METHOD:
LAYER:
'; } ?>
FILTER:
and
 
 
and
 
  Note: Alphanumeric searches are case-sensitive
$val) { if (is_numeric ($key)) { $jsElement = $key; } else { $jsElement = '\'' . $key . '\''; } if (is_array ($val)) { $jsArrayString .= arrayToJS ($val, $jsArrayName . '[' . $jsElement . ']'); } else { if (is_numeric ($val)) { $jsValue = $val; } else { $jsValue = '\'' . $val . '\''; } $jsArrayString .= $jsArrayName . '[' . $jsElement . '] = ' . $jsValue . ";\n"; } } return $jsArrayString; } ?>