Why Geomap was not used for Polygon Dataset in Grafana

Geomap Functionality:

Geomaps allow you to view and customize the world map using geospatial data. You can configure various overlay styles and map view settings to easily focus on the important location-based characteristics of the data.

Geomap only support geojson data through the geojson file in local directory it does not have any functionality available to pass geojson data column retrieved from PostgreSQL.

There are seven map layer types to choose from in a geomap.

  • Markers renders a marker at each data point.
  • Heatmap visualizes a heatmap of the data.
  • GeoJSON renders static data from a GeoJSON file.
  • Night / Day renders a night / day region.
  • Route (Beta) render data points as a route.
  • Photos (Beta) renders a photo at each data point.
  • Network (Beta) visualizes a network graph from the data.

Orchestra Cities - Map Panel

This plugin extends Grafana Geomap panel with several functionalities:

  • Support for GeoJSON shapes
  • Support for icons (icons supported are from FontAwesome)
  • Support for pop up visualizations of data from a specific point
  • Multiple layers for the different queries
  • A new map layer leveraging Inverse distance weighting (IDW) interpolation for scattered data points using Shepard’s method.

Pin Options:

Why install the Orchestra Cities Map Plugin for GeoJSON data:

Geomap only support geojson data through the geojson file in local directory it does not have any functionality available to pass geojson data column retrieved from PostgreSQL.

Advantages of Installing Orchestra Cities Map Plugin:

  • GeoJSON Support: Orchestra Cities Map plugin provides native support for GeoJSON data format, allowing for precise representation of polygon data in Grafana.
  • Accurate Area Representation: With Orchestra Cities Map plugin, the polygon data can be represented in its entirety, providing a more accurate visualization of the geographic areas covered.
  • Flexibility: The plugin offers flexibility in handling GeoJSON data, enabling customization and advanced mapping features within Grafana.
  • Seamless Integration: Orchestra Cities Map plugin seamlessly integrates with Grafana, providing a user-friendly interface for configuring and visualizing GeoJSON data.

Reference URL:

That section about only supporting geojson from local file only is inaccurate

It can also display one from an endpoint that returns geojson

1 Like

Mapgl plugin (just as Orchestracities) can also render Geojson from static files, urls, and datasource queries. With styles by thresholds and group overrides . Demo playground

1 Like

Would this work? a real url to a rest api? @vaduga

static geojson layer implies using files. For rest api request you can use Infitinity DS and return geojson from api . There’s a dedicated layer type for such geojson from api query: Polygons and Path (LineString) layer.
And in Markers layer you can also choose Geojson as coords format to render Point features from DS query as well. The later is what Orchestracities also has, but for all sort of geojson shapes.

The point of topic starter I guess is that Geomap would also be nice to have such Geojson from query option (not static files) as Orchestracities has, and Mapgl in some way.

1 Like