proj4rb 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/MIT-LICENSE +9 -0
  2. data/README +169 -0
  3. data/data/GL27 +22 -0
  4. data/data/MD +0 -0
  5. data/data/TN +0 -0
  6. data/data/WI +0 -0
  7. data/data/WO +0 -0
  8. data/data/conus +0 -0
  9. data/data/epsg +5443 -0
  10. data/data/epsg-deprecated +2 -0
  11. data/data/esri +5937 -0
  12. data/data/esri.extra +948 -0
  13. data/data/hawaii +0 -0
  14. data/data/nad.lst +142 -0
  15. data/data/nad27 +809 -0
  16. data/data/nad83 +744 -0
  17. data/data/ntv1_can.dat +0 -0
  18. data/data/null +0 -0
  19. data/data/other.extra +49 -0
  20. data/data/proj_def.dat +17 -0
  21. data/data/prvi +0 -0
  22. data/data/stgeorge +0 -0
  23. data/data/stlrnc +0 -0
  24. data/data/stpaul +0 -0
  25. data/data/world +212 -0
  26. data/example/basic.rb +18 -0
  27. data/example/list-datums.rb +17 -0
  28. data/example/list-ellipsoids.rb +17 -0
  29. data/example/list-errors.rb +11 -0
  30. data/example/list-prime-meridians.rb +17 -0
  31. data/example/list-projection-types.rb +17 -0
  32. data/example/list-units.rb +17 -0
  33. data/example/version.rb +8 -0
  34. data/ext/extconf.rb +8 -0
  35. data/ext/mingw/rakefile.rb +38 -0
  36. data/ext/projrb.c +560 -0
  37. data/ext/vc/proj4_ruby.sln +19 -0
  38. data/ext/vc/proj4_ruby.vcproj +208 -0
  39. data/lib/proj4.rb +466 -0
  40. data/rakefile.rb +130 -0
  41. data/test/test_constants.rb +20 -0
  42. data/test/test_create_projection.rb +64 -0
  43. data/test/test_datums.rb +44 -0
  44. data/test/test_ellipsoids.rb +45 -0
  45. data/test/test_errors.rb +70 -0
  46. data/test/test_init_projection.rb +108 -0
  47. data/test/test_prime_meridians.rb +44 -0
  48. data/test/test_projection_type.rb +43 -0
  49. data/test/test_simple_projection.rb +57 -0
  50. data/test/test_transform.rb +114 -0
  51. data/test/test_units.rb +45 -0
  52. metadata +105 -0
data/data/hawaii ADDED
Binary file
data/data/nad.lst ADDED
@@ -0,0 +1,142 @@
1
+ Listing of State Plane North American Datum Zones
2
+
3
+ NGS zone number
4
+ State and zone 1927 1983
5
+
6
+ Alabama east .................. 101 101
7
+ Alabama west .................. 102 102
8
+ Alaska zone no. 1 ............. 5001 5001
9
+ Alaska zone no. 2 ............. 5002 5002
10
+ Alaska zone no. 3 ............. 5003 5003
11
+ Alaska zone no. 4 ............. 5004 5004
12
+ Alaska zone no. 5 ............. 5005 5005
13
+ Alaska zone no. 6 ............. 5006 5006
14
+ Alaska zone no. 7 ............. 5007 5007
15
+ Alaska zone no. 8 ............. 5008 5008
16
+ Alaska zone no. 9 ............. 5009 5009
17
+ Alaska zone no. 10 ............ 5010 5010
18
+ American Samoa ................ 5300
19
+ Arizona central ............... 202 202
20
+ Arizona east .................. 201 201
21
+ Arizona west .................. 203 203
22
+ Arkansas north ................ 301 301
23
+ Arkansas south ................ 302 302
24
+ California I .................. 401 401
25
+ California II ................. 402 402
26
+ California III ................ 403 403
27
+ California IV ................. 404 404
28
+ California V .................. 405 405
29
+ California VI ................. 406 406
30
+ California VII ................ 407
31
+ Colorado central .............. 502 502
32
+ Colorado north ................ 501 501
33
+ Colorado south ................ 503 503
34
+ Connecticut ................... 600 600
35
+ Delaware ...................... 700 700
36
+ Florida east .................. 901 901
37
+ Florida north ................. 903 903
38
+ Florida west .................. 902 902
39
+ Georgia east .................. 1001 1001
40
+ Georgia west .................. 1002 1002
41
+ Guam Island ................... 5400
42
+ Hawaii 1 ...................... 5101 5101
43
+ Hawaii 2 ...................... 5102 5102
44
+ Hawaii 3 ...................... 5103 5103
45
+ Hawaii 4 ...................... 5104 5104
46
+ Hawaii 5 ...................... 5105 5105
47
+ Idaho central ................. 1102 1102
48
+ Idaho east .................... 1101 1101
49
+ Idaho west .................... 1103 1103
50
+ Illinois east ................. 1201 1201
51
+ Illinois west ................. 1202 1202
52
+ Indiana east .................. 1301 1301
53
+ Indiana west .................. 1302 1302
54
+ Iowa north .................... 1401 1401
55
+ Iowa south .................... 1402 1402
56
+ Kansas north .................. 1501 1501
57
+ Kansas south .................. 1502 1502
58
+ Kentucky north ................ 1601 1601
59
+ Kentucky south ................ 1602 1602
60
+ Louisiana north ............... 1701 1701
61
+ Louisiana offshore ............ 1703 1703
62
+ Louisiana south ............... 1702 1702
63
+ Maine east .................... 1801 1801
64
+ Maine west .................... 1802 1802
65
+ Maryland ...................... 1900 1900
66
+ Massachusetts island .......... 2002 2002
67
+ Massachusetts mainland ........ 2001 2001
68
+ Michigan central/l ............ 2112 2112 current
69
+ Michigan central/m ............ 2102 old
70
+ Michigan east ................. 2101 old
71
+ Michigan north ................ 2111 2111 current
72
+ Michigan south ................ 2113 2113 current
73
+ Michigan west ................. 2103 old
74
+ Minnesota central ............. 2202 2202
75
+ Minnesota north ............... 2201 2201
76
+ Minnesota south ............... 2203 2203
77
+ Mississippi east .............. 2301 2301
78
+ Mississippi west .............. 2302 2302
79
+ Missouri central .............. 2402 2402
80
+ Missouri east ................. 2401 2401
81
+ Missouri west ................. 2403 2403
82
+ Montana ....................... 2500
83
+ Montana central ............... 2502
84
+ Montana north ................. 2501
85
+ Montana south ................. 2503
86
+ Nebraska ...................... 2600
87
+ Nebraska north ................ 2601
88
+ Nebraska south ................ 2602
89
+ Nevada central ................ 2702 2702
90
+ Nevada east ................... 2701 2701
91
+ Nevada west ................... 2703 2703
92
+ New hampshire ................. 2800 2800
93
+ New jersey .................... 2900 2900
94
+ New mexico central ............ 3002 3002
95
+ New mexico east ............... 3001 3001
96
+ New mexico west ............... 3003 3003
97
+ New york central .............. 3102 3102
98
+ New york east ................. 3101 3101
99
+ New york long island .......... 3104 3104
100
+ New york west ................. 3103 3103
101
+ North carolina ................ 3200 3200
102
+ North dakota north ............ 3301 3301
103
+ North dakota south ............ 3302 3302
104
+ Ohio north .................... 3401 3401
105
+ Ohio south .................... 3402 3402
106
+ Oklahoma north ................ 3501 3501
107
+ Oklahoma south ................ 3502 3502
108
+ Oregon north .................. 3601 3601
109
+ Oregon south .................. 3602 3602
110
+ Pennsylvania north ............ 3701 3701
111
+ Pennsylvania south ............ 3702 3702
112
+ Puerto Rico, Virgin Islands ... 5201 5200
113
+ Rhode Island .................. 3800 3800
114
+ South Carolina ................ 3900
115
+ South Carolina north .......... 3901
116
+ South Carolina south .......... 3902
117
+ South Dakota north ............ 4001 4001
118
+ South Dakota south ............ 4002 4002
119
+ Tennessee ..................... 4100 4100
120
+ Texas central ................. 4203 4203
121
+ Texas north ................... 4201 4201
122
+ Texas north central ........... 4202 4202
123
+ Texas south ................... 4205 4205
124
+ Texas south central ........... 4204 4204
125
+ Utah central .................. 4302 4302
126
+ Utah north .................... 4301 4301
127
+ Utah south .................... 4303 4303
128
+ Vermont ....................... 4400 4400
129
+ Virgin Islands, St. Croix ..... 5202
130
+ Virginia north ................ 4501 4501
131
+ Virginia south ................ 4502 4502
132
+ Washington north .............. 4601 4601
133
+ Washington south .............. 4602 4602
134
+ West Virginia north ........... 4701 4701
135
+ West Virginia south ........... 4702 4702
136
+ Wisconsin central ............. 4802 4802
137
+ Wisconsin north ............... 4801 4801
138
+ Wisconsin south ............... 4803 4803
139
+ Wyoming east .................. 4901 4901
140
+ Wyoming east central .......... 4902 4902
141
+ Wyoming west .................. 4904 4904
142
+ Wyoming west central .......... 4903 4903