kyoorius t1_izk1xar wrote
Anyone have an idea how to make a straight line representation of a river as a "ruler" attached to other polygon data, eg, surrounding census boundaries?
Like this ruler in the LA River Master Plan.
I know some GIS and can't figure it out, but I'm guessing this was done using D3 or something?
arika_ex t1_j0xkzn9 wrote
Are you still looking for advice on this? I’m not familiar with GIS programs so much, but such things could be done through Python or R.
I’d guess the key is just to measure the length of the river point to point and then using overlaps or distance measures to calculate which features exist at which point along the river. The visualisation itself is quite custom, but possible through libraries like ggplot, bokeh, etc. Some labels/annotations might need to be added manually via illustrator or something if there’s a very specific look you are after.
kyoorius t1_j0xmqpp wrote
Thanks! Yeah still looking. I know enough GIS to make the river into straight line segments defined by river length with each segment having the attributes of the census boundary it went through, but I don’t know what process to use to “warp” the census boundaries like on that ruler. On the ruler, the boundaries are abstracted bc they’ve been pulled/pushed to make a straight line, but they still correspond to the original geography/topology.
Viewing a single comment thread. View all comments