Class SpatialPrefixTreeFactory

    • Constructor Detail

      • SpatialPrefixTreeFactory

        public SpatialPrefixTreeFactory()
    • Method Detail

      • makeSPT

        public static SpatialPrefixTree makeSPT​(Map<String,​String> args,
                                                ClassLoader classLoader,
                                                org.locationtech.spatial4j.context.SpatialContext ctx)
        The factory is looked up via "prefixTree" in args, expecting "geohash" or "quad". If it's neither of these, then "geohash" is chosen for a geo context, otherwise "quad" is chosen.
      • init

        protected void init​(Map<String,​String> args,
                            org.locationtech.spatial4j.context.SpatialContext ctx)
      • initMaxLevels

        protected void initMaxLevels()