error_reporting(3); $width = 400; $height = 400; //************* $proj = "900913"; $units = "xy"; $postgisdb="hillerod"; //************* $postgisObject = new postgis(); $controlObject = new control(); $postgisObject -> setControlObject($controlObject); $postgisObject -> pg_query_function = "intersects"; $sql="SELECT * FROM settings.geometry_columns_view WHERE f_table_schema='kommuneplan'"; $result = $postgisObject->execQuery($sql); $slayer=pg_fetch_all($result); //print_r($rows); ?> <script> function update(){ clearForm(); document.theForm.submit(); } function spatialsearch(){ document.theForm.submit();