Skip to content

Commit 4e15058

Browse files
Merge branch 'openmaptiles:main' into main
2 parents bcec581 + bf26194 commit 4e15058

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<maven.compiler.source>21</maven.compiler.source>
1111
<maven.compiler.target>21</maven.compiler.target>
1212
<planetiler.version>0.8.3-SNAPSHOT</planetiler.version>
13-
<junit.version>5.10.3</junit.version>
13+
<junit.version>5.11.0</junit.version>
1414

1515
<mainClass>org.openmaptiles.OpenMapTilesMain</mainClass>
1616
<image.version>${project.version}</image.version>
@@ -104,12 +104,12 @@
104104
<plugin>
105105
<groupId>org.apache.maven.plugins</groupId>
106106
<artifactId>maven-surefire-plugin</artifactId>
107-
<version>3.3.1</version>
107+
<version>3.4.0</version>
108108
</plugin>
109109
<plugin>
110110
<groupId>org.apache.maven.plugins</groupId>
111111
<artifactId>maven-failsafe-plugin</artifactId>
112-
<version>3.3.1</version>
112+
<version>3.4.0</version>
113113
</plugin>
114114

115115
<plugin>

src/main/java/org/openmaptiles/OpenMapTilesProfile.java

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import com.onthegomap.planetiler.util.Translations;
1818
import java.util.ArrayList;
1919
import java.util.List;
20+
import java.util.Map;
2021
import java.util.stream.Stream;
2122
import org.openmaptiles.addons.ExtraLayers;
2223
import org.openmaptiles.generated.OpenMapTilesSchema;
@@ -141,6 +142,11 @@ public OpenMapTilesProfile(Translations translations, PlanetilerConfig config, S
141142
}
142143
}
143144

145+
@Override
146+
public Map<String, List<String>> dependsOnLayer() {
147+
return Map.of("transportation_name", List.of("transportation"));
148+
}
149+
144150
/** Returns the imposm3 table row constructors that match an input element's tags. */
145151
public List<MultiExpression.Match<RowDispatch>> getTableMatches(SourceFeature input) {
146152
return osmMappings.getMatchesWithTriggers(input);

0 commit comments

Comments
 (0)