• Tidak ada hasil yang ditemukan

DAFTAR PUSTAKA

Dalam dokumen Skripsi-Gis (Halaman 118-150)

Aziz, Muh. dan Pujiono, 2006, Sistem Informasi Geografis Berbasis Desktop dan

Web, Gava Media, Yogyakarta.

Biro Pusat Statistik, 2008, Lampung dalam Angka, Propinsi Lampung. Burrough. P, 1986, Principle of Geographical Information System for Land

Resources Assesment, Oxford, Claredon Press.

Damanik, J. dan Weber, H.F., 2006, Perencanaan Ekowisata dari Teori ke

Aplikasi, Andi Offset, Yogyakarta.

Dwidasmara, I.B.G, 2008, Tesis, Sistem Informasi Geografis Berbasis SVG untuk

Perjalanan Wisata dengan Dukungan Teknologi Mobile (Mobile Device) dan Pencarian Rute Terpendek dengan Algoritma Dijkstra, Fakultas

MIPA, UGM, Yogyakarta.

Economic and Social Comminssion for Asia and the Pasific, 1996, Manual on

GIS for Planner and Decision Maker, New York: United Nations.

Januar, M.A., 2004, dari : http://www.ilmu-komputer.net/internet/pengantar-svg/,

Pengantar SVG, File : athar-svg.zip.

Kang-Tsung Chang, 2002, Introduction to Geographic Information System, Mc.Graw-Hill.

Kendall K.E. and Kendall J.E., 1995, Systems Analysis and Design, Prentice Hall, 3rd Edition.

McLeod, R. and Schell, G., 2001, Management Information Systems, Edisi ke-8, Hall Inc.

Nuarsa, I.W., 2005, Belajar Sendiri : Menganalisis Data Spasial dengan ArcView

GIS 3.3 untuk Pemula, PT. Elex Media Komputindo, Jakarta.

Prahasta, E., 2005, Sistem Informasi Geografis : Tutorial ArcView, Cetakan Ketiga. Informatika Bandung.

Prahasta, E., 2007. Membangun Aplikasi Web-base GIS dengan Mapserver,

Pressman, R.S., 1997, Software Engineering : A Practitioner’s Approach, McGraw Hill

Ramakrishnan, R. and Gehrke, J., 2003, Database Management Systems-Third

Edition, McGraw Hill

Soyusiawaty, D., Umar, R., dan Mantofani, R., 2007. Sistem Informasi Geografis

Objek Wisata Propinsi Kepulauan Bangka Belitung Berbasis Web, Jurnal

SNATI 2007, Yogyakarta

Susanto, Y.A., 2008, Aplikasi Sistem Informasi Geografis Berbasis Web

(WEBGIS) Untuk Pengembangan Sektor Industri di Kabupaten Pacitan,

Retrieved 3 Juni 2008,

from yomink.files.wordpress.com/2008/03/jurnal.pdf.

Tanaamah, A.R., 2008, Tesis, Perancangan dan Implementasi Webgis Pariwisata

Kabupaten Sumba Timur, Fakultas MIPA, UGM, Yogyakarta.

Wijaya, S., 2010, Sistem Informasi Geografis kota Bandar Lampung Berbasis

Website, Skripsi, program studi Teknik Informatika IBI Darmajaya,

Bandar Lampung.

Witarto, 2004, Memahami Sistem Informasi : Pendekatan Praktis Rekayasa

LAMPIRAN :

File : index.php

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

<html> <head>

<title>Sistem Informasi Geografis Potensi Industri Wisata ~~Bandar Lampung~~</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso- 8859-1">

</head>

<frameset rows="130,*" cols="*" frameborder="NO" border="0" framespacing="0">

<frame src="bannertesis.php" name="topFrame" scrolling="NO" noresize >

<frameset rows="*" cols="240,*" framespacing="0" frameborder="NO" border="0">

<frame src="kiri.php" name="leftFrame" scrolling="NO" noresize>

<frame src="kanan.php" name="mainFrame"> </frameset> </frameset> <noframes><body> </body></noframes> </html> File : industriwisata.php <!-- Menampilkan Petanya -->

<embed name="svgmap" style="background-color: border:0px;" width="600" height="500" align="center"

src="sig/maps/bandarlampung.php" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/">

File : bandarlampung.php <?php

header("Content-type: image/svg+xml"); include "../config.php";

$image_path = "../images/";

print("<?xml version=\"1.0\" encoding=\"iso-8859-1\" standalone=\"no\" ?>");

?>

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"

[<!ENTITY styleukm "fill: blue; fill-rule:red; stroke:none;

stroke-width: 20; font-size: 100; text-rendering:

optimizeLegibility;">]> <?php

include "../function.php"; include "../connect.php"; $t=0;

// MEMBACA TABEL PROJECT

$projectResult = mysql_query("SELECT * from project"); if ($myprojectrow = mysql_fetch_array($projectResult)) { do { $MapName= $myprojectrow["Title"]; $Width= $myprojectrow["Width"]; $Height= $myprojectrow["Height"]; $Scale= $myprojectrow["Scale"]; $TransFactor= $myprojectrow["TransFactor"]; $IsProjected= $myprojectrow["IsProjected"]; if ($IsProjected==0) { $LonMin= $myprojectrow["LonMin"]; $LonMax= $myprojectrow["LonMax"]; $LatMin= $myprojectrow["LatMin"]; $LatMax= $myprojectrow["LatMax"]; }

} while ($myprojectrow = mysql_fetch_array($projectResult)); }

print("<svg id=\"main\" width=\"" . $Width*$TransFactor . "\" " . "height=\"" . $Height*$TransFactor . "\" " . "viewBox=\"0 0 " . $Width*$TransFactor . " " . $Height*$TransFactor . "\" " . "onload=\"init(evt);\">"); //print("<script language=\"JavaScript\"></script>"); print("<script language=\"JavaScript\"></script>"); xlink:href=\"../js/KECSVG.JS\" xlink:href=\"../js/kecsvg.js\" //print("<script xlink:href=\"../js/navigator.php\" language=\"JavaScript\"></script>"); //print("<script xlink:href=\"../js/kecinfo.php\" language=\"JavaScript\"></script>");

print("<g id=\"mapLayers\" style=\"fill: #FFFFCC; fill- rule:evenodd;\">");

// NAMA KECAMATAN $layerID = "kecamatan";

$result = mysql_query("SELECT id_kec, Geometry, XMin, XMax, YMin, YMax, Kecamatan FROM kecamatan");

print ("<g style=\"fill-rule:evenodd; stroke-width: 0.0001139569; fill: #000000;\">");

while ($row = mysql_fetch_row($result)) {

$subLayerID = $layerID ."_" . $row[0] . "_label"; $xpos = $row[3] - ($row[3] - $row[2]) / 2;

$ypos = $row[5] - ($row[5] - $row[4]) / 2;

print("<text id=\"$subLayerID\" x=\"$xpos\" y=\"$ypos\" style=\"visibility: hidden; fill: #000000; font-weight: normal;

font-family: Arial; font-size: 30000; fill-rule:evenodd; stroke: #000000; stroke-width: 0.001139569;\">$row[6]</text>"); //$ypos = $ypos + 100000;

//print("<text id=\"$subLayerID\" x=\"$xpos\" y=\"$ypos\" style=\"visibility: hidden; fill: #0000FF; font-weight: normal;

font-family: Arial; font-size: 10000; fill-rule:evenodd; stroke: #000000; stroke-width: 0.001139569;\">Kecamatan: $row[7]</text>"); }

// NAMA KELURAHAN $layerID = "kelurahan";

$result = mysql_query("SELECT kelurahan.id_kel, kelurahan.Geometry, kelurahan.YMin, kelurahan.XMin, kelurahan.YMax, kelurahan.XMax, kelurahan.wil_lurah, kecamatan.Kecamatan FROM kecamatan, kelurahan WHERE kecamatan.id_kec=kelurahan.id_kec");

print ("<g style=\"fill-rule:evenodd; stroke-width: 0.0001139569; fill: #000000;\">");

while ($row = mysql_fetch_row($result)) {

$subLayerID = $layerID ."_" . $row[0] . "_label"; $xpos = $row[3] - ($row[3] - $row[2]) / 2;

$ypos = $row[5] - ($row[5] - $row[4]) / 2;

print("<text id=\"$subLayerID\" x=\"$xpos\" y=\"$ypos\" style=\"visibility: hidden; fill: #000000; font-weight: normal;

font-family: Arial; font-size: 30000; fill-rule:evenodd; stroke: #000000; stroke-width: 0.001139569;\">$row[6] </text>");

//$ypos = $ypos + 100000;

//print("<text id=\"$subLayerID\" x=\"$xpos\" y=\"$ypos\" style=\"visibility: hidden; fill: #0000FF; font-weight: normal;

font-family: Arial; font-size: 10000; fill-rule:evenodd; stroke: #000000; stroke-width: 0.001139569;\">Kecamatan: $row[7]</text>"); }

print("</g>"); // LOKASI WISATA

$layerID = "tempatwisata";

print ("<g id=\"$layerID\" style=\"fill:none; fill-rule: evenodd;\">");

$result = mysql_query("SELECT FeatureID, Longitude, Latitude, Namatempat FROM industriwisata");

while ($row = mysql_fetch_array($result)) {

$subLayerID = $layerID . "_". $row[0] . "_rect"; $link = getObjectImage("tempatwisata");

print("<rect id=\"$subLayerID\" x=\"" . ((($row["Longitude"])-$LonMin)/(($LonMax-

"y=\"" . ((($row["Latitude"])-$LatMin)/(($LatMax- $LatMin)/$Height)*$TransFactor) . "\" " . "width=\"" . 15*$TransFactor .

"\" height=\"" . 15*$TransFactor . "\" display=\"block\" style=\"visibility: hidden; fill: #FFFFFF; opacity: 0.5;\"/>\n");

$subLayerID = $layerID . "_". $row[0] . "_image";

print("<image id=\"$subLayerID\" x=\"" . ((($row["Longitude"])-$LonMin)/(($LonMax- $LonMin)/$Width)*$TransFactor) . "\" " . "y=\"" . ((($row["Latitude"])-$LatMin)/(($LatMax- $LatMin)/$Height)*$TransFactor) . "\" " . "width=\"" . 15*$TransFactor .

"\" height=\"" . 15*$TransFactor . "\" " . "xlink:href=\"" . $image_path . $link ."\"/>\n");

// LABEL NAMA TEMPAT

$subLayerID = $layerID . "_". $row[0] . "_label";

$xpos = ((($row["Longitude"])-$LonMin)/(($LonMax- $LonMin)/$Width)*$TransFactor);

$ypos = ((($row["Latitude"])-$LatMin)/(($LatMax- $LatMin)/$Height)*$TransFactor);

print("<text id=\"$subLayerID\" x=\"$xpos\" y=\"$ypos\" style=\"visibility: hidden; font-family: Verdana; font-size: 25000; fill: #FF9900;\" stroke-width=\"0.001139569\" $row["Namatempat"] . "</text>"); } print("</g>"); ?> </g> </svg> File : cari.php <script type="text/javascript"> function cariTempat(frm) { v a r x h r ; t r y {

xhr = new ActiveXObject('Msxml2.XMLHTTP'); } catch (e) { try { xhr = new ActiveXObject('Microsoft.XMLHTTP'); } catch (e2) { try { xhr = new XMLHttpRequest(); } catch (e3) { xhr = false; } } } if (xhr) { xhr.onreadystatechange = function() { if (xhr.readyState if(xhr.status == 4) { == 200) eval(xhr.responseText); else

alert("Error code " + xhr.status); }

};

var url = frm.action + '?kata_kunci=' + frm.kata_kunci.value + '&id_kel=' + frm.id_kel.value;

xhr.open('POST', url, true); xhr.send('');

}

return false; }

</script>

onsubmit="return cariTempat(this);"> <div align="center">

<center>

<font face="Arial, Helvetica"> </font>

<table border="1" width="80%" cellspacing="0" cellpadding="0" bgcolor="#D3E6B3"

bordercolordark="#999966"> <tr bgcolor="#00FFFF">

bordercolorlight="#CCCC99"

<td width="59%"><b><font face="Courier New, Courier, mono">&nbsp;Cari berdasarkan keyword </font></b></td>

<td width="40%" colspan=2><b><font face="Courier New, Courier, mono">

<input type="text" name="kata_kunci" id="kata_kunci" size="35" style="background-color: #DDECC4" />

</font></b></td> </tr>

<tr bordercolorlight="#CCCC99" bordercolordark="#999966" bgcolor="#00FFFF">

<td><b><font color="#FF0000" size="3" face="Courier New, Courier, mono">di kelurahan </font></b></td>

<td width="26%"><b><font face="Courier New, Courier, mono"> <select name="id_kel" id="id_kel">

<option>Pilih</option> <?php

include('../koneksi.php');

// query untuk menampilkan kelurahan

$query = "SELECT * FROM kelurahan order by Wil_lurah"; $hasil = mysql_query($query);

while ($data = mysql_fetch_array($hasil)) { echo "<option value='".$data['id_kel']."'>".$data['Wil_lurah']."</option>"; } ?> </select> </font></b></td>

<td width="8%"><font face="Arial, Helvetica"> <p align="center">

<input type="submit" value="Go &gt;&gt;" name="submit" style="background-color: #808000; color: #0000FF" />

</p> <!--mstheme--> </font></td> </tr> </table> </center>

<div id="info_wisata" style="height:300px;overflow:scroll;"></div> </form> File : proses_cari.php <?php include('../koneksi.php'); $kata_kunci = $_GET['kata_kunci']; $id_kel = $_GET['id_kel'];

$kata_kunci = explode(' ', $kata_kunci); $where = array();

foreach ($kata_kunci as $kunci) {

$where[] = "Namatempat like '%$kunci%'"; $where[] = "keyword like '%$kunci%'"; }

$where = join(' or ', $where);

$query="select FeatureID, id_kel from industriwisata where ($where)";

if ($id_kel) $query .= " and id_kel = $id_kel"; // echo("alert(\"$query\")"); exit;

$hasil = array();

$result = mysql_query($query);

while ($row = mysql_fetch_row($result)) $hasil[] = $row; mysql_free_result($result);

if (count($hasil)) {

foreach ($hasil as &$data) { $data[0] = 'id:' . $data[0]; $data[1] = 'kel:' . $data[1];

}

echo("highlight('svgmap', [$hasil])"); }

else echo("alert('tidak ditemukan!!!!')"); ?> File : wisata.php <?php include("koneksi.php"); //$query="select FeatureID,Namatempat,id_kategori,alamatlengkap,id_kel,deskripsi,ga mbar from industriwisata";

$query="select

industriwisata.FeatureID,industriwisata.Namatempat,kategoriwisata. id_kategori,industriwisata.alamatlengkap,kecamatan.Kecamatan, industriwisata.deskripsi,industriwisata.gambar,kelurahan.* from kecamatan,kelurahan,industriwisata,kategoriwisata

where kecamatan.id_kec=kelurahan.id_kec and

kelurahan.id_kel=industriwisata.id_kel kategoriwisata.id_kategori=industriwisata.id_kategori"; if (!($hasil=mysql_query($query,$dbh))){ print(mysql_error()); }else{ and

print("<center>DAFTAR POTENSI INDUSTRI WISATA KOTA BANDAR LAMPUNG</center>");

print("<p>");

print("<a href=entrywisata.php>Tambah Potensi Industri Wisata</a>");

print("<table bgcolor=#99FFCC border=1 width=100%>"); print("<tr> <td><center>ID. Tempat</center></td> <td><center>Nama Tempat</center></td> <td><center>Kategori Wisata</center></td> <td><center>Alamat Lengkap</center></td> <td><center>Kecamatan</center></td> <td><center>Deskripsi</center></td>

<td><center>Gambar</center></td>

while ($row=mysql_fetch_row($hasil)){ $FeatureID=$row[0]; $Namatempat=$row[1]; $Kategori=$row[2]; $alamatlengkap=$row[3]; $Kecamatan=$row[4]; $deskripsi=$row[5]; $gambar=$row[6]; print("<tr> <td>$FeatureID</td><td>$Namatempat</td><td>$Kategori</td><td >$alamatlengkap</td><td>$Kecamatan</td><td>$deskripsi</td>

<td><img src='../image/".strip_tags($row[6])."' width='100' height='100'</td> <td><a href=editwisata.php?FeatureID=$FeatureID>Edit</a> / <a href=delwisata.php?FeatureID=$FeatureID>Hapus</a></td></tr>"); } print("</table>"); } ?> <html>

<body><table align=center width=75% border=0 cellpadding=0 cellspacing=1> <tr> <td valign=top align=center><a href="adminarea.php?pilih=2"><img height="20" border="0"></a></td> </tr></table> </body> </html> File : entrywisata.php src="../0134.gif" width="50"

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<?php

<html> <head>

<title>Tambah Wisata</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso- 8859-1">

<style type="text/css"> #customers

{

font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; width:100%; border-collapse:collapse; } #customers td, #customers th { font-size:1em; border:1px solid #98bf21; padding:3px 7px 2px 7px; } #customers th { font-size:1.1em; text-align:left; padding-top:5px; padding-bottom:4px; background-color:#A7C942; color:#ffffff; } #customers tr.alt td { color:#000000; background-color:#EAF2D3; } a:link { text-decoration: none; color: #003366;

}

text-decoration: none; } a:hover { text-decoration: none; background-color:#99FFCC; color: #FF0000; } a:active { text-decoration: none; } </style> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript">

var peta;

function peta_awal(){ daftar_lokasi();

var lampung = new google.maps.LatLng(-5.45, 105.2666667); var petaoption = { zoom: 15, center: lampung, mapTypeId: google.maps.MapTypeId.TERRAIN //mapTypeId: google.maps.MapTypeId.SATELLITE }; peta = new google.maps.Map(document.getElementById("petaku"),petaoption); google.maps.event.addListener(peta,'click',function(event){ kasihtanda(event.latLng); }); } function kasihtanda(lokasi){ $("#form_lokasi").slideDown(); $("#cx").val(lokasi.lng());

$("#cy").val(lokasi.lat()); tanda = new google.maps.Marker({

position: lokasi, map: peta }); } $(document).ready(function(){ $("#simpan").click(function(){

var koordinatx = $("#cx").val(); var koordinaty = $("#cy").val(); var nama = $("#namax").val(); var des = $("#deskripsi").val(); $("#loading").show(); $.ajax({ url: "simpanlokasi.php", data: "koordinatx="+koordinatx+"&koordinaty="+koordinaty+"&nama="+nama+" &des="+des, cache: false, success: function(msg){ $("#teks").html(msg); $("#loading").hide(); $("#form_lokasi").slideUp(); $("#cx").val(""); $("#cy").val(""); $("#namax").val(""); $("#deskripsi").val(""); } }); }); $("#batal").click(function(){ $("#form_lokasi").slideUp(); }); }); function daftar_lokasi(){

$('#teks').load('daftar_lokasi.php'); }

function setpeta(x,y,id){

var lokasibaru = new google.maps.LatLng(x, y); var petaoption = { zoom: 9, center: lokasibaru, mapTypeId: google.maps.MapTypeId.TERRAIN }; peta = new google.maps.Map(document.getElementById("petaku"),petaoption); tanda = new google.maps.Marker({

position: lokasibaru, map: peta

});

var idnya = "#"+id;

var isistring = $(idnya).html();

var infowindow = new google.maps.InfoWindow({ content: isistring

});

google.maps.event.addListener(tanda, 'click', function() { infowindow.open(peta,tanda); }); google.maps.event.addListener(peta,'click',function(event){ kasihtanda(event.latLng); }); } </script> </head>

<body bgcolor="#99FFCC" text="#000000" onLoad="peta_awal();">

<form action="add_wisata.php" method="post" enctype="multipart/form-data" name="form1">

<table width="74%" height="599" id="customers" > <tr>

<th height="20" colspan="4"> <div align="center">Tambah Potensi Industri Wisata</div></th>

<tr class="alt">

<td height="26"><a href="#">Objek wisata</a></td> <td>:</td>

<td><input name="Namatempat" type="text" id="Namatempat" size="50"></td>

<td width="44%" rowspan="7">

<table width="523" height="447" border="1" align="center" cellpadding="0" cellspacing="0">

<!-- Menampilkan Petanya --> <tr><td>

<center>

<div id="petaku" style="width:600px; height:400px"></div>

<div id="form_lokasi" style="display:none;background- color:yellow;width:600px;height:200px;text-

align:left;padding:10px">

Koordinat : <br>Longitude<input type=text name=latlng id=cx size=25>, Latitude<input type=text name=latlngy id=cy size=25><br>

</div> </div> </div> </center></td> </tr> </table> </td></tr> <tr class="alt">

<td height="26"><a href="#">Kategori Wisata</a></td> <td>:</td>

<td> <select name="Kategori" id="Kategori"> <option>Pilih</option>

<?php

// query untuk menampilkan kategori wisata $query = "SELECT * FROM kategoriwisata"; $hasil = mysql_query($query);

while ($data = mysql_fetch_array($hasil)) {

value='".$data['id_kategori']."'>".$data['kategori']."</option>"; }

?>

</select></td> </tr>

<tr class="alt">

<td height="26"><a href="#">Alamat Lengkap</a></td> <td>:</td>

<td><input name="alamatlengkap" type="text" id="alamatlengkap" size="50"/></td>

</tr> <tr class="alt">

<td height="28"><a href="#">Kelurahan</a></td> <td>:</td>

<td><select name="Kelurahan" id="select3"> <option>Pilih</option>

<?php

// query untuk menampilkan kelurahan $query = "SELECT * FROM kelurahan"; $hasil = mysql_query($query);

while ($data = mysql_fetch_array($hasil)) { echo "<option value='".$data['id_kel']."'>".$data['Wil_lurah']."</option>"; } ?> </select></td> </tr> <tr class="alt">

<td height="26" valign="top"><a href="#">Deskripsi</a></td> <td valign="top">:</td>

<td><textarea name="deskripsi" id="deskripsi" cols="50" rows="15"> </textarea></td>

</tr>

<tr class="alt">

<td width="26%" height="26"><a href="#">Foto / Gambar</a></td> <td width="2%">:</td>

</td> </tr>

<tr class="alt">

<td height="29"><a href="#">Keyword</a></td> <td>:</td>

<td><input name="keyword" type="text" id="keyword" size="10"></td> </tr>

<tr class="alt">

<td height="26">&nbsp;</td> <td>&nbsp;</td>

<td colspan="2"><input name="Kirim" type="submit" id="Kirim2" value="Kirim">

<input name="Reset" type="reset" id="Reset" value="Reset"></td> </tr>

</table> </form>

<table align=center width=75% border=0 cellpadding=0 cellspacing=1>

<tr>

<td valign=top align=center><a href="adminarea.php?pilih=2"><img src="../0134.gif" width="50" height="20" border="0"></a></td>

</tr></table> </body> </html>

Dalam dokumen Skripsi-Gis (Halaman 118-150)

Dokumen terkait