Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.
This repository was archived by the owner on Feb 9, 2025. It is now read-only.

How to use this library for clustering? #3

@papakonstantinouko

Description

@papakonstantinouko

Hello, I need to cluster data that include 1 million of map points. I was thinking to encode all those coordinates and save the hashes in the db. Then when a user accesses a map, get the viewport, divide it into 32 boxes, therefore create 32 clusters that include the pre-encoded map-points that fall within them. What do you think of this scenario? How would I be able to find the geohash for each of those 32 boxes?

edit: In your example

var isMatch = encoder.IsMatch("r3gx4", "r3gx41tj0g40", GeoHashPrecision.Level5);

how do get the string "r3gx4" in order to look for "r3gx41tj0g40"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions