Class GridOSHNodes

    • Method Detail

      • rebase

        public static GridOSHNodes rebase​(long id,
                                          int level,
                                          long baseId,
                                          long baseTimestamp,
                                          int baseLongitude,
                                          int baseLatitude,
                                          List<OSHNode> list)
        Create a new GridOSHNode while rebasing the input nodes.
        Parameters:
        id - the grid id
        level - zoom level
        baseId - base of id for compact entities
        baseTimestamp - base of timemstamps for compact entities
        baseLongitude - base of longitude for compact entities
        baseLatitude - base of latitued for compact entities
        list - list of entities
        Returns:
        new instance of this grid