How do I use the precision parameter in RouteOptions?
The RouteOptions parameter, precision, sets the shape generalization of the route. The larger the value, the more generalized the shape (and the faster the response time). There is no upper limit. If a map is requested from the Map Image Web Service, precision is ignored and the route is generalized to the resolution of the map. The parameter specifies the minimum distance (usually in decimal degrees) between the vertices on the route. The larger the number, the fewer points are used to draw the route. You could, for example, set precision to the pixel size in decimal degrees of your map. That would give you a route that had a maximum of one point per pixel and a relatively fast drawing time. The default value for precision is “0”, which means no generalization. It is not used when a map image is included with the route.
Related Questions
- Ive been using the IsNull function but it seems to be ignoring the second parameter (just returning True or False instead). Is this function supported and/or is there an alternative?
- My PSM-4900 and PSM-2100 do not agree on the Eb/No parameter with Reed-Solomon codec installed?
- What are the different methods available to improve gear precision?