 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02282 -2.785116)', '2026-06-12 10:08:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022842 -2.785172)'), GeomFromEWKT('SRID=4674;POINT (-40.02282 -2.785116)'))) / (select extract(epoch from '2026-06-12 10:08:20'::timestamp) - extract(epoch from '2026-06-12 10:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022842 -2.785172)'), GeomFromEWKT('SRID=4674;POINT (-40.02282 -2.785116)'))) / (select extract(epoch from '2026-06-12 10:08:20'::timestamp) - extract(epoch from '2026-06-12 10:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022818 -2.785083)', '2026-06-12 10:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02282 -2.785116)'), GeomFromEWKT('SRID=4674;POINT (-40.022818 -2.785083)'))) / (select extract(epoch from '2026-06-12 10:08:22'::timestamp) - extract(epoch from '2026-06-12 10:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02282 -2.785116)'), GeomFromEWKT('SRID=4674;POINT (-40.022818 -2.785083)'))) / (select extract(epoch from '2026-06-12 10:08:22'::timestamp) - extract(epoch from '2026-06-12 10:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022822 -2.785068)', '2026-06-12 10:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022818 -2.785083)'), GeomFromEWKT('SRID=4674;POINT (-40.022822 -2.785068)'))) / (select extract(epoch from '2026-06-12 10:08:23'::timestamp) - extract(epoch from '2026-06-12 10:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022818 -2.785083)'), GeomFromEWKT('SRID=4674;POINT (-40.022822 -2.785068)'))) / (select extract(epoch from '2026-06-12 10:08:23'::timestamp) - extract(epoch from '2026-06-12 10:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022833 -2.785008)', '2026-06-12 10:08:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022822 -2.785068)'), GeomFromEWKT('SRID=4674;POINT (-40.022833 -2.785008)'))) / (select extract(epoch from '2026-06-12 10:08:27'::timestamp) - extract(epoch from '2026-06-12 10:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022822 -2.785068)'), GeomFromEWKT('SRID=4674;POINT (-40.022833 -2.785008)'))) / (select extract(epoch from '2026-06-12 10:08:27'::timestamp) - extract(epoch from '2026-06-12 10:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022819 -2.7849)', '2026-06-12 10:08:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022833 -2.785008)'), GeomFromEWKT('SRID=4674;POINT (-40.022819 -2.7849)'))) / (select extract(epoch from '2026-06-12 10:08:35'::timestamp) - extract(epoch from '2026-06-12 10:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022833 -2.785008)'), GeomFromEWKT('SRID=4674;POINT (-40.022819 -2.7849)'))) / (select extract(epoch from '2026-06-12 10:08:35'::timestamp) - extract(epoch from '2026-06-12 10:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022871 -2.78483)', '2026-06-12 10:08:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022819 -2.7849)'), GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.78483)'))) / (select extract(epoch from '2026-06-12 10:08:41'::timestamp) - extract(epoch from '2026-06-12 10:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022819 -2.7849)'), GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.78483)'))) / (select extract(epoch from '2026-06-12 10:08:41'::timestamp) - extract(epoch from '2026-06-12 10:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022918 -2.784767)', '2026-06-12 10:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.78483)'), GeomFromEWKT('SRID=4674;POINT (-40.022918 -2.784767)'))) / (select extract(epoch from '2026-06-12 10:08:47'::timestamp) - extract(epoch from '2026-06-12 10:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022871 -2.78483)'), GeomFromEWKT('SRID=4674;POINT (-40.022918 -2.784767)'))) / (select extract(epoch from '2026-06-12 10:08:47'::timestamp) - extract(epoch from '2026-06-12 10:08:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022893 -2.784723)', '2026-06-12 10:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022918 -2.784767)'), GeomFromEWKT('SRID=4674;POINT (-40.022893 -2.784723)'))) / (select extract(epoch from '2026-06-12 10:08:53'::timestamp) - extract(epoch from '2026-06-12 10:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022918 -2.784767)'), GeomFromEWKT('SRID=4674;POINT (-40.022893 -2.784723)'))) / (select extract(epoch from '2026-06-12 10:08:53'::timestamp) - extract(epoch from '2026-06-12 10:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022876 -2.784713)', '2026-06-12 10:08:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022893 -2.784723)'), GeomFromEWKT('SRID=4674;POINT (-40.022876 -2.784713)'))) / (select extract(epoch from '2026-06-12 10:08:55'::timestamp) - extract(epoch from '2026-06-12 10:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022893 -2.784723)'), GeomFromEWKT('SRID=4674;POINT (-40.022876 -2.784713)'))) / (select extract(epoch from '2026-06-12 10:08:55'::timestamp) - extract(epoch from '2026-06-12 10:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022823 -2.784706)', '2026-06-12 10:09:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022876 -2.784713)'), GeomFromEWKT('SRID=4674;POINT (-40.022823 -2.784706)'))) / (select extract(epoch from '2026-06-12 10:09:00'::timestamp) - extract(epoch from '2026-06-12 10:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022876 -2.784713)'), GeomFromEWKT('SRID=4674;POINT (-40.022823 -2.784706)'))) / (select extract(epoch from '2026-06-12 10:09:00'::timestamp) - extract(epoch from '2026-06-12 10:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022802 -2.78471)', '2026-06-12 10:09:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022823 -2.784706)'), GeomFromEWKT('SRID=4674;POINT (-40.022802 -2.78471)'))) / (select extract(epoch from '2026-06-12 10:09:02'::timestamp) - extract(epoch from '2026-06-12 10:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022823 -2.784706)'), GeomFromEWKT('SRID=4674;POINT (-40.022802 -2.78471)'))) / (select extract(epoch from '2026-06-12 10:09:02'::timestamp) - extract(epoch from '2026-06-12 10:09:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022757 -2.784739)', '2026-06-12 10:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022802 -2.78471)'), GeomFromEWKT('SRID=4674;POINT (-40.022757 -2.784739)'))) / (select extract(epoch from '2026-06-12 10:09:07'::timestamp) - extract(epoch from '2026-06-12 10:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022802 -2.78471)'), GeomFromEWKT('SRID=4674;POINT (-40.022757 -2.784739)'))) / (select extract(epoch from '2026-06-12 10:09:07'::timestamp) - extract(epoch from '2026-06-12 10:09:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022672 -2.784813)', '2026-06-12 10:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022757 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.022672 -2.784813)'))) / (select extract(epoch from '2026-06-12 10:09:16'::timestamp) - extract(epoch from '2026-06-12 10:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022757 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.022672 -2.784813)'))) / (select extract(epoch from '2026-06-12 10:09:16'::timestamp) - extract(epoch from '2026-06-12 10:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022608 -2.78487)', '2026-06-12 10:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022672 -2.784813)'), GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.78487)'))) / (select extract(epoch from '2026-06-12 10:09:23'::timestamp) - extract(epoch from '2026-06-12 10:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022672 -2.784813)'), GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.78487)'))) / (select extract(epoch from '2026-06-12 10:09:23'::timestamp) - extract(epoch from '2026-06-12 10:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022591 -2.784914)', '2026-06-12 10:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.78487)'), GeomFromEWKT('SRID=4674;POINT (-40.022591 -2.784914)'))) / (select extract(epoch from '2026-06-12 10:09:31'::timestamp) - extract(epoch from '2026-06-12 10:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.78487)'), GeomFromEWKT('SRID=4674;POINT (-40.022591 -2.784914)'))) / (select extract(epoch from '2026-06-12 10:09:31'::timestamp) - extract(epoch from '2026-06-12 10:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022611 -2.78493)', '2026-06-12 10:09:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022591 -2.784914)'), GeomFromEWKT('SRID=4674;POINT (-40.022611 -2.78493)'))) / (select extract(epoch from '2026-06-12 10:09:40'::timestamp) - extract(epoch from '2026-06-12 10:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022591 -2.784914)'), GeomFromEWKT('SRID=4674;POINT (-40.022611 -2.78493)'))) / (select extract(epoch from '2026-06-12 10:09:40'::timestamp) - extract(epoch from '2026-06-12 10:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022632 -2.784917)', '2026-06-12 10:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022611 -2.78493)'), GeomFromEWKT('SRID=4674;POINT (-40.022632 -2.784917)'))) / (select extract(epoch from '2026-06-12 10:09:49'::timestamp) - extract(epoch from '2026-06-12 10:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022611 -2.78493)'), GeomFromEWKT('SRID=4674;POINT (-40.022632 -2.784917)'))) / (select extract(epoch from '2026-06-12 10:09:49'::timestamp) - extract(epoch from '2026-06-12 10:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022654 -2.784893)', '2026-06-12 10:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022632 -2.784917)'), GeomFromEWKT('SRID=4674;POINT (-40.022654 -2.784893)'))) / (select extract(epoch from '2026-06-12 10:09:58'::timestamp) - extract(epoch from '2026-06-12 10:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022632 -2.784917)'), GeomFromEWKT('SRID=4674;POINT (-40.022654 -2.784893)'))) / (select extract(epoch from '2026-06-12 10:09:58'::timestamp) - extract(epoch from '2026-06-12 10:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022695 -2.784861)', '2026-06-12 10:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022654 -2.784893)'), GeomFromEWKT('SRID=4674;POINT (-40.022695 -2.784861)'))) / (select extract(epoch from '2026-06-12 10:10:10'::timestamp) - extract(epoch from '2026-06-12 10:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022654 -2.784893)'), GeomFromEWKT('SRID=4674;POINT (-40.022695 -2.784861)'))) / (select extract(epoch from '2026-06-12 10:10:10'::timestamp) - extract(epoch from '2026-06-12 10:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022739 -2.784852)', '2026-06-12 10:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022695 -2.784861)'), GeomFromEWKT('SRID=4674;POINT (-40.022739 -2.784852)'))) / (select extract(epoch from '2026-06-12 10:10:20'::timestamp) - extract(epoch from '2026-06-12 10:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022695 -2.784861)'), GeomFromEWKT('SRID=4674;POINT (-40.022739 -2.784852)'))) / (select extract(epoch from '2026-06-12 10:10:20'::timestamp) - extract(epoch from '2026-06-12 10:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022776 -2.784859)', '2026-06-12 10:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022739 -2.784852)'), GeomFromEWKT('SRID=4674;POINT (-40.022776 -2.784859)'))) / (select extract(epoch from '2026-06-12 10:10:30'::timestamp) - extract(epoch from '2026-06-12 10:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022739 -2.784852)'), GeomFromEWKT('SRID=4674;POINT (-40.022776 -2.784859)'))) / (select extract(epoch from '2026-06-12 10:10:30'::timestamp) - extract(epoch from '2026-06-12 10:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022829 -2.784887)', '2026-06-12 10:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022776 -2.784859)'), GeomFromEWKT('SRID=4674;POINT (-40.022829 -2.784887)'))) / (select extract(epoch from '2026-06-12 10:10:51'::timestamp) - extract(epoch from '2026-06-12 10:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022776 -2.784859)'), GeomFromEWKT('SRID=4674;POINT (-40.022829 -2.784887)'))) / (select extract(epoch from '2026-06-12 10:10:51'::timestamp) - extract(epoch from '2026-06-12 10:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022883 -2.784899)', '2026-06-12 10:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022829 -2.784887)'), GeomFromEWKT('SRID=4674;POINT (-40.022883 -2.784899)'))) / (select extract(epoch from '2026-06-12 10:11:16'::timestamp) - extract(epoch from '2026-06-12 10:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022829 -2.784887)'), GeomFromEWKT('SRID=4674;POINT (-40.022883 -2.784899)'))) / (select extract(epoch from '2026-06-12 10:11:16'::timestamp) - extract(epoch from '2026-06-12 10:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02289 -2.784874)', '2026-06-12 10:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022883 -2.784899)'), GeomFromEWKT('SRID=4674;POINT (-40.02289 -2.784874)'))) / (select extract(epoch from '2026-06-12 10:11:35'::timestamp) - extract(epoch from '2026-06-12 10:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022883 -2.784899)'), GeomFromEWKT('SRID=4674;POINT (-40.02289 -2.784874)'))) / (select extract(epoch from '2026-06-12 10:11:35'::timestamp) - extract(epoch from '2026-06-12 10:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022889 -2.784877)', '2026-06-12 10:11:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02289 -2.784874)'), GeomFromEWKT('SRID=4674;POINT (-40.022889 -2.784877)'))) / (select extract(epoch from '2026-06-12 10:11:59'::timestamp) - extract(epoch from '2026-06-12 10:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02289 -2.784874)'), GeomFromEWKT('SRID=4674;POINT (-40.022889 -2.784877)'))) / (select extract(epoch from '2026-06-12 10:11:59'::timestamp) - extract(epoch from '2026-06-12 10:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022836 -2.784866)', '2026-06-12 10:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022889 -2.784877)'), GeomFromEWKT('SRID=4674;POINT (-40.022836 -2.784866)'))) / (select extract(epoch from '2026-06-12 10:12:11'::timestamp) - extract(epoch from '2026-06-12 10:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022889 -2.784877)'), GeomFromEWKT('SRID=4674;POINT (-40.022836 -2.784866)'))) / (select extract(epoch from '2026-06-12 10:12:11'::timestamp) - extract(epoch from '2026-06-12 10:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022826 -2.784867)', '2026-06-12 10:12:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022836 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.022826 -2.784867)'))) / (select extract(epoch from '2026-06-12 10:12:12'::timestamp) - extract(epoch from '2026-06-12 10:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022836 -2.784866)'), GeomFromEWKT('SRID=4674;POINT (-40.022826 -2.784867)'))) / (select extract(epoch from '2026-06-12 10:12:12'::timestamp) - extract(epoch from '2026-06-12 10:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022789 -2.784879)', '2026-06-12 10:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022826 -2.784867)'), GeomFromEWKT('SRID=4674;POINT (-40.022789 -2.784879)'))) / (select extract(epoch from '2026-06-12 10:12:16'::timestamp) - extract(epoch from '2026-06-12 10:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022826 -2.784867)'), GeomFromEWKT('SRID=4674;POINT (-40.022789 -2.784879)'))) / (select extract(epoch from '2026-06-12 10:12:16'::timestamp) - extract(epoch from '2026-06-12 10:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022719 -2.784916)', '2026-06-12 10:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022789 -2.784879)'), GeomFromEWKT('SRID=4674;POINT (-40.022719 -2.784916)'))) / (select extract(epoch from '2026-06-12 10:12:23'::timestamp) - extract(epoch from '2026-06-12 10:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022789 -2.784879)'), GeomFromEWKT('SRID=4674;POINT (-40.022719 -2.784916)'))) / (select extract(epoch from '2026-06-12 10:12:23'::timestamp) - extract(epoch from '2026-06-12 10:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022701 -2.784924)', '2026-06-12 10:12:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022719 -2.784916)'), GeomFromEWKT('SRID=4674;POINT (-40.022701 -2.784924)'))) / (select extract(epoch from '2026-06-12 10:12:25'::timestamp) - extract(epoch from '2026-06-12 10:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022719 -2.784916)'), GeomFromEWKT('SRID=4674;POINT (-40.022701 -2.784924)'))) / (select extract(epoch from '2026-06-12 10:12:25'::timestamp) - extract(epoch from '2026-06-12 10:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022657 -2.784928)', '2026-06-12 10:12:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022701 -2.784924)'), GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.784928)'))) / (select extract(epoch from '2026-06-12 10:12:30'::timestamp) - extract(epoch from '2026-06-12 10:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022701 -2.784924)'), GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.784928)'))) / (select extract(epoch from '2026-06-12 10:12:30'::timestamp) - extract(epoch from '2026-06-12 10:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02261 -2.784908)', '2026-06-12 10:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.784928)'), GeomFromEWKT('SRID=4674;POINT (-40.02261 -2.784908)'))) / (select extract(epoch from '2026-06-12 10:12:37'::timestamp) - extract(epoch from '2026-06-12 10:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.784928)'), GeomFromEWKT('SRID=4674;POINT (-40.02261 -2.784908)'))) / (select extract(epoch from '2026-06-12 10:12:37'::timestamp) - extract(epoch from '2026-06-12 10:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022572 -2.784891)', '2026-06-12 10:12:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02261 -2.784908)'), GeomFromEWKT('SRID=4674;POINT (-40.022572 -2.784891)'))) / (select extract(epoch from '2026-06-12 10:12:46'::timestamp) - extract(epoch from '2026-06-12 10:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02261 -2.784908)'), GeomFromEWKT('SRID=4674;POINT (-40.022572 -2.784891)'))) / (select extract(epoch from '2026-06-12 10:12:46'::timestamp) - extract(epoch from '2026-06-12 10:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022524 -2.784846)', '2026-06-12 10:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022572 -2.784891)'), GeomFromEWKT('SRID=4674;POINT (-40.022524 -2.784846)'))) / (select extract(epoch from '2026-06-12 10:12:53'::timestamp) - extract(epoch from '2026-06-12 10:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022572 -2.784891)'), GeomFromEWKT('SRID=4674;POINT (-40.022524 -2.784846)'))) / (select extract(epoch from '2026-06-12 10:12:53'::timestamp) - extract(epoch from '2026-06-12 10:12:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022472 -2.784795)', '2026-06-12 10:12:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022524 -2.784846)'), GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.784795)'))) / (select extract(epoch from '2026-06-12 10:12:59'::timestamp) - extract(epoch from '2026-06-12 10:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022524 -2.784846)'), GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.784795)'))) / (select extract(epoch from '2026-06-12 10:12:59'::timestamp) - extract(epoch from '2026-06-12 10:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022454 -2.784757)', '2026-06-12 10:13:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.784795)'), GeomFromEWKT('SRID=4674;POINT (-40.022454 -2.784757)'))) / (select extract(epoch from '2026-06-12 10:13:02'::timestamp) - extract(epoch from '2026-06-12 10:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022472 -2.784795)'), GeomFromEWKT('SRID=4674;POINT (-40.022454 -2.784757)'))) / (select extract(epoch from '2026-06-12 10:13:02'::timestamp) - extract(epoch from '2026-06-12 10:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022436 -2.784714)', '2026-06-12 10:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022454 -2.784757)'), GeomFromEWKT('SRID=4674;POINT (-40.022436 -2.784714)'))) / (select extract(epoch from '2026-06-12 10:13:05'::timestamp) - extract(epoch from '2026-06-12 10:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022454 -2.784757)'), GeomFromEWKT('SRID=4674;POINT (-40.022436 -2.784714)'))) / (select extract(epoch from '2026-06-12 10:13:05'::timestamp) - extract(epoch from '2026-06-12 10:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022398 -2.784611)', '2026-06-12 10:13:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022436 -2.784714)'), GeomFromEWKT('SRID=4674;POINT (-40.022398 -2.784611)'))) / (select extract(epoch from '2026-06-12 10:13:12'::timestamp) - extract(epoch from '2026-06-12 10:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022436 -2.784714)'), GeomFromEWKT('SRID=4674;POINT (-40.022398 -2.784611)'))) / (select extract(epoch from '2026-06-12 10:13:12'::timestamp) - extract(epoch from '2026-06-12 10:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022392 -2.784595)', '2026-06-12 10:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022398 -2.784611)'), GeomFromEWKT('SRID=4674;POINT (-40.022392 -2.784595)'))) / (select extract(epoch from '2026-06-12 10:13:13'::timestamp) - extract(epoch from '2026-06-12 10:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022398 -2.784611)'), GeomFromEWKT('SRID=4674;POINT (-40.022392 -2.784595)'))) / (select extract(epoch from '2026-06-12 10:13:13'::timestamp) - extract(epoch from '2026-06-12 10:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022379 -2.784564)', '2026-06-12 10:13:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022392 -2.784595)'), GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.784564)'))) / (select extract(epoch from '2026-06-12 10:13:15'::timestamp) - extract(epoch from '2026-06-12 10:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022392 -2.784595)'), GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.784564)'))) / (select extract(epoch from '2026-06-12 10:13:15'::timestamp) - extract(epoch from '2026-06-12 10:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022372 -2.78455)', '2026-06-12 10:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.784564)'), GeomFromEWKT('SRID=4674;POINT (-40.022372 -2.78455)'))) / (select extract(epoch from '2026-06-12 10:13:16'::timestamp) - extract(epoch from '2026-06-12 10:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022379 -2.784564)'), GeomFromEWKT('SRID=4674;POINT (-40.022372 -2.78455)'))) / (select extract(epoch from '2026-06-12 10:13:16'::timestamp) - extract(epoch from '2026-06-12 10:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022327 -2.784476)', '2026-06-12 10:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022372 -2.78455)'), GeomFromEWKT('SRID=4674;POINT (-40.022327 -2.784476)'))) / (select extract(epoch from '2026-06-12 10:13:22'::timestamp) - extract(epoch from '2026-06-12 10:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022372 -2.78455)'), GeomFromEWKT('SRID=4674;POINT (-40.022327 -2.784476)'))) / (select extract(epoch from '2026-06-12 10:13:22'::timestamp) - extract(epoch from '2026-06-12 10:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022285 -2.784419)', '2026-06-12 10:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022327 -2.784476)'), GeomFromEWKT('SRID=4674;POINT (-40.022285 -2.784419)'))) / (select extract(epoch from '2026-06-12 10:13:27'::timestamp) - extract(epoch from '2026-06-12 10:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022327 -2.784476)'), GeomFromEWKT('SRID=4674;POINT (-40.022285 -2.784419)'))) / (select extract(epoch from '2026-06-12 10:13:27'::timestamp) - extract(epoch from '2026-06-12 10:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022271 -2.784393)', '2026-06-12 10:13:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022285 -2.784419)'), GeomFromEWKT('SRID=4674;POINT (-40.022271 -2.784393)'))) / (select extract(epoch from '2026-06-12 10:13:29'::timestamp) - extract(epoch from '2026-06-12 10:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022285 -2.784419)'), GeomFromEWKT('SRID=4674;POINT (-40.022271 -2.784393)'))) / (select extract(epoch from '2026-06-12 10:13:29'::timestamp) - extract(epoch from '2026-06-12 10:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02224 -2.784319)', '2026-06-12 10:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022271 -2.784393)'), GeomFromEWKT('SRID=4674;POINT (-40.02224 -2.784319)'))) / (select extract(epoch from '2026-06-12 10:13:34'::timestamp) - extract(epoch from '2026-06-12 10:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022271 -2.784393)'), GeomFromEWKT('SRID=4674;POINT (-40.02224 -2.784319)'))) / (select extract(epoch from '2026-06-12 10:13:34'::timestamp) - extract(epoch from '2026-06-12 10:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022202 -2.784213)', '2026-06-12 10:13:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02224 -2.784319)'), GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.784213)'))) / (select extract(epoch from '2026-06-12 10:13:41'::timestamp) - extract(epoch from '2026-06-12 10:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02224 -2.784319)'), GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.784213)'))) / (select extract(epoch from '2026-06-12 10:13:41'::timestamp) - extract(epoch from '2026-06-12 10:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022161 -2.784113)', '2026-06-12 10:13:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.784213)'), GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.784113)'))) / (select extract(epoch from '2026-06-12 10:13:48'::timestamp) - extract(epoch from '2026-06-12 10:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022202 -2.784213)'), GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.784113)'))) / (select extract(epoch from '2026-06-12 10:13:48'::timestamp) - extract(epoch from '2026-06-12 10:13:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022105 -2.784011)', '2026-06-12 10:13:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.784113)'), GeomFromEWKT('SRID=4674;POINT (-40.022105 -2.784011)'))) / (select extract(epoch from '2026-06-12 10:13:56'::timestamp) - extract(epoch from '2026-06-12 10:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.784113)'), GeomFromEWKT('SRID=4674;POINT (-40.022105 -2.784011)'))) / (select extract(epoch from '2026-06-12 10:13:56'::timestamp) - extract(epoch from '2026-06-12 10:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02207 -2.783925)', '2026-06-12 10:14:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022105 -2.784011)'), GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783925)'))) / (select extract(epoch from '2026-06-12 10:14:02'::timestamp) - extract(epoch from '2026-06-12 10:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022105 -2.784011)'), GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783925)'))) / (select extract(epoch from '2026-06-12 10:14:02'::timestamp) - extract(epoch from '2026-06-12 10:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022058 -2.783843)', '2026-06-12 10:14:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783925)'), GeomFromEWKT('SRID=4674;POINT (-40.022058 -2.783843)'))) / (select extract(epoch from '2026-06-12 10:14:07'::timestamp) - extract(epoch from '2026-06-12 10:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783925)'), GeomFromEWKT('SRID=4674;POINT (-40.022058 -2.783843)'))) / (select extract(epoch from '2026-06-12 10:14:07'::timestamp) - extract(epoch from '2026-06-12 10:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02207 -2.783706)', '2026-06-12 10:14:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022058 -2.783843)'), GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783706)'))) / (select extract(epoch from '2026-06-12 10:14:15'::timestamp) - extract(epoch from '2026-06-12 10:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022058 -2.783843)'), GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783706)'))) / (select extract(epoch from '2026-06-12 10:14:15'::timestamp) - extract(epoch from '2026-06-12 10:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022085 -2.7836)', '2026-06-12 10:14:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783706)'), GeomFromEWKT('SRID=4674;POINT (-40.022085 -2.7836)'))) / (select extract(epoch from '2026-06-12 10:14:22'::timestamp) - extract(epoch from '2026-06-12 10:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02207 -2.783706)'), GeomFromEWKT('SRID=4674;POINT (-40.022085 -2.7836)'))) / (select extract(epoch from '2026-06-12 10:14:22'::timestamp) - extract(epoch from '2026-06-12 10:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022089 -2.783554)', '2026-06-12 10:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022085 -2.7836)'), GeomFromEWKT('SRID=4674;POINT (-40.022089 -2.783554)'))) / (select extract(epoch from '2026-06-12 10:14:25'::timestamp) - extract(epoch from '2026-06-12 10:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022085 -2.7836)'), GeomFromEWKT('SRID=4674;POINT (-40.022089 -2.783554)'))) / (select extract(epoch from '2026-06-12 10:14:25'::timestamp) - extract(epoch from '2026-06-12 10:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022091 -2.783514)', '2026-06-12 10:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022089 -2.783554)'), GeomFromEWKT('SRID=4674;POINT (-40.022091 -2.783514)'))) / (select extract(epoch from '2026-06-12 10:14:28'::timestamp) - extract(epoch from '2026-06-12 10:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022089 -2.783554)'), GeomFromEWKT('SRID=4674;POINT (-40.022091 -2.783514)'))) / (select extract(epoch from '2026-06-12 10:14:28'::timestamp) - extract(epoch from '2026-06-12 10:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022103 -2.783458)', '2026-06-12 10:14:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022091 -2.783514)'), GeomFromEWKT('SRID=4674;POINT (-40.022103 -2.783458)'))) / (select extract(epoch from '2026-06-12 10:14:35'::timestamp) - extract(epoch from '2026-06-12 10:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022091 -2.783514)'), GeomFromEWKT('SRID=4674;POINT (-40.022103 -2.783458)'))) / (select extract(epoch from '2026-06-12 10:14:35'::timestamp) - extract(epoch from '2026-06-12 10:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022087 -2.783417)', '2026-06-12 10:14:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022103 -2.783458)'), GeomFromEWKT('SRID=4674;POINT (-40.022087 -2.783417)'))) / (select extract(epoch from '2026-06-12 10:14:43'::timestamp) - extract(epoch from '2026-06-12 10:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022103 -2.783458)'), GeomFromEWKT('SRID=4674;POINT (-40.022087 -2.783417)'))) / (select extract(epoch from '2026-06-12 10:14:43'::timestamp) - extract(epoch from '2026-06-12 10:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022016 -2.78343)', '2026-06-12 10:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022087 -2.783417)'), GeomFromEWKT('SRID=4674;POINT (-40.022016 -2.78343)'))) / (select extract(epoch from '2026-06-12 10:14:52'::timestamp) - extract(epoch from '2026-06-12 10:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022087 -2.783417)'), GeomFromEWKT('SRID=4674;POINT (-40.022016 -2.78343)'))) / (select extract(epoch from '2026-06-12 10:14:52'::timestamp) - extract(epoch from '2026-06-12 10:14:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021923 -2.783486)', '2026-06-12 10:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022016 -2.78343)'), GeomFromEWKT('SRID=4674;POINT (-40.021923 -2.783486)'))) / (select extract(epoch from '2026-06-12 10:15:01'::timestamp) - extract(epoch from '2026-06-12 10:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022016 -2.78343)'), GeomFromEWKT('SRID=4674;POINT (-40.021923 -2.783486)'))) / (select extract(epoch from '2026-06-12 10:15:01'::timestamp) - extract(epoch from '2026-06-12 10:14:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021857 -2.783523)', '2026-06-12 10:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021923 -2.783486)'), GeomFromEWKT('SRID=4674;POINT (-40.021857 -2.783523)'))) / (select extract(epoch from '2026-06-12 10:15:08'::timestamp) - extract(epoch from '2026-06-12 10:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021923 -2.783486)'), GeomFromEWKT('SRID=4674;POINT (-40.021857 -2.783523)'))) / (select extract(epoch from '2026-06-12 10:15:08'::timestamp) - extract(epoch from '2026-06-12 10:15:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021819 -2.783566)', '2026-06-12 10:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021857 -2.783523)'), GeomFromEWKT('SRID=4674;POINT (-40.021819 -2.783566)'))) / (select extract(epoch from '2026-06-12 10:15:17'::timestamp) - extract(epoch from '2026-06-12 10:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021857 -2.783523)'), GeomFromEWKT('SRID=4674;POINT (-40.021819 -2.783566)'))) / (select extract(epoch from '2026-06-12 10:15:17'::timestamp) - extract(epoch from '2026-06-12 10:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021831 -2.783593)', '2026-06-12 10:15:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021819 -2.783566)'), GeomFromEWKT('SRID=4674;POINT (-40.021831 -2.783593)'))) / (select extract(epoch from '2026-06-12 10:15:25'::timestamp) - extract(epoch from '2026-06-12 10:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021819 -2.783566)'), GeomFromEWKT('SRID=4674;POINT (-40.021831 -2.783593)'))) / (select extract(epoch from '2026-06-12 10:15:25'::timestamp) - extract(epoch from '2026-06-12 10:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021882 -2.783602)', '2026-06-12 10:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021831 -2.783593)'), GeomFromEWKT('SRID=4674;POINT (-40.021882 -2.783602)'))) / (select extract(epoch from '2026-06-12 10:15:37'::timestamp) - extract(epoch from '2026-06-12 10:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021831 -2.783593)'), GeomFromEWKT('SRID=4674;POINT (-40.021882 -2.783602)'))) / (select extract(epoch from '2026-06-12 10:15:37'::timestamp) - extract(epoch from '2026-06-12 10:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021944 -2.783594)', '2026-06-12 10:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021882 -2.783602)'), GeomFromEWKT('SRID=4674;POINT (-40.021944 -2.783594)'))) / (select extract(epoch from '2026-06-12 10:15:50'::timestamp) - extract(epoch from '2026-06-12 10:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021882 -2.783602)'), GeomFromEWKT('SRID=4674;POINT (-40.021944 -2.783594)'))) / (select extract(epoch from '2026-06-12 10:15:50'::timestamp) - extract(epoch from '2026-06-12 10:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022062 -2.783571)', '2026-06-12 10:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021944 -2.783594)'), GeomFromEWKT('SRID=4674;POINT (-40.022062 -2.783571)'))) / (select extract(epoch from '2026-06-12 10:16:18'::timestamp) - extract(epoch from '2026-06-12 10:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021944 -2.783594)'), GeomFromEWKT('SRID=4674;POINT (-40.022062 -2.783571)'))) / (select extract(epoch from '2026-06-12 10:16:18'::timestamp) - extract(epoch from '2026-06-12 10:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022149 -2.783585)', '2026-06-12 10:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022062 -2.783571)'), GeomFromEWKT('SRID=4674;POINT (-40.022149 -2.783585)'))) / (select extract(epoch from '2026-06-12 10:16:42'::timestamp) - extract(epoch from '2026-06-12 10:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022062 -2.783571)'), GeomFromEWKT('SRID=4674;POINT (-40.022149 -2.783585)'))) / (select extract(epoch from '2026-06-12 10:16:42'::timestamp) - extract(epoch from '2026-06-12 10:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02215 -2.783561)', '2026-06-12 10:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022149 -2.783585)'), GeomFromEWKT('SRID=4674;POINT (-40.02215 -2.783561)'))) / (select extract(epoch from '2026-06-12 10:16:58'::timestamp) - extract(epoch from '2026-06-12 10:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022149 -2.783585)'), GeomFromEWKT('SRID=4674;POINT (-40.02215 -2.783561)'))) / (select extract(epoch from '2026-06-12 10:16:58'::timestamp) - extract(epoch from '2026-06-12 10:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022148 -2.783535)', '2026-06-12 10:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02215 -2.783561)'), GeomFromEWKT('SRID=4674;POINT (-40.022148 -2.783535)'))) / (select extract(epoch from '2026-06-12 10:17:19'::timestamp) - extract(epoch from '2026-06-12 10:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02215 -2.783561)'), GeomFromEWKT('SRID=4674;POINT (-40.022148 -2.783535)'))) / (select extract(epoch from '2026-06-12 10:17:19'::timestamp) - extract(epoch from '2026-06-12 10:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022143 -2.783519)', '2026-06-12 10:17:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022148 -2.783535)'), GeomFromEWKT('SRID=4674;POINT (-40.022143 -2.783519)'))) / (select extract(epoch from '2026-06-12 10:17:42'::timestamp) - extract(epoch from '2026-06-12 10:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022148 -2.783535)'), GeomFromEWKT('SRID=4674;POINT (-40.022143 -2.783519)'))) / (select extract(epoch from '2026-06-12 10:17:42'::timestamp) - extract(epoch from '2026-06-12 10:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022142 -2.78349)', '2026-06-12 10:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022143 -2.783519)'), GeomFromEWKT('SRID=4674;POINT (-40.022142 -2.78349)'))) / (select extract(epoch from '2026-06-12 10:18:03'::timestamp) - extract(epoch from '2026-06-12 10:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022143 -2.783519)'), GeomFromEWKT('SRID=4674;POINT (-40.022142 -2.78349)'))) / (select extract(epoch from '2026-06-12 10:18:03'::timestamp) - extract(epoch from '2026-06-12 10:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022139 -2.783467)', '2026-06-12 10:18:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022142 -2.78349)'), GeomFromEWKT('SRID=4674;POINT (-40.022139 -2.783467)'))) / (select extract(epoch from '2026-06-12 10:18:35'::timestamp) - extract(epoch from '2026-06-12 10:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022142 -2.78349)'), GeomFromEWKT('SRID=4674;POINT (-40.022139 -2.783467)'))) / (select extract(epoch from '2026-06-12 10:18:35'::timestamp) - extract(epoch from '2026-06-12 10:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022137 -2.783464)', '2026-06-12 10:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022139 -2.783467)'), GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.783464)'))) / (select extract(epoch from '2026-06-12 10:18:57'::timestamp) - extract(epoch from '2026-06-12 10:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022139 -2.783467)'), GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.783464)'))) / (select extract(epoch from '2026-06-12 10:18:57'::timestamp) - extract(epoch from '2026-06-12 10:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022134 -2.783459)', '2026-06-12 10:19:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.783464)'), GeomFromEWKT('SRID=4674;POINT (-40.022134 -2.783459)'))) / (select extract(epoch from '2026-06-12 10:19:14'::timestamp) - extract(epoch from '2026-06-12 10:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.783464)'), GeomFromEWKT('SRID=4674;POINT (-40.022134 -2.783459)'))) / (select extract(epoch from '2026-06-12 10:19:14'::timestamp) - extract(epoch from '2026-06-12 10:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022128 -2.783456)', '2026-06-12 10:19:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022134 -2.783459)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783456)'))) / (select extract(epoch from '2026-06-12 10:19:26'::timestamp) - extract(epoch from '2026-06-12 10:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022134 -2.783459)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783456)'))) / (select extract(epoch from '2026-06-12 10:19:26'::timestamp) - extract(epoch from '2026-06-12 10:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022128 -2.783444)', '2026-06-12 10:20:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783456)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783444)'))) / (select extract(epoch from '2026-06-12 10:20:16'::timestamp) - extract(epoch from '2026-06-12 10:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783456)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783444)'))) / (select extract(epoch from '2026-06-12 10:20:16'::timestamp) - extract(epoch from '2026-06-12 10:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02213 -2.783451)', '2026-06-12 10:20:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783444)'), GeomFromEWKT('SRID=4674;POINT (-40.02213 -2.783451)'))) / (select extract(epoch from '2026-06-12 10:20:33'::timestamp) - extract(epoch from '2026-06-12 10:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783444)'), GeomFromEWKT('SRID=4674;POINT (-40.02213 -2.783451)'))) / (select extract(epoch from '2026-06-12 10:20:33'::timestamp) - extract(epoch from '2026-06-12 10:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022128 -2.783447)', '2026-06-12 10:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02213 -2.783451)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783447)'))) / (select extract(epoch from '2026-06-12 10:20:52'::timestamp) - extract(epoch from '2026-06-12 10:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02213 -2.783451)'), GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783447)'))) / (select extract(epoch from '2026-06-12 10:20:52'::timestamp) - extract(epoch from '2026-06-12 10:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022126 -2.783441)', '2026-06-12 10:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783447)'), GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783441)'))) / (select extract(epoch from '2026-06-12 10:21:07'::timestamp) - extract(epoch from '2026-06-12 10:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022128 -2.783447)'), GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783441)'))) / (select extract(epoch from '2026-06-12 10:21:07'::timestamp) - extract(epoch from '2026-06-12 10:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022127 -2.783437)', '2026-06-12 10:21:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783441)'), GeomFromEWKT('SRID=4674;POINT (-40.022127 -2.783437)'))) / (select extract(epoch from '2026-06-12 10:21:21'::timestamp) - extract(epoch from '2026-06-12 10:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783441)'), GeomFromEWKT('SRID=4674;POINT (-40.022127 -2.783437)'))) / (select extract(epoch from '2026-06-12 10:21:21'::timestamp) - extract(epoch from '2026-06-12 10:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022122 -2.783431)', '2026-06-12 10:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022127 -2.783437)'), GeomFromEWKT('SRID=4674;POINT (-40.022122 -2.783431)'))) / (select extract(epoch from '2026-06-12 10:21:35'::timestamp) - extract(epoch from '2026-06-12 10:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022127 -2.783437)'), GeomFromEWKT('SRID=4674;POINT (-40.022122 -2.783431)'))) / (select extract(epoch from '2026-06-12 10:21:35'::timestamp) - extract(epoch from '2026-06-12 10:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022126 -2.783429)', '2026-06-12 10:21:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022122 -2.783431)'), GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783429)'))) / (select extract(epoch from '2026-06-12 10:21:47'::timestamp) - extract(epoch from '2026-06-12 10:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022122 -2.783431)'), GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783429)'))) / (select extract(epoch from '2026-06-12 10:21:47'::timestamp) - extract(epoch from '2026-06-12 10:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022112 -2.783425)', '2026-06-12 10:21:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783429)'), GeomFromEWKT('SRID=4674;POINT (-40.022112 -2.783425)'))) / (select extract(epoch from '2026-06-12 10:21:54'::timestamp) - extract(epoch from '2026-06-12 10:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783429)'), GeomFromEWKT('SRID=4674;POINT (-40.022112 -2.783425)'))) / (select extract(epoch from '2026-06-12 10:21:54'::timestamp) - extract(epoch from '2026-06-12 10:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022118 -2.78343)', '2026-06-12 10:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022112 -2.783425)'), GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.78343)'))) / (select extract(epoch from '2026-06-12 10:22:01'::timestamp) - extract(epoch from '2026-06-12 10:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022112 -2.783425)'), GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.78343)'))) / (select extract(epoch from '2026-06-12 10:22:01'::timestamp) - extract(epoch from '2026-06-12 10:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022121 -2.783435)', '2026-06-12 10:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.78343)'), GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783435)'))) / (select extract(epoch from '2026-06-12 10:22:20'::timestamp) - extract(epoch from '2026-06-12 10:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.78343)'), GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783435)'))) / (select extract(epoch from '2026-06-12 10:22:20'::timestamp) - extract(epoch from '2026-06-12 10:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022123 -2.78344)', '2026-06-12 10:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783435)'), GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.78344)'))) / (select extract(epoch from '2026-06-12 10:22:50'::timestamp) - extract(epoch from '2026-06-12 10:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783435)'), GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.78344)'))) / (select extract(epoch from '2026-06-12 10:22:50'::timestamp) - extract(epoch from '2026-06-12 10:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022122 -2.783439)', '2026-06-12 10:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.78344)'), GeomFromEWKT('SRID=4674;POINT (-40.022122 -2.783439)'))) / (select extract(epoch from '2026-06-12 10:23:02'::timestamp) - extract(epoch from '2026-06-12 10:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.78344)'), GeomFromEWKT('SRID=4674;POINT (-40.022122 -2.783439)'))) / (select extract(epoch from '2026-06-12 10:23:02'::timestamp) - extract(epoch from '2026-06-12 10:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022118 -2.783432)', '2026-06-12 10:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022122 -2.783439)'), GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.783432)'))) / (select extract(epoch from '2026-06-12 10:23:17'::timestamp) - extract(epoch from '2026-06-12 10:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022122 -2.783439)'), GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.783432)'))) / (select extract(epoch from '2026-06-12 10:23:17'::timestamp) - extract(epoch from '2026-06-12 10:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02212 -2.783427)', '2026-06-12 10:23:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.783432)'), GeomFromEWKT('SRID=4674;POINT (-40.02212 -2.783427)'))) / (select extract(epoch from '2026-06-12 10:23:39'::timestamp) - extract(epoch from '2026-06-12 10:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.783432)'), GeomFromEWKT('SRID=4674;POINT (-40.02212 -2.783427)'))) / (select extract(epoch from '2026-06-12 10:23:39'::timestamp) - extract(epoch from '2026-06-12 10:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022126 -2.783438)', '2026-06-12 10:23:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02212 -2.783427)'), GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783438)'))) / (select extract(epoch from '2026-06-12 10:23:51'::timestamp) - extract(epoch from '2026-06-12 10:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02212 -2.783427)'), GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783438)'))) / (select extract(epoch from '2026-06-12 10:23:51'::timestamp) - extract(epoch from '2026-06-12 10:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022121 -2.783433)', '2026-06-12 10:24:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783438)'), GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783433)'))) / (select extract(epoch from '2026-06-12 10:24:05'::timestamp) - extract(epoch from '2026-06-12 10:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783438)'), GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783433)'))) / (select extract(epoch from '2026-06-12 10:24:05'::timestamp) - extract(epoch from '2026-06-12 10:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022121 -2.783432)', '2026-06-12 10:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783433)'), GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783432)'))) / (select extract(epoch from '2026-06-12 10:24:27'::timestamp) - extract(epoch from '2026-06-12 10:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783433)'), GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783432)'))) / (select extract(epoch from '2026-06-12 10:24:27'::timestamp) - extract(epoch from '2026-06-12 10:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022124 -2.783432)', '2026-06-12 10:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783432)'), GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783432)'))) / (select extract(epoch from '2026-06-12 10:25:03'::timestamp) - extract(epoch from '2026-06-12 10:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022121 -2.783432)'), GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783432)'))) / (select extract(epoch from '2026-06-12 10:25:03'::timestamp) - extract(epoch from '2026-06-12 10:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022123 -2.783429)', '2026-06-12 10:25:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783432)'), GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.783429)'))) / (select extract(epoch from '2026-06-12 10:25:27'::timestamp) - extract(epoch from '2026-06-12 10:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783432)'), GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.783429)'))) / (select extract(epoch from '2026-06-12 10:25:27'::timestamp) - extract(epoch from '2026-06-12 10:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022127 -2.783438)', '2026-06-12 10:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.783429)'), GeomFromEWKT('SRID=4674;POINT (-40.022127 -2.783438)'))) / (select extract(epoch from '2026-06-12 10:25:55'::timestamp) - extract(epoch from '2026-06-12 10:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.783429)'), GeomFromEWKT('SRID=4674;POINT (-40.022127 -2.783438)'))) / (select extract(epoch from '2026-06-12 10:25:55'::timestamp) - extract(epoch from '2026-06-12 10:25:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022124 -2.783426)', '2026-06-12 10:26:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022127 -2.783438)'), GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783426)'))) / (select extract(epoch from '2026-06-12 10:26:37'::timestamp) - extract(epoch from '2026-06-12 10:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022127 -2.783438)'), GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783426)'))) / (select extract(epoch from '2026-06-12 10:26:37'::timestamp) - extract(epoch from '2026-06-12 10:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022118 -2.783419)', '2026-06-12 10:27:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783426)'), GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.783419)'))) / (select extract(epoch from '2026-06-12 10:27:07'::timestamp) - extract(epoch from '2026-06-12 10:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783426)'), GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.783419)'))) / (select extract(epoch from '2026-06-12 10:27:07'::timestamp) - extract(epoch from '2026-06-12 10:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022124 -2.783426)', '2026-06-12 10:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.783419)'), GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783426)'))) / (select extract(epoch from '2026-06-12 10:27:35'::timestamp) - extract(epoch from '2026-06-12 10:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022118 -2.783419)'), GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783426)'))) / (select extract(epoch from '2026-06-12 10:27:35'::timestamp) - extract(epoch from '2026-06-12 10:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022126 -2.783434)', '2026-06-12 10:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783426)'), GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783434)'))) / (select extract(epoch from '2026-06-12 10:28:03'::timestamp) - extract(epoch from '2026-06-12 10:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022124 -2.783426)'), GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783434)'))) / (select extract(epoch from '2026-06-12 10:28:03'::timestamp) - extract(epoch from '2026-06-12 10:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022137 -2.783448)', '2026-06-12 10:28:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783434)'), GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.783448)'))) / (select extract(epoch from '2026-06-12 10:28:26'::timestamp) - extract(epoch from '2026-06-12 10:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022126 -2.783434)'), GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.783448)'))) / (select extract(epoch from '2026-06-12 10:28:26'::timestamp) - extract(epoch from '2026-06-12 10:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.02212 -2.78344)', '2026-06-12 10:28:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.783448)'), GeomFromEWKT('SRID=4674;POINT (-40.02212 -2.78344)'))) / (select extract(epoch from '2026-06-12 10:28:46'::timestamp) - extract(epoch from '2026-06-12 10:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022137 -2.783448)'), GeomFromEWKT('SRID=4674;POINT (-40.02212 -2.78344)'))) / (select extract(epoch from '2026-06-12 10:28:46'::timestamp) - extract(epoch from '2026-06-12 10:28:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022046 -2.783482)', '2026-06-12 10:29:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02212 -2.78344)'), GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.783482)'))) / (select extract(epoch from '2026-06-12 10:29:00'::timestamp) - extract(epoch from '2026-06-12 10:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02212 -2.78344)'), GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.783482)'))) / (select extract(epoch from '2026-06-12 10:29:00'::timestamp) - extract(epoch from '2026-06-12 10:28:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021987 -2.783553)', '2026-06-12 10:29:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.783482)'), GeomFromEWKT('SRID=4674;POINT (-40.021987 -2.783553)'))) / (select extract(epoch from '2026-06-12 10:29:08'::timestamp) - extract(epoch from '2026-06-12 10:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022046 -2.783482)'), GeomFromEWKT('SRID=4674;POINT (-40.021987 -2.783553)'))) / (select extract(epoch from '2026-06-12 10:29:08'::timestamp) - extract(epoch from '2026-06-12 10:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021953 -2.78358)', '2026-06-12 10:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021987 -2.783553)'), GeomFromEWKT('SRID=4674;POINT (-40.021953 -2.78358)'))) / (select extract(epoch from '2026-06-12 10:29:14'::timestamp) - extract(epoch from '2026-06-12 10:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021987 -2.783553)'), GeomFromEWKT('SRID=4674;POINT (-40.021953 -2.78358)'))) / (select extract(epoch from '2026-06-12 10:29:14'::timestamp) - extract(epoch from '2026-06-12 10:29:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021913 -2.783569)', '2026-06-12 10:29:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021953 -2.78358)'), GeomFromEWKT('SRID=4674;POINT (-40.021913 -2.783569)'))) / (select extract(epoch from '2026-06-12 10:29:22'::timestamp) - extract(epoch from '2026-06-12 10:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021953 -2.78358)'), GeomFromEWKT('SRID=4674;POINT (-40.021913 -2.783569)'))) / (select extract(epoch from '2026-06-12 10:29:22'::timestamp) - extract(epoch from '2026-06-12 10:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021858 -2.783564)', '2026-06-12 10:29:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021913 -2.783569)'), GeomFromEWKT('SRID=4674;POINT (-40.021858 -2.783564)'))) / (select extract(epoch from '2026-06-12 10:29:31'::timestamp) - extract(epoch from '2026-06-12 10:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021913 -2.783569)'), GeomFromEWKT('SRID=4674;POINT (-40.021858 -2.783564)'))) / (select extract(epoch from '2026-06-12 10:29:31'::timestamp) - extract(epoch from '2026-06-12 10:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021808 -2.783569)', '2026-06-12 10:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021858 -2.783564)'), GeomFromEWKT('SRID=4674;POINT (-40.021808 -2.783569)'))) / (select extract(epoch from '2026-06-12 10:29:40'::timestamp) - extract(epoch from '2026-06-12 10:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021858 -2.783564)'), GeomFromEWKT('SRID=4674;POINT (-40.021808 -2.783569)'))) / (select extract(epoch from '2026-06-12 10:29:40'::timestamp) - extract(epoch from '2026-06-12 10:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021752 -2.783592)', '2026-06-12 10:29:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021808 -2.783569)'), GeomFromEWKT('SRID=4674;POINT (-40.021752 -2.783592)'))) / (select extract(epoch from '2026-06-12 10:29:54'::timestamp) - extract(epoch from '2026-06-12 10:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021808 -2.783569)'), GeomFromEWKT('SRID=4674;POINT (-40.021752 -2.783592)'))) / (select extract(epoch from '2026-06-12 10:29:54'::timestamp) - extract(epoch from '2026-06-12 10:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021744 -2.783673)', '2026-06-12 10:30:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021752 -2.783592)'), GeomFromEWKT('SRID=4674;POINT (-40.021744 -2.783673)'))) / (select extract(epoch from '2026-06-12 10:30:01'::timestamp) - extract(epoch from '2026-06-12 10:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021752 -2.783592)'), GeomFromEWKT('SRID=4674;POINT (-40.021744 -2.783673)'))) / (select extract(epoch from '2026-06-12 10:30:01'::timestamp) - extract(epoch from '2026-06-12 10:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021758 -2.783736)', '2026-06-12 10:30:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021744 -2.783673)'), GeomFromEWKT('SRID=4674;POINT (-40.021758 -2.783736)'))) / (select extract(epoch from '2026-06-12 10:30:05'::timestamp) - extract(epoch from '2026-06-12 10:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021744 -2.783673)'), GeomFromEWKT('SRID=4674;POINT (-40.021758 -2.783736)'))) / (select extract(epoch from '2026-06-12 10:30:05'::timestamp) - extract(epoch from '2026-06-12 10:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021769 -2.783768)', '2026-06-12 10:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021758 -2.783736)'), GeomFromEWKT('SRID=4674;POINT (-40.021769 -2.783768)'))) / (select extract(epoch from '2026-06-12 10:30:07'::timestamp) - extract(epoch from '2026-06-12 10:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021758 -2.783736)'), GeomFromEWKT('SRID=4674;POINT (-40.021769 -2.783768)'))) / (select extract(epoch from '2026-06-12 10:30:07'::timestamp) - extract(epoch from '2026-06-12 10:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.0218 -2.783871)', '2026-06-12 10:30:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021769 -2.783768)'), GeomFromEWKT('SRID=4674;POINT (-40.0218 -2.783871)'))) / (select extract(epoch from '2026-06-12 10:30:13'::timestamp) - extract(epoch from '2026-06-12 10:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021769 -2.783768)'), GeomFromEWKT('SRID=4674;POINT (-40.0218 -2.783871)'))) / (select extract(epoch from '2026-06-12 10:30:13'::timestamp) - extract(epoch from '2026-06-12 10:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021848 -2.783967)', '2026-06-12 10:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0218 -2.783871)'), GeomFromEWKT('SRID=4674;POINT (-40.021848 -2.783967)'))) / (select extract(epoch from '2026-06-12 10:30:19'::timestamp) - extract(epoch from '2026-06-12 10:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0218 -2.783871)'), GeomFromEWKT('SRID=4674;POINT (-40.021848 -2.783967)'))) / (select extract(epoch from '2026-06-12 10:30:19'::timestamp) - extract(epoch from '2026-06-12 10:30:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021912 -2.784066)', '2026-06-12 10:30:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021848 -2.783967)'), GeomFromEWKT('SRID=4674;POINT (-40.021912 -2.784066)'))) / (select extract(epoch from '2026-06-12 10:30:25'::timestamp) - extract(epoch from '2026-06-12 10:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021848 -2.783967)'), GeomFromEWKT('SRID=4674;POINT (-40.021912 -2.784066)'))) / (select extract(epoch from '2026-06-12 10:30:25'::timestamp) - extract(epoch from '2026-06-12 10:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.021967 -2.784163)', '2026-06-12 10:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021912 -2.784066)'), GeomFromEWKT('SRID=4674;POINT (-40.021967 -2.784163)'))) / (select extract(epoch from '2026-06-12 10:30:31'::timestamp) - extract(epoch from '2026-06-12 10:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021912 -2.784066)'), GeomFromEWKT('SRID=4674;POINT (-40.021967 -2.784163)'))) / (select extract(epoch from '2026-06-12 10:30:31'::timestamp) - extract(epoch from '2026-06-12 10:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022035 -2.784267)', '2026-06-12 10:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021967 -2.784163)'), GeomFromEWKT('SRID=4674;POINT (-40.022035 -2.784267)'))) / (select extract(epoch from '2026-06-12 10:30:37'::timestamp) - extract(epoch from '2026-06-12 10:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.021967 -2.784163)'), GeomFromEWKT('SRID=4674;POINT (-40.022035 -2.784267)'))) / (select extract(epoch from '2026-06-12 10:30:37'::timestamp) - extract(epoch from '2026-06-12 10:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022136 -2.784382)', '2026-06-12 10:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022035 -2.784267)'), GeomFromEWKT('SRID=4674;POINT (-40.022136 -2.784382)'))) / (select extract(epoch from '2026-06-12 10:30:45'::timestamp) - extract(epoch from '2026-06-12 10:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022035 -2.784267)'), GeomFromEWKT('SRID=4674;POINT (-40.022136 -2.784382)'))) / (select extract(epoch from '2026-06-12 10:30:45'::timestamp) - extract(epoch from '2026-06-12 10:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022238 -2.784464)', '2026-06-12 10:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022136 -2.784382)'), GeomFromEWKT('SRID=4674;POINT (-40.022238 -2.784464)'))) / (select extract(epoch from '2026-06-12 10:30:51'::timestamp) - extract(epoch from '2026-06-12 10:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022136 -2.784382)'), GeomFromEWKT('SRID=4674;POINT (-40.022238 -2.784464)'))) / (select extract(epoch from '2026-06-12 10:30:51'::timestamp) - extract(epoch from '2026-06-12 10:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022326 -2.784545)', '2026-06-12 10:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022238 -2.784464)'), GeomFromEWKT('SRID=4674;POINT (-40.022326 -2.784545)'))) / (select extract(epoch from '2026-06-12 10:30:57'::timestamp) - extract(epoch from '2026-06-12 10:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022238 -2.784464)'), GeomFromEWKT('SRID=4674;POINT (-40.022326 -2.784545)'))) / (select extract(epoch from '2026-06-12 10:30:57'::timestamp) - extract(epoch from '2026-06-12 10:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022381 -2.784644)', '2026-06-12 10:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022326 -2.784545)'), GeomFromEWKT('SRID=4674;POINT (-40.022381 -2.784644)'))) / (select extract(epoch from '2026-06-12 10:31:03'::timestamp) - extract(epoch from '2026-06-12 10:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022326 -2.784545)'), GeomFromEWKT('SRID=4674;POINT (-40.022381 -2.784644)'))) / (select extract(epoch from '2026-06-12 10:31:03'::timestamp) - extract(epoch from '2026-06-12 10:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022467 -2.784792)', '2026-06-12 10:31:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022381 -2.784644)'), GeomFromEWKT('SRID=4674;POINT (-40.022467 -2.784792)'))) / (select extract(epoch from '2026-06-12 10:31:11'::timestamp) - extract(epoch from '2026-06-12 10:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022381 -2.784644)'), GeomFromEWKT('SRID=4674;POINT (-40.022467 -2.784792)'))) / (select extract(epoch from '2026-06-12 10:31:11'::timestamp) - extract(epoch from '2026-06-12 10:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022553 -2.784907)', '2026-06-12 10:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022467 -2.784792)'), GeomFromEWKT('SRID=4674;POINT (-40.022553 -2.784907)'))) / (select extract(epoch from '2026-06-12 10:31:18'::timestamp) - extract(epoch from '2026-06-12 10:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022467 -2.784792)'), GeomFromEWKT('SRID=4674;POINT (-40.022553 -2.784907)'))) / (select extract(epoch from '2026-06-12 10:31:18'::timestamp) - extract(epoch from '2026-06-12 10:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022653 -2.78504)', '2026-06-12 10:31:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022553 -2.784907)'), GeomFromEWKT('SRID=4674;POINT (-40.022653 -2.78504)'))) / (select extract(epoch from '2026-06-12 10:31:26'::timestamp) - extract(epoch from '2026-06-12 10:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022553 -2.784907)'), GeomFromEWKT('SRID=4674;POINT (-40.022653 -2.78504)'))) / (select extract(epoch from '2026-06-12 10:31:26'::timestamp) - extract(epoch from '2026-06-12 10:31:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022741 -2.785129)', '2026-06-12 10:31:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022653 -2.78504)'), GeomFromEWKT('SRID=4674;POINT (-40.022741 -2.785129)'))) / (select extract(epoch from '2026-06-12 10:31:32'::timestamp) - extract(epoch from '2026-06-12 10:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022653 -2.78504)'), GeomFromEWKT('SRID=4674;POINT (-40.022741 -2.785129)'))) / (select extract(epoch from '2026-06-12 10:31:32'::timestamp) - extract(epoch from '2026-06-12 10:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022852 -2.785228)', '2026-06-12 10:31:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022741 -2.785129)'), GeomFromEWKT('SRID=4674;POINT (-40.022852 -2.785228)'))) / (select extract(epoch from '2026-06-12 10:31:39'::timestamp) - extract(epoch from '2026-06-12 10:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022741 -2.785129)'), GeomFromEWKT('SRID=4674;POINT (-40.022852 -2.785228)'))) / (select extract(epoch from '2026-06-12 10:31:39'::timestamp) - extract(epoch from '2026-06-12 10:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.022899 -2.785262)', '2026-06-12 10:31:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022852 -2.785228)'), GeomFromEWKT('SRID=4674;POINT (-40.022899 -2.785262)'))) / (select extract(epoch from '2026-06-12 10:31:43'::timestamp) - extract(epoch from '2026-06-12 10:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022852 -2.785228)'), GeomFromEWKT('SRID=4674;POINT (-40.022899 -2.785262)'))) / (select extract(epoch from '2026-06-12 10:31:43'::timestamp) - extract(epoch from '2026-06-12 10:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031667 -2.800525)', '2026-06-12 10:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022899 -2.785262)'), GeomFromEWKT('SRID=4674;POINT (-40.031667 -2.800525)'))) / (select extract(epoch from '2026-06-12 10:46:45'::timestamp) - extract(epoch from '2026-06-12 10:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022899 -2.785262)'), GeomFromEWKT('SRID=4674;POINT (-40.031667 -2.800525)'))) / (select extract(epoch from '2026-06-12 10:46:45'::timestamp) - extract(epoch from '2026-06-12 10:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031731 -2.800638)', '2026-06-12 10:46:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031667 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.031731 -2.800638)'))) / (select extract(epoch from '2026-06-12 10:46:51'::timestamp) - extract(epoch from '2026-06-12 10:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031667 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.031731 -2.800638)'))) / (select extract(epoch from '2026-06-12 10:46:51'::timestamp) - extract(epoch from '2026-06-12 10:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031814 -2.800734)', '2026-06-12 10:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031731 -2.800638)'), GeomFromEWKT('SRID=4674;POINT (-40.031814 -2.800734)'))) / (select extract(epoch from '2026-06-12 10:46:57'::timestamp) - extract(epoch from '2026-06-12 10:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031731 -2.800638)'), GeomFromEWKT('SRID=4674;POINT (-40.031814 -2.800734)'))) / (select extract(epoch from '2026-06-12 10:46:57'::timestamp) - extract(epoch from '2026-06-12 10:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03188 -2.800811)', '2026-06-12 10:47:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031814 -2.800734)'), GeomFromEWKT('SRID=4674;POINT (-40.03188 -2.800811)'))) / (select extract(epoch from '2026-06-12 10:47:02'::timestamp) - extract(epoch from '2026-06-12 10:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031814 -2.800734)'), GeomFromEWKT('SRID=4674;POINT (-40.03188 -2.800811)'))) / (select extract(epoch from '2026-06-12 10:47:02'::timestamp) - extract(epoch from '2026-06-12 10:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031888 -2.800825)', '2026-06-12 10:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03188 -2.800811)'), GeomFromEWKT('SRID=4674;POINT (-40.031888 -2.800825)'))) / (select extract(epoch from '2026-06-12 10:47:03'::timestamp) - extract(epoch from '2026-06-12 10:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03188 -2.800811)'), GeomFromEWKT('SRID=4674;POINT (-40.031888 -2.800825)'))) / (select extract(epoch from '2026-06-12 10:47:03'::timestamp) - extract(epoch from '2026-06-12 10:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.031942 -2.800906)', '2026-06-12 10:47:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031888 -2.800825)'), GeomFromEWKT('SRID=4674;POINT (-40.031942 -2.800906)'))) / (select extract(epoch from '2026-06-12 10:47:08'::timestamp) - extract(epoch from '2026-06-12 10:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031888 -2.800825)'), GeomFromEWKT('SRID=4674;POINT (-40.031942 -2.800906)'))) / (select extract(epoch from '2026-06-12 10:47:08'::timestamp) - extract(epoch from '2026-06-12 10:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032019 -2.801005)', '2026-06-12 10:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031942 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.032019 -2.801005)'))) / (select extract(epoch from '2026-06-12 10:47:14'::timestamp) - extract(epoch from '2026-06-12 10:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.031942 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.032019 -2.801005)'))) / (select extract(epoch from '2026-06-12 10:47:14'::timestamp) - extract(epoch from '2026-06-12 10:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032073 -2.801088)', '2026-06-12 10:47:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032019 -2.801005)'), GeomFromEWKT('SRID=4674;POINT (-40.032073 -2.801088)'))) / (select extract(epoch from '2026-06-12 10:47:19'::timestamp) - extract(epoch from '2026-06-12 10:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032019 -2.801005)'), GeomFromEWKT('SRID=4674;POINT (-40.032073 -2.801088)'))) / (select extract(epoch from '2026-06-12 10:47:19'::timestamp) - extract(epoch from '2026-06-12 10:47:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032132 -2.801167)', '2026-06-12 10:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032073 -2.801088)'), GeomFromEWKT('SRID=4674;POINT (-40.032132 -2.801167)'))) / (select extract(epoch from '2026-06-12 10:47:24'::timestamp) - extract(epoch from '2026-06-12 10:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032073 -2.801088)'), GeomFromEWKT('SRID=4674;POINT (-40.032132 -2.801167)'))) / (select extract(epoch from '2026-06-12 10:47:24'::timestamp) - extract(epoch from '2026-06-12 10:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032195 -2.801286)', '2026-06-12 10:47:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032132 -2.801167)'), GeomFromEWKT('SRID=4674;POINT (-40.032195 -2.801286)'))) / (select extract(epoch from '2026-06-12 10:47:31'::timestamp) - extract(epoch from '2026-06-12 10:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032132 -2.801167)'), GeomFromEWKT('SRID=4674;POINT (-40.032195 -2.801286)'))) / (select extract(epoch from '2026-06-12 10:47:31'::timestamp) - extract(epoch from '2026-06-12 10:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03225 -2.801411)', '2026-06-12 10:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032195 -2.801286)'), GeomFromEWKT('SRID=4674;POINT (-40.03225 -2.801411)'))) / (select extract(epoch from '2026-06-12 10:47:38'::timestamp) - extract(epoch from '2026-06-12 10:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032195 -2.801286)'), GeomFromEWKT('SRID=4674;POINT (-40.03225 -2.801411)'))) / (select extract(epoch from '2026-06-12 10:47:38'::timestamp) - extract(epoch from '2026-06-12 10:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032323 -2.80155)', '2026-06-12 10:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03225 -2.801411)'), GeomFromEWKT('SRID=4674;POINT (-40.032323 -2.80155)'))) / (select extract(epoch from '2026-06-12 10:47:46'::timestamp) - extract(epoch from '2026-06-12 10:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03225 -2.801411)'), GeomFromEWKT('SRID=4674;POINT (-40.032323 -2.80155)'))) / (select extract(epoch from '2026-06-12 10:47:46'::timestamp) - extract(epoch from '2026-06-12 10:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032391 -2.80167)', '2026-06-12 10:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032323 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.032391 -2.80167)'))) / (select extract(epoch from '2026-06-12 10:47:53'::timestamp) - extract(epoch from '2026-06-12 10:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032323 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.032391 -2.80167)'))) / (select extract(epoch from '2026-06-12 10:47:53'::timestamp) - extract(epoch from '2026-06-12 10:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032465 -2.80179)', '2026-06-12 10:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032391 -2.80167)'), GeomFromEWKT('SRID=4674;POINT (-40.032465 -2.80179)'))) / (select extract(epoch from '2026-06-12 10:48:00'::timestamp) - extract(epoch from '2026-06-12 10:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032391 -2.80167)'), GeomFromEWKT('SRID=4674;POINT (-40.032465 -2.80179)'))) / (select extract(epoch from '2026-06-12 10:48:00'::timestamp) - extract(epoch from '2026-06-12 10:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032516 -2.801843)', '2026-06-12 10:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032465 -2.80179)'), GeomFromEWKT('SRID=4674;POINT (-40.032516 -2.801843)'))) / (select extract(epoch from '2026-06-12 10:48:04'::timestamp) - extract(epoch from '2026-06-12 10:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032465 -2.80179)'), GeomFromEWKT('SRID=4674;POINT (-40.032516 -2.801843)'))) / (select extract(epoch from '2026-06-12 10:48:04'::timestamp) - extract(epoch from '2026-06-12 10:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032666 -2.801985)', '2026-06-12 10:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032516 -2.801843)'), GeomFromEWKT('SRID=4674;POINT (-40.032666 -2.801985)'))) / (select extract(epoch from '2026-06-12 10:48:14'::timestamp) - extract(epoch from '2026-06-12 10:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032516 -2.801843)'), GeomFromEWKT('SRID=4674;POINT (-40.032666 -2.801985)'))) / (select extract(epoch from '2026-06-12 10:48:14'::timestamp) - extract(epoch from '2026-06-12 10:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032724 -2.802064)', '2026-06-12 10:48:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032666 -2.801985)'), GeomFromEWKT('SRID=4674;POINT (-40.032724 -2.802064)'))) / (select extract(epoch from '2026-06-12 10:48:19'::timestamp) - extract(epoch from '2026-06-12 10:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032666 -2.801985)'), GeomFromEWKT('SRID=4674;POINT (-40.032724 -2.802064)'))) / (select extract(epoch from '2026-06-12 10:48:19'::timestamp) - extract(epoch from '2026-06-12 10:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032786 -2.802162)', '2026-06-12 10:48:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032724 -2.802064)'), GeomFromEWKT('SRID=4674;POINT (-40.032786 -2.802162)'))) / (select extract(epoch from '2026-06-12 10:48:25'::timestamp) - extract(epoch from '2026-06-12 10:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032724 -2.802064)'), GeomFromEWKT('SRID=4674;POINT (-40.032786 -2.802162)'))) / (select extract(epoch from '2026-06-12 10:48:25'::timestamp) - extract(epoch from '2026-06-12 10:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032846 -2.802264)', '2026-06-12 10:48:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032786 -2.802162)'), GeomFromEWKT('SRID=4674;POINT (-40.032846 -2.802264)'))) / (select extract(epoch from '2026-06-12 10:48:31'::timestamp) - extract(epoch from '2026-06-12 10:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032786 -2.802162)'), GeomFromEWKT('SRID=4674;POINT (-40.032846 -2.802264)'))) / (select extract(epoch from '2026-06-12 10:48:31'::timestamp) - extract(epoch from '2026-06-12 10:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.032923 -2.802381)', '2026-06-12 10:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032846 -2.802264)'), GeomFromEWKT('SRID=4674;POINT (-40.032923 -2.802381)'))) / (select extract(epoch from '2026-06-12 10:48:38'::timestamp) - extract(epoch from '2026-06-12 10:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032846 -2.802264)'), GeomFromEWKT('SRID=4674;POINT (-40.032923 -2.802381)'))) / (select extract(epoch from '2026-06-12 10:48:38'::timestamp) - extract(epoch from '2026-06-12 10:48:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033018 -2.802532)', '2026-06-12 10:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032923 -2.802381)'), GeomFromEWKT('SRID=4674;POINT (-40.033018 -2.802532)'))) / (select extract(epoch from '2026-06-12 10:48:47'::timestamp) - extract(epoch from '2026-06-12 10:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.032923 -2.802381)'), GeomFromEWKT('SRID=4674;POINT (-40.033018 -2.802532)'))) / (select extract(epoch from '2026-06-12 10:48:47'::timestamp) - extract(epoch from '2026-06-12 10:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03308 -2.802633)', '2026-06-12 10:48:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033018 -2.802532)'), GeomFromEWKT('SRID=4674;POINT (-40.03308 -2.802633)'))) / (select extract(epoch from '2026-06-12 10:48:53'::timestamp) - extract(epoch from '2026-06-12 10:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033018 -2.802532)'), GeomFromEWKT('SRID=4674;POINT (-40.03308 -2.802633)'))) / (select extract(epoch from '2026-06-12 10:48:53'::timestamp) - extract(epoch from '2026-06-12 10:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033144 -2.802732)', '2026-06-12 10:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03308 -2.802633)'), GeomFromEWKT('SRID=4674;POINT (-40.033144 -2.802732)'))) / (select extract(epoch from '2026-06-12 10:48:59'::timestamp) - extract(epoch from '2026-06-12 10:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03308 -2.802633)'), GeomFromEWKT('SRID=4674;POINT (-40.033144 -2.802732)'))) / (select extract(epoch from '2026-06-12 10:48:59'::timestamp) - extract(epoch from '2026-06-12 10:48:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033227 -2.802839)', '2026-06-12 10:49:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033144 -2.802732)'), GeomFromEWKT('SRID=4674;POINT (-40.033227 -2.802839)'))) / (select extract(epoch from '2026-06-12 10:49:06'::timestamp) - extract(epoch from '2026-06-12 10:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033144 -2.802732)'), GeomFromEWKT('SRID=4674;POINT (-40.033227 -2.802839)'))) / (select extract(epoch from '2026-06-12 10:49:06'::timestamp) - extract(epoch from '2026-06-12 10:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033296 -2.802957)', '2026-06-12 10:49:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033227 -2.802839)'), GeomFromEWKT('SRID=4674;POINT (-40.033296 -2.802957)'))) / (select extract(epoch from '2026-06-12 10:49:13'::timestamp) - extract(epoch from '2026-06-12 10:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033227 -2.802839)'), GeomFromEWKT('SRID=4674;POINT (-40.033296 -2.802957)'))) / (select extract(epoch from '2026-06-12 10:49:13'::timestamp) - extract(epoch from '2026-06-12 10:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033346 -2.803044)', '2026-06-12 10:49:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033296 -2.802957)'), GeomFromEWKT('SRID=4674;POINT (-40.033346 -2.803044)'))) / (select extract(epoch from '2026-06-12 10:49:18'::timestamp) - extract(epoch from '2026-06-12 10:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033296 -2.802957)'), GeomFromEWKT('SRID=4674;POINT (-40.033346 -2.803044)'))) / (select extract(epoch from '2026-06-12 10:49:18'::timestamp) - extract(epoch from '2026-06-12 10:49:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033395 -2.80315)', '2026-06-12 10:49:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033346 -2.803044)'), GeomFromEWKT('SRID=4674;POINT (-40.033395 -2.80315)'))) / (select extract(epoch from '2026-06-12 10:49:24'::timestamp) - extract(epoch from '2026-06-12 10:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033346 -2.803044)'), GeomFromEWKT('SRID=4674;POINT (-40.033395 -2.80315)'))) / (select extract(epoch from '2026-06-12 10:49:24'::timestamp) - extract(epoch from '2026-06-12 10:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033456 -2.803276)', '2026-06-12 10:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033395 -2.80315)'), GeomFromEWKT('SRID=4674;POINT (-40.033456 -2.803276)'))) / (select extract(epoch from '2026-06-12 10:49:31'::timestamp) - extract(epoch from '2026-06-12 10:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033395 -2.80315)'), GeomFromEWKT('SRID=4674;POINT (-40.033456 -2.803276)'))) / (select extract(epoch from '2026-06-12 10:49:31'::timestamp) - extract(epoch from '2026-06-12 10:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033509 -2.803364)', '2026-06-12 10:49:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033456 -2.803276)'), GeomFromEWKT('SRID=4674;POINT (-40.033509 -2.803364)'))) / (select extract(epoch from '2026-06-12 10:49:36'::timestamp) - extract(epoch from '2026-06-12 10:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033456 -2.803276)'), GeomFromEWKT('SRID=4674;POINT (-40.033509 -2.803364)'))) / (select extract(epoch from '2026-06-12 10:49:36'::timestamp) - extract(epoch from '2026-06-12 10:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033598 -2.803501)', '2026-06-12 10:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033509 -2.803364)'), GeomFromEWKT('SRID=4674;POINT (-40.033598 -2.803501)'))) / (select extract(epoch from '2026-06-12 10:49:44'::timestamp) - extract(epoch from '2026-06-12 10:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033509 -2.803364)'), GeomFromEWKT('SRID=4674;POINT (-40.033598 -2.803501)'))) / (select extract(epoch from '2026-06-12 10:49:44'::timestamp) - extract(epoch from '2026-06-12 10:49:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033665 -2.803606)', '2026-06-12 10:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033598 -2.803501)'), GeomFromEWKT('SRID=4674;POINT (-40.033665 -2.803606)'))) / (select extract(epoch from '2026-06-12 10:49:50'::timestamp) - extract(epoch from '2026-06-12 10:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033598 -2.803501)'), GeomFromEWKT('SRID=4674;POINT (-40.033665 -2.803606)'))) / (select extract(epoch from '2026-06-12 10:49:50'::timestamp) - extract(epoch from '2026-06-12 10:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03374 -2.803751)', '2026-06-12 10:49:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033665 -2.803606)'), GeomFromEWKT('SRID=4674;POINT (-40.03374 -2.803751)'))) / (select extract(epoch from '2026-06-12 10:49:58'::timestamp) - extract(epoch from '2026-06-12 10:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033665 -2.803606)'), GeomFromEWKT('SRID=4674;POINT (-40.03374 -2.803751)'))) / (select extract(epoch from '2026-06-12 10:49:58'::timestamp) - extract(epoch from '2026-06-12 10:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033815 -2.803892)', '2026-06-12 10:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03374 -2.803751)'), GeomFromEWKT('SRID=4674;POINT (-40.033815 -2.803892)'))) / (select extract(epoch from '2026-06-12 10:50:06'::timestamp) - extract(epoch from '2026-06-12 10:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03374 -2.803751)'), GeomFromEWKT('SRID=4674;POINT (-40.033815 -2.803892)'))) / (select extract(epoch from '2026-06-12 10:50:06'::timestamp) - extract(epoch from '2026-06-12 10:49:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03387 -2.804018)', '2026-06-12 10:50:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033815 -2.803892)'), GeomFromEWKT('SRID=4674;POINT (-40.03387 -2.804018)'))) / (select extract(epoch from '2026-06-12 10:50:13'::timestamp) - extract(epoch from '2026-06-12 10:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033815 -2.803892)'), GeomFromEWKT('SRID=4674;POINT (-40.03387 -2.804018)'))) / (select extract(epoch from '2026-06-12 10:50:13'::timestamp) - extract(epoch from '2026-06-12 10:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033907 -2.804132)', '2026-06-12 10:50:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03387 -2.804018)'), GeomFromEWKT('SRID=4674;POINT (-40.033907 -2.804132)'))) / (select extract(epoch from '2026-06-12 10:50:19'::timestamp) - extract(epoch from '2026-06-12 10:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03387 -2.804018)'), GeomFromEWKT('SRID=4674;POINT (-40.033907 -2.804132)'))) / (select extract(epoch from '2026-06-12 10:50:19'::timestamp) - extract(epoch from '2026-06-12 10:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033916 -2.804169)', '2026-06-12 10:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033907 -2.804132)'), GeomFromEWKT('SRID=4674;POINT (-40.033916 -2.804169)'))) / (select extract(epoch from '2026-06-12 10:50:21'::timestamp) - extract(epoch from '2026-06-12 10:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033907 -2.804132)'), GeomFromEWKT('SRID=4674;POINT (-40.033916 -2.804169)'))) / (select extract(epoch from '2026-06-12 10:50:21'::timestamp) - extract(epoch from '2026-06-12 10:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.033941 -2.804226)', '2026-06-12 10:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033916 -2.804169)'), GeomFromEWKT('SRID=4674;POINT (-40.033941 -2.804226)'))) / (select extract(epoch from '2026-06-12 10:50:24'::timestamp) - extract(epoch from '2026-06-12 10:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033916 -2.804169)'), GeomFromEWKT('SRID=4674;POINT (-40.033941 -2.804226)'))) / (select extract(epoch from '2026-06-12 10:50:24'::timestamp) - extract(epoch from '2026-06-12 10:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034008 -2.804349)', '2026-06-12 10:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033941 -2.804226)'), GeomFromEWKT('SRID=4674;POINT (-40.034008 -2.804349)'))) / (select extract(epoch from '2026-06-12 10:50:31'::timestamp) - extract(epoch from '2026-06-12 10:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.033941 -2.804226)'), GeomFromEWKT('SRID=4674;POINT (-40.034008 -2.804349)'))) / (select extract(epoch from '2026-06-12 10:50:31'::timestamp) - extract(epoch from '2026-06-12 10:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034083 -2.804443)', '2026-06-12 10:50:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034008 -2.804349)'), GeomFromEWKT('SRID=4674;POINT (-40.034083 -2.804443)'))) / (select extract(epoch from '2026-06-12 10:50:37'::timestamp) - extract(epoch from '2026-06-12 10:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034008 -2.804349)'), GeomFromEWKT('SRID=4674;POINT (-40.034083 -2.804443)'))) / (select extract(epoch from '2026-06-12 10:50:37'::timestamp) - extract(epoch from '2026-06-12 10:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034182 -2.804552)', '2026-06-12 10:50:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034083 -2.804443)'), GeomFromEWKT('SRID=4674;POINT (-40.034182 -2.804552)'))) / (select extract(epoch from '2026-06-12 10:50:44'::timestamp) - extract(epoch from '2026-06-12 10:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034083 -2.804443)'), GeomFromEWKT('SRID=4674;POINT (-40.034182 -2.804552)'))) / (select extract(epoch from '2026-06-12 10:50:44'::timestamp) - extract(epoch from '2026-06-12 10:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034225 -2.804598)', '2026-06-12 10:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034182 -2.804552)'), GeomFromEWKT('SRID=4674;POINT (-40.034225 -2.804598)'))) / (select extract(epoch from '2026-06-12 10:50:47'::timestamp) - extract(epoch from '2026-06-12 10:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034182 -2.804552)'), GeomFromEWKT('SRID=4674;POINT (-40.034225 -2.804598)'))) / (select extract(epoch from '2026-06-12 10:50:47'::timestamp) - extract(epoch from '2026-06-12 10:50:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034251 -2.804631)', '2026-06-12 10:50:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034225 -2.804598)'), GeomFromEWKT('SRID=4674;POINT (-40.034251 -2.804631)'))) / (select extract(epoch from '2026-06-12 10:50:49'::timestamp) - extract(epoch from '2026-06-12 10:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034225 -2.804598)'), GeomFromEWKT('SRID=4674;POINT (-40.034251 -2.804631)'))) / (select extract(epoch from '2026-06-12 10:50:49'::timestamp) - extract(epoch from '2026-06-12 10:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03434 -2.804743)', '2026-06-12 10:50:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034251 -2.804631)'), GeomFromEWKT('SRID=4674;POINT (-40.03434 -2.804743)'))) / (select extract(epoch from '2026-06-12 10:50:56'::timestamp) - extract(epoch from '2026-06-12 10:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034251 -2.804631)'), GeomFromEWKT('SRID=4674;POINT (-40.03434 -2.804743)'))) / (select extract(epoch from '2026-06-12 10:50:56'::timestamp) - extract(epoch from '2026-06-12 10:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034402 -2.80489)', '2026-06-12 10:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03434 -2.804743)'), GeomFromEWKT('SRID=4674;POINT (-40.034402 -2.80489)'))) / (select extract(epoch from '2026-06-12 10:51:04'::timestamp) - extract(epoch from '2026-06-12 10:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03434 -2.804743)'), GeomFromEWKT('SRID=4674;POINT (-40.034402 -2.80489)'))) / (select extract(epoch from '2026-06-12 10:51:04'::timestamp) - extract(epoch from '2026-06-12 10:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034445 -2.805019)', '2026-06-12 10:51:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034402 -2.80489)'), GeomFromEWKT('SRID=4674;POINT (-40.034445 -2.805019)'))) / (select extract(epoch from '2026-06-12 10:51:11'::timestamp) - extract(epoch from '2026-06-12 10:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034402 -2.80489)'), GeomFromEWKT('SRID=4674;POINT (-40.034445 -2.805019)'))) / (select extract(epoch from '2026-06-12 10:51:11'::timestamp) - extract(epoch from '2026-06-12 10:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034463 -2.805116)', '2026-06-12 10:51:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034445 -2.805019)'), GeomFromEWKT('SRID=4674;POINT (-40.034463 -2.805116)'))) / (select extract(epoch from '2026-06-12 10:51:16'::timestamp) - extract(epoch from '2026-06-12 10:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034445 -2.805019)'), GeomFromEWKT('SRID=4674;POINT (-40.034463 -2.805116)'))) / (select extract(epoch from '2026-06-12 10:51:16'::timestamp) - extract(epoch from '2026-06-12 10:51:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034536 -2.805248)', '2026-06-12 10:51:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034463 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.034536 -2.805248)'))) / (select extract(epoch from '2026-06-12 10:51:24'::timestamp) - extract(epoch from '2026-06-12 10:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034463 -2.805116)'), GeomFromEWKT('SRID=4674;POINT (-40.034536 -2.805248)'))) / (select extract(epoch from '2026-06-12 10:51:24'::timestamp) - extract(epoch from '2026-06-12 10:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034597 -2.805368)', '2026-06-12 10:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034536 -2.805248)'), GeomFromEWKT('SRID=4674;POINT (-40.034597 -2.805368)'))) / (select extract(epoch from '2026-06-12 10:51:31'::timestamp) - extract(epoch from '2026-06-12 10:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034536 -2.805248)'), GeomFromEWKT('SRID=4674;POINT (-40.034597 -2.805368)'))) / (select extract(epoch from '2026-06-12 10:51:31'::timestamp) - extract(epoch from '2026-06-12 10:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034652 -2.805553)', '2026-06-12 10:51:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034597 -2.805368)'), GeomFromEWKT('SRID=4674;POINT (-40.034652 -2.805553)'))) / (select extract(epoch from '2026-06-12 10:51:41'::timestamp) - extract(epoch from '2026-06-12 10:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034597 -2.805368)'), GeomFromEWKT('SRID=4674;POINT (-40.034652 -2.805553)'))) / (select extract(epoch from '2026-06-12 10:51:41'::timestamp) - extract(epoch from '2026-06-12 10:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034696 -2.805717)', '2026-06-12 10:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034652 -2.805553)'), GeomFromEWKT('SRID=4674;POINT (-40.034696 -2.805717)'))) / (select extract(epoch from '2026-06-12 10:51:50'::timestamp) - extract(epoch from '2026-06-12 10:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034652 -2.805553)'), GeomFromEWKT('SRID=4674;POINT (-40.034696 -2.805717)'))) / (select extract(epoch from '2026-06-12 10:51:50'::timestamp) - extract(epoch from '2026-06-12 10:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034757 -2.805839)', '2026-06-12 10:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034696 -2.805717)'), GeomFromEWKT('SRID=4674;POINT (-40.034757 -2.805839)'))) / (select extract(epoch from '2026-06-12 10:51:57'::timestamp) - extract(epoch from '2026-06-12 10:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034696 -2.805717)'), GeomFromEWKT('SRID=4674;POINT (-40.034757 -2.805839)'))) / (select extract(epoch from '2026-06-12 10:51:57'::timestamp) - extract(epoch from '2026-06-12 10:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034821 -2.805942)', '2026-06-12 10:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034757 -2.805839)'), GeomFromEWKT('SRID=4674;POINT (-40.034821 -2.805942)'))) / (select extract(epoch from '2026-06-12 10:52:03'::timestamp) - extract(epoch from '2026-06-12 10:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034757 -2.805839)'), GeomFromEWKT('SRID=4674;POINT (-40.034821 -2.805942)'))) / (select extract(epoch from '2026-06-12 10:52:03'::timestamp) - extract(epoch from '2026-06-12 10:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034879 -2.806049)', '2026-06-12 10:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034821 -2.805942)'), GeomFromEWKT('SRID=4674;POINT (-40.034879 -2.806049)'))) / (select extract(epoch from '2026-06-12 10:52:09'::timestamp) - extract(epoch from '2026-06-12 10:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034821 -2.805942)'), GeomFromEWKT('SRID=4674;POINT (-40.034879 -2.806049)'))) / (select extract(epoch from '2026-06-12 10:52:09'::timestamp) - extract(epoch from '2026-06-12 10:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.034944 -2.806177)', '2026-06-12 10:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034879 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.034944 -2.806177)'))) / (select extract(epoch from '2026-06-12 10:52:16'::timestamp) - extract(epoch from '2026-06-12 10:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034879 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.034944 -2.806177)'))) / (select extract(epoch from '2026-06-12 10:52:16'::timestamp) - extract(epoch from '2026-06-12 10:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03501 -2.806301)', '2026-06-12 10:52:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034944 -2.806177)'), GeomFromEWKT('SRID=4674;POINT (-40.03501 -2.806301)'))) / (select extract(epoch from '2026-06-12 10:52:23'::timestamp) - extract(epoch from '2026-06-12 10:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.034944 -2.806177)'), GeomFromEWKT('SRID=4674;POINT (-40.03501 -2.806301)'))) / (select extract(epoch from '2026-06-12 10:52:23'::timestamp) - extract(epoch from '2026-06-12 10:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.03506 -2.806417)', '2026-06-12 10:52:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03501 -2.806301)'), GeomFromEWKT('SRID=4674;POINT (-40.03506 -2.806417)'))) / (select extract(epoch from '2026-06-12 10:52:29'::timestamp) - extract(epoch from '2026-06-12 10:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03501 -2.806301)'), GeomFromEWKT('SRID=4674;POINT (-40.03506 -2.806417)'))) / (select extract(epoch from '2026-06-12 10:52:29'::timestamp) - extract(epoch from '2026-06-12 10:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.035135 -2.806522)', '2026-06-12 10:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03506 -2.806417)'), GeomFromEWKT('SRID=4674;POINT (-40.035135 -2.806522)'))) / (select extract(epoch from '2026-06-12 10:52:35'::timestamp) - extract(epoch from '2026-06-12 10:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.03506 -2.806417)'), GeomFromEWKT('SRID=4674;POINT (-40.035135 -2.806522)'))) / (select extract(epoch from '2026-06-12 10:52:35'::timestamp) - extract(epoch from '2026-06-12 10:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46702, 'SRID=4674;POINT (-40.035189 -2.806604)', '2026-06-12 10:52:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035135 -2.806522)'), GeomFromEWKT('SRID=4674;POINT (-40.035189 -2.806604)'))) / (select extract(epoch from '2026-06-12 10:52:41'::timestamp) - extract(epoch from '2026-06-12 10:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.035135 -2.806522)'), GeomFromEWKT('SRID=4674;POINT (-40.035189 -2.806604)'))) / (select extract(epoch from '2026-06-12 10:52:41'::timestamp) - extract(epoch from '2026-06-12 10:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
