Dear All,
I have a (possibly) rather silly question. I tried to download a shapefile for Europe from the European Commission website (Countries - GISCO - Eurostat). Here I selected year = 2004; File format = SHP: Geometric type = Polygons; Scale = 01M: CRS = EPSG: 3035.
Then, I tried to use spshape2date to convert the shape file:
When I look at the coordinate file, I get:
Clearly the _X and the _Y are not as expected. I have also tried to use the user-written shp2dta, but the result is the same. Is there something wrong with my command? Indeed, if I use an old shape file for European regions, everything runs smoothly. I checked the help file for spshape2dta but I cannot find any solution to this problem
Any help you may provide would be highly appreciated.
Dario
I have a (possibly) rather silly question. I tried to download a shapefile for Europe from the European Commission website (Countries - GISCO - Eurostat). Here I selected year = 2004; File format = SHP: Geometric type = Polygons; Scale = 01M: CRS = EPSG: 3035.
Then, I tried to use spshape2date to convert the shape file:
Code:
spshape2dta NUTS_RG_01M_2024_3035.shp
Code:
* Example generated by -dataex-. For more info, type help dataex clear input int _ID double(_X _Y) strL rec_header long shape_order 1 5179983.544 2144882.9366999995 "" 2 1 5179843.0426 2142681.5287999995 "" 3 1 5179769.8795 2141537.2924000006 "" 4 1 5181114.7706 2139746.4126999993 "" 5 1 5181875.865700001 2138733.3784 "" 6 1 5184864.799000001 2138796.2807 "" 7 1 5186436.989800001 2140037.3862999994 "" 8 1 5186404.238500001 2140480.1633 "" 9 1 5186311.7422 2141730.2251999993 "" 10 1 5186264.8584 2142363.6045999993 "" 11 1 5187293.4475 2144202.8122000005 "" 12 1 5191437.300899999 2144719.4924 "" 13 1 5192365.8682 2144415.7705000006 "" 14 1 5193275.6537 2143616.419399999 "" 15 1 5194138.1588 2142858.8817 "" 16 1 5194637.603399999 2143211.1196999997 "" 17 1 5195645.569599999 2143922.2386000007 "" 18 1 5198279.4508 2144087.0813999996 "" 19 1 5198337.7116 2142152.5166999996 "" 20 1 5198352.5901999995 2141657.5976 "" 21 1 5198544.7941 2141358.3759000003 "" 22 1 5198835.249 2140906.2454000004 "" 23 1 5198934.271600001 2140524.9142000005 "" 24 1 5199236.3432 2139361.7434 "" 25 1 5199849.679199999 2138950.348200001 "" 26 1 5199858.8058 2137763.8488 "" 27 1 5199266.619899999 2137526.1125000007 "" 28 1 5197914.373500001 2137694.9998000003 "" 29 1 5197793.704500001 2136700.879899999 "" 30 1 5196841.8429000005 2136153.566400001 "" 31 1 5197056.4508 2135158.6971000005 "" 32 1 5196124.2513 2132871.382099999 "" 33 1 5196220.7765 2131477.4283000007 "" 34 1 5195975.2566 2130653.1086999998 "" 35 1 5196292.391899999 2129397.4078 "" 36 1 5197305.987 2128158.5988999996 "" 37 1 5197755.015900001 2126184.846999999 "" 38 1 5197149.1713 2123231.585999999 "" 39 1 5198067.586200001 2122227.0902999993 "" 40 1 5198243.6611 2120614.6942 "" 41 1 5199844.331900001 2119289.4211999998 "" 42 1 5200429.121300001 2117769.2017 "" 43 1 5201057.1099 2117143.6558 "" 44 1 5201644.271400001 2114995.6489000004 "" 45 1 5200394.9377999995 2114290.2064999994 "" 46 1 5199351.435699999 2113208.9652999993 "" 47 1 5198736.3091 2112571.857000001 "" 48 1 5197698.8049 2112268.3329000007 "" 49 1 5194505.2982 2111335.3024000004 "" 50 end
Clearly the _X and the _Y are not as expected. I have also tried to use the user-written shp2dta, but the result is the same. Is there something wrong with my command? Indeed, if I use an old shape file for European regions, everything runs smoothly. I checked the help file for spshape2dta but I cannot find any solution to this problem
Any help you may provide would be highly appreciated.
Dario