satellite view

Richer data visualization on Google Maps Platform using deck gl.

Richer data visualization on Google Maps Platform using deck gl.

Try Google Maps Platform.

Richer data visualization
Examples of different visualizations made possible by the deck.gl/WebGL Overlay View integration.

Unlock access to real world data and insights with a monthly $200:. Google Maps Platform credit. GET STARTED

Today at Google Cloud Next. We are showcasing the release of the newest open source data visualization library deck.gl version 8.6. Thanks to a close collaboration between our friends at the location intelligence platform CARTO. The vis.gl Technical Steering Committee (TSC), and teams from Google Maps Platform and Google Cloud. This release adds deep integration of deck.gl with the WebGL Overlay View feature of the Maps JavaScript API. Now you can take advantage of the wide variety of beautiful. Insightful 2D and 3D visualizations offered by deck.gl to create a new level of mapping experiences with your data.

These new types of visualizations can be used to address any geospatial use case. To show the powerful capabilities of deck.gl with the Maps JavaScript API. The team at CARTO created an example app that visualizes a variety of data sources that show the potential for electrification of truck fleets in Texas. This example showcases how CARTO uses deck.gl and our WebGL-powered maps features tools to bring:. Texas’ area and population sizes to life. Using fully interactive map visualizations.

Richer data visualization
CARTO’s story map uses deck.gl to visualize the potential for electrification of truck fleets in Texas.

How does deck.gl work with the Maps JavaScript API?.

Deck.gl has supported the raster basemap offered by the Maps JavaScript API for a while. This new release adds support for the vector basemap in interleaved mode. This means that with deck.gl:. Google’s vector map can now be mixed with data layers. Providing a pixel perfect composition where labels. 3D. And other content is respected and rendered perfectly with depth and occlusion.

Under the hood this means that the vector basemap and deck.gl share the same WebGL rendering context. Increasing the performance. And flexibility of visualizations rendered on the map. In effect, instead of the visualizations of deck.gl being rendered on the map, they are now rendered as part of the map. Sharing this WebGL context is not easy. So our team and the CARTO team have partnered to provide support as both libraries evolve.

Let’s take a look at an example.

In the following code. We are loading data from a CSV file using the open source library loaders.gl. Creating a Hexagon deck.gl visualization layer. Creating an overlay for Google Maps Platform. And finally adding it to the map.

Richer data visualization
Code for a simple deck.gl Hexagon Layer visualization.
Richer data visualization
The Hexagon Layer visualization from the code above, applied to the map of the United Kingdom.

Advanced visualization capabilities.

Deck.gl offers a very flexible framework for creating or utilizing existing visualizations. Check out the examples on the deck.gl website and CARTO’s gallery of demos to get some inspiration.

Richer data visualization
Check out the gallery of demos.

With the flexibility of deck.gl. Of course you can go quite a long way. As showcased in CARTO’s Texas demo. Let’s take a look at some of the main visualizations.

Hexagon Layer

The Hexagon layer is useful for visualizing aggregated data. You can define the colors or the height of the hexagons. Using a property such as population. In this example. You can see how the population of Texas is concentrated in a few large urban areas.

Map Large datasets using Vector Tiles

When visualizing large datasets. Like in the case of the power line visualizations. You are going to need to load the data progressively in tiles. Deck.gl has different pre created layers like MVTLayer. TileLayer or  Tile3DLayer.

Richer data visualization
Electrical transmission lines across Texas, shown using a Tile3DLayer visualization.

In this map we are visualizing an open dataset of around 70MB of electric power lines. Using the CartoLayer on deck.gl. This visualization loads the data in small vector tiles of less than 512kb.

Animations and rich cartography

In addition to cartographic capabilities. Animation features allow for a much richer set of visualizations. And a seamless user experience. The example below shows Texas’ renewable energy sources.

Richer data visualization on Google Maps Platform using deck gl

Animating trips and 3D

Animating trips is one of the most popular deck.gl visualizations. And because of the interleaving support. Those trips respect buildings and all other Google Maps Platform features.

Check out the code here.

Try it out

To get started, take a look at some of the demos of deckgl + Google Maps Platform. Then head to deck.gl website to learn more in advance on how to customize the layers or even create your own ones. Finally the entire source code for the Texas demo is also freely available.

We hope you have fun mixing deck.gl and Google Maps Platform we can’t wait to see what interesting visualizations you build. For more information on CARTO. Getting a free account. And overlaying data from BigQuery, visit the CARTO website.
For more information on Google Maps Platform. visit our website.

Source: medium.com

Earthtopomaps.com

Richer data visualization on Google Maps Platform using deck gl

Deck.gl has supported the raster basemap offered by the Maps JavaScript API for a while.

In effect, instead of the visualizations of deck.gl being rendered on the map, they are now rendered as part of the map.

So our team and the CARTO team have partnered to provide support as both libraries evolve.

In the following code. And finally adding it to the map. Of course you can go quite a long way.

Using a property such as population. When visualizing large datasets.

This visualization loads the data in small vector tiles of less than 512kb.

And because of the interleaving support.

Richer data visualization on Google Maps Platform using deck gl.

Deck.gl has supported the raster basemap offered by the Maps JavaScript API for a while.

In effect, instead of the visualizations of deck.gl being rendered on the map, they are now rendered as part of the map.

So our team and the CARTO team have partnered to provide support as both libraries evolve.

In the following code. And finally adding it to the map. Of course you can go quite a long way.

Using a property such as population. When visualizing large datasets.

This visualization loads the data in small vector tiles of less than 512kb.

And because of the interleaving support.

Deck.gl has supported the raster basemap offered by the Maps JavaScript API for a while.

In effect, instead of the visualizations of deck.gl being rendered on the map, they are now rendered as part of the map.

So our team and the CARTO team have partnered to provide support as both libraries evolve.

In the following code. And finally adding it to the map. Of course you can go quite a long way.

Using a property such as population. When visualizing large datasets.

Using a property such as population. When visualizing large datasets.

This visualization loads the data in small vector tiles of less than 512kb.

And because of the interleaving support.

Richer data visualization on Google Maps Platform using deck gl.

A more detailed colorful map

A more detailed colorful map

a more detailed colorful

Since it launched 15 years ago. Google Maps has redefined what it means to be a map evolving from a powerful navigational tool to a robust daily companion that also offers helpful information about where to go and what to do. Features like popular timesMultimodal navigation. And offline maps help you better understand your world so you can decide how to interact with it.

This week, we’re rolling out new visual improvements that bring even more detail and granularity to the map. Making it easier to understand what an area looks like whether you’re exploring virtually or planning a visit.

A more detailed colorful map

A more colorful and accurate view of the world 🌎

Google Maps has high-definition satellite imagery for over 98 percent of the world’s population. With a new color-mapping algorithmic technique, we’re able to take this imagery. And translate it into an even more comprehensive. Vibrant map of an area at global scale. Exploring a place gives you a look at its natural features so you can easily distinguish tan. Arid beaches and deserts from blue lakes. Rivers. Oceans and ravines. You can know at a glance how lush and green a place is with vegetation. And even see if there are snow caps on the peaks of mountaintops. 

With this update. Google Maps has one of the most comprehensive views of natural features on any major map app with availability in all 220 countries and territories that Google Maps supports. That’s coverage for over 100M square kilometers of land. Or 18 billion football fields!

This update is visible no matter what area you’re looking at—from the biggest metropolitan areas to small, rural towns.

Mapping the rainbow 🌈

How exactly does this color-mapping technique work? First. We use computer vision to identify natural features from our satellite imagery. Looking specifically at arid, icy. Forested. And mountainous regions. We then analyze these features and assign them a range of colors on the HSV color model. For example. A densely covered forest can be classified as dark green. While an area of patchy shrubs could appear as a lighter shade of green. 

A more detailed
A more detailed
A more detailed
A more detailed
A more detailed
  • NoneIceland’s rich landscape is now much easier to visualize. You can see the varying densities of greenery throughout the country and more easily spot Vatnajökull–the largest ice cap in Iceland, which is now depicted in white.

More detail when you’re on the go 🚶🏽‍♀️

A more detailed colorful map

While seeing natural features can help you get a feel for an area. Sometimes you need more information to get around safely and efficiently. Soon, you’ll be able to see highly detailed street information that shows the accurate shape and width of a road to scale. You can also see exactly where sidewalks. Crosswalks. And pedestrian islands are located crucial information if you have accessibility needs. Like wheelchair or stroller requirements. These details are particularly helpful as more people are opting to walk or take other forms of solo transportation due to the pandemic. We’ll start rolling out detailed street maps in London, New York. and San Francisco in the coming months. With plans to expand to more cities over time.  

a more detailed colorful 2

View crosswalks. Sidewalks, and pedestrian islands right from Google Maps. You can also see the shape and width of roads.

https://earthtopomaps.com/

Whether you’re exploring a new place or gearing up to head around town. You can use Google Maps to see a more colorful. Easy-to-understand representation of the world starting this week. To see natural features. Zoom out on Google Maps. And if you’re a Google Maps Platform developer. You’ll soon be able to apply this new styling to your maps

Since it launched 15 years ago. Google Maps has redefined what it means to be a map evolving from a powerful navigational tool to a robust daily companion that also offers helpful information about where to go and what to do.

Translate »
view satellite
%d bloggers like this: