Spatial plan: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Line 18: Line 18:
{{editor steps|title=Insert a spatial plan into the Engine|Save the AutoCAD file (.dwg) in AutoCAD as a .dxf|Open the .dxf in a GIS, for example in QGIS|Choose the right coordinate system when QGIS prompts for a CRS|Save the layer as a [[GeoJSON#Saving|GeoJSON]].|Import the file with the [[Geo Data Wizard]] }}
{{editor steps|title=Insert a spatial plan into the Engine|Save the AutoCAD file (.dwg) in AutoCAD as a .dxf|Open the .dxf in a GIS, for example in QGIS|Choose the right coordinate system when QGIS prompts for a CRS|Save the layer as a [[GeoJSON#Saving|GeoJSON]].|Import the file with the [[Geo Data Wizard]] }}


The first step is to convert the AutoCAD drawing to polygons. This can be done in AutoCAD Map. If this is not possible, go to the next step.
The first step is to convert the AutoCAD drawing to polygons. This can be done in AutoCAD Map. If this is not possible, read further how to import the spatial plan.  
Save the Autcad drawing instead as a .dwg as a .dxf file. This can be done in AutoCAD.
Save the Autcad drawing instead as a .dwg as a .dxf file. This can be done in AutoCAD.
Now the .dxf file can be opened in a GIS (Geographical Information System). In this example QGIS is used. The .dxf file can be opened by dragging the file in QGIS.
Now the .dxf file can be opened in a GIS (Geographical Information System). In this example QGIS is used. The .dxf file can be opened by dragging the file in QGIS.
Line 29: Line 29:
* a geometrycollection layer
* a geometrycollection layer


The layer you probably need is the line layer. This layer can be [[GeoJSON#Saving|saved as a GeoJSON]]
The layer you probably need is the line layer. This layer can be [[GeoJSON#Saving|saved as a GeoJSON]].
If the AutoCAD file was being converted to polygons, this layer can be [[GeoJSON#Saving|saved as a GeoJSON]]
If the AutoCAD file was being converted to polygons, this layer can be [[GeoJSON#Saving|saved as a GeoJSON]].
With the [[Geo Data Wizard]] the GeoJSON can be imported in the Engine.
The file can be imported with the [[Geo Data Wizard]].  
Depending on the use case of the spatial plan in your project, it might be usefull to import the spatial plan as a [[Measure]].
Depending on the use case of the spatial plan in your project, it might be usefull to import the spatial plan as a [[Measures|measure]].
By doing so, it is possible to carry out the constructing of the plan as one action, instead of multiple actions.
By doing so, it is possible to carry out the constructing of the plan as one action, instead of multiple actions.
To import the spatial plan as a [[Measure]], open the [[Geo Data Wizard]] under the [[Measures]] tab. After completing the wizard, the newly created [[Measure]] can be found in the Measures.
To import the spatial plan as a [[Measures|measure]], open the [[Geo Data Wizard]] under the [[Measures#Creating_and_editing_measures|measure tab]]. After completing the wizard, the newly created [[Measures|measure]] can be found in the [[Measures#Editing_general_measure_properties|measure left panel]].

Revision as of 13:35, 27 November 2017

Please note: This page is currently being updated.

Template:Learned

What is a spatial plan

A spatial plan is a design which focuses on the landscape, environment, routing, public and private space, buildings forms and more. This design can be made for an urban area as part of an urban planning project or for a more rural area. Spatial plans are created by urban designers or landscape architects and can vary in scales

Requirements on a spatial plan

The Tygron Engine can be used for importing spatial plans in the Engine to evaluate certain design measures in a plan, for example if the parking standard is feasible. Depending on the purpose of importing the spatial plan, there are some things to be taken into account:

  • If the purpose is to create a 3D model of a 2D- drawing, remember that the level of detail in the Engine is not too high. Therefore, if the plan is very detailed, the design might not be visible in the Engine.
  • If the purpose is creating a visualization of the plan, sometimes it may be better to use placeholders for buildings, to emphasize if the design is in an early stage.

Most of the spatial plans on a smaller scale are being drawn in AutoCAD (AutoCAD Map, Autocad 3D, AutoCAD Architecture). Therefore, below are some steps provided to import a plan as an AutoCAD file (.dwg) to a GeoJSON for importing in the Engine. In principle every spatial plan can be imported, as long as the original format can be converted to a GeoJSON.

How to insert a spatial plan to the Engine

How to Insert a spatial plan into the Engine:
  1. Save the AutoCAD file (.dwg) in AutoCAD as a .dxf
  2. Open the .dxf in a GIS, for example in QGIS
  3. Choose the right coordinate system when QGIS prompts for a CRS
  4. Save the layer as a GeoJSON.
  5. Import the file with the Geo Data Wizard

The first step is to convert the AutoCAD drawing to polygons. This can be done in AutoCAD Map. If this is not possible, read further how to import the spatial plan. Save the Autcad drawing instead as a .dwg as a .dxf file. This can be done in AutoCAD. Now the .dxf file can be opened in a GIS (Geographical Information System). In this example QGIS is used. The .dxf file can be opened by dragging the file in QGIS. QGIS prompt to choose a Coordinate Reference System. Choose the coordinate system that is being used for the spatial plan. In the Netherlands, this is probably always RD 28992/Amersfoort New. If the Autocad drawing is not converted to polygons, QGIS asks which layers you want to open. Select all en click ok There are 4 layers added to the Layer panel in QGIS:

  • a point layer, which consists of the text elements
  • a line layer which holds all the layers of the AutoCAD file
  • a polygon layer, which contains the hatches of the AutoCAD file
  • a geometrycollection layer

The layer you probably need is the line layer. This layer can be saved as a GeoJSON. If the AutoCAD file was being converted to polygons, this layer can be saved as a GeoJSON. The file can be imported with the Geo Data Wizard. Depending on the use case of the spatial plan in your project, it might be usefull to import the spatial plan as a measure. By doing so, it is possible to carry out the constructing of the plan as one action, instead of multiple actions. To import the spatial plan as a measure, open the Geo Data Wizard under the measure tab. After completing the wizard, the newly created measure can be found in the measure left panel.