View Full Version : Drive Zones

06-11-2009, 01:01 PM
I recently started working for a company that dispatches work based on location/drive zones. Each drive zone is composed of locations that should be adjacent to each other. The zones were defined by a person years ago just sitting with a map. The zones as currently defined have some gross errors. Is there a way to automatically define zones/groups based on location??

06-12-2009, 07:35 AM
MapPoint has a territory capability but it is a bit limited and I don't know of a way of usefully automating it.

The alternative would be to draw shapes for your zones. MapPoint can out-of-the-box draw "drive time zones", ie. shapes that are a fixed driving time from a central pushpin. Eg. "all areas within 30mins of the central pin".

Another option is the Boundary option in our MPSuperShape product (MPSuperShape: Home Page (http://www.mpsupershape.com)). You give this a group of pushpins and it draws a boundary shape around them (technical term is a "convex hull"). As well as a tight boundary (where each of the shape's corners is a pushpin) you can expand the shape by a set distance giving a buffer zone, as it were.

How were you thinking of "automating" your shape definitions?

07-14-2010, 03:52 AM
I am using the Drawing Drivetime Zones routine in MapPoint Power Tools_v1.2EU.xls but find the color schemes available in MapPoint EU version 2009 very limited. Are there any additional colours availble or can the code be refined to reflect shades and textures of colours?

Appreciate any help on this Thanks Keith

The current code is:

Function AssignColor(szColor)

Select Case szColor
Case "red"
AssignColor = vbRed
Case "green"
AssignColor = vbGreen
Case "yellow"
AssignColor = vbYellow
Case "blue"
AssignColor = vbBlue
Case "magenta"
AssignColor = vbMagenta
Case "cyan"
AssignColor = vbCyan
Case "white"
AssignColor = vbWhite
Case "black"
AssignColor = vbBlack
Case Else
AssignColor = CLng(szColor)
End Select

End Function

07-14-2010, 08:00 AM
MapPoint supports a total of 40 colors. The list is here:

Microsoft MapPoint Colors (http://www.mapping-tools.com/info/pushpins/colors.shtml)

It looks like you are using VB6, you will have to look up the VB6 or MapPoint docs to see how you convert RGB hex values into usable constants for MapPoint.