Commit 14fd1377 authored by Patrick's avatar Patrick
Browse files

Update Rosenstein

parent f2e3841a
This diff is collapsed.
This diff is collapsed.
......@@ -309,6 +309,27 @@
"layerNames": [
"Questionnaire"
]
},{
"template": [
"<div class='balloon' id='myBalloonNord'>",
" <h1 class='balloon-title' >Nordbahnhof Planungskonzept</h1>",
" <div class='balloon-content' style='margin-right: 0px;'",
" </div>",
"<p class='balloon-text'><span>Für mehr Infos klicken Sie bitte hier!</span><br></p>",
"<button id='newP' onclick='newPlan()'>Neue Planung</button>",
"<button id='oldZ' onclick='oldZust()'>Ist Zustand</button>",
"</div>",
"<% %>"
],
"minTop": "balloonHeight + 10",
"minLeft": "70",
"layerTypes": [
""
],
"layerNames": [
"ProjektNord"
]
},
{
"template": [
......@@ -673,10 +694,42 @@
"url": "",
"year": ""
}
},{
"name": "Stuttgart",
"url": "http://193.196.37.89:8092/AssetsHFT/3DTile_Stuttgart_City_LoD1_Georocket/tileset.json",
"type": "vcs.vcm.layer.cesium.Buildings",
"datasourceId": "zECwoSwXppPMrqfSt",
"activeOnStartup": false,
"exclusive": false,
"allowPicking": true,
"screenSpaceError": 16,
"screenSpaceErrorMobile": 32,
"hiddenObjectIds": [],
"copyright": {
"provider": "",
"url": "",
"year": ""
}
},{
"name": "Rosenstein",
"url": "./datasource-data/Rosenstein/tileset.json",
"type": "vcs.vcm.layer.cesium.Buildings",
"datasourceId": "zECwoSwXppPMrqfRos",
"activeOnStartup": false,
"exclusive": false,
"allowPicking": true,
"screenSpaceError": 16,
"screenSpaceErrorMobile": 32,
"hiddenObjectIds": [],
"copyright": {
"provider": "",
"url": "",
"year": ""
}
},
{
"name": "Stöckach",
"url": "./datasource-data/81eb0a93-dbfd-4c80-a51d-1ce3cee5c539/tileset.json",
"url": "./datasource-data/Stockach/tileset.json",
"type": "vcs.vcm.layer.cesium.Buildings",
"datasourceId": "orpdK9eKzTLaDmYC9",
"activeOnStartup": true,
......@@ -755,6 +808,27 @@
}
},
"heightAboveGround": 0
},{
"name": "ProjektNord",
"url": "./templates/ProjektNord.geojson",
"type": "vcs.vcm.layer.GeoJSON",
"datasourceId": "...",
"activeOnStartup": true,
"exclusive": false,
"projection": {
"epsg": "4326",
"proj4": ""
},
"altitudeMode": "relativeToGround",
"style": {
"image": {
"icon": {
"src": "./templates/lightning.png",
"scale": 0.5
}
}
},
"heightAboveGround": 0
},{
"name": "Questionnaire",
"url": "./templates/Questionnaire.geojson",
......
{
"asset" : {
"version" : "0.0"
},
"properties" : {
"gml_id" : {},
"gml_parent_id" : {},
"citygml_target_uri" : {},
"citygml_feature_role" : {},
"citygml_feature_role_attr_name" : {},
"citygml_feature_role_attr_val" : {},
"gml_description" : {},
"gml_name" : {},
"citygml_creationDate" : {},
"citygml_terminationDate" : {},
"externalReference{}.externalObject.name" : {},
"externalReference{}.externalObject.uri" : {},
"externalReference{}.informationSystem" : {},
"citygml_generalizes_to{}.xlink_href" : {},
"citygml_relative_to_terrain" : {},
"citygml_relative_to_water" : {},
"citygml_appearance{}.xlink_href" : {},
"citygml_class" : {},
"citygml_class_codeSpace" : {},
"citygml_function{}" : {},
"citygml_function{}.codeSpace" : {},
"citygml_usage{}" : {},
"citygml_usage{}.codeSpace" : {},
"citygml_year_of_construction" : {},
"citygml_year_of_demolition" : {},
"citygml_roof_type" : {},
"citygml_roof_type_codeSpace" : {},
"citygml_measured_height" : {
"minimum" : 12.5,
"maximum" : 35
},
"citygml_measured_height_units" : {},
"citygml_storeys_above_ground" : {},
"citygml_storeys_below_ground" : {},
"citygml_storey_heights_above_ground" : {},
"citygml_storey_heights_above_ground_units" : {},
"citygml_storey_heights_below_ground" : {},
"citygml_storey_heights_below_ground_units" : {},
"citygml_outer_building_installation{}.xlink_href" : {},
"citygml_interior_building_installation{}.xlink_href" : {},
"citygml_bounded_by{}.xlink_href" : {},
"citygml_level_of_detail{}" : {},
"citygml_interior_room{}.xlink_href" : {},
"citygml_consists_of_building_part{}.xlink_href" : {},
"citygml_address{}.xlink_href" : {},
"footprint_area" : {},
"footprint_area_unit" : {},
"gross_floor_area" : {},
"gross_floor_area_unit" : {}
},
"geometricError" : 67.45996055472642,
"root" : {
"boundingVolume" : {
"box" : [ 4155348.6786887813, 672943.4777632501, 4775709.619341666, 441.7821512138471, 0, 0, 0, 473.17278632707894, 0, 0, 0, 352.48630644660443 ]
},
"refine" : "ADD",
"content" : {
"boundingVolume" : {
"box" : [ 4155348.6786887813, 672943.4777632501, 4775709.619341666, 441.7821512138471, 0, 0, 0, 473.17278632707894, 0, 0, 0, 352.48630644660443 ]
},
"url" : "data/data0.b3dm"
}
}
}
\ No newline at end of file
precision highp float;
uniform vec4 u_diffuse_mat;
varying vec3 v_normal;
varying float v_specularIntensity;
void main(void) {
float lambert = dot(v_normal,czm_sunDirectionEC);
float diffuseIntensity = (lambert + 1.0) * 0.5 * 1.0 + 0.3;
vec4 diffuseColor = u_diffuse_mat;
vec3 lightColor = vec3(1.0, 1.0, 1.0);
vec4 color = vec4(diffuseColor.rgb * diffuseIntensity + lightColor.rgb * v_specularIntensity, diffuseColor.a);
gl_FragColor = color;
}
uniform mat4 u_modelViewMatrix;
uniform mat4 u_projectionMatrix;
attribute vec3 a_position;
attribute float a_batchId;
attribute vec3 a_normal;
varying vec3 v_normal;
uniform mat3 u_normalMatrix;
uniform float u_shininess;
uniform float u_specularNorm;
varying float v_specularIntensity;
void main(void) {
vec4 pos = u_modelViewMatrix * vec4(a_position,1.0);
v_normal = normalize(u_normalMatrix * (a_normal));
vec3 viewDir = -normalize(pos.xyz);
vec3 h = normalize(czm_sunDirectionEC + viewDir);
v_specularIntensity = max(0., pow(max(dot(v_normal, h), 0.), u_shininess)) * u_specularNorm * 0.0;
gl_Position = u_projectionMatrix * pos;
}
{
"asset": {
"version": "1.0",
"tilesetVersion": "106268978558"
},
"geometricError": 48.828125,
"root": {
"boundingVolume": {
"region": [
0.160396866,
0.851455211,
0.160876235,
0.851742832,
0.0,
63.2
]
},
"geometricError": 24.4140625,
"refine": "ADD",
"children": [
{
"boundingVolume": {
"region": [
0.160396866,
0.85154185,
0.160522913,
0.851646958,
0.0,
38.2
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160433696,
0.85154185,
0.160522913,
0.851642355,
0.0,
38.2
]
},
"uri": "15/34441/7501.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160396866,
0.851455211,
0.160494697,
0.851552905,
0.0,
38.8
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160423931,
0.851501833,
0.160494697,
0.851552905,
0.0,
38.8
]
},
"uri": "15/34441/7502.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160492739,
0.851635288,
0.160588613,
0.851742832,
0.0,
24.3
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160518623,
0.851635288,
0.160563251,
0.851663454,
0.0,
24.3
]
},
"uri": "15/34442/7500.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160492739,
0.851547719,
0.160595362,
0.851646958,
0.0,
34.7
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.16049726,
0.851547719,
0.160595362,
0.851629215,
0.0,
34.7
]
},
"uri": "15/34442/7501.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160484184,
0.851455211,
0.160588613,
0.851552843,
0.0,
51.4
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160484184,
0.851498948,
0.160588295,
0.851552843,
0.0,
51.4
]
},
"uri": "15/34442/7502.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160568482,
0.85154396,
0.160684487,
0.851646958,
0.0,
63.2
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160568482,
0.85154396,
0.160682454,
0.851644258,
0.0,
63.2
]
},
"uri": "15/34443/7501.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160584067,
0.851455211,
0.160686053,
0.851551875,
0.0,
46.2
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160584067,
0.851499898,
0.160686053,
0.851551875,
0.0,
46.2
]
},
"uri": "15/34443/7502.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160684487,
0.851644337,
0.160780361,
0.851742832,
0.0,
15.5
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160757869,
0.851644337,
0.160767401,
0.851657593,
0.0,
15.5
]
},
"uri": "15/34444/7500.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160680673,
0.851549281,
0.160780455,
0.851647774,
0.0,
33.8
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"uri": "15/34444/7501.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160683536,
0.851455211,
0.160782884,
0.851556049,
0.0,
28.0
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160683536,
0.851501676,
0.160782884,
0.851556049,
0.0,
28.0
]
},
"uri": "15/34444/7502.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160772842,
0.851551084,
0.160876235,
0.851671258,
0.0,
27.7
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160772842,
0.851551323,
0.160870326,
0.851671258,
0.0,
27.7
]
},
"uri": "15/34445/7501.b3dm"
}
},
{
"boundingVolume": {
"region": [
0.160780361,
0.851455211,
0.160876235,
0.851560604,
0.0,
29.8
]
},
"geometricError": 0.0,
"refine": "REPLACE",
"content": {
"boundingVolume": {
"region": [
0.160781383,
0.851503338,
0.160868284,
0.851560604,
0.0,
29.8
]
},
"uri": "15/34445/7502.b3dm"
}
}
]
},
"properties": {},
"extras": {
"_3DTILESDIFFUSE": true
}
}
\ No newline at end of file
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