Giter Club home page Giter Club logo

Comments (2)

ateucher avatar ateucher commented on September 7, 2024 1

I remember now why I had that - in case we added a layer to bcmaps.rdata and we hadn't updated bcmaps on CRAN yet, there would be a layer that you could get via get_layer("new_layer") but new_layer() wouldn't work (until we updated bcmaps with the new shortcut function.
But I agree it's still confusing. What about keeping the shortcut_function column but make it TRUE/FALSE to indicate that the shortcut function exists (or not)?

> available_layers()
                 Item                                              Title shortcut_function
1            airzones                         British Columbia Air Zones              TRUE
2            bc_bound                                        BC Boundary              TRUE
3       bc_bound_hres                      BC Boundary - High Resolution              TRUE
4        ecoprovinces                      British Columbia Ecoprovinces              TRUE
5          ecoregions                        British Columbia Ecoregions              TRUE
6         ecosections                       British Columbia Ecosections              TRUE
7         gw_aquifers British Columbia's developed ground water aquifers              TRUE
8          hydrozones     Hydrologic Zone Boundaries of British Columbia              TRUE
9      municipalities                    British Columbia Municipalities              TRUE
10           nr_areas       British Columbia Natural Resource (NR) Areas              TRUE
11       nr_districts   British Columbia Natural Resource (NR) Districts              TRUE
12         nr_regions     British Columbia Natural Resource (NR) Regions              TRUE
13 regional_districts                British Columbia Regional Districts              TRUE
14    water_districts      British Columbia's Water Management Districts              TRUE
15    water_precincts      British Columbia's Water Management Precincts              TRUE
16   watercourses_15M       British Columbia watercourses at 1:15M scale              TRUE
17    watercourses_5M        British Columbia watercourses at 1:5M scale              TRUE
18      wsc_drainages      Water Survey of Canada Sub-Sub-Drainage Areas              TRUE

from bcmaps.

stephhazlitt avatar stephhazlitt commented on September 7, 2024 1

Perfect, and a good reason for having it there.

from bcmaps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.