cd /home/sn/dev/QGISplugins/VetEpiGIS/group
pyrcc4 resources.qrc -o resources_rc.py

cd plugin/
pyuic4 xabout_dialog_base.ui -o xabout_dialog.py
pyuic4 dbsetup_dialog_base.ui -o dbsetup_dialog.py
pyuic4 merge_dialog_base.ui -o merge_dialog.py
pyuic4 export_dialog_base.ui -o export_dialog.py

rm -rf /home/sn/.qgis2/python/plugins/VetEpiGISgroup
cp -avr /home/sn/dev/QGISplugins/VetEpiGIS/group /home/sn/.qgis2/python/plugins/VetEpiGISgroup
cd /home/sn/.qgis2/python/plugins/VetEpiGISgroup
rm *.pyc
make test
/home/sn/apps/bin/qgis.sh





###################################################################################################
BEGIN TRANSACTION;
CREATE TABLE tempa (gid text, localid text, code text, largescale text, disease text, animalno text, species text, production text, year text, status text, suspect text, confirmation text, expiration text, notes text, hrid text, 'timestamp' text);
SELECT AddGeometryColumn('tempa', 'geom', 4326, 'MULTIPOLYGON', 'XY');
INSERT INTO tempa (gid, localid, code, largescale, disease, animalno, species, production, year, status, suspect, confirmation, expiration, notes, hrid, 'timestamp', geom) select gid, localid, code, largescale, disease, animalno, species, production, year, status, suspect, confirmation, expiration, notes, hrid, 'timestamp', geom from buffer_10000ml;
DROP TABLE buffer_10000ml;
CREATE TABLE buffer_10000ml (gid text, localid text, code text, largescale text, disease text, animalno text, species text, production text, year text, status text, suspect text, confirmation text, expiration text, notes text, hrid text, 'timestamp' text);
SELECT AddGeometryColumn('buffer_10000ml', 'geom', 4326, 'MULTIPOLYGON', 'XY');
INSERT INTO buffer_10000ml (gid, localid, code, largescale, disease, animalno, species, production, year, status, suspect, confirmation, expiration, notes, hrid, 'timestamp', geom) select gid, localid, code, largescale, disease, animalno, species, production, year, status, suspect, confirmation, expiration, notes, hrid, 'timestamp', geom from tempa;
DROP TABLE tempa;
COMMIT;

