Commit cc95349e authored by liguoqing's avatar liguoqing

Initial commit

parents
Pipeline #296 canceled with stages
UTF-8
\ No newline at end of file
File added
UTF-8
\ No newline at end of file
UTF-8
\ No newline at end of file
UTF-8
\ No newline at end of file
UTF-8
\ No newline at end of file
UTF-8
\ No newline at end of file
UTF-8
\ No newline at end of file
UTF-8
\ No newline at end of file
File added
File added
File added
File added
File added
UTF-8
\ No newline at end of file
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
242250.8449669481,
3487336.363947048,
13.0
]
},
"properties": {
"name": "northExit"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
242266.6351016951,
3487336.9639469525,
13.0
]
},
"properties": {
"name": "northEntrance"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
242278.3406843484,
3487312.8305731486,
13.0
]
},
"properties": {
"name": "eastExit"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
242278.16868434256,
3487298.3159905695,
13.0
]
},
"properties": {
"name": "eastEntrance"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
242258.42531033044,
3487287.324303536,
13.0
]
},
"properties": {
"name": "southExit"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
242241.65572781567,
3487288.574303536,
13.0
]
},
"properties": {
"name": "southEntrance"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
242230.77904085163,
3487299.915990534,
13.0
]
},
"properties": {
"name": "westExit"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
242230.12104085926,
3487322.4303643797,
13.0
]
},
"properties": {
"name": "westEntrance"
}
}
],
"crs": {
"type": "name",
"properties": {
"name": "+proj=utm +zone=50 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"
}
}
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="description" content="">
<meta name="author" content="">
<title>HDView</title>
<link rel="stylesheet" type="text/css" href="libs/pt/pt.css">
<link rel="stylesheet" type="text/css" href="libs/jstree/themes/mixed/style.css">
</head>
<body>
<script src="./libs/browser-polyfill.js"></script>
<script src="libs/jquery/jquery-3.1.1.min.js"></script>
<script src="libs/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
<script src="libs/jquery-ui/jquery-ui.min.js"></script>
<script src="libs/three.js/build/three.min.js"></script>
<script src="libs/three.js/lines/LineSegmentsGeometry.js"></script>
<script src="libs/three.js/lines/LineGeometry.js"></script>
<script src="libs/three.js/lines/LineMaterial.js"></script>
<script src="libs/three.js/lines/LineSegments2.js"></script>
<script src="libs/three.js/lines/Line2.js"></script>
<script src="libs/three.js/build/BinaryLoader.js"></script>
<script src="libs/three.js/loaders/DDSLoader.js"></script>
<script src="libs/three.js/loaders/MTLLoader.js"></script>
<script src="libs/three.js/loaders/OBJLoader.js"></script>
<script src="libs/other/BinaryHeap.js"></script>
<script src="libs/tween/tween.min.js"></script>
<script src="libs/proj4/proj4-src.js"></script>
<script src="libs/pt/pt.min.js"></script>
<!--<script src="libs/pt/statisticsObject.js"></script>
<script src="libs/pt/motorObject.js"></script>-->
<script src="libs/plasio/jsx/laslaz.js"></script>
<script src="./libs/shapefile/shapefile.min.js"></script>
<script src="./libs/earcut.js"></script>
<div class="potree_container" style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; ">
<div id="potree_render_area"></div>
<div id="potree_sidebar_container" style="position: absolute; width: 0%; height: 100%; left: 0px; top: 0px; "> </div>
<!--<div><span id="dt_test" style="position: fixed;width:48px;height: 24px;right:20px;top:20px;z-index: 1000;background: rgb(149,188,167);text-align: center;vertical-align: middle;">START</span></div>-->
</div>
<!--<script src="./conf.js" TYPE="text/javascript"></script>
<script src="./parseShp_Json.js" TYPE="text/javascript"></script>
<script src="./utils.js" TYPE="text/javascript"></script>
<script src="./manupulate.js" TYPE="text/javascript"></script>-->
<script src="./shprender.js" TYPE="text/javascript"></script>
<script>
window.viewer = new Potree.Viewer(document.getElementById("potree_render_area"));
jf.viewer = viewer;
jf.viewer.setFOV(60);
jf.viewer.setPointBudget(8*1000*1000);
jf.viewer.setEDLEnabled(false);
jf.viewer.setBackground("black");//"black"
jf.viewer.skybox = Potree.utils.loadSkybox(new URL(Potree.resourcePath + '/textures/sunny/').href);
jf.viewer.setNavigationMode(Potree.EarthControls);
{
jf.scene = jf.viewer.scene.scene;
for(var ii=0,len = jf.shps.length;ii<len;ii++){
let url = "./hdmap/"+ jf.shps[ii] + ".shp";
let color = jf.styles[jf.shps[ii]].color;
let width = jf.styles[jf.shps[ii]].width;
let texture_map = jf.styles[jf.shps[ii]].map?jf.styles[jf.shps[ii]].map:null;
readShp(url,color,width,texture_map);
}
}
if(window.location.search!=''){
var queryString = window.location.search;
var length = queryString.length;
var queryArr = queryString.split("=");
var id = queryArr[queryArr.length -1];
if(id){
console.log(id);
}else {
console.error("Can't get id of this bus.");
}
}
let box = new THREE.Box3(new THREE.Vector3(242126.1367340088,3487175.517250061,-43.8674373626709),new THREE.Vector3(242394.3067340088,3487450.804094238,123.85993209838867));
fitToScreen();
function fitToScreen (factor = 1, animationDuration = 0) {
var node = new THREE.Object3D();
node.boundingBox = box;
jf.viewer.scene.view.yaw = 0;
jf.viewer.scene.pitch = -Math.PI / 2;
jf.viewer.zoomTo(node, factor, animationDuration);
jf.viewer.scene.view.yawDelta = 0;
jf.viewer.scene.view.pitchDelta = 0;
jf.viewer.scene.view.radiusDelta = 0;
}
</script>
<script>
</script>
</body>
</html>
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
Copyright jQuery Foundation and other contributors, https://jquery.org/
This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
available at https://github.com/jquery/jquery-ui
The following license applies to all parts of this software except as
documented below:
====
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
====
Copyright and related rights for sample code are waived via CC0. Sample
code is defined as all source code contained within the demos directory.
CC0: http://creativecommons.org/publicdomain/zero/1.0/
====
All files located in the node_modules and external directories are
externally maintained libraries used by this software which have their
own licenses; we recommend you read them, as their terms may differ from
the terms above.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment