reporting-services-map

Getting Distance between two Points in SSRS report map

孤街醉人 提交于 2019-12-13 05:42:46
问题 I have created an SSRS reports in which i'm using map along with bing map. Also i have using the Point layer in the map. How can i able to get distance between 2 points in the map? Kindly advice... 回答1: The below function gives you distance between two GeoCoordinates in kilo metres CREATE FUNCTION dbo.fnCalcDistanceKM(@lat1 FLOAT, @lat2 FLOAT, @lon1 FLOAT, @lon2 FLOAT) RETURNS FLOAT AS BEGIN RETURN ACOS(SIN(PI()*@lat1/180.0)*SIN(PI()*@lat2/180.0)+COS(PI()*@lat1/180.0)*COS(PI()*@lat2/180.0)

how can I create a custom SSRS report shape?

◇◆丶佛笑我妖孽 提交于 2019-12-12 01:08:36
问题 I'm trying to create a simple SSRS map report in visual studio. I was using the built in map functionality to create one but I need to create custom regions that I will then overlay over a bitmap image of the US. How can i go about creating these custom regions? I need them to be dynamically colored based on sales data. Really lost, so I appreciate any help. 回答1: For custom shapes, you either need to acquire the shape as an ESRI file or convert the shape to a SQL Server spatial data polygon.