Dear All,
I have a shapefile which contains information about some European regions (a picture is attached). Some areas have been merged together, such that some "macro-regions are created". I use:
to export information in Stata.
I have a dataset which contains information at grid level (lat and lon are provided), covering a larger number of regions/state than those I am working on. So I try to map those lat and lon into my regions using:
According to my understanding, geoinpoly should capture only those coordinates that correspond to my regions, excluding the others. Morever, it should use the same level of aggregation I have in my dataset. But if so, why when I use geoinpoly it maps also regions/countries outside my shapefile (for instance Austria) and with a different level of aggregation (I have region BE1 in my shapefile, while after geopoly I find BE11, BE12 and so on)?
Am I missing something?
Thanks in advance for any help you may want to provide.
Best,
Dario
I have a shapefile which contains information about some European regions (a picture is attached). Some areas have been merged together, such that some "macro-regions are created". I use:
Code:
spshape2dta "\NUTS_RG_01M_2013
I have a dataset which contains information at grid level (lat and lon are provided), covering a larger number of regions/state than those I am working on. So I try to map those lat and lon into my regions using:
Code:
geoinpoly _Y _X using NUTS_RG_01M_2013_shp
Am I missing something?
Thanks in advance for any help you may want to provide.
Best,
Dario

Comment