datameet / maps

Repository for all spatial data.
http://projects.datameet.org/maps/
MIT License
386 stars 371 forks source link

Help regarding STATA import #41

Open sandeepkrao opened 5 years ago

sandeepkrao commented 5 years ago

Hi,

I am trying to load the shp file into STATA s per the guidelines given in the following link https://www.stata.com/support/faqs/graphics/spmap-and-maps/

in the guideline, we have a command as follows for USA example shp2dta using s_06se12, database(usdb) coordinates(uscoord) genid(id)

for the above example i need database (usdb) specified that we wanted the database file to be named usdb.dta. coordinates (uscoord) specified that we wanted the coordinate file to be named uscoord.dta. genid(id) specified that we wanted the ID variable created in usdb.dta to be named id

Given the above example for USA, can you guide me how to do it for the India shp ? What are the names given to the database, coordinates and genid in the shp file provided by you?

Thanking you in advance

Regards Sandeep