Spatial Manager™ for GstarCAD - FAQs: GIS Analysis ("Professional" edition only)

From Spatial Manager Wiki
Revision as of 11:12, 21 June 2021 by Ignacio (talk | contribs)
Jump to navigation Jump to search

Spatial Manager™ for GstarCAD product page Download Spatial Manager™ for GstarCAD


Notes:

  • Some components in the images on this page (providers, names, windows look, etc.) may be slightly different from those that will appear on your computer
  • Some application functions need to access the Internet from the application itself. If you experiment problems in any process, ask your network administrator if there is a Proxy server installed on your network. You can configure the Proxy settings through the application options


Introduction

  • Objective of this section
    • To learn how to use advanced GIS analysis tools in your drawings and maps
  • Topics in this section
    • Create Buffers from point, linear or polygonal borders entities
    • Process spatial Overlays which will create new drawing entities based on the operation results
    • Dissolve polyonal entities in order to create surrounds of adjacent entities
    • Create Centroids from selected polygons
    • Calculate and draw Areas of Influence from selected point entities


GIS Analysis tools

Spatial Manager™ for GstarCAD includes a set of advanced tools designed for geometric and spatial analysis of geographic entities and their geometric relationships, resulting in new entities generated from the resolution of such analysis


GIS Analysis commands in the Spatial Manager™ for GstarCAD ribbon


Performing GIS Analysis in the drawing


Performing GIS Analysis in the drawing


About entities selection

Some of the analysis tools described below allow entity selections before or during their execution. Even some of them (SPMOVERLAY) allow you to select two groups of entities to operate between them. For all of these commands, the following notes and instructions apply:

  • Select all objects: All entities in the drawing will be processed
  • Only selected objects: Only a selection of entities will be processed. You can select the entities before executing the commands or by using the Selecting buttons in their corredponding windows
    • Manual selection
    • Select by Query: Select entities according to the result of a simplex or compound data query (See "Selecting by Query")
    • Select by Table: Select entities which have been previously attached to a specific data table (See "Selecting by Table")
      • Note: As you can select the entities previously to execute the commands, in addition to the use of the above included selection options or in combination with them, you can make use of some other Advanced selection application tools, select entities in the Data Grid or any other selection method available in GstarCAD (Quick Select, etc.). Also note that, as most of the advanced application or GstarCAD selection commands will let you apply the selection to the current selection, the number of possible combinations to select what you are interested in is almost unlimited
  • Select objects in a layer: Only the entities included in an GstarCAD Layer will be processed. You can select the layer using the drop-down list in this window

Note: The selection of entities in GstarCAD may be a few slower when the "SpatialManager" palette is open, depending on the data of the entities


Buffer

The command 'SPMBUFFER' in Spatial Manager™ for GstarCAD allows you to generate Buffered polygons around point entities, linear entities or polygon boundaries. Buffer distance can be constant or taken from the value of a table field for each entities, it is possible to merge the generated entities in their common areas and different styles of joins and endings can be chosen


SPMBufferOptionsGCAD.png


  • Entities selection: See the paragraph "About entities selection" above
  • Buffer options: You can select the Buffer distance (fixed value or field-based value), the Join and End cap styles, the Buffer Units conversion (so you can define the Buffer distance in units other than the drawing units) and if you want to Dissolve/Merge the generated Buffered polygons
  • Table/Layer name: This setting defines the target Layer and data table name for the Buffers. You can select an existing Layer in the drawing or you can write the name to create a new Layer. Buffer entities will adopt the same data as the entities that generate them, unless the "Dissolve/Merge" option has been checked, in which case this would not make sense and the combined Buffer entities are not attached to any data table
    • Apply random colors to new Layers
  • Fill areas using Hatches
  • Treat closed polylines as polygons: When checked (default value), all closed Polylines in the drawing will be considered as Polygons and not as linear entities. Most of the time the closed polylines represent polygonal elements


Overlay

(under development)


SPMOverlayGCAD.png



Dissolve

The command 'SPMDISSOLVE' in Spatial Manager™ for GstarCAD allows you to generate new Polygons based on the grouping of other adjacent polygons with some common data


SPMDissolveGCAD.png


  • Dissolve options: You can select the common Table/Field data for dissolving the polygons (even including null data). To reduce possible precision errors in the geometry, you can check the option to generate a temporary small buffer around the polygon boundaries in order to avoid as much as possible the generation of inner holes during the operation. Check the option "Create labels" if you want to Label the common data for every new polygon
    • Label options. You can define the Style, Height and Justification of the Label Text entities here. You can configure if you want to insert the new Polygons geometry and its Labels or the Labels only. Be careful: if you check this box you will only get the Labels (Text entities) but not the dissolved polygons. As added parameters, you can set the option to use or not LUPREC for decimal places (see Notes below) and Mask labels which will generate masks (Wipeout entities, grouped with the Labels) and they will "trim" the entities located behind the Labels in order to improve its reading
      • Note:
        • You can choose that the value of the LUPREC variable (Length precision) be used or not for the number of decimal places when labeling entities using a numerical field (Please, take a look to LUPREC and UNITS in the GstarCAD Help)
  • Table/Layer name: This setting defines the target Layer and data table name for the new dissolved Polygons. You can select an existing Layer in the drawing or you can write the name to create a new Layer. Dissolved polygons will include the common dissolve data (1 field) as the polygons to dissolve
    • Apply random colors to new Layers
  • Fill areas using Hatches
  • Treat closed polylines as polygons: When checked (default value), all closed Polylines in the drawing will be considered as Polygons and not as linear entities. Most of the time the closed polylines represent polygonal elements


Centroids

The command 'SPMCENTROID' in Spatial Manager™ for GstarCAD allows you to generate Centroids (Point entities) for the selected polygons. The polygons data (if any) will be attached also to the Centroid entities'


SPMCentroidsGCAD.png


  • Entities selection: See the paragraph "About entities selection" above
  • Table/Layer name: This setting defines the target Layer and data table name for the Centroids. You can select an existing Layer in the drawing or you can write the name to create a new Layer. Centroids entities will adopt the same data as the corresponding polygons
    • Apply random colors to new Layers
  • Treat closed polylines as polygons: When checked (default value), all closed Polylines in the drawing will be considered as Polygons and not as linear entities. Most of the time the closed polylines represent polygonal elements


Areas of Influence

The command 'SPMINFLUENCEAREAS' in Spatial Manager™ for GstarCAD allows you to generate Polygons defined by the set of points closest to each point of a selection of Points in the drawing (Voronoi diagram). Each Polygon generated will adopt the same data (if any) as the corresponding Point. For example, would serve to determine which nearby areas are covered by each pharmacy in a municipality, and similar scenarios


SPMVoronoiAreasGCAD.png


  • Entities selection: See the paragraph "About entities selection" above
  • Table/Layer name: This setting defines the target Layer and data table name for the new Polygons. You can select an existing Layer in the drawing or you can write the name to create a new Layer. Areas of Influence entities will adopt the same data as the corresponding Points
    • Apply random colors to new Layers
  • Fill areas using Hatches



Related links


Spatial Manager™ for GstarCAD product page Download Spatial Manager™ for GstarCAD