Live data from Hacker News

How to make fancy road trip maps with R and OpenStreetMap

andrewheiss.com

61–70 of 102 posts

Re: How to make fancy road trip maps with R and OpenStreetMap

#61
post #13
post #8

Vaguely related, a few years ago I made a map of "how to drive from SF to NYC while passing through the minimum number of Republican-voting counties": https://github.com/louispotok/blue-road-trip

that route follows an ancient coastline - https://starkeycomics.com/2021/06/11/how-a-coastline-100-mil...

That is really interesting, thanks for sharing!

Re: How to make fancy road trip maps with R and OpenStreetMap

#62

Why is there such a movement for making maps with R? The python ecosystem has more and better packages for making maps already. Notwithstanding that there are indeed some nice results, this new R toolchain movement towards maps feels like a waste of open source energy to me.

Interesting, I’ve used both for years and have found R to be way more intuitive for data exploration and visualization. R looks different than most programming languages, but once it clicks it’s actually really nice.

Re: How to make fancy road trip maps with R and OpenStreetMap

#63
post #51
post #43

Earlier quoted context omitted.

The mapmaking R ecosystem absolutely has been around for ages, and from a cartographer's point of view it is better suited at making actual maps than Python.

As a non-cartographer, but someone who loves maps (who doesnt?) and programming is there anything in particular that makes R more suitable than Python? Not trying to start a Python/R flame war, genuinely curious as an outsider if there's some secret sauce that R has but which Python lacks.

The secret sauce for R is that their statistical models/packages are cutting-edge, they have the best plotting library (ggplot2), and they have the best data wrangling packages (dplyr for tabular data).

Re: How to make fancy road trip maps with R and OpenStreetMap

#64

Why is there such a movement for making maps with R? The python ecosystem has more and better packages for making maps already. Notwithstanding that there are indeed some nice results, this new R toolchain movement towards maps feels like a waste of open source energy to me.

You're welcome to demonstrate why python ecosystem would be better for this analysis, otherwise you're making unsubstantiated claims.

Re: How to make fancy road trip maps with R and OpenStreetMap

#66

Earlier quoted context omitted.

I can't believe how even a topic about open maps API gets turned into politics. And then gets voted to the top. What was HN saying about Twitter's algorithm? Something about polarization, divisiveness, outrage, etc? It's not algorithms, it's you. You're making online discussion miserable for everybody.

This is objectively useful: Now we can build an underground railroad for getting LGBT folks out of Florida and similar states.

It diminishes the horror of slavery to assert that LGBT people experience anything remotely comparable. There are no restrictions on travel for LGBT people (much less restrictions that vary by county based on one election cycle). No one is out there capturing LGBT people to return them to captivity. The majority of residents of every state have come to accept L, G, and B people, and at least 25% of residents of every state accept T people. There's no need for an underground railroad; our many above-ground (ie, not secret) transportation networks are more than capable of safely moving people who can afford to move.

Sure, some states are targeting Trans people with the worst offending state being Texas, whose recently indicated-and-stripped-of-power AG ken Paxton criminalized provision of gender affirming care to children as child abuse. But this map goes across the full length of the worst state for trans people, so I don't really see how that map helps LGBT people.

Re: How to make fancy road trip maps with R and OpenStreetMap

#67

Earlier quoted context omitted.

I actually hesitated before posting for exactly this reason, and I don't think you're wrong to be sensitive to this. But you'll notice that there's actually no real political content in the link, nor was there any political discussion in the thread, so I think your response is a little bit of an overreaction.

The project itself is political

Every single thing is political. What you eat? political Religious? political What TV show you watch? political What job you do? political. Welcome to modern America where every single thing is a political us vs them shit show. This is the county we as citizens have let be forced on us.

Simple fact most Red's don't want to associate with Blue's and it's the same on the other side. Sure individuals won't agree but they are a minority. If you don't like the project, then just move on it has NOTHING to do with you.

Re: How to make fancy road trip maps with R and OpenStreetMap

#68
Really informative post on how to do this "by hand"!

I use https://trips.furkot.com (which is free) for this kind of trip planning. It is fantastic to determine how much stuff you can fit in a day, taking into account when you want to start/end your day, driving time, stops for food, time spent at any road-side attractions, overnight stays, ticketed events (to ensure you arrive on time), etc. It's an incredible resource that seems to "fly under the radar".

Re: How to make fancy road trip maps with R and OpenStreetMap

#69
post #8

Vaguely related, a few years ago I made a map of "how to drive from SF to NYC while passing through the minimum number of Republican-voting counties": https://github.com/louispotok/blue-road-trip

I can't believe how even a topic about open maps API gets turned into politics. And then gets voted to the top. What was HN saying about Twitter's algorithm? Something about polarization, divisiveness, outrage, etc? It's not algorithms, it's you. You're making online discussion miserable for everybody.

[deleted]

Re: How to make fancy road trip maps with R and OpenStreetMap

#70
post #59

Earlier quoted context omitted.

I am an european who clicked on some topic about maps routing only to be greeted by the freaking US politics again. Specifically the side that makes everything political, argues that everything is and should be political, but then pretends that the political shit that comes out their keyboard is somehow not political until I point it out. And I said by doing this you make online discussions miserable, not that I myse…

If seeing a pretty innocuous comment triggers this kind of response, then you might need to take a breather from the comments. Or click the `[-]` button to hide the reply if you don't want to. But engaging like this is about as productive as having an argument with a brick wall, it's not doing you any good.

I appreciate everybody's totally genuine concern about my mental health. May I suggest though that you do you and I do me? Take your own advice and follow it. I will continue to post what I think when I think. Over and out.
Post reply on HN