[76] | 1 | // a set of points in map XY and Lon/Lat that are supposed to correspond between |
---|
| 2 | // forward and invers transforms |
---|
| 3 | Proj4js.defs["EPSG:54003"] = "+proj=mill +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R_A +ellps=WGS84 +datum=WGS84 +units=m +no_defs"; |
---|
| 4 | Proj4js.defs["EPSG:54029"] = "+proj=vandg +lon_0=0 +x_0=0 +y_0=0 +R_A +ellps=WGS84 +datum=WGS84 +units=m +no_defs"; |
---|
| 5 | Proj4js.defs["EPSG:2303X"] = "+proj=utm +zone=30 +ellps=intl +units=m +towgs84=-157.89,-17.16,-78.41,2.118,2.697,-1.434,-1.1097046576093785 +no_defs "; |
---|
| 6 | Proj4js.defs["EPSG:3035"] = "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000 +ellps=GRS80 +units=m +no_defs"; |
---|
| 7 | Proj4js.defs["EPSG:54009"] = "+proj=moll +lon_0=0 +units=m"; |
---|
| 8 | Proj4js.defs["EPSG:28191"] = "+proj=cass +lat_0=31.73409694444445 +lon_0=35.21208055555556 +x_0=170251.555 +y_0=126867.909 +a=6378300.789 +b=6356566.435 +towgs84=-275.722,94.7824,340.894,-8.001,-4.42,-11.821,1 +units=m +no_defs"; |
---|
| 9 | Proj4js.defs["EPSG:2958"] = "+proj=utm +zone=17 +ellps=GRS80 +units=m +no_defs"; |
---|
| 10 | Proj4js.defs["EPSG:102018"] = "+proj=gnom +lat_0=90 +lon_0=0 +x_0=6300000 +y_0=6300000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"; |
---|
| 11 | Proj4js.defs["ESRI:102026"] = "+proj=eqdc +lat_0=0 +lon_0=0 +lat_1=15 +lat_2=65 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"; |
---|
| 12 | Proj4js.defs["EPSG:26986"] = "+proj=lcc +lat_1=42.68333333333333 +lat_2=41.71666666666667 +lat_0=41 +lon_0=-71.5 +x_0=200000 +y_0=750000 +ellps=GRS80 +datum=NAD83 +units=m +no_defs"; |
---|
| 13 | |
---|
| 14 | //need test points for these |
---|
| 15 | |
---|
| 16 | /* |
---|
| 17 | Proj4js.defs["WKT0"] = 'PROJCS["HARN/WI.SheboyganWI-M",GEOGCS["HARN/WI.LL",DATUM["HARN/WI",SPHEROID["GRS1980",6378137.000,298.25722210],TOWGS84[0.0000,0.0000,0.0000,0.000000,0.000000,0.000000,0.00000000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse Mercator, Wisconsin County Variation"],PARAMETER["false_easting",79857.760],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",1.000000000000],PARAMETER["central_meridian",-87.55000000000000],PARAMETER["latitude_of_origin",43.26666666670000],PARAMETER["Average Geoid Height (meters)",-34.0200],PARAMETER["Average Elevation (system unit)",182.8800],UNIT["Meter",1.00000000000000]]'; |
---|
| 18 | Proj4js.defs["WKT1"] = 'GEOGCS["WGS84 Lat/Long Degrees -180 ==> +180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]', |
---|
| 19 | Proj4js.defs["WKT2"] = 'PROJCS["ALG-S-AN",GEOGCS["VOIR1875",DATUM["VOIR1875",SPHEROID["CLRK-IGN",6378249.200,293.46602129],TOWGS84[-73.0000,-247.0000,227.0000,0.000000,0.000000,0.000000,0.00000000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Lambert Tangential Conformal Conic Projection"],PARAMETER["false_easting",500000.000],PARAMETER["false_northing",300000.000],PARAMETER["scale_factor",0.999625800000],PARAMETER["central_meridian",2.70000000000000],PARAMETER["latitude_of_origin",33.30000000000000],UNIT["Meter",1.00000000000000]]', |
---|
| 20 | Proj4js.defs["WKT3"] = 'PROJCS["CANQ27-M15M",GEOGCS["LL27",DATUM["NAD27",SPHEROID["CLRK66",6378206.400,294.97869821]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",304800.000],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",0.999900000000],PARAMETER["central_meridian",-90.00000000000000],PARAMETER["latitude_of_origin",0.00000000000000],UNIT["Meter",1.00000000000000]]', |
---|
| 21 | Proj4js.defs["WKT4"] = 'LOCAL_CS["Non-Earth (Meter)",LOCAL_DATUM["Local Datum",0],UNIT["Meter", 1],AXIS["X",EAST],AXIS["Y",NORTH]]', |
---|
| 22 | Proj4js.defs["WKT5"] = 'PROJCS["SVY21",GEOGCS["SVY21[WGS84]",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",28001.642],PARAMETER["False_Northing",38744.572],PARAMETER["Central_Meridian",103.8333333333333],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",1.366666666666667],UNIT["Meter",1.0]]' |
---|
| 23 | */ |
---|
| 24 | |
---|
| 25 | Proj4js.testPoints = [ |
---|
| 26 | {code: 'EPSG:26986', |
---|
| 27 | xy: [ 231394.84,902621.11], |
---|
| 28 | ll: [-71.11881762742996,42.37346263960867] |
---|
| 29 | }/*, |
---|
| 30 | {code: 'ESRI:102026', |
---|
| 31 | xy: [3257939.781874, 5459865.918947], |
---|
| 32 | ll: [45.17578125, 41.923828125] |
---|
| 33 | }, |
---|
| 34 | {code: 'EPSG:54029', |
---|
| 35 | xy: [2359523.653024, 3280192.180346], |
---|
| 36 | ll: [21.796875, 28.828125] |
---|
| 37 | }, |
---|
| 38 | {code: 'EPSG:102018', |
---|
| 39 | xy: [350577.5930806119, 4705857.070634324], |
---|
| 40 | ll: [-75,46] |
---|
| 41 | }, |
---|
| 42 | {code: 'EPSG:2958', |
---|
| 43 | xy: [411461.807497, 4700123.744402], |
---|
| 44 | ll: [-82.07666015625, 42.448388671875] |
---|
| 45 | }, |
---|
| 46 | {code: 'EPSG:54009', |
---|
| 47 | xy: [3891383.58309223, 6876758.9933288], |
---|
| 48 | ll: [60,60] |
---|
| 49 | }, |
---|
| 50 | {code: 'EPSG:3035', |
---|
| 51 | xy: [4388138.60, 3321736.46], |
---|
| 52 | ll: [11.0, 53.0] |
---|
| 53 | }, |
---|
| 54 | {code: 'EPSG:23030', |
---|
| 55 | xy: [168035.13,4199884.83,-216.62], |
---|
| 56 | ll: [-6.77432123185356, 37.88456231505968] |
---|
| 57 | }, |
---|
| 58 | {code: 'EPSG:29100', |
---|
| 59 | xy: [5110899.06,10552971.81,-22.99], |
---|
| 60 | ll: [-53.0, 5.0,0.0] |
---|
| 61 | }, |
---|
| 62 | {code: 'EPSG:27700', |
---|
| 63 | xy: [343733.14, 612144.53, -51.89], |
---|
| 64 | ll: [-2.89, 55.4, 0] |
---|
| 65 | }, |
---|
| 66 | {code: 'EPSG:27492', |
---|
| 67 | xy: [25260.493584, -9579.245052], |
---|
| 68 | ll: [-7.84, 39.58] |
---|
| 69 | }, |
---|
| 70 | {code: 'EPSG:3411', |
---|
| 71 | xy: [1070076.44,-4635010.27,-136.63], |
---|
| 72 | ll: [-32, 48, 0] |
---|
| 73 | }, |
---|
| 74 | {code: 'EPSG:2403', |
---|
| 75 | xy: [27500000.00, 4198690.08, -109.02], |
---|
| 76 | ll: [81, 37.92, 0] |
---|
| 77 | }, |
---|
| 78 | {code: 'EPSG:21781', |
---|
| 79 | xy: [660389.52, 185731.63, -49.23], |
---|
| 80 | ll: [8.23, 46.82, 0] |
---|
| 81 | }, |
---|
| 82 | {code: 'EPSG:27563', |
---|
| 83 | xy: [653704.865208, 176887.660037], |
---|
| 84 | ll: [3.005, 43.89] |
---|
| 85 | }, |
---|
| 86 | {code: 'EPSG:54003', |
---|
| 87 | xy: [1223145.57,6491218.13,-6468.21], |
---|
| 88 | ll: [11.0, 53.0] |
---|
| 89 | }, |
---|
| 90 | {code: 'EPSG:3573', |
---|
| 91 | xy: [2923052.02009, 1054885.46559], |
---|
| 92 | ll: [9.84375, 61.875] |
---|
| 93 | }, |
---|
| 94 | {code: 'EPSG:54009', |
---|
| 95 | xy: [-10617602.79013849,4108337.84708608,0.00000000 ], |
---|
| 96 | ll: [-119,34,0] |
---|
| 97 | }, |
---|
| 98 | |
---|
| 99 | {code: 'EPSG:31466', |
---|
| 100 | xy: [2547685.01212,5699155.7345], |
---|
| 101 | ll: [6.685,51.425] |
---|
| 102 | }, |
---|
| 103 | {code: 'EPSG:54008', |
---|
| 104 | xy: [738509.49,5874620.38], |
---|
| 105 | ll: [11.0, 53.0] |
---|
| 106 | }, |
---|
| 107 | {code: 'EPSG:2057', |
---|
| 108 | xy: [-11608322.26,18282612.23,-281.67], |
---|
| 109 | ll: [-53.0, 5.0,0.0] |
---|
| 110 | }, |
---|
| 111 | {code: 'EPSG:54009', |
---|
| 112 | xy: [804759.21,6164983.82,-13598.03], |
---|
| 113 | ll: [11.0, 53.0, 0.0] |
---|
| 114 | }, |
---|
| 115 | {code: 'EPSG:3035', |
---|
| 116 | xy: [4388138.60, 3321736.46], |
---|
| 117 | ll: [11.0, 53.0] |
---|
| 118 | }, |
---|
| 119 | {code: 'EPSG:54032', |
---|
| 120 | xy: [-4024426.19, 6432026.98], |
---|
| 121 | ll: [-127.0, 52.11] |
---|
| 122 | }, |
---|
| 123 | {code: 'EPSG:3153', |
---|
| 124 | xy: [931625.91, 789252.65], |
---|
| 125 | ll: [-127.0, 52.11] |
---|
| 126 | }, |
---|
| 127 | {code: 'EPSG:32615', |
---|
| 128 | xy: [500000, 4649776.22482], |
---|
| 129 | ll: [-93, 42] |
---|
| 130 | }, |
---|
| 131 | {code: 'EPSG:26916', |
---|
| 132 | xy: [5110899.06,10552971.81,-22.99], |
---|
| 133 | ll: [-86.6056, 34.5790,0.0] |
---|
| 134 | }, |
---|
| 135 | {code: 'EPSG:32612', |
---|
| 136 | xy: [383357.429537, 6684599.06392], |
---|
| 137 | ll: [-113.109375, 60.28125] |
---|
| 138 | }, |
---|
| 139 | {code: 'EPSG:3031', |
---|
| 140 | xy: [-992481.633786, 628482.06328], |
---|
| 141 | ll: [-57.65625, -79.21875] |
---|
| 142 | }, |
---|
| 143 | {code: 'EPSG:31285', |
---|
| 144 | xy: [450055.70, 5262356.33], |
---|
| 145 | ll: [13.33333333333, 47.5] |
---|
| 146 | }, |
---|
| 147 | {code: 'EPSG:2736', |
---|
| 148 | xy: [603933.40, 7677505.64], |
---|
| 149 | ll: [34.0, -21.0] |
---|
| 150 | }, |
---|
| 151 | {code: 'EPSG:42304', |
---|
| 152 | xy: [-358185.267976, -40271.099023], |
---|
| 153 | ll: [-99.84375, 48.515625] |
---|
| 154 | }, |
---|
| 155 | {code: 'google', |
---|
| 156 | xy: [-8531595.34908, 6432756.94421], |
---|
| 157 | ll: [-76.640625, 49.921875] |
---|
| 158 | }, |
---|
| 159 | {code: 'EPSG:42304', |
---|
| 160 | xy: [-358185.267976, -40271.099023], |
---|
| 161 | ll: [-99.84375, 48.515625] |
---|
| 162 | }, |
---|
| 163 | {code: 'EPSG:28992', |
---|
| 164 | xy: [148312.15, 457804.79, 698.48], |
---|
| 165 | ll: [5.29, 52.11] |
---|
| 166 | }*/ |
---|
| 167 | ]; |
---|