Skip to contents

Returns the merged master registry (reg_main.json) that ships with gq. This is the single source of truth for all layer styles — the union of QGIS-extracted registries and hand-curated CSV styles.

Usage

gq_reg_main()

Value

A list with name, version, source, and layers elements.

Examples

reg <- gq_reg_main()
names(reg$layers)
#>  [1] "utm_zones"                                             
#>  [2] "watershed_group_boundary"                              
#>  [3] "municipalities"                                        
#>  [4] "glaciers"                                              
#>  [5] "fire_historical_burn"                                  
#>  [6] "fire_severity"                                         
#>  [7] "old_growth_management_areas"                           
#>  [8] "national_park"                                         
#>  [9] "land_ownership"                                        
#> [10] "range_tenure"                                          
#> [11] "fisheries_sensitive_watersheds"                        
#> [12] "provincial_park"                                       
#> [13] "conservancy"                                           
#> [14] "orthophoto_tiles"                                      
#> [15] "terrestrial_ecosystem_information_scanned_map_boundary"
#> [16] "terrain_mapping_project_boundaries"                    
#> [17] "biogeoclimatic_ecosystem_classification"               
#> [18] "manmade_waterbodies"                                   
#> [19] "lake"                                                  
#> [20] "wetland"                                               
#> [21] "streams_all"                                           
#> [22] "first_nation_reserve"                                  
#> [23] "moti_culverts"                                         
#> [24] "crossings_modelled"                                    
#> [25] "crossings_pscis_assessment"                            
#> [26] "crossings_pscis_confirmation"                          
#> [27] "crossings_pscis_design"                                
#> [28] "crossings_pscis_remedation"                            
#> [29] "crossings_pscis_modelled_dams"                         
#> [30] "moti_major_structures"                                 
#> [31] "floodplains"                                           
#> [32] "form_pscis"                                            
#> [33] "form_fiss_site"                                        
#> [34] "fiss_stream_sample_sites"                              
#> [35] "bcfishobs_fiss_fish_observations"                      
#> [36] "fiss_obstacles"                                        
#> [37] "hydrometric_stations_environment_canada"               
#> [38] "pipeline_permit"                                       
#> [39] "pipeline_installed"                                    
#> [40] "pipeline_application"                                  
#> [41] "transmission_line"                                     
#> [42] "railway"                                               
#> [43] "roads_ften"                                            
#> [44] "roads_dra"                                             
#> [45] "trails"                                                
#> [46] "streams_salmon"                                        
#> [47] "streams_st"                                            
#> [48] "streams_bt"                                            
#> [49] "stream_labels"                                         
#> [50] "frep_rip2021_mar2022"                                  
#> [51] "bec_zone"                                              
#> [52] "rivers_poly"                                           
#> [53] "dam"                                                   
#> [54] "town"                                                  
#> [55] "harvest_area"                                          
#> [56] "planting_site"                                         
#> [57] "habitat_lateral"                                       
#> [58] "habitat_rule_comparison"                               
#> [59] "habitat_expected_use"                                  
#> [60] "floodplain_flood_factor"                               
#> [61] "tree_cover_change"                                     
#> [62] "landcover_change_from"                                 
#> [63] "landcover_change_to"                                   

# Use directly with style translators
gq_tmap_style(gq_reg_main()$layers$lake)
#> $fill
#> [1] "#dcecf4"
#> 
#> $fill_alpha
#> [1] 0.7
#> 
#> $col
#> [1] "#1f78b4"
#> 
#> $lwd
#> [1] 0.2
#> 
#> $col_alpha
#> [1] 0.7
#>