# Different colors of various routes

**URL:** https://discuss.elastic.co/t/different-colors-of-various-routes/209572
**Category:** Kibana
**Created:** [November 26, 2019, 7:21pm UTC](https://discuss.elastic.co/t/different-colors-of-various-routes/209572 "2019-11-26T19:21:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![testuser22](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@testuser22](https://discuss.elastic.co/u/testuser22)
#### Post date: [November 26, 2019, 7:21pm UTC](https://discuss.elastic.co/t/different-colors-of-various-routes/209572/1 "2019-11-26T19:21:58Z")

</div>

Hello,  
I am new to the ELK-Stack and I want to color approx. 20-30 GPS various routes in different colors. I have a CSV file with latitude, longitude and some other features. Is it possible to load the data with Logstash into Elasticsearch and visualize these routes in Kibana?  
Many thanks in advance.

---

<div class="post-metadata">

### Author: ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)
#### Post date: [November 27, 2019, 10:30am UTC](https://discuss.elastic.co/t/different-colors-of-various-routes/209572/2 "2019-11-27T10:30:15Z")

</div>

Hi @testuser22  
There are few ways to accomplish that:

- if you need to display the path as a line between all the points, right now the only way to achieve that is to first convert your data into a geojson file where each GPS route is a different feature, and import them into Kibana Maps (importing geojson is a beta feature right now available on 7.4)
- if you just look to visualize your data as points with different colors depending on the route id, you can just ingest your data via logstash or via ML File data visualizer specifying the correct mapping for your coordinate as a `geo_point` and visualize them in Maps as single documents on the map.

---

<div class="post-metadata">

### Author: ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)
#### Post date: [November 27, 2019, 11:14am UTC](https://discuss.elastic.co/t/different-colors-of-various-routes/209572/3 "2019-11-27T11:14:58Z")

</div>

you can subscribe to this ticket to get updates on the geo line feature:

> <https://github.com/elastic/elasticsearch/issues/41649>
>
> Feature
> A metric aggregation that aggregates a set of points as
> a GeoJSON LineString ordered by some sort parameter.
> specifics
> A geo\_line aggregation request would...

---

<div class="post-metadata">

### Author: ![michi123](https://avatars.discourse-cdn.com/v4/letter/m/779978/32.png) [@michi123](https://discuss.elastic.co/u/michi123)
#### Post date: [November 27, 2019, 2:32pm UTC](https://discuss.elastic.co/t/different-colors-of-various-routes/209572/5 "2019-11-27T14:32:21Z")

</div>

I have a similar problem. I loaded the data into ES and mapped the coordinates with geo\_point. Since a solid line is not really possible yet, I would like to mark all points of the same route-id with the same color. How can I visualize them in Maps as single documents on the map?

---

<div class="post-metadata">

### Author: ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)
#### Post date: [November 27, 2019, 2:40pm UTC](https://discuss.elastic.co/t/different-colors-of-various-routes/209572/6 "2019-11-27T14:40:56Z")

</div>

Yes, Maps can visualize single documents on a map

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 25, 2019, 2:40pm UTC](https://discuss.elastic.co/t/different-colors-of-various-routes/209572/7 "2019-12-25T14:40:59Z")

</div>

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