How to create a Geo Plugin for DXF files: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
| Repeat the creation of a GeoLink and its configuration, for each type of [[Function]] which should be created.
| Repeat the creation of a GeoLink and its configuration, for each type of [[Function]] which should be created.
}}
}}
<gallery>
File:Edit dxf 001.png|thumb|Add a new Geo Link to the Plugin
File:File:Edit dxf 002.png|thumb|Add LAYER attribute
File:File:Edit dxf 003.png|thumb|Give value of attribute
File:File:Edit dxf 004.png|thumb|Give the new Geo Link a name
</gallery>


{{article end
{{article end

Revision as of 11:25, 10 May 2023

A Geo Plugin can be used to automatically match features to functions when importing a DXF file. This how-to describes how to edit an existing Geo Plugin.

Editor → Tools (Ribbon tab) → Geo Plugins (Ribbon bar)
How to Edit a Geo Plugin for use in the geo data wizard:
  1. Open Geo Plugins by going to Tools --> Geo Plugins
  2. Switch to the GeoLinks tab of the Geo Plugin detail panel.
  3. Add a new Geo Link.
  4. Switch to the "Matching Attributes" tab in the Bottom panel of the Editor.
  5. Click on the Add button below Attributes. A new attribute is added.
  6. Double click on the new attribute and rename it LAYER
  7. Next, click on the add button below Values. A new layer value has been added.
  8. Double click on the new value and rename it as desired.
  9. Switch back to the "General" tab of the GeoLink.
  10. Give the name of the Geo Link in the Name field.
  11. Set the "Function" of the GeoLink to the desired Function to create.
  12. If applicable (e.g. for trees), set the "Geometry" setting to RADIUS_CENTERPOINT.
  13. Leave all other settings as default.
  14. Repeat the creation of a GeoLink and its configuration, for each type of Function which should be created.

Notes

  • A Geo Plugin created through this process can also be linked to a Project Source referring to a DXF on the Geo Share, so that data from that DXF is automatically included in new Projects. To set this up, select that Project Source as source for this Geo Plugin, and ensure the "Use for New Projects" option is checked.
    • Due to how new Projects are generated, if a (Buildings) Geo Plugin is set to be usable during Project creation it does not allow setting Geo Links to road Functions. To create roads during Project generation, use a Roads Geo Plugin.
  • A Geo Plugin created through this process can also be used automatically define the mapping when the data originates from other data sources, such as GeoJSONs or WFSs.
  • If a layer in the DXF file contains features which should be loaded in as different Functions, such as a layer indicating different types of housing, those features should be distinguishable by color or block name. In that case, after adding a LAYER attribute mapping, a second attribute can be added for either COLOR or BLOCK_NAME, so create a Geo Link which will assign a Function if a feature in that layer also has that specific color.

How-to's

See also