Source Location: /php/map/map_functions2.php
map_functions2.php
map functions (utilising WMS and WFS)
PHP versions 4 and 5
LICENSE: ARK - The Archaeological Recording Kit. An open-source framework for displaying and working with archaeological data Copyright (C) 2007 L - P : Partnership Ltd. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
string createSLDFile(
array $wms_qlayers, array $results_array)
[line 734]
writes an SLD file that styles the query results
[ Top ]
string createWFSFilterString(
array $wfs_qlayer, array $results_array)
[line 844]
writes a string that can be used to filter a WFS layer
[ Top ]
string mkFilterMap(
array $wfs_layers, array $wms_layers, $wfs_qlayers, array $results_array, [int $buffer = FALSE], [boolean $transclude = FALSE], [mixed $filter = FALSE], array $wms_qlayers)
[line 345]
makes an embedded map showing the results of a filter (or results_array())
generates a stand-alone html <object> that contains an Openlayers map zoomed and filtered to the the results array. It uses the OGC filter functionality to filter a pre-defined WMS map. NOTE: $ark_dir, $tilecache_path and $map_scales are globaled so need to be set
[ Top ]
string mkMapView(
array $mapview_layers, [boolean $transclude = FALSE])
[line 621]
displays all of the layers as part of the map_view
generates a stand-alone html <object> that contains an Openlayers map zoomed and filtered to the the results array. It uses the OGC filter functionality to filter a pre-defined WMS map. NOTE: $ark_dir, $tilecache_path and $map_scales are globaled so need to be set
[ Top ]
string mkSingleMap(
array $wfs_layers, array $wms_layers, string $item_val, [int $buffer = FALSE], [boolean $transclude = FALSE])
[line 54]
makes an embedded map showing the geometry of a single item
generates a stand-alone html <object> that contains an Openlayers map zoomed and filtered to the item. It uses the OGC filter functionality to filter a pre-defined WFS map. NOTE: $ark_wms_map and $ark_wfs_map are globaled so need to be set
[ Top ]