Class Transformer

    • Field Detail

      • workDirectory

        protected final Path workDirectory
    • Method Detail

      • transform

        public abstract void transform​(long id,
                                       List<Entity> versions)
      • transform

        public void transform​(List<Entity> versions)
      • complete

        public void complete()
      • modifiedVersion

        public int modifiedVersion​(Entity entity)
      • getKeyValue

        public int[] getKeyValue​(TagText[] tags)
      • getRole

        public int getRole​(String role)
      • getCell

        protected long getCell​(long longitude,
                               long latitude)
      • findBestFittingCellId

        protected static long findBestFittingCellId​(Set<Long> cellIds)
      • store

        protected void store​(long cellId,
                             long id,
                             LongFunction<byte[]> data)
      • store

        protected void store​(long cellId,
                             long id,
                             LongFunction<byte[]> data,
                             it.unimi.dsi.fastutil.longs.LongSet nodes)
      • store

        protected void store​(long cellId,
                             long id,
                             LongFunction<byte[]> data,
                             it.unimi.dsi.fastutil.longs.LongSet nodes,
                             it.unimi.dsi.fastutil.longs.LongSet ways)
      • store

        protected void store​(long cellId,
                             long id,
                             LongFunction<byte[]> data,
                             it.unimi.dsi.fastutil.longs.LongSet nodes,
                             it.unimi.dsi.fastutil.longs.LongSet ways,
                             it.unimi.dsi.fastutil.longs.LongSet relation)
      • type

        public abstract OSMType type()