Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description featureNSObject.<string, string> | string <optional>
Feature namespace. If not defined will be derived from GML. If multiple feature types have been configured which come from different feature namespaces, this will be an object with the keys being the prefixes used in the entries of featureType array. The values of the object will be the feature namespaces themselves. So for instance there might be a featureType item
topp:statesin thefeatureTypearray and then there will be a keytoppin the featureNS object with valuehttp://www.openplans.org/topp.featureTypeArray.<string> | string <optional>
Feature type(s) to parse. If multiple feature types need to be configured which come from different feature namespaces,
featureNSwill be an object with the keys being the prefixes used in the entries of featureType array. The values of the object will be the feature namespaces themselves. So for instance there might be a featureType itemtopp:statesand then there will be a key namedtoppin the featureNS object with valuehttp://www.openplans.org/topp.srsNamestring <optional>
srsName to use when writing geometries.
surfaceboolean <optional>
false Write gml:Surface instead of gml:Polygon elements. This also affects the elements in multi-part geometries.
curveboolean <optional>
false Write gml:Curve instead of gml:LineString elements. This also affects the elements in multi-part geometries.
multiCurveboolean <optional>
true Write gml:MultiCurve instead of gml:MultiLineString. Since the latter is deprecated in GML 3.
multiSurfaceboolean <optional>
true Write gml:multiSurface instead of gml:MultiPolygon. Since the latter is deprecated in GML 3.
schemaLocationstring <optional>
Optional schemaLocation to use when writing out the GML, this will override the default provided.
hasZboolean <optional>
false If coordinates have a Z value.