tidwall / tile38

Real-time Geospatial and Geofencing
https://tile38.com
MIT License
8.96k stars 561 forks source link

can tide38 be used as a library so and act as a dependency in my other java projects? #377

Open epsilon-akshay opened 5 years ago

stephenlacy commented 5 years ago

Tile38 is written in Golang and not Java, as such you can not use tile38 in the sense of a "java" library. You can use tile38's libraries in your Golang project, or use an adapter to interact between a standalone tile38 server setup and your Java project.

epsilon-akshay commented 5 years ago

Even if we use it in golang project we will still use it using redis protocol right (connecting to a redis server ) , can we use it as a library is there any library that is similar to what tile38 does ?

EdwardDeaver commented 5 years ago

Hi @epsilon-akshay !

I found an issue someone had that sounds similar to your situation. It's in Ruby though. https://github.com/tidwall/tile38/issues/40

Also here is a JAVA example in the wiki https://github.com/tidwall/tile38/wiki/Java-example-(lettuce)

If worst comes to worst you can communicate with Tile38 Server via http. https://tile38.com/topics/network-protocols/