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, statalist.org is already up and running.


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

Re: st: question about spmap


From   Maria Ana Vitorino <vitorino@wharton.upenn.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: question about spmap
Date   Wed, 25 Aug 2010 18:31:35 -0400

Hi Sergiy,

You are absolutely right...I thought both of the files were in UTM but one of them is in WSG84... It would be great to have the code you mentioned, so please do post it when Kit is back.
Thanks for your help!

Ana



On Aug 25, 2010, at 2:11 PM, Maria Ana Vitorino wrote:

Dear StataList users,
I have a question regarding spmap.
If I do
spmap using pt-c, id(id)
then I get a simple map with all the boundaries for the different regions, which is ok. But, as soon as I add some point data (from another file) the boundaries disappear.
For example, when I do:
spmap using pt-c, id(id) point(data("points.dta") xcoord(xcoord) ycoord(ycoord) fcolor(blue) )
only the points show up, not the boundaries for the regions.

How can I have both the boundaries of the regions and the point data?

Thanks for the help,

Ana
*
*   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/

*
*   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   |   Site index