projects:data_analysis
Differences
This shows you the differences between two versions of the page.
| projects:data_analysis [2023/01/12 01:36] – created jhagstrand | projects:data_analysis [2023/01/12 02:42] (current) – removed jhagstrand | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Data Analysis ====== | ||
| - | |||
| - | plunder database | ||
| - | |||
| - | table georegions, originally 1048 records from osmtilemill shapefiles | ||
| - | |||
| - | attributes featureclass and scalerank | ||
| - | |||
| - | ==== scalerank ==== | ||
| - | scale = on-screen, the number of pixels in the radius of the globe, used for realtime map drawing | ||
| - | |||
| - | scalerank = in the data, a number from 1 to 6, or from 0 to 2000, indicating the relative magnitude of the feature | ||
| - | |||
| - | === scalerank by featureclass === | ||
| - | |||
| - | == Water == | ||
| - | ^ featureclass | ||
| - | | alkaline lake | 40 | 27| 2| 1| 5| | ||
| - | | basin | 9 | | 2| 2| 3| 2| | ||
| - | | canal | 4 | | | ||
| - | | delta | 12 | | | ||
| - | | lake | ||
| - | | lake centerline | ||
| - | | reservoir* | ||
| - | | river* | ||
| - | |||
| - | == Land == | ||
| - | ^ featureclass | ||
| - | | coast | 36 | | ||
| - | | continent | ||
| - | | island | ||
| - | | island group | ||
| - | | isthmus | ||
| - | | geoarea | ||
| - | | pen/ | ||
| - | | peninsula | ||
| - | |||
| - | == Terrain == | ||
| - | ^ featureclass | ||
| - | | depression | ||
| - | | desert* | ||
| - | | foothills* | ||
| - | | gorge | 3 | | ||
| - | | lowland | ||
| - | | plain* | ||
| - | | plateau* | ||
| - | | range/ | ||
| - | | tundra* | ||
| - | | valley* | ||
| - | | wetlands* | ||
| - | |||
| - | == Political == | ||
| - | ^ featureclass | ||
| - | | drangons-be-here | 1 | | ||
| - | | empire* | ||
| - | | treasure* | ||
| - | |||
| - | * classes used in the original plunder | ||
| - | |||
| - | ==== scalerank ==== | ||
| - | |||
| - | ^ scalerank ^ count ^ | ||
| - | | 0 | 283 | | ||
| - | | 1 | 144 | | ||
| - | | 2 | 118 | | ||
| - | | 3 | 261 | | ||
| - | | 4 | 266 | | ||
| - | | 5 | 453 | | ||
| - | | 6 | 361 | | ||
| - | | 7 | 41 | | ||
| - | | 9 | 2 | | ||
| - | | 10 | 6 | | ||
| - | | 12 | 2 | | ||
| - | | 100 | 1 | | ||
| - | | 500 | 15 | | ||
| - | | 900 | 1 | | ||
| - | | 1000 | 470 | | ||
| - | | 2000 | 1 | | ||
| - | | | ||
| - | |||
| - | ===== water ===== | ||
| - | |||
| - | loaded from Natural Earth Data, 50m set | ||
| - | |||
| - | * oceans | ||
| - | * seas | ||
| - | * lakes | ||
| - | * rivers | ||
| - | |||
| - | ==== rivers ==== | ||
| - | |||
| - | A. examine rivers | ||
| - | 1:50m 460 rivers, scalerank 1 thru 6, 42 rows in our target geo | ||
| - | |||
| - | #all rivers combined, almost 1 MB | ||
| - | psql -t -d voyc -U jhagstrand < | ||
| - | |||
| - | ==== lakes ==== | ||
| - | select scalerank, count(*) from plunder.plunder \\ | ||
| - | where featureclass = ' | ||
| - | group by scalerank order by scalerank; | ||
| - | |||
| - | 0 | 220 | ||
| - | 1 | 58 | ||
| - | 2 | 2 | ||
| - | 3 | 5 | ||
| - | 4 | 2 | ||
| - | 5 | 7 | ||
| - | 6 | 26 | ||
| - | |||
| - | select scalerank, count(*) from plunder.plunder\\ | ||
| - | where featureclass = ' | ||
| - | group by scalerank order by scalerank; | ||
| - | |||
| - | 0 | 25 | ||
| - | 1 | 8 | ||
| - | 2 | 1 | ||
| - | 4 | 5 | ||
| - | 5 | 4 | ||
| - | 6 | 9 | ||
| - | |||
| - | |||
| - | ==== seas ==== | ||
| - | |||
| - | A table on this page includes names of the major seas. | ||
| - | https:// | ||
| - | |||
| - | |||
| - | Caspian Sea is currently missing. | ||
| - | |||
| - | Maybe needed for labeling or hit testing. | ||
| - | |||
| - | Examples | ||
| - | * Mediterranean | ||
| - | * Bay of Bengal | ||
| - | * Arabian Sea | ||
| - | * Carribean | ||
| - | |||
| - | ==== oceans ==== | ||
| - | |||
| - | Natural Earth' | ||
| - | |||
| - | We don't currently have an oceans data. | ||
| - | We just paint the background blue, and start drawing on top of it. | ||
| - | |||
| - | If we want to do labeling or hit testing by ocean name, | ||
| - | then we will need a polygon | ||
| - | for each named ocean. | ||
| - | |||
| - | 3 oceans: Pacific, Atlantic, Indian\\ | ||
| - | optional: Arctic, Southern\\ | ||
| - | optional: North Pacific, South Pacific, North Atlantic, South Atlantic | ||
| - | |||
| - | arctic and southern oceans are each a circle, or just explicitly test for north of 80 | ||
| - | |||
| - | |||
| - | ===== Political data ====== | ||
| - | |||
| - | pulled from database voyc, table fpd | ||
| - | * empire - polygon | ||
| - | * treasure - point | ||
| - | |||
| - | ==== Cities ==== | ||
| - | |||
| - | ^ population | ||
| - | | more than ten million | ||
| - | | one million to ten million | 700| | ||
| - | | 100,000 to one million | ||
| - | | 20,000 to 100, | ||
| - | | 10,000 to 20, | ||
| - | | less than 10, | ||
| - | | Total | 42,180| | ||
| - | |||
| - | ^ id | ||
| - | | 17463 | Tokyo | Japan | 39105000 | | ||
| - | | 17464 | Jakarta | ||
| - | | 17465 | Delhi | India | 31870000 | | ||
| - | | 17466 | Manila | ||
| - | | 17467 | São Paulo | Brazil | ||
| - | | 17468 | Seoul | South Korea | 22394000 | | ||
| - | | 17469 | Mumbai | ||
| - | | 17470 | Shanghai | ||
| - | | 17471 | Mexico City | Mexico | ||
| - | | 17472 | Guangzhou | ||
| - | | 17473 | Cairo | Egypt | 19787000 | | ||
| - | | 17474 | Beijing | ||
| - | | 17475 | New York | United States | ||
| - | | 17476 | Kolkāta | ||
| - | | 17477 | Moscow | ||
| - | | 17478 | Bangkok | ||
| - | | 17479 | Dhaka | Bangladesh | ||
| - | | 17480 | Buenos Aires | Argentina | ||
| - | | 17481 | Ōsaka | ||
| - | | 17482 | Lagos | Nigeria | ||
| - | | 17483 | Istanbul | ||
| - | | 17484 | Karachi | ||
| - | | 17485 | Kinshasa | ||
| - | | 17486 | Shenzhen | ||
| - | | 17487 | Bangalore | ||
| - | | 17488 | Ho Chi Minh City | Vietnam | ||
| - | | 17489 | Tehran | ||
| - | | 17490 | Los Angeles | ||
| - | | 17491 | Rio de Janeiro | ||
| - | | 17492 | Chengdu | ||
| - | | 17493 | Baoding | ||
| - | | 17494 | Chennai | ||
| - | | 17495 | Lahore | ||
| - | | 17496 | London | ||
| - | | 17497 | Paris | France | ||
| - | | 17498 | Tianjin | ||
| - | | 17499 | Linyi | China | 10820000 | | ||
| - | | 17500 | Shijiazhuang | ||
| - | | 17501 | Zhengzhou | ||
| - | | 17502 | Nanyang | ||
projects/data_analysis.1673505409.txt.gz · Last modified: 2023/01/12 01:36 by jhagstrand