Skip to content

Commit

Permalink
tidied up cmfi osm config
Browse files Browse the repository at this point in the history
  • Loading branch information
DerButschi committed May 2, 2023
1 parent be59bf7 commit 6823f40
Showing 1 changed file with 3 additions and 295 deletions.
298 changes: 3 additions & 295 deletions default_osm_config_cmfi.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,15 @@
"active": true
},

"foot_path": {
"tags": [
["highway", "footway"],
["highway", "path"],
["highway", "track"]
],
"cm_types": [
{"menu": "Roads", "cat1": "Gravel Road", "tags": [["highway", "footway"], ["highway", "path"]]},
{"menu": "Roads", "cat1": "Foot Path", "tags": [["highway", "track"]]}
],
"process": [
"road_tiles"
],
"priority": 1,
"active": false
},

"rail": {
"tags": [
["railway", "rail"],
["railway", "light_rail"],
["railway", "disused"]
["railway", "disused"],
["railway", "tram"]
],
"cm_types": [
{"menu": "Roads", "cat1": "Railroad", "tags": [["railway", "rail"], ["railway", "light_rail"], ["railway", "disused"]]}
{"menu": "Roads", "cat1": "Railroad", "tags": [["railway", "rail"], ["railway", "light_rail"], ["railway", "disused"], ["railway", "tram"]]}
],
"process": [
"rail_tiles"
Expand Down Expand Up @@ -155,25 +139,6 @@
"active": true
},

"garden": {
"tags": [
["leisure", "garden"]
],
"cm_types": [
{"menu": "Ground 2", "cat1": "Crop 1", "weight": 1.0},
{"menu": "Ground 2", "cat1": "Plow NS", "weight": 0.5},
{"menu": "Ground 2", "cat1": "Plow EW", "weight": 0.5},
{"menu": "Ground 1", "cat1": "Grass", "weight": 1.0},
{"menu": "Foliage", "cat1": "Tree A", "cat2": "density 1", "weight": 0.5},
{"menu": "Foliage", "cat1": "Tree D", "cat2": "density 1", "weight": 0.5}
],
"process": [
"type_random_individual"
],
"priority": 1,
"active": false
},

"mixed_forest": {
"tags": [
["landuse", "forest"],
Expand Down Expand Up @@ -435,80 +400,6 @@
"active": true
},

"construction_site": {
"tags": [
["landuse", "construction"]
],
"cm_types": [
{"menu": "Ground 1", "cat1": "Dirt", "weight": 1.0}
],
"process": [
"type_random_individual"
],
"priority": 0,
"active": false
},

"pitch": {
"tags": [
["leisure", "pitch"]
],
"cm_types": [
{"menu": "Ground 1", "cat1": "Dirt Red", "tags": [["leisure", "pitch"]]}
],
"process": [
"type_from_tag"
],
"priority": 0,
"active": true
},

"gravel_beach": {
"tags": [
["natural", "beach"]
],
"required_tags": [
["surface", "gravel"]
],
"cm_types": [
{"menu": "Ground 2", "cat1": "Gravel", "tags": [["natural", "beach"]]}
],
"process": [
"type_from_tag"
],
"priority": 0,
"active": false
},

"playground": {
"tags": [
["leisure", "playground"]
],
"cm_types": [
{"menu": "Ground 1", "cat1": "Sand", "tags": [["leisure", "playground"]]}
],
"process": [
"type_from_tag"
],
"priority": 0,
"active": false
},


"parking_lot": {
"tags": [
["amenity", "parking"]
],
"cm_types": [
{"menu": "Ground 2", "cat1": "Pavement 2", "tags": [["amenity", "parking"]]}
],
"process": [
"type_from_tag"
],
"priority": 0,
"active": false
},

"single_trees": {
"tags": [
["natural", "tree"]
Expand Down Expand Up @@ -562,25 +453,6 @@
"active": true
},

"scattered_trees_area": {
"tags": [
["landuse", "scattered_trees"]
],
"cm_types": [
{"menu": "Foliage", "cat1": "Tree A", "cat2": "density 1", "weight": 1},
{"menu": "Foliage", "cat1": "Tree B", "cat2": "density 1", "weight": 1},
{"menu": "Foliage", "cat1": "Tree C", "cat2": "density 1", "weight": 1},
{"menu": "Foliage", "cat1": "Tree D", "cat2": "density 1", "weight": 1},
{"menu": "Foliage", "cat1": "Tree E", "cat2": "density 1", "weight": 1},
{"menu": "Foliage", "cat1": "Tree F", "cat2": "density 1", "weight": 1},
{"dummy": true, "weight": 64}
],
"process": [
"type_random_individual"
],
"priority": 0,
"active": false
},

"cemetery_gravestones": {
"tags": [
Expand All @@ -600,75 +472,6 @@
},


"industrial_yard_flavor_objects": {
"tags": [
["landuse", "industrial"]
],
"cm_types": [
{"menu": "Flavor Objects 1", "cat1": "Junk", "cat2": "Object 1", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Junk", "cat2": "Object 2", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Junk", "cat2": "Object 8", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Junk", "cat2": "Object 9", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Pallet", "cat2": "Object 1", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Pallet", "cat2": "Object 3", "weight": 1},
{"menu": "Flavor Objects 2", "cat1": "Shed", "cat2": "Object 6", "weight": 1},
{"menu": "Flavor Objects 2", "cat1": "Shed", "cat2": "Object 7", "weight": 1},
{"menu": "Flavor Objects 2", "cat1": "Shed", "cat2": "Object 8", "weight": 1},
{"dummy": true, "weight": 150}
],
"process": [
"type_random_individual"
],
"priority": 3,
"active": false
},

"industrial_yard_gravel": {
"tags": [
["landuse", "industrial"]
],
"required_tags": [
["surface", "gravel"]
],
"cm_types": [
{"menu": "Ground 2", "cat1": "Gravel", "tags": [["surface", "gravel"]]}
],
"process": [
"type_from_tag"
],
"priority": 4,
"active": false
},

"bus_stop": {
"tags": [
["highway", "bus_stop"]
],
"cm_types": [
{"menu": "Flavor Objects 2", "cat1": "Shelter", "cat2": "Object 1", "weight": 1},
{"menu": "Flavor Objects 2", "cat1": "Shelter", "cat2": "Object 2", "weight": 1},
{"menu": "Flavor Objects 2", "cat1": "Shelter", "cat2": "Object 3", "weight": 1}
],
"process": [
"single_object_random"
],
"priority": 0,
"active": false
},

"picnic_site": {
"tags": [
["tourism", "picnic_site"]
],
"cm_types": [
{"menu": "Flavor Objects 2", "cat1": "Shelter", "cat2": "Object 5", "weight": 1}
],
"process": [
"single_object_random"
],
"priority": 0,
"active": false
},

"houses": {
"tags": [
Expand Down Expand Up @@ -748,84 +551,6 @@
"active": true
},

"fountain": {
"tags": [
["amenity", "fountain"]
],
"cm_types": [
{"menu": "Flavor Objects 1", "cat1": "Fountain", "cat2": "Object 1", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Fountain", "cat2": "Object 2", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Fountain", "cat2": "Object 3", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Fountain", "cat2": "Object 4", "weight": 1}
],
"process": [
"single_object_random"
],
"priority": 0,
"active": true
},

"water_well": {
"tags": [
["man_made", "water_well"]
],
"cm_types": [
{"menu": "Flavor Objects 2", "cat1": "Pond", "cat2": "Object 1", "weight": 1},
{"menu": "Flavor Objects 2", "cat1": "Pond", "cat2": "Object 2", "weight": 1},
{"menu": "Flavor Objects 2", "cat1": "Pond", "cat2": "Object 3", "weight": 1}
],
"process": [
"single_object_random"
],
"priority": 0,
"active": false
},

"wayside_shrine_christian": {
"tags": [
["historic", "wayside_shrine"]
],
"required_tags": [
["religion", "christian"]
],
"cm_types": [
{"menu": "Flavor Objects 1", "cat1": "Roadside", "cat2": "Object 5", "weight": 1}
],
"process": [
"single_object_random"
],
"priority": 0,
"active": false
},

"wayside_cross": {
"tags": [
["historic", "wayside_cross"]
],
"cm_types": [
{"menu": "Flavor Objects 1", "cat1": "Roadside", "cat2": "Object 7", "weight": 1}
],
"process": [
"single_object_random"
],
"priority": 0,
"active": false
},

"post_box": {
"tags": [
["amenity", "post_box"]
],
"cm_types": [
{"menu": "Flavor Objects 1", "cat1": "Roadside", "cat2": "Object 2", "weight": 1}
],
"process": [
"single_object_random"
],
"priority": 0,
"active": false
},

"bench": {
"tags": [
["amenity", "bench"]
Expand Down Expand Up @@ -901,23 +626,6 @@
"active": false
},

"waste_basket": {
"tags": [
["amenity", "waste_basket"]
],
"cm_types": [
{"menu": "Flavor Objects 1", "cat1": "Bin", "cat2": "Object 1", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Bin", "cat2": "Object 2", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Bin", "cat2": "Object 4", "weight": 1},
{"menu": "Flavor Objects 1", "cat1": "Bin", "cat2": "Object 5", "weight": 1}
],
"process": [
"single_object_random"
],
"priority": 0,
"active": false
},

"shed": {
"tags": [
["building", "shed"]
Expand Down

0 comments on commit 6823f40

Please sign in to comment.