code: def merge(file, feature_layers):
      ''' Retrieve a list of OSciMap4 tile responses and merge them into one.
  
          get_tiles() retrieves data and performs basic integrity checks.
      '''
      tile = VectorTile(extents)
  
      for layer in feature_layers:
          tile.addFeatures(layer['features'], layer['name'])
  
      tile.complete()
  
      data = tile.out.SerializeToString()
      file.write(struct.pack(">I", len(data)))
      file.write(dataf merge(file, feature_layers):
      ''' Retrieve a list of OSciMap4 tile responses and merge them into one.
  
          get_tiles() retrieves data and performs basic integrity checks.
      '''
      tile = VectorTile(extents)
  
      for layer in feature_layers:
          tile.addFeatures(layer['features'], layer['name'])
  
      tile.complete()
  
      data = tile.out.SerializeToString()
      file.write(struct.pack(">I", len(data)))
      file.write(data)
docs: Retrieve a list of OSciMap4 tile responses and merge them into one.
  
          get_tiles() retrieves data and performs basic integrity checks.