User Tools

Site Tools


geosketch_data_analysis

This is an old revision of the document!


Geosketch Data Analysis

plunder database

table georegions, originally 1048 records from osmtilemill shapefiles

attributes featureclass and scalerank

scalerank

scale = the number of pixels in the radius of the globe, used for realtime map drawing

scalerank = a number from 1 to 6, indicating the relative magnitude of the feature

featureclass

Water
featureclass count 0 1 2 3 4 5 6 7 9 10 12
alkaline lake 40 27 2 1 5 2 3
basin 9 2 2 3 2
canal 4 1 3
delta 12 6 6
lake 320 220 58 2 5 2 7 26
lake centerline 113 5 4 13 17 20 46 1 2 3 2
reservoir* 52 25 8 1 5 4 9
river* 361 22 31 41 54 49 164
Land
featureclass count 0 1 2 3 4 5 6 7
coast 36 20 4 11 1
continent 7 7
island 295 3 10 26 27 123 67 39
island group 167 4 5 12 31 35 57 22 1
isthmus 4 1 3
geoarea 44 4 5 12 8 1 1
pen/cape 55 4 6 11 11 21 2
peninsula 11 1 1 8 1
Terrain
featureclass count 0 1 2 3 4 5 6
depression 2
desert* 58
foothills* 3 1 2
gorge 3 3
lowland 5 3 2
plain* 30 4 10 4 3 9
plateau* 71 4 12 16 13 21 5
range/mtn* 222 10 21 45 53 85 8
tundra* 4 2 1 1
valley* 6 1 2 2 1
wetlands* 3 1 1 1
Political
featureclass count 100 500 900 1000 2000
drangons-be-here 1 1
empire* 427 427
treasure* 67 7 15 1 43 1

* 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
7

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 <rivers.sql >../json/rivers.js

lakes

select scalerank, count(*) from plunder.plunder
where featureclass = 'lake'
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 = 'reservoir 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://en.wikipedia.org/wiki/List_of_political_and_geographic_borders

Caspian Sea is currently missing.

Maybe needed for labeling or hit testing.

Examples

  • Mediterranean
  • Bay of Bengal
  • Arabian Sea
  • Carribean

oceans

Natural Earth's Ocean file has only one polygon.

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
geosketch_data_analysis.1671247386.txt.gz ยท Last modified: 2022/12/16 22:23 by jhagstrand

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki