162 |
eq(projs[1], proj1) |
eq(projs[1], proj1) |
163 |
eq(projs[2], proj2) |
eq(projs[2], proj2) |
164 |
|
|
165 |
|
# |
166 |
|
# SetAllParameters() |
167 |
|
# SetName() |
168 |
|
# SetProjection() |
169 |
|
# |
170 |
|
params = ["proj=utm", "ellps=clrk66", "zone=13"] |
171 |
|
proj0.SetAllParameters(params) |
172 |
|
eq(proj0.GetAllParameters(), params) |
173 |
|
|
174 |
|
proj2.SetName("something") |
175 |
|
proj0.SetProjection(proj2) |
176 |
|
eq(proj0.GetName(), "something") |
177 |
|
eq(proj0.GetAllParameters(), proj2.GetAllParameters()) |
178 |
|
|
179 |
def testRead(self): |
def testRead(self): |
180 |
"""Test ReadProjFile""" |
"""Test ReadProjFile""" |
181 |
|
|