Geotab Support Forum


Programatically check if a point intersects a zone (Checkmate SDK Example)
Last Post 28 Jan 2010 12:05 PM by Tony. 3 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
Author Messages
anonymous
Posts:155

--
28 Jan 2010 08:21 AM QuoteQuote ReplyReply
After using the Zone import utility to import multiple zones of L X L square meters,

Is it possible to identify overlapping zones (square shape)?

ZoneHead gives the centre coordinates of the square zone and ZoneDetail gives the constraints but any idea how I would use these to identify overlapping lat, long ranges?


Tony
Administrator
Posts:173

--
28 Jan 2010 08:25 AM QuoteQuote ReplyReply
Hello,

You can check if a point intersects a zone programatically using the Checkmate SDK. The Checkmate application includes a very powerful Software Development Kit (SDK) that can be used to write a simple application.

The attached SDK sample that demonstrates how to check if a point intersects a zone

Visit http://update.geotab.com/latestbuild to obtain the latest copy of Checkmate 5.3.1 SDK documentation and the latest Checkmate build.

Note: You will need to reference the Checkmate 5.3.1 executable in the C# development environment (Checkmate 5.3.1 Build 10905 or higher is required for this example). The Checkmate exe is located in a sub folder located in directory below

Windows XP
C:\Documents And Settings\\Local Settings\Apps\2.0
Or

Vista
C:\Users\\AppData\Local\Apps\2.0


If you encounter an issue, please reply to this thread

PointIntersectsZone.zip

jbl
Posts:155

--
28 Jan 2010 11:05 AM QuoteQuote ReplyReply
Could you give a simple example of how I would open a CheckmateMapForm with the zones showing on it?

Or just how to instanciate the map form...

Please


Tony
Administrator
Posts:173

--
28 Jan 2010 12:05 PM QuoteQuote ReplyReply
Hello,

I have opened ticket with development to review the possibility of providing an SDK sample that uses CheckmateMapForm. Case# 6308




Quick Reply
toggle
  Username:
Subject:
Body:
Security Code:
CAPTCHA image
Enter the code shown above in the box below

Submit
Active Forums 4.2