The correct procedure to download ancillary files is -ssc desc usmaps2- then
-net get usmaps2, replace- (thanks Kit).
An error can be encountered when the difference between minimum and maximum
_X coordinates is large relative to the difference in _Y coordinates. For
example, mapping Tennessee will produce the following error:
. use "D:\DATA\maps\uscounty_fips.dta", clear
. tmap chor population if state == "47", id(_ID) map("D:\DATA\maps\uscounty.dta") ///
> legbox(lc(black) margin(medsmall)) legpos(5) legs(1.2) palette(Paired) ///
> title(`"`"Tennessee Population"'"') subtitle(`"`"Year 2000"'"') ///
> addplot(label countyname if state == `"`"47"'"', x(longitude) y(latitude))
xsize must be between 1.000 and 20.000
invalid syntax
r(198);
One solution would be change line 526 in -tmap__choropleth- from:
local XS = 4/`RATIO'
to:
local XS = cond(4/`RATIO' > 20, 20, 4/`RATIO')
Scott
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/