Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description featureNSObject.<string, string> | string | undefined 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 | undefined 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 | undefined srsName to use when writing geometries.
surfaceboolean
(defaults to false)Write gml:Surface instead of gml:Polygon elements. This also affects the elements in multi-part geometries.
curveboolean
(defaults to false)Write gml:Curve instead of gml:LineString elements. This also affects the elements in multi-part geometries.
multiCurveboolean
(defaults to true)Write gml:MultiCurve instead of gml:MultiLineString. Since the latter is deprecated in GML 3.
multiSurfaceboolean
(defaults to true)Write gml:multiSurface instead of gml:MultiPolygon. Since the latter is deprecated in GML 3.
schemaLocationstring | undefined Optional schemaLocation to use when writing out the GML, this will override the default provided.
hasZboolean
(defaults to false)If coordinates have a Z value.