mirror of
https://github.com/cfpwastaken/planetiler-openmaptiles.git
synced 2026-02-04 20:41:09 +00:00
Use fnv1a64 for tile hash (#253)
This commit is contained in:
@@ -11,7 +11,7 @@ import com.onthegomap.planetiler.mbtiles.TileEncodingResult;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.OptionalInt;
|
import java.util.OptionalLong;
|
||||||
import org.junit.jupiter.api.AfterEach;
|
import org.junit.jupiter.api.AfterEach;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
@@ -53,7 +53,7 @@ class VerifyMonacoTest {
|
|||||||
VectorTile.encodeGeometry(point(0, 0)),
|
VectorTile.encodeGeometry(point(0, 0)),
|
||||||
Map.of()
|
Map.of()
|
||||||
)));
|
)));
|
||||||
writer.write(new TileEncodingResult(TileCoord.ofXYZ(0, 0, 0), gzip(tile.encode()), OptionalInt.empty()));
|
writer.write(new TileEncodingResult(TileCoord.ofXYZ(0, 0, 0), gzip(tile.encode()), OptionalLong.empty()));
|
||||||
}
|
}
|
||||||
assertInvalid(mbtiles);
|
assertInvalid(mbtiles);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user