Vector tiles: the next generation of tiled maps | GEOG 585

文章推薦指數: 80 %
投票人數:10人

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



請為這篇文章評分?