Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Cartography 101
Search
Sumin Byeon
March 21, 2013
Science
64
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cartography 101
Sumin Byeon
March 21, 2013
Transcript
19 slides
Cartography 101 Sumin Byeon University of Arizona
The Ultimate Plan • Fully customizable map tiles • Serve
these map tiles on our own servers
Rationale • Google does not allow their map to be
used in any navigation software • OSM does not allow anyone to use their map servers for production purposes • CloudMade map servers are slow (perhaps it’s because we don’t pay?)
Cartography • Study and practice of making maps[1] • Projection
of a 3D world onto a 2D plane • Simplified view of the real world, selectively displaying different features depending on the purpose of the map
Slippy Maps • Interactive maps that can be zoomed and
panned around • Consists of tiles - generally 256x256 pixels • Dynamic loading • e.g., Google Maps, Bing Maps, Mapquest
Projections • Mercator projection • Normal Mercator • Transverse Mercator
• Miller cylindrical projection • Mollweide projection • Robinson projection
Mercator Projection
Prerequisites • Geospatial data • Software to process the data
• Map style definition • Tile generator • Storage (i.e., a database and a file system) • Servers to host tiles
Data Source • OpenStreetMap • XML • Nodes, links, polygons
• PBF • Binary format • ~30% smaller than compressed XML • Significantly faster to process
PostGIS • A spatial database extender for PostgreSQL • Enables
geospatial queries to be run in SQL • Supports for various features for manipulating geospatial objects
PostgreSQL • A very powerful relational database system • Known
for reliability, data integrity and correctness
Layer • Generally, a map is consist of multiple layers
• A layer is a subset of geospatial data that can be fetched by a single query
Layer SELECT name, place, population, way FROM planet_osm_point WHERE place='city'
ANDCAST(REPLACE(population, ',', '') AS INT) >= 25000 AND CAST(REPLACE(population, ',', '') AS INT) < 500000
Mapnik • A toolkit for developing map applications • Provides
sub-pixel accuracy (by using highly sophisticated anti-aliasing techniques) • https://github.com/mapnik/mapnik
Cascadenik • Mapnik style definitions in XML - low readability,
maintainability • Implements cascading stylesheets for Mapnik
Cascadenik • (Demo)
TileMill
Tile Generation • Export to an Mapnik XML • Feed
this XML to a tile generation script • Run a post processing script • Transfer tiles to servers
Questions?
More Decks by Sumin Byeon
See All by Sumin Byeon
Big Data in Action
suminb
1
89
Git with Bitbucket
suminb
0
97
RNA Secondary Structure Prediction
suminb
0
180
Memory Management in iOS App Development
suminb
0
130
Other Decks in Science
See All in Science
医療 LLM ベンチマークの現在地:多面的評価 と日本ローカライズ
analokmaus
1
800
因果探索の発展と展望
sshimizu2006
2
1.3k
第67回コンピュータビジョン勉強会論文紹介「RoboWheel: A Data Engine from Real-World Human Demonstrations for Cross-Embodiment Robotic Learning」
x_ttyszk
0
260
[Relay webinaire eBIS actu n°16] Conclusion
institutdelelevage
PRO
0
320
不動産業界における業界特化のデータ整備とAI活用 ─Vertical DataとVertical AI─
estie
1
1.2k
Sunday Math Party 36 - Operate with Operate
butchi
0
110
データベース14: B+木 & ハッシュ索引
trycycle
PRO
0
1k
Utiliser Bitcoin sans Internet
rlifchitz
0
460
Collective Predictive Coding Hypothesis: Emergence of Language and Cooperative Behaviors
tanichu
0
260
バランスって大事だね
akasan
1
180
Génétique moléculaire de la mortalité
institutdelelevage
PRO
0
380
[Relay webinaire eBIS actu n°16] Sélection pour la vitalité des jeunes bovins allaitants et laitiers
institutdelelevage
PRO
0
380
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
350
Done Done
chrislema
187
17k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
GitHub's CSS Performance
jonrohan
1033
470k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
520
Making the Leap to Tech Lead
cromwellryan
135
10k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
360
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
310
Optimizing for Happiness
mojombo
378
72k