# Cartesian spatial schema

How to create Cartesian spatial schema.

Three cartesian spatial data
types,*point*, *linestring*, and *polygon* store data that
can be searched with spatial shapes. After creating schema for these data types,
Cartesian spatial queries can be
constructed using them. For Cartesian queries that look for Cartesian
points, points or linestrings within circles or polygons, DSE Search indexes must be
created.

The examples below load Cartesian data with `graph.addVertex(…)`

commands, but the DSE Graph Loader can be used to load
Cartesian data starting with DSE 5.0.9 and DSE 5.1.2.

## Procedure

**Point schema**

**Linestring schema**

**Polygon schema**

**DSE Search indexes**