IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33720 for trunk/ippTools


Ignore:
Timestamp:
Apr 5, 2012, 1:00:05 PM (14 years ago)
Author:
bills
Message:

Add table skycell to the database and the program
sctool (skycelltool but easier to type)

Location:
trunk/ippTools
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/pxadmin_create_tables.sql

    r33119 r33720  
    21272127) ENGINE=innodb DEFAULT CHARSET=latin1;
    21282128
     2129CREATE TABLE skycell (
     2130    tess_id     VARCHAR(64),
     2131    skycell_id  VARCHAR(64),
     2132    radeg       float,
     2133    decdeg      float,
     2134    glong       float,
     2135    glat        float,
     2136    width       float,
     2137    height      float,
     2138    PRIMARY KEY (tess_id, skycell_id),
     2139    KEY(radeg),
     2140    KEY(decdeg),
     2141    KEY(glong),
     2142    KEY(glat)
     2143) ENGINE=InnoDB DEFAULT CHARSET=latin1;
     2144
    21292145
    21302146-- This comment line is here to avoid empty query error.
  • trunk/ippTools/share/pxadmin_drop_tables.sql

    r32960 r33720  
    108108DROP TABLE IF EXISTS skycalRun;
    109109DROP TABLE IF EXISTS skycalResult;
     110DROP TABLE IF EXISTS skycell;
    110111
    111112SET FOREIGN_KEY_CHECKS=1
  • trunk/ippTools/src/Makefile.am

    r33031 r33720  
    3131        mergetool \
    3232        laptool \
    33         vptool
     33        vptool \
     34        sctool
    3435
    3536pkginclude_HEADERS = \
     
    8384        mergetool.h \
    8485        laptool.h \
    85         vptool.h
     86        vptool.h \
     87        sctool.h
    8688
    8789lib_LTLIBRARIES = libpxtools.la
     
    316318    vptoolConfig.c
    317319
     320sctool_CFLAGS = $(PSLIB_CFLAGS) $(PSMODULES_CFLAGS) $(IPPDB_CFLAGS)
     321sctool_LDADD = $(PSLIB_LIBS) $(PSMODULES_LIBS) $(IPPDB_LIBS) libpxtools.la
     322sctool_SOURCES = \
     323    sctool.c \
     324    sctoolConfig.c
     325
    318326clean-local:
    319327        -rm -f TAGS
Note: See TracChangeset for help on using the changeset viewer.