Import tags, channels, nodes, and device points from GIS data files — GeoJSON, Shapefile, and KML/KMZ files.
Reference → Solution → Designer → Settings and Tools → Import Tags → GIS File
Version 10.1.5+
The GIS File Tag Importer creates FrameworX tags, channels, nodes, and device points from geographic feature data. Each feature in the source file becomes one tag bound to one device point, with channels and nodes shared across features according to your naming patterns.reads geographic feature files and produces one FrameworX tag per feature, with an optional device channel, node, and point linked to the tag. Each feature contributes its attributes as naming tokens so you build tag names, addresses, and descriptions from the source data.
Use this wizard when an operations team hands you a Typical use: a plant engineer receives a GeoJSON export of solar panels, a KML file of water-treatment assets, or a Shapefile of pipeline segments, and wants you want FrameworX tags and Modbus/OPC addresses created automatically for each feature.
Access: Solution → Import Tags → GIS File
for every asset without manual entry.
| Table of Contents | ||||||
|---|---|---|---|---|---|---|
|
Format | Extensions | Library Geometry | Notes | |
|---|---|---|---|---|
GeoJSON (RFC 7946) | .geojson, .json | RFC 7946 compliant | Point, LineString, Polygon | Streaming parse. Handles 100,000FeatureCollection or single Feature. Streaming parse supports 100K+ features. |
Esri Shapefile | .shp ( with companion .dbf, .shx, .prj) , or a .zip bundle | Esri standardPoint, LineString, Polygon | ZIP bundles are auto-is extracted transparently. The .dbf columns become feature attributesis required. | |
KML / KMZ | .kml, .kmzOGC KML 2.2 | KMZ auto-extracted. Folder hierarchy becomes the layer structure. |
Point features use their coordinates directly. LineString, Polygon, and multi-part geometries are centroid-reduced to a single point — each non-Point feature is represented by the centroid of its vertices.
All coordinates are treated as WGS84 (lat/lon). If a Shapefile carries a .prj file with a different coordinate system, the file is read but coordinates are not reprojected — use a WGS84 export for now.
Browse for a GIS file. The wizard auto-detects the format and displays a quick summary: feature count, list of layers, list of attribute names, coordinate system (when available).
Point, LineString, LinearRing, Polygon, MultiGeometry | KMZ extraction is transparent. The first .kml inside the archive is used. |
Coordinates are assumed to be WGS84 (latitude and longitude). Line and polygon geometry is reduced to its centroid. Elevation and Z values are ignored. Coordinate reprojection is not performed in 10.1.5.
Open Solution → Import Tags → GIS File. The wizard has five steps.
The wizard shows the first 50 features with the resolved tag name, channel name, node name, and address. A duplicate-count banner warns if any resolved tag names already exist in the solution.
Click Start. The wizard streams features from the source file into the device-creation pipeline and updates the counters live. Click Cancel to stop. Features already processed are kept.
Every pattern field (tag name, channel, node, address, description) supports the tokens below. Tokens are replaced per feature during generation.
Token | Source |
|---|
Select the communication protocol (Modbus TCP/IP, OPC UA, Ethernet/IP, etc.) and configure channel and node naming patterns.
Define how feature attributes become tag properties:
| Field | Purpose | Default |
|---|---|---|
Tag Name Pattern | Template for the tag name |
|
Tag Type | Analog, Digital, Integer, Text | Analog |
Description Attribute | Feature attribute to use as the tag description | (none) |
Address Pattern | Template for the device-point address |
|
Access Type | Read / Write / ReadWrite | ReadWrite |
Update Existing | Re-import updates matching tags in place | Checked |
The first 50 resolved features are shown with their computed tag name, channel, node, and address. Any duplicate matches against existing tags are flagged at the top.
Progress bar with live counters. For large files (100K+ features), expect a few minutes — the pipeline uses bulk-mode DataTable operations optimized for high-volume imports.
All pattern fields support these tokens:
| Token | Replaced With | Example | |
|---|---|---|---|
{Name} | Feature name (GeoJSON id/name, KML Placemark name, Shapefile attribute)name. From properties.name, properties.NAME, or properties.Name for GeoJSON, from Placemark.Name for KML, from the Name DBF column for Shapefile. | Inverter_01 | |
{Layer} | Shapefile base name, or KML Folder or Document name, DBF layer inferred from the base filename, GeoJSON properties.layer. | Inverters | |
{FeatureType} | Optional sub-classification. Usually empty for GIS input. | ||
{Id} | Source-assigned unique ID if present (FID, OBJECTID, etcGeoJSON properties.id). |
| |
{Index} | 0-based index Ordinal within the file, zero-based. | 0, 1, 2, ... | |
{Lat} | Latitude, formatted to six decimals. | 38.729420 | |
/ {Lon} | Latitude / longitude, 6 decimal places | Longitude, formatted to six decimals. | -9.139500 |
{Attr:xxxkey} | Value of feature attribute xxx, empty if missingfrom feature.Attributes[key]. Empty string if the key is missing. | {Attr:device_id} → INV-001 |
Use a slash in the Tag Name Pattern to create asset-tree folder hierarchy:
{Layer}/{Name} on a multi-layer KML produces tags nested under one folder per KML Folder.{Attr:area}/{Attr:device_id} produces tags nested by the area attribute.A typical photovoltaic plant export: one Point feature per inverter with Modbus address and combiner-box grouping as attributes.
| Expand | |||||||
|---|---|---|---|---|---|---|---|
| |||||||
|
00042 |
Option | Description | Default |
|---|---|---|
Tag Name Pattern | Pattern used for each new tag name. | {Name} |
Tag Type | Data type applied to created tags. | Analog |
Description Attribute | Attribute key whose value populates the tag Description column. | (none) |
Protocol | Device protocol used for the channel. | ModbusTCPIP |
Channel Name Pattern | Channel name pattern. Channels are shared across features that resolve to the same name. | {Layer}_Channel |
Node Name Pattern | Node name pattern. Nodes are shared across features with the same resolved node name. | {Name} |
Station Address Pattern | Protocol-specific station address used on the node. | (empty) |
Address Pattern | Address written to the device point. | {Attr:Address} |
Access Type | Access mode for the device point. | ReadWrite |
Update Existing | When on, re-importing a file with unchanged names updates existing rows. When off, rows with an existing name are skipped. | On |
Source | Maps to |
|---|---|
properties.id or root id | Feature Id |
properties.name, properties.NAME, properties.Name | Feature Name (first match wins) |
properties.layer, properties.Layer | Feature Layer (first match wins) |
properties.* (all other keys) | Feature Attributes |
Point coordinates | Longitude, Latitude |
LineString, Polygon | Centroid of points, or centroid of outer ring |
Nested objects under properties are JSON-stringified into a single attribute value. UTF-8 BOM is handled transparently.
Source | Maps to |
|---|---|
.dbf columns | Feature Attributes |
.prj content | Coordinate system, informational only |
.shp geometry | Centroid of the geometry for every feature |
Base filename | Feature Layer |
Companion files (.dbf, .shx, .prj) must sit alongside the .shp in the same folder, or be packaged in a .zip. A missing .dbf is a hard error reported at Step 1.
Source | Maps to |
|---|---|
Placemark.Name | Feature Name |
Parent Folder.Name or Document.Name | Feature Layer |
ExtendedData/Data elements | Feature Attributes |
SchemaData (typed schema) | Feature Attributes |
Point, LineString, LinearRing, Polygon, MultiGeometry | Centroid of the geometry |
Import 20 solar inverters from GeoJSON and verify the tags appear in Data Explorer.
Protocol | ModbusTCPIP |
Tag Name Pattern |
|
Channel Name Pattern |
|
Node Name Pattern |
|
Address Pattern |
|
Description Attribute |
|
.prj files are read but coordinates are not transformed.| Page Tree | ||
|---|---|---|
|