Skip to content

Commit

Permalink
Removed need for imageset datatype "CatalogHips"
Browse files Browse the repository at this point in the history
  • Loading branch information
imbasimba committed Mar 14, 2021
1 parent d2d58c1 commit 2e0a8a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion engine/wwtlib/HealpixTile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ public HealpixTile(int level, int x, int y, Imageset dataset, Tile parent)
this.faceY = parentTile.faceY * 2 + y;
}

IsCatalogTile = dataset.DataSetType == ImageSetType.CatalogHips;
IsCatalogTile = dataset.HipsProperties.Properties.ContainsKey("dataproduct_type")
&& dataset.HipsProperties.Properties["dataproduct_type"].ToLowerCase() == "catalog";
// All healpix is inside out
//insideOut = true;
ComputeBoundingSphere();
Expand Down
2 changes: 1 addition & 1 deletion engine/wwtlib/IImageSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ namespace wwtlib
//}

public enum ProjectionType { Mercator = 0, Equirectangular = 1, Tangent = 2, Tan = 2, Toast = 3, Spherical = 4, SkyImage = 5, Plotted = 6, Healpix = 7 };
public enum ImageSetType { Earth = 0, Planet = 1, Sky = 2, Panorama = 3, SolarSystem = 4, Sandbox = 5, CatalogHips = 6};
public enum ImageSetType { Earth = 0, Planet = 1, Sky = 2, Panorama = 3, SolarSystem = 4, Sandbox = 5};
public enum BandPass { Gamma = 0, XRay = 1, Ultraviolet = 2, Visible = 3, HydrogenAlpha = 4, IR = 4, Microwave = 5, Radio = 6, VisibleNight = 6 };
}

0 comments on commit 2e0a8a3

Please sign in to comment.