Namespace: format

Mapspace. format

This namespace contains definitions for formats. A format is an object that allows for input/output of geographic or alphanumeric data from local or remote sources.

This namespace extends with extra functionality the contained in OpenLayers ol.format namespace.

Source:
mapspace/format/format.jsdoc

Classes

OWSExceptionReport
SHAPE
SOSI
TXT
WFS
WFSCapabilities
XML

Type Definitions


ExportFormatExtensions

Extensions of the formats supported for exporting features to.

Name Value
Mapspace.format.ExportFormatExtensions.GEOJSON .geojson
Mapspace.format.ExportFormatExtensions.WKT .wkt
Mapspace.format.ExportFormatExtensions.KML .kml
Mapspace.format.ExportFormatExtensions.NVDB_GEOJSON .geojson
Mapspace.format.ExportFormatExtensions.TXT .txt
Mapspace.format.ExportFormatExtensions.SHP .shp
Mapspace.format.ExportFormatExtensions.SHX .shx
Mapspace.format.ExportFormatExtensions.DBF .dbf
Mapspace.format.ExportFormatExtensions.PRJ .prj
Source:
mapspace/enums.js

ExportFormatNames

Names of the formats supported for exporting features to.

Name Value
Mapspace.format.ExportFormatNames.GEOJSON GeoJSON
Mapspace.format.ExportFormatNames.WKT WKT
Mapspace.format.ExportFormatNames.KML KML
Mapspace.format.ExportFormatNames.NVDB_GEOJSON NVDB GeoJSON Datafangst
Mapspace.format.ExportFormatNames.TXT TXT
Source:
mapspace/enums.js

Formats

Supported formats for reading from local files or buffers.

Name Value
Mapspace.format.Formats.GEOJSON {isBinary: false, reader: 'GeoJSON'}
Mapspace.format.Formats.KML {isBinary: false, reader: 'KML'}
Mapspace.format.Formats.KMZ {isBinary: true, reader: 'KMZ'}
Mapspace.format.Formats.SHP {isBinary: true, reader: 'Shapefile'}
Mapspace.format.Formats.ZIP {isBinary: true, reader: 'ZIP'}
Mapspace.format.Formats.CPG {isBinary: false}
Mapspace.format.Formats.DBF {isBinary: true}
Mapspace.format.Formats.PRJ {isBinary: false}
Mapspace.format.Formats.GPX {isBinary: false, reader: 'GPX'}
Mapspace.format.Formats.SOS {isBinary: false, reader: 'SOSI'}
Mapspace.format.Formats.TXT {isBinary: false, reader: 'TXT'}
Source:
mapspace/enums.js

SOSICoordSystems

Coord systems in SOSI format.

Source:
mapspace/format/sosicoordsystems.js

SOSIGeoSystems

Geographic systems in SOSI format.

Source:
mapspace/format/sosicoordsystems.js

SOSITypes

Types in SOSI format.

Source:
mapspace/format/sositypes.js