[Vega/EMS] Problems using EMS map World Countries

Hi,

Trying to use the World Countries map from the EMS Boundaries with Vega like it's shown in the documentation here.

The (very simple) code is the following under Kibana 7.16.3:

{
  $schema: https://vega.github.io/schema/vega/v5.json
  config: {
    kibana: {type: "map"}
  }
  data: [
    {
      name: world_countries
      url: {
        %type%: emsfile
        name: World Countries
      }
      format: {property: "features"}
    }
  ]
}

I'm getting this message:

Data ingestion failed
{
"url": "https://vector.maps.elastic.co/files/world_countries_v7.topo.json?elastic_tile_service_tos=agree&my_app_name=kibana&my_app_version=7.16.3&license=sspl"
}

Works with other maps (France Departments, Albania Counties or Andorra Parishes for example).

Anyone has an idea what the problem might be or how to find it's source?

Thanks.

Regards.

Thanks for reporting. I have opened an issue [maps][vega] Unable to use topojson EMS boundary layers · Issue #130461 · elastic/kibana · GitHub to track the problem.

Thanks.

Used the corrected syntax mentioned here and it works.

Regards.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.