Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Tiles 4.14.9
------
- upgrade to planetiler 0.10.2 [#585]
- narrow resolution of places log(population) sort key levels to avoid running out of bits [#585]

Tiles 4.14.8
------
- fix US route network values [#518]

Tiles 4.14.7
Expand Down
2 changes: 1 addition & 1 deletion tiles/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<planetiler.version>0.10.1</planetiler.version>
<planetiler.version>0.10.2</planetiler.version>
<junit.version>5.10.0</junit.version>
<mainClass>com.protomaps.basemap.Basemap</mainClass>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Expand Down
2 changes: 1 addition & 1 deletion tiles/src/main/java/com/protomaps/basemap/Basemap.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public String description() {

@Override
public String version() {
return "4.14.8";
return "4.14.9";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static int getSortKey(double minZoom, int kindRank, long population, String name
// Disabled to allow population log to have larger range
//.thenByInt(populationRank, 15, 0)
// Order DESCENDING (larger values win, Millbrea 40k wins over San Bruno 20k, both rank 7)
.thenByLog(population, 40000000, 1, 100)
.thenByLog(population, 40000000, 1, 65)
// Order ASCENDING (shorter strings are better than longer strings for map display and adds predictability)
.thenByInt(name == null ? 0 : name.length(), 0, 31)
.get();
Expand Down
Loading