DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.ImportFromJSON | Methods | Properties
Replaces the current geometry by parsing GeoJSON (Geographic JSON) text in place.
// C# public void ImportFromJSON( WideString _json );
' VisualBasic Public Sub ImportFromJSON( ByVal _json As WideString )
// Oxygene public procedure ImportFromJSON( _json : WideString );
| Name | Type | Description |
|---|---|---|
| _json | WideString | GeoJSON geometry or feature text in JSON form. |
PURPOSE: Replaces the current shape geometry from GeoJSON (Geographic JSON), a web-friendly JSON-based format for vector data exchange.
BEHAVIOR: Parses the GeoJSON content and updates this shape in place with the decoded geometry.
CONSTRAINTS: Existing geometry is overwritten. GeoJSON follows RFC 7946 coordinate rules. Malformed input raises an exception.