Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e): jscodeshift --transform ts.js src
43 lines
977 B
JavaScript
43 lines
977 B
JavaScript
/**
|
|
* @module ol/format/GML
|
|
*/
|
|
import GML3 from '../format/GML3.js';
|
|
|
|
/**
|
|
* @classdesc
|
|
* Feature format for reading and writing data in the GML format
|
|
* version 3.1.1.
|
|
* Currently only supports GML 3.1.1 Simple Features profile.
|
|
*
|
|
* @param {import("./GMLBase.js").Options=} opt_options
|
|
* Optional configuration object.
|
|
* @api
|
|
*/
|
|
const GML = GML3;
|
|
|
|
|
|
/**
|
|
* Encode an array of features in GML 3.1.1 Simple Features.
|
|
*
|
|
* @function
|
|
* @param {Array<import("../Feature.js").default>} features Features.
|
|
* @param {import("./Feature.js").WriteOptions=} opt_options Options.
|
|
* @return {string} Result.
|
|
* @api
|
|
*/
|
|
GML.prototype.writeFeatures;
|
|
|
|
|
|
/**
|
|
* Encode an array of features in the GML 3.1.1 format as an XML node.
|
|
*
|
|
* @function
|
|
* @param {Array<import("../Feature.js").default>} features Features.
|
|
* @param {import("./Feature.js").WriteOptions=} opt_options Options.
|
|
* @return {Node} Node.
|
|
* @api
|
|
*/
|
|
GML.prototype.writeFeaturesNode;
|
|
|
|
export default GML;
|