Project

General

Profile

1
/**
2
 *  '$RCSfile$'
3
 *  Copyright: 2003 Regents of the University of California.
4
 *
5
 * Author: John Harris
6
 * '$Date: 2006-03-03 11:36:22 -0800 (Fri, 03 Mar 2006) $'
7
 * '$Revision: 2946 $'
8
 *
9
 * This program is free software; you can redistribute it and/or modify
10
 * it under the terms of the GNU General Public License as published by
11
 * the Free Software Foundation; either version 2 of the License, or
12
 * (at your option) any later version.
13
 *
14
 * This program is distributed in the hope that it will be useful,
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 * GNU General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU General Public License
20
 * along with this program; if not, write to the Free Software
21
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22
 */
23
package edu.ucsb.nceas.metacat.spatial;
24

    
25
public class MetacatSpatialConstants {
26

    
27
  public static final float FLOAT_NULL = (float)1e20;
28

    
29
  /** like: nebulous.msi.ucsb.edu:9999 **/
30
  public static String servercontext;
31

    
32
  // default to off -- get from the metacat properties file 
33
  public static boolean runSpatialOption = false;
34

    
35
  //metacat?action=read&docid=knb2003.432.1&qformat=knb
36
  public static String metacatcontext = "knp";
37
  
38
  public static  void setServerContext(String _scontext) {
39
    servercontext = _scontext;
40
  }
41

    
42
  public static String getServerContext() { return servercontext; }
43

    
44
  public static String getMetacatContext() { return metacatcontext;}
45
  
46

    
47
}
(1-1/16)