Spatial data in general deals with geographic data. Examples of this include crimes in London, London bus routes, and subway stations. To work with spatial we can use the following formulas.
MAKEPOINT (<latitude>, <longitude>):
- Here longitude and latitude are converted into spatial data.
- File Types that can be used: Shapefiles, MapInfo tables, KML (Keyhole Markup Language) files, GeoJSON files, TopoJSON files, and Esri File Geodatabases.
- We just need to use hyper and TDE for Tableau.
- Most people will use hyper files.
- Able to create a point, line, or polygon map using the data in those files.
MAKELINE (<geometry1>,<geometry2>):
- Creates a line between two points.
- MAKELINE (OriginPoint, DestinationPoint)
- Build upon the MAKEPOINT.