Commit 3edea843 authored by Dan Lipsa's avatar Dan Lipsa
Browse files

Fix Geovis tests. Projections numbers changed in proj 4.9.2

We used a very old proj (4.3.2 from 2008?). Since then
projection indexes have changed. Projection indexes are used
to select the projection for vtkGeoProjectionSource.

So, while it is possible to convert between a projection index to
a projection name, the projection index might change for future
versions of proj4.
parent 8fcbf2e5
......@@ -53,7 +53,7 @@
int TestCoincidentGeoGraphRepresentation2D(int argc, char* argv[])
{
int projNum = 44;
int projNum = 26; // eqc : Equidistant Cylindrical (Plate Caree)
char* fname = vtkTestUtilities::ExpandDataFileName(
argc, argv, "Data/NE2_ps_bath_small.jpg");
vtkStdString imageFile = fname;
......
......@@ -44,7 +44,7 @@
int TestLabeledGeoView2D(int argc, char* argv[])
{
int proj = 40;
int proj = 24; // eck5 : Eckert V
char* fname = vtkTestUtilities::ExpandDataFileName(
argc, argv, "Data/NE2_ps_bath_small.jpg");
vtkStdString imageFile = fname;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment