Skip to content

Commit

Permalink
fix new geoJSON input format version
Browse files Browse the repository at this point in the history
  • Loading branch information
jdogmcsteezy committed Sep 5, 2023
1 parent 9a8c065 commit c734749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data-formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ will work completely with the Aerospike data model.

**Note**: GeoJSON and ByteArrays can not be nested in CDTs.

In 2.0.1, a GeoJSON map with the keys "type" and "coordinates" will automatically be understood as a GeoJSON type.
In 2.0.4, a GeoJSON map with the keys "type" and "coordinates" will automatically be understood as a GeoJSON type.

```javascript
{
Expand All @@ -22,7 +22,7 @@ In 2.0.1, a GeoJSON map with the keys "type" and "coordinates" will automaticall
}
```

In version prior to 2.0.1, a GeoJSON object can be provided by sending a base64 encoded GeoJSON string.
In version prior to 2.0.4, a GeoJSON object can be provided by sending a base64 encoded GeoJSON string.
Base64 encoding the following string `{"type": "Point", "coordinates": [1.123, 4.156]}` results
in `eyJ0eXBlIjogIlBvaW50IiwgImNvb3JkaW5hdGVzIjogWzEuMTIzLCA0LjE1Nl19Cg==`.
To write the GeoJSON object use
Expand Down

0 comments on commit c734749

Please sign in to comment.