Baremaps studio: dynamic vector tiles map rendering
This is a modal window.
The media could not be loaded, either because the server or network failed or because the format is not supported.
Formal Metadata
Title |
| |
Title of Series | ||
Number of Parts | 351 | |
Author | ||
License | CC Attribution 3.0 Unported: You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor. | |
Identifiers | 10.5446/69069 (DOI) | |
Publisher | ||
Release Date | ||
Language | ||
Production Year | 2022 |
Content Metadata
Subject Area | ||
Genre | ||
Abstract |
| |
Keywords |
00:00
Open sourceMean value theoremService (economics)Server (computing)DisintegrationCache (computing)Streaming mediaPower (physics)Mean value theoremFunction (mathematics)Content (media)Software developerType theoryVector spaceWeb 2.0Level (video gaming)MappingCASE <Informatik>Query languageData integrityPrototypeMathematical singularityRepresentational state transferModule (mathematics)Zoom lensParallel portElectronic visual displayServer (computing)TessellationTesselationElectronic mailing listComputer animation
01:53
Computer fileComputing platformSource codeLevel (video gaming)Set (mathematics)Computer fileData storage deviceComputer animation
02:16
Scanning tunneling microscopeData typeText editorCircleRadiusVector spaceTable (information)TesselationPoint (geometry)Streaming mediaMappingDot productType theoryComputer animation
02:42
Text editorCircleRadiusIntegerAttribute grammarLattice (order)MoistureVector spaceLattice (order)MappingStreaming mediaType theoryCodeComputer animation
03:04
Attribute grammarLattice (order)PolygonMappingClient (computing)CountingContent (media)Type theoryVector spaceFlow separationFunctional (mathematics)Point (geometry)Server (computing)TessellationSet (mathematics)Computer animation
03:39
BuildingCombinational logicMappingComputer animation
03:49
MappingCuboidLevel (video gaming)Attribute grammarComputer animation
04:08
Mean value theoremStreaming mediaStreaming mediaVector spaceLevel (video gaming)Point (geometry)PolygonType theoryCuboidWeb 2.0Computer animation
04:26
Demo (music)Web 2.0Presentation of a group2 (number)Streaming mediaComputer animation
04:37
Open sourceXML
Transcript: English(auto-generated)
00:00
Go ahead. Okay. So, I'm Florent Garvin. I'm working at Camp2Camp as a research and development lead. And I'm going to talk about Bear Maps Studio, which is a new way to build your map and publish your map based on vector types. So, it's based on Bear Maps, which is yet another MVT server, but it has the singularity
00:23
to be a full package MVT server with OSM data integration pipeline, facilities to cache the output in S3 or buckets. There is a Maputnik which is integrating, so everything is made to ease the publication of your own vector types stream with your own style.
00:45
Yes. One thing is the typeset definition. It's the way Bear Maps display and the content of the vector types. So, for each layers, you have different queries depending on zoom level, and it's directly SQL queries.
01:02
So, actually, in the end, it aggregates all these queries, parallelize them, and give the content of the vector types. So, from this, we wanted to leverage the power of PostGIS to be able to construct and to define the content, complex content inside or within our vector types. So, on top of that, we added a module called the Studio with an OGC API compliance for tiles, styles,
01:28
and tilesets. So, there is a REST API to control these tilesets and the styles. What does it mean? It means we are able from the web to create, yes, to elaborate the content of our MVTs.
01:45
A use case to illustrate that, the car accident in Brittany. So, here, we develop a prototype studio to use the API. So, you can add and connect to a data source. So, here, I have my car accident as a geosystem file.
02:02
So, actually, when I push it, it push the datasets and ingest that into PostGIS. Then the dataset is present in my local storage, and I can load it in my map. When I load the dataset in my map, actually, it uploads the typeset definition, and it adds a select star from the table which has been created.
02:24
Then, bare maps gives these dots as points as in the vector type stream. You also have a usual edition of the style, so nothing fancy there, but you can change the style of your points, do data-driven styles, and so on.
02:45
So, here, what happen is that there is the data inside of the PostGIS and bare maps. Provide the data within a vector type stream. Now, because there is PostGIS behind that, it's just a select star, but we can see there is a department code inside of the dataset.
03:04
So, we can do spatial join. And here, from the same dataset, the bare maps in the vector types does not contain point, but contain polygon with the aggregation and the count of accident per department. Because there is PostGIS, you can do spatial joins,
03:21
you can use PostGIS function like xbin, and everything you want to value the content of your data. So, here, everything is done on the server, and nothing is done on the client. You can have several datasets per tileset, of course, and you can combine OSM data with your own data,
03:43
because bare maps allow you to integrate easily OSM dataset. So, it's based on bare maps, bare maps studio. All the requests are done with PostGIS, and we embrace the ecosystem of my box with the tileset and the styles. This is the example of the automatic joins
04:03
which are made when you push your tileset, so attributes and spatial. The style is very easy, using my box style to do choropleth. And in the end, it's just one stream of vector types that can contain points, aggregation, polygons, xbin, whatever, and one my box style,
04:24
et voila, you have your map published on the web. For the last second, okay, so it's finished. If you check out the presentation, you can find a video with more examples. And that's it. Thank you.