Provides direct access to the geometry serialization for AMF and JSON formats.
Members
Name | Description | |
---|---|---|
QueryJSONEnvelope | Queries envelope and populates existing IJSONObject | |
QueryJSONGeometry | Queries geometry and populates existing IJSONObject | |
QueryJSONGeoTransformation | Queries a geographic (datum) transformation object and populates existing IJSONObject | |
QueryJSONSpatialReference | Queries spatial reference and populates existing IJSONObject | |
ReadEnvelope | Reads envelope object. | |
ReadGeometry | Reads geometry object. If provided geometry type is esriUnknown, tries to deduce geometry type from the JSON structure. | |
ReadGeoTransformation | Reads a geographic (datum) transformation object. | |
ReadMultipoint | Reads multipoint object. | |
ReadPoint | Reads point object. | |
ReadPolygon | Reads polygon object. | |
ReadPolyline | Reads polyline object. | |
ReadSpatialReference | Reads spatial reference object. | |
ToEnvelope | Reads envelope from a JSON object. | |
ToGeometry | Reads geometry object from JSON object. | |
ToGeoTransformation | Reads a geographic (datum) transformation object from a JSON object. | |
ToMultipoint | Reads multipoint from a JSON object. | |
ToPoint | Reads point from a JSON object. | |
ToPolygon | Reads polygon from a JSON object. | |
ToPolyline | Reads polyline from a JSON object. | |
ToSpatialReference | Reads spatial reference from a JSON object. | |
WriteGeometry | Writes geometry object. | |
WriteGeoTransformation | Writes a geographic (datum) transformation object. Pass NULL as propname to write a standalone JSON object. | |
WriteSpatialReference | Writes spatial reference object. Pass NULL as propname to write a standalone JSON object. |
IJSONConverterGeometry.QueryJSONEnvelope Method
Queries envelope and populates existing IJSONObject
Public Sub QueryJSONEnvelope ( _
ByVal pEnvelope As IEnvelope, _
ByVal skip_spref As Boolean, _
ByVal pJSON As IJSONObject _
)
public void QueryJSONEnvelope (
IEnvelope pEnvelope,
bool skip_spref,
IJSONObject pJSON
);
IJSONConverterGeometry.QueryJSONGeometry Method
Queries geometry and populates existing IJSONObject
Public Sub QueryJSONGeometry ( _
ByVal pGeom As IGeometry, _
ByVal skip_spref As Boolean, _
ByVal pJSON As IJSONObject _
)
public void QueryJSONGeometry (
IGeometry pGeom,
bool skip_spref,
IJSONObject pJSON
);
IJSONConverterGeometry.QueryJSONGeoTransformation Method
Queries a geographic (datum) transformation object and populates existing IJSONObject
Public Sub QueryJSONGeoTransformation ( _
ByVal pSR As IGeoTransformation, _
ByVal pJSON As IJSONObject _
)
public void QueryJSONGeoTransformation (
IGeoTransformation pSR,
IJSONObject pJSON
);
IJSONConverterGeometry.QueryJSONSpatialReference Method
Queries spatial reference and populates existing IJSONObject
Public Sub QueryJSONSpatialReference ( _
ByVal pSR As ISpatialReference, _
ByVal pJSON As IJSONObject _
)
public void QueryJSONSpatialReference (
ISpatialReference pSR,
IJSONObject pJSON
);
IJSONConverterGeometry.ReadEnvelope Method
Reads envelope object.
Public Function ReadEnvelope ( _
ByVal pReader As IJSONReader _
) As IEnvelope
public IEnvelope ReadEnvelope (
IJSONReader pReader
);
IJSONConverterGeometry.ReadGeometry Method
Reads geometry object. If provided geometry type is esriUnknown, tries to deduce geometry type from the JSON structure.
Public Function ReadGeometry ( _
ByVal pReader As IJSONReader, _
ByVal geomType As esriGeometryType, _
ByVal bDefaultHasZs As Boolean, _
ByVal bDefaultHasMs As Boolean _
) As IGeometry
public IGeometry ReadGeometry (
IJSONReader pReader,
esriGeometryType geomType,
bool bDefaultHasZs,
bool bDefaultHasMs
);
IJSONConverterGeometry.ReadGeoTransformation Method
Reads a geographic (datum) transformation object.
Public Function ReadGeoTransformation ( _
ByVal pReader As IJSONReader _
) As IGeoTransformation
public IGeoTransformation ReadGeoTransformation (
IJSONReader pReader
);
IJSONConverterGeometry.ReadMultipoint Method
Reads multipoint object.
Public Function ReadMultipoint ( _
ByVal pReader As IJSONReader, _
ByVal bDefaultHasZs As Boolean, _
ByVal bDefaultHasMs As Boolean _
) As IMultipoint
public IMultipoint ReadMultipoint (
IJSONReader pReader,
bool bDefaultHasZs,
bool bDefaultHasMs
);
IJSONConverterGeometry.ReadPoint Method
Reads point object.
Public Function ReadPoint ( _
ByVal pReader As IJSONReader _
) As IPoint
public IPoint ReadPoint (
IJSONReader pReader
);
IJSONConverterGeometry.ReadPolygon Method
Reads polygon object.
Public Function ReadPolygon ( _
ByVal pReader As IJSONReader, _
ByVal bDefaultHasZs As Boolean, _
ByVal bDefaultHasMs As Boolean _
) As IPolygon
public IPolygon ReadPolygon (
IJSONReader pReader,
bool bDefaultHasZs,
bool bDefaultHasMs
);
IJSONConverterGeometry.ReadPolyline Method
Reads polyline object.
Public Function ReadPolyline ( _
ByVal pReader As IJSONReader, _
ByVal bDefaultHasZs As Boolean, _
ByVal bDefaultHasMs As Boolean _
) As IPolyline
public IPolyline ReadPolyline (
IJSONReader pReader,
bool bDefaultHasZs,
bool bDefaultHasMs
);
IJSONConverterGeometry.ReadSpatialReference Method
Reads spatial reference object.
Public Function ReadSpatialReference ( _
ByVal pReader As IJSONReader _
) As ISpatialReference
public ISpatialReference ReadSpatialReference (
IJSONReader pReader
);
IJSONConverterGeometry.ToEnvelope Method
Reads envelope from a JSON object.
Public Function ToEnvelope ( _
ByVal pJSONObject As IJSONObject _
) As IEnvelope
public IEnvelope ToEnvelope (
IJSONObject pJSONObject
);
IJSONConverterGeometry.ToGeometry Method
Reads geometry object from JSON object.
Public Function ToGeometry ( _
ByVal pJSONObject As IJSONObject, _
ByVal geomType As esriGeometryType, _
ByVal bDefaultHasZs As Boolean, _
ByVal bDefaultHasMs As Boolean _
) As IGeometry
public IGeometry ToGeometry (
IJSONObject pJSONObject,
esriGeometryType geomType,
bool bDefaultHasZs,
bool bDefaultHasMs
);
IJSONConverterGeometry.ToGeoTransformation Method
Reads a geographic (datum) transformation object from a JSON object.
Public Function ToGeoTransformation ( _
ByVal pJSONObject As IJSONObject _
) As IGeoTransformation
public IGeoTransformation ToGeoTransformation (
IJSONObject pJSONObject
);
IJSONConverterGeometry.ToMultipoint Method
Reads multipoint from a JSON object.
Public Function ToMultipoint ( _
ByVal pJSONObject As IJSONObject, _
ByVal bDefaultHasZs As Boolean, _
ByVal bDefaultHasMs As Boolean _
) As IMultipoint
public IMultipoint ToMultipoint (
IJSONObject pJSONObject,
bool bDefaultHasZs,
bool bDefaultHasMs
);
IJSONConverterGeometry.ToPoint Method
Reads point from a JSON object.
Public Function ToPoint ( _
ByVal pJSONObject As IJSONObject _
) As IPoint
public IPoint ToPoint (
IJSONObject pJSONObject
);
IJSONConverterGeometry.ToPolygon Method
Reads polygon from a JSON object.
Public Function ToPolygon ( _
ByVal pJSONObject As IJSONObject, _
ByVal bDefaultHasZs As Boolean, _
ByVal bDefaultHasMs As Boolean _
) As IPolygon
public IPolygon ToPolygon (
IJSONObject pJSONObject,
bool bDefaultHasZs,
bool bDefaultHasMs
);
IJSONConverterGeometry.ToPolyline Method
Reads polyline from a JSON object.
Public Function ToPolyline ( _
ByVal pJSONObject As IJSONObject, _
ByVal bDefaultHasZs As Boolean, _
ByVal bDefaultHasMs As Boolean _
) As IPolyline
public IPolyline ToPolyline (
IJSONObject pJSONObject,
bool bDefaultHasZs,
bool bDefaultHasMs
);
IJSONConverterGeometry.ToSpatialReference Method
Reads spatial reference from a JSON object.
Public Function ToSpatialReference ( _
ByVal pJSONObject As IJSONObject _
) As ISpatialReference
public ISpatialReference ToSpatialReference (
IJSONObject pJSONObject
);
IJSONConverterGeometry.WriteGeometry Method
Writes geometry object.
Public Sub WriteGeometry ( _
ByVal pWriter As IJSONWriter, _
ByVal propname As String, _
ByVal pGeom As IGeometry, _
ByVal skip_spref As Boolean _
)
public void WriteGeometry (
IJSONWriter pWriter,
string propname,
IGeometry pGeom,
bool skip_spref
);
IJSONConverterGeometry.WriteGeoTransformation Method
Writes a geographic (datum) transformation object. Pass NULL as propname to write a standalone JSON object.
Public Sub WriteGeoTransformation ( _
ByVal pWriter As IJSONWriter, _
ByVal propname As String, _
ByVal pSR As IGeoTransformation _
)
public void WriteGeoTransformation (
IJSONWriter pWriter,
string propname,
IGeoTransformation pSR
);
IJSONConverterGeometry.WriteSpatialReference Method
Writes spatial reference object. Pass NULL as propname to write a standalone JSON object.
Public Sub WriteSpatialReference ( _
ByVal pWriter As IJSONWriter, _
ByVal propname As String, _
ByVal pSR As ISpatialReference _
)
public void WriteSpatialReference (
IJSONWriter pWriter,
string propname,
ISpatialReference pSR
);
Classes that implement IJSONConverterGeometry
Classes | Description |
---|---|
JSONConverterGeometry |