r-tmap / r-tmap/tmaptools

No internet connection

Open
#31 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
43
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Some of my students get a strange issue when using read_osm() of no internet connection, despite there being an internet connection. I'm not sure why this is happening. Code sample below, where BoroughDataMap is an sf of London Boroughs.

BoroughDataMap %>% st_bbox(.) %>% tmaptools::read_osm(., type = "osm", zoom = NULL)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported call to tmaptools::read_osm() with the BoroughDataMap bounding box and the shown OSM options. Read the read_osm() entry point and trace how connection failures are detected. Done means the sample no longer reports no internet connection when connectivity is available, with the behavior verified for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.