RE: GEOFENCING --(rediculous OT reply inside)

2002-07-29 Thread Jeff Beer

to constrain the GEO-cows?

(my apologies - couldn't hold back)


-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 29, 2002 2:31 PM
To: CF-Talk
Subject: Re: GEOFENCING


 I want to set up a GEO-Fence for Northern Ireland,

whats a geo-fence?

 I want the geofence to be comprised of four areas,
 the North West, the South West, the North East and the South East

don't need no stinking math ;-)  well not much anyway.

-find the y value that divides your area into north  south quadrants.
-find the x value that divides your area into east  west quadrants.
-examine the accuracy of your coordinates  find a guard digit value to
help you determine if a given point's x,y is within a fuzzy distance
of your north-south  east-west boundaries. if you're using decimal
degrees (DD) then maybe 0.001 but it really depends on how accurate your
coordinates are.

!--- north-south ---
cfif (thisY - minY) gte someGuardDigit
 !--- + values north ---
 cfset location=N
cfelse
 !--- - values south ---
 cfset location=S
/cfif

!--- east-west ---
cfif (thisX - minX) gte someGuardDigit
 !--- + values west ---
 cfset location=locationW
cfelse
 !--- - values east ---
 cfset location=locationE
/cfif





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 24/7/2545


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: GEOFENCING --(rediculous OT reply inside)

2002-07-29 Thread Brian Scandale

Or maybe to separate the GEO-Catholics and Protestants?

At 11:40 AM 7/29/02, you wrote:
to constrain the GEO-cows?

(my apologies - couldn't hold back)


-Original Message-
From: Paul Hastings [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 29, 2002 2:31 PM
To: CF-Talk
Subject: Re: GEOFENCING


 I want to set up a GEO-Fence for Northern Ireland,

whats a geo-fence?

 I want the geofence to be comprised of four areas,
 the North West, the South West, the North East and the South East

don't need no stinking math ;-)  well not much anyway.

-find the y value that divides your area into north  south quadrants.
-find the x value that divides your area into east  west quadrants.
-examine the accuracy of your coordinates  find a guard digit value to
help you determine if a given point's x,y is within a fuzzy distance
of your north-south  east-west boundaries. if you're using decimal
degrees (DD) then maybe 0.001 but it really depends on how accurate your
coordinates are.

!--- north-south ---
cfif (thisY - minY) gte someGuardDigit
 !--- + values north ---
 cfset location=N
cfelse
 !--- - values south ---
 cfset location=S
/cfif

!--- east-west ---
cfif (thisX - minX) gte someGuardDigit
 !--- + values west ---
 cfset location=locationW
cfelse
 !--- - values east ---
 cfset location=locationE
/cfif





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.380 / Virus Database: 213 - Release Date: 24/7/2545



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists