public class UrlMocCoverage extends MocCoverage
Note: MOCs are cached indefinitely per service, beware that this constitutes a potential memory leak. Some smarter caching scheme may be introduced if this causes problems.
Coverage.Amount| Modifier and Type | Field and Description |
|---|---|
static String |
FOOT_SERVICE_URL
Footprint service base URL provided by CDS.
|
DFLT_HPI| Constructor and Description |
|---|
UrlMocCoverage(URL mocUrl)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected cds.moc.SMoc |
createMoc()
Constructs the MOC which will define this object's coverage.
|
static UrlMocCoverage |
getServiceMoc(URL serviceUrl,
int nside)
Returns an instance which gives coverage for a data service
with a given access URL.
|
static UrlMocCoverage |
getVizierMoc(String vizierId,
int nside)
Returns an instance which gives coverage for a named Vizier table.
|
discOverlaps, getAmount, getMoc, initCoveragepublic static final String FOOT_SERVICE_URL
public UrlMocCoverage(URL mocUrl)
mocUrl - URL of MOC fileprotected cds.moc.SMoc createMoc()
throws IOException
MocCoverageMocCoverage.initCoverage() method of
MocCoverage, and should not be called by anyone else.createMoc in class MocCoverageIOExceptionpublic static UrlMocCoverage getServiceMoc(URL serviceUrl, int nside)
serviceUrl - URL of cone search servicenside - requiested HEALPix nside for MOC, or -1 for defaultpublic static UrlMocCoverage getVizierMoc(String vizierId, int nside)
vizierId - vizier table name or aliasnside - requiested HEALPix nside for MOC, or -1 for defaultCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.