Spatial plan: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
Line 17: Line 17:
There are some requirements on a the spatial plan before converting it to a [[GeoJSON]] file.
There are some requirements on a the spatial plan before converting it to a [[GeoJSON]] file.
* Closed objects: CAD files are line drawings, while the software can only import polygons. Therefore, in your CAD file, make closed objects, to be able to convert them to polygons later.
* Closed objects: CAD files are line drawings, while the software can only import polygons. Therefore, in your CAD file, make closed objects, to be able to convert them to polygons later.
* Coordinate system: Choose a coordinate system for your drawing and draw and scale the plan on the right location on the planet. The most used coordinate system in the Netherlands is Amersfoort/RD New (EPSG:28992). Without a correct location, the drawing could be anywhere on the planet and not possible to import in any spatial {{software}} on the right location.
* Coordinate system: Choose a coordinate reference system for your drawing and draw and scale the plan on the right location on the planet. The most used coordinate system in the Netherlands is Amersfoort/RD New (EPSG:28992). Without a correct location, the drawing could be anywhere on the planet and not possible to import in any spatial {{software}} on the right location.
* Layer naming: In a CAD program you draw in one or more layers. Try to draw different types of objects each in a new layer and give the layer the correct name for the object. For example: offices are drawn in the layer offices, while student houses are drawn in the layer student houses. This will help you with knowing what each object was while converting and later on to import the data correctly in the {{software}}.
* Layer naming: In a CAD program you draw in one or more layers. Try to draw different types of objects each in a new layer and give the layer the correct name for the object. For example: offices are drawn in the layer offices, while student houses are drawn in the layer student houses. This will help you with knowing what each object was while converting and later on to import the data correctly in the {{software}}.



Revision as of 09:12, 10 October 2018

Please note: This page is currently being updated.

Template:Learned

What is a spatial plan

A spatial plan is a design of an area with focus on the landscape, environment, routing, the interaction between public and private space, buildings forms, materialization and more. This design can be made for an urban area as part of an urban planning project or for a more rural area for a landscape design or land art project. Spatial plans are created by urban designers or landscape architects and can have different scales and therefore different level of detail.

Requirements on a spatial plan

The Tygron Platform can be used for importing spatial plans in the Tygron Platform to evaluate certain design measures in a plan, for example if the parking standard is feasible. Depending on the use case 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 Tygron Platform is not so high. Therefore, if the plan is very detailed, the design might not be distinguishable in the Tygron Platform.
  • If the purpose is creating a visualization of the plan, sometimes it may be better to use placeholders for buildings, to emphasize the design phase in the project.

Most of the spatial plans on a smaller scale are being drawn in a CAD program such as AutoCAD (AutoCAD Map 3D, AutoCAD Architecture) or MicroStation. Therefore, below are some steps provided to convert a plan from a CAD file to a GeoJSON for importing the plan to the Tygron Platform. In principle every spatial plan can be imported, as long as the original format of the drawing can be converted to a GeoJSON.

There are some requirements on a the spatial plan before converting it to a GeoJSON file.

  • Closed objects: CAD files are line drawings, while the software can only import polygons. Therefore, in your CAD file, make closed objects, to be able to convert them to polygons later.
  • Coordinate system: Choose a coordinate reference system for your drawing and draw and scale the plan on the right location on the planet. The most used coordinate system in the Netherlands is Amersfoort/RD New (EPSG:28992). Without a correct location, the drawing could be anywhere on the planet and not possible to import in any spatial Tygron Platform on the right location.
  • Layer naming: In a CAD program you draw in one or more layers. Try to draw different types of objects each in a new layer and give the layer the correct name for the object. For example: offices are drawn in the layer offices, while student houses are drawn in the layer student houses. This will help you with knowing what each object was while converting and later on to import the data correctly in the Tygron Platform.

How to insert a spatial plan into the Tygron Platform

How to Insert a spatial plan into the Tygron Platform:
  1. Save the CAD file (.dwg) in AutoCAD/MicroStation as a .dxf or if you use AutoCAD Map 3D save the file as a Shapefile (.shp)
  2. Open the .dxf or .shp in a GIS, for example in QGIS
  3. Choose the right coordinate reference system (CRS) 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 CAD drawing to polygons and saving this file as a Shapefile (.shp). This can be done in AutoCAD Map 3D, if you have another CAD program or if this is not possible, save the CAD file instead as a .dxf file.

File:Specify layer.JPG
Choose a coordinate reference system in QGIS

Now the .dxf or .shp file can be opened in a GIS (Geographical Information System). In this example QGIS is used. The .dxf/.shp file can be opened by dragging the file in QGIS. QGIS prompt to choose a Coordinate Reference System (CRS). Choose the coordinate system that is being used for the spatial plan. In the Netherlands, this is probably always Amersfoort/RD New (EPSG:28992).

File:Layers.JPG
Layer panel in QGIS

If you have a .dxf file, QGIS asks which layers you want to open. Choose Select All en click Ok. There are then four layers added to QGIS:

  • a Point layer, which consists of the text elements
  • a LineString layer which contains the layers in the CAD file
  • a Polygon layer, which contains the hatches in the CAD file
  • a GeometryCollection layer, which contains the references for symbols used in the CAD drawing

The layer you probably need is the line layer. This layer can be saved as a GeoJSON. If you opened a .shp file in QGIS, save the layer also as a GeoJSON. The file is then ready to be imported in the Tygron Platform 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.