ENVIGeoJSON
This object is a wrapper around a GeoJSON representation that is stored as an IDL Hash. It is necessary for tasks such as ENVIGeoJSONToROITask that require GeoJSON format.
GeoJSON is a geospatial format based on JSON code that is used for encoding geographic data structures. For more information, see the GeoJSON Format Specification. Also see the GeoJSONLint web page for example code and for tools that validate GeoJSON code.
Example
Refer to the code example for ENVIGeoJSONToROITask.
Syntax
Result = ENVIGeoJSON(GeoJSONHash)
Return Value
This routine returns a reference to an ENVIGeoJSON object.
Arguments
GeoJSONHash
A GeoJSON representation stored as an IDL Hash. See the code example for ENVIGeoJSONToROITask. You can use the JSON_Parse command around a JSON string as follows:
InputGeoJSON = ENVIGeoJSON(JSON_Parse(jsonString))
Methods
This routine inherits the same methods as the HASH object.
Properties
This routine inherits the same properties as the HASH object.
Version History
API Version
3.3
See Also
ENVIGeoJSONToROITask