Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Getting error message when using tmap


From   Maurizio Pisati <[email protected]>
To   [email protected]
Subject   Re: st: Getting error message when using tmap
Date   Tue, 01 Feb 2005 00:22:33 +0100

Dear Daniel,
as indicated in the User's Guide available from the SSC Archive, -tmap- version 2.0 requires that boundary files be sorted by _ID.
Best,
Maurizio Pisati




At 17.24 31/01/05 -0500, you wrote:

Dear Statalisters,

When I use tmap using a coordinate file I created from Census geography data, I consistently get an error message saying ``master data not sorted''
Does anyone have any thoughts as to why I get this error from the following script? When I use Scott Merryman's find county-level maps, I do not have this problem; when I use SuperPUMA maps that I generated from the Census bureau's geography data, I get this error. I imagine this means that the problem is in how my polygon data are sorted, but I cannot figure out what the difference is between the setup for my data and Scott Merryman's. Does anyone have any suggestions?


clear
use http://solidarity.flanner.nd.edu/data/SPUMA.dta
save SPUMA.dta
clear
set obs 9
gen _ID = _n
gen data = uniform()
tmap chor data, id(_ID) map(SPUMA.dta)

Thank you,
Daniel Lawson

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



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