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
延伸文章資訊
- 1Vector tiles - OpenStreetMap Wiki
Vector tiles are similar to raster tiles, but instead of raster images, the data returned is a ve...
- 2OGC Vector Tiles - OpenLayers
Because the specification has not yet been finalized, the OGCVectorTile source is not yet part of...
- 3Vector tiles - Wikipedia
Mapbox has defined an open standard for vector map tiles called "vector-tile-spec" which uses Goo...
- 4MVT: Mapbox Vector Tiles — GDAL documentation
The MVT driver can read and write Mapbox Vector Tile files, as standalone files, uncompressed or ...
- 5Vector Tile Specification - GitHub
A Vector Tile represents data based on a square extent within a projection. A Vector Tile SHOULD ...