Some theorical concepts about the dimension feature are exposed in this first step.ĭimensions are a special kind of geodatabase annotation to show specific lengths or distances on a map. You can only create dimension feature classes with ArcGIS Desktop Standard and ArcGIS Desktop Advanced licenses. The different screenshots provide hints, but to know further you can use ArcGIS Pro Help. This tutorial does not go into detail about how to accomplish every single step, but instead gives an overview of the steps you should take. In this tutorial, you will learn how-to use this kind of geodatabase annotation and how-to layout with ArcGIS Pro. For example, this kind of information can be useful for the Fieldworkers during an intervention but also on the preliminary design analysis of road works. As you can see, it indicates on a map the distances between each pipeline inspection chamber. The picture shows an example of using dimensions on a map. Whether it is a parcel measure, the length of a building or the distance between several elements along a road, GIS users are often faced with this need. In many areas, reading maps or measurement information on a map is essential. ImportCADAnnotation_conversion ( inputFeatureClass, outFeatureClass, refScale, useLevels, matchSymbols, requireSymbol, featLinked, linkedFeatClass, autoCreate, autoUpdate ) except : # If an error occurred while running a tool print the messages print arcpy. replace ( ".", "" ) + "_Anno" refScale = 1200 useLevels = "CLASSES_FROM_LEVELS" matchSymbols = "NO_MATCH" requireSymbol = "NO_SYMBOL_REQUIRED" featLinked = "STANDARD" linkedFeatClass = "" autoCreate = "AUTO_CREATE" autoUpdate = "AUTO_UPDATE" print "Importing CAD annotation." try : arcpy. sep + "Annotation" outFeatureClass = fgdb + os. basename ( fgdb )) # Set variables inputFeatureClass = inputCADAnno + os. roads.dxf inputCADAnno = raw_input ( 'Data name: ' ) # Create file geodatabase based on CAD file fgdb = env. workspace = raw_input ( 'Workspace: ' ) # User input data name - eg. # import system modules import arcpy, os from arcpy import env # Set environment settings # User input workspace - eg. # Name: ImportCADAnnotation_Example.py # Description: Create a geodatabase and import CAD annotation into it using the # ImportCADAnnotation tool. Syntax (input_features, output_featureclass, reference_scale, ) Parameter That will have to be done within the ArcMap Editor. It will not establish the links between features and annotation. This relationship class defines the relationship between the annotation and the features and enables you to define and customize this relationship. If checked, when you create the output annotation feature class, a relationship class will be automatically generated as well. When unchecked, you may store any type of annotation (including graphics) in the annotation feature class.Īnnotation that is feature-linked is associated with a specific feature in another feature class in the geodatabase. If you check the option to require symbols to be selected from the symbol table, newly created or updated annotation features must reference one of the predefined symbols in the collection the symbol cannot be stored inline. If you select CAD annotation features and/or use a definition query, only those features that are selected and visible will be converted. Symbols and text will appear larger as you zoom in (the current map scale is larger than the reference scale) and smaller when you zoom out (the current map scale is smaller than the reference scale). When viewing the map, the symbol and text sizes change depending on the viewing scale. You can think of the reference scale as "freezing" the symbol and text sizes to a particular map scale. Also, if you choose map layers as input, the drawing layers and font overrides will be honored.Ĭhoose a reference scale that is roughly equal to the scale at which the annotation will normally be displayed. You can convert each CAD drawing layer to individual annotation classes or merge them into a single class. Output written to a desktop, workgroup, or enterprise geodatabase will not be versioned. The conversion requires an exclusive lock so it may not be opened by another application. Also, if you choose map layers as input, the level and font overrides will be honored. You can convert each level to individual annotation classes or merge them into a single class. Converts a collection of CAD annotation features to geodatabase annotation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |