turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS/GRAPH and ODS Graphics
- /
- SAS Geospatial Capabilities

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-30-2009 07:30 PM

Does SAS have geospatial tabulation capabilities? For instance, if I have data that include geospatial coordinates for each record, can I perform operations that require spatial capability, such as, "sum all variable x for county a" in which county a is a shape?

Sorry if this sounds vague. I have a contractor who is proposing PostGIS as an alternative solution to SAS, and I am wondering what geospatial capabilities SAS might have of which I am unaware. It seems like the basic capability is ability to use geocodes in the data, and to use shape file information with those geocodes.

I'm going to bet that the capability is another layer, not a part of SAS, per se, but something based on a relationship between SAS and ESRI. ??

Sorry if this sounds vague. I have a contractor who is proposing PostGIS as an alternative solution to SAS, and I am wondering what geospatial capabilities SAS might have of which I am unaware. It seems like the basic capability is ability to use geocodes in the data, and to use shape file information with those geocodes.

I'm going to bet that the capability is another layer, not a part of SAS, per se, but something based on a relationship between SAS and ESRI. ??

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

11-30-2009 10:49 PM

SAS has several geospatial capabilities, built-in and otherwise.

I'll list a few below ...

SAS/Graph ships with many geographical maps (such as a world map, maps of each continent, and maps of most countries, and US maps by state & county), and "proc gmap" can plot data on these maps in several ways (such as choropleth maps that color each map area based on the response data values).

"proc mapimport" can be used to import shape-files into SAS maps that can be used by "proc gmap".

We have "proc geocode" which can estimate the latitude/longitude of addresses, and once you have lat/long coordinates, you can annotate markers on a map at those locations (the marker shape/color/size can be controlled).

We have "proc ginside" to tell whether a point is inside of a map area (for example, is a certain lat/long value inside a given state in the US map ... or you can create your own map polygon for a circle of a given radius and determine which points are inside that circle). Here's an example demonstrating "proc ginside"...

http://robslink.com/SAS/democd29/customer.htm

We also have functions to determine the distance between two lat/long points.

And, we have an interactive GIS product called SAS/GIS.

All of the above are built into SAS.

...

Then, we have a couple of things that allow you to use SAS and ESRI together.

For example, the "SAS Bridge to ESRI" allows you to send data from ESRI

over to SAS for statistical analytics, and then SAS passes the "answer" back

to ESRI.

I'll list a few below ...

SAS/Graph ships with many geographical maps (such as a world map, maps of each continent, and maps of most countries, and US maps by state & county), and "proc gmap" can plot data on these maps in several ways (such as choropleth maps that color each map area based on the response data values).

"proc mapimport" can be used to import shape-files into SAS maps that can be used by "proc gmap".

We have "proc geocode" which can estimate the latitude/longitude of addresses, and once you have lat/long coordinates, you can annotate markers on a map at those locations (the marker shape/color/size can be controlled).

We have "proc ginside" to tell whether a point is inside of a map area (for example, is a certain lat/long value inside a given state in the US map ... or you can create your own map polygon for a circle of a given radius and determine which points are inside that circle). Here's an example demonstrating "proc ginside"...

http://robslink.com/SAS/democd29/customer.htm

We also have functions to determine the distance between two lat/long points.

And, we have an interactive GIS product called SAS/GIS.

All of the above are built into SAS.

...

Then, we have a couple of things that allow you to use SAS and ESRI together.

For example, the "SAS Bridge to ESRI" allows you to send data from ESRI

over to SAS for statistical analytics, and then SAS passes the "answer" back

to ESRI.