Import tags, channels, nodes, and device points from GeoJSON, Shapefile, and KML/KMZ files.
Reference → Solution → Designer → Settings and Tools → Import Tags → GIS File
New in 10.1.5 (draft). Page is a work-in-progress preview. Screenshots and final wording will land before the 10.1.5 release. |
The GIS File Tag Importer 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 GeoJSON export of solar panels, a KML of water-treatment assets, or a Shapefile of pipeline segments, and you want FrameworX tags created for every asset without manual entry.
Format | Extensions | Geometry | Notes |
|---|---|---|---|
GeoJSON (RFC 7946) | .geojson, .json | Point, LineString, Polygon | Streaming parse. Handles 100,000+ features. |
Esri Shapefile | .shp with companion .dbf, .shx, .prj, or a .zip bundle | Point, LineString, Polygon | ZIP is extracted transparently. The .dbf is required. |
KML / KMZ | .kml, .kmz | 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 | Example |
|---|---|---|
{Name} | Feature 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} | 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, GeoJSON properties.id). | 42 |
{Index} | Ordinal within the file, zero-based. | 0, 1, 2, ... |
{Lat} | Latitude, formatted to six decimals. | 38.729420 |
{Lon} | Longitude, formatted to six decimals. | -9.139500 |
{Attr:key} | Value from feature.Attributes[key]. Empty string if the key is missing. | {Attr:device_id} → INV-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.