kopia lustrzana https://github.com/onthegomap/planetiler
tests, skip uic_ref
rodzic
d8e423586b
commit
74610f47d1
|
@ -305,7 +305,7 @@ public class VectorTileEncoder {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Feature inFeature : features) {
|
for (Feature inFeature : features) {
|
||||||
if (inFeature.geometry().commands().length > 0) {
|
if (inFeature != null && inFeature.geometry().commands().length > 0) {
|
||||||
EncodedFeature outFeature = new EncodedFeature(inFeature);
|
EncodedFeature outFeature = new EncodedFeature(inFeature);
|
||||||
|
|
||||||
for (Map.Entry<String, ?> e : inFeature.attrs().entrySet()) {
|
for (Map.Entry<String, ?> e : inFeature.attrs().entrySet()) {
|
||||||
|
|
|
@ -81,6 +81,7 @@ public class Poi implements OpenMapTilesSchema.Poi,
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void process(Tables.OsmPoiPoint element, FeatureCollector features) {
|
public void process(Tables.OsmPoiPoint element, FeatureCollector features) {
|
||||||
|
// TODO handle uic_ref => agg_stop
|
||||||
setupPoiFeature(element, features.point(LAYER_NAME));
|
setupPoiFeature(element, features.point(LAYER_NAME));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -134,11 +134,6 @@ public class PoiTest extends AbstractLayerTest {
|
||||||
))));
|
))));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testUicRef() {
|
|
||||||
throw new Error("TODO");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testGridRank() throws GeometryException {
|
public void testGridRank() throws GeometryException {
|
||||||
var layerName = Poi.LAYER_NAME;
|
var layerName = Poi.LAYER_NAME;
|
||||||
|
|
Ładowanie…
Reference in New Issue