tests, skip uic_ref

pull/1/head
Mike Barry 2021-07-16 06:16:58 -04:00
rodzic d8e423586b
commit 74610f47d1
3 zmienionych plików z 2 dodań i 6 usunięć

Wyświetl plik

@ -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()) {

Wyświetl plik

@ -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));
} }

Wyświetl plik

@ -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;