GeoPHP/index.php

186 lines
4.9 KiB
PHP
Raw Normal View History

2024-07-06 03:02:08 +02:00
<?php
$madeby = "Boris Bilc";
2024-07-10 18:29:55 +02:00
$version = "1.2";
2024-07-06 03:02:08 +02:00
// For learning and experimental use only
?>
2024-07-03 00:25:50 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>TPS1100 Convert Online</title>
<meta content="text/html" charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<style>
pre {
overflow-x: auto;
max-width: 60vw;
}
pre code {
word-wrap: normal;
white-space: pre;
}
body {
2024-07-10 18:29:55 +02:00
background-color: rgba(25, 25, 25, 100.0);
2024-07-03 00:25:50 +02:00
color: #e0e0e0;
2024-07-06 03:02:08 +02:00
padding: 30px;
2024-07-03 00:25:50 +02:00
}
h1 {
color: deepskyblue;
font-size: 1.8em;
2024-07-10 18:29:55 +02:00
font-weight: bold;
2024-07-03 00:25:50 +02:00
}
2024-07-06 03:02:08 +02:00
2024-07-03 00:25:50 +02:00
h2 {
color: #FFDB23;
font-size: 1.4em;
2024-07-10 18:29:55 +02:00
margin-top: 25px;
margin-bottom: 15px;
2024-07-03 00:25:50 +02:00
}
h3 {
color: #FFDB23;
font-size: 1.25em;
2024-07-10 18:29:55 +02:00
margin-top: 20px;
margin-bottom: 15px;
border-bottom: 1px solid #FFDB23;
2024-07-03 00:25:50 +02:00
}
hr {
color: darkorange;
border-color: darkorange;
}
input {
2024-07-10 18:29:55 +02:00
margin-left: 12px;
2024-07-03 00:25:50 +02:00
}
table {
color: #E0E0E0 !important;
}
2024-07-10 18:29:55 +02:00
.info {
font-size: 10pt;
}
2024-07-03 00:25:50 +02:00
.table-on {
color: #d1f200 !important;
}
.table-off {
color: #e00000 !important;
}
.table-conn {
color: #d1f200 !important;
}
.table-disconn {
color: #c9c9c9 !important;
}
.indicator {
border: 1px solid #383737;
border-radius: 8px;
margin-left: 8px;
margin-right: 8px;
margin-bottom: -4px;
height: 16px;
width: 16px;
background-color: #4f4f4f;
display: inline-block;
}
.indicatorOn {
background-color: #d1f200;
box-shadow: 0px 0px 8px 0px #edff7b, inset 1px 10px 1px #d1f200, inset 0px -1px 10px 1px #95ac00;
}
.indicatorOff {
background-color: red;
box-shadow: 0px 0px 8px 0px #ff3131, inset 1px 10px 1px #e63a3a, inset 0px -1px 10px 1px #a80808;
}
.indicatorDisconn {
background-color: #c9c9c9;
box-shadow: 0px 0px 8px 0px #e0e0e0, inset 1px 10px 1px #c9c9c9, inset 0px -1px 10px 1px #9b9b9b;
}
</style>
</head>
<html>
<body>
<h1>
2024-07-10 18:29:55 +02:00
<img src="TPS1100CNVRT_logo.png" height="48px"> TPS1100 Convert Online
2024-07-03 00:25:50 +02:00
</h1>
<p>
2024-07-10 18:29:55 +02:00
PHP skripta za procesiranje datotek GSI (za instrumente TPS1100).
2024-07-03 00:25:50 +02:00
</p>
2024-07-10 18:29:55 +02:00
<p>
Skripta omogoča izvoz koordinat točk z klasifikacijo.<br>
Za pravilen izvoz z klasifikacijo je zahtevana uporaba kodiranja. Za GSI datoteke brez kodiranja uporabi opcijo "Seznam Točk (Brez Kodiranja) [PtId E N H]"<br>
Kodiranje je opisano v navodilih aplikacije "TPS1100 Convert" za Windows OS.<br>
<br>
<b>TPS1100 Convert</b>: <a href="https://multibox.nohost.me/gitea/boris/TPS1100-Convert#tps1100-convert">Aplikacija</a> | <a href="https://multibox.nohost.me/gitea/boris/TPS1100-Convert/releases">Prenos</a> | <a href="https://multibox.nohost.me/gitea/boris/TPS1100-Convert/wiki">Wiki</a> | <a href="https://multibox.nohost.me/gitea/boris/TPS1100-Convert/raw/branch/main/Podatki/Navodila.pdf">Navodila (PDF)</a>
</p>
<hr>
</hr>
2024-07-06 03:02:08 +02:00
<form action="obdelava.php" method="post" enctype="multipart/form-data" target="_blank">
2024-07-10 18:29:55 +02:00
<h3>
Procesiranje GSI datoteke
</h3>
<p>
Naloži GSI datoteko za procesiranje...
</p>
2024-07-03 00:25:50 +02:00
<input type="file" name="fileToUpload" id="fileToUpload" label=" Izberi GSI datoteko..." itemtype="" /><br>
<h3>
2024-07-10 18:29:55 +02:00
Priprava Podatkov
2024-07-03 00:25:50 +02:00
</h3>
2024-07-10 18:29:55 +02:00
<p>
Izberi način priprave za izvoz podatkov...
</p>
<input type="radio" name="obdelava" id="tockebrez" value="tockebrez" />
<label for="tockebrez"> - Seznam Točk (Brez Kodiranja) [PtId E N H]</label><br>
2024-07-06 03:02:08 +02:00
<input type="radio" name="obdelava" id="tockeklas" value="tockeklas" checked="true" />
2024-07-10 18:29:55 +02:00
<label for="tockeklas"> - Merjene Točke + Klasifikacija [PtId E N H Class] <img src="icons8-error-48.png" height="21px" alt="Kodiranje" ></label><br>
2024-07-06 03:02:08 +02:00
<input type="radio" name="obdelava" id="tocke" value="tocke" />
2024-07-10 18:29:55 +02:00
<label for="tocke"> - Merjene Točke [PtId E N H] <img src="icons8-error-48.png" height="21px"></label><br>
<input type="radio" name="obdelava" id="geoskripta" value="geoskripta" />
<label for="geoskripta"> - GEO Skripta (za preračune meritev v Geo10/GeoPro) <img src="icons8-error-48.png" height="21px"></label><br>
<br>
<p style="font-size: small;">
<img src="icons8-error-48.png" height="21px"> Datoteka GSI mora vsebovati kodiranje podatkov za pravilno procesiranje. (Stojišča, Orientacije, Meritve, ...)
</p>
2024-07-06 03:02:08 +02:00
<h3>
2024-07-10 18:29:55 +02:00
Format Datoteke
2024-07-06 03:02:08 +02:00
</h3>
2024-07-10 18:29:55 +02:00
<p>
Izberi tip datoteke za izvoz...
</p>
2024-07-06 03:02:08 +02:00
<input type="radio" name="tipdat" id="txt" value="txt" checked="true" />
<label for="txt">TXT</label>
<input type="radio" name="tipdat" id="koo" value="koo" />
2024-07-10 18:29:55 +02:00
<label for="txt">KOO</label><br><br>
2024-07-06 03:02:08 +02:00
<input type="submit" value="Pripravi Datoteko" name="submit">
2024-07-03 00:25:50 +02:00
</form>
<?php
$data = "";
?>
2024-07-06 03:02:08 +02:00
<hr>
</hr>
2024-07-10 18:29:55 +02:00
<br><br>
2024-07-06 03:02:08 +02:00
<p>
<?php
2024-07-10 18:29:55 +02:00
print "Verzija: " . $version . " | Izdelal: " . $madeby;
2024-07-06 03:02:08 +02:00
?>
</p>
<p>
Gostovano na <a href="https://multibox.nohost.me/website" target="_blank">MultiBox</a>
</p>
2024-07-03 00:25:50 +02:00
</body>
</html>