User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:produkte:cad_2018:gis [2018/02/27 13:31] (current)
Line 1: Line 1:
 +====== GIS ======
 +===== Description =====
 +GIS allows the continuous editing of graphical and analytical tasks in a system. At this, drawing objects with allocated object data table can be exchanged at random between the DATAflor CAD Object-Manager and AutoCAD MAP. Together with AutoCAD MAP GIS data of many systems can be used.
  
 +Condition for the import and export of GIS data is that AutoCAD MAP is the basic system. But intersections can also be defined with the basic system AutoCAD.
 +\\ \\ 
 +===== Import of GIS data =====
 +With the function GIS you are able to import GIS data into the DATAflor CAD Object-Manager that again can be transferred to AutoCAD MAP. At this, a function of AutoCAD MAP is used in the first step. In the second step the actual data import into the Object-Manager is executed. For this objects with allocated data tables are required.
 +
 +The best results can be achieved with data in the so called Shape-Format (ArcView Shape-file **//​*.SHP//​**). If possible request your data in this format.
 +
 +==== Preparing measures ====
 +DATAflor CAD requires objects whose properties are defined in a data table.
 +
 +When you receive GIS data, a lot of information irrelevant for the current planning can be contained, but which can produce very large amount of data at an import. For this reason it is recommended to select properties.\\ In the following Procedure the ESRI Shape (*.shp) file import is explained.
 +  - Please store a backup copy of the data so that you can import data later on, which is not required at the current stage. ​
 +  - Start a spreadsheet program (eg. Microsoft Excel) and open the **//​DBF//​**-file which is part of your GIS data. 
 +  - Then you can review the different properties of the objects in the columns (A/B/C/ ...). Delete the columns that you do not require (in the figure eg. B = //COUNT// and C = //​AVE_AREA//​).\\ {{:​produkte:​cad:​planung:​gis0001.gif?​nolink|}}\\ \\ <WRAP round tip 85%>
 +If applicable, substitue //Umlaute// and space characters (Öffentliche Spielplätze => Oeffentliche_Spielplaetze (public playgrounds)).
 +</​WRAP>​
 +  - Save the table as **//​DBF//​**-file again, confirm the following inquiry (Excel 2000) with **[Yes]** and quit the table calculation.\\ {{:​produkte:​cad:​planung:​gis0002.gif?​nolink|}}\\ \\ 
 +  - The data is now prepared and AutoCAD MAP can be started.
 +
 +==== Import into AutoCAD Map ====
 +Within AutoCAD MAP there are two different commands available for the import with which GIS data can be exported. These are different program versions of the interface which have different functions. The current command is **MAPIMPORT**. The command **MAPIMPORT4** is a relict from the AutoCAD MAP versions 2000 to 2002. <WRAP round tip 90%>
 +If you should experience issues when exporting data with MAPIMPORT try the command MAPIMPORT4.
 +</​WRAP>​
 +
 +The following example is created with the AutoCAD MAP 3D 2006 command **MAPIMPORT**. In other versions of AutoCAD MAP there can be derivations.
 +  - Enter the command **MAPIMPORT**. After that the following dialogue appears. Switch to the file format //ESRI Shape (**//​*.SHP//​**)//​. ​
 +  - Select the desired Shape-file with Browse and click **[OK]**.\\ {{:​produkte:​cad:​planung:​gis0003.gif?​nolink|}}\\ \\ 
 +  - In the next dialogue box the settings for the import can be made.\\ {{:​produkte:​cad:​planung:​gis0004.gif?​nolink|}}\\ \\ 
 +  - Firstly, select the data information that you want to import. This can be done with a mouse click into the table field in the column **Data** an the **[...]**.\\ {{:​produkte:​cad:​planung:​gis0005.gif?​nolink|}}\\ \\ 
 +  - In the dialogue for the attribute data the option **Create object data** needs to be used. With this the field **object data** in the middle becomes active and you can select the required information directly from the desired object data tables.\\ {{:​produkte:​cad:​planung:​gis0006.gif?​nolink|}}\\ \\ 
 +  - With **[Select fields ...]** all information is listed. Mark the desired entries.\\ {{:​produkte:​cad:​planung:​gis0007.gif?​nolink|}}\\ \\ 
 +  - After closing the dialogue for the data selection the field entry in the column **Data changes** from //<​none>//​ to the name of the object data table.\\ {{:​produkte:​cad:​planung:​gis0008.gif?​nolink|}}\\ \\  ​
 +  - Furthermore you can place the drawing objects straight away on the dedicated layer. This can be done by a mouse click into the table field on the column **Drawing Layer**.\\ {{:​produkte:​cad:​planung:​gis0010.gif?​nolink|}}\\ \\ 
 +  - Select a **data field**. On the basis of this data field new layers are created onto which the drawing elements are sorted.\\ {{:​produkte:​cad:​planung:​gis0009.gif?​nolink|}}\\ \\ 
 +  - After closing the dialogue for the **layer allocation** the field entry in the column **Drawing Layer** changes to //<by Data>//​.\\ {{:​produkte:​cad:​planung:​gis0011.gif?​nolink|}}\\ \\ 
 +  - After closing the dialogue with **[OK]** the data is imported. ​
 +
 +<WRAP round important 90%>
 +Also activate the option **Import polygons as closed polyline**. This saves a few work steps later.
 +</​WRAP>​
 +
 +<WRAP round tip 90%>
 +With the current command MAPIMPORT **Umlaute** are not imported. For this, the command MAPIMPORT4 should be used.
 +</​WRAP>​
 + 
 +==== Import into the Object-Manager ====
 +The import of data into the DATAflor CAD Object-Manager is fairly simple.
 +  - Open the [[Objekt-Manager]] with the command **MASSEN** and start the function Menu **Masses > from AutoCAD MAP**. ​
 +  - You are asked to select objects that you want to import. This way you can detect parts of or by entering //All// all objects in the drawing. Close the entry with right-click via the mouse or by pressing <wrap caps>​**Enter**</​wrap>​.
 +  - In the next dialogue all object data that could be derived from the drawing elements is displayed. Here, you can select the data you want to import (and which object data table, if several exist and which object information). Furthermore you can specify how the data is to be derivated.\\ {{:​produkte:​cad:​planung:​gis0012.gif?​nolink|}}\\ \\ 
 +  - If all control boxes in the field **Apply Field** are deactivated,​ then the respective information is not transferred which will be marked with a red line. 
 +   - After confirming the dialogue with **[OK]** the new object tree appears in the **Object-Manager**.\\ {{:​produkte:​cad:​planung:​gis0013.gif?​nolink|}}
 +
 +The advantage of this import is that multiple information can be read with each object.
 +
 +<WRAP round tip 90%>
 +**Alternative,​ without object information:​** Provided that a sorting was made in accordance with the **drawing layers** a normal detection as drawing object can occur. Since the objects are on layers with appropriate naming a correct object tree structure is created by this.
 +</​WRAP>​
 +
 +==== Object with multiple attributes ====
 +Within the Object-Manager multiple groups are created (eg. Use, Plant communities,​ Habitat value, etc.). If an object that is to be allocated to multiple groups is detected in the next group a second time, then the name of the group is __not__ exported as **object data field**. <WRAP round tip 90%>
 +So that all attributes of an object can be exported correctly, the object has to be **copied** in the object tree.
 +</​WRAP>​
 +
 +**Example**:​\\ ​
 +An object is detected within the group //Use//. Then, the object is detected a second time in the group //Habitat value//. After exporting to AutoCAD MAP there is no value displayed for the object in the group //Habitat value//. But if the object is copied, both attributes will be listed.
 +
 +----
 +
 +===== Export of GIS data =====
 +All objects that were detected with the DATAflor CAD Object-Manager can be exported with Menu Masses > to AutoCAD MAP and thus be exported to other systems via the interface of AutoCAD MAP. At this, allocated properties and the object tree structure are filed in a object data table. Like at the data import two steps have to be executed. At this the transfer of the data created in DATAflor CAD is as simple as the data-import.
 +
 +==== Correct object tree structure for the export ====
 +Via the group allocations the AutoCAD MAP object data fields are filled with values whereat the **last group** in the hierarchy defines the **value** and the **superordinate one** the **caption** of the object data field. <WRAP round tip 90%>
 +Therefore, the export has to be performed from the next higher level.
 +</​WRAP>​
 +
 +**Example**:​\\ ​
 +The areas 1 and 2 are to be exported to AutoCAD MAP. At this, the technical information //​Eichenbestand//​ (oak population) is to be transferred as well. As can be seen in the graphic the object data field with the caption //​Gehölzbestand//​ (woodland) is created and the objects receive the value //​Eichenbestand//​. The export has to occur from the level //Bestand// (population) because otherwise no values can be entered.\\ ​
 +{{:​produkte:​cad:​planung:​gis0016.gif?​nolink|}}
 +
 +==== Export from the Object-Manager ====
 +Create data for other GIS systems.
 +  - Open the **Object-Manager** and mark the group of which you want to export the sub-groups. ​
 +  - Then open the dialogue Menu **Masses > to AutoCAD MAP**. ​
 +  - In the dialogue box you can enter a table name for the object data table that DATAflor CAD is to generate in AutoCAD MAP. Furthermore,​ you are shown an overview with the examples for each level on how the data is setup and which values are allocated.\\ {{:​produkte:​cad:​planung:​gis0017.gif?​nolink|}}\\ \\ The overview can be issued with the button **[Print]**.
 +  - When a dialogue box is confirmed with **[OK]** the data transfer to AutoCAD MAP is performed. At this, a new layer is created automatically that also has the entered table name. On this layer there are copies of the objects with the respective object data from the [[Massenbaum]]. The objects that are managed in the object tree will not be changed!
 +
 +<WRAP round tip 90%>
 +For the export from AutoCAD MAP the new layer should be isolated.
 +</​WRAP>​
 +
 +==== Export from AutoCAD Map ====
 +Within AutoCAD MAP there are two different commands available for the export with which GIS data can be exported. These are different programs and interfaces which have different functions. The current command is **MAPEXPORT**. The command **MAPEXPORT4** is a relict from the AutoCAD MAP versions 2000 to 2002. <WRAP round tip 90%>
 +If you should experience issues when exporting data with MAPEXPORT try the command MAPEXPORT4.
 +</​WRAP>​
 +
 +The following example is created with the AutoCAD MAP 3D 2006 command **MAPIMPORT**. In other versions of AutoCAD MAP there can be derivations.
 +  - Enter the command **MAPEXPORT**. ​
 +  - After that the following dialogue appears.\\ {{:​produkte:​cad:​planung:​gis0026.gif?​nolink|}}\\ \\ Switch to the file format ESRI Shape (**//​*.shp//​**). ​
 +  - Select the desired directory with Browse and enter a name. Click **[OK]**.
 +  - In the next dialogue box the settings for the export can be made. In the tab **Selection** at the top preferably change to **polygon**\\ {{:​produkte:​cad:​planung:​gis0027.gif?​nolink|}}
 +  - In the tab **Data** you can define the technical data that is to be transferred in the export. This is done with the buttion **[Select attributes...]**.\\ {{:​produkte:​cad:​planung:​gis0028.gif?​nolink|}}\\ \\ 
 +  - As attributes all properties, as well as the data created with the Object-Manager,​ can be used. These can be found in the field **Object Data**.\\ {{:​produkte:​cad:​planung:​gis0029.gif?​nolink|}}
 +
 +<WRAP round tip 90%>
 +For the correct caption of the object data fields you can edit the file *.**//​DBF//​** with spreadsheet program (eg. Excel). A direct change in AutoCAD MAP is not possible.
 +</​WRAP>​
 +