LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (July 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 12 Jul 2010 15:14:56 -0400
Reply-To:   msz03@albany.edu
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Mike Zdeb <msz03@ALBANY.EDU>
Subject:   Re: Point-in-polygon analysis
Content-Type:   text/plain;charset=iso-8859-1

hi ... new PROC GINSIDE, if yoy have 9.2 and a SAS/Graph license

http://tinyurl.com/29lr27u

and (from the web page) ...

The GINSIDE procedure compares a data set of X and Y coordinates to a map dataset containing map polygons. The procedure determines whether the X and Y coordinates for each point fall inside of or outside of the map polygons. If the point falls inside of a polygon, then the ID variable is set to the ID value of that polygon. For example, if a map contains states, then the ID variable of the output data set is set to the state that contains the point. The GINSIDE procedure can be used with the SAS/GRAPH map data sets and the results can be used to annotate onto a map with the GMAP procedure.

and ...

Tips and Tricks IV: More SAS/GRAPH® Map Secrets Darrell Massengill and Jeff Phillips, SAS Institute

http://support.sas.com/resources/papers/proceedings09/230-2009.pdf

-- Mike Zdeb U@Albany School of Public Health One University Place (Room 119) Rensselaer, New York 12144-3456 P/518-402-6479 F/630-604-1475

> Hi, > > Does anyone have ideas about using SAS for doing point-in-polygon analysis? I > have a set of lat-long coordinates for which I need to determine all pair(s) > of coordinates that are inside an irregular polygon. I can do this using a GIS > application using spatial join functions, but I am wondering if SAS has any > built-in functions which can be used for this kind of analysis. > > Thank you for your attention. > > Sid >


Back to: Top of message | Previous page | Main SAS-L page