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

From Spatial Manager Wiki
Jump to navigation Jump to search
m
m
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[image:SPM AutoCAD Wiki to Website.png|150px|link=http://www.spatialmanager.com/spm-forautocad/ |Spatial Manager™ for AutoCAD product page]] [[image:SPM AutoCAD Wiki to Download.png|150px|link=http://www.spatialmanager.com/download/spatial-manager-autocad/ |Download Spatial Manager™ for AutoCAD]]
+
[[image:SPM AutoCAD Wiki to Website.png|150px|link=https://www.spatialmanager.com/spm-forautocad/ |Spatial Manager™ for AutoCAD product page]] [[image:SPM AutoCAD Wiki to Download.png|150px|link=https://www.spatialmanager.com/download/spatial-manager-autocad/ |Download Spatial Manager™ for AutoCAD]]
  
  
Line 11: Line 11:
 
===Introduction===
 
===Introduction===
 
*'''Objective of this section'''
 
*'''Objective of this section'''
**To learn how to get 3D Points from elevation services, create 2D or 3D Contours and create Terrain 3D models
+
**To learn how to search for locations (Postal addresses, streets, neighborhoods or other geographical objects) in your drawings based on a search text
  
 
*'''Topics in this section'''
 
*'''Topics in this section'''
**Obtain elevation 3D Points in the drawing from elevation services for any earth area or for Points or Blocks References in the drawing with Z=0
+
**Access the location search by text
**Create 2D or 3D Contour Polylines from 3D Points, Block References or Terrains
+
**Review the search results and the related data shown in the search window
**Set Contour options such as density, colors, layers, labels, etc.
+
**Zoom to any selected result
**Create Terrains models from 3D Points, Block References or other Terrains and select object type for new Terrains ''(AutoCAD 2010 and upper)''
+
**Insert the geometry or envelope of any selected result
**Choose any Raster Image or 'Background Map' and related options to project and fit it on one or more Terrains ''(AutoCAD 2012 and upper)''
 
  
  
  
{{#ev:youtube|Gif9O_nND2U}}
+
===How can I search for locations of geographical objects in my drawing?===
 +
Spatial Manager™ for AutoCAD includes the 'SPMSEARCHLOCATION' command that allows you to search for locations through Internet location services based on your search text. Once you enter the search text (the more precise, the more accurate the location) and click “Search” (or press Enter), the results returned by these services (if found, one or more rseults) will be shown in the search window and include the following information:
  
 +
*''Name:'' Full location name. Although you can resize the window if you want, if the full text does not fit, scroll over and a tooltip will be shown
 +
*''Type:'' Location type. According to the classification provided by the localization service
 +
*''Geometry:'' Geometry type. Point, Line-string, Polygon, Multi-Polygon, etc. The icon represents in a simplified way the geometry type but you can scroll over it and a tooltip including the geometry type text will be shown
 +
*''Source:'' Location service source. The name of the Internet location service that returned the result
  
 +
You can sort the result rows according to the “Name”, “Type” or “Source” columns (direct or inverse order) by clicking on the column title
  
===How can I get elevation 3D Points, create Contours or Terrain 3D models?===
 
Spatial Manager™ for AutoCAD includes the 'SPMTERRAIN' command that allows you to create Terrains and other related objects. Three options are available when this command is executed:
 
*''1 Elevations'', which is a shortcut to get 3D Points on your drawing from Internet elevation providers in any earth area ''([https://github.com/tilezen/joerd/blob/master/docs/data-sources.md#list-of-sources Data sources])''
 
*''2 Contours'', which is a shortcut to create 2D or 3D Contours in your drawing from 3D Points, Block References or Terrains. Below you can review the [[#How_do_I_create_Contours_and_what_options_are_available.3F | ''options available for this function'']]
 
*''3 Terrain Wizard'', which allow you to access the Terrain wizard in order to run one or more Terrain chained processes (Obtain elevation 3D Points, and/or create Contours, and/or create Terrain 3D models, and/or project any Raster Image or [[Spatial_Manager™_for_AutoCAD_-_FAQs:_Background_Maps_(%22Standard%22_and_%22Professional%22_editions_only) | ''Background Map'']] to Terrains)
 
As you can see in the following image, these options are found on any application interface component ready to run separately
 
  
 +
<span title="'SPMSEARCHLOCATION' command in the Spatial Manager™ for AutoCAD ribbon">[[Image:SPMSearchLocationCAD.png|border|'SPMSEARCHLOCATION' command in the Spatial Manager™ for AutoCAD ribbon|link=]]
  
[[Image:SpatialManagerCADRibbonTerrains.png|border|'SPMTERRAIN' command (3 sub-commands) in the Spatial Manager™ for AutoCAD ribbon]]
 
  
 +
[[Image:SPMSearchLocationACAD.png|border|900px|'Search Location' window|link={{filepath:SPMSearchLocationACAD.png}}]]
  
 +
'''Search Location' window''
  
===What are the contents of the different sections in the Terrain wizard?===
 
The Spatial Manager™ for AutoCAD Terrain wizard (Third button in "Terrain" group) includes three sections (see the image below):
 
*<ins>Source</ins> - Starting data. Select one of the following options:
 
**''Select points from drawing''. Allows you to select any number of Points or Block References in your drawing in order to create Contours (Polylines) for this point cloud, and/or create one Terrain 3D model for this point cloud ''(AutoCAD 2010 and upper)'', and apply (project and fit) a Raster Image or Background Map texture to this Terrain ''(AutoCAD 2012 and upper)''
 
***''Download elevations from online services for points with Z=0''. This option allows you to get the elevation values (Z-coordinates) for any selected object with Z=0 from Internet elevation providers ''([https://github.com/tilezen/joerd/blob/master/docs/data-sources.md#list-of-sources Data sources])''. If all the selected objects have Z=0, a pop-up window will alert you about it and you will be able to activate this option from the warning itself. The drawing must be [[Spatial_Manager™_for_AutoCAD_-_FAQs:_Background_Maps_(%22Standard%22_and_%22Professional%22_editions_only)#Need_to_have_some_reference_in_the_drawing_to_use_the_.27Background_Maps.27.3F | ''geolocalized'']] before using this option
 
**''Elevations from online services''. Allows you to define an rectangular area in your drawing for any earth location in order to create a 3D Points grid from Internet elevation providers in the selected area  ''([https://github.com/tilezen/joerd/blob/master/docs/data-sources.md#list-of-sources Data sources])'', and/or create Contours (Polylines) for this point cloud, and/or create one Terrain 3D model for this point cloud ''(AutoCAD 2010 and upper)'', and apply (project and fit) a Raster Image or Background Map texture to this Terrain ''(AutoCAD 2012 and upper)''
 
***''Notes:''
 
****''Select the Elevation (Z) units. The options available in the drop-down menu will display all the units available in the [[Coordinate Systems objects list | Coordinate Systems objects list]]''
 
****''You can also choose the grid resolution in meters. Available values are proposed and limited according the resolution returned by the elevation service''
 
****''The drawing must be [[Spatial_Manager™_for_AutoCAD_-_FAQs:_Background_Maps_(%22Standard%22_and_%22Professional%22_editions_only)#Need_to_have_some_reference_in_the_drawing_to_use_the_.27Background_Maps.27.3F | geolocalized]] before using this option''
 
**''Terrain''. Allows you to select one or more Terrain 3D models in your drawing in order to extract their 3D point geometries (vertexes) and create a 3D points cloud, and/or create Contours (Polylines) for this point cloud, and/or create one Terrain 3D model for this point cloud ''(AutoCAD 2010 and upper)'', and apply (project and fit) a Raster Image or Background Map texture to the selected or created Terrain(s) ''(AutoCAD 2012 and upper)''
 
*<ins>Processing options</ins>
 
**''Reduce points to evaluate''
 
***If you selected 3D Points in the previous section (from the drawing or by creating a grid), here you can reduce the number of points used in the calculation of objects in the next section (3D Points and/or Contours and/or Terrain)
 
***A reduction of points will improve the speed of objects generation but will result in objects with simpler geometry
 
**''Elevation exaggeration''
 
***This factor will multiply the resulting Z coordinates of objects calculated in the next section (3D Points and/or Contours and/or Terrain)
 
***The exaggeration does not affect the numerical values that may result from the calculation, such as the elevation labels or the values in the elevation table of the contour lines ([[#How do I create Contours and what options are available? |''see next article'']])
 
**''Note: You will see at the top of this section the total number of objects currently selected''
 
*<ins>Objects to create</ins> - Resulting objects. Depending on the option you have chosen in the first section, you will be able to select one or more of the objects to be created in the process
 
**''3D Points''
 
**''Contours''. See the "Contour options" in the [[#How do I create Contours and what options are available? | ''next article'']]
 
**''Terrain''. You can choose what AutoCAD 3D object will be used to create the Terrain 3D model ''(AutoCAD 2010 and upper)''. The available options depend on each AutoCAD version
 
**''Apply texture to terrain''. You can select any Raster Image in drawing or any available Background Map (preset or user-defined) whose images will be projected an fitted to one or more Terrains, as well the desired [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Background_Maps_(%22Standard%22_and_%22Professional%22_editions_only)#Is_there_any_way_to_get_static_.22Snapshots.22_of_the_.27Background_Maps.27.3F | ''map detail level'']] ''(AutoCAD 2012 and upper)''
 
***''Notes:''
 
****''If you choose the "Map" option and any [[Spatial_Manager%E2%84%A2_for_AutoCAD_-_FAQs:_Background_Maps_(%22Standard%22_and_%22Professional%22_editions_only)#How_can_I_display_a_.27Background_Map.27_in_the_drawing.3F | Background Map is shown on the drawing]], this will be automatically selected though you can select any other''
 
****''The drawing must be [[Spatial_Manager™_for_AutoCAD_-_FAQs:_Background_Maps_(%22Standard%22_and_%22Professional%22_editions_only)#Need_to_have_some_reference_in_the_drawing_to_use_the_.27Background_Maps.27.3F | geolocalized]] and saved in order to apply this option. A "material" PNG image of the map will be saved in the same folder as the drawing''
 
****''The drawing Visual Style will be automatically changed to "Realistic" when you select this option''
 
  
  
[[Image:Terrains 1ACAD.png|border|'Terrain' wizard window]]
+
===How can I use the results shown in the 'Search Location' window?===
 +
The Spatial Manager™ for AutoCAD 'Search Location' window allows you to select any shown result in order to:
 +
*''Zoom to the location''. By using the "Zoom" button or by double-clicking on the chosen result
 +
*''Insert the Geometry in your drawing'', and zoom to the Geometry. Points, Polylines, Polygons, etc., depending on the geometry type
 +
*''Insert the geometry Envelope'', and zoom to the Envelope. Internet location services usually also return a rectangular envelope of the geographic object found. This option allows you to insert this rectangle in your drawing
  
'''Terrain' wizard window''
+
You can choose “Fill areas using Hatches” in order to add a Hatch when inserting Polygonal geometries or rectangular Envelopes. The inserted objects (and their optional Hatches) will be drawn in the current Layer of the drawing
  
 +
Note that the ‘Search Location’ window remains open until you close it so that you can repeat the actions with the results you want. In fact, you can navigate through the drawing, edit the drawing, etc. while the window is still on screen
  
  
===How do I create Contours and what options are available?===
 
As you can read in the previous articles, in Spatial Manager™ for AutoCAD you can create 2D or 3D Contour Polylines through the Terrain wizard ('SPMTERRAIN' option '3 Terrain Wizard' - Third button in "Terrain" group) or directly through the Contours shortcut ('SPMTERRAIN' option '2 Contours' - Second button in "Terrain" group). You will find the following available Contour options (see image below):
 
*<ins>Top group</ins>
 
**''Minor interval''. Contours Interval (Minor Contours)
 
***''Note: At the bottom of this section you will see the total number of Contour Polylines that will be created according to the chosen interval''
 
**''Major every''. Every how many Minor Contours one is considered Major Contour
 
**''Smoothing''. Contour Polylines smoothing level
 
**''Layer''. Layers for Minor and Major Contours
 
*<ins>Colours</ins>. Colour models. You can choose one of the following options:
 
**''None''. By layer. If it is necessary to create new layers according to the ones defined in the previous section, they will be assigned random colors that will be different for the Minor and Major Contour Polylines
 
**''By contour type''. You can choose the colours for Major and Minor Contour Polylines
 
**''By altitude''. The Contour Polylines will be created using an automatic colours ramp from which you can choose the colours for the lowest Contour and the highest Contour
 
*<ins>Labels</ins>. Contour elevation Labels
 
**''Label elevations''. Check it if you want Labels
 
**''Label also minor contours''. The Major Contours will be labeled but you must check this option if you also want to label the Minor Contours
 
**''Style, Justify, Height''. You can define the Style, Height and Justification of the Labels here
 
**''Insert a label each''. You can also specify the separation in drawing units between Labels to be repeated along the Contour Polylines
 
**''Note: The number of decimals places for the numeric values in the Labels will be consistent with the Contour Interval chosen above''
 
*<ins>Elevation options</ins>
 
**''Create contours without elevation (2D)''. Contour Polylines will placed in their corresponding Z Elevation (3D Contours) unless you check this option to place them in the XY plane regardless of their Elevations (2D Contours)
 
**''Append data table with elevation values''. When checking this option, the Contour Polylines will be [[Spatial_Manager™_for_AutoCAD_-_FAQs:_Data_Structure_Management_(%22Standard%22_and_%22Professional%22_editions_only) | ''attached to a data Table'']] that will include the "Elevation" field. The Table will also include another field ("Major") that will indicate if it is a Minor or a Major Contour. You can specify the data Table name below
 
  
 +
===Need to have some reference in the drawing to use 'Search Location'?===
 +
If the drawing is not empty when 'SPMSEARCHLOCATION' is executed, it is necessary that the drawing has been assigned a Coordinate Reference System (CRS) in order that the application "knows how-to" insert the selected geometries. If this is not the case, you can assign a CRS to the drawing (and modify it) using the command 'SPMSETCRS' of Spatial Manager™ for AutoCAD. By executing this command, you will access the CRS catalog of the application where you can:
 +
*Filter the CRSs by type (Geocentric, Projected, etc.). The type "Projected" will be selected by default because is the most common choice
 +
*Choose a CRS by clicking on its row in the table
 +
*Search CRSs by typing the search criteria in the "Search" box. You can type here as many words as you like separated by blanks. The application will find all the rows including all these words in any column of the table
 +
*Unassign (undefine) the Coordinate System of the drawing, by choosing "Undefined CRS" (EPSG 0)
 +
If the drawing is empty and has no coordinate system assigned to it, when 'SPMSEARCHLOCATION' is executed Spatial Manager™ for AutoCAD will assign the CRS Code:3857 (WGS84 / Pseudo-Mercator) to the drawing. This CRS is valid for any Earth area, but may be inaccurate for measurements in some areas. If you want to configure any other known local CRS, use the 'SPMSETCRS' command as explained above
  
[[Image:Terrains ContoursOptions.png|border|'Contour' options]]
+
* ''Notes:''
 +
**[[Coordinate Systems and Transformation details | ''Coordinate Systems and Transformation details'']]
 +
**''[[Coordinate Systems objects list | Coordinate Systems objects available in the current version]]''
  
''Creating Contours options''
+
 
 +
<span title="SPMSETCRS' command in the Spatial Manager™ for AutoCAD ribbon">[[Image:SPMSetCrs25.png|border|'SPMSETCRS' command in the Spatial Manager™ for AutoCAD ribbon|link=]]
 +
 
 +
 
 +
<span title="CRS catalog of the application">[[Image:TC-3.PNG|border|CRS catalog of the application|link=]]
 +
 
 +
''CRS catalog of the application''
  
  
  
 
==Related links==
 
==Related links==
 +
*Blog posts
 +
**[https://www.spatialmanager.com/search-locations/ Search Locations in AutoCAD]
 +
**[https://www.spatialmanager.com/trim-localized-image-maps/ Trim localized Image Maps]
  
  
Line 111: Line 86:
  
  
[[image:SPM AutoCAD Wiki to Website.png|150px|link=http://www.spatialmanager.com/spm-forautocad/ |Spatial Manager™ for AutoCAD product page]] [[image:SPM AutoCAD Wiki to Download.png|150px|link=http://www.spatialmanager.com/download/spatial-manager-autocad/ |Download Spatial Manager™ for AutoCAD]]
+
[[image:SPM AutoCAD Wiki to Website.png|150px|link=https://www.spatialmanager.com/spm-forautocad/ |Spatial Manager™ for AutoCAD product page]] [[image:SPM AutoCAD Wiki to Download.png|150px|link=https://www.spatialmanager.com/download/spatial-manager-autocad/ |Download Spatial Manager™ for AutoCAD]]

Revision as of 00:49, 25 August 2021

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


Introduction

  • Objective of this section
    • To learn how to search for locations (Postal addresses, streets, neighborhoods or other geographical objects) in your drawings based on a search text
  • Topics in this section
    • Access the location search by text
    • Review the search results and the related data shown in the search window
    • Zoom to any selected result
    • Insert the geometry or envelope of any selected result


How can I search for locations of geographical objects in my drawing?

Spatial Manager™ for AutoCAD includes the 'SPMSEARCHLOCATION' command that allows you to search for locations through Internet location services based on your search text. Once you enter the search text (the more precise, the more accurate the location) and click “Search” (or press Enter), the results returned by these services (if found, one or more rseults) will be shown in the search window and include the following information:

  • Name: Full location name. Although you can resize the window if you want, if the full text does not fit, scroll over and a tooltip will be shown
  • Type: Location type. According to the classification provided by the localization service
  • Geometry: Geometry type. Point, Line-string, Polygon, Multi-Polygon, etc. The icon represents in a simplified way the geometry type but you can scroll over it and a tooltip including the geometry type text will be shown
  • Source: Location service source. The name of the Internet location service that returned the result

You can sort the result rows according to the “Name”, “Type” or “Source” columns (direct or inverse order) by clicking on the column title


'SPMSEARCHLOCATION' command in the Spatial Manager™ for AutoCAD ribbon


'Search Location' window

'Search Location' window


How can I use the results shown in the 'Search Location' window?

The Spatial Manager™ for AutoCAD 'Search Location' window allows you to select any shown result in order to:

  • Zoom to the location. By using the "Zoom" button or by double-clicking on the chosen result
  • Insert the Geometry in your drawing, and zoom to the Geometry. Points, Polylines, Polygons, etc., depending on the geometry type
  • Insert the geometry Envelope, and zoom to the Envelope. Internet location services usually also return a rectangular envelope of the geographic object found. This option allows you to insert this rectangle in your drawing

You can choose “Fill areas using Hatches” in order to add a Hatch when inserting Polygonal geometries or rectangular Envelopes. The inserted objects (and their optional Hatches) will be drawn in the current Layer of the drawing

Note that the ‘Search Location’ window remains open until you close it so that you can repeat the actions with the results you want. In fact, you can navigate through the drawing, edit the drawing, etc. while the window is still on screen


Need to have some reference in the drawing to use 'Search Location'?

If the drawing is not empty when 'SPMSEARCHLOCATION' is executed, it is necessary that the drawing has been assigned a Coordinate Reference System (CRS) in order that the application "knows how-to" insert the selected geometries. If this is not the case, you can assign a CRS to the drawing (and modify it) using the command 'SPMSETCRS' of Spatial Manager™ for AutoCAD. By executing this command, you will access the CRS catalog of the application where you can:

  • Filter the CRSs by type (Geocentric, Projected, etc.). The type "Projected" will be selected by default because is the most common choice
  • Choose a CRS by clicking on its row in the table
  • Search CRSs by typing the search criteria in the "Search" box. You can type here as many words as you like separated by blanks. The application will find all the rows including all these words in any column of the table
  • Unassign (undefine) the Coordinate System of the drawing, by choosing "Undefined CRS" (EPSG 0)

If the drawing is empty and has no coordinate system assigned to it, when 'SPMSEARCHLOCATION' is executed Spatial Manager™ for AutoCAD will assign the CRS Code:3857 (WGS84 / Pseudo-Mercator) to the drawing. This CRS is valid for any Earth area, but may be inaccurate for measurements in some areas. If you want to configure any other known local CRS, use the 'SPMSETCRS' command as explained above


'SPMSETCRS' command in the Spatial Manager™ for AutoCAD ribbon


CRS catalog of the application

CRS catalog of the application


Related links



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