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]

st: problem when using shp2dta with dbf file


From   "Vitorino, Maria Ana" <vitorino@wharton.upenn.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: problem when using shp2dta with dbf file
Date   Mon, 22 Feb 2010 19:25:58 -0500

Dear Statalist users,

I'm trying to convert a shp and a dbf files by following the instructions in http://www.stata.com/support/faqs/graphics/tmap.html

Unfortunately, when I type:

shp2dta using Cont_AAd_CAOP20090, database(ptdb) coordinates(ptcoord) genid(id)

I get the following error message

. shp2dta using Cont_AAd_CAOP20090, database(ptdb) coordinates(ptcoord) genid(id)
             st_addvar():  3300  argument out of range
              read_dbf():     -  function returned error
                 <istmt>:     -  function returned error
r(3300);

Am I doing anything wrong? If anyone would be kind enough to try this, the shp and dbf files can be downloaded from

http://dl.dropbox.com/u/1563490/Archive.zip

Any help is appreciated!

Thanks,
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/


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