This document is archived and information here might be outdated. Recommended version. |
Writes feature recordset for both JSON and GeoJSON format with quantization support and returns number of records serialized, for other use cases like Map Server end, we still need to report crs even GeoJSON no longer has it.
[Visual Basic .NET] Public Sub WriteRecordSetEx4 ( _ ByVal propname As String, _ ByVal pRecordset As IRecordSet, _ ByVal pGeomOpt As IGeometryResultOptions, _ ByVal pOutSRS As ISpatialReference, _ ByVal QuantizationTransformJO As IJSONObject, _ ByRef recordsSerialized As Integer _ )
[C#] public void WriteRecordSetEx4 ( string propname, IRecordSet pRecordset, IGeometryResultOptions pGeomOpt, ISpatialReference pOutSRS, IJSONObject QuantizationTransformJO, ref int recordsSerialized );
[C++]
HRESULT WriteRecordSetEx4(
BSTR propname,
IRecordSet* pRecordset,
IGeometryResultOptions* pGeomOpt,
ISpatialReference* pOutSRS,
IJSONObject* QuantizationTransformJO,
System.Int32* recordsSerialized
);
[C++] Parameters propname [in]
propname is a parameter of type BSTR pRecordset [in]
pRecordset is a parameter of type IRecordSet* pGeomOpt [in]
pGeomOpt is a parameter of type IGeometryResultOptions* pOutSRS [in]
pOutSRS is a parameter of type ISpatialReference* QuantizationTransformJO [in]
QuantizationTransformJO is a parameter of type IJSONObject* recordsSerialized [out]
recordsSerialized is a parameter of type long*