Export from QGis to CAD » History » Version 15
Version 14 (Giulio Di Anastasio, 06/05/2021 16:47) → Version 15/35 (Giulio Di Anastasio, 06/05/2021 16:49)
h1. Export from QGis to CAD
An algorithm has been created by Selvarani, to see the whole process click here:
https://redmine.auroville.org.in/projects/gis/wiki/Automatic_export_from_QGis_to_dxf
h1. QGis Graphical Modeler: An algorithm to automatically export data directly from Gisaf to .dxf format (CAD)
> * Login to PostGIS
> * Directly from the Gisaf server, load all the layers which need to be converted into .dxf format
> * Go to Processing Menu, click on “Graphical Modeler” (or Ctrl+Alt+G)
p=. !https://redmine.auroville.org.in/attachments/download/10620/Graphical%20Modeler%20Menu.png!
> * The “Model Designer” window will open:
p=. !https://redmine.auroville.org.in/attachments/download/10621/Graphical%20Modeler%20Window.png!
The final model will look like this:
p=. !https://redmine.auroville.org.in/attachments/download/10622/Final%20Model%20Image.png!
*Below, the explanation on how the algorithm has been created.*
> * An input to the algorithm is needed: go to “Inputs” tab and double click on “Vector Layer”
p=. !https://redmine.auroville.org.in/attachments/download/10623/Inputs.png!
The window “Input Vector layer Parameter Definition” will open:
> * in “Description”, enter “Input Vector layer”
> * in “Geometry type” select “Any Geometry Type”
> * Click “Ok”
p=. !https://redmine.auroville.org.in/attachments/download/10624/Inputs%20Window.png!
Input is created as above.
As a second step, features need to be filtered, because some layers have different “Status” (E, D, F, etc. as defined in CSR Geomatics CAD Layer Naming Standards):
> * in the Algorithms panel, type “filter” in the Search Box: this way, all existing algorithms related to “filter” will be listed
> * double click on “Feature filter”
p=. !https://redmine.auroville.org.in/attachments/download/10625/Feature%20Filter.png!
An algorithm has been created by Selvarani, to see the whole process click here:
https://redmine.auroville.org.in/projects/gis/wiki/Automatic_export_from_QGis_to_dxf
h1. QGis Graphical Modeler: An algorithm to automatically export data directly from Gisaf to .dxf format (CAD)
> * Login to PostGIS
> * Directly from the Gisaf server, load all the layers which need to be converted into .dxf format
> * Go to Processing Menu, click on “Graphical Modeler” (or Ctrl+Alt+G)
p=. !https://redmine.auroville.org.in/attachments/download/10620/Graphical%20Modeler%20Menu.png!
> * The “Model Designer” window will open:
p=. !https://redmine.auroville.org.in/attachments/download/10621/Graphical%20Modeler%20Window.png!
The final model will look like this:
p=. !https://redmine.auroville.org.in/attachments/download/10622/Final%20Model%20Image.png!
*Below, the explanation on how the algorithm has been created.*
> * An input to the algorithm is needed: go to “Inputs” tab and double click on “Vector Layer”
p=. !https://redmine.auroville.org.in/attachments/download/10623/Inputs.png!
The window “Input Vector layer Parameter Definition” will open:
> * in “Description”, enter “Input Vector layer”
> * in “Geometry type” select “Any Geometry Type”
> * Click “Ok”
p=. !https://redmine.auroville.org.in/attachments/download/10624/Inputs%20Window.png!
Input is created as above.
As a second step, features need to be filtered, because some layers have different “Status” (E, D, F, etc. as defined in CSR Geomatics CAD Layer Naming Standards):
> * in the Algorithms panel, type “filter” in the Search Box: this way, all existing algorithms related to “filter” will be listed
> * double click on “Feature filter”
p=. !https://redmine.auroville.org.in/attachments/download/10625/Feature%20Filter.png!