Skip to content

Commit

Permalink
kill maxCells hint
Browse files Browse the repository at this point in the history
  • Loading branch information
David Blackman committed Apr 17, 2014
1 parent b67f523 commit 94481f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions util/src/main/scala/GeometryUtils.scala
Expand Up @@ -10,7 +10,6 @@ import scalaj.collection.Implicits._
trait RevGeoConstants {
val minS2Level = 8
val maxS2Level = 12
val maxCells = 10000
val defaultLevelMod = 2
}

Expand Down Expand Up @@ -104,7 +103,7 @@ object GeometryUtils extends RevGeoConstants {
def s2PolygonCovering(geomCollection: Geometry,
minS2Level: Int = minS2Level,
maxS2Level: Int = maxS2Level,
maxCellsHintWhichMightBeIgnored: Option[Int] = Some(maxCells),
maxCellsHintWhichMightBeIgnored: Option[Int] = None,
levelMod: Option[Int] = Some(defaultLevelMod)
): Seq[S2CellId] = {
if (geomCollection.isInstanceOf[Point]) {
Expand Down

0 comments on commit 94481f4

Please sign in to comment.