Interface Osmformat.PrimitiveBlockOrBuilder

    • Method Detail

      • hasStringtable

        boolean hasStringtable()
        required .StringTable stringtable = 1;
        Returns:
        Whether the stringtable field is set.
      • getStringtable

        Osmformat.StringTable getStringtable()
        required .StringTable stringtable = 1;
        Returns:
        The stringtable.
      • getPrimitivegroup

        Osmformat.PrimitiveGroup getPrimitivegroup​(int index)
        repeated .PrimitiveGroup primitivegroup = 2;
      • getPrimitivegroupCount

        int getPrimitivegroupCount()
        repeated .PrimitiveGroup primitivegroup = 2;
      • hasGranularity

        boolean hasGranularity()
         Granularity, units of nanodegrees, used to store coordinates in this block
         
        optional int32 granularity = 17 [default = 100];
        Returns:
        Whether the granularity field is set.
      • getGranularity

        int getGranularity()
         Granularity, units of nanodegrees, used to store coordinates in this block
         
        optional int32 granularity = 17 [default = 100];
        Returns:
        The granularity.
      • hasLatOffset

        boolean hasLatOffset()
         Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.
         
        optional int64 lat_offset = 19 [default = 0];
        Returns:
        Whether the latOffset field is set.
      • getLatOffset

        long getLatOffset()
         Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.
         
        optional int64 lat_offset = 19 [default = 0];
        Returns:
        The latOffset.
      • hasLonOffset

        boolean hasLonOffset()
        optional int64 lon_offset = 20 [default = 0];
        Returns:
        Whether the lonOffset field is set.
      • getLonOffset

        long getLonOffset()
        optional int64 lon_offset = 20 [default = 0];
        Returns:
        The lonOffset.
      • hasDateGranularity

        boolean hasDateGranularity()
         Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
         
        optional int32 date_granularity = 18 [default = 1000];
        Returns:
        Whether the dateGranularity field is set.
      • getDateGranularity

        int getDateGranularity()
         Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.
         
        optional int32 date_granularity = 18 [default = 1000];
        Returns:
        The dateGranularity.