User Tools

Site Tools


map_suite_routing_layers_featuresources_samples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
map_suite_routing_layers_featuresources_samples [2015/08/20 03:08]
127.0.0.1 external edit
map_suite_routing_layers_featuresources_samples [2015/10/10 07:31] (current)
Line 1: Line 1:
-====== ​Map_Suite_Routing_Layers_&_FeatureSources_Samples ​======+====== ​ Map Suite Routing Layers ​FeatureSources Samples  ​====== 
 +<div sampleitem>​ 
 +====  POI on Route  ==== 
 +<div screenshot>​ 
 +{{routing:​codesamples:​Map Suite Routing Sample POI On Route.png?​300x180}} 
 +</​div>​ 
 +<div content>​ 
 +<div download_viewsource_buttons>​ 
 +[[Source_Code_ServicesEditionSample_RoutingExtension_POIOnRoute_CS_100202.zip|View Source]] 
 +{{filehistory:​ServicesEditionSample_RoutingExtension_POIOnRoute_CS_100202.zip|C#​ Download}} 
 +</​div>​ 
 +<div sample_otherlinks>​ 
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] 
 +\\ 
 +[[Map Suite Samples Alternate Languages | Need it in another language?​]] 
 +</​div>​ 
 +In today’s project, we are looking at the Routing extension of Map Suite. As a reinforcement of what we learned in the samples of “How Do I”, we show how to find the shortest route between the start and the end point. In addition to that, we show how to use the MultiLineShape from the result of the GetRoute function to do a spatial query to get the points of interests (POI) on the route.\\ ​  \\ For this sample, you would need a reference of either the full or evaluation of MapSuiteCore.dll and MapSuiteRouting.dll. 
 +</​div>​ 
 +</​div>​
  
-<​noinclude>​ +---- 
-{{article rating}} +<div sampleitem
-</noinclude+====  POI on route(Advanced)  ​==== 
-====POI on Route==== +<div screenshot>​ 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +{{routing:​codesamples:Map Suite Routing Sample POI On Route Advanced.jpg?300x180}} 
-{{wiki:Map Suite Routing Sample POI On Route.png?250}}   | [[Source_Code_ServicesEditionSample_RoutingExtension_POIOnRoute_CS_100202.zip|View Source]]\\ \\ [[:File:ServicesEditionSample_RoutingExtension_POIOnRoute_CS_100202.zip|C# Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]// ​  | [[Map Suite Services Edition|Services \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  ​Web \\ Silverlight \\  ​Services \\  ​Wpf \\ ]]//   ​| ​In today’s ​project, we are looking at the Routing extension of Map Suite. As a reinforcement of what we learned in the samples of How Do I”, we show how to find the shortest ​route between the start and the end point. In addition to that, we show how to use the MultiLineShape from the result ​of the GetRoute function ​to do a spatial query to get the points ​of interests (POI) on the route.\\ ​  \\ For this sample, you would need a reference ​of either ​the full or evaluation of MapSuiteCore.dll and MapSuiteRouting.dll. ​  |+</​div>​ 
 +<div content>​ 
 +<div download_viewsource_buttons>​ 
 +[[Source_Code_ServicesEditionSample_RoutingExtension_POIOnRouteAdvanced_CS_100722.zip|View Source]] 
 +{{filehistory:ServicesEditionSample_RoutingExtension_POIOnRouteAdvanced_CS_100722.zip|C# Download}} 
 +</div> 
 +<div sample_otherlinks>​ 
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] 
 +\\ 
 +[[Map Suite Samples Alternate Languages | Need it in another language?]] 
 +</div> 
 +In the project “POI on route”, we learned ​how to get the points of interests (POI) on the route within a certain buffer distance. In today’s project, we are going to go a step further and we show the technique for finding ​the POIs according to what side of the route they are located. For example, in the delivery industry, it is far more efficient ​to deliver ​to stops on the right side of the road when driving ​on the right side of the road. 
 +</​div>​ 
 +</​div>​
  
 +----
 +<div sampleitem>​
 +====  Routing Tolerance ​ ====
 +<div screenshot>​
 +{{routing:​codesamples:​Map Suite Routing Sample Routing Tolerance.jpg?​300x180}}
 +</​div>​
 +<div content>
 +<div download_viewsource_buttons>​
 +[[Source_Code_ServicesEditionSample_RoutingExtension_RoutingTolerance_CS_100825.zip|View Source]]
 +{{filehistory:​ServicesEditionSample_RoutingExtension_RoutingTolerance_CS_100825.zip|C#​ Download}}
 +</​div>​
 +<div sample_otherlinks>​
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]]
 +\\
 +[[Map Suite Samples Alternate Languages | Need it in another language?]]
 +</​div>​
 +In today’s project, we will see how to better leverage the GetRoute function of the RoutingEngine by doing some spatial query. The GetRoute function allows you to pass two PointShapes for the start and end points of the route to build. If a PointShape is not on a line segment of the routable street data, the closet point on the closest segment will be used regardless of how far the PointShape is. Using the Spatial Query function, GetFeaturesWithinDistanceOf,​ we check if the PointShapes passed as start and end points are within some tolerance before proceeding with building the route. ​ \\ For this project, you will need MapSuiteCore.dll and MapSuiteRouting.dll references.
 +</​div>​
 +</​div>​
  
-====POI on route(Advanced)==== +---- 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +<div sampleitem>​ 
-{{wiki:Map Suite Routing Sample ​POI On Route Advanced.jpg?250}}   | [[Source_Code_ServicesEditionSample_RoutingExtension_POIOnRouteAdvanced_CS_100722.zip|View Source]]\\ \\ [[:File:ServicesEditionSample_RoutingExtension_POIOnRouteAdvanced_CS_100722.zip|C# Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]// ​  | [[Map Suite Services Edition|Services \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  ​Web \\  ​Silverlight \\  ​Services \\  ​Wpf \\ ]]//   | In the project “POI on route”we learned how to get the points of interests (POI) on the route within a certain buffer distance. In today’s projectwe are going to go a step further ​and we show the technique for finding the POIs according to what side of the route they are locatedFor example, ​in the delivery industry, it is far more efficient to deliver ​to stops on the right side of the road when driving on the right side of the road  |+====  ​Routing with Projections  ​==== 
 +<div screenshot>​ 
 +{{routing:​codesamples:Map Suite Routing Sample ​Routing With Projection.jpg?300x180}} 
 +</​div>​ 
 +<div content>​ 
 +<div download_viewsource_buttons>​ 
 +[[Source_Code_ServicesEditionSample_RoutingExtension_RoutingWithProjections_CS_100310.zip|View Source]] 
 +{{filehistory:ServicesEditionSample_RoutingExtension_RoutingWithProjections_CS_100310.zip|C# Download}} 
 +</div> 
 +<div sample_otherlinks>​ 
 +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] 
 +\\ 
 +[[Map Suite Samples Alternate Languages | Need it in another language?]] 
 +</div> 
 +From a Discussion Forum requestin today’s project we show how to perform routing in one projection ​and display ​the result in anotherYou may be in the situation where you have your routable street data in State Plane meters and you have your base map in Geodetic (decimal degrees). This project shows you how to handle this case. 
 +</​div>​ 
 +</​div>​
  
- +---- 
-====Routing Tolerance==== +<div sampleitem>​ 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +====  One Way Street Builder  ​==== 
-{{wiki:Map Suite Routing Sample ​Routing Tolerance.jpg?250}}   | [[Source_Code_ServicesEditionSample_RoutingExtension_RoutingTolerance_CS_100825.zip|View Source]]\\ \\ [[:​File:​ServicesEditionSample_RoutingExtension_RoutingTolerance_CS_100825.zip|C#​ Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]// ​  | [[Map Suite Services Edition|Services \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  Web \\  Silverlight \\  Services \\  Wpf \\ ]]//   | In today’s project, we will see how to better leverage the GetRoute function of the RoutingEngine by doing some spatial query. The GetRoute function allows you to pass two PointShapes for the start and end points of the route to build. If a PointShape is not on a line segment of the routable street data, the closet point on the closest segment will be used regardless of how far the PointShape is. Using the Spatial Query function, GetFeaturesWithinDistanceOf,​ we check if the PointShapes passed as start and end points are within some tolerance before proceeding with building the route. ​ \\ For this project, you will need MapSuiteCore.dll and MapSuiteRouting.dll references. ​  | +<div screenshot>​ 
- +{{routing:​codesamples:Map Suite Routing Sample ​One Way Street Builder.jpg?300x180}} 
- +</div> 
-====Routing with Projections==== +<div content> 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +<div download_viewsource_buttons>​ 
-| {{wiki:Map Suite Routing Sample Routing With Projection.jpg?​250}} ​  ​| ​[[Source_Code_ServicesEditionSample_RoutingExtension_RoutingWithProjections_CS_100310.zip|View Source]]\\ \\ [[:File:​ServicesEditionSample_RoutingExtension_RoutingWithProjections_CS_100310.zip|C# Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]// ​  | [[Map Suite Services Edition|Services \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  ​Web \\  ​Silverlight \\  ​Services \\  ​Wpf \\ ]]//   | From a Discussion Forum request, in today’s project we show how to perform routing in one projection and display the result in another. You may be in the situation where you have your routable street data in State Plane meters and you have your base map in Geodetic (decimal degrees). This project shows you how to handle this case.   | +[[Source_Code_DesktopEditionSample_OneWayStreetBuilder_CS_100311.zip|View Source]] 
- +{{filehistory:DesktopEditionSample_OneWayStreetBuilder_CS_100311.zip|C# Download}} 
- +</div> 
-====One Way Street Builder==== +<div sample_otherlinks>​ 
-^ Screenshot ^ width=78|Sample ^ width=66|Product ^ Description ^ +[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] 
-| {{wiki:Map Suite Routing Sample One Way Street Builder.jpg?​250}} ​  | [[Source_Code_DesktopEditionSample_OneWayStreetBuilder_CS_100311.zip|View Source]]\\ ​\\ [[:​File:​DesktopEditionSample_OneWayStreetBuilder_CS_100311.zip|C#​ Download]]\\ \\ //[[Map Suite Samples Alternate Languages|Need it in another language?​]]/​/   | [[Map Suite Desktop Edition|Desktop \\ \\ ]]//[[Map Suite Samples Applies To|Applies To: Desktop \\  Web \\  Silverlight \\  Services \\  Wpf \\ ]]//   ​| ​In the sample apps “How Do I” of the Routing product, we have a sample that shows how the route is constructed on a one way street. Today’s project is meant to complement by showing how to set selected streets to be one way and in the desired direction. From this sample, you can create your own utility to handle your data for routing purposes. ​  |+\\ 
 +[[Map Suite Samples Alternate Languages | Need it in another language?]] 
 +</div> 
 +In the sample apps “How Do I” of the Routing product, we have a sample that shows how the route is constructed on a one way street. Today’s project is meant to complement by showing how to set selected streets to be one way and in the desired direction. From this sample, you can create your own utility to handle your data for routing purposes. 
 +</​div>​ 
 +</​div>​
  
  
map_suite_routing_layers_featuresources_samples.1440040123.txt.gz · Last modified: 2015/09/11 06:07 (external edit)