Skip to content

Commit

Permalink
Add doc for WKB POINT EMPTY handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Apr 25, 2024
1 parent 9d41562 commit 836a4d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/content/specifications/wkb.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ LinearRing {
};
```

### Empty Geometries

For most geometry types, empty geometries are indicated naturally by having `numPoints` = 0.
Points do not have a `numPoints` field, so `POINT EMPTY` is represented by a `Point`
with each ordinate value set to an IEEE-754 quiet NaN value
(big endian 0x7ff8000000000000 or little endian 0x000000000000f87f).

### Geometry Types

GEOS only supports the seven original simple features geometry types.
Expand Down

0 comments on commit 836a4d8

Please sign in to comment.