Skip to main content

Table 2 Two-dimensional data formats

From: Qualitative study of the incompatibility of indoor map file formats with location software applications

 

2D DATA MODELS

CAD (DXF)

KML

SHP

GeoJSON

OpenStreetMap

Primary Purpose

CAD can be used to represent 2D and 3D drawing design data and enable interchange between AutoCAD and other software.

This XML-based format is used to encode representations of geographic data for visualization in internet-based 2D web-browsers, mobile applications or Google Earth

SHP is used to store the location, shape and attributes of geographic features.

GeoJSON, based on JavaScript Object Notation, is used to represent simple geographical features, along with their non-spatial attributes.

OSM uses data stored in attributes to represent features such as doors, windows and walls.

Supporting Organization

AutoDesk

OGC and Google

ESRI

Maintained not by a formal organization but by a working group of developers, the GeoJSON working group.

Hosted by many organizations around the world, including Univ College London, Bytemark, iWay (Switz), Yandex (Russia)

Exampls of Software used for Viewing

AutoCAD, LibreCAD, ArchiCAD and many other types of CAD software

Google Earth

ESRI ArcGIS, QGIS and many other GIS softwares

GDAL, QGIS, SAFE FME, OpenLayers

Standard web browsers that are capable of reaching sites such as iD-indoor, OpenLevelUp or IndoorOSM or Vespucci

Description of Geometry

The graphical objects are described as entities and represented by group codes in a DXF file. These entities include geometric objects such as points, lines, polylines, circles, solids and surfaces.

Geometries can be defined in KML using a tag-based structure.

Shapefiles can define 3 types of geometries: points, lines or polygons. Each feature has a set of associated attributes that describe the feature.

GeoJSON describes objects as one of Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, or GeometryCollection.

OSM is defined with 3 types of data: nodes, ways and relations. These data types contain attribute information describing the feature each represents.

Representation of Object Location

An SRS is defined for a file with respect to the center defined for the project.

All KML files use the World Geodetic System of 1984 (WGS 84).

An SRS is associated with the file.

An SRS is associated with the file.

OSM can use either WGS84 or Mercator.