diff --git a/dowlow_2021_v1.json b/dowlow_2021_v1.json index 5cc432c..be845d4 100644 --- a/dowlow_2021_v1.json +++ b/dowlow_2021_v1.json @@ -9,20 +9,20 @@ ] }, "scales": [ - 0.3474179, + 12.99494, 1.0, 1.0, 1.0 ], - "default_proj": "EPSG:4326", + "default_proj": "EPSG:4979", "grid-scale": 1.0, "cameras": [ { "type": "Point", "coordinates": [ - -1.8482130965256438, - 53.211801717499569, - 363.3641357421875 + -1.8482363078496775, + 53.211838109810955, + 381.0130615234375 ] }, { @@ -227,7 +227,7 @@ "eoh-field": null } }, - "proj4": "EPSG:27700" + "proj4": "EPSG:7405" }, { "id": "002", @@ -561,7 +561,7 @@ "eoh-field": null } }, - "proj4": "EPSG:27700" + "proj4": "EPSG:7405" }, { "id": "006", @@ -903,7 +903,7 @@ "eoh-field": null } }, - "proj4": "EPSG:27700" + "proj4": "EPSG:7405" }, { "id": "009", @@ -1235,7 +1235,7 @@ "eoh-field": null } }, - "proj4": "EPSG:27700" + "proj4": "EPSG:7405" } ] } \ No newline at end of file diff --git a/esri-tin.json b/esri-tin.json index 99251a5..fc14b6c 100644 --- a/esri-tin.json +++ b/esri-tin.json @@ -1 +1 @@ -{"name": "esri tin", "origin": {"type": "Point", "coordinates": [18.684947943999987, 45.79420143800013]}, "grid-scale": 1, "scale": 1, "default_proj": "EPSG:4326", "cameras": [{"type": "Point", "coordinates": [18.684947943999987, 45.79420143800013]}], "recordsets": [{"display-name": "Mapbox Map", "id": "001", "datatype": "MapBox", "source": "", "properties": {"units": {"point": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "line": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "body": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "handle": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}}, "mapscale": 15, "map_size": 10, "elevation_source_type": "MapboxTerrain", "elevation_layer_type": "TerrainWithElevation", "imagery_source_type": "MapboxStreets"}, "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "position": null, "proj4": ""}, {"display-name": "DEM", "id": "002", "datatype": "Mdal", "source": "test_data/esri_tin/dem/tnxy.adf", "properties": {"units": {"point": {"color": [1.0, 1.0, 1.0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "line": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "body": {"color": [0.4, 1.0, 1, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "handle": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}}, "source-type": "File", "bbox": [18.666484444, 45.811526438, 18.703411443999975, 45.77687643800026]}, "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "position": null, "proj4": ""}], "version": "geo:1.0.4"} \ No newline at end of file +{"name": "esri tin", "origin": {"type": "Point", "coordinates": [45.79, 18.69]}, "grid-scale": 1, "scale": 1, "default_proj": "EPSG:4326", "cameras": [{"type": "Point", "coordinates": [45.79, 18.69]}], "recordsets": [{"display-name": "Mapbox Map", "id": "001", "datatype": "MapBox", "source": "", "properties": {"units": {"point": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "line": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "body": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "handle": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}}, "mapscale": 15, "map_size": 10, "elevation_source_type": "MapboxTerrain", "elevation_layer_type": "TerrainWithElevation", "imagery_source_type": "MapboxStreets"}, "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "position": null, "proj4": ""}, {"display-name": "DEM", "id": "002", "datatype": "Mdal", "source": "test_data/esri_tin/dem/tnxy.adf", "properties": {"units": {"point": {"color": [1.0, 1.0, 1.0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "line": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "body": {"color": [0.4, 1.0, 1, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}, "handle": {"color": [0, 0, 0, 1], "shape": "Spheroid", "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "label": ""}}, "source-type": "File", "bbox": [18.666484444, 45.811526438, 18.703411443999975, 45.77687643800026]}, "transform": {"translate": [0.0, 0.0, 0.0], "rotate": [0.0, 0.0, 0.0, 1.0], "scale": [1.0, 1.0, 1.0]}, "position": null, "proj4": ""}], "version": "geo:1.0.4"} \ No newline at end of file diff --git a/hope.json b/hope.json index 9c5aa85..e21ff21 100644 --- a/hope.json +++ b/hope.json @@ -9,7 +9,7 @@ ] }, "scales": [ - 1.0, + 2.29905438, 1.0, 1.0, 1.0 @@ -20,9 +20,9 @@ { "type": "Point", "coordinates": [ - -1.7814495593920561, - 53.327952184591553, - 430.12020874023438 + -1.7807688819289966, + 53.328069238539015, + 389.6806640625 ] }, { @@ -1347,31 +1347,3 @@ } }, "dem": null, - "header-string": null, - "color-mode": "SinglebandGrey", - "colorinterp": null, - "filter": null, - "bbox": null, - "mapscale": 0, - "map_size": 0, - "image_folder": "test_data/images", - "bh-data": { - "x-field": null, - "y-field": null, - "z-field": null, - "id-field": null, - "inc-field": null, - "azi-field": null, - "from-field": null, - "to-field": null, - "data-field": null, - "data-source": null, - "log-id-field": null, - "Legend": null, - "eoh-field": null - } - }, - "proj4": "" - } - ] -} \ No newline at end of file diff --git a/ksa-test.json b/ksa-test.json new file mode 100644 index 0000000..7900ece --- /dev/null +++ b/ksa-test.json @@ -0,0 +1,391 @@ +{ + "version": "geo:1.0.4", + "name": "KSA Test", + "origin": { + "type": "Point", + "coordinates": [ + 34.945686499999994, + 28.467615499999997 + ] + }, + "scales": [ + 14.4209929, + 1.0, + 1.0, + 1.0 + ], + "default_proj": "EPSG:4326", + "grid-scale": 1.0, + "cameras": [ + { + "type": "Point", + "coordinates": [ + 34.9450121303649, + 28.467662880568522, + 593.67584228515625 + ] + }, + { + "type": "Point", + "coordinates": [ + 34.945686499999994, + 28.467615499999997 + ] + }, + { + "type": "Point", + "coordinates": [ + 34.945686499999994, + 28.467615499999997 + ] + }, + { + "type": "Point", + "coordinates": [ + 34.945686499999994, + 28.467615499999997 + ] + } + ], + "recordsets": [ + { + "id": "001", + "display-name": "Mapbox Map", + "datatype": "MapBox", + "source": "", + "position": null, + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "properties": { + "units": { + "point": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "line": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "body": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "handle": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + } + }, + "dem": null, + "header-string": null, + "color-mode": "SinglebandGrey", + "colorinterp": null, + "filter": null, + "bbox": null, + "mapscale": 15, + "map_size": 10, + "elevation_layer_type": "TerrainWithElevation", + "imagery_source_type": "MapboxStreets", + "image_folder": null, + "bh-data": { + "x-field": null, + "y-field": null, + "z-field": null, + "id-field": null, + "inc-field": null, + "azi-field": null, + "from-field": null, + "to-field": null, + "data-field": null, + "data-source": null, + "log-id-field": null, + "Legend": null, + "eoh-field": null + } + }, + "proj4": "" + }, + { + "id": "002", + "display-name": "DXF Data", + "datatype": "Mesh", + "source": "project_data/MAGNA001__006 P_1.DXF", + "position": null, + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "properties": { + "units": { + "point": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "line": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "body": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "handle": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + } + }, + "dem": null, + "header-string": null, + "color-mode": "SinglebandGrey", + "colorinterp": null, + "filter": null, + "bbox": [ + 34.945175, + 28.467688, + 34.946198, + 28.467543 + ], + "mapscale": 0, + "map_size": 0, + "image_folder": null, + "bh-data": { + "x-field": null, + "y-field": null, + "z-field": null, + "id-field": null, + "inc-field": null, + "azi-field": null, + "from-field": null, + "to-field": null, + "data-field": null, + "data-source": null, + "log-id-field": null, + "Legend": null, + "eoh-field": null + } + }, + "proj4": "EPSG:4326" + } + ] +} \ No newline at end of file diff --git a/test-gpr.json b/test-gpr.json new file mode 100644 index 0000000..ab9a88a --- /dev/null +++ b/test-gpr.json @@ -0,0 +1,552 @@ +{ + "version": "geo:1.0.4", + "name": "test gpr", + "origin": { + "type": "Point", + "coordinates": [ + 34.902752318614382, + 28.455763390138891 + ] + }, + "scales": [ + 2.39175248, + 1.0, + 1.0, + 1.0 + ], + "default_proj": "EPSG:4979", + "grid-scale": 1.0, + "cameras": [ + { + "type": "Point", + "coordinates": [ + 34.906538731714463, + 28.458625794379238, + 230.85287475585938 + ] + }, + { + "type": "Point", + "coordinates": [ + 34.902752318614382, + 28.455763390138891 + ] + }, + { + "type": "Point", + "coordinates": [ + 34.902752318614382, + 28.455763390138891 + ] + }, + { + "type": "Point", + "coordinates": [ + 34.902752318614382, + 28.455763390138891 + ] + } + ], + "recordsets": [ + { + "id": "001", + "display-name": "Mapbox Map", + "datatype": "MapBox", + "source": "", + "position": null, + "transform": { + "translate": [ + 0.0, + 0.0, + -13.007268 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "properties": { + "units": { + "point": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "line": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "body": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "handle": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + } + }, + "dem": null, + "header-string": null, + "color-mode": "SinglebandGrey", + "colorinterp": null, + "filter": null, + "bbox": null, + "mapscale": 15, + "map_size": 10, + "elevation_layer_type": "TerrainWithElevation", + "imagery_source_type": "MapboxSatellite", + "image_folder": null, + "bh-data": { + "x-field": null, + "y-field": null, + "z-field": null, + "id-field": null, + "inc-field": null, + "azi-field": null, + "from-field": null, + "to-field": null, + "data-field": null, + "data-source": null, + "log-id-field": null, + "Legend": null, + "eoh-field": null + } + }, + "proj4": "" + }, + { + "id": "002", + "display-name": "052", + "datatype": "PointCloud", + "source": "sample_data/test2.las", + "position": null, + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "properties": { + "units": { + "point": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 0.3, + 0.3, + 0.1 + ] + }, + "label": "" + }, + "line": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "body": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "handle": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + } + }, + "dem": null, + "header-string": null, + "color-mode": "MultibandColor", + "colorinterp": null, + "filter": null, + "bbox": null, + "mapscale": 0, + "map_size": 0, + "image_folder": null, + "bh-data": { + "x-field": null, + "y-field": null, + "z-field": null, + "id-field": null, + "inc-field": null, + "azi-field": null, + "from-field": null, + "to-field": null, + "data-field": null, + "data-source": null, + "log-id-field": null, + "Legend": null, + "eoh-field": null + } + }, + "proj4": "EPSG:32636" + }, + { + "id": "003", + "display-name": "051", + "datatype": "PointCloud", + "source": "sample_data/51.las", + "position": null, + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "properties": { + "units": { + "point": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 0.3, + 0.3, + 0.1 + ] + }, + "label": "" + }, + "line": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "body": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + }, + "handle": { + "color": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "shape": "Spheroid", + "transform": { + "translate": [ + 0.0, + 0.0, + 0.0 + ], + "rotate": [ + 0.0, + 0.0, + 0.0, + 1.0 + ], + "scale": [ + 1.0, + 1.0, + 1.0 + ] + }, + "label": "" + } + }, + "dem": null, + "header-string": null, + "color-mode": "SinglebandGrey", + "colorinterp": null, + "filter": null, + "bbox": null, + "mapscale": 0, + "map_size": 0, + "image_folder": null, + "bh-data": { + "x-field": null, + "y-field": null, + "z-field": null, + "id-field": null, + "inc-field": null, + "azi-field": null, + "from-field": null, + "to-field": null, + "data-field": null, + "data-source": null, + "log-id-field": null, + "Legend": null, + "eoh-field": null + } + }, + "proj4": "EPSG:32636" + } + ] +} \ No newline at end of file