When geographical data is located in a Well-Known Binary (WKB)
column, but not originating from a shapefile or GeoJSON file, you can manually
create the required coordinate columns using the spatial functions in the
expression language in the add calculated column tool.
Procedure
-
Select
.
-
Add the first spatial function,
WKBEnvelopeXCenter
, to the expression.
-
Select the WKB column from your data table as the argument for the
function, for example,
WKBEnvelopeXCenter([WKB column])
.
-
Type a suitable
Column name (e.g., XCenter) and click
OK.
The XCenter column is created and the correct property value is
set on the
MapChart.ColumnTypeId property.
-
Repeat steps 2 to 4 with the other five Spatial functions.
-
Now, create a map chart and use the data table with the newly
created columns as the data table in the
Data section of the Feature Layer Settings.