|
MapGuide API Reference
|
A helper class to output GeoJSON from feature readers. More...
Inheritance diagram for MgGeoJsonWriter:Public Member Functions | |
| STRING | FeatureToGeoJson (MgFeatureReader *featureReader, MgTransform *transform) |
| Converts the current feature in the given feature reader to GeoJSON. | |
| STRING | FeatureToGeoJson (MgReader *reader, MgTransform *transform, CREFSTRING idPropertyName, CREFSTRING geomPropName) |
| Converts the current feature in the given feature reader to GeoJSON. | |
| INT32 | GetPrecision () |
| Gets the decimal precision to use when writing out coordinates. | |
| bool | IsPrecisionEnabled () |
| Gets whether coordinate precision is enabled. | |
| MgGeoJsonWriter () | |
| Constructs a MgGeoJsonWriter object. | |
| void | SetPrecision (INT32 precision) |
| Sets the decimal precision to use when writing out coordinates. If you do not call this method, the default precision used is 7 decimal places. Precision must be enabled in order for this setting to have any effect. | |
| void | SetPrecisionEnabled (bool enabled) |
| Sets whether to apply coordinate precision when writing out GeoJSON coordinates. | |
A helper class to output GeoJSON from feature readers.