Revision 11135 branches/F2/libraries/libJCRS/src/org/gvsig/crs/Proj4.java
Proj4.java | ||
---|---|---|
8 | 8 |
private static ArrayList unitNameList= new ArrayList(); |
9 | 9 |
private static ArrayList projectionParameterNameList= new ArrayList(); |
10 | 10 |
private static ArrayList projectionParameterList= new ArrayList(); |
11 |
private static ArrayList projectionParameterDefaultValueList= new ArrayList(); |
|
12 |
private static ArrayList projectionParameterMaxValueList= new ArrayList(); |
|
13 |
private static ArrayList projectionParameterMinValueList= new ArrayList(); |
|
11 | 14 |
private static ArrayList projectionParameterUnitList= new ArrayList(); |
12 | 15 |
private static ArrayList projectionAcronymList= new ArrayList(); |
13 | 16 |
private static ArrayList projectionParameterAcronymList= new ArrayList(); |
... | ... | |
15 | 18 |
|
16 | 19 |
public Proj4() throws CrsException |
17 | 20 |
{ |
18 |
defineProjectionNames(); |
|
19 |
defineProjectionParameterNameList(); |
|
20 |
defineProjectionParameterUnitList(); |
|
21 |
//defineProjectionNames(); |
|
22 |
//defineProjectionParameterNameList(); |
|
23 |
//defineProjectionParameterUnitList(); |
|
24 |
defineUnitNameList(); |
|
21 | 25 |
defineProjectionParameterList(); |
22 |
defineUnitNameList();
|
|
26 |
defineProjections();
|
|
23 | 27 |
} |
24 | 28 |
|
25 | 29 |
private void defineUnitNameList() throws CrsException |
26 | 30 |
{ |
27 |
String[] unitName={"Angular"}; |
|
28 |
unitNameList.add(0,unitName); |
|
29 |
unitName[0]="Linear"; |
|
30 |
unitNameList.add(1,unitName); |
|
31 |
unitName[0]="Unitless"; |
|
32 |
unitNameList.add(2,unitName); |
|
33 |
addUnitName(2,"Adimensional"); |
|
31 |
int count=0; |
|
34 | 32 |
|
33 |
{ |
|
34 |
String[] unitName={"Angular"}; |
|
35 |
unitNameList.add(count,unitName); |
|
36 |
} |
|
37 |
|
|
38 |
count++; |
|
39 |
{ |
|
40 |
String[] unitName={"Linear"}; |
|
41 |
unitNameList.add(count,unitName); |
|
42 |
} |
|
43 |
|
|
44 |
count++; |
|
45 |
{ |
|
46 |
String[] unitName={"Unitless"}; |
|
47 |
unitNameList.add(count,unitName); |
|
48 |
addUnitName(count,"Adimensional"); |
|
49 |
} |
|
50 |
|
|
35 | 51 |
} |
36 | 52 |
|
37 | 53 |
private void defineProjectionParameterList() throws CrsException |
38 | 54 |
{ |
39 | 55 |
int count=0; |
56 |
|
|
57 |
{ // azimuth |
|
58 |
String[] parameterName={"azimuth"}; |
|
59 |
projectionParameterNameList.add(count,parameterName); |
|
60 |
addProjectionParameterName(count,"Azimuth of initial line"); |
|
61 |
addProjectionParameterName(count,"AzimuthAngle"); |
|
62 |
|
|
63 |
String[] parameterUnit={"Angular"}; |
|
64 |
projectionParameterUnitList.add(count,parameterUnit); |
|
65 |
} |
|
66 |
|
|
67 |
count++; |
|
68 |
{ // central_meridian |
|
69 |
String[] parameterName={"central_meridian"}; |
|
70 |
projectionParameterNameList.add(count,parameterName); |
|
71 |
addProjectionParameterName(count,"Longitude of natural origin"); |
|
72 |
addProjectionParameterName(count,"NatOriginLong"); |
|
73 |
addProjectionParameterName(count,"Longitude of projection center"); |
|
74 |
addProjectionParameterName(count,"ProjCenterLong"); |
|
75 |
addProjectionParameterName(count,"Longitude of false origin"); |
|
76 |
addProjectionParameterName(count,"FalseOriginLong"); |
|
77 |
addProjectionParameterName(count,"StraightVertPoleLong"); |
|
78 |
|
|
79 |
String[] parameterUnit={"Angular"}; |
|
80 |
projectionParameterUnitList.add(count,parameterUnit); |
|
81 |
} |
|
40 | 82 |
|
41 |
// Albers Equal-Area Conic |
|
42 |
String[] parameterName={"Latitude of natural origin"}; |
|
43 |
projectionParameterList.add(count,parameterName); |
|
83 |
count++; |
|
84 |
{ // false_easting |
|
85 |
String[] parameterName={"false_easting"}; |
|
86 |
projectionParameterNameList.add(count,parameterName); |
|
87 |
addProjectionParameterName(count,"Easting of false origin"); |
|
88 |
addProjectionParameterName(count,"FalseEasting"); |
|
89 |
addProjectionParameterName(count,"FalseOriginEasting"); |
|
90 |
|
|
91 |
String[] parameterUnit={"Linear"}; |
|
92 |
projectionParameterUnitList.add(count,parameterUnit); |
|
93 |
} |
|
44 | 94 |
|
45 |
// Mercator |
|
46 | 95 |
count++; |
47 |
parameterName[0]="Latitude of natural origin"; |
|
48 |
projectionParameterList.add(count,parameterName); //21 |
|
49 |
addProjectionParameter(count,"Longitude of natural origin"); |
|
50 |
addProjectionParameter(count,"Scale factor at natural origin"); |
|
51 |
addProjectionParameter(count,"False Easting"); |
|
52 |
addProjectionParameter(count,"False Northing"); |
|
96 |
{ // false_northing |
|
97 |
String[] parameterName={"false_northing"}; |
|
98 |
projectionParameterNameList.add(count,parameterName); |
|
99 |
addProjectionParameterName(count,"Northing of false origin"); |
|
100 |
addProjectionParameterName(count,"FalseNorthing"); |
|
101 |
addProjectionParameterName(count,"FalseOriginNorthing"); |
|
102 |
|
|
103 |
String[] parameterUnit={"Linear"}; |
|
104 |
projectionParameterUnitList.add(count,parameterUnit); |
|
105 |
} |
|
106 |
|
|
107 |
count++; |
|
108 |
{ // latitude_of_center |
|
109 |
String[] parameterName={"latitude_of_center"}; |
|
110 |
projectionParameterNameList.add(count,parameterName); |
|
111 |
addProjectionParameterName(count,"Latitude of false origin"); |
|
112 |
addProjectionParameterName(count,"NatOriginLat"); |
|
113 |
addProjectionParameterName(count,"CenterLat"); |
|
114 |
|
|
115 |
String[] parameterUnit={"Angular"}; |
|
116 |
projectionParameterUnitList.add(count,parameterUnit); |
|
117 |
} |
|
118 |
|
|
119 |
count++; |
|
120 |
{ // latitude_of_origin |
|
121 |
String[] parameterName={"latitude_of_origin"}; |
|
122 |
projectionParameterNameList.add(count,parameterName); |
|
123 |
addProjectionParameterName(count,"Latitude of natural origin"); |
|
124 |
addProjectionParameterName(count,"NatOriginLat"); |
|
125 |
addProjectionParameterName(count,"Latitude of projection center"); |
|
126 |
addProjectionParameterName(count,"ProjCenterLat"); |
|
127 |
addProjectionParameterName(count,"Latitude of false origin"); |
|
128 |
addProjectionParameterName(count,"FalseOriginLat"); |
|
129 |
|
|
130 |
String[] parameterUnit={"Angular"}; |
|
131 |
projectionParameterUnitList.add(count,parameterUnit); |
|
132 |
} |
|
133 |
|
|
134 |
count++; |
|
135 |
{ // longitude_of_center |
|
136 |
String[] parameterName={"longitude_of_center"}; |
|
137 |
projectionParameterNameList.add(count,parameterName); |
|
138 |
addProjectionParameterName(count,"Longitude of false origin"); |
|
139 |
addProjectionParameterName(count,"NatOriginLong"); |
|
140 |
addProjectionParameterName(count,"CenterLong"); |
|
141 |
|
|
142 |
String[] parameterUnit={"Angular"}; |
|
143 |
projectionParameterUnitList.add(count,parameterUnit); |
|
144 |
} |
|
145 |
|
|
146 |
count++; |
|
147 |
{ // pseudo_standard_parallel_1 |
|
148 |
String[] parameterName={"pseudo_standard_parallel_1"}; |
|
149 |
projectionParameterNameList.add(count,parameterName); |
|
150 |
addProjectionParameterName(count,"Latitude of Pseudo Standard Parallel"); |
|
151 |
|
|
152 |
String[] parameterUnit={"Angular"}; |
|
153 |
projectionParameterUnitList.add(count,parameterUnit); |
|
154 |
} |
|
53 | 155 |
|
54 |
// Transverse Mercator |
|
55 | 156 |
count++; |
56 |
parameterName[0]="Latitude of natural origin"; |
|
57 |
projectionParameterList.add(count,parameterName); |
|
58 |
addProjectionParameter(count,"Longitude of natural origin"); |
|
59 |
addProjectionParameter(count,"Scale factor at natural origin"); |
|
60 |
addProjectionParameter(count,"False Easting"); |
|
61 |
addProjectionParameter(count,"False Northing"); |
|
157 |
{ // satellite_height |
|
158 |
String[] parameterName={"satellite_height"}; |
|
159 |
projectionParameterNameList.add(count,parameterName); |
|
160 |
addProjectionParameterName(count,"Satellite Height"); |
|
161 |
|
|
162 |
String[] parameterUnit={"Linear"}; |
|
163 |
projectionParameterUnitList.add(count,parameterUnit); |
|
164 |
} |
|
62 | 165 |
|
63 |
|
|
166 |
count++; |
|
167 |
{ // scale_factor |
|
168 |
String[] parameterName={"scale_factor"}; |
|
169 |
projectionParameterNameList.add(count,parameterName); |
|
170 |
addProjectionParameterName(count,"Scale factor at natural origin"); |
|
171 |
addProjectionParameterName(count,"ScaleAtNatOrigin"); |
|
172 |
addProjectionParameterName(count,"ScaleAtCenter"); |
|
173 |
|
|
174 |
String[] parameterUnit={"Unitless"}; |
|
175 |
projectionParameterUnitList.add(count,parameterUnit); |
|
176 |
} |
|
177 |
|
|
178 |
count++; |
|
179 |
{ // standard_parallel_1 |
|
180 |
String[] parameterName={"standard_parallel_1"}; |
|
181 |
projectionParameterNameList.add(count,parameterName); |
|
182 |
addProjectionParameterName(count,"Latitude of first standard parallel"); |
|
183 |
addProjectionParameterName(count,"StdParallel1"); |
|
184 |
|
|
185 |
String[] parameterUnit={"Angular"}; |
|
186 |
projectionParameterUnitList.add(count,parameterUnit); |
|
187 |
} |
|
188 |
|
|
189 |
count++; |
|
190 |
{ // standard_parallel_2 |
|
191 |
String[] parameterName={"standard_parallel_2"}; |
|
192 |
projectionParameterNameList.add(count,parameterName); |
|
193 |
addProjectionParameterName(count,"Latitude of second standard parallel"); |
|
194 |
addProjectionParameterName(count,"StdParallel2"); |
|
195 |
|
|
196 |
String[] parameterUnit={"Angular"}; |
|
197 |
projectionParameterUnitList.add(count,parameterUnit); |
|
198 |
} |
|
199 |
|
|
200 |
count++; |
|
201 |
{ // semi_major |
|
202 |
String[] parameterName={"semi_major"}; |
|
203 |
projectionParameterNameList.add(count,parameterName); |
|
204 |
addProjectionParameterName(count,"semi_major_axis"); |
|
205 |
|
|
206 |
String[] parameterUnit={"Linear"}; |
|
207 |
projectionParameterUnitList.add(count,parameterUnit); |
|
208 |
} |
|
209 |
|
|
210 |
count++; |
|
211 |
{ // semi_minor |
|
212 |
String[] parameterName={"semi_minor"}; |
|
213 |
projectionParameterNameList.add(count,parameterName); |
|
214 |
addProjectionParameterName(count,"semi_minor_axis"); |
|
215 |
|
|
216 |
String[] parameterUnit={"Linear"}; |
|
217 |
projectionParameterUnitList.add(count,parameterUnit); |
|
218 |
} |
|
219 |
|
|
64 | 220 |
} |
65 | 221 |
|
66 |
private void defineProjectionParameterNameList() throws CrsException
|
|
222 |
private void defineProjections() throws CrsException
|
|
67 | 223 |
{ |
68 |
String[] parameterName={"latitude_of_origin"}; |
|
69 | 224 |
int count=0; |
70 |
projectionParameterNameList.add(count,parameterName); |
|
71 |
addProjectionParameterName(count,"Latitude origin"); |
|
72 |
addProjectionParameterName(count,"Latitude of natural origin"); |
|
73 | 225 |
|
226 |
{// Albers Equal-Area Conic |
|
227 |
String[] projectionName={"Albers_Conic_Equal_Area"}; |
|
228 |
projectionNameList.add(count,projectionName); |
|
229 |
addProjectionName(count,"Albers Equal-Area Conic"); |
|
230 |
addProjectionName(count,"9822"); |
|
231 |
|
|
232 |
String[] parameterName={"standard_parallel_1"}; |
|
233 |
projectionParameterList.add(count,parameterName); |
|
234 |
addProjectionParameter(count,"standard_parallel_2"); |
|
235 |
addProjectionParameter(count,"latitude_of_center"); |
|
236 |
addProjectionParameter(count,"longitude_of_center"); |
|
237 |
addProjectionParameter(count,"false_easting"); |
|
238 |
addProjectionParameter(count,"false_northing"); |
|
239 |
|
|
240 |
String[] parameterAcronym={"lat_1"}; |
|
241 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
242 |
addProjectionParameterAcronymList(count,"lat_2"); |
|
243 |
addProjectionParameterAcronymList(count,"lat_0"); |
|
244 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
245 |
addProjectionParameterAcronymList(count,"x_0"); |
|
246 |
addProjectionParameterAcronymList(count,"y_0"); |
|
247 |
|
|
248 |
String[] parameterDefaultValue={"0.0"}; |
|
249 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
250 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
251 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
252 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
253 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
254 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
255 |
|
|
256 |
String[] parameterMaxValue={"90.0"}; |
|
257 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
258 |
addProjectionParameterMaxValue(count,"90.0"); |
|
259 |
addProjectionParameterMaxValue(count,"90.0"); |
|
260 |
addProjectionParameterMaxValue(count,"360.0"); |
|
261 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
262 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
263 |
|
|
264 |
String[] parameterMinValue={"-90.0"}; |
|
265 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
266 |
addProjectionParameterMinValue(count,"-90.0"); |
|
267 |
addProjectionParameterMinValue(count,"-90.0"); |
|
268 |
addProjectionParameterMinValue(count,"-360.0"); |
|
269 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
270 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
271 |
|
|
272 |
String[] projectionAcronym={"aea"}; |
|
273 |
projectionAcronymList.add(count,projectionAcronym); |
|
274 |
} |
|
275 |
|
|
74 | 276 |
count++; |
75 |
parameterName[0]="central_meridian"; |
|
76 |
projectionParameterNameList.add(count,parameterName); |
|
77 |
addProjectionParameterName(count,"Longitude of natural origin"); |
|
277 |
{// Azimuthal_Equidistantt |
|
278 |
String[] projectionName={"Azimuthal_Equidistant"}; |
|
279 |
projectionNameList.add(count,projectionName); |
|
280 |
addProjectionName(count,"Azimuthal Equidistant"); |
|
281 |
|
|
282 |
String[] parameterName={"latitude_of_center"}; |
|
283 |
projectionParameterList.add(count,parameterName); |
|
284 |
addProjectionParameter(count,"longitude_of_center"); |
|
285 |
addProjectionParameter(count,"false_easting"); |
|
286 |
addProjectionParameter(count,"false_northing"); |
|
287 |
|
|
288 |
String[] parameterAcronym={"lat_0"}; |
|
289 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
290 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
291 |
addProjectionParameterAcronymList(count,"x_0"); |
|
292 |
addProjectionParameterAcronymList(count,"y_0"); |
|
293 |
|
|
294 |
String[] parameterDefaultValue={"0.0"}; |
|
295 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
296 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
297 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
298 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
299 |
|
|
300 |
String[] parameterMaxValue={"90.0"}; |
|
301 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
302 |
addProjectionParameterMaxValue(count,"360.0"); |
|
303 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
304 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
305 |
|
|
306 |
String[] parameterMinValue={"-90.0"}; |
|
307 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
308 |
addProjectionParameterMinValue(count,"-360.0"); |
|
309 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
310 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
311 |
|
|
312 |
String[] projectionAcronym={"aeqd"}; |
|
313 |
projectionAcronymList.add(count,projectionAcronym); |
|
314 |
} |
|
315 |
|
|
316 |
count++; |
|
317 |
{// Bonne |
|
318 |
String[] projectionName={"Bonne"}; |
|
319 |
projectionNameList.add(count,projectionName); |
|
320 |
addProjectionName(count,"Bonne"); |
|
321 |
|
|
322 |
String[] parameterName={"central_meridian"}; |
|
323 |
projectionParameterList.add(count,parameterName); |
|
324 |
addProjectionParameter(count,"standard_parallel_1"); |
|
325 |
addProjectionParameter(count,"false_easting"); |
|
326 |
addProjectionParameter(count,"false_northing"); |
|
327 |
|
|
328 |
String[] parameterAcronym={"lon_0"}; |
|
329 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
330 |
addProjectionParameterAcronymList(count,"lat_1"); |
|
331 |
addProjectionParameterAcronymList(count,"x_0"); |
|
332 |
addProjectionParameterAcronymList(count,"y_0"); |
|
333 |
|
|
334 |
String[] parameterDefaultValue={"0.0"}; |
|
335 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
336 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
337 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
338 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
339 |
|
|
340 |
String[] parameterMaxValue={"360.0"}; |
|
341 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
342 |
addProjectionParameterMaxValue(count,"90.0"); |
|
343 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
344 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
345 |
|
|
346 |
String[] parameterMinValue={"-360.0"}; |
|
347 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
348 |
addProjectionParameterMinValue(count,"-90.0"); |
|
349 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
350 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
351 |
|
|
352 |
String[] projectionAcronym={"bonne"}; |
|
353 |
projectionAcronymList.add(count,projectionAcronym); |
|
354 |
} |
|
78 | 355 |
|
79 | 356 |
count++; |
80 |
parameterName[0]="scale_factor"; |
|
81 |
projectionParameterNameList.add(count,parameterName); |
|
82 |
addProjectionParameterName(count,"Scale factor at natural origin"); |
|
357 |
{// Cassini_Soldner |
|
358 |
String[] projectionName={"Cassini_Soldner"}; |
|
359 |
projectionNameList.add(count,projectionName); |
|
360 |
addProjectionName(count,"Cassini-Soldner"); |
|
361 |
addProjectionName(count,"9806"); |
|
362 |
|
|
363 |
String[] parameterName={"latitude_of_origin"}; |
|
364 |
projectionParameterList.add(count,parameterName); |
|
365 |
addProjectionParameter(count,"central_meridian"); |
|
366 |
addProjectionParameter(count,"false_easting"); |
|
367 |
addProjectionParameter(count,"false_northing"); |
|
368 |
|
|
369 |
String[] parameterAcronym={"lat_0"}; |
|
370 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
371 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
372 |
addProjectionParameterAcronymList(count,"x_0"); |
|
373 |
addProjectionParameterAcronymList(count,"y_0"); |
|
374 |
|
|
375 |
String[] parameterDefaultValue={"0.0"}; |
|
376 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
377 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
378 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
379 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
380 |
|
|
381 |
String[] parameterMaxValue={"90.0"}; |
|
382 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
383 |
addProjectionParameterMaxValue(count,"360.0"); |
|
384 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
385 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
386 |
|
|
387 |
String[] parameterMinValue={"-90.0"}; |
|
388 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
389 |
addProjectionParameterMinValue(count,"-360.0"); |
|
390 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
391 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
392 |
|
|
393 |
String[] projectionAcronym={"cass"}; |
|
394 |
projectionAcronymList.add(count,projectionAcronym); |
|
395 |
} |
|
396 |
|
|
397 |
count++; |
|
398 |
{// Cylindrical_Equal_Area |
|
399 |
String[] projectionName={"Cylindrical_Equal_Area"}; |
|
400 |
projectionNameList.add(count,projectionName); |
|
401 |
addProjectionName(count,"Cylindrical Equal Area"); |
|
402 |
addProjectionName(count,"Normal Authalic Cylindrical (FME)"); |
|
403 |
addProjectionName(count,"Lambert Cylindrical Equal Area"); |
|
404 |
addProjectionName(count,"Behrmann (standard parallel = 30)"); |
|
405 |
addProjectionName(count,"Gall Orthographic (standard parallel = 45)"); |
|
406 |
addProjectionName(count,"Peters (approximated by Gall Orthographic)"); |
|
407 |
|
|
408 |
String[] parameterName={"central_meridian"}; |
|
409 |
projectionParameterList.add(count,parameterName); |
|
410 |
addProjectionParameter(count,"standard_parallel_1"); |
|
411 |
addProjectionParameter(count,"false_easting"); |
|
412 |
addProjectionParameter(count,"false_northing"); |
|
413 |
|
|
414 |
String[] parameterAcronym={"lon_0"}; |
|
415 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
416 |
addProjectionParameterAcronymList(count,"lat_ts"); |
|
417 |
addProjectionParameterAcronymList(count,"x_0"); |
|
418 |
addProjectionParameterAcronymList(count,"y_0"); |
|
419 |
|
|
420 |
String[] parameterDefaultValue={"0.0"}; |
|
421 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
422 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
423 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
424 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
425 |
|
|
426 |
String[] parameterMaxValue={"360.0"}; |
|
427 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
428 |
addProjectionParameterMaxValue(count,"90.0"); |
|
429 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
430 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
431 |
|
|
432 |
String[] parameterMinValue={"-360.0"}; |
|
433 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
434 |
addProjectionParameterMinValue(count,"-90.0"); |
|
435 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
436 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
437 |
|
|
438 |
String[] projectionAcronym={"cea"}; |
|
439 |
projectionAcronymList.add(count,projectionAcronym); |
|
440 |
} |
|
441 |
|
|
442 |
count++; |
|
443 |
{// Eckert_IV |
|
444 |
String[] projectionName={"Eckert_IV"}; |
|
445 |
projectionNameList.add(count,projectionName); |
|
446 |
addProjectionName(count,"Eckert IV"); |
|
447 |
|
|
448 |
String[] parameterName={"central_meridian"}; |
|
449 |
projectionParameterList.add(count,parameterName); |
|
450 |
addProjectionParameter(count,"false_easting"); |
|
451 |
addProjectionParameter(count,"false_northing"); |
|
452 |
|
|
453 |
String[] parameterAcronym={"lon_0"}; |
|
454 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
455 |
addProjectionParameterAcronymList(count,"x_0"); |
|
456 |
addProjectionParameterAcronymList(count,"y_0"); |
|
457 |
|
|
458 |
String[] parameterDefaultValue={"0.0"}; |
|
459 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
460 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
461 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
462 |
|
|
463 |
String[] parameterMaxValue={"360.0"}; |
|
464 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
465 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
466 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
467 |
|
|
468 |
String[] parameterMinValue={"-360.0"}; |
|
469 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
470 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
471 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
472 |
|
|
473 |
String[] projectionAcronym={"eck4"}; |
|
474 |
projectionAcronymList.add(count,projectionAcronym); |
|
475 |
} |
|
476 |
|
|
477 |
count++; |
|
478 |
{// Eckert_VI |
|
479 |
String[] projectionName={"Eckert_VI"}; |
|
480 |
projectionNameList.add(count,projectionName); |
|
481 |
addProjectionName(count,"Eckert VI"); |
|
482 |
|
|
483 |
String[] parameterName={"central_meridian"}; |
|
484 |
projectionParameterList.add(count,parameterName); |
|
485 |
addProjectionParameter(count,"false_easting"); |
|
486 |
addProjectionParameter(count,"false_northing"); |
|
487 |
|
|
488 |
String[] parameterAcronym={"lon_0"}; |
|
489 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
490 |
addProjectionParameterAcronymList(count,"x_0"); |
|
491 |
addProjectionParameterAcronymList(count,"y_0"); |
|
492 |
|
|
493 |
String[] parameterDefaultValue={"0.0"}; |
|
494 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
495 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
496 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
497 |
|
|
498 |
String[] parameterMaxValue={"360.0"}; |
|
499 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
500 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
501 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
502 |
|
|
503 |
String[] parameterMinValue={"-360.0"}; |
|
504 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
505 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
506 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
507 |
|
|
508 |
String[] projectionAcronym={"eck6"}; |
|
509 |
projectionAcronymList.add(count,projectionAcronym); |
|
510 |
} |
|
83 | 511 |
|
84 | 512 |
count++; |
85 |
parameterName[0]="false_easting"; |
|
86 |
projectionParameterNameList.add(count,parameterName); |
|
87 |
addProjectionParameterName(count,"False Easting"); |
|
513 |
{// Equidistant_Conic |
|
514 |
String[] projectionName={"Equidistant_Conic"}; |
|
515 |
projectionNameList.add(count,projectionName); |
|
516 |
addProjectionName(count,"Equidistant Conic"); |
|
517 |
|
|
518 |
String[] parameterName={"latitude_of_center"}; |
|
519 |
projectionParameterList.add(count,parameterName); |
|
520 |
addProjectionParameter(count,"longitude_of_center"); |
|
521 |
addProjectionParameter(count,"standard_parallel_1"); |
|
522 |
addProjectionParameter(count,"standard_parallel_2"); |
|
523 |
addProjectionParameter(count,"false_easting"); |
|
524 |
addProjectionParameter(count,"false_northing"); |
|
525 |
|
|
526 |
String[] parameterAcronym={"lat_0"}; |
|
527 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
528 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
529 |
addProjectionParameterAcronymList(count,"lat_1"); |
|
530 |
addProjectionParameterAcronymList(count,"lat_2"); |
|
531 |
addProjectionParameterAcronymList(count,"x_0"); |
|
532 |
addProjectionParameterAcronymList(count,"y_0"); |
|
533 |
|
|
534 |
String[] parameterDefaultValue={"0.0"}; |
|
535 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
536 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
537 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
538 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
539 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
540 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
541 |
|
|
542 |
String[] parameterMaxValue={"90.0"}; |
|
543 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
544 |
addProjectionParameterMaxValue(count,"360.0"); |
|
545 |
addProjectionParameterMaxValue(count,"90.0"); |
|
546 |
addProjectionParameterMaxValue(count,"90.0"); |
|
547 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
548 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
549 |
|
|
550 |
String[] parameterMinValue={"-90.0"}; |
|
551 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
552 |
addProjectionParameterMinValue(count,"-360.0"); |
|
553 |
addProjectionParameterMinValue(count,"-90.0"); |
|
554 |
addProjectionParameterMinValue(count,"-90.0"); |
|
555 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
556 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
557 |
|
|
558 |
String[] projectionAcronym={"eqdc"}; |
|
559 |
projectionAcronymList.add(count,projectionAcronym); |
|
560 |
} |
|
561 |
|
|
562 |
count++; |
|
563 |
{// Equirectangular |
|
564 |
String[] projectionName={"Equirectangular"}; |
|
565 |
projectionNameList.add(count,projectionName); |
|
566 |
addProjectionName(count,"Plate Caree"); |
|
567 |
addProjectionName(count,"Equidistant Cylindrical"); |
|
568 |
addProjectionName(count,"9823"); |
|
569 |
|
|
570 |
String[] parameterName={"latitude_of_origin"}; |
|
571 |
projectionParameterList.add(count,parameterName); |
|
572 |
addProjectionParameter(count,"central_meridian"); |
|
573 |
addProjectionParameter(count,"false_easting"); |
|
574 |
addProjectionParameter(count,"false_northing"); |
|
575 |
|
|
576 |
String[] parameterAcronym={"lat_ts"}; |
|
577 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
578 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
579 |
addProjectionParameterAcronymList(count,"x_0"); |
|
580 |
addProjectionParameterAcronymList(count,"y_0"); |
|
581 |
|
|
582 |
String[] parameterDefaultValue={"0.0"}; |
|
583 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
584 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
585 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
586 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
587 |
|
|
588 |
String[] parameterMaxValue={"90.0"}; |
|
589 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
590 |
addProjectionParameterMaxValue(count,"360.0"); |
|
591 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
592 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
593 |
|
|
594 |
String[] parameterMinValue={"-90.0"}; |
|
595 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
596 |
addProjectionParameterMinValue(count,"-360.0"); |
|
597 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
598 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
599 |
|
|
600 |
String[] projectionAcronym={"eqc"}; |
|
601 |
projectionAcronymList.add(count,projectionAcronym); |
|
602 |
} |
|
603 |
|
|
604 |
count++; |
|
605 |
{// Gall_Stereographic |
|
606 |
String[] projectionName={"Gall_Stereographic"}; |
|
607 |
projectionNameList.add(count,projectionName); |
|
608 |
addProjectionName(count,"Gall Stereograpic"); |
|
609 |
addProjectionName(count,"Gall"); |
|
610 |
|
|
611 |
String[] parameterName={"central_meridian"}; |
|
612 |
projectionParameterList.add(count,parameterName); |
|
613 |
addProjectionParameter(count,"false_easting"); |
|
614 |
addProjectionParameter(count,"false_northing"); |
|
615 |
|
|
616 |
String[] parameterAcronym={"lon_0"}; |
|
617 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
618 |
addProjectionParameterAcronymList(count,"x_0"); |
|
619 |
addProjectionParameterAcronymList(count,"y_0"); |
|
620 |
|
|
621 |
String[] parameterDefaultValue={"0.0"}; |
|
622 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
623 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
624 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
625 |
|
|
626 |
String[] parameterMaxValue={"360.0"}; |
|
627 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
628 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
629 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
630 |
|
|
631 |
String[] parameterMinValue={"-360.0"}; |
|
632 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
633 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
634 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
635 |
|
|
636 |
String[] projectionAcronym={"gall"}; |
|
637 |
projectionAcronymList.add(count,projectionAcronym); |
|
638 |
} |
|
639 |
|
|
640 |
count++; |
|
641 |
{// GEOS |
|
642 |
String[] projectionName={"GEOS"}; |
|
643 |
projectionNameList.add(count,projectionName); |
|
644 |
addProjectionName(count,"Geostationary Satellite View"); |
|
645 |
addProjectionName(count,"Normalized Geostationary Projection"); |
|
646 |
|
|
647 |
String[] parameterName={"central_meridian"}; |
|
648 |
projectionParameterList.add(count,parameterName); |
|
649 |
addProjectionParameter(count,"satellite_height"); |
|
650 |
addProjectionParameter(count,"false_easting"); |
|
651 |
addProjectionParameter(count,"false_northing"); |
|
652 |
|
|
653 |
String[] parameterAcronym={"lon_0"}; |
|
654 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
655 |
addProjectionParameterAcronymList(count,"h"); |
|
656 |
addProjectionParameterAcronymList(count,"y_0"); |
|
657 |
|
|
658 |
String[] parameterDefaultValue={"0.0"}; |
|
659 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
660 |
addProjectionParameterDefaultValue(count,"35785831.0"); |
|
661 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
662 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
663 |
|
|
664 |
String[] parameterMaxValue={"360.0"}; |
|
665 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
666 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
667 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
668 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
669 |
|
|
670 |
String[] parameterMinValue={"-360.0"}; |
|
671 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
672 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
673 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
674 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
675 |
|
|
676 |
String[] projectionAcronym={"geos"}; |
|
677 |
projectionAcronymList.add(count,projectionAcronym); |
|
678 |
} |
|
679 |
|
|
680 |
count++; |
|
681 |
{// Gnomonic |
|
682 |
String[] projectionName={"Gnomonic"}; |
|
683 |
projectionNameList.add(count,projectionName); |
|
684 |
addProjectionName(count,"Gnomonic"); |
|
685 |
|
|
686 |
String[] parameterName={"latitude_of_origin"}; |
|
687 |
projectionParameterList.add(count,parameterName); |
|
688 |
addProjectionParameter(count,"central_meridian"); |
|
689 |
addProjectionParameter(count,"false_easting"); |
|
690 |
addProjectionParameter(count,"false_northing"); |
|
691 |
|
|
692 |
String[] parameterAcronym={"lat_0"}; |
|
693 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
694 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
695 |
addProjectionParameterAcronymList(count,"x_0"); |
|
696 |
addProjectionParameterAcronymList(count,"y_0"); |
|
697 |
|
|
698 |
String[] parameterDefaultValue={"0.0"}; |
|
699 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
700 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
701 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
702 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
703 |
|
|
704 |
String[] parameterMaxValue={"90.0"}; |
|
705 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
706 |
addProjectionParameterMaxValue(count,"360.0"); |
|
707 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
708 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
709 |
|
|
710 |
String[] parameterMinValue={"-90.0"}; |
|
711 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
712 |
addProjectionParameterMinValue(count,"-360.0"); |
|
713 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
714 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
715 |
|
|
716 |
String[] projectionAcronym={"gnom"}; |
|
717 |
projectionAcronymList.add(count,projectionAcronym); |
|
718 |
} |
|
719 |
|
|
720 |
count++; |
|
721 |
{// Goode |
|
722 |
String[] projectionName={"Goode"}; |
|
723 |
projectionNameList.add(count,projectionName); |
|
724 |
|
|
725 |
String[] parameterName={"central_meridian"}; |
|
726 |
projectionParameterList.add(count,parameterName); |
|
727 |
addProjectionParameter(count,"false_easting"); |
|
728 |
addProjectionParameter(count,"false_northing"); |
|
729 |
|
|
730 |
String[] parameterAcronym={"lon_0"}; |
|
731 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
732 |
addProjectionParameterAcronymList(count,"x_0"); |
|
733 |
addProjectionParameterAcronymList(count,"y_0"); |
|
734 |
|
|
735 |
String[] parameterDefaultValue={"0.0"}; |
|
736 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
737 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
738 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
739 |
|
|
740 |
String[] parameterMaxValue={"360.0"}; |
|
741 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
742 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
743 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
744 |
|
|
745 |
String[] parameterMinValue={"-360.0"}; |
|
746 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
747 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
748 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
749 |
|
|
750 |
String[] projectionAcronym={"goode"}; |
|
751 |
projectionAcronymList.add(count,projectionAcronym); |
|
752 |
} |
|
753 |
|
|
754 |
count++; |
|
755 |
{// hotine_oblique_mercator |
|
756 |
String[] projectionName={"hotine_oblique_mercator"}; |
|
757 |
projectionNameList.add(count,projectionName); |
|
758 |
addProjectionName(count,"Hotine Oblique Mercator"); |
|
759 |
addProjectionName(count,"9812"); |
|
760 |
|
|
761 |
String[] parameterName={"latitude_of_center"}; |
|
762 |
projectionParameterList.add(count,parameterName); |
|
763 |
addProjectionParameter(count,"longitude_of_center"); |
|
764 |
addProjectionParameter(count,"azimuth"); |
|
765 |
//addProjectionParameter(count,"rectified_grid_angle"); |
|
766 |
addProjectionParameter(count,"scale_factor"); |
|
767 |
addProjectionParameter(count,"false_easting"); |
|
768 |
addProjectionParameter(count,"false_northing"); |
|
769 |
|
|
770 |
String[] parameterAcronym={"lat_0"}; |
|
771 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
772 |
addProjectionParameterAcronymList(count,"lonc"); |
|
773 |
addProjectionParameterAcronymList(count,"alpha"); |
|
774 |
addProjectionParameterAcronymList(count,"k"); |
|
775 |
addProjectionParameterAcronymList(count,"x_0"); |
|
776 |
addProjectionParameterAcronymList(count,"y_0"); |
|
777 |
|
|
778 |
String[] parameterDefaultValue={"0.0"}; |
|
779 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
780 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
781 |
addProjectionParameterDefaultValue(count,"1.0"); |
|
782 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
783 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
784 |
|
|
785 |
String[] parameterMaxValue={"90.0"}; |
|
786 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
787 |
addProjectionParameterMaxValue(count,"360.0"); |
|
788 |
addProjectionParameterMaxValue(count,"360.0"); |
|
789 |
addProjectionParameterMaxValue(count,"10.0"); |
|
790 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
791 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
792 |
|
|
793 |
String[] parameterMinValue={"-90.0"}; |
|
794 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
795 |
addProjectionParameterMinValue(count,"-360.0"); |
|
796 |
addProjectionParameterMinValue(count,"-360.0"); |
|
797 |
addProjectionParameterMinValue(count,"0.0"); |
|
798 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
799 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
800 |
|
|
801 |
String[] projectionAcronym={"omerc"}; |
|
802 |
projectionAcronymList.add(count,projectionAcronym); |
|
803 |
} |
|
88 | 804 |
|
89 | 805 |
count++; |
90 |
parameterName[0]="false_northing"; |
|
91 |
projectionParameterNameList.add(count,parameterName); |
|
92 |
addProjectionParameterName(count,"False Northing"); |
|
93 |
} |
|
94 |
|
|
95 |
private void defineProjectionParameterUnitList() throws CrsException |
|
96 |
{ |
|
97 |
String[] parameterUnit={"Angular"}; |
|
98 |
int count=0; |
|
99 |
projectionParameterNameList.add(count,parameterUnit); |
|
806 |
{// Krovak |
|
807 |
String[] projectionName={"Krovak"}; |
|
808 |
projectionNameList.add(count,projectionName); |
|
809 |
addProjectionName(count,"Krovak Oblique Conic Conformal"); |
|
810 |
addProjectionName(count,"9819"); |
|
811 |
|
|
812 |
String[] parameterName={"latitude_of_center"}; |
|
813 |
projectionParameterList.add(count,parameterName); |
|
814 |
addProjectionParameter(count,"longitude_of_center"); |
|
815 |
addProjectionParameter(count,"azimuth"); |
|
816 |
addProjectionParameter(count,"scale_factor"); |
|
817 |
addProjectionParameter(count,"false_easting"); |
|
818 |
addProjectionParameter(count,"false_northing"); |
|
819 |
|
|
820 |
String[] parameterAcronym={"lat_0"}; |
|
821 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
822 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
823 |
addProjectionParameterAcronymList(count,"alpha"); |
|
824 |
addProjectionParameterAcronymList(count,"k"); |
|
825 |
addProjectionParameterAcronymList(count,"x_0"); |
|
826 |
addProjectionParameterAcronymList(count,"y_0"); |
|
827 |
|
|
828 |
String[] parameterDefaultValue={"0.0"}; |
|
829 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
830 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
831 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
832 |
addProjectionParameterDefaultValue(count,"1.0"); |
|
833 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
834 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
835 |
|
|
836 |
String[] parameterMaxValue={"90.0"}; |
|
837 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
838 |
addProjectionParameterMaxValue(count,"360.0"); |
|
839 |
addProjectionParameterMaxValue(count,"360.0"); |
|
840 |
addProjectionParameterMaxValue(count,"10.0"); |
|
841 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
842 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
843 |
|
|
844 |
String[] parameterMinValue={"-90.0"}; |
|
845 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
846 |
addProjectionParameterMinValue(count,"-360.0"); |
|
847 |
addProjectionParameterMinValue(count,"-360.0"); |
|
848 |
addProjectionParameterMinValue(count,"0.0"); |
|
849 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
850 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
851 |
|
|
852 |
String[] projectionAcronym={"krovak"}; |
|
853 |
projectionAcronymList.add(count,projectionAcronym); |
|
854 |
} |
|
100 | 855 |
|
856 |
// Laborde_Oblique_Mercator - Similar a hotine_oblique_mercator |
|
857 |
|
|
101 | 858 |
count++; |
102 |
parameterUnit[0]="Angular"; |
|
103 |
projectionParameterNameList.add(count,parameterUnit); |
|
859 |
{// Lambert_Azimuthal_Equal_Area |
|
860 |
String[] projectionName={"Lambert_Azimuthal_Equal_Area"}; |
|
861 |
projectionNameList.add(count,projectionName); |
|
862 |
addProjectionName(count,"Lambert Azimuthal Equal Area"); |
|
863 |
addProjectionName(count,"9820"); |
|
864 |
|
|
865 |
String[] parameterName={"latitude_of_center"}; |
|
866 |
projectionParameterList.add(count,parameterName); |
|
867 |
addProjectionParameter(count,"longitude_of_center"); |
|
868 |
addProjectionParameter(count,"false_easting"); |
|
869 |
addProjectionParameter(count,"false_northing"); |
|
870 |
|
|
871 |
String[] parameterAcronym={"lat_0"}; |
|
872 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
873 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
874 |
addProjectionParameterAcronymList(count,"x_0"); |
|
875 |
addProjectionParameterAcronymList(count,"y_0"); |
|
876 |
|
|
877 |
String[] parameterDefaultValue={"0.0"}; |
|
878 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
879 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
880 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
881 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
882 |
|
|
883 |
String[] parameterMaxValue={"90.0"}; |
|
884 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
885 |
addProjectionParameterMaxValue(count,"360.0"); |
|
886 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
887 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
888 |
|
|
889 |
String[] parameterMinValue={"-90.0"}; |
|
890 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
891 |
addProjectionParameterMinValue(count,"-360.0"); |
|
892 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
893 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
894 |
|
|
895 |
String[] projectionAcronym={"laea"}; |
|
896 |
projectionAcronymList.add(count,projectionAcronym); |
|
897 |
} |
|
104 | 898 |
|
105 | 899 |
count++; |
106 |
parameterUnit[0]="Unitless"; |
|
107 |
projectionParameterNameList.add(count,parameterUnit); |
|
900 |
{// Lambert_Conformal_Conic_1SP |
|
901 |
String[] projectionName={"Lambert_Conformal_Conic_1SP"}; |
|
902 |
projectionNameList.add(count,projectionName); |
|
903 |
addProjectionName(count,"Lambert Conic Conformal (1SP)"); |
|
904 |
addProjectionName(count,"9801"); |
|
905 |
|
|
906 |
String[] parameterName={"latitude_of_origin"}; |
|
907 |
projectionParameterList.add(count,parameterName); |
|
908 |
addProjectionParameter(count,"latitude_of_origin"); // lat_1=lat_0 |
|
909 |
addProjectionParameter(count,"central_meridian"); |
|
910 |
addProjectionParameter(count,"scale_factor"); |
|
911 |
addProjectionParameter(count,"false_easting"); |
|
912 |
addProjectionParameter(count,"false_northing"); |
|
913 |
|
|
914 |
String[] parameterAcronym={"lat_1"}; |
|
915 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
916 |
addProjectionParameterAcronymList(count,"lat_0"); |
|
917 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
918 |
addProjectionParameterAcronymList(count,"k_0"); |
|
919 |
addProjectionParameterAcronymList(count,"x_0"); |
|
920 |
addProjectionParameterAcronymList(count,"y_0"); |
|
921 |
|
|
922 |
String[] parameterDefaultValue={"0.0"}; |
|
923 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
924 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
925 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
926 |
addProjectionParameterDefaultValue(count,"1.0"); |
|
927 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
928 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
929 |
|
|
930 |
String[] parameterMaxValue={"90.0"}; |
|
931 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
932 |
addProjectionParameterMaxValue(count,"90.0"); |
|
933 |
addProjectionParameterMaxValue(count,"360.0"); |
|
934 |
addProjectionParameterMaxValue(count,"10.0"); |
|
935 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
936 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
937 |
|
|
938 |
String[] parameterMinValue={"-90.0"}; |
|
939 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
940 |
addProjectionParameterMinValue(count,"-90.0"); |
|
941 |
addProjectionParameterMinValue(count,"-360.0"); |
|
942 |
addProjectionParameterMinValue(count,"0.0"); |
|
943 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
944 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
945 |
|
|
946 |
String[] projectionAcronym={"lcc"}; |
|
947 |
projectionAcronymList.add(count,projectionAcronym); |
|
948 |
} |
|
108 | 949 |
|
109 | 950 |
count++; |
110 |
parameterUnit[0]="Linear"; |
|
111 |
projectionParameterNameList.add(count,parameterUnit); |
|
951 |
{// Lambert_Conformal_Conic_2SP |
|
952 |
String[] projectionName={"Lambert_Conformal_Conic_2SP"}; |
|
953 |
projectionNameList.add(count,projectionName); |
|
954 |
addProjectionName(count,"Lambert Conic Conformal (2SP)"); |
|
955 |
addProjectionName(count,"9802"); |
|
956 |
|
|
957 |
String[] parameterName={"standard_parallel_1"}; |
|
958 |
projectionParameterList.add(count,parameterName); |
|
959 |
addProjectionParameter(count,"standard_parallel_2"); |
|
960 |
addProjectionParameter(count,"latitude_of_origin"); |
|
961 |
addProjectionParameter(count,"central_meridian"); |
|
962 |
addProjectionParameter(count,"false_easting"); |
|
963 |
addProjectionParameter(count,"false_northing"); |
|
964 |
|
|
965 |
String[] parameterAcronym={"lat_1"}; |
|
966 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
967 |
addProjectionParameterAcronymList(count,"lat_2"); |
|
968 |
addProjectionParameterAcronymList(count,"lat_0"); |
|
969 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
970 |
addProjectionParameterAcronymList(count,"x_0"); |
|
971 |
addProjectionParameterAcronymList(count,"y_0"); |
|
972 |
|
|
973 |
String[] parameterDefaultValue={"0.0"}; |
|
974 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
975 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
976 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
977 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
978 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
979 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
980 |
|
|
981 |
String[] parameterMaxValue={"90.0"}; |
|
982 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
983 |
addProjectionParameterMaxValue(count,"90.0"); |
|
984 |
addProjectionParameterMaxValue(count,"90.0"); |
|
985 |
addProjectionParameterMaxValue(count,"360.0"); |
|
986 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
987 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
988 |
|
|
989 |
String[] parameterMinValue={"-90.0"}; |
|
990 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
991 |
addProjectionParameterMinValue(count,"-90.0"); |
|
992 |
addProjectionParameterMinValue(count,"-90.0"); |
|
993 |
addProjectionParameterMinValue(count,"-360.0"); |
|
994 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
995 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
996 |
|
|
997 |
String[] projectionAcronym={"lcc"}; |
|
998 |
projectionAcronymList.add(count,projectionAcronym); |
|
999 |
} |
|
112 | 1000 |
|
113 | 1001 |
count++; |
114 |
parameterUnit[0]="Linear"; |
|
115 |
projectionParameterNameList.add(count,parameterUnit); |
|
116 |
} |
|
117 |
|
|
118 |
private void defineProjectionNames() throws CrsException |
|
119 |
{ |
|
120 |
String[] projectionName0={"Albers Equal-Area Conic"}; |
|
121 |
int count=0; |
|
122 |
projectionNameList.add(count,projectionName0); |
|
1002 |
{// Lambert_Conformal_Conic_2SP_Belgium |
|
1003 |
String[] projectionName={"Lambert_Conformal_Conic_2SP_Belgium"}; |
|
1004 |
projectionNameList.add(count,projectionName); |
|
1005 |
addProjectionName(count,"Lambert Conic Conformal (2SP Belgium)"); |
|
1006 |
addProjectionName(count,"9803"); |
|
1007 |
|
|
1008 |
String[] parameterName={"standard_parallel_1"}; |
|
1009 |
projectionParameterList.add(count,parameterName); |
|
1010 |
addProjectionParameter(count,"standard_parallel_2"); |
|
1011 |
addProjectionParameter(count,"latitude_of_origin"); |
|
1012 |
addProjectionParameter(count,"central_meridian"); |
|
1013 |
addProjectionParameter(count,"false_easting"); |
|
1014 |
addProjectionParameter(count,"false_northing"); |
|
1015 |
|
|
1016 |
String[] parameterAcronym={"lat_1"}; |
|
1017 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1018 |
addProjectionParameterAcronymList(count,"lat_2"); |
|
1019 |
addProjectionParameterAcronymList(count,"lat_0"); |
|
1020 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
1021 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1022 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1023 |
|
|
1024 |
String[] parameterDefaultValue={"0.0"}; |
|
1025 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1026 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1027 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1028 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1029 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1030 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1031 |
|
|
1032 |
String[] parameterMaxValue={"90.0"}; |
|
1033 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1034 |
addProjectionParameterMaxValue(count,"90.0"); |
|
1035 |
addProjectionParameterMaxValue(count,"90.0"); |
|
1036 |
addProjectionParameterMaxValue(count,"360.0"); |
|
1037 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1038 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1039 |
|
|
1040 |
String[] parameterMinValue={"-90.0"}; |
|
1041 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
1042 |
addProjectionParameterMinValue(count,"-90.0"); |
|
1043 |
addProjectionParameterMinValue(count,"-90.0"); |
|
1044 |
addProjectionParameterMinValue(count,"-360.0"); |
|
1045 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1046 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1047 |
|
|
1048 |
String[] projectionAcronym={"lcc"}; |
|
1049 |
projectionAcronymList.add(count,projectionAcronym); |
|
1050 |
} |
|
123 | 1051 |
|
124 | 1052 |
count++; |
125 |
String[] projectionName1={"Mercator (1SP)"}; |
|
126 |
projectionNameList.add(count,projectionName1); //21 |
|
127 |
addProjectionName(count,"Mercator"); |
|
128 |
addProjectionName(count,"Mercator_1SP"); |
|
1053 |
{// Mercator_1SP |
|
1054 |
String[] projectionName={"Mercator_1SP"}; |
|
1055 |
projectionNameList.add(count,projectionName); |
|
1056 |
addProjectionName(count,"Mercator"); |
|
1057 |
addProjectionName(count,"9804"); |
|
1058 |
|
|
1059 |
String[] parameterName={"central_meridian"}; |
|
1060 |
projectionParameterList.add(count,parameterName); |
|
1061 |
addProjectionParameter(count,"scale_factor"); // o latitude_origin |
|
1062 |
addProjectionParameter(count,"false_easting"); |
|
1063 |
addProjectionParameter(count,"false_northing"); |
|
1064 |
|
|
1065 |
String[] parameterAcronym={"lon_0"}; |
|
1066 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1067 |
addProjectionParameterAcronymList(count,"k"); // o lat_ts |
|
1068 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1069 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1070 |
|
|
1071 |
String[] parameterDefaultValue={"0.0"}; |
|
1072 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1073 |
addProjectionParameterDefaultValue(count,"1.0"); // o 0.0 |
|
1074 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1075 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1076 |
|
|
1077 |
String[] parameterMaxValue={"360.0"}; |
|
1078 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1079 |
addProjectionParameterMaxValue(count,"10.0"); |
|
1080 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1081 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1082 |
|
|
1083 |
String[] parameterMinValue={"-360.0"}; |
|
1084 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
1085 |
addProjectionParameterMinValue(count,"0.0"); |
|
1086 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1087 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1088 |
|
|
1089 |
String[] projectionAcronym={"merc"}; |
|
1090 |
projectionAcronymList.add(count,projectionAcronym); |
|
1091 |
} |
|
129 | 1092 |
|
130 | 1093 |
count++; |
131 |
String[] projectionName2={"Transverse Mercator"}; |
|
132 |
projectionNameList.add(count,projectionName2); //21 |
|
133 |
addProjectionName(count,"Gauss-Kruger"); |
|
134 |
addProjectionName(count,"Transverse_Mercator"); |
|
1094 |
{// Mercator_2SP |
|
1095 |
String[] projectionName={"Mercator_2SP"}; |
|
1096 |
projectionNameList.add(count,projectionName); |
|
1097 |
addProjectionName(count,"Mercator"); |
|
1098 |
addProjectionName(count,"9805"); |
|
1099 |
|
|
1100 |
String[] parameterName={"central_meridian"}; |
|
1101 |
projectionParameterList.add(count,parameterName); |
|
1102 |
addProjectionParameter(count,"standard_parallel_1"); |
|
1103 |
addProjectionParameter(count,"false_easting"); |
|
1104 |
addProjectionParameter(count,"false_northing"); |
|
1105 |
|
|
1106 |
String[] parameterAcronym={"lon_0"}; |
|
1107 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1108 |
addProjectionParameterAcronymList(count,"lat_ts"); |
|
1109 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1110 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1111 |
|
|
1112 |
String[] parameterDefaultValue={"0.0"}; |
|
1113 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1114 |
addProjectionParameterDefaultValue(count,"0.0"); // o 0.0 |
|
1115 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1116 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1117 |
|
|
1118 |
String[] parameterMaxValue={"360.0"}; |
|
1119 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1120 |
addProjectionParameterMaxValue(count,"90.0"); |
|
1121 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1122 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1123 |
|
|
1124 |
String[] parameterMinValue={"-360.0"}; |
|
1125 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
1126 |
addProjectionParameterMinValue(count,"-90.0"); |
|
1127 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1128 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1129 |
|
|
1130 |
String[] projectionAcronym={"merc"}; |
|
1131 |
projectionAcronymList.add(count,projectionAcronym); |
|
1132 |
} |
|
1133 |
|
|
1134 |
count++; |
|
1135 |
{// Miller_Cylindrical |
|
1136 |
String[] projectionName={"Miller_Cylindrical"}; |
|
1137 |
projectionNameList.add(count,projectionName); |
|
1138 |
addProjectionName(count,"Miller Cylindrical"); |
|
1139 |
|
|
1140 |
String[] parameterName={"latitude_of_center"}; |
|
1141 |
projectionParameterList.add(count,parameterName); |
|
1142 |
addProjectionParameter(count,"longitude_of_center"); |
|
1143 |
addProjectionParameter(count,"false_easting"); |
|
1144 |
addProjectionParameter(count,"false_northing"); |
|
1145 |
|
|
1146 |
String[] parameterAcronym={"lat_0"}; |
|
1147 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1148 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
1149 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1150 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1151 |
|
|
1152 |
String[] parameterDefaultValue={"0.0"}; |
|
1153 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1154 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1155 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1156 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1157 |
|
|
1158 |
String[] parameterMaxValue={"90.0"}; |
|
1159 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1160 |
addProjectionParameterMaxValue(count,"360.0"); |
|
1161 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1162 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1163 |
|
|
1164 |
String[] parameterMinValue={"-90.0"}; |
|
1165 |
addProjectionParameterMinValue(count,"-360.0"); |
|
1166 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1167 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1168 |
|
|
1169 |
String[] projectionAcronym={"mill"}; |
|
1170 |
projectionAcronymList.add(count,projectionAcronym); |
|
1171 |
} |
|
1172 |
|
|
1173 |
count++; |
|
1174 |
{// Mollweide |
|
1175 |
String[] projectionName={"Mollweide"}; |
|
1176 |
projectionNameList.add(count,projectionName); |
|
1177 |
addProjectionName(count,"Hornolographic"); |
|
1178 |
addProjectionName(count,"Babinet"); |
|
1179 |
addProjectionName(count,"Elliptical"); |
|
1180 |
|
|
1181 |
String[] parameterName={"central_meridian"}; |
|
1182 |
projectionParameterList.add(count,parameterName); |
|
1183 |
addProjectionParameter(count,"false_easting"); |
|
1184 |
addProjectionParameter(count,"false_northing"); |
|
1185 |
|
|
1186 |
String[] parameterAcronym={"lon_0"}; |
|
1187 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1188 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1189 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1190 |
|
|
1191 |
String[] parameterDefaultValue={"0.0"}; |
|
1192 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1193 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1194 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1195 |
|
|
1196 |
String[] parameterMaxValue={"360.0"}; |
|
1197 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1198 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1199 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1200 |
|
|
1201 |
String[] parameterMinValue={"-360.0"}; |
|
1202 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
1203 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1204 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1205 |
|
|
1206 |
String[] projectionAcronym={"moll"}; |
|
1207 |
projectionAcronymList.add(count,projectionAcronym); |
|
1208 |
} |
|
1209 |
|
|
1210 |
count++; |
|
1211 |
{// New_Zealand_Map_Grid |
|
1212 |
String[] projectionName={"New_Zealand_Map_Grid"}; |
|
1213 |
projectionNameList.add(count,projectionName); |
|
1214 |
addProjectionName(count,"New Zealand Map Grid"); |
|
1215 |
addProjectionName(count,"9811"); |
|
1216 |
|
|
1217 |
String[] parameterName={"latitude_of_origin"}; |
|
1218 |
projectionParameterList.add(count,parameterName); |
|
1219 |
addProjectionParameter(count,"central_meridian"); |
|
1220 |
addProjectionParameter(count,"false_easting"); |
|
1221 |
addProjectionParameter(count,"fase_northing"); |
|
1222 |
|
|
1223 |
String[] parameterAcronym={"lat_0"}; |
|
1224 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1225 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
1226 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1227 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1228 |
|
|
1229 |
String[] parameterDefaultValue={"0.0"}; |
|
1230 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1231 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1232 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1233 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1234 |
|
|
1235 |
String[] parameterMaxValue={"90.0"}; |
|
1236 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1237 |
addProjectionParameterMaxValue(count,"360.0"); |
|
1238 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1239 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1240 |
|
|
1241 |
String[] parameterMinValue={"-90.0"}; |
|
1242 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
1243 |
addProjectionParameterMinValue(count,"-360.0"); |
|
1244 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1245 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1246 |
|
|
1247 |
String[] projectionAcronym={"nzmg"}; |
|
1248 |
projectionAcronymList.add(count,projectionAcronym); |
|
1249 |
} |
|
1250 |
|
|
1251 |
count++; |
|
1252 |
{// Oblique_Mercator |
|
1253 |
String[] projectionName={"Oblique_Mercator"}; |
|
1254 |
projectionNameList.add(count,projectionName); |
|
1255 |
addProjectionName(count,"Oblique Mercator"); |
|
1256 |
addProjectionName(count,"9815"); |
|
1257 |
|
|
1258 |
String[] parameterName={"latitude_of_center"}; |
|
1259 |
projectionParameterList.add(count,parameterName); |
|
1260 |
addProjectionParameter(count,"longitude_of_center"); |
|
1261 |
addProjectionParameter(count,"azimuth"); |
|
1262 |
//addProjectionParameter(count,"rectified_grid_angle"); |
|
1263 |
addProjectionParameter(count,"scale_factor"); |
|
1264 |
addProjectionParameter(count,"false_easting"); |
|
1265 |
addProjectionParameter(count,"fase_northing"); |
|
1266 |
|
|
1267 |
String[] parameterAcronym={"lat_0"}; |
|
1268 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1269 |
addProjectionParameterAcronymList(count,"lonc"); |
|
1270 |
addProjectionParameterAcronymList(count,"alpha"); |
|
1271 |
addProjectionParameterAcronymList(count,"k"); |
|
1272 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1273 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1274 |
|
|
1275 |
String[] parameterDefaultValue={"0.0"}; |
|
1276 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1277 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1278 |
addProjectionParameterDefaultValue(count,"1.0"); |
|
1279 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1280 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1281 |
|
|
1282 |
String[] parameterMaxValue={"90.0"}; |
|
1283 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1284 |
addProjectionParameterMaxValue(count,"360.0"); |
|
1285 |
addProjectionParameterMaxValue(count,"360.0"); |
|
1286 |
addProjectionParameterMaxValue(count,"10.0"); |
|
1287 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1288 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1289 |
|
|
1290 |
String[] parameterMinValue={"-90.0"}; |
|
1291 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
1292 |
addProjectionParameterMinValue(count,"-360.0"); |
|
1293 |
addProjectionParameterMinValue(count,"-360.0"); |
|
1294 |
addProjectionParameterMinValue(count,"0.0"); |
|
1295 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1296 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1297 |
|
|
1298 |
String[] projectionAcronym={"omerc"}; |
|
1299 |
projectionAcronymList.add(count,projectionAcronym); |
|
1300 |
} |
|
1301 |
|
|
1302 |
count++; |
|
1303 |
{// Oblique_Stereographic |
|
1304 |
String[] projectionName={"Oblique_Stereographic"}; |
|
1305 |
projectionNameList.add(count,projectionName); |
|
1306 |
addProjectionName(count,"Oblique Stereographic"); |
|
1307 |
addProjectionName(count,"9809"); |
|
1308 |
|
|
1309 |
String[] parameterName={"latitude_of_origin"}; |
|
1310 |
projectionParameterList.add(count,parameterName); |
|
1311 |
addProjectionParameter(count,"central_meridian"); |
|
1312 |
addProjectionParameter(count,"scale_factor"); |
|
1313 |
addProjectionParameter(count,"false_easting"); |
|
1314 |
addProjectionParameter(count,"fase_northing"); |
|
1315 |
|
|
1316 |
String[] parameterAcronym={"lat_0"}; |
|
1317 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1318 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
1319 |
addProjectionParameterAcronymList(count,"k"); |
|
1320 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1321 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1322 |
|
|
1323 |
String[] parameterDefaultValue={"0.0"}; |
|
1324 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1325 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1326 |
addProjectionParameterDefaultValue(count,"1.0"); |
|
1327 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1328 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1329 |
|
|
1330 |
String[] parameterMaxValue={"90.0"}; |
|
1331 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1332 |
addProjectionParameterMaxValue(count,"360.0"); |
|
1333 |
addProjectionParameterMaxValue(count,"10.0"); |
|
1334 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1335 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1336 |
|
|
1337 |
String[] parameterMinValue={"-90.0"}; |
|
1338 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
1339 |
addProjectionParameterMinValue(count,"-360.0"); |
|
1340 |
addProjectionParameterMinValue(count,"0.0"); |
|
1341 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1342 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1343 |
|
|
1344 |
String[] projectionAcronym={"sterea"}; |
|
1345 |
projectionAcronymList.add(count,projectionAcronym); |
|
1346 |
} |
|
1347 |
|
|
1348 |
count++; |
|
1349 |
{// Orthographic |
|
1350 |
String[] projectionName={"Orthographic"}; |
|
1351 |
projectionNameList.add(count,projectionName); |
|
1352 |
|
|
1353 |
String[] parameterName={"latitude_of_origin"}; |
|
1354 |
projectionParameterList.add(count,parameterName); |
|
1355 |
addProjectionParameter(count,"central_meridian"); |
|
1356 |
addProjectionParameter(count,"false_easting"); |
|
1357 |
addProjectionParameter(count,"fase_northing"); |
|
1358 |
|
|
1359 |
String[] parameterAcronym={"lat_0"}; |
|
1360 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1361 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
1362 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1363 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1364 |
|
|
1365 |
String[] parameterDefaultValue={"0.0"}; |
|
1366 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1367 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1368 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1369 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1370 |
|
|
1371 |
String[] parameterMaxValue={"90.0"}; |
|
1372 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1373 |
addProjectionParameterMaxValue(count,"360.0"); |
|
1374 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1375 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1376 |
|
|
1377 |
String[] parameterMinValue={"-90.0"}; |
|
1378 |
projectionParameterDefaultValueList.add(count,parameterMinValue); |
|
1379 |
addProjectionParameterMinValue(count,"-360.0"); |
|
1380 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1381 |
addProjectionParameterMinValue(count,"-100000000.0"); |
|
1382 |
|
|
1383 |
String[] projectionAcronym={"ortho"}; |
|
1384 |
projectionAcronymList.add(count,projectionAcronym); |
|
1385 |
} |
|
1386 |
|
|
1387 |
count++; |
|
1388 |
{// Polar_Stereographic |
|
1389 |
String[] projectionName={"Polar_Stereographic"}; |
|
1390 |
projectionNameList.add(count,projectionName); |
|
1391 |
addProjectionName(count,"Polar Stereographic"); |
|
1392 |
addProjectionName(count,"9810"); |
|
1393 |
|
|
1394 |
String[] parameterName={"latitude_of_origin"}; |
|
1395 |
projectionParameterList.add(count,parameterName); |
|
1396 |
addProjectionParameter(count,"latitude_of_origin"); |
|
1397 |
addProjectionParameter(count,"central_meridian"); |
|
1398 |
addProjectionParameter(count,"scale_factor"); |
|
1399 |
addProjectionParameter(count,"false_easting"); |
|
1400 |
addProjectionParameter(count,"fase_northing"); |
|
1401 |
|
|
1402 |
String[] parameterAcronym={"lat_0"}; |
|
1403 |
//lat_0=90 o lat_0=-90 |
|
1404 |
projectionParameterAcronymList.add(count,parameterAcronym); |
|
1405 |
addProjectionParameterAcronymList(count,"lat_ts"); |
|
1406 |
addProjectionParameterAcronymList(count,"lon_0"); |
|
1407 |
addProjectionParameterAcronymList(count,"k"); |
|
1408 |
addProjectionParameterAcronymList(count,"x_0"); |
|
1409 |
addProjectionParameterAcronymList(count,"y_0"); |
|
1410 |
|
|
1411 |
String[] parameterDefaultValue={"90.0"}; |
|
1412 |
projectionParameterDefaultValueList.add(count,parameterDefaultValue); |
|
1413 |
addProjectionParameterDefaultValue(count,"90.0"); |
|
1414 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1415 |
addProjectionParameterDefaultValue(count,"1.0"); |
|
1416 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1417 |
addProjectionParameterDefaultValue(count,"0.0"); |
|
1418 |
|
|
1419 |
String[] parameterMaxValue={"90.0"}; |
|
1420 |
projectionParameterDefaultValueList.add(count,parameterMaxValue); |
|
1421 |
addProjectionParameterMaxValue(count,"90.0"); |
|
1422 |
addProjectionParameterMaxValue(count,"360.0"); |
|
1423 |
addProjectionParameterMaxValue(count,"10.0"); |
|
1424 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1425 |
addProjectionParameterMaxValue(count,"100000000.0"); |
|
1426 |
|
|
1427 |
String[] parameterMinValue={"-90.0"}; |
Also available in: Unified diff