Dear All,
I need to match some coordinates to NUTS regions. An example of data is reported below:
I generated stata files from a shapefile of European regions, i.e. NUTS_RG_01M_2013_shp and NUTS_RG_01M_2013. Then I use:
Surprisingly, I cannot get any match
I have been using the same files to match other data and it worked perfectly. Furthermore, if I check the coordinates manually, I can locate them into regions that are surely in the used data NUTS_RG_01M_2013.
Any help you may provide would be extremely useful.
Best
Dario
I need to match some coordinates to NUTS regions. An example of data is reported below:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(_Y _X) 48.57238 13.521522 51.18266 4.280047 50.87523 2.82095 50.75 5.25 51.46054 4.773229 50.75 4.25 51.12978 3.7325006 51.11182 5.639076 51.17033 5.223158 50.80076 3.295098 51.50127 4.77865 51.223 4.747021 51.15796 3.246377 51.09604 2.8189075 49.75336 5.662157 50.35294 6.161546 50.26442 5.735323 50.70091 5.71087 50.27581 4.296569 49.97693 4.347059 end
Code:
geoinpoly _Y _X using Data\NUTS_RG_01M_2013_shp, unique merge m:1 _ID using "Data\NUTS_RG_01M_2013"
Code:
. merge m:1 _ID using "Data\NUTS_RG_01M_2013" Result Number of obs ----------------------------------------- Not matched 340 from master 20 (_merge==1) from using 320 (_merge==2) Matched 0 (_merge==3) -----------------------------------------
Any help you may provide would be extremely useful.
Best
Dario
Comment