private static InputStream openStreamRange(String urlString, PlanetilerConfig config, long start, long end)
    throws IOException {
    URLConnection connection = getUrlConnection(urlString, config);
    connection.setRequestProperty(RANGE, "bytes=%d-%d".formatted(start, end));
    return connection.getInputStream();
  }
Returns an input stream reading from a remote URL with timeout and user-agent set from planetiler config.

@param urlString remote URL
@param config    planetiler config containing the user agent and timeout parameter
@return an input stream that will read from the remote URL
@throws IOException if an error occurs making the network request
planetiler-core/src/main/java/com/onthegomap/planetiler/util/Downloader.java