[Mapbender-commits] r3259 - branches/beck_dev_25/http/gazetteer_rostock

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Nov 25 03:55:47 EST 2008


Author: beck
Date: 2008-11-25 03:55:46 -0500 (Tue, 25 Nov 2008)
New Revision: 3259

Modified:
   branches/beck_dev_25/http/gazetteer_rostock/mod_WFSStreetGaz_client.js
   branches/beck_dev_25/http/gazetteer_rostock/mod_WFSStreetGaz_client.php
Log:


Modified: branches/beck_dev_25/http/gazetteer_rostock/mod_WFSStreetGaz_client.js
===================================================================
--- branches/beck_dev_25/http/gazetteer_rostock/mod_WFSStreetGaz_client.js	2008-11-24 14:25:07 UTC (rev 3258)
+++ branches/beck_dev_25/http/gazetteer_rostock/mod_WFSStreetGaz_client.js	2008-11-25 08:55:46 UTC (rev 3259)
@@ -380,9 +380,20 @@
 		if (filterParameterCount > 1) {
 			andConditions = "<And>" + andConditions + "</And>";
 		}
-		
+
+/*
+** !!!
+*/
+
+//		Local development
+		var requestUrl = wfsUrl.replace(/localhost\/geoserver/,'geoportal.rostock.de/geoserver_hro');
+		
+//		Real world
 //		var requestUrl = wfsUrl;
-		var requestUrl = wfsUrl.replace(/localhost\/geoserver/,'geoportal.rostock.de/geoserver_hro'); // lokale Entwicklung
+
+/*
+** !!!
+*/
 
 		requestUrl += "&filter=";
 		var filter = "<ogc:Filter xmlns:ogc='http://ogc.org' xmlns:gml='http://www.opengis.net/gml'>"+andConditions+"</ogc:Filter>";

Modified: branches/beck_dev_25/http/gazetteer_rostock/mod_WFSStreetGaz_client.php
===================================================================
--- branches/beck_dev_25/http/gazetteer_rostock/mod_WFSStreetGaz_client.php	2008-11-24 14:25:07 UTC (rev 3258)
+++ branches/beck_dev_25/http/gazetteer_rostock/mod_WFSStreetGaz_client.php	2008-11-25 08:55:46 UTC (rev 3259)
@@ -23,14 +23,24 @@
 echo "var resultGeom2 = '';";
 echo "var geomArray2 = new GeometryArray();";
 echo "var geomArray3 = new GeometryArray();";
-
+
+/*
+** !!!
+*/
+
+// Local development
 echo "var wfsSearchOrt = 'http://geoportal.rostock.de/geoserver_hro/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getFeature&TYPENAME=hro:orte_sort';";
 echo "var wfsSearchStr = 'http://geoportal.rostock.de/geoserver_hro/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getFeature&TYPENAME=hro:str_dbr_sort';";
 echo "var wfsSearchNr = 'http://geoportal.rostock.de/geoserver_hro/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getFeature&TYPENAME=hro:hnr_dbr_sort';";
-
+
+// Real world
 //echo "var wfsSearchOrt = 'http://localhost/geoserver/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getFeature&TYPENAME=hro:orte_sort';";
 //echo "var wfsSearchStr = 'http://localhost/geoserver/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getFeature&TYPENAME=hro:str_dbr_sort';";
 //echo "var wfsSearchNr = 'http://localhost/geoserver/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getFeature&TYPENAME=hro:hnr_dbr_sort';";
+
+/*
+** !!!
+*/
 
 echo "var propertyName2 = [];";
 echo "propNameStr0 = 'ort_normalisiert';";



More information about the Mapbender_commits mailing list