Difference between revisions of "Spatial Manager™ for AutoCAD - FAQs: GIS Analysis ("Professional" edition only)"

From Spatial Manager Wiki
Jump to navigation Jump to search
m
m
 
(97 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
*''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 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 [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Interface#Options|Proxy settings through the application options]]''
 
*''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 [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Interface#Options|Proxy settings through the application options]]''
*''The selection of objects in AutoCAD may be a few slower when the "SpatialManager" palette is open, depending on the data of the objects''
+
*''Some geographic data providers (Geocode, image Maps, etc.) may need a user account, which you can configure in the [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Interface#Options|Service Provider API Keys settings through the application options]]''
  
  
Line 12: Line 12:
 
===Introduction===
 
===Introduction===
 
*'''Objective of this section'''
 
*'''Objective of this section'''
**xxx
+
**To learn how to use advanced GIS analysis tools in your drawings and maps
  
 
*'''Topics in this section'''
 
*'''Topics in this section'''
**xxx
+
**Create Buffers from point, linear or polygonal borders objects
 +
**Process spatial Overlays which will create new drawing objects based on the operation results
 +
**Dissolve polyonal objects in order to create surrounds of adjacent objects
 +
**Create Centroids from selected polygons or add Centroids data to the polygons that contain them
 +
**Calculate and draw Areas of Influence from selected point objects
  
  
  
'''''Note: The GIS Analysis tools were introduced in the version 7 of the application, so [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Compatible_AutoCAD_applications|are not available for some old Autodesk products]]'''''
+
==GIS Analysis tools==
 +
Spatial Manager™ for AutoCAD includes a set of advanced tools designed for geometric and spatial analysis of geographic objects and their geometric relationships, resulting in new objects generated from the resolution of such analysis
  
  
 +
<span title="GIS Analysis commands in the Spatial Manager™ for AutoCAD ribbon">[[Image:SPMAnalysisRibbon.png|GIS Analysis commands in the Spatial Manager™ for AutoCAD ribbon|border|link=]]</span>
  
===How can I define data tables in a drawing?===
 
The command 'SPMDATATABLEDEFINE' of Spatial Manager™ for AutoCAD lets you create new data tables in a drawing as well as modify them. Also use this command if you need to rename or delete data tables. You will find this command in the "Spatial Manager" ribbon, toolbar or drop-down menu
 
  
 +
[[image:SPMGISToolsACAD.png|border|900px|Performing GIS Analysis in the drawing|link={{filepath:SPMGISToolsACAD.png}}]]
  
<span title="'SPMDATATABLEDEFINE' command in the Spatial Manager™ for AutoCAD ribbon (Can also be found in the drop-down Menu and Toolbar of Spatial Manager)">[[Image:SpatialManagerforAutoCAD-Define.png|border|'SPMDATATABLEDEFINE' command in the Spatial Manager™ for AutoCAD ribbon (Can also be found in the drop-down Menu and Toolbar of Spatial Manager)|link=]]</span>
 
  
 +
''Performing GIS Analysis in the drawing''
  
<span title="Table definition window">[[Image:SPMDefineTableWinACAD4.PNG|border|Table definition window|link=]]</span>
 
  
''Table definition window''
+
'''About objects selection'''
  
 +
Some of the analysis tools described below allow object selections before or during their execution. Even some of them (such as SPMOVERLAY or SPMCENTROID) allow you to select two groups of objects to operate between them. For all of these commands, the following notes and instructions apply:
 +
*''Select all objects'': All objects in the drawing will be processed
 +
*''Only selected objects'': Only a selection of objects will be processed. You can select the objects before executing the commands or by using the Selecting buttons in their corredponding windows
 +
**Manual selection
 +
**Select by Query: Select objects according to the result of a simplex or compound data query [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_define_a_selection_of_objects_based_on_the_values_of_their_data.3F|''(See "Selecting by Query")'']]
 +
**Select by Table: Select objects which have been previously attached to a specific data table [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_select_all_the_objects_attached_to_the_same_data_table.3F|''(See "Selecting by Table")'']]
 +
***''Note: As you can select the objects 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 [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)|Advanced selection application tools]], select objects in the [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Data_Structure_Management_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_view_and_edit_the_objects_data_in_a_table_form.3F_.28.22Professional.22_edition_only.29|Data Grid]] or any other selection method available in AutoCAD (Quick Select, etc.). Also note that, as most of the advanced application or AutoCAD 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 objects included in an AutoCAD Layer will be processed. You can select the layer using the drop-down list in this window
 +
''Note: The selection of objects in AutoCAD may be a few slower when the "SpatialManager" palette is open, depending on the data of the objects''
  
Click on the "New Table" button to create a new (empty) data table. Select a data table in the drop-down list to rename it ("Rename Table" button), delete it ("Delete Table" button) or to modify it:
 
*Add Field. To add a new field in the selected data table
 
**Name. The field name, unique in the selected data table
 
**Type. You can select the field type in the drop-down list: Text, Integer, Date, etc. The field type cannot be changed if you want to modify the field later
 
**Default value. The default value for this field when the corresponding data table is attached to one or more objects
 
*Modify Field. To edit the selected field of the selected data table (view "Add Field" above)
 
*Delete Fields. To delete the selected fields of the selected data table
 
  
''Note: In brackets the Length of the Field (and the number of decimal places, when applicable)''
 
  
 +
===Buffer===
 +
The command 'SPMBUFFER' in Spatial Manager™ for AutoCAD allows you to generate Buffered polygons around point objects, linear objects or polygon boundaries. Buffer distance can be constant or taken from the value of a table field for each object, it is possible to merge the generated objects in their common areas and different styles of joins and endings can be chosen
  
<span title="Add / Modify field window">[[Image:SPMAddFieldACAD.PNG|border|Add / Modify field window|link=]]</span>
 
  
''Add / Modify field window''
+
<span title="Buffer parameters window">[[image:SPMBufferOptionsACAD.png|link=]]</span>
  
  
The following is the behavior of the application when you modify a data table which is already attached to one or more objects in the drawing:
+
*''Objects selection: See the paragraph [[#GIS_Analysis_tools|''"About objects selection"'']] above
*Adding a field: the new field is added to all the attached objects. If a "Default value" has been defined for the field, this will be the value assigned to the field for these objects
+
*''Buffer options:'' You can select the Buffer distance (fixed value or field-based value), the distance units (read below), the Join and End cap styles and if you want to Dissolve/Merge the generated Buffered polygons
*Modifying a field: only the name of the field (if modified) will be changed for all the attached objects
+
**About Units conversion: If a coordinate system with a defined unit of measurement is assigned to the drawing, the user can select another unit from the drop-down list to define the Buffer distance entered and the application will perform the conversion between it and the one defined by the coordinate system. If the drawing does not have a coordinate system assigned to it, or the coordinate system does not have defined units, the user can select from the drop-down lists the unit in which the entered Buffer distance is defined and the drawing units; the application will perform the conversion between the two
*Deleting a field: the field will be erased for all the attached objects
+
*''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 objects will adopt the same data as the objects that generate them, unless the "Dissolve/Merge" option has been checked, in which case this would not make sense and the combined Buffer objects are not attached to any data table
 +
**''Apply random colors to new Layers''
 +
*''Create'': Dissolved objects type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
 +
**''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 objects. Most of the time the closed polylines represent polygonal elements
  
  
As you can see in the Tables selection dropdown, there is a "scan new tables..." option to retrieve data Table structures from the drawing objects. This is useful when "Copying/Cutting and Pasting" objects from one drawing to another, when saving drawings using WBLOCK, when inserting a drawing into another, etc.
 
  
 +
===Overlay===
 +
The command 'SPMOVERLAY' in 'Spatial Manager™ for AutoCAD' allows you to create new objects based on geometric and data operations between two existing object groups
  
  
===How to attach a data table to one or more objects?===
+
<span title="Overlay parameters window">[[image:SPMOverlayACAD.png|link=]]</span>
When you want to attach an existing data table to one or more objects in the drawing, you can execute the command 'SPMDATATABLEATTACH' of Spatial Manager™ for AutoCAD. You will find this command in the "Spatial Manager" AutoCAD ribbon
 
  
  
<span title="'SPMDATATABLEATTACH' command in the Spatial Manager™ for AutoCAD ribbon">[[Image:SpatialManagerforAutoCAD-Attach.png|border|'SPMDATATABLEATTACH' command in the Spatial Manager™ for AutoCAD ribbon|link=]]</span>
+
This function allows you to generate new objects in the drawing by performing "geometric operations" between two groups of existing objects: "Source" (Group 1) and "Overlay" (Group 2). For example, according to the chosen parameters in this image, for all selected Source objects (Roads, etc.) that are located within any Parcel, the Overlay Identity function will create new objects which will are equal to the Source objects "broken" in the Parcel limits
  
  
<span title="Attach a data table to objects window">[[Image:SPMAttachACADWindow.png|border|Attach a data table to objects window|link=]]</span>
+
*''Objects selection: See the paragraph [[#GIS_Analysis_tools|''"About objects selection"'']] above (Group 1 and Group 2)
 +
*Overlay parameters and options
 +
**Operation
 +
***''Intersect'': Determines the geometries that overlap in the Source and Overlay object groups. Anything that does not overlap is discarded from the output, so the resulting objects represent what the Source and Overlay have in common. Use Intersect in order to find points or lines that lie within a polygon, or to determine the places where two linear objects overlap. For example, find tree point objects that are within park polygons. The resulting data table will include the data of both the Source and Overlay objects
 +
***''Union'': Determines the geometries that exist in either the Source and Overlay objects. Where the geometries intersect, additional objects are created. The resulting objects are the sum of the two comparison object groups. Use Union in order to combine two group of related polygon objects. For example, create new objects that combine the business district and the theater district when the objects overlap. The resulting data table will include the data of both the Source and Overlay objects
 +
***''Erase'': Determines the geometries from the Source objects that do not intersect with the Overlay objects. Use Erase in order to subtract sections for a group of objects. For example, find all roads that lie outside the enterprise district, or all hospitals that are outside a flod zone. The resulting data table will include the data of Source objects only
 +
***''Identity'': Creates new objects where the Source and Overlay objects intersect. Use Identity in order to split objects at the point where they intersect with another objects group, and to create new objects at that point. For example, divide roads or parcels where they cross city borders. The resulting data table will include the data of both the Source and Overlay objects
 +
***''Clip'': Like Intersect, Clip creates objects from the areas of the Source that overlap with the Overlay. Use Clip in order to find objects that lie within a geometric area. For example, find hydrants within a development, or road segments within a particular neighborhood. The resulting data table will include the data of Source objects only
 +
***''Paste'': Creates new objects by pasting the Overlay objects onto the Source objects. All Overlay objects become new objects in the operation result. In addition, the areas of the Source that do not fall within the Overlay objects become also new objects in the operation result. Use Paste in order to combine two overlaping groups of objects. For example, add the data of city districts to the developments that overlap. The resulting data table will include the data of both the Source and Overlay objects
 +
***''Symmetric Difference'': Determines the areas in the Source and Overlay that do not overlap. Overlapping areas of the objects are discarded in the output. The non-overlapping areas become new objects. Use Symmetric Difference in order to find areas that are mutually exclusive in two group of objects. For example, find new housing developments that are outside school districts. The resulting data table will include the data of both the Source and Overlay objects
 +
**General options
 +
***''Table/Layer name:'' This setting defines the target Layer and data table name for the new created objects. You can select an existing Layer in the drawing or you can write the name to create a new Layer. The data of the new objects will be those of the objects selected in Group 1. Whenever possible (depending on the type of Overlay operation), data from Group 2 will be merged in the same table. For example, if Buildings and Parcels are Overlapped by Intersection, the new objects will be geometrically equal to the buildings that are located entirely or partially within any parcel, and the data table will include the data of the buildings and parcels in a combined table
 +
****''Apply random colors to new Layers''
 +
***''Create'': New Overlay objects type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
 +
****''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 objects. Most of the time the closed polylines represent polygonal elements
  
  
First, choose a data table in the list of defined data tables in the command window. Then, the attach operation can be applied to the selected objects (if any) or to a new objects selection
 
  
'''WARNING''': An object can be attached to one data table only, so if you attach it to a new data table the previously data attached to this object (if any) WILL BE LOST
+
===Dissolve===
 +
The command 'SPMDISSOLVE' in Spatial Manager™ for AutoCAD allows you to generate new Polygons based on the grouping of other adjacent polygons with some common data
  
  
 +
<span title="Dissolve parameters window">[[image:SPMDissolveACAD.png|link=]]</span>
  
===How can I modify the objects data?===
 
You can directly edit a data field value (XDATA / EED Direct data edition) for one or more objects in Spatial Manager™ for AutoCAD by selecting the object(s) in the drawing and typing the new value for this field in the "Properties" area of the "SpatialManager" palette. You can also delete the field content to get a null value in this field. To validate any modification, you need to press Enter or click on a different field
 
  
 +
*''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 objects 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 objects) 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 objects, grouped with the Labels) and they will "trim" the objects located behind the Labels in order to improve its reading
 +
***''Notes:''
 +
****''You can choose that the value of the LUPREC variable (Length precision) be used or not for the number of decimal places when labeling objects using a numerical field (Please, take a look to LUPREC and UNITS in the AutoCAD Help)''
 +
****''Label Masks may have some functional issues or may not be available in versions earlier than AutoCAD 2017''
 +
*''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
 +
**As you can see in the next setting, the Layer name can be variable for each new polygon but the Table name for the attached data will be unique for all the created polygons
 +
**''Use Field values for Layer:'' Here you can select that the Field used to merge define its value as the name of the Layer for the new polygons. If this value is null for any polygon, or the setting is left blank, the polygon will be drawn in the Layer selected in the previous setting
 +
***Note that this setting is only for the name of the target Layer but not for the Table name
 +
**''Apply random colors to new Layers''
 +
*''Create'': Dissolved objects type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
 +
**''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 objects. Most of the time the closed polylines represent polygonal elements
  
<span title="Direct data edit in the Properties area">[[Image:EED-3.PNG|border|Direct data edit in the Properties area|link=]]</span>
+
''Note: Since this operation can only be performed on polygonal objects, the application will alert the user either if there are non-polygonal objects attached to the selected table (warning) or if there are not enough polygons to process it (cancellation)''
  
  
''Notes:''
 
*''The fields whose value starts with "http" are automatically converted into active links''
 
*''Because of performance considerations, the number of objects selected for which their data are shown in the application palette is limited by the system variable PROPOBJLIMIT (AutoCAD 2012 and upper) or to 25000 (AutoCAD 2008 to 2011)''
 
  
 +
===Centroids===
 +
The command 'SPMCENTROID' in Spatial Manager™ for AutoCAD includes two functionalities. The first one allows you to generate Centroids (Point objects) for the selected polygons (The polygons data,  if any, will be attached also to the Centroid objects). The second one allows you to capture the selected Centroids data in order to add it to a copy of the selected Polygons that contain them
  
  
===Is there any way to detach the data from the objects?===
+
'''Create centroids'''
Yes, you can detach any data from one or more objects by executing the command 'SPMDATATABLEDETACH' of Spatial Manager™ for AutoCAD. You will find this command in the "Spatial Manager" AutoCAD ribbon
 
  
  
<span title="'SPMDATATABLEDETACH' command in the Spatial Manager™ for AutoCAD ribbon">[[Image:SpatialManagerforAutoCAD-Detach.png|border|'SPMDATATABLEDETACH' command in the Spatial Manager™ for AutoCAD ribbon|link=]]</span>
+
<span title="Centroid parameters window">[[image:SPMCentroidsACAD.png|link=]]</span>
  
  
<span title="Detach the data window">[[Image:SPMDetachACADWindow.PNG|border|Detach the data window|link=]]</span>
+
*''Objects selection: See the paragraph [[#GIS_Analysis_tools|''"About objects 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 objects 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 objects. Most of the time the closed polylines represent polygonal elements
  
  
The detach operation can be applied to the selected objects (if any) or to a new objects selection
+
'''Copy data from centroids to polygons (capture centroids)'''
  
'''WARNING''': All the current data attached to the objects (if any) WILL BE LOST
 
  
 +
<span title="Centroid parameters window">[[image:SPMCentroidsACAD2.png|link=]]</span>
  
  
===Can I view and edit the objects data in a table form? ("Professional" edition only)===
+
*''Centroids selection: Any point object. See the paragraph [[#GIS_Analysis_tools|''"About objects selection"'']] above
Yes, the command 'SPMDATATABLEGRID' of Spatial Manager™ for AutoCAD opens the 'Data Grid' palette where you can view, edit, etc. the objects data in any table in the drawing. You can also select objects from the 'Data Grid', export the data from the tables and more
+
*''Polygons selection: Any polygonal object. See the paragraph [[#GIS_Analysis_tools|''"About objects selection"'']] above
 +
*''Capture centroids options''
 +
**''Create also polygons without centroid found'': As a copy of the selected polygons that contain any Centroid will be created, you can also choose to duplicate even polygons without Centroid found
 +
*''Table/Layer name:'' This setting defines the target Layer and data table name for the created polygons. You can select an existing Layer in the drawing or you can write the name to create a new Layer
 +
**''Apply random colors to new Layers''
 +
*''Create'': Duplicate polygons object type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
 +
**''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 objects. Most of the time the closed polylines represent polygonal elements
  
  
<span title="'SPMDATATABLEGRID' command in the Spatial Manager™ for AutoCAD ribbon">[[Image:SPMDataGridCAD-AB.png|border|'SPMDATATABLEGRID' command in the Spatial Manager™ for AutoCAD ribbon|link=]]</span>
 
  
 +
===Areas of Influence===
 +
The command 'SPMINFLUENCEAREAS' in Spatial Manager™ for AutoCAD allows you to generate Polygons defined by the set of points closest to each point of a selection of Points in the drawing ([https://en.wikipedia.org/wiki/Voronoi_diagram ''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
  
Like any AutoCAD palette, the 'Data Grid' palette can be arranged, docked, undocked, grouped, self-collapsed, etc., and resized, depending on the preferences and needs of each user or each job, by dragging its title bar, double-clicking on its title bar, etc.
 
  
 +
<span title="Areas of Influence parameters window">[[image:SPMVoronoiAreasACAD.png|link=]]</span>
  
<span title="Data Grid' palette">[[Image:SPMDataTableGridCAD.png|border|'Data Grid' palette|link=]]</span>
 
  
 
+
*''Objects selection: See the paragraph [[#GIS_Analysis_tools|''"About objects selection"'']] above
*To choose the drawing data table that you want to show in the 'Data Grid', you can use the drop-down list of available tables that can be found in the palette upper left area
+
*''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 objects will adopt the same data as the corresponding Points
**You can select which table fields you want to display in the 'Data Grid' by right-clicking on any grid area
 
**You can move the field separation lines in the table header to change the width of the corresponding column
 
***A double click on this vertical line (always in the table header) will automatically adjust the corresponding column width to the dimension of the longest value in that field
 
***If the value of a field in a given row cannot be seen as complete due to the width of the column, placing the cursor over the corresponding cell will display a tooltip displaying the full value in that cell. The same applies to the names of the fields in the table header
 
**To sort the values of a column alphabetically, click on the column name in the table header. A second click will invert the sorting
 
**To move and sort the fields (columns) in the table you can drag the field name itself in the table header to the left or right
 
***If you hover the cursor in the table header over the name of a field, a tooltip with information about the properties of that field (Name, Type, Length, etc.) will be displayed (except when the incomplete name of a field is displayed as a tooltip - see above)
 
*The 'Data Grid' is automatically synchronized with the current drawing
 
**You can select objects in the drawing in order to highlight the corresponding attached rows in the 'Data Grid'
 
***If the "Automatic scroll" option (palette upper right area) is activated, the rows will be automatically scrolled to show the selected objects
 
**You can also select rows in the 'Data Grid' in order to select the corresponding attached objects in the drawing. You can use the CTRL and SHIFT keys (alone or in combination) when you want to select multiple rows
 
***If the "Automatic zoom" option (palette upper right area) is activated, the drawing view will be adjusted to the selected objects extent
 
****Use "Zoom to selection" (right-click menu) at any time if you want to do the same thing by hand, or "Zoom to object" if you only want to zoom to the object under the cursor in the grid when right-clicking
 
***If the "Automatic centering" option (palette upper right area) is activated, the drawing view will be centered on the selected objects without modifying the zoom level
 
****Use "Center selection" (right-click menu) at any time if you want to do the same thing by hand, or "Center object" if you only want to center the object under the cursor in the grid when right-clicking
 
***As long as you are focused on the grid rows, you can use the keyboard (Up, Down, CTRL+Up, etc.) to navigate through the rows, and the SPACE key to select rows (you will see a small "tick" checked on the row header when you select it)
 
***Use the selection functions (buttons set on top of the palette / right-click menu) if you want to Select All objects attached to the current table, Invert the selected objects (see note below) or Deselect all selected objects
 
**Use "Delete" (buttons set on top of the palette / right-click menu) to delete selected objects and their data from the drawing  (see note below)
 
**You can find information about the number of selected objects and the total number of objects, as well as navigation buttons between the rows selected in the table, in the palette lower left area
 
**Under some circumstances, synchronization may be lost. To resynchronize drawing and 'Data Grid', use the "Refresh" button next to the tables dropdown (upper left area of the palette)
 
***For application performance reasons, sometimes a warning will be displayed to indicate that you need to manually refresh the 'Data Grid'. For example, this may happen when a very large number of objects are deleted in the drawing
 
***Also for performance reasons, the selection of objects may need to use the "Activate table of selected objects" button, located to the right of the previous one, in order to update the table shown in the data grid
 
****If this button is enabled, the table shown in the grid is not attached to any of the selected objects. Pressing it will display the table attached to the selected object, or to one of the selected objects if there are more than one
 
****When the button is disabled, the table shown in the grid is the table attached to one of the selected objects, or none of the selected objects are attached to any table
 
*To edit the value in a cell, simply double-click on the cell. You can also click or press ENTER on the "active" cell to edit its value. To finish the edition, press the ENTER key or the TAB key (edit next field in the same row), or select any other cell or row in the table. To cancel editing, press the ESC key
 
**Pressing CTRL+ENTER will allow you to assign the current value in a cell to all cells in the same column for all selected rows
 
**Pressing SHIFT+ENTER will allow you to assign the current value in a cell to all cells in the same column for all rows
 
*You can export to an ASCII file the data in the whole table or in the selected rows only by running "Export" (buttons set on top of the palette / right-click menu)
 
**As you will see, you can include the field names in the export process and choose the field delimiter and the extension of the exported file
 
 
 
 
 
<span title="'Export data' options">[[Image:SPMExportGridCAD.png|border|'Export data' options|link=]]</span>
 
 
 
 
 
*Alternatively you can copy the table information to the Windows clipboard by using "Copy" (buttons set on top of the palette / right-click menu) or by pressing CTRL+C
 
**The selected rows and headers (field names) will be copied in a tab-separated format, suitable for pasting into a spreadsheet, ASCII editor, etc.
 
**As an exception, if a field is being edited (see above), only the value of this field will be copied to the clipboard
 
*From the buttons set on top of the palette you can also directly access the tables main management and data related selection commands
 
**Select by query ([[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_define_a_selection_of_objects_based_on_the_values_of_their_data.3F|SPMSELECTBYQUERY]])
 
**Select by table ([[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_select_all_the_objects_attached_to_the_same_data_table.3F|SPMSELECTBYTABLE]])
 
**Define table ([[#How can I define data tables in a drawing?|SPMDATATABLEDEFINE]])
 
**Attach ([[#How to attach a data table to one or more objects?|SPMDATATABLEATTACH]])
 
**Detach ([[#Is there any way to detach the data from the objects?|SPMDATATABLEDETACH]])
 
*''Notes:''
 
**''When you use grid functions that affect selected objects (Invert, Delete, etc.), the selection refers only to those objects linked to the current table. For example when Deleting, the objects selected in the current table will be deleted but not other objects selected in the drawing (if any), which will be deselected before the deletion operation''
 
**''The "Feature_ID" column in the tables indicates the AutoCAD Handle of the object (unique and unrepeatable for each object in the drawing). These values cannot be edited''
 
**''If a table to which objects in the drawing are attached does not appear in the table drop-down list, try to [[Spatial Manager™ for AutoCAD - FAQs: Data Structure Management ("Standard" and "Professional" editions only)#How can I define data tables in a drawing?|"Restore" tables]] as these objects may be in the drawing after copying-pasting between drawings, inserting one drawing into another, etc.''
 
**''If closed, the application will automatically open the 'Data Grid' palette the first time you import any data source that includes a data table (EED/XDATA)''
 
 
 
 
 
 
 
===How to label the objects data in the drawing?===
 
Although some application commands allow automatic labeling of object data as part of the process (e.g. when [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Import|''Importing objects'']]), the 'SPMLABEL' command labels data values from tables attached to the objects as Texts
 
 
 
'''''Note: This command was introduced in the version 7 of the application, so [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Compatible_AutoCAD_applications|is not available for some old Autodesk products]]'''''
 
 
 
 
 
<span title="'SPMLABEL' command in the Spatial Manager™ for AutoCAD ribbon">[[Image:SPMLabelRibbon.png|'SPMLABEL' command in the Spatial Manager™ for AutoCAD ribbon|border|link=]]</span>
 
 
 
 
 
[[image:SPMLabelACAD.png|border|900px|Labeling objects data in the drawing|link={{filepath:SPMLabelACAD.png}}]]
 
 
 
 
 
''Labeling objects data in the drawing''
 
 
 
 
 
<span title="Label parameters window">[[image:SPMLabelWindowACAD.png|link=]]</span>
 
 
 
 
 
*'''Parameters and options'''
 
**''Select all objects'': all objects in the drawing will be labeled
 
**''Only selected objects'': only a selection of objects will be labeled. You can select the objects before executing this command or by using the Selecting buttons in this window
 
***Manual selection
 
***Select by Query: select objects according to the result of a simplex or compound data query [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_define_a_selection_of_objects_based_on_the_values_of_their_data.3F|''(See "Selecting by Query")'']]
 
***Select by Table: select objects which have been previously attached to a specific data table [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_select_all_the_objects_attached_to_the_same_data_table.3F|''(See "Selecting by Table")'']]
 
***''Note: As you can select the objects previously to execute this command, in addition to the use of the above included selection options or in combination with them, you can make use of some other [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)|Advanced selection application tools]], select objects in the [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Data_Structure_Management_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_view_and_edit_the_objects_data_in_a_table_form.3F_.28.22Professional.22_edition_only.29|Data Grid]] or any other selection method available in AutoCAD (Quick Select, etc.). Also note that, as most of the advanced application or AutoCAD 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 objects included in an AutoCAD Layer will be labeled. You can select the layer using the drop-down list in this window
 
**''Table and Field'': Let you select the data to Label
 
***''Warning: Please note that if none of the objects selected for labeling are attached to the chosen Table/Field, no label will be created and the application will display a warning''
 
**''Layer name'': This setting defines the target Layer name for the Labels. You can select an existing Layer in the drawing or you can write the name to create a new Layer
 
 
**''Apply random colors to new Layers''
 
**''Apply random colors to new Layers''
**''Treat closed polylines as polygons'': When checked (default value), all closed Polylines in the drawing will be Labeled as Polygons (Label in the Centroid). If not, these Polylines will be labeled as linear objects
+
*''Create'': Areas of Influence objects type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
***''Label options''. You can define the Style, Height, Justification, Rotation and Rotation Units of the Label Text objects here. Some of these parameters can be taken from Fields in the data tables. For linear objects you can also specify the separation in drawing units between labels to be repeated along the object, or if you want a single label for each object. 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 objects, grouped with the Labels) and they will "trim" the objects located behind the Labels in order to improve its reading
+
**''Fill areas using Hatches''
***''Notes:''
 
****''When Labeling, the Rotation of the Texts will consider the positive angles direction defined according to the value of the System Variable ANGDIR (Please, take a look to ANGDIR and UNITS in the AutoCAD Help)''
 
****''You can choose that the value of the LUPREC variable (Length precision) be used or not for the number of decimal places when labeling objects using a numerical field (Please, take a look to LUPREC and UNITS in the AutoCAD Help)''
 
****''Label Masks may have some functional issues or may not be available in versions earlier than AutoCAD 2017''
 
 
 
 
 
 
 
===Can I define a selection of objects based on the values of their data and/or geometries relationship?===
 
Yes, 'Spatial Manager™ for AutoCAD' includes several commands for advanced selections tasks:
 
 
 
 
 
<span title="Advanced selection commands in the Spatial Manager™ for AutoCAD ribbon">[[Image:SPMSelectToolsRibbon.png|Advanced selection commands in the Spatial Manager™ for AutoCAD ribbon|link=]]</span>
 
 
 
 
 
*[[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_define_a_selection_of_objects_based_on_their_geometric_relationship.3F|''SPMSPATIALQUERY'']] allows you to select objects in the drawing according to the result of advanced simple or compound spatial queries
 
*[[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_define_a_selection_of_objects_based_on_the_values_of_their_data.3F|''SPMSELECTBYQUERY'']] allows you to select objects in the drawing according to the result of a simplex or compound data query
 
*[[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Can_I_select_all_the_objects_attached_to_the_same_data_table.3F|''SPMSELECTBYTABLE'']] allows you to select all the objects which have been previously attached to a specific data table
 
*[[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Advanced_Selection_(%22Standard%22_and_%22Professional%22_editions_only)#Is_there_any_way_to_locate_on_the_screen_all_the_selected_objects.3F|''SPMZOOMTOSELECTION'']] zooms to the current selection extent so you can locate all the selected objects in an optimal size view
 
  
  
  
 
==Related links==
 
==Related links==
 
+
*Blog posts
 +
**[https://www.spatialmanager.com/centroids-and-polygons/ Centroids and Polygons]
 +
**[https://www.spatialmanager.com/dissolve-polygons/ Dissolve Polygons]
 +
**[https://www.spatialmanager.com/buffers/ Buffers]
 +
**[https://www.spatialmanager.com/tag/overlays/ Overlays]
  
  

Latest revision as of 13:15, 24 August 2022

Spatial Manager™ for AutoCAD product page Download Spatial Manager™ for AutoCAD


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
  • Some geographic data providers (Geocode, image Maps, etc.) may need a user account, which you can configure in the Service Provider API Keys 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 objects
    • Process spatial Overlays which will create new drawing objects based on the operation results
    • Dissolve polyonal objects in order to create surrounds of adjacent objects
    • Create Centroids from selected polygons or add Centroids data to the polygons that contain them
    • Calculate and draw Areas of Influence from selected point objects


GIS Analysis tools

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


GIS Analysis commands in the Spatial Manager™ for AutoCAD ribbon


Performing GIS Analysis in the drawing


Performing GIS Analysis in the drawing


About objects selection

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

  • Select all objects: All objects in the drawing will be processed
  • Only selected objects: Only a selection of objects will be processed. You can select the objects before executing the commands or by using the Selecting buttons in their corredponding windows
    • Manual selection
    • Select by Query: Select objects according to the result of a simplex or compound data query (See "Selecting by Query")
    • Select by Table: Select objects which have been previously attached to a specific data table (See "Selecting by Table")
      • Note: As you can select the objects 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 objects in the Data Grid or any other selection method available in AutoCAD (Quick Select, etc.). Also note that, as most of the advanced application or AutoCAD 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 objects included in an AutoCAD Layer will be processed. You can select the layer using the drop-down list in this window

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


Buffer

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


SPMBufferOptionsACAD.png


  • Objects selection: See the paragraph "About objects selection" above
  • Buffer options: You can select the Buffer distance (fixed value or field-based value), the distance units (read below), the Join and End cap styles and if you want to Dissolve/Merge the generated Buffered polygons
    • About Units conversion: If a coordinate system with a defined unit of measurement is assigned to the drawing, the user can select another unit from the drop-down list to define the Buffer distance entered and the application will perform the conversion between it and the one defined by the coordinate system. If the drawing does not have a coordinate system assigned to it, or the coordinate system does not have defined units, the user can select from the drop-down lists the unit in which the entered Buffer distance is defined and the drawing units; the application will perform the conversion between the two
  • 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 objects will adopt the same data as the objects that generate them, unless the "Dissolve/Merge" option has been checked, in which case this would not make sense and the combined Buffer objects are not attached to any data table
    • Apply random colors to new Layers
  • Create: Dissolved objects type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
    • 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 objects. Most of the time the closed polylines represent polygonal elements


Overlay

The command 'SPMOVERLAY' in 'Spatial Manager™ for AutoCAD' allows you to create new objects based on geometric and data operations between two existing object groups


SPMOverlayACAD.png


This function allows you to generate new objects in the drawing by performing "geometric operations" between two groups of existing objects: "Source" (Group 1) and "Overlay" (Group 2). For example, according to the chosen parameters in this image, for all selected Source objects (Roads, etc.) that are located within any Parcel, the Overlay Identity function will create new objects which will are equal to the Source objects "broken" in the Parcel limits


  • Objects selection: See the paragraph "About objects selection" above (Group 1 and Group 2)
  • Overlay parameters and options
    • Operation
      • Intersect: Determines the geometries that overlap in the Source and Overlay object groups. Anything that does not overlap is discarded from the output, so the resulting objects represent what the Source and Overlay have in common. Use Intersect in order to find points or lines that lie within a polygon, or to determine the places where two linear objects overlap. For example, find tree point objects that are within park polygons. The resulting data table will include the data of both the Source and Overlay objects
      • Union: Determines the geometries that exist in either the Source and Overlay objects. Where the geometries intersect, additional objects are created. The resulting objects are the sum of the two comparison object groups. Use Union in order to combine two group of related polygon objects. For example, create new objects that combine the business district and the theater district when the objects overlap. The resulting data table will include the data of both the Source and Overlay objects
      • Erase: Determines the geometries from the Source objects that do not intersect with the Overlay objects. Use Erase in order to subtract sections for a group of objects. For example, find all roads that lie outside the enterprise district, or all hospitals that are outside a flod zone. The resulting data table will include the data of Source objects only
      • Identity: Creates new objects where the Source and Overlay objects intersect. Use Identity in order to split objects at the point where they intersect with another objects group, and to create new objects at that point. For example, divide roads or parcels where they cross city borders. The resulting data table will include the data of both the Source and Overlay objects
      • Clip: Like Intersect, Clip creates objects from the areas of the Source that overlap with the Overlay. Use Clip in order to find objects that lie within a geometric area. For example, find hydrants within a development, or road segments within a particular neighborhood. The resulting data table will include the data of Source objects only
      • Paste: Creates new objects by pasting the Overlay objects onto the Source objects. All Overlay objects become new objects in the operation result. In addition, the areas of the Source that do not fall within the Overlay objects become also new objects in the operation result. Use Paste in order to combine two overlaping groups of objects. For example, add the data of city districts to the developments that overlap. The resulting data table will include the data of both the Source and Overlay objects
      • Symmetric Difference: Determines the areas in the Source and Overlay that do not overlap. Overlapping areas of the objects are discarded in the output. The non-overlapping areas become new objects. Use Symmetric Difference in order to find areas that are mutually exclusive in two group of objects. For example, find new housing developments that are outside school districts. The resulting data table will include the data of both the Source and Overlay objects
    • General options
      • Table/Layer name: This setting defines the target Layer and data table name for the new created objects. You can select an existing Layer in the drawing or you can write the name to create a new Layer. The data of the new objects will be those of the objects selected in Group 1. Whenever possible (depending on the type of Overlay operation), data from Group 2 will be merged in the same table. For example, if Buildings and Parcels are Overlapped by Intersection, the new objects will be geometrically equal to the buildings that are located entirely or partially within any parcel, and the data table will include the data of the buildings and parcels in a combined table
        • Apply random colors to new Layers
      • Create: New Overlay objects type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
        • 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 objects. Most of the time the closed polylines represent polygonal elements


Dissolve

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


SPMDissolveACAD.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 objects 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 objects) 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 objects, grouped with the Labels) and they will "trim" the objects located behind the Labels in order to improve its reading
      • Notes:
        • You can choose that the value of the LUPREC variable (Length precision) be used or not for the number of decimal places when labeling objects using a numerical field (Please, take a look to LUPREC and UNITS in the AutoCAD Help)
        • Label Masks may have some functional issues or may not be available in versions earlier than AutoCAD 2017
  • 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
    • As you can see in the next setting, the Layer name can be variable for each new polygon but the Table name for the attached data will be unique for all the created polygons
    • Use Field values for Layer: Here you can select that the Field used to merge define its value as the name of the Layer for the new polygons. If this value is null for any polygon, or the setting is left blank, the polygon will be drawn in the Layer selected in the previous setting
      • Note that this setting is only for the name of the target Layer but not for the Table name
    • Apply random colors to new Layers
  • Create: Dissolved objects type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
    • 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 objects. Most of the time the closed polylines represent polygonal elements

Note: Since this operation can only be performed on polygonal objects, the application will alert the user either if there are non-polygonal objects attached to the selected table (warning) or if there are not enough polygons to process it (cancellation)


Centroids

The command 'SPMCENTROID' in Spatial Manager™ for AutoCAD includes two functionalities. The first one allows you to generate Centroids (Point objects) for the selected polygons (The polygons data, if any, will be attached also to the Centroid objects). The second one allows you to capture the selected Centroids data in order to add it to a copy of the selected Polygons that contain them


Create centroids


SPMCentroidsACAD.png


  • Objects selection: See the paragraph "About objects 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 objects 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 objects. Most of the time the closed polylines represent polygonal elements


Copy data from centroids to polygons (capture centroids)


SPMCentroidsACAD2.png


  • Centroids selection: Any point object. See the paragraph "About objects selection" above
  • Polygons selection: Any polygonal object. See the paragraph "About objects selection" above
  • Capture centroids options
    • Create also polygons without centroid found: As a copy of the selected polygons that contain any Centroid will be created, you can also choose to duplicate even polygons without Centroid found
  • Table/Layer name: This setting defines the target Layer and data table name for the created polygons. You can select an existing Layer in the drawing or you can write the name to create a new Layer
    • Apply random colors to new Layers
  • Create: Duplicate polygons object type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
    • 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 objects. Most of the time the closed polylines represent polygonal elements


Areas of Influence

The command 'SPMINFLUENCEAREAS' in Spatial Manager™ for AutoCAD 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


SPMVoronoiAreasACAD.png


  • Objects selection: See the paragraph "About objects 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 objects will adopt the same data as the corresponding Points
    • Apply random colors to new Layers
  • Create: Areas of Influence objects type, Borders or Polygons. The Polygons option allow you to select MPolygons as the type of object to use. This options is available on all compatible Autodesk products (even on vanilla, plain or basic AutoCAD) (AutoCAD 2013 and upper). The MPolygons can be defined by multiple rings, even including holes, as a single AutoCAD object
    • Fill areas using Hatches


Related links



Spatial Manager™ for AutoCAD product page Download Spatial Manager™ for AutoCAD