Vector tiles: the next generation of tiled maps | GEOG 585
文章推薦指數: 80 %
Vector tiles are exactly what you would guess: they store chunks of vector data instead of storing a map image. The idea behind vector tiles is that it is more ... Skiptomaincontent Vectortiles:thenextgenerationoftiledmaps PrintAlthoughtherasterizedtilesetswehavediscussedinthislessonareabletodelivernice-lookingmapsinarelativelyrapidformat,theycanbecumbersometokeepupdatedandtheyrequireenormousamountsofcomputingresourcesatlargemapscales.Toworkaroundthesechallenges,adatastorageformatcalled"vectortiles"hasgainedpopularityinthepastseveralyears.MapboxhasleddevelopmenteffortsonvectortilesandhassharedavectortilesspecificationunderaCreativeCommonslicense. Vectortilesareexactlywhatyouwouldguess:theystorechunksofvectordatainsteadofstoringamapimage.Theideabehindvectortilesisthatitismoreefficienttokeepdatastylingseparatefromthedatacoordinatesandattributes.Theclientcanuseapredefinedsetofstylingrulestodrawtilesofrawvectorcoordinateandattributedatasentbytheserver.Thisallowstherestylingofdataonthefly,whichisanotherseriouslimitationofrasterizedtiles.Thinkaboutit:Ifyouwanttochangetheshadeofgreenusedtodrawparkswithyourrasterizedtiles,youmustrebuildeverytilecontainingapark.Ifyouwanttodothesamethingwithvectortiles,youjustupdateyourstylinginstructionsinoneplaceandthetilesthemselvesstaythesame.Otherdisplayoperationssuchasrotatingthemapalsobecomeeasiertoimplementwithvectortiles. Vectortilesaredesignedtobesmallondisk,andemployanumberofoptimizationapproachesdesignedtoreducetheamountofcharactersneededtostorethegeographicdataandattributes,someofwhicharedescribedinthisvideobyMapboxengineerDaneSpringmeyer.HealsointroducesaproductcalledMapboxStudiowhichworkswithvectortilesonlyandisbeingpromotedbyMapboxasareplacementforTileMill.The.mbtilesfileformat,whichoriginallystoredrasterizedtiles,nowonlystoresvectortileswhenexportedfromMapboxStudio. Inreality,therecontinuetobeusecasesforvectorandrasterizedtileformats,althoughitislikelythatanumberoforganizationswillseeperformancebenefitsfromrebuildingsomeoftheiroriginallyrasterizedtilesetsasvectortilesinthefuture.ThisisevenmorelikelyaspopularcommercialsoftwarepackagessuchasArcGISintroducetoolstoworkwiththeMapboxvectortilespecification,astrategicdecisionthatEsriannouncedina2015blogpost.Ontheopensourcesideofthings,GeoServeraddedsupportforvectortilesinversion2.14,asdetailedintheseinstructions. Opensourceclientsarealsorecognizingthestayingpowerofvectortiles,exemplifiedbytheVectorTilelayerformatbuiltintoOpenLayers3andpluginsupportforMapboxvectortilesinLeaflet.Atthetimeofthiswriting,QGISdoesnotnativelysupportviewingvectortiles,althoughthereisarelativelynewpluginforthispurpose. ‹Strategiesforcreatingandservingmaptiles up Walkthrough:CreatingtileswithGeoServerusingGeoWebCache› GEOG585:OpenWebMapping Lessons
延伸文章資訊
- 1Mapbox Vector Tile specification - GitHub
Mapbox Vector Tile specification. Contribute to mapbox/vector-tile-spec development by creating a...
- 2OGC Vector Tiles - OpenLayers
Because the specification has not yet been finalized, the OGCVectorTile source is not yet part of...
- 3Specification | Vector tiles - Docs Mapbox
The Mapbox Vector Tile Specification explicitly provides information about file formats and exten...
- 4Vector Tile Specification - GitHub
A Vector Tile represents data based on a square extent within a projection. A Vector Tile SHOULD ...
- 5Vector tiles - OpenStreetMap Wiki
Vector tiles are similar to raster tiles, but instead of raster images, the data returned is a ve...