Changeset 198 for trunk/var/www
- Timestamp:
- 01/15/13 15:58:05 (11 years ago)
- Location:
- trunk/var/www/info/alkis
- Files:
-
- 10 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/var/www/info/alkis/alkisbestnw.php
r132 r198 9 9 22.11.2011 Feldname land in ax_buchungsblattbezirk geÀndert 10 10 30.11.2011 import_request_variables 11 24.07.2012 Export CSV 11 12 12 13 ToDo: … … 26 27 <html> 27 28 <head> 28 <meta name="author" content=" F. Jaeger krz" >29 <meta name="author" content="b600352" > 29 30 <meta http-equiv="cache-control" content="no-cache"> 30 31 <meta http-equiv="pragma" content="no-cache"> … … 34 35 <link rel="stylesheet" type="text/css" href="alkisauszug.css"> 35 36 <link rel="shortcut icon" type="image/x-icon" href="ico/Grundbuch.ico"> 37 <script type="text/javascript"> 38 function ALKISexportGB() {window.open(<?php echo "'alkisgbexp.php?gkz=".$gkz."&gmlid=".$gmlid."'"; ?>);} 39 function ALKISexportFS() {window.open(<?php echo "'alkisgbfsexp.php?gkz=".$gkz."&gmlid=".$gmlid."'"; ?>);} 40 </script> 36 41 <style type='text/css' media='print'> 37 42 .noprint {visibility: hidden;} … … 470 475 <div class='buttonbereich noprint'> 471 476 <hr> 472 <input type='button' name='back' value='<<' title='Zurück' onClick='javascript:history.back()'> 473 <input type='button' name='print' value='Druck' title='Seite Drucken' onClick='window.print()'> 474 <input type='button' name='close' value='X' title='Fenster schließen' onClick='window.close()'> 477 <a title="zurück" href='javascript:history.back()'><img src="ico/zurueck.ico" width="16" height="16" alt="zurück" /></a> 478 <a title="Drucken" href='javascript:window.print()'><img src="ico/print.ico" width="16" height="16" alt="Drucken" /></a> 479 <!-- <a title="Export Flurstücksdaten als CSV" href='javascript:ALKISexportFS()'><img src="ico/download_fs.ico" width="32" height="16" alt="Export" /></a> --> 480 <a title="Export Grundbuchdaten als CSV" href='javascript:ALKISexportGB()'><img src="ico/download_gb.ico" width="32" height="16" alt="Export" /></a> 481 <!-- <a title="Seite schließen" href="javascript:window.close()"><img src="ico/close.ico" width="16" height="16" alt="Ende" /></a> --> 475 482 </div> 476 483 </form> -
trunk/var/www/info/alkis/alkisfshist.php
r132 r198 4 4 ALKIS-Buchauskunft, Kommunales Rechenzentrum Minden-Ravensberg/Lippe (Lemgo). 5 5 FlurstÃŒcks-Historie fuer ein FlurstÃŒckskennzeichen aus ALKIS PostNAS 6 7 6 Version: 8 7 2011-11-16 Zum aktuellen FS die VorgÀnger suchen 9 8 2011-11-17 Parameter der Functions geÀndert 10 9 2011-11-30 import_request_variables 10 2012-11-27 Function split deprecated: explode 11 11 */ 12 12 … … 33 33 } else { 34 34 $stri=trim($dbarr, "{}"); 35 $arr = split(",",$stri); 35 //$arr = split(",",$stri); 36 $arr = explode(",",$stri); 36 37 foreach($arr AS $val){ 37 38 echo "Flurstück <a title=' zur Flurstück Historie' href='".$_SERVER['PHP_SELF']."?gkz=".$gkz."&fskennz=".$val; … … 118 119 <html> 119 120 <head> 120 <meta name="author" content=" F. Jaeger krz" >121 <meta name="author" content="b600352" > 121 122 <meta http-equiv="cache-control" content="no-cache"> 122 123 <meta http-equiv="pragma" content="no-cache"> … … 181 182 $flae=number_format($rowu["amtlicheflaeche"],0,",",".") . " m²"; 182 183 $name=$rowu["name"]; // in DB ein Array 183 $arrn = split(",", trim($name, "{}") ); // PHP-Array 184 // $arrn=split(",", trim($name, "{}") ); // split ist deprecated! 185 $arrn=explode(",", trim($name, "{}") ); // PHP-Array 184 186 $gemkname= gemkg_name($gmkgnr); 185 187 $entsteh=$rowu["zeitpunktderentstehung"]; … … 310 312 <div class='buttonbereich noprint'> 311 313 <hr> 312 <input type='button' name='back' value='<<' title='Zurück' onClick='javascript:history.back()'> 313 <input type='button' name='print' value='Druck' title='Seite Drucken' onClick='window.print()'> 314 <input type='button' name='close' value='X' title='Fenster schließen' onClick='window.close()'> 314 <a title="zurück" href='javascript:history.back()'><img src="ico/zurueck.ico" width="16" height="16" alt="zurück" /></a> 315 <a title="Drucken" href='javascript:window.print()'><img src="ico/print.ico" width="16" height="16" alt="Drucken" /></a> 316 <!-- <a title="Export als CSV" href='javascript:ALKISexport()'><img src="ico/download.ico" width="16" height="16" alt="Export" /></a> 317 <a title="Seite schließen" href="javascript:window.close()"><img src="ico/close.ico" width="16" height="16" alt="Ende" /></a> --> 315 318 </div> 316 319 </form> -
trunk/var/www/info/alkis/alkisfsnw.php
r133 r198 6 6 7 7 Version: 8 16.11.2011 Neuer Style class='dbg', Link Historie 9 17.11.2011 Parameter der Functions geÀndert 10 30.11.2011 import_request_variables, $dbvers PostNAS 0.5 entfernt 11 01.12.2011 Summe der AbschnittsflÀchen (NUA) an amtl. BuchflÀche des FS angleichen 12 8 2011-11-16 Neuer Style class='dbg', Link Historie 9 2011-11-17 Parameter der Functions geÀndert 10 2011-11-30 import_request_variables, $dbvers PostNAS 0.5 entfernt 11 2011-12-01 Summe der AbschnittsflÀchen (NUA) an amtl. BuchflÀche des FS angleichen 12 2011-12-16 Zeilenumbruch in Nutzungsart, Spaltenbreite Link 13 2012-07-24 Export als CSV, pg_free_result(), pg_close() 14 2012-11-27 split deprecated, besser: explode 15 13 16 ToDo: 17 - BodenschÀtzung anzeigen 14 18 - EntschlÃŒsseln "Bahnkategorie" bei Bahnverkehr, "OberflÀchenmaterial" bei Unland 15 19 Dazu evtl. diese Felder ins Classfld verschieben (Meta-Tabellen!) … … 28 32 <html> 29 33 <head> 30 <meta name="author" content=" F. Jaeger krz" >34 <meta name="author" content="b600352" > 31 35 <meta http-equiv="cache-control" content="no-cache"> 32 36 <meta http-equiv="pragma" content="no-cache"> … … 39 43 .noprint {visibility: hidden;} 40 44 </style> 45 <script type="text/javascript"> 46 function ALKISexportFS() {window.open(<?php echo "'alkisfsexp.php?gkz=".$gkz."&gmlid=".$gmlid."'"; ?>);} 47 function ALKISexportGB() {window.open(<?php echo "'alkisfsgbexp.php?gkz=".$gkz."&gmlid=".$gmlid."'"; ?>);} 48 </script> 41 49 </head> 42 50 <body> … … 75 83 $entsteh=$row["zeitpunktderentstehung"]; 76 84 $name=$row["name"]; // Fortfuehrungsnummer(n) 77 $arrn = split(",", trim($name, "{}") ); // PHP-Array 85 //$arrn = split(",", trim($name, "{}") ); // deprecated 86 $arrn = explode(",", trim($name, "{}") ); // PHP-Array 78 87 } else { 79 88 echo "<p class='err'>Fehler! Kein Treffer fuer gml_id=".$gmlid."</p>"; 80 89 if ($debug > 2) {echo "<p class='dbg'>SQL=<br>".$sql."<br>$1 = gml_id = '".$gmlid."'</p>";} 81 90 } 91 pg_free_result($res); 82 92 // Balken 83 93 if ($eig=="j") { … … 145 155 echo "<span class='key'>(".$gemeinde.")</span> "; 146 156 } 147 echo $gnam."</td><td >";157 echo $gnam."</td><td width='80'>"; // Mindest-Breite der Spalte fuer die Links 148 158 // Link zur FlurstÃŒcks-Historie (passt nicht ganz in die Zeile "Gemeinde", aber gut unter "weitere Auskunft") 149 159 echo "\n<p class='nwlink noprint'>"; … … 156 166 echo "\n</p>"; 157 167 echo "</td></tr>"; 168 pg_free_result($res); 158 169 159 170 // K r e i s … … 173 184 } 174 185 echo $knam."</td><td> </td></tr>"; 186 pg_free_result($res); 175 187 176 188 // R e g - B e z … … 190 202 } 191 203 echo $bnam."</td><td> </td></tr>"; 204 pg_free_result($res); 192 205 // ENDE G e b i e t s z u g e h o e r i g k e i t 193 206 … … 239 252 $j++; 240 253 } 254 pg_free_result($res); 241 255 // Verbesserung: mehrere HsNr zur gleichen StraÃe als Liste? 242 256 … … 295 309 $j++; 296 310 } 311 pg_free_result($res); 297 312 // ENDE L a g e b e z e i c h n u n g 298 313 … … 301 316 $sql ="SELECT m.title, m.fldclass, m.fldinfo, n.gml_id, c.class, n.info, n.zustand, n.name, n.bezeichnung, m.gruppe, "; 302 317 // Gemeinsame FlÀche von NUA und FS 303 //$sql.="round(st_area(st_intersection(n.wkb_geometry,f.wkb_geometry))::numeric,1) AS schnittflae, ";304 318 $sql.="st_area(st_intersection(n.wkb_geometry,f.wkb_geometry)) AS schnittflae, "; 305 319 $sql.="c.label, c.blabla "; … … 335 349 $bez=$row["bezeichnung"]; // weiterer Name (unverschl.) 336 350 $blabla=htmlentities($row["blabla"], ENT_QUOTES, "UTF-8"); 351 $label=str_replace("/", "<br>", $label); // Ersetzen "/" durch Zeilenwechsel? 337 352 338 353 echo "\n<tr>\n\t"; … … 404 419 $j++; 405 420 } 421 pg_free_result($res); 406 422 // ENDE N U T Z U N G 407 423 408 424 echo "\n<tr>"; // Summenzeile 409 echo "\n\t<td class='ll' title='amtliche Fläche (Buchfläche) )'>Fläche:</td>";425 echo "\n\t<td class='ll' title='amtliche Fläche (Buchfläche)'>Fläche:</td>"; 410 426 echo "\n\t<td class='fla'>"; 411 427 echo "<span title='geometrisch berechnete Fläche = ".$fsgeomflaed."' class='flae'>".$fsbuchflaed."</span></td>"; … … 683 699 $n = eigentuemer($con, $rowan["g_gml"], false, ""); // ohne Adresse 684 700 } 685 $an++; 701 $an++; 686 702 } 703 pg_free_result($resan); 687 704 $bs++; 688 705 } 706 pg_free_result($resg); 689 707 if ($bs == 0) { 690 708 echo "\n<p class='err'>Keine Buchungstelle gefunden.</p>"; 691 709 linkgml($gkz, $gmlid, "Flurstück"); 692 710 } 711 pg_close($con); 693 712 ?> 694 713 … … 696 715 <div class='buttonbereich noprint'> 697 716 <hr> 698 <input type='button' name='back' value='<<' title='Zurück' onClick='javascript:history.back()'> 699 <input type='button' name='print' value='Druck' title='Seite Drucken' onClick='window.print()'> 700 <input type='button' name='close' value='X' title='Fenster schließen' onClick='window.close()'> 717 <a title="zurück" href='javascript:history.back()'><img src="ico/zurueck.ico" width="16" height="16" alt="zurück" /></a> 718 <a title="Drucken" href='javascript:window.print()'><img src="ico/print.ico" width="16" height="16" alt="Drucken" /></a> 719 <a title="Export Flurstücksdaten als CSV" href='javascript:ALKISexportFS()'><img src="ico/download_fs.ico" width="32" height="16" alt="Export" /></a> 720 <!-- <a title="Export Grundbuchdaten als CSV" href='javascript:ALKISexportGB()'><img src="ico/download_gb.ico" width="32" height="16" alt="Export" /></a> --> 721 <!-- <a title="Seite schließen" href="javascript:window.close()"><img src="ico/close.ico" width="16" height="16" alt="Ende" /></a> --> 701 722 </div> 702 723 </form> -
trunk/var/www/info/alkis/alkisgebaeudenw.php
r132 r198 21 21 <html> 22 22 <head> 23 <meta name="author" content=" F. Jaeger krz" >23 <meta name="author" content="b600352" > 24 24 <meta http-equiv="cache-control" content="no-cache"> 25 25 <meta http-equiv="pragma" content="no-cache"> … … 280 280 281 281 ?> 282 282 283 <form action=''> 283 284 <div class='buttonbereich noprint'> 284 285 <hr> 285 <input type='button' name='back' value='<<' title='Zurück' onClick='javascript:history.back()'> 286 <input type='button' name='print' value='Druck' title='Seite Drucken' onClick='window.print()'> 287 <input type='button' name='close' value='X' title='Fenster schließen' onClick='window.close()'> 286 <a title="zurück" href='javascript:history.back()'><img src="ico/zurueck.ico" width="16" height="16" alt="zurück" /></a> 287 <a title="Drucken" href='javascript:window.print()'><img src="ico/print.ico" width="16" height="16" alt="Drucken" /></a> 288 <!-- <a title="Export als CSV" href='javascript:ALKISexport()'><img src="ico/download.ico" width="16" height="16" alt="Export" /></a> 289 <a title="Seite schließen" href="javascript:window.close()"><img src="ico/close.ico" width="16" height="16" alt="Ende" /></a> --> 288 290 </div> 289 291 </form> -
trunk/var/www/info/alkis/alkishaus.php
r132 r198 28 28 <html> 29 29 <head> 30 <meta name="author" content=" F. Jaeger krz" >30 <meta name="author" content="b600352" > 31 31 <meta http-equiv="cache-control" content="no-cache"> 32 32 <meta http-equiv="pragma" content="no-cache"> … … 350 350 <div class='buttonbereich noprint'> 351 351 <hr> 352 <input type='button' name='back' value='<<' title='Zurück' onClick='javascript:history.back()'> 353 <input type='button' name='print' value='Druck' title='Seite Drucken' onClick='window.print()'> 354 <input type='button' name='close' value='X' title='Fenster schließen' onClick='window.close()'> 352 <a title="zurück" href='javascript:history.back()'><img src="ico/zurueck.ico" width="16" height="16" alt="zurück" /></a> 353 <a title="Drucken" href='javascript:window.print()'><img src="ico/print.ico" width="16" height="16" alt="Drucken" /></a> 354 <!-- <a title="Export als CSV" href='javascript:ALKISexport()'><img src="ico/download.ico" width="16" height="16" alt="Export" /></a> 355 <a title="Seite schließen" href="javascript:window.close()"><img src="ico/close.ico" width="16" height="16" alt="Ende" /></a> --> 355 356 </div> 356 357 </form> -
trunk/var/www/info/alkis/alkislage.php
r132 r198 41 41 <html> 42 42 <head> 43 <meta name="author" content=" F. Jaeger krz" >43 <meta name="author" content="b600352" > 44 44 <meta http-equiv="cache-control" content="no-cache"> 45 45 <meta http-equiv="pragma" content="no-cache"> … … 169 169 } 170 170 echo $gnam." </td>"; 171 171 172 echo "\n\t\t<td title='Straße'>"; 172 173 if ($showkey) { 173 174 echo "<span class='key'>".$lage."</span><br>"; 174 175 } 175 echo $snam." </td>"; 176 if ($ltyp == "o") { 177 echo "<span class='wichtig'>".$snam."</div>"; 178 } else { 179 echo $snam; 180 } 181 echo " </td>"; 182 176 183 switch ($ltyp) { 177 184 case "m": … … 397 404 <div class='buttonbereich noprint'> 398 405 <hr> 399 <input type='button' name='back' value='<<' title='Zurück' onClick='javascript:history.back()'> 400 <input type='button' name='print' value='Druck' title='Seite Drucken' onClick='window.print()'> 401 <input type='button' name='close' value='X' title='Fenster schließen' onClick='window.close()'> 406 <a title="zurück" href='javascript:history.back()'><img src="ico/zurueck.ico" width="16" height="16" alt="zurück" /></a> 407 <a title="Drucken" href='javascript:window.print()'><img src="ico/print.ico" width="16" height="16" alt="Drucken" /></a> 408 <!-- <a title="Export als CSV" href='javascript:ALKISexport()'><img src="ico/download.ico" width="16" height="16" alt="Export" /></a> 409 <a title="Seite schließen" href="javascript:window.close()"><img src="ico/close.ico" width="16" height="16" alt="Ende" /></a> --> 402 410 </div> 403 411 </form> -
trunk/var/www/info/alkis/alkisnamstruk.php
r132 r198 26 26 <html> 27 27 <head> 28 <meta name="author" content=" F. Jaeger krz" >28 <meta name="author" content="b600352" > 29 29 <meta http-equiv="cache-control" content="no-cache"> 30 30 <meta http-equiv="pragma" content="no-cache"> … … 233 233 234 234 <form action=''> 235 <div class='buttonbereich noprint'><hr> 236 <input type='button' name='back' value='<<' title='Zurück' onClick='javascript:history.back()'> 237 <input type='button' name='print' value='Druck' title='Seite Drucken' onClick='window.print()'> 238 <input type='button' name='close' value='X' title='Fenster schließen' onClick='window.close()'> 235 <div class='buttonbereich noprint'> 236 <hr> 237 <a title="zurück" href='javascript:history.back()'><img src="ico/zurueck.ico" width="16" height="16" alt="zurück" /></a> 238 <a title="Drucken" href='javascript:window.print()'><img src="ico/print.ico" width="16" height="16" alt="Drucken" /></a> 239 <!-- <a title="Export als CSV" href='javascript:ALKISexport()'><img src="ico/download.ico" width="16" height="16" alt="Export" /></a> 240 <a title="Seite schließen" href="javascript:window.close()"><img src="ico/close.ico" width="16" height="16" alt="Ende" /></a> --> 239 241 </div> 240 242 </form>
Note: See TracChangeset
for help on using the changeset viewer.