Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Point-to-Polygon in Stata

From   Jeremy Wells <>
Subject   st: Point-to-Polygon in Stata
Date   Tue, 16 Apr 2013 09:21:24 -0500

Hi all,

I have been using Dr. Pisati's fun spmap program, but I have run into
a bit of a snag.

I have a dataset of about 76,000 observations, coded by latitude/longitude,
in one country. I also have the coordinate file for the country produced by
shp2dta that includes the country's provinces. I would like to add a variable
to the dataset that codes each observation with the region from the coordinate
file, which is essentially a point-to-polygon operation.

I have tried to find a way to doing this, including this (
from Dr. Pisati, but I am not at all sure how to apply the code. (Plus,
this was written five years ago, so surely there is something that has
been developed and is a little easier to use!)

Thanks for your consideration! Please limit the responses to Stata-only
applications as I do not have access to expensive GIS software.

Jeremy Wells
Ph.D. Student
LSU Dept. of Poli. Sci.
324 Stubbs Hall
Baton Rouge, LA 70803

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index