All Projects → MovingGauteng → geofancy-rs

MovingGauteng / geofancy-rs

Licence: other
Rust implementation of Geofancy

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to geofancy-rs

geo-smart-system
Open Source Realtime Tracking System
Stars: ✭ 36 (+140%)
Mutual labels:  tile38
jakob
A fault-tolerant, distributed cluster of Redis servers with built-in load-balancing and fall-backs to provide data availability
Stars: ✭ 19 (+26.67%)
Mutual labels:  tile38

geofancy-rs

Geofancy is a (hopefully) simple gRPC service that implements a subset of Tile38.

This repository contains the Rust implementation.

There is also another repository (geofancy-java), which contains the Java/Kotlin implementation of the server.

Why Geofancy?

Tile38 is a great program, that amongst others, allows one to set geofences between moving and static geospatial objects; with the ability to trigger webhooks when conditions are met.

While we have tried out Tile38, we didn't want to implement all the logic that we wanted within some of our services, so we decided to create a separate service instead.

Geofancy is a stand-alone microservice that connects with Tile38, and exposes a subset of its API via a gRPC service.

Implemented Methods

You can view the geofancy.proto , which lists the RPCs that are supported.

At the time of writing (imagine a blog post with no date having this line) ... The API is still unstable, and can evolve. We have

service GeofancyService {
    rpc CreateWebHook (GeoFence) returns (CommandResult) {}
    rpc DeleteWebHook (SearchString) returns (CommandResult) {}
    rpc SetDocument (Document) returns (CommandResult) {}
    rpc DeleteDocument (Document) returns (CommandResult) {}
    rpc DeleteCollection (Document) returns (CommandResult) {}
}

Notice that we return a very simple CommandResult message. Contributions are welcome, if anyone would like to return something more solid as a result.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].