Here's an example of how to draw a circle around a point:
http://maps.forum.nu/gm_sensitive_circle2.html

BUT, according to what you describe that's not what you need, because
a school is not a point. It would be more accurate to draw a circle
around a rectangle, or more precisely, a rectangle with rounded
corners around another rectangle.

To do that, and assuming the school's gounds are a rectangle, you'd
take the circle example and break it up into four quarters of 90
degrees each, with the same orientation as the center rectangle. Draw
each of those quarters using the corner points of the central
rectangle, (the school), and then connect those four curves with
straight lines.
That should give you the kind of "buffer zone" you're describing.

--
Marcelo - http://maps.forum.nu
--




On Dec 26, 8:54 pm, Lawmaps <[email protected]> wrote:
> Does anyone have advice on how to draw a buffer circle around a given
> point?
> My particular interest is in criminal buffer zones.  Under various
> criminal statutes a crime can be committed or enhancements can be
> added simply for being in a particular "zone" or buffer area.  For
> example:
> You can be imprisoned for up to five years if you have a gun in a "gun-
> free zone" - schools have a 1,000 foot buffer from the school site
> under the federal gun-free zone act.  Some states expand this to
> include parks, etc.  Needless to say, millions of people likely are in
> violation of this every day.
> Restraining orders usually denote 100 yards from particular locations.
>
> Other such laws are: can't be within 2,500 feet of school if you are a
> convicted sex offender (Florida), sentence enhancement for
> distributing drugs within 1,000 feet of school (California), etc.
>
> This kind of map would be useful to anyone seeking to stay on the
> "straight and narrow" so to speak, as well as to those who face
> charges.
>
> Essentially, one would want to poll the Google maps site for POIs
> within a given local (e.g. schools within a given town or zip) or a
> given address and draw buffer areas around the resulting data points.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to