[Mapbender-commits] r7764 - in trunk/mapbender/http: javascripts php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Apr 12 08:22:25 EDT 2011
Author: verenadiewald
Date: 2011-04-12 05:22:25 -0700 (Tue, 12 Apr 2011)
New Revision: 7764
Modified:
trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
trunk/mapbender/http/php/mod_wfs_result.php
Log:
request WFS with different srs
Modified: trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php 2011-04-11 18:31:46 UTC (rev 7763)
+++ trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php 2011-04-12 12:22:25 UTC (rev 7764)
@@ -559,7 +559,8 @@
'filter' : filter,
'typename' : typename,
'js_wfs_conf_id' : js_wfs_conf_id,
- 'db_wfs_conf_id' : db_wfs_conf_id
+ 'db_wfs_conf_id' : db_wfs_conf_id,
+ 'destSrs' : mod_wfs_spatialRequest_epsg
},
function(json,status){
var geom = new GeometryArray();
Modified: trunk/mapbender/http/php/mod_wfs_result.php
===================================================================
--- trunk/mapbender/http/php/mod_wfs_result.php 2011-04-11 18:31:46 UTC (rev 7763)
+++ trunk/mapbender/http/php/mod_wfs_result.php 2011-04-12 12:22:25 UTC (rev 7764)
@@ -28,6 +28,7 @@
$filter = $_REQUEST["filter"];
$db_wfs_conf_id = $_REQUEST["db_wfs_conf_id"];
$typename = $_REQUEST["typename"];
+$destSrs = $_REQUEST["destSrs"];
/**
* checks if a variable name is valid.
@@ -108,7 +109,7 @@
$myWfsFactory = new UniversalWfsFactory();
$myWfs = $myWfsFactory->createFromDb($wfsId);
-$data = $myWfs->getFeature($typename, $filter);
+$data = $myWfs->getFeature($typename, $filter,$destSrs);
if ($data === null) die('{}');
More information about the Mapbender_commits
mailing list