Skip to content

Manual Add to RS Project #29

@joewheaton

Description

@joewheaton

The Problem

We want to facilitate ownership in a project. I was thinking about an easy way to allow this. I just downloaded a really cool layer I'd like to add to my project. What do I do?

Suggestion

A simple sequence that is two-fold. First in the explorer the user right clicks on a parent or folder node in tree (might be smart to allow user to add folders/parent node to a project) and then invokes with a right click a Add Custom GIS Data command that allows the user to select a layer (or layer group) from the table of contents and it does the following:

  • Copies that layer source into the project on disc @ location specified in explorer
  • Adds the XML tags in the project.rs.xml project for this new
  • Has a user dialog that allows specification of custom <Metadata> tags for information about this and asks user to specify a <Metadata name="custom Type"> - descriptive type of dataset, and a <Metadata name="Label"> - Which is the label given to layer in table of contents by default, but could be overridden.
  • Automatically adds
    • <Metadata name="username"> - from user profile
    • <Metadata name="ImportDate"> - timestamp from operation
    • <Metadata name="SourceFolder"> - absolute path where file copied from
  • Automatically copies the symbology being used (for now as custom_01.lyr*) and makes copy of business logic being used by user into root of project folder with the addition of this custom entry.

The key is it does all this silently so a user can have their stuff in their Riverscape Project.

Later

Later we can think about shadow projects and/or allowing users to upload such changes to their own project in a warehouse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions