This is a migrated thread and some comments may be shown as answers.

Objects on map

3 Answers 140 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Svetlana
Top achievements
Rank 1
Svetlana asked on 14 Sep 2017, 09:12 AM

Hi!

Please answer:

How to display linear objects on the map, such as roads, power lines, pipelines. In your examples, only point and polygon objects are shown. We also need to show linear objects whose geographic data are represented in WKT format in the form: LINESTRING (), not POLYGON (())

It is also interesting - whether it is possible to display all types of objects(points, lines, polygons)  on the map at the same time.

3 Answers, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 14 Sep 2017, 03:30 PM
Hello Svetlana,

In our Map item's ShapeMapSeries we support only POLYGON and MULTYPOLYGON well-known-text types, because these types make most sense when showing closed figures as datapoint markers over the map surface. The Map is a data-bound item, so it uses these entities to display information that represents aggregated values from its data source, that are visually comparable with the other figures in the displayed series. For example, the choropleth map adds another layer of information just by changing the color of a polygon according to its data-bound value.

We do not support drawing primitives like LINESTRING, POINT, etc, because it would be more in a scope of a mapping tool and it would shift our focus from data-oriented presentations. However, we are always trying to improve our product based on user suggestions, so you can log a feature request in our Feedback & Ideas portal. Depending on users votes, we will schedule it for discussion and implementation in a future release of our product.

Regards,
Ivan Hristov
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Svetlana
Top achievements
Rank 1
answered on 14 Sep 2017, 04:43 PM

Good evening, Ivan!

Thank you for your reply, but it disappointed our team a little. We understand that some of our programmers can program individual functions without using Telerik Reporting, however it would be interesting to do this using your excellent product which focused on the end user.

In addition, primitives such as LINESTRING and POINT can also contain aggregated values. For example, roads have traffic intensity, type of coverage, number of traffic accidents and many other characteristics that could be displayed on the map in different types of lines and in different colors. Well, we will write our suggestions to your Feedback & Ideas portal. And with hope we will wait for the solution of these problems in the future. 

Best regards,

Svetlana and team.

0
Tom
Top achievements
Rank 2
answered on 07 Aug 2020, 08:01 AM

Hi Svetlana,

I know this post is a bit old, but we also hit this limitation in Telerik reporting, but we managed to find a workaround that did the job.  To draw a line on the map, draw a polygon that simply goes back to its starting point.  For example, if your line is supposed to be from 0,0 to 1,1 - write a polygon that goes from 0,0 to 1,1, back to 0,0.  That works for us.  It's a bit of a hack and, frankly, having Telerik Reporting natively support lines would be far preferable.  After that, we use conditional formatting to colour the line.  Again, a complete hack as it would make far more sense to be able to say LineColour = fields.colourField - but at least we've got it working while Telerik decide when they're going to support this.

 

I've included a screenshot of a map in Telerik Reports with a line in different colours to illustrate what this "hack" looks like in practise.

 

 

Tom.

 
Tags
Report Designer (standalone)
Asked by
Svetlana
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Svetlana
Top achievements
Rank 1
Tom
Top achievements
Rank 2
Share this question
or