This repository has been archived by the owner on Oct 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
batch3dfier_config_2-tiles.yml
52 lines (46 loc) · 2.37 KB
/
batch3dfier_config_2-tiles.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
input_polygons:
# Database access for 2D footprints
database:
dbname: batch3dfier_db
host: localhost
port: 5432
user: batch3dfier
pw: batch3d_test
tile_schema: bag_tiles # Name of the schema that contains the footprint tile views
user_schema: # If user has no CREATE and DROP privilege on tile_schema, provide a schema where it has.. Mainly relevant when 'extent' is provided.
tile_prefix: t_ # Prefix prepended to the footprint tile view names. If blank, its assumed that the views are named as the values in field referenced by tile_index:elevation:fields:unit_name
uniqueid: identification
extent: # /home/bdukai/Development/batch3dfier/example_data/extent_small.geojson #/home/bdukai/Development/3dfier_csv/temp/area1.geojson # The polygon for clipping the input
tile_list: [t_25gn1_c1, t_25gn1_c2] # list of tile IDs as they are in tile_schema | [all] to use all IDs in tile_index
input_elevation:
dataset_dir: /home/bdukai/Development/batch3dfier/example_data # location of pointcloud files
dataset_name: c_{tile}.laz # naming convention for the pointcloud files
tile_case: lower
# tile_case controls how the string matching is done for {tile} in order to
# find the input_elevation files in dataset_dir. Allowed are
# 'upper' (e.g. C_25GN1_filtered.LAZ),
# 'lower' (e.g. C_25gn1_filtered.LAZ),
# 'mixed' (e.g. C_25Gn1_filtered.LAZ). In case of 'mixed', the values of
# the input_polygons tile ID (e.g. what is provided for tile_list) should
# match exactly the {tile} in dataset_name.
# For the code see call3dfier()
tile_index:
polygons:
# schema, table that stores the tile extent/index polygons and IDs
schema: tile_index
table: bag_index
fields:
primary_key: gid # name of the primary key field in bag_units
geometry: geom # name of the geometry field in bag_units
unit_name: unit # name of the field of the tile index unit names
elevation:
schema: tile_index
table: ahn_index
fields:
primary_key: gid
geometry: geom
unit_name: unit
output:
format: OBJ # CSV-BUILDINGS-MULTIPLE # OBJ # CSV-BUILDINGS-MULTIPLE
dir: /home/bdukai/Data/3DBAG
path_3dfier: /home/bdukai/Development/3dfier/build/3dfier # location of the 3dfier executable