Nathan Ruser Profile picture
10 Dec, 24 tweets, 9 min read
This thread will quickly show, step-by-step how to use GIS to plan protest escape routes, using the example of the last hour's confrontation in Bangkok. With some of the legwork already done (can be done at a city scale), this took 10min to adjust and process.
Essentially, this boils down to using the notion of assigning a cost to transversing each pixel, and letting computers work out what the most efficient routes are. Here's an example of that concept being used for Lord of the Rings. esri.com/arcgis-blog/pr…
In Bangkok, and pretty much every other major city in the world, we can cut out the tricky modelling of how difficult each part of a map is to walk through by turning to @Strava's heatmap, which shows approximately that, easier paths are travelled more.
You need to turn this into a format that can be read by the mapping programs though. By turning off the background, changing the colour ramp to blue and making it 100% opacity you get closer. I took a bunch of screenshots to cover bangkok and stitched them together in photoshop.
TIP: Strava only renders its heatmap to Zoom level 15, so although you can zoom in further on the map there is no extra detail, if you change this in the URL to 15 you can scroll pan around and take screenshots and always be at the peak zoom level.
The next step is to, in photoshop or some other image editor, take the stitched product, turn it greyscale and edit the levels so that the less travelled areas appear far brighter, this will draw out all the back routes, which are especially important when trying to evade cops.
Then, export as an 8-bit greyscale tif file, drag it into your GIS program of choice (QGIS is great! I did this in ArcMap because I'm more used to it, but it's expensive). Literally all you do is click on points on the image and then click on where they correspond to on the map.
Generally only 3 points are needed to accurately georeference this sort of map, because it is already an accurate map, search on YouTube for tips on how to do it
Once you've georeferenced your city, export the ground control point data (so you can edit the image and import the georeferencing straight away). Then bring the image into your photo editor and paint barricades or police lines in black. Be sure to actually block the routes.
Here I got the police locations from a live-stream video, but for organised protests police locations should be pretty known. You need to be quite thorough in blacking out, in red here is some low-level gps tracks around the intersection I should've black it out to stop leakage.
Next you have to map out places to escape to. In some cases this is best done by just putting 20-30 points at a set distance away from the police. This is what I did for Beirut, where the aim was to just get away from a location (this one is without police locations).
For Bangkok, I used public transport locations. You can easily load in the Google background in QGIS and just click on the bus stops. Here it's each orange dot.
It's important each point has a unique number, with 1 as the location of protesters. (You can show a large group of protesters as an area that's extra steps). In QGIS just click the protest location first and then use "@row_number" in the attriubte table to fill the rest.
Convert the points to a raster with the Value == OID, and a cell size identical to the strava screenshots and the grids snapped together.
Export these both to ASC files with identical extents. The ASCII files need to have identical headers. It's not the best practise but if they're very close but a bit off I'll just copy/paste from one to the other.
Now you need to download (or use a pugin) for a program called CircuitScape. circuitscape.org
This program uses electical circuit modelling and a friction raster to determine routes of least resistance between each possible pair of points.
This can take a while, so it's best to make sure your ASC files are cropped to a relatively narrow extent and you limit the points you're looking to escape to, at least if you want to be able to run it in less than 10min processing time. Mine were 950x585px with 47 points.
By default, CircuitScape calculates between each and every pair, not just from the source to the destinations, but it exports each pair seperately, so by making sure the source is OID 1 you can watch it itterate through each pair starting with one and stop it manually after.
Then just add all the output files together (in ArcGIS the best way is to use the mosaic to new raster tool set on sum) and voila you have a network of modelled escape routes, including back roads and taking into account irl barriers that aren't clear from looking at street maps.
For example this above map would show you numerous ways to avoid theoretical police at the intersection circled in red (eg the route in white).
Back to a couple of hours ago, where protesters in Bangkok were encircled by riot police, this method clearly identified from 7,500km away the backalley route that could be used to escape. The exact route that protesters were led down, with all the local knowledge in the world.
Because I had a lot of the legwork done for Bangkok already (bus stop locations, and the strava map georeferrenced) from opening the file in Photoshop to add in the police locations to getting a final map of escape routes took exactly 11min, including 4min of processing.
I might try to make a video tutorial for this in the next few weeks if people are interested in a more granular look (@EliotHiggins keep an eye out😉).
Please tag me in any protests coming up that could use this method and I'll try to do some demonstrations.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Nathan Ruser

Nathan Ruser Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Nrg8000

14 Dec
Reporters from the BBC visited a detention facility in Xinjiang's Kuqa that opened in mid-2017. In May 2019, a 35,000m2 factory opened directly adjacent to the camp. Less than a week after it was completed, satellite imagery caught ~1,500 people being moved to the factory. ImageImage
The line stretches 200m between the camp and the factory, called Kuqa Pomegranite Seed Industry Co (库车石榴籽实业有限公司), and with a rough density analysis you can estimate the crowd at around 1,500 individuals. Moving DIRECTLY from a camp to a factory. ImageImage
During the week between when the factory was completed and when a mass transfer of detainees was captured by satellite imagery the detention facility itself was significantly desecuritised. Watchtowers were removed, internal fencing was lowered and concrete walls were removed. ImageImage
Read 15 tweets
14 Dec
It's interesting that 🙈-turned-propagandist Jerry here brings up Tongxin, Ningxia (by showing two sites more than 4km apart, both have been significantly damaged). In this thread I'll show through 16 different mosques in XJ how they've been systematically decimated. ImageImageImageImage
First, I want to highlight one particularly nasty bit of disinformation in Jerry's original tweet. In the first picture (which he says is taken in 2019), he has blocked where the mosque's domes originally were with foliage. In reality they were demolished and removed in Oct 2019. Image
The minarets were removed between June and October 2020. Beyond the domes and the minarets, all the arabic script that was previously on the mosque in 2014 has been removed and replaced with Chinese writing. Image
Read 14 tweets
13 Dec
We have shown, thrown exhausting satellite evidence, that roughly 66% of mosques in Xinjiang have been destroyed or damaged, mostly since 2017. Visitors to Xinjiang since then have estimated to me that about 75% of the ones that do remain are closed.
Some of the photos I've seen showing the inside of closed mosques show an unbelievable amount of decrepitation. Sacred would be the last word to describe how they're treated with what Chinese authorities have done to these mosques
The entire city of Hotan, according to recent visitors, has two mosques that remain operational to any degree. That's a city of over 300,000 people. Fewer mosques than the city of Canberra, with a similar population but only 0.6% Muslim vs >95% of Hotan being Islamic.
Read 4 tweets
9 Dec
This map shows the proximety and rough trajectory of Iceberg #A68A towards South Georgia Island. Red shows water that's shallow enough for the iceberg to likely beach itself. Its position on Dec 3rd and 9th is shown, so's a basic idea of its course (based on 3rd-9th movement).
Right now it's less than 14km from the closest area it could run aground.
AFAIK the effects of such a large iceberg beaching hasn't been recorded this far North, but in Antartica itself, they have abosultely decimated penguin colonies in the past, with species more adapted to the cold.
S Georgia has 1mil pairs of penguins, and ~30mil pairs of seabirds.
Read 4 tweets
22 Nov
New satellite imagery published by @ndtv, conclusively proves that a new village constructed by China and revealed in Chinese state media is indeed located within over 2 kilometres into Bhutan, according to their official maps and claims (27.307, 89.007).
ndtv.com/india-news/exc…
The high resolution imagery also shows how percarious of a village it is, being constructed on what is essentially a sandbank in the middle of a mountain river valley (where snowmelt and high cliffs make water flow unpredictable and flash floods common)...
In that annotated imagery above, the pink outline shows areas of fallen trees, very possibly where the river has flooded and knocked them over. You can even see tree trunks in blue. Now the other side of those floods would be the village.
Read 4 tweets
21 Nov
Outrage over the crackdown in Hong Kong 👎
Outrage over the crackdown in Xinjiang 👎
Outrage over totalitarianism in Vietnam 👎
Outrage over human rights abuses in Cambodia 👎
Outrage over a white woman cooking dumplings 👍🥳👍
To add some more nuance that didnt fit,
Of course it's valid to have perspectives on local culture issues, and I agree that this is sketchy, but it's been taken to the point where the shop owner has been evicted and lost their livelihood in the middle of a pandemic.
There's a big difference between posting food-takes on twitter/not shopping at a resturant you find problematic and actually ruining someone's life over the fact that they cooked dumplings. I don't eat at a similar resturant near my house because I actually agree with her.
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!