Statalist


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

st: spmap: color only selected areas?


From   "Shelob1985@libero.it" <Shelob1985@libero.it>
To   statalist@hsphsun2.harvard.edu
Subject   st: spmap: color only selected areas?
Date   Tue, 14 Apr 2009 17:11:59 +0200 (CEST)

I need to draw a map with different states and I want only some selected states 
to be colored. I tried to create a dummy which is =1 in those areas that need 
to be colored and use a Choropleth map but it didn't work. Any suggestions? 
Thanks everyone!

>----Messaggio originale----
>Da: Shelob1985@libero.it
>Data: 12/04/2009 19.35
>A: <statalist@hsphsun2.harvard.edu>
>Ogg: working with shapefiles converted into dta
>
>Hi everybody. 
>I have a dta database which contains the indication of latitude and 
longitude 
>of, say, South American mineral ores. I have to find out in which country 
of 
>South America each mineral ore is located. Now, I could look up each 
single 
>point on google earth or something, but suppose I have a shapefile of 
South 
>America which records also the boundaries of states, by means of latitude 
and 
>longitude data. Is there any way I can use Stata to assign each data point 
to 
>the country in which it falls? 
>I know I may go a little off topic since perhaps my issue can only be 
>addressed with a GIS software....
>Thanks,
>
>Sheila


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index