Spatial Manager Desktop™ - FAQs: Layer management

From Spatial Manager Wiki
Revision as of 12:03, 18 March 2014 by Ignacio (talk | contribs)
Jump to navigation Jump to search

Introduction

  • Objective of this section
    • To handle new or existing layers and to manage layer storage. To review application automation systems and to try to locate sources not found for Map layers
  • Topics in this section
    • Renaming and deleting layers
    • Making of layers: new layer from a features Selection and editing the structure of the data table
    • Adding features to layers: over new layers
    • Exporting new layers: definition of the target and its parameters
    • Saving modified layers: manually or by closing Maps or the application
    • Automating source locations: changing data source locations of a Map
    • Separate layers in new layers: for thematic or data discrimination analysis


Which are the types and status for the Layers I can find in a Map of Spatial Manager Desktop™?

In a Map of Spatial Manager Desktop™ you can find these types of Layer (you can view this property in the "Properties" panel when you select a Layer)

  • "External Layer": when it is a Layer loaded from an external source (a table from a file, data server, data store, etc.)
  • "Embedded in the Map": when the Layer content is located inside the Map (SPM) file. You may note that this type of Layer is in italics in the list of the ribbon "Layers"
    • "New": when it is a Layer created in the Map, always by copying Features from other Layers, and the Map has not been saved after it is created. It is a special case of "Embedded in the Map" Layers

And you can find these status for a Layer

  • Considering its saving status (you can view this property in the "Properties" panel when you select a Layer)
    • "Saved": when the Layer content is currently saved
      • For "External Layers" which means that the Layer content is the same as the content in the external data source
      • For "Embedded in the Map" Layers which means that the Layer content is the same as the content in the Map (SPM) file
    • "Not saved": when the Layer content is not currently saved. You may note that the Layer name is preceded by an asterisk in the list of the ribbon "Layers", for this type of Layer
      • For "External Layers" which means that the Layer content has been modified and it is not the same as the content in the external data source
      • For "Embedded in the Map" Layers which means that the Layer content has been modified and it is not the same as the content in the Map (SPM) file
  • Considering its editing status
    • "Non editable": when the Layer is an "External Layer" and has been loaded from a read-only data source. When you select a "Non editable" Layer you will see all the values grayed in the Data grid because these values cannot be modified
    • "Editable": all the other Layers (all "Embedded in the Map" Layers and all "External" Layers loaded from a read and write data source)


LM-1.png


File:LM-7.png


How can I change the type or the status of a Layer in Spatial Manager Desktop™?

There are several ways to change the type or the status of a Layer in Spatial Manager Desktop™

  • To convert an "External Layer" to an "Embedded in the Map" Layer: you have to use the "Disconnect" function to disconnect one Layer or the "Disconnect all" function to disconnect all the Layers in a Map. You cannot undo these operations so you should avoid saving the original Map. It is recommended to save the modified Map using another name or into another location
  • To convert an "Embedded in the Map" Layer to an "External Layer": there is not a direct way to do it but you can "Export" the Features of the Layer to a external table (choosing the best data Provider for you), load this table in the Map and then remove the original Layer
  • To "Save" a "Not saved" Layer
    • For "External Layers": you have to "Save features", by using this function or by "Saving" the Map
    • For "Embedded in the Map" Layers: you have to "Save" the Map
  • To convert a "Non editable" Layer to an "Editable" Layer: there is not a direct way to do it but you can "Disconnect" a "Non editable" Layer from its read-only source, or you can select all Features in the Layer and "Make" a New Layer including a copy of the selected objects


LM-2.png


How can I edit a Layer, or Features in a Layer, in Spatial Manager Desktop™?

You can edit Features or Layers in Spatial Manager Desktop™ as follows:

  • In "Editable" Layers
    • "External"
      • You can "Delete" selected Features
      • You can modify values in any field, directly in the Data grid or using:
        • "Find and replace" function, to find and replace values in the Data grid for a Layer
        • "Multiple Edition" function, to modify the value for a Field in the Data grid only for a Layer. This function maybe applied to all Features in the Layer or only to selected Features (if any)
    • "Embedded in the Map" Layers
      • All the above, and
      • You can add a copy of the selected Features (if any) to the Layer
      • You can "Delete" or "Rename" Fields in the Data grid
  • In "Non editable" Layers
    • There is no way to edit a "Non editable Layer" or its Features. You can "Disconnect" a "Non editable" Layer from its read-only source, or you can select all Features in the Layer and "Make" a new Layer including a copy of the selected objects


LM-3.png


LM-4.png


LM-5.png


LM-6B.png


Can I separate a Layer in other Layers for thematic or data discrimination analysis in Spatial Manager Desktop™?

Yes, you can create new Layers from other Layers according the values of a Field in Spatial Manager Desktop™. To do it, select the Layer to separate and use the "Separate" function in the "Layers" ribbon. You can select a Field of the selected Layer to separate and choose the values in this Field to create new Layers. You will get a warning about the amount of new Layers to create before continue with this process


LM-8.png


LM-9.png


File:LM-10.png


Related links