---
title: Geospatial Types
---

Cratis provides strongly-typed geospatial types for working with geographic coordinates following the [GeoJSON specification](https://www.mongodb.com/docs/manual/reference/geojson/).

## Types

| Type | Use for |
|------|---------|
| [Point](/fundamentals/csharp/geospatial/point/) | Single locations (addresses, landmarks, sensors) |
| [LineString](/fundamentals/csharp/geospatial/linestring/) | Connected paths and routes |
| [Polygon](/fundamentals/csharp/geospatial/polygon/) | Areas and regions bounded by rings |

## Key Features

- **GeoJSON Compatible** — Standard format for geographic databases and mapping tools
- **Automatic Serialization** — Handled by the Cratis Application Model
- **Type Safe** — Compile-time validation through C# records
- **Full-Stack** — Use the same types on C# and TypeScript with automatic round-tripping

See [Understanding Geospatial Types](/fundamentals/csharp/geospatial/understanding/) for concepts and when to use each type.
