Live data from Hacker News

Show HN: Tile38 – Realtime geofencing and geospatial index

github.com

21–25 of 25 posts

Re: Show HN: Tile38 – Realtime geofencing and geospatial index

#21
post #6

Earlier quoted context omitted.

That's really cool! The only other optimization that I wanted to try and do was to use GPU acceleration to support huge numbers of shapes and entities. Something similar to what's described here [0]. I think it would really help for very very large numbers of entities or large complex geometry. [0] - https://devblogs.nvidia.com/thinking-parallel-part-i-collisi...

I think JB originally added Z for zoom level for map tile zoom level, but (having done exactly this for some internal demos) you can totally abuse it for what you want and it works well. Tile38 is a really excellent geospatial database and a lovely codebase. As for integrating GPU - look at Gorgonia's CU package by Xuanyi Chew that will give you ahead start from using CUDA from Go. Good luck.

The Z coord is a flexible field that can handle any numerical range. Zoom level, elevation, timestamp, etc.

Re: Show HN: Tile38 – Realtime geofencing and geospatial index

#23
post #15

Hi ! Thanks for creating this project. This looks extremely usefu l for the current project I am working on. Question : is it possible to do a Nearby query on a geohash ?

Hi! I recommend converting the target geohash to a lat lon first and then using the NEARBY command.

  NEARBY fleet HASH POINT lat lon
This will return back all points as geohashes.

Re: Show HN: Tile38 – Realtime geofencing and geospatial index

#25
post #20
post #17

Tile38 is a great product, we've been using it in production to track, and manage geofences for a large amount of asphalt and cement trucks :)

Sweet! I'd love to hear more about your implementation.

It's nothing too special, we collect positional information from several devices and feed it into Tile38 which then processes the geofences and delivers the enter/exit/inside notifications trough webhooks.

It's been rock-solid and easy to work with.

Post reply on HN