Import tags and device points from GIS data files — GeoJSON, Shapefile, and KML/KMZ.
Reference → Solution → Designer → Settings and Tools → Import Tags → GIS File
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.
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 FrameworX tags and Modbus/OPC addresses created automatically for each feature.
Access: Solution → Import Tags → GIS File
| Format | Extensions | Library | Notes |
|---|---|---|---|
GeoJSON | .geojson, .json | RFC 7946 compliant | FeatureCollection or single Feature. Streaming parse supports 100K+ features. |
Shapefile | .shp (with .dbf, .shx, .prj) or .zip bundle | Esri standard | ZIP bundles are auto-extracted. .dbf columns become feature attributes. |
KML / KMZ | .kml, .kmz | OGC 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).
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 |
|---|---|---|
| Feature name (GeoJSON id/name, KML Placemark name, Shapefile attribute) |
|
| Shapefile base name, or KML Folder name |
|
| Source-assigned ID (FID, OBJECTID, etc.) |
|
| 0-based index within the file |
|
| Latitude / longitude, 6 decimal places |
|
| Value of feature attribute xxx, empty if missing |
|
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.
Protocol | ModbusTCPIP |
Tag Name Pattern |
|
Channel Name Pattern |
|
Node Name Pattern |
|
Address Pattern |
|
Description Attribute |
|
.prj files are read but coordinates are not transformed.