Class PoiWriter


  • public final class PoiWriter
    extends java.lang.Object
    Reads entities from an OSM stream and writes them to a SQLite database. Entities can be filtered and grouped by categories by using an XML definition.
    • Method Detail

      • newInstance

        public static PoiWriter newInstance​(PoiWriterConfiguration configuration,
                                            ProgressManager progressManager)
        Creates a new instance of a PoiWriter.
        Parameters:
        configuration - Configuration for the POI writer.
        progressManager - Object that sends progress messages to a GUI.
        Returns:
        a new instance of a PoiWriter
      • complete

        public void complete()
        Complete task.
      • process

        public void process​(org.openstreetmap.osmosis.core.container.v0_6.EntityContainer entityContainer)
        Process task.