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. **/ // include the supporting php code include( "./ExtractWFSData.php" ); // force download if requested if ( isset( $szDownloadUrl ) && strlen( $szDownloadUrl ) > 0 ) { $_SESSION['DOWNLOADFILE'] = $szDownloadUrl.$szFile.$szExt; if (stristr($_SESSION['DOWNLOADFILE'], 'http://') == false ) $_SESSION['DOWNLOADFILE'] = 'http://'.$_SERVER['HTTP_HOST'].'/'.$_SESSION['DOWNLOADFILE']; $_SESSION['DOWNLOADFILE_SAVEAS'] = 'wfs_extraction'.$szExt; session_write_close(); header("Location: ../download.phtml?".SID ); } ?> <?php echo $oMLT->get("0", "Extract WFS Data") ?>
get('0', 'Extract WFS Data'); $szLabel2 = $oMLT->get('21', 'Error:
Required module not found.
This widget requires the following PHP module(s):').$szROIExists; // output exit( <<
{$szLabel1}

{$szLabel2}

{$szOGRModuleName}
 

{$szCloseButton} EOT ); } ?>
get("0", "Extract WFS Data") ?>

get("18", "Extracting a large amount of records may take some time. If this window is closed while extract request is being processed, the request will be lost.")).$szROIExists ?>

"; echo " "; echo ""; } else echo ""; } echo " "; echo ""; if (isset($http_form_vars['szCompressionFormat'])) { echo ""; echo " "; echo ""; } else echo ""; } echo " "; echo ""; ?> \n"; echo "\n"; echo "\n"; } ?>
"; $aszOutputFormat = explode("|", $http_form_vars['szOutputFormat']); if (count($aszOutputFormat) > 1) { echo "".trim($oMLT->get("2", "Select download format")).":"; echo ""; echo "\n"; echo "
"; $aszCompressionFormat = explode("|", $http_form_vars['szCompressionFormat']); if (count($aszCompressionFormat) > 1) { echo "".trim($oMLT->get("20", "Select compress format")).":"; echo ""; echo "\n"; echo "
get("16", 'Output file name (i.e. "parks")') ?>:
" onmouseup="javascript:execute()">

clear
">