BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46738, 'SRID=4674;POINT (-40.354795 -2.807376)', '2026-06-22 02:38:12', 4.4, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46738, 'SRID=4674;POINT (-40.354833 -2.807359)', '2026-06-22 02:38:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.807376)'), GeomFromEWKT('SRID=4674;POINT (-40.354833 -2.807359)'))) / (select extract(epoch from '2026-06-22 02:38:21'::timestamp) - extract(epoch from '2026-06-22 02:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.807376)'), GeomFromEWKT('SRID=4674;POINT (-40.354833 -2.807359)'))) / (select extract(epoch from '2026-06-22 02:38:21'::timestamp) - extract(epoch from '2026-06-22 02:38: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'), 46738, 'SRID=4674;POINT (-40.354901 -2.807348)', '2026-06-22 02:38:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354833 -2.807359)'), GeomFromEWKT('SRID=4674;POINT (-40.354901 -2.807348)'))) / (select extract(epoch from '2026-06-22 02:38:33'::timestamp) - extract(epoch from '2026-06-22 02:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354833 -2.807359)'), GeomFromEWKT('SRID=4674;POINT (-40.354901 -2.807348)'))) / (select extract(epoch from '2026-06-22 02:38:33'::timestamp) - extract(epoch from '2026-06-22 02:38: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'), 46738, 'SRID=4674;POINT (-40.354957 -2.807329)', '2026-06-22 02:38:47', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354901 -2.807348)'), GeomFromEWKT('SRID=4674;POINT (-40.354957 -2.807329)'))) / (select extract(epoch from '2026-06-22 02:38:47'::timestamp) - extract(epoch from '2026-06-22 02:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354901 -2.807348)'), GeomFromEWKT('SRID=4674;POINT (-40.354957 -2.807329)'))) / (select extract(epoch from '2026-06-22 02:38:47'::timestamp) - extract(epoch from '2026-06-22 02:38: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'), 46738, 'SRID=4674;POINT (-40.354964 -2.807313)', '2026-06-22 02:39:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354957 -2.807329)'), GeomFromEWKT('SRID=4674;POINT (-40.354964 -2.807313)'))) / (select extract(epoch from '2026-06-22 02:39:02'::timestamp) - extract(epoch from '2026-06-22 02:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354957 -2.807329)'), GeomFromEWKT('SRID=4674;POINT (-40.354964 -2.807313)'))) / (select extract(epoch from '2026-06-22 02:39:02'::timestamp) - extract(epoch from '2026-06-22 02:38: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'), 46738, 'SRID=4674;POINT (-40.354965 -2.807325)', '2026-06-22 02:39:14', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354964 -2.807313)'), GeomFromEWKT('SRID=4674;POINT (-40.354965 -2.807325)'))) / (select extract(epoch from '2026-06-22 02:39:14'::timestamp) - extract(epoch from '2026-06-22 02:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354964 -2.807313)'), GeomFromEWKT('SRID=4674;POINT (-40.354965 -2.807325)'))) / (select extract(epoch from '2026-06-22 02:39:14'::timestamp) - extract(epoch from '2026-06-22 02:39: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'), 46738, 'SRID=4674;POINT (-40.354977 -2.807346)', '2026-06-22 02:39:28', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354965 -2.807325)'), GeomFromEWKT('SRID=4674;POINT (-40.354977 -2.807346)'))) / (select extract(epoch from '2026-06-22 02:39:28'::timestamp) - extract(epoch from '2026-06-22 02:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354965 -2.807325)'), GeomFromEWKT('SRID=4674;POINT (-40.354977 -2.807346)'))) / (select extract(epoch from '2026-06-22 02:39:28'::timestamp) - extract(epoch from '2026-06-22 02:39: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'), 46738, 'SRID=4674;POINT (-40.354984 -2.807357)', '2026-06-22 02:39:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354977 -2.807346)'), GeomFromEWKT('SRID=4674;POINT (-40.354984 -2.807357)'))) / (select extract(epoch from '2026-06-22 02:39:35'::timestamp) - extract(epoch from '2026-06-22 02:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354977 -2.807346)'), GeomFromEWKT('SRID=4674;POINT (-40.354984 -2.807357)'))) / (select extract(epoch from '2026-06-22 02:39:35'::timestamp) - extract(epoch from '2026-06-22 02:39: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'), 46738, 'SRID=4674;POINT (-40.35499 -2.807365)', '2026-06-22 02:39:46', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354984 -2.807357)'), GeomFromEWKT('SRID=4674;POINT (-40.35499 -2.807365)'))) / (select extract(epoch from '2026-06-22 02:39:46'::timestamp) - extract(epoch from '2026-06-22 02:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354984 -2.807357)'), GeomFromEWKT('SRID=4674;POINT (-40.35499 -2.807365)'))) / (select extract(epoch from '2026-06-22 02:39:46'::timestamp) - extract(epoch from '2026-06-22 02:39: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'), 46738, 'SRID=4674;POINT (-40.355001 -2.807378)', '2026-06-22 02:39:58', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35499 -2.807365)'), GeomFromEWKT('SRID=4674;POINT (-40.355001 -2.807378)'))) / (select extract(epoch from '2026-06-22 02:39:58'::timestamp) - extract(epoch from '2026-06-22 02:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35499 -2.807365)'), GeomFromEWKT('SRID=4674;POINT (-40.355001 -2.807378)'))) / (select extract(epoch from '2026-06-22 02:39:58'::timestamp) - extract(epoch from '2026-06-22 02:39: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'), 46738, 'SRID=4674;POINT (-40.355007 -2.807385)', '2026-06-22 02:40:05', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355001 -2.807378)'), GeomFromEWKT('SRID=4674;POINT (-40.355007 -2.807385)'))) / (select extract(epoch from '2026-06-22 02:40:05'::timestamp) - extract(epoch from '2026-06-22 02:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355001 -2.807378)'), GeomFromEWKT('SRID=4674;POINT (-40.355007 -2.807385)'))) / (select extract(epoch from '2026-06-22 02:40:05'::timestamp) - extract(epoch from '2026-06-22 02:39: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'), 46738, 'SRID=4674;POINT (-40.355025 -2.807389)', '2026-06-22 02:40:19', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355007 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.355025 -2.807389)'))) / (select extract(epoch from '2026-06-22 02:40:19'::timestamp) - extract(epoch from '2026-06-22 02:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355007 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.355025 -2.807389)'))) / (select extract(epoch from '2026-06-22 02:40:19'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46738, 'SRID=4674;POINT (-40.355036 -2.807387)', '2026-06-22 02:40:29', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355025 -2.807389)'), GeomFromEWKT('SRID=4674;POINT (-40.355036 -2.807387)'))) / (select extract(epoch from '2026-06-22 02:40:29'::timestamp) - extract(epoch from '2026-06-22 02:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355025 -2.807389)'), GeomFromEWKT('SRID=4674;POINT (-40.355036 -2.807387)'))) / (select extract(epoch from '2026-06-22 02:40:29'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46738, 'SRID=4674;POINT (-40.355055 -2.807393)', '2026-06-22 02:40:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355036 -2.807387)'), GeomFromEWKT('SRID=4674;POINT (-40.355055 -2.807393)'))) / (select extract(epoch from '2026-06-22 02:40:41'::timestamp) - extract(epoch from '2026-06-22 02:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355036 -2.807387)'), GeomFromEWKT('SRID=4674;POINT (-40.355055 -2.807393)'))) / (select extract(epoch from '2026-06-22 02:40:41'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46738, 'SRID=4674;POINT (-40.355073 -2.807399)', '2026-06-22 02:40:50', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355055 -2.807393)'), GeomFromEWKT('SRID=4674;POINT (-40.355073 -2.807399)'))) / (select extract(epoch from '2026-06-22 02:40:50'::timestamp) - extract(epoch from '2026-06-22 02:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355055 -2.807393)'), GeomFromEWKT('SRID=4674;POINT (-40.355073 -2.807399)'))) / (select extract(epoch from '2026-06-22 02:40:50'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46738, 'SRID=4674;POINT (-40.355086 -2.807401)', '2026-06-22 02:40:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355073 -2.807399)'), GeomFromEWKT('SRID=4674;POINT (-40.355086 -2.807401)'))) / (select extract(epoch from '2026-06-22 02:40:58'::timestamp) - extract(epoch from '2026-06-22 02:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355073 -2.807399)'), GeomFromEWKT('SRID=4674;POINT (-40.355086 -2.807401)'))) / (select extract(epoch from '2026-06-22 02:40:58'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46738, 'SRID=4674;POINT (-40.355101 -2.807398)', '2026-06-22 02:41:07', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355086 -2.807401)'), GeomFromEWKT('SRID=4674;POINT (-40.355101 -2.807398)'))) / (select extract(epoch from '2026-06-22 02:41:07'::timestamp) - extract(epoch from '2026-06-22 02:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355086 -2.807401)'), GeomFromEWKT('SRID=4674;POINT (-40.355101 -2.807398)'))) / (select extract(epoch from '2026-06-22 02:41:07'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46738, 'SRID=4674;POINT (-40.355129 -2.807404)', '2026-06-22 02:41:18', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355101 -2.807398)'), GeomFromEWKT('SRID=4674;POINT (-40.355129 -2.807404)'))) / (select extract(epoch from '2026-06-22 02:41:18'::timestamp) - extract(epoch from '2026-06-22 02:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355101 -2.807398)'), GeomFromEWKT('SRID=4674;POINT (-40.355129 -2.807404)'))) / (select extract(epoch from '2026-06-22 02:41:18'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46738, 'SRID=4674;POINT (-40.355147 -2.807411)', '2026-06-22 02:41:30', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355129 -2.807404)'), GeomFromEWKT('SRID=4674;POINT (-40.355147 -2.807411)'))) / (select extract(epoch from '2026-06-22 02:41:30'::timestamp) - extract(epoch from '2026-06-22 02:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355129 -2.807404)'), GeomFromEWKT('SRID=4674;POINT (-40.355147 -2.807411)'))) / (select extract(epoch from '2026-06-22 02:41:30'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46738, 'SRID=4674;POINT (-40.355173 -2.807408)', '2026-06-22 02:41:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355147 -2.807411)'), GeomFromEWKT('SRID=4674;POINT (-40.355173 -2.807408)'))) / (select extract(epoch from '2026-06-22 02:41:40'::timestamp) - extract(epoch from '2026-06-22 02:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355147 -2.807411)'), GeomFromEWKT('SRID=4674;POINT (-40.355173 -2.807408)'))) / (select extract(epoch from '2026-06-22 02:41:40'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46738, 'SRID=4674;POINT (-40.355207 -2.807399)', '2026-06-22 02:41:55', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355173 -2.807408)'), GeomFromEWKT('SRID=4674;POINT (-40.355207 -2.807399)'))) / (select extract(epoch from '2026-06-22 02:41:55'::timestamp) - extract(epoch from '2026-06-22 02:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355173 -2.807408)'), GeomFromEWKT('SRID=4674;POINT (-40.355207 -2.807399)'))) / (select extract(epoch from '2026-06-22 02:41:55'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46738, 'SRID=4674;POINT (-40.355262 -2.807382)', '2026-06-22 02:42:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355207 -2.807399)'), GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.807382)'))) / (select extract(epoch from '2026-06-22 02:42:13'::timestamp) - extract(epoch from '2026-06-22 02:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355207 -2.807399)'), GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.807382)'))) / (select extract(epoch from '2026-06-22 02:42:13'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46738, 'SRID=4674;POINT (-40.355337 -2.80737)', '2026-06-22 02:42:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.807382)'), GeomFromEWKT('SRID=4674;POINT (-40.355337 -2.80737)'))) / (select extract(epoch from '2026-06-22 02:42:38'::timestamp) - extract(epoch from '2026-06-22 02:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.807382)'), GeomFromEWKT('SRID=4674;POINT (-40.355337 -2.80737)'))) / (select extract(epoch from '2026-06-22 02:42:38'::timestamp) - extract(epoch from '2026-06-22 02:42: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'), 46738, 'SRID=4674;POINT (-40.355405 -2.807357)', '2026-06-22 02:43:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355337 -2.80737)'), GeomFromEWKT('SRID=4674;POINT (-40.355405 -2.807357)'))) / (select extract(epoch from '2026-06-22 02:43:04'::timestamp) - extract(epoch from '2026-06-22 02:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355337 -2.80737)'), GeomFromEWKT('SRID=4674;POINT (-40.355405 -2.807357)'))) / (select extract(epoch from '2026-06-22 02:43:04'::timestamp) - extract(epoch from '2026-06-22 02:42: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'), 46738, 'SRID=4674;POINT (-40.355485 -2.807335)', '2026-06-22 02:43:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355405 -2.807357)'), GeomFromEWKT('SRID=4674;POINT (-40.355485 -2.807335)'))) / (select extract(epoch from '2026-06-22 02:43:37'::timestamp) - extract(epoch from '2026-06-22 02:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355405 -2.807357)'), GeomFromEWKT('SRID=4674;POINT (-40.355485 -2.807335)'))) / (select extract(epoch from '2026-06-22 02:43:37'::timestamp) - extract(epoch from '2026-06-22 02:43: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'), 46738, 'SRID=4674;POINT (-40.355584 -2.807306)', '2026-06-22 02:44:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355485 -2.807335)'), GeomFromEWKT('SRID=4674;POINT (-40.355584 -2.807306)'))) / (select extract(epoch from '2026-06-22 02:44:15'::timestamp) - extract(epoch from '2026-06-22 02:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355485 -2.807335)'), GeomFromEWKT('SRID=4674;POINT (-40.355584 -2.807306)'))) / (select extract(epoch from '2026-06-22 02:44:15'::timestamp) - extract(epoch from '2026-06-22 02:43: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'), 46738, 'SRID=4674;POINT (-40.355667 -2.807263)', '2026-06-22 02:44:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355584 -2.807306)'), GeomFromEWKT('SRID=4674;POINT (-40.355667 -2.807263)'))) / (select extract(epoch from '2026-06-22 02:44:23'::timestamp) - extract(epoch from '2026-06-22 02:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355584 -2.807306)'), GeomFromEWKT('SRID=4674;POINT (-40.355667 -2.807263)'))) / (select extract(epoch from '2026-06-22 02:44:23'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46738, 'SRID=4674;POINT (-40.355723 -2.807164)', '2026-06-22 02:44:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355667 -2.807263)'), GeomFromEWKT('SRID=4674;POINT (-40.355723 -2.807164)'))) / (select extract(epoch from '2026-06-22 02:44:30'::timestamp) - extract(epoch from '2026-06-22 02:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355667 -2.807263)'), GeomFromEWKT('SRID=4674;POINT (-40.355723 -2.807164)'))) / (select extract(epoch from '2026-06-22 02:44:30'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46738, 'SRID=4674;POINT (-40.355745 -2.807019)', '2026-06-22 02:44:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355723 -2.807164)'), GeomFromEWKT('SRID=4674;POINT (-40.355745 -2.807019)'))) / (select extract(epoch from '2026-06-22 02:44:38'::timestamp) - extract(epoch from '2026-06-22 02:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355723 -2.807164)'), GeomFromEWKT('SRID=4674;POINT (-40.355745 -2.807019)'))) / (select extract(epoch from '2026-06-22 02:44:38'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46738, 'SRID=4674;POINT (-40.355729 -2.806844)', '2026-06-22 02:44:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355745 -2.807019)'), GeomFromEWKT('SRID=4674;POINT (-40.355729 -2.806844)'))) / (select extract(epoch from '2026-06-22 02:44:47'::timestamp) - extract(epoch from '2026-06-22 02:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355745 -2.807019)'), GeomFromEWKT('SRID=4674;POINT (-40.355729 -2.806844)'))) / (select extract(epoch from '2026-06-22 02:44:47'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46738, 'SRID=4674;POINT (-40.355677 -2.806657)', '2026-06-22 02:44:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355729 -2.806844)'), GeomFromEWKT('SRID=4674;POINT (-40.355677 -2.806657)'))) / (select extract(epoch from '2026-06-22 02:44:57'::timestamp) - extract(epoch from '2026-06-22 02:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355729 -2.806844)'), GeomFromEWKT('SRID=4674;POINT (-40.355677 -2.806657)'))) / (select extract(epoch from '2026-06-22 02:44:57'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46738, 'SRID=4674;POINT (-40.35562 -2.80656)', '2026-06-22 02:45:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355677 -2.806657)'), GeomFromEWKT('SRID=4674;POINT (-40.35562 -2.80656)'))) / (select extract(epoch from '2026-06-22 02:45:03'::timestamp) - extract(epoch from '2026-06-22 02:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355677 -2.806657)'), GeomFromEWKT('SRID=4674;POINT (-40.35562 -2.80656)'))) / (select extract(epoch from '2026-06-22 02:45:03'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46738, 'SRID=4674;POINT (-40.355528 -2.806447)', '2026-06-22 02:45:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35562 -2.80656)'), GeomFromEWKT('SRID=4674;POINT (-40.355528 -2.806447)'))) / (select extract(epoch from '2026-06-22 02:45:11'::timestamp) - extract(epoch from '2026-06-22 02:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35562 -2.80656)'), GeomFromEWKT('SRID=4674;POINT (-40.355528 -2.806447)'))) / (select extract(epoch from '2026-06-22 02:45:11'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46738, 'SRID=4674;POINT (-40.355413 -2.806339)', '2026-06-22 02:45:19', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355528 -2.806447)'), GeomFromEWKT('SRID=4674;POINT (-40.355413 -2.806339)'))) / (select extract(epoch from '2026-06-22 02:45:19'::timestamp) - extract(epoch from '2026-06-22 02:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355528 -2.806447)'), GeomFromEWKT('SRID=4674;POINT (-40.355413 -2.806339)'))) / (select extract(epoch from '2026-06-22 02:45:19'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46738, 'SRID=4674;POINT (-40.355265 -2.806232)', '2026-06-22 02:45:28', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355413 -2.806339)'), GeomFromEWKT('SRID=4674;POINT (-40.355265 -2.806232)'))) / (select extract(epoch from '2026-06-22 02:45:28'::timestamp) - extract(epoch from '2026-06-22 02:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355413 -2.806339)'), GeomFromEWKT('SRID=4674;POINT (-40.355265 -2.806232)'))) / (select extract(epoch from '2026-06-22 02:45:28'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46738, 'SRID=4674;POINT (-40.355099 -2.806155)', '2026-06-22 02:45:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355265 -2.806232)'), GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.806155)'))) / (select extract(epoch from '2026-06-22 02:45:37'::timestamp) - extract(epoch from '2026-06-22 02:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355265 -2.806232)'), GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.806155)'))) / (select extract(epoch from '2026-06-22 02:45:37'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46738, 'SRID=4674;POINT (-40.354938 -2.806094)', '2026-06-22 02:45:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.806155)'), GeomFromEWKT('SRID=4674;POINT (-40.354938 -2.806094)'))) / (select extract(epoch from '2026-06-22 02:45:45'::timestamp) - extract(epoch from '2026-06-22 02:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355099 -2.806155)'), GeomFromEWKT('SRID=4674;POINT (-40.354938 -2.806094)'))) / (select extract(epoch from '2026-06-22 02:45:45'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46738, 'SRID=4674;POINT (-40.354716 -2.806006)', '2026-06-22 02:45:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354938 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.354716 -2.806006)'))) / (select extract(epoch from '2026-06-22 02:45:56'::timestamp) - extract(epoch from '2026-06-22 02:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354938 -2.806094)'), GeomFromEWKT('SRID=4674;POINT (-40.354716 -2.806006)'))) / (select extract(epoch from '2026-06-22 02:45:56'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46738, 'SRID=4674;POINT (-40.354542 -2.805953)', '2026-06-22 02:46:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354716 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.354542 -2.805953)'))) / (select extract(epoch from '2026-06-22 02:46:05'::timestamp) - extract(epoch from '2026-06-22 02:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354716 -2.806006)'), GeomFromEWKT('SRID=4674;POINT (-40.354542 -2.805953)'))) / (select extract(epoch from '2026-06-22 02:46:05'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46738, 'SRID=4674;POINT (-40.354393 -2.805871)', '2026-06-22 02:46:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354542 -2.805953)'), GeomFromEWKT('SRID=4674;POINT (-40.354393 -2.805871)'))) / (select extract(epoch from '2026-06-22 02:46:13'::timestamp) - extract(epoch from '2026-06-22 02:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354542 -2.805953)'), GeomFromEWKT('SRID=4674;POINT (-40.354393 -2.805871)'))) / (select extract(epoch from '2026-06-22 02:46:13'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46738, 'SRID=4674;POINT (-40.35421 -2.805776)', '2026-06-22 02:46:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354393 -2.805871)'), GeomFromEWKT('SRID=4674;POINT (-40.35421 -2.805776)'))) / (select extract(epoch from '2026-06-22 02:46:23'::timestamp) - extract(epoch from '2026-06-22 02:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354393 -2.805871)'), GeomFromEWKT('SRID=4674;POINT (-40.35421 -2.805776)'))) / (select extract(epoch from '2026-06-22 02:46:23'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46738, 'SRID=4674;POINT (-40.354035 -2.805704)', '2026-06-22 02:46:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35421 -2.805776)'), GeomFromEWKT('SRID=4674;POINT (-40.354035 -2.805704)'))) / (select extract(epoch from '2026-06-22 02:46:32'::timestamp) - extract(epoch from '2026-06-22 02:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35421 -2.805776)'), GeomFromEWKT('SRID=4674;POINT (-40.354035 -2.805704)'))) / (select extract(epoch from '2026-06-22 02:46:32'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46738, 'SRID=4674;POINT (-40.353831 -2.805604)', '2026-06-22 02:46:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354035 -2.805704)'), GeomFromEWKT('SRID=4674;POINT (-40.353831 -2.805604)'))) / (select extract(epoch from '2026-06-22 02:46:43'::timestamp) - extract(epoch from '2026-06-22 02:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354035 -2.805704)'), GeomFromEWKT('SRID=4674;POINT (-40.353831 -2.805604)'))) / (select extract(epoch from '2026-06-22 02:46:43'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46738, 'SRID=4674;POINT (-40.353624 -2.80551)', '2026-06-22 02:46:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353831 -2.805604)'), GeomFromEWKT('SRID=4674;POINT (-40.353624 -2.80551)'))) / (select extract(epoch from '2026-06-22 02:46:54'::timestamp) - extract(epoch from '2026-06-22 02:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353831 -2.805604)'), GeomFromEWKT('SRID=4674;POINT (-40.353624 -2.80551)'))) / (select extract(epoch from '2026-06-22 02:46:54'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46738, 'SRID=4674;POINT (-40.353449 -2.805426)', '2026-06-22 02:47:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353624 -2.80551)'), GeomFromEWKT('SRID=4674;POINT (-40.353449 -2.805426)'))) / (select extract(epoch from '2026-06-22 02:47:03'::timestamp) - extract(epoch from '2026-06-22 02:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353624 -2.80551)'), GeomFromEWKT('SRID=4674;POINT (-40.353449 -2.805426)'))) / (select extract(epoch from '2026-06-22 02:47:03'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46738, 'SRID=4674;POINT (-40.353307 -2.805352)', '2026-06-22 02:47:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353449 -2.805426)'), GeomFromEWKT('SRID=4674;POINT (-40.353307 -2.805352)'))) / (select extract(epoch from '2026-06-22 02:47:11'::timestamp) - extract(epoch from '2026-06-22 02:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353449 -2.805426)'), GeomFromEWKT('SRID=4674;POINT (-40.353307 -2.805352)'))) / (select extract(epoch from '2026-06-22 02:47:11'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46738, 'SRID=4674;POINT (-40.353074 -2.805224)', '2026-06-22 02:47:24', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353307 -2.805352)'), GeomFromEWKT('SRID=4674;POINT (-40.353074 -2.805224)'))) / (select extract(epoch from '2026-06-22 02:47:24'::timestamp) - extract(epoch from '2026-06-22 02:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353307 -2.805352)'), GeomFromEWKT('SRID=4674;POINT (-40.353074 -2.805224)'))) / (select extract(epoch from '2026-06-22 02:47:24'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46738, 'SRID=4674;POINT (-40.352882 -2.805146)', '2026-06-22 02:47:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353074 -2.805224)'), GeomFromEWKT('SRID=4674;POINT (-40.352882 -2.805146)'))) / (select extract(epoch from '2026-06-22 02:47:34'::timestamp) - extract(epoch from '2026-06-22 02:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353074 -2.805224)'), GeomFromEWKT('SRID=4674;POINT (-40.352882 -2.805146)'))) / (select extract(epoch from '2026-06-22 02:47:34'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46738, 'SRID=4674;POINT (-40.352709 -2.805065)', '2026-06-22 02:47:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352882 -2.805146)'), GeomFromEWKT('SRID=4674;POINT (-40.352709 -2.805065)'))) / (select extract(epoch from '2026-06-22 02:47:43'::timestamp) - extract(epoch from '2026-06-22 02:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352882 -2.805146)'), GeomFromEWKT('SRID=4674;POINT (-40.352709 -2.805065)'))) / (select extract(epoch from '2026-06-22 02:47:43'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46738, 'SRID=4674;POINT (-40.352544 -2.804988)', '2026-06-22 02:47:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352709 -2.805065)'), GeomFromEWKT('SRID=4674;POINT (-40.352544 -2.804988)'))) / (select extract(epoch from '2026-06-22 02:47:52'::timestamp) - extract(epoch from '2026-06-22 02:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352709 -2.805065)'), GeomFromEWKT('SRID=4674;POINT (-40.352544 -2.804988)'))) / (select extract(epoch from '2026-06-22 02:47:52'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46738, 'SRID=4674;POINT (-40.352387 -2.804891)', '2026-06-22 02:48:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352544 -2.804988)'), GeomFromEWKT('SRID=4674;POINT (-40.352387 -2.804891)'))) / (select extract(epoch from '2026-06-22 02:48:01'::timestamp) - extract(epoch from '2026-06-22 02:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352544 -2.804988)'), GeomFromEWKT('SRID=4674;POINT (-40.352387 -2.804891)'))) / (select extract(epoch from '2026-06-22 02:48:01'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46738, 'SRID=4674;POINT (-40.352234 -2.804785)', '2026-06-22 02:48:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352387 -2.804891)'), GeomFromEWKT('SRID=4674;POINT (-40.352234 -2.804785)'))) / (select extract(epoch from '2026-06-22 02:48:10'::timestamp) - extract(epoch from '2026-06-22 02:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352387 -2.804891)'), GeomFromEWKT('SRID=4674;POINT (-40.352234 -2.804785)'))) / (select extract(epoch from '2026-06-22 02:48:10'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46738, 'SRID=4674;POINT (-40.35207 -2.804668)', '2026-06-22 02:48:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352234 -2.804785)'), GeomFromEWKT('SRID=4674;POINT (-40.35207 -2.804668)'))) / (select extract(epoch from '2026-06-22 02:48:20'::timestamp) - extract(epoch from '2026-06-22 02:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352234 -2.804785)'), GeomFromEWKT('SRID=4674;POINT (-40.35207 -2.804668)'))) / (select extract(epoch from '2026-06-22 02:48:20'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46738, 'SRID=4674;POINT (-40.351941 -2.80458)', '2026-06-22 02:48:28', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35207 -2.804668)'), GeomFromEWKT('SRID=4674;POINT (-40.351941 -2.80458)'))) / (select extract(epoch from '2026-06-22 02:48:28'::timestamp) - extract(epoch from '2026-06-22 02:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35207 -2.804668)'), GeomFromEWKT('SRID=4674;POINT (-40.351941 -2.80458)'))) / (select extract(epoch from '2026-06-22 02:48:28'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46738, 'SRID=4674;POINT (-40.351775 -2.804472)', '2026-06-22 02:48:38', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351941 -2.80458)'), GeomFromEWKT('SRID=4674;POINT (-40.351775 -2.804472)'))) / (select extract(epoch from '2026-06-22 02:48:38'::timestamp) - extract(epoch from '2026-06-22 02:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351941 -2.80458)'), GeomFromEWKT('SRID=4674;POINT (-40.351775 -2.804472)'))) / (select extract(epoch from '2026-06-22 02:48:38'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46738, 'SRID=4674;POINT (-40.351606 -2.80436)', '2026-06-22 02:48:48', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351775 -2.804472)'), GeomFromEWKT('SRID=4674;POINT (-40.351606 -2.80436)'))) / (select extract(epoch from '2026-06-22 02:48:48'::timestamp) - extract(epoch from '2026-06-22 02:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351775 -2.804472)'), GeomFromEWKT('SRID=4674;POINT (-40.351606 -2.80436)'))) / (select extract(epoch from '2026-06-22 02:48:48'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46738, 'SRID=4674;POINT (-40.351413 -2.804216)', '2026-06-22 02:49:00', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351606 -2.80436)'), GeomFromEWKT('SRID=4674;POINT (-40.351413 -2.804216)'))) / (select extract(epoch from '2026-06-22 02:49:00'::timestamp) - extract(epoch from '2026-06-22 02:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351606 -2.80436)'), GeomFromEWKT('SRID=4674;POINT (-40.351413 -2.804216)'))) / (select extract(epoch from '2026-06-22 02:49:00'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46738, 'SRID=4674;POINT (-40.351303 -2.80413)', '2026-06-22 02:49:07', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351413 -2.804216)'), GeomFromEWKT('SRID=4674;POINT (-40.351303 -2.80413)'))) / (select extract(epoch from '2026-06-22 02:49:07'::timestamp) - extract(epoch from '2026-06-22 02:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351413 -2.804216)'), GeomFromEWKT('SRID=4674;POINT (-40.351303 -2.80413)'))) / (select extract(epoch from '2026-06-22 02:49:07'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46738, 'SRID=4674;POINT (-40.351172 -2.804026)', '2026-06-22 02:49:15', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351303 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.351172 -2.804026)'))) / (select extract(epoch from '2026-06-22 02:49:15'::timestamp) - extract(epoch from '2026-06-22 02:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351303 -2.80413)'), GeomFromEWKT('SRID=4674;POINT (-40.351172 -2.804026)'))) / (select extract(epoch from '2026-06-22 02:49:15'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46738, 'SRID=4674;POINT (-40.351031 -2.803933)', '2026-06-22 02:49:23', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351172 -2.804026)'), GeomFromEWKT('SRID=4674;POINT (-40.351031 -2.803933)'))) / (select extract(epoch from '2026-06-22 02:49:23'::timestamp) - extract(epoch from '2026-06-22 02:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351172 -2.804026)'), GeomFromEWKT('SRID=4674;POINT (-40.351031 -2.803933)'))) / (select extract(epoch from '2026-06-22 02:49:23'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46738, 'SRID=4674;POINT (-40.350883 -2.803819)', '2026-06-22 02:49:32', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351031 -2.803933)'), GeomFromEWKT('SRID=4674;POINT (-40.350883 -2.803819)'))) / (select extract(epoch from '2026-06-22 02:49:32'::timestamp) - extract(epoch from '2026-06-22 02:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351031 -2.803933)'), GeomFromEWKT('SRID=4674;POINT (-40.350883 -2.803819)'))) / (select extract(epoch from '2026-06-22 02:49:32'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46738, 'SRID=4674;POINT (-40.350747 -2.803731)', '2026-06-22 02:49:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350883 -2.803819)'), GeomFromEWKT('SRID=4674;POINT (-40.350747 -2.803731)'))) / (select extract(epoch from '2026-06-22 02:49:40'::timestamp) - extract(epoch from '2026-06-22 02:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350883 -2.803819)'), GeomFromEWKT('SRID=4674;POINT (-40.350747 -2.803731)'))) / (select extract(epoch from '2026-06-22 02:49:40'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46738, 'SRID=4674;POINT (-40.350557 -2.80364)', '2026-06-22 02:49:50', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350747 -2.803731)'), GeomFromEWKT('SRID=4674;POINT (-40.350557 -2.80364)'))) / (select extract(epoch from '2026-06-22 02:49:50'::timestamp) - extract(epoch from '2026-06-22 02:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350747 -2.803731)'), GeomFromEWKT('SRID=4674;POINT (-40.350557 -2.80364)'))) / (select extract(epoch from '2026-06-22 02:49:50'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46738, 'SRID=4674;POINT (-40.3504 -2.80356)', '2026-06-22 02:49:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350557 -2.80364)'), GeomFromEWKT('SRID=4674;POINT (-40.3504 -2.80356)'))) / (select extract(epoch from '2026-06-22 02:49:58'::timestamp) - extract(epoch from '2026-06-22 02:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350557 -2.80364)'), GeomFromEWKT('SRID=4674;POINT (-40.3504 -2.80356)'))) / (select extract(epoch from '2026-06-22 02:49:58'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46738, 'SRID=4674;POINT (-40.350209 -2.803446)', '2026-06-22 02:50:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3504 -2.80356)'), GeomFromEWKT('SRID=4674;POINT (-40.350209 -2.803446)'))) / (select extract(epoch from '2026-06-22 02:50:08'::timestamp) - extract(epoch from '2026-06-22 02:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3504 -2.80356)'), GeomFromEWKT('SRID=4674;POINT (-40.350209 -2.803446)'))) / (select extract(epoch from '2026-06-22 02:50:08'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46738, 'SRID=4674;POINT (-40.350065 -2.803364)', '2026-06-22 02:50:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350209 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.350065 -2.803364)'))) / (select extract(epoch from '2026-06-22 02:50:16'::timestamp) - extract(epoch from '2026-06-22 02:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350209 -2.803446)'), GeomFromEWKT('SRID=4674;POINT (-40.350065 -2.803364)'))) / (select extract(epoch from '2026-06-22 02:50:16'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46738, 'SRID=4674;POINT (-40.349936 -2.803294)', '2026-06-22 02:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350065 -2.803364)'), GeomFromEWKT('SRID=4674;POINT (-40.349936 -2.803294)'))) / (select extract(epoch from '2026-06-22 02:50:23'::timestamp) - extract(epoch from '2026-06-22 02:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350065 -2.803364)'), GeomFromEWKT('SRID=4674;POINT (-40.349936 -2.803294)'))) / (select extract(epoch from '2026-06-22 02:50:23'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46738, 'SRID=4674;POINT (-40.349783 -2.803224)', '2026-06-22 02:50:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349936 -2.803294)'), GeomFromEWKT('SRID=4674;POINT (-40.349783 -2.803224)'))) / (select extract(epoch from '2026-06-22 02:50:31'::timestamp) - extract(epoch from '2026-06-22 02:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349936 -2.803294)'), GeomFromEWKT('SRID=4674;POINT (-40.349783 -2.803224)'))) / (select extract(epoch from '2026-06-22 02:50:31'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46738, 'SRID=4674;POINT (-40.349623 -2.803162)', '2026-06-22 02:50:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349783 -2.803224)'), GeomFromEWKT('SRID=4674;POINT (-40.349623 -2.803162)'))) / (select extract(epoch from '2026-06-22 02:50:39'::timestamp) - extract(epoch from '2026-06-22 02:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349783 -2.803224)'), GeomFromEWKT('SRID=4674;POINT (-40.349623 -2.803162)'))) / (select extract(epoch from '2026-06-22 02:50:39'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46738, 'SRID=4674;POINT (-40.349438 -2.803091)', '2026-06-22 02:50:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349623 -2.803162)'), GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.803091)'))) / (select extract(epoch from '2026-06-22 02:50:48'::timestamp) - extract(epoch from '2026-06-22 02:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349623 -2.803162)'), GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.803091)'))) / (select extract(epoch from '2026-06-22 02:50:48'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46738, 'SRID=4674;POINT (-40.349276 -2.80302)', '2026-06-22 02:50:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.803091)'), GeomFromEWKT('SRID=4674;POINT (-40.349276 -2.80302)'))) / (select extract(epoch from '2026-06-22 02:50:56'::timestamp) - extract(epoch from '2026-06-22 02:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.803091)'), GeomFromEWKT('SRID=4674;POINT (-40.349276 -2.80302)'))) / (select extract(epoch from '2026-06-22 02:50:56'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46738, 'SRID=4674;POINT (-40.34914 -2.802956)', '2026-06-22 02:51:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349276 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.34914 -2.802956)'))) / (select extract(epoch from '2026-06-22 02:51:03'::timestamp) - extract(epoch from '2026-06-22 02:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349276 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.34914 -2.802956)'))) / (select extract(epoch from '2026-06-22 02:51:03'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46738, 'SRID=4674;POINT (-40.34898 -2.802881)', '2026-06-22 02:51:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34914 -2.802956)'), GeomFromEWKT('SRID=4674;POINT (-40.34898 -2.802881)'))) / (select extract(epoch from '2026-06-22 02:51:11'::timestamp) - extract(epoch from '2026-06-22 02:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34914 -2.802956)'), GeomFromEWKT('SRID=4674;POINT (-40.34898 -2.802881)'))) / (select extract(epoch from '2026-06-22 02:51:11'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46738, 'SRID=4674;POINT (-40.348818 -2.802815)', '2026-06-22 02:51:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34898 -2.802881)'), GeomFromEWKT('SRID=4674;POINT (-40.348818 -2.802815)'))) / (select extract(epoch from '2026-06-22 02:51:19'::timestamp) - extract(epoch from '2026-06-22 02:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34898 -2.802881)'), GeomFromEWKT('SRID=4674;POINT (-40.348818 -2.802815)'))) / (select extract(epoch from '2026-06-22 02:51:19'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46738, 'SRID=4674;POINT (-40.348676 -2.802758)', '2026-06-22 02:51:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348818 -2.802815)'), GeomFromEWKT('SRID=4674;POINT (-40.348676 -2.802758)'))) / (select extract(epoch from '2026-06-22 02:51:26'::timestamp) - extract(epoch from '2026-06-22 02:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348818 -2.802815)'), GeomFromEWKT('SRID=4674;POINT (-40.348676 -2.802758)'))) / (select extract(epoch from '2026-06-22 02:51:26'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46738, 'SRID=4674;POINT (-40.348488 -2.802688)', '2026-06-22 02:51:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348676 -2.802758)'), GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.802688)'))) / (select extract(epoch from '2026-06-22 02:51:35'::timestamp) - extract(epoch from '2026-06-22 02:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348676 -2.802758)'), GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.802688)'))) / (select extract(epoch from '2026-06-22 02:51:35'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46738, 'SRID=4674;POINT (-40.348326 -2.802627)', '2026-06-22 02:51:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.802688)'), GeomFromEWKT('SRID=4674;POINT (-40.348326 -2.802627)'))) / (select extract(epoch from '2026-06-22 02:51:43'::timestamp) - extract(epoch from '2026-06-22 02:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.802688)'), GeomFromEWKT('SRID=4674;POINT (-40.348326 -2.802627)'))) / (select extract(epoch from '2026-06-22 02:51:43'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46738, 'SRID=4674;POINT (-40.348157 -2.802531)', '2026-06-22 02:51:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348326 -2.802627)'), GeomFromEWKT('SRID=4674;POINT (-40.348157 -2.802531)'))) / (select extract(epoch from '2026-06-22 02:51:52'::timestamp) - extract(epoch from '2026-06-22 02:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348326 -2.802627)'), GeomFromEWKT('SRID=4674;POINT (-40.348157 -2.802531)'))) / (select extract(epoch from '2026-06-22 02:51:52'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46738, 'SRID=4674;POINT (-40.347981 -2.802454)', '2026-06-22 02:52:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348157 -2.802531)'), GeomFromEWKT('SRID=4674;POINT (-40.347981 -2.802454)'))) / (select extract(epoch from '2026-06-22 02:52:01'::timestamp) - extract(epoch from '2026-06-22 02:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348157 -2.802531)'), GeomFromEWKT('SRID=4674;POINT (-40.347981 -2.802454)'))) / (select extract(epoch from '2026-06-22 02:52:01'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46738, 'SRID=4674;POINT (-40.347785 -2.80237)', '2026-06-22 02:52:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347981 -2.802454)'), GeomFromEWKT('SRID=4674;POINT (-40.347785 -2.80237)'))) / (select extract(epoch from '2026-06-22 02:52:11'::timestamp) - extract(epoch from '2026-06-22 02:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347981 -2.802454)'), GeomFromEWKT('SRID=4674;POINT (-40.347785 -2.80237)'))) / (select extract(epoch from '2026-06-22 02:52:11'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46738, 'SRID=4674;POINT (-40.347606 -2.802289)', '2026-06-22 02:52:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347785 -2.80237)'), GeomFromEWKT('SRID=4674;POINT (-40.347606 -2.802289)'))) / (select extract(epoch from '2026-06-22 02:52:20'::timestamp) - extract(epoch from '2026-06-22 02:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347785 -2.80237)'), GeomFromEWKT('SRID=4674;POINT (-40.347606 -2.802289)'))) / (select extract(epoch from '2026-06-22 02:52:20'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46738, 'SRID=4674;POINT (-40.347408 -2.802191)', '2026-06-22 02:52:30', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347606 -2.802289)'), GeomFromEWKT('SRID=4674;POINT (-40.347408 -2.802191)'))) / (select extract(epoch from '2026-06-22 02:52:30'::timestamp) - extract(epoch from '2026-06-22 02:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347606 -2.802289)'), GeomFromEWKT('SRID=4674;POINT (-40.347408 -2.802191)'))) / (select extract(epoch from '2026-06-22 02:52:30'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46738, 'SRID=4674;POINT (-40.347271 -2.802127)', '2026-06-22 02:52:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347408 -2.802191)'), GeomFromEWKT('SRID=4674;POINT (-40.347271 -2.802127)'))) / (select extract(epoch from '2026-06-22 02:52:37'::timestamp) - extract(epoch from '2026-06-22 02:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347408 -2.802191)'), GeomFromEWKT('SRID=4674;POINT (-40.347271 -2.802127)'))) / (select extract(epoch from '2026-06-22 02:52:37'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46738, 'SRID=4674;POINT (-40.347134 -2.802071)', '2026-06-22 02:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347271 -2.802127)'), GeomFromEWKT('SRID=4674;POINT (-40.347134 -2.802071)'))) / (select extract(epoch from '2026-06-22 02:52:44'::timestamp) - extract(epoch from '2026-06-22 02:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347271 -2.802127)'), GeomFromEWKT('SRID=4674;POINT (-40.347134 -2.802071)'))) / (select extract(epoch from '2026-06-22 02:52:44'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46738, 'SRID=4674;POINT (-40.346933 -2.801993)', '2026-06-22 02:52:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347134 -2.802071)'), GeomFromEWKT('SRID=4674;POINT (-40.346933 -2.801993)'))) / (select extract(epoch from '2026-06-22 02:52:54'::timestamp) - extract(epoch from '2026-06-22 02:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347134 -2.802071)'), GeomFromEWKT('SRID=4674;POINT (-40.346933 -2.801993)'))) / (select extract(epoch from '2026-06-22 02:52:54'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46738, 'SRID=4674;POINT (-40.346767 -2.801945)', '2026-06-22 02:53:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346933 -2.801993)'), GeomFromEWKT('SRID=4674;POINT (-40.346767 -2.801945)'))) / (select extract(epoch from '2026-06-22 02:53:02'::timestamp) - extract(epoch from '2026-06-22 02:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346933 -2.801993)'), GeomFromEWKT('SRID=4674;POINT (-40.346767 -2.801945)'))) / (select extract(epoch from '2026-06-22 02:53:02'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46738, 'SRID=4674;POINT (-40.346602 -2.801914)', '2026-06-22 02:53:10', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346767 -2.801945)'), GeomFromEWKT('SRID=4674;POINT (-40.346602 -2.801914)'))) / (select extract(epoch from '2026-06-22 02:53:10'::timestamp) - extract(epoch from '2026-06-22 02:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346767 -2.801945)'), GeomFromEWKT('SRID=4674;POINT (-40.346602 -2.801914)'))) / (select extract(epoch from '2026-06-22 02:53:10'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46738, 'SRID=4674;POINT (-40.346438 -2.801887)', '2026-06-22 02:53:18', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346602 -2.801914)'), GeomFromEWKT('SRID=4674;POINT (-40.346438 -2.801887)'))) / (select extract(epoch from '2026-06-22 02:53:18'::timestamp) - extract(epoch from '2026-06-22 02:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346602 -2.801914)'), GeomFromEWKT('SRID=4674;POINT (-40.346438 -2.801887)'))) / (select extract(epoch from '2026-06-22 02:53:18'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46738, 'SRID=4674;POINT (-40.346271 -2.801856)', '2026-06-22 02:53:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346438 -2.801887)'), GeomFromEWKT('SRID=4674;POINT (-40.346271 -2.801856)'))) / (select extract(epoch from '2026-06-22 02:53:26'::timestamp) - extract(epoch from '2026-06-22 02:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346438 -2.801887)'), GeomFromEWKT('SRID=4674;POINT (-40.346271 -2.801856)'))) / (select extract(epoch from '2026-06-22 02:53:26'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46738, 'SRID=4674;POINT (-40.346079 -2.801813)', '2026-06-22 02:53:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346271 -2.801856)'), GeomFromEWKT('SRID=4674;POINT (-40.346079 -2.801813)'))) / (select extract(epoch from '2026-06-22 02:53:35'::timestamp) - extract(epoch from '2026-06-22 02:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346271 -2.801856)'), GeomFromEWKT('SRID=4674;POINT (-40.346079 -2.801813)'))) / (select extract(epoch from '2026-06-22 02:53:35'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46738, 'SRID=4674;POINT (-40.345936 -2.801774)', '2026-06-22 02:53:42', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346079 -2.801813)'), GeomFromEWKT('SRID=4674;POINT (-40.345936 -2.801774)'))) / (select extract(epoch from '2026-06-22 02:53:42'::timestamp) - extract(epoch from '2026-06-22 02:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346079 -2.801813)'), GeomFromEWKT('SRID=4674;POINT (-40.345936 -2.801774)'))) / (select extract(epoch from '2026-06-22 02:53:42'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46738, 'SRID=4674;POINT (-40.345764 -2.801731)', '2026-06-22 02:53:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345936 -2.801774)'), GeomFromEWKT('SRID=4674;POINT (-40.345764 -2.801731)'))) / (select extract(epoch from '2026-06-22 02:53:50'::timestamp) - extract(epoch from '2026-06-22 02:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345936 -2.801774)'), GeomFromEWKT('SRID=4674;POINT (-40.345764 -2.801731)'))) / (select extract(epoch from '2026-06-22 02:53:50'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46738, 'SRID=4674;POINT (-40.345579 -2.801702)', '2026-06-22 02:53:59', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345764 -2.801731)'), GeomFromEWKT('SRID=4674;POINT (-40.345579 -2.801702)'))) / (select extract(epoch from '2026-06-22 02:53:59'::timestamp) - extract(epoch from '2026-06-22 02:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345764 -2.801731)'), GeomFromEWKT('SRID=4674;POINT (-40.345579 -2.801702)'))) / (select extract(epoch from '2026-06-22 02:53:59'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46738, 'SRID=4674;POINT (-40.345412 -2.801685)', '2026-06-22 02:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345579 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.345412 -2.801685)'))) / (select extract(epoch from '2026-06-22 02:54:07'::timestamp) - extract(epoch from '2026-06-22 02:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345579 -2.801702)'), GeomFromEWKT('SRID=4674;POINT (-40.345412 -2.801685)'))) / (select extract(epoch from '2026-06-22 02:54:07'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46738, 'SRID=4674;POINT (-40.345239 -2.801674)', '2026-06-22 02:54:15', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345412 -2.801685)'), GeomFromEWKT('SRID=4674;POINT (-40.345239 -2.801674)'))) / (select extract(epoch from '2026-06-22 02:54:15'::timestamp) - extract(epoch from '2026-06-22 02:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345412 -2.801685)'), GeomFromEWKT('SRID=4674;POINT (-40.345239 -2.801674)'))) / (select extract(epoch from '2026-06-22 02:54:15'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46738, 'SRID=4674;POINT (-40.345055 -2.801633)', '2026-06-22 02:54:24', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345239 -2.801674)'), GeomFromEWKT('SRID=4674;POINT (-40.345055 -2.801633)'))) / (select extract(epoch from '2026-06-22 02:54:24'::timestamp) - extract(epoch from '2026-06-22 02:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345239 -2.801674)'), GeomFromEWKT('SRID=4674;POINT (-40.345055 -2.801633)'))) / (select extract(epoch from '2026-06-22 02:54:24'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46738, 'SRID=4674;POINT (-40.344894 -2.801585)', '2026-06-22 02:54:32', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345055 -2.801633)'), GeomFromEWKT('SRID=4674;POINT (-40.344894 -2.801585)'))) / (select extract(epoch from '2026-06-22 02:54:32'::timestamp) - extract(epoch from '2026-06-22 02:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345055 -2.801633)'), GeomFromEWKT('SRID=4674;POINT (-40.344894 -2.801585)'))) / (select extract(epoch from '2026-06-22 02:54:32'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46738, 'SRID=4674;POINT (-40.344748 -2.801554)', '2026-06-22 02:54:39', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344894 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.344748 -2.801554)'))) / (select extract(epoch from '2026-06-22 02:54:39'::timestamp) - extract(epoch from '2026-06-22 02:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344894 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.344748 -2.801554)'))) / (select extract(epoch from '2026-06-22 02:54:39'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46738, 'SRID=4674;POINT (-40.344622 -2.801537)', '2026-06-22 02:54:45', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344748 -2.801554)'), GeomFromEWKT('SRID=4674;POINT (-40.344622 -2.801537)'))) / (select extract(epoch from '2026-06-22 02:54:45'::timestamp) - extract(epoch from '2026-06-22 02:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344748 -2.801554)'), GeomFromEWKT('SRID=4674;POINT (-40.344622 -2.801537)'))) / (select extract(epoch from '2026-06-22 02:54:45'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46738, 'SRID=4674;POINT (-40.344426 -2.801512)', '2026-06-22 02:54:54', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344622 -2.801537)'), GeomFromEWKT('SRID=4674;POINT (-40.344426 -2.801512)'))) / (select extract(epoch from '2026-06-22 02:54:54'::timestamp) - extract(epoch from '2026-06-22 02:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344622 -2.801537)'), GeomFromEWKT('SRID=4674;POINT (-40.344426 -2.801512)'))) / (select extract(epoch from '2026-06-22 02:54:54'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46738, 'SRID=4674;POINT (-40.344257 -2.801507)', '2026-06-22 02:55:02', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344426 -2.801512)'), GeomFromEWKT('SRID=4674;POINT (-40.344257 -2.801507)'))) / (select extract(epoch from '2026-06-22 02:55:02'::timestamp) - extract(epoch from '2026-06-22 02:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344426 -2.801512)'), GeomFromEWKT('SRID=4674;POINT (-40.344257 -2.801507)'))) / (select extract(epoch from '2026-06-22 02:55:02'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46738, 'SRID=4674;POINT (-40.344062 -2.801495)', '2026-06-22 02:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344257 -2.801507)'), GeomFromEWKT('SRID=4674;POINT (-40.344062 -2.801495)'))) / (select extract(epoch from '2026-06-22 02:55:11'::timestamp) - extract(epoch from '2026-06-22 02:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344257 -2.801507)'), GeomFromEWKT('SRID=4674;POINT (-40.344062 -2.801495)'))) / (select extract(epoch from '2026-06-22 02:55:11'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46738, 'SRID=4674;POINT (-40.343891 -2.801485)', '2026-06-22 02:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344062 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.343891 -2.801485)'))) / (select extract(epoch from '2026-06-22 02:55:19'::timestamp) - extract(epoch from '2026-06-22 02:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344062 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.343891 -2.801485)'))) / (select extract(epoch from '2026-06-22 02:55:19'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46738, 'SRID=4674;POINT (-40.343697 -2.801465)', '2026-06-22 02:55:28', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343891 -2.801485)'), GeomFromEWKT('SRID=4674;POINT (-40.343697 -2.801465)'))) / (select extract(epoch from '2026-06-22 02:55:28'::timestamp) - extract(epoch from '2026-06-22 02:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343891 -2.801485)'), GeomFromEWKT('SRID=4674;POINT (-40.343697 -2.801465)'))) / (select extract(epoch from '2026-06-22 02:55:28'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46738, 'SRID=4674;POINT (-40.343503 -2.801466)', '2026-06-22 02:55:37', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343697 -2.801465)'), GeomFromEWKT('SRID=4674;POINT (-40.343503 -2.801466)'))) / (select extract(epoch from '2026-06-22 02:55:37'::timestamp) - extract(epoch from '2026-06-22 02:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343697 -2.801465)'), GeomFromEWKT('SRID=4674;POINT (-40.343503 -2.801466)'))) / (select extract(epoch from '2026-06-22 02:55:37'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46738, 'SRID=4674;POINT (-40.343356 -2.801478)', '2026-06-22 02:55:44', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343503 -2.801466)'), GeomFromEWKT('SRID=4674;POINT (-40.343356 -2.801478)'))) / (select extract(epoch from '2026-06-22 02:55:44'::timestamp) - extract(epoch from '2026-06-22 02:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343503 -2.801466)'), GeomFromEWKT('SRID=4674;POINT (-40.343356 -2.801478)'))) / (select extract(epoch from '2026-06-22 02:55:44'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46738, 'SRID=4674;POINT (-40.343186 -2.801495)', '2026-06-22 02:55:52', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343356 -2.801478)'), GeomFromEWKT('SRID=4674;POINT (-40.343186 -2.801495)'))) / (select extract(epoch from '2026-06-22 02:55:52'::timestamp) - extract(epoch from '2026-06-22 02:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343356 -2.801478)'), GeomFromEWKT('SRID=4674;POINT (-40.343186 -2.801495)'))) / (select extract(epoch from '2026-06-22 02:55:52'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46738, 'SRID=4674;POINT (-40.34302 -2.801515)', '2026-06-22 02:56:00', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343186 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.34302 -2.801515)'))) / (select extract(epoch from '2026-06-22 02:56:00'::timestamp) - extract(epoch from '2026-06-22 02:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343186 -2.801495)'), GeomFromEWKT('SRID=4674;POINT (-40.34302 -2.801515)'))) / (select extract(epoch from '2026-06-22 02:56:00'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46738, 'SRID=4674;POINT (-40.34285 -2.801533)', '2026-06-22 02:56:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34302 -2.801515)'), GeomFromEWKT('SRID=4674;POINT (-40.34285 -2.801533)'))) / (select extract(epoch from '2026-06-22 02:56:08'::timestamp) - extract(epoch from '2026-06-22 02:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34302 -2.801515)'), GeomFromEWKT('SRID=4674;POINT (-40.34285 -2.801533)'))) / (select extract(epoch from '2026-06-22 02:56:08'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46738, 'SRID=4674;POINT (-40.342647 -2.801532)', '2026-06-22 02:56:17', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34285 -2.801533)'), GeomFromEWKT('SRID=4674;POINT (-40.342647 -2.801532)'))) / (select extract(epoch from '2026-06-22 02:56:17'::timestamp) - extract(epoch from '2026-06-22 02:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34285 -2.801533)'), GeomFromEWKT('SRID=4674;POINT (-40.342647 -2.801532)'))) / (select extract(epoch from '2026-06-22 02:56:17'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46738, 'SRID=4674;POINT (-40.342449 -2.801523)', '2026-06-22 02:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342647 -2.801532)'), GeomFromEWKT('SRID=4674;POINT (-40.342449 -2.801523)'))) / (select extract(epoch from '2026-06-22 02:56:26'::timestamp) - extract(epoch from '2026-06-22 02:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342647 -2.801532)'), GeomFromEWKT('SRID=4674;POINT (-40.342449 -2.801523)'))) / (select extract(epoch from '2026-06-22 02:56:26'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46738, 'SRID=4674;POINT (-40.342261 -2.801518)', '2026-06-22 02:56:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342449 -2.801523)'), GeomFromEWKT('SRID=4674;POINT (-40.342261 -2.801518)'))) / (select extract(epoch from '2026-06-22 02:56:35'::timestamp) - extract(epoch from '2026-06-22 02:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342449 -2.801523)'), GeomFromEWKT('SRID=4674;POINT (-40.342261 -2.801518)'))) / (select extract(epoch from '2026-06-22 02:56:35'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46738, 'SRID=4674;POINT (-40.34205 -2.801512)', '2026-06-22 02:56:45', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342261 -2.801518)'), GeomFromEWKT('SRID=4674;POINT (-40.34205 -2.801512)'))) / (select extract(epoch from '2026-06-22 02:56:45'::timestamp) - extract(epoch from '2026-06-22 02:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342261 -2.801518)'), GeomFromEWKT('SRID=4674;POINT (-40.34205 -2.801512)'))) / (select extract(epoch from '2026-06-22 02:56:45'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46738, 'SRID=4674;POINT (-40.34183 -2.801502)', '2026-06-22 02:56:55', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34205 -2.801512)'), GeomFromEWKT('SRID=4674;POINT (-40.34183 -2.801502)'))) / (select extract(epoch from '2026-06-22 02:56:55'::timestamp) - extract(epoch from '2026-06-22 02:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34205 -2.801512)'), GeomFromEWKT('SRID=4674;POINT (-40.34183 -2.801502)'))) / (select extract(epoch from '2026-06-22 02:56:55'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46738, 'SRID=4674;POINT (-40.341594 -2.801488)', '2026-06-22 02:57:06', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34183 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.801488)'))) / (select extract(epoch from '2026-06-22 02:57:06'::timestamp) - extract(epoch from '2026-06-22 02:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34183 -2.801502)'), GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.801488)'))) / (select extract(epoch from '2026-06-22 02:57:06'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46738, 'SRID=4674;POINT (-40.341402 -2.801476)', '2026-06-22 02:57:15', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.801488)'), GeomFromEWKT('SRID=4674;POINT (-40.341402 -2.801476)'))) / (select extract(epoch from '2026-06-22 02:57:15'::timestamp) - extract(epoch from '2026-06-22 02:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341594 -2.801488)'), GeomFromEWKT('SRID=4674;POINT (-40.341402 -2.801476)'))) / (select extract(epoch from '2026-06-22 02:57:15'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46738, 'SRID=4674;POINT (-40.341207 -2.801468)', '2026-06-22 02:57:24', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341402 -2.801476)'), GeomFromEWKT('SRID=4674;POINT (-40.341207 -2.801468)'))) / (select extract(epoch from '2026-06-22 02:57:24'::timestamp) - extract(epoch from '2026-06-22 02:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341402 -2.801476)'), GeomFromEWKT('SRID=4674;POINT (-40.341207 -2.801468)'))) / (select extract(epoch from '2026-06-22 02:57:24'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46738, 'SRID=4674;POINT (-40.341043 -2.801446)', '2026-06-22 02:57:32', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341207 -2.801468)'), GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.801446)'))) / (select extract(epoch from '2026-06-22 02:57:32'::timestamp) - extract(epoch from '2026-06-22 02:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341207 -2.801468)'), GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.801446)'))) / (select extract(epoch from '2026-06-22 02:57:32'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46738, 'SRID=4674;POINT (-40.340803 -2.801426)', '2026-06-22 02:57:43', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.801446)'), GeomFromEWKT('SRID=4674;POINT (-40.340803 -2.801426)'))) / (select extract(epoch from '2026-06-22 02:57:43'::timestamp) - extract(epoch from '2026-06-22 02:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.801446)'), GeomFromEWKT('SRID=4674;POINT (-40.340803 -2.801426)'))) / (select extract(epoch from '2026-06-22 02:57:43'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46738, 'SRID=4674;POINT (-40.340568 -2.80141)', '2026-06-22 02:57:54', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340803 -2.801426)'), GeomFromEWKT('SRID=4674;POINT (-40.340568 -2.80141)'))) / (select extract(epoch from '2026-06-22 02:57:54'::timestamp) - extract(epoch from '2026-06-22 02:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340803 -2.801426)'), GeomFromEWKT('SRID=4674;POINT (-40.340568 -2.80141)'))) / (select extract(epoch from '2026-06-22 02:57:54'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46738, 'SRID=4674;POINT (-40.340399 -2.801388)', '2026-06-22 02:58:02', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340568 -2.80141)'), GeomFromEWKT('SRID=4674;POINT (-40.340399 -2.801388)'))) / (select extract(epoch from '2026-06-22 02:58:02'::timestamp) - extract(epoch from '2026-06-22 02:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340568 -2.80141)'), GeomFromEWKT('SRID=4674;POINT (-40.340399 -2.801388)'))) / (select extract(epoch from '2026-06-22 02:58:02'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46738, 'SRID=4674;POINT (-40.340212 -2.801334)', '2026-06-22 02:58:11', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340399 -2.801388)'), GeomFromEWKT('SRID=4674;POINT (-40.340212 -2.801334)'))) / (select extract(epoch from '2026-06-22 02:58:11'::timestamp) - extract(epoch from '2026-06-22 02:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340399 -2.801388)'), GeomFromEWKT('SRID=4674;POINT (-40.340212 -2.801334)'))) / (select extract(epoch from '2026-06-22 02:58:11'::timestamp) - extract(epoch from '2026-06-22 02:58: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'), 46738, 'SRID=4674;POINT (-40.340029 -2.80127)', '2026-06-22 02:58:20', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340212 -2.801334)'), GeomFromEWKT('SRID=4674;POINT (-40.340029 -2.80127)'))) / (select extract(epoch from '2026-06-22 02:58:20'::timestamp) - extract(epoch from '2026-06-22 02:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340212 -2.801334)'), GeomFromEWKT('SRID=4674;POINT (-40.340029 -2.80127)'))) / (select extract(epoch from '2026-06-22 02:58:20'::timestamp) - extract(epoch from '2026-06-22 02:58: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'), 46738, 'SRID=4674;POINT (-40.339868 -2.801189)', '2026-06-22 02:58:28', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340029 -2.80127)'), GeomFromEWKT('SRID=4674;POINT (-40.339868 -2.801189)'))) / (select extract(epoch from '2026-06-22 02:58:28'::timestamp) - extract(epoch from '2026-06-22 02:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340029 -2.80127)'), GeomFromEWKT('SRID=4674;POINT (-40.339868 -2.801189)'))) / (select extract(epoch from '2026-06-22 02:58:28'::timestamp) - extract(epoch from '2026-06-22 02:58: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'), 46738, 'SRID=4674;POINT (-40.339667 -2.801091)', '2026-06-22 02:58:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339868 -2.801189)'), GeomFromEWKT('SRID=4674;POINT (-40.339667 -2.801091)'))) / (select extract(epoch from '2026-06-22 02:58:38'::timestamp) - extract(epoch from '2026-06-22 02:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339868 -2.801189)'), GeomFromEWKT('SRID=4674;POINT (-40.339667 -2.801091)'))) / (select extract(epoch from '2026-06-22 02:58:38'::timestamp) - extract(epoch from '2026-06-22 02:58: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'), 46738, 'SRID=4674;POINT (-40.339509 -2.801024)', '2026-06-22 02:58:46', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339667 -2.801091)'), GeomFromEWKT('SRID=4674;POINT (-40.339509 -2.801024)'))) / (select extract(epoch from '2026-06-22 02:58:46'::timestamp) - extract(epoch from '2026-06-22 02:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339667 -2.801091)'), GeomFromEWKT('SRID=4674;POINT (-40.339509 -2.801024)'))) / (select extract(epoch from '2026-06-22 02:58:46'::timestamp) - extract(epoch from '2026-06-22 02:58: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'), 46738, 'SRID=4674;POINT (-40.339365 -2.800947)', '2026-06-22 02:58:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339509 -2.801024)'), GeomFromEWKT('SRID=4674;POINT (-40.339365 -2.800947)'))) / (select extract(epoch from '2026-06-22 02:58:54'::timestamp) - extract(epoch from '2026-06-22 02:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339509 -2.801024)'), GeomFromEWKT('SRID=4674;POINT (-40.339365 -2.800947)'))) / (select extract(epoch from '2026-06-22 02:58:54'::timestamp) - extract(epoch from '2026-06-22 02:58: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'), 46738, 'SRID=4674;POINT (-40.339175 -2.800847)', '2026-06-22 02:59:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339365 -2.800947)'), GeomFromEWKT('SRID=4674;POINT (-40.339175 -2.800847)'))) / (select extract(epoch from '2026-06-22 02:59:04'::timestamp) - extract(epoch from '2026-06-22 02:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339365 -2.800947)'), GeomFromEWKT('SRID=4674;POINT (-40.339175 -2.800847)'))) / (select extract(epoch from '2026-06-22 02:59:04'::timestamp) - extract(epoch from '2026-06-22 02:58: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'), 46738, 'SRID=4674;POINT (-40.338999 -2.800765)', '2026-06-22 02:59:13', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339175 -2.800847)'), GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.800765)'))) / (select extract(epoch from '2026-06-22 02:59:13'::timestamp) - extract(epoch from '2026-06-22 02:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339175 -2.800847)'), GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.800765)'))) / (select extract(epoch from '2026-06-22 02:59:13'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46738, 'SRID=4674;POINT (-40.338825 -2.800694)', '2026-06-22 02:59:22', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.800765)'), GeomFromEWKT('SRID=4674;POINT (-40.338825 -2.800694)'))) / (select extract(epoch from '2026-06-22 02:59:22'::timestamp) - extract(epoch from '2026-06-22 02:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.800765)'), GeomFromEWKT('SRID=4674;POINT (-40.338825 -2.800694)'))) / (select extract(epoch from '2026-06-22 02:59:22'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46738, 'SRID=4674;POINT (-40.338654 -2.80065)', '2026-06-22 02:59:30', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338825 -2.800694)'), GeomFromEWKT('SRID=4674;POINT (-40.338654 -2.80065)'))) / (select extract(epoch from '2026-06-22 02:59:30'::timestamp) - extract(epoch from '2026-06-22 02:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338825 -2.800694)'), GeomFromEWKT('SRID=4674;POINT (-40.338654 -2.80065)'))) / (select extract(epoch from '2026-06-22 02:59:30'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46738, 'SRID=4674;POINT (-40.338489 -2.800603)', '2026-06-22 02:59:38', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338654 -2.80065)'), GeomFromEWKT('SRID=4674;POINT (-40.338489 -2.800603)'))) / (select extract(epoch from '2026-06-22 02:59:38'::timestamp) - extract(epoch from '2026-06-22 02:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338654 -2.80065)'), GeomFromEWKT('SRID=4674;POINT (-40.338489 -2.800603)'))) / (select extract(epoch from '2026-06-22 02:59:38'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46738, 'SRID=4674;POINT (-40.33829 -2.800537)', '2026-06-22 02:59:48', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338489 -2.800603)'), GeomFromEWKT('SRID=4674;POINT (-40.33829 -2.800537)'))) / (select extract(epoch from '2026-06-22 02:59:48'::timestamp) - extract(epoch from '2026-06-22 02:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338489 -2.800603)'), GeomFromEWKT('SRID=4674;POINT (-40.33829 -2.800537)'))) / (select extract(epoch from '2026-06-22 02:59:48'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46738, 'SRID=4674;POINT (-40.33811 -2.800485)', '2026-06-22 02:59:57', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33829 -2.800537)'), GeomFromEWKT('SRID=4674;POINT (-40.33811 -2.800485)'))) / (select extract(epoch from '2026-06-22 02:59:57'::timestamp) - extract(epoch from '2026-06-22 02:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33829 -2.800537)'), GeomFromEWKT('SRID=4674;POINT (-40.33811 -2.800485)'))) / (select extract(epoch from '2026-06-22 02:59:57'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46738, 'SRID=4674;POINT (-40.337974 -2.800444)', '2026-06-22 03:00:04', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33811 -2.800485)'), GeomFromEWKT('SRID=4674;POINT (-40.337974 -2.800444)'))) / (select extract(epoch from '2026-06-22 03:00:04'::timestamp) - extract(epoch from '2026-06-22 02:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33811 -2.800485)'), GeomFromEWKT('SRID=4674;POINT (-40.337974 -2.800444)'))) / (select extract(epoch from '2026-06-22 03:00:04'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46738, 'SRID=4674;POINT (-40.337834 -2.800417)', '2026-06-22 03:00:11', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337974 -2.800444)'), GeomFromEWKT('SRID=4674;POINT (-40.337834 -2.800417)'))) / (select extract(epoch from '2026-06-22 03:00:11'::timestamp) - extract(epoch from '2026-06-22 03:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337974 -2.800444)'), GeomFromEWKT('SRID=4674;POINT (-40.337834 -2.800417)'))) / (select extract(epoch from '2026-06-22 03:00:11'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46738, 'SRID=4674;POINT (-40.337605 -2.800373)', '2026-06-22 03:00:22', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337834 -2.800417)'), GeomFromEWKT('SRID=4674;POINT (-40.337605 -2.800373)'))) / (select extract(epoch from '2026-06-22 03:00:22'::timestamp) - extract(epoch from '2026-06-22 03:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337834 -2.800417)'), GeomFromEWKT('SRID=4674;POINT (-40.337605 -2.800373)'))) / (select extract(epoch from '2026-06-22 03:00:22'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46738, 'SRID=4674;POINT (-40.33746 -2.800338)', '2026-06-22 03:00:29', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337605 -2.800373)'), GeomFromEWKT('SRID=4674;POINT (-40.33746 -2.800338)'))) / (select extract(epoch from '2026-06-22 03:00:29'::timestamp) - extract(epoch from '2026-06-22 03:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337605 -2.800373)'), GeomFromEWKT('SRID=4674;POINT (-40.33746 -2.800338)'))) / (select extract(epoch from '2026-06-22 03:00:29'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46738, 'SRID=4674;POINT (-40.337294 -2.800302)', '2026-06-22 03:00:37', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33746 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.337294 -2.800302)'))) / (select extract(epoch from '2026-06-22 03:00:37'::timestamp) - extract(epoch from '2026-06-22 03:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33746 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.337294 -2.800302)'))) / (select extract(epoch from '2026-06-22 03:00:37'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46738, 'SRID=4674;POINT (-40.337092 -2.800263)', '2026-06-22 03:00:47', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337294 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.337092 -2.800263)'))) / (select extract(epoch from '2026-06-22 03:00:47'::timestamp) - extract(epoch from '2026-06-22 03:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337294 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.337092 -2.800263)'))) / (select extract(epoch from '2026-06-22 03:00:47'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46738, 'SRID=4674;POINT (-40.336883 -2.80022)', '2026-06-22 03:00:57', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337092 -2.800263)'), GeomFromEWKT('SRID=4674;POINT (-40.336883 -2.80022)'))) / (select extract(epoch from '2026-06-22 03:00:57'::timestamp) - extract(epoch from '2026-06-22 03:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337092 -2.800263)'), GeomFromEWKT('SRID=4674;POINT (-40.336883 -2.80022)'))) / (select extract(epoch from '2026-06-22 03:00:57'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46738, 'SRID=4674;POINT (-40.336701 -2.800168)', '2026-06-22 03:01:06', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336883 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.336701 -2.800168)'))) / (select extract(epoch from '2026-06-22 03:01:06'::timestamp) - extract(epoch from '2026-06-22 03:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336883 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.336701 -2.800168)'))) / (select extract(epoch from '2026-06-22 03:01:06'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46738, 'SRID=4674;POINT (-40.336496 -2.800094)', '2026-06-22 03:01:16', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336701 -2.800168)'), GeomFromEWKT('SRID=4674;POINT (-40.336496 -2.800094)'))) / (select extract(epoch from '2026-06-22 03:01:16'::timestamp) - extract(epoch from '2026-06-22 03:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336701 -2.800168)'), GeomFromEWKT('SRID=4674;POINT (-40.336496 -2.800094)'))) / (select extract(epoch from '2026-06-22 03:01:16'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46738, 'SRID=4674;POINT (-40.336315 -2.800033)', '2026-06-22 03:01:25', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336496 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.336315 -2.800033)'))) / (select extract(epoch from '2026-06-22 03:01:25'::timestamp) - extract(epoch from '2026-06-22 03:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336496 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.336315 -2.800033)'))) / (select extract(epoch from '2026-06-22 03:01:25'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46738, 'SRID=4674;POINT (-40.336128 -2.799984)', '2026-06-22 03:01:34', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336315 -2.800033)'), GeomFromEWKT('SRID=4674;POINT (-40.336128 -2.799984)'))) / (select extract(epoch from '2026-06-22 03:01:34'::timestamp) - extract(epoch from '2026-06-22 03:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336315 -2.800033)'), GeomFromEWKT('SRID=4674;POINT (-40.336128 -2.799984)'))) / (select extract(epoch from '2026-06-22 03:01:34'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46738, 'SRID=4674;POINT (-40.335925 -2.799935)', '2026-06-22 03:01:44', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336128 -2.799984)'), GeomFromEWKT('SRID=4674;POINT (-40.335925 -2.799935)'))) / (select extract(epoch from '2026-06-22 03:01:44'::timestamp) - extract(epoch from '2026-06-22 03:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336128 -2.799984)'), GeomFromEWKT('SRID=4674;POINT (-40.335925 -2.799935)'))) / (select extract(epoch from '2026-06-22 03:01:44'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46738, 'SRID=4674;POINT (-40.335737 -2.799906)', '2026-06-22 03:01:53', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335925 -2.799935)'), GeomFromEWKT('SRID=4674;POINT (-40.335737 -2.799906)'))) / (select extract(epoch from '2026-06-22 03:01:53'::timestamp) - extract(epoch from '2026-06-22 03:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335925 -2.799935)'), GeomFromEWKT('SRID=4674;POINT (-40.335737 -2.799906)'))) / (select extract(epoch from '2026-06-22 03:01:53'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46738, 'SRID=4674;POINT (-40.33555 -2.79988)', '2026-06-22 03:02:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335737 -2.799906)'), GeomFromEWKT('SRID=4674;POINT (-40.33555 -2.79988)'))) / (select extract(epoch from '2026-06-22 03:02:02'::timestamp) - extract(epoch from '2026-06-22 03:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335737 -2.799906)'), GeomFromEWKT('SRID=4674;POINT (-40.33555 -2.79988)'))) / (select extract(epoch from '2026-06-22 03:02:02'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46738, 'SRID=4674;POINT (-40.335383 -2.799858)', '2026-06-22 03:02:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33555 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.335383 -2.799858)'))) / (select extract(epoch from '2026-06-22 03:02:10'::timestamp) - extract(epoch from '2026-06-22 03:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33555 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.335383 -2.799858)'))) / (select extract(epoch from '2026-06-22 03:02:10'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46738, 'SRID=4674;POINT (-40.335152 -2.799828)', '2026-06-22 03:02:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335383 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.335152 -2.799828)'))) / (select extract(epoch from '2026-06-22 03:02:21'::timestamp) - extract(epoch from '2026-06-22 03:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335383 -2.799858)'), GeomFromEWKT('SRID=4674;POINT (-40.335152 -2.799828)'))) / (select extract(epoch from '2026-06-22 03:02:21'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46738, 'SRID=4674;POINT (-40.334966 -2.799798)', '2026-06-22 03:02:30', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335152 -2.799828)'), GeomFromEWKT('SRID=4674;POINT (-40.334966 -2.799798)'))) / (select extract(epoch from '2026-06-22 03:02:30'::timestamp) - extract(epoch from '2026-06-22 03:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335152 -2.799828)'), GeomFromEWKT('SRID=4674;POINT (-40.334966 -2.799798)'))) / (select extract(epoch from '2026-06-22 03:02:30'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46738, 'SRID=4674;POINT (-40.33482 -2.799775)', '2026-06-22 03:02:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334966 -2.799798)'), GeomFromEWKT('SRID=4674;POINT (-40.33482 -2.799775)'))) / (select extract(epoch from '2026-06-22 03:02:37'::timestamp) - extract(epoch from '2026-06-22 03:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334966 -2.799798)'), GeomFromEWKT('SRID=4674;POINT (-40.33482 -2.799775)'))) / (select extract(epoch from '2026-06-22 03:02:37'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46738, 'SRID=4674;POINT (-40.334659 -2.799757)', '2026-06-22 03:02:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33482 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.334659 -2.799757)'))) / (select extract(epoch from '2026-06-22 03:02:45'::timestamp) - extract(epoch from '2026-06-22 03:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33482 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.334659 -2.799757)'))) / (select extract(epoch from '2026-06-22 03:02:45'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46738, 'SRID=4674;POINT (-40.334469 -2.799738)', '2026-06-22 03:02:54', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334659 -2.799757)'), GeomFromEWKT('SRID=4674;POINT (-40.334469 -2.799738)'))) / (select extract(epoch from '2026-06-22 03:02:54'::timestamp) - extract(epoch from '2026-06-22 03:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334659 -2.799757)'), GeomFromEWKT('SRID=4674;POINT (-40.334469 -2.799738)'))) / (select extract(epoch from '2026-06-22 03:02:54'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46738, 'SRID=4674;POINT (-40.334308 -2.799742)', '2026-06-22 03:03:02', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334469 -2.799738)'), GeomFromEWKT('SRID=4674;POINT (-40.334308 -2.799742)'))) / (select extract(epoch from '2026-06-22 03:03:02'::timestamp) - extract(epoch from '2026-06-22 03:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334469 -2.799738)'), GeomFromEWKT('SRID=4674;POINT (-40.334308 -2.799742)'))) / (select extract(epoch from '2026-06-22 03:03:02'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46738, 'SRID=4674;POINT (-40.334105 -2.799746)', '2026-06-22 03:03:12', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334308 -2.799742)'), GeomFromEWKT('SRID=4674;POINT (-40.334105 -2.799746)'))) / (select extract(epoch from '2026-06-22 03:03:12'::timestamp) - extract(epoch from '2026-06-22 03:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334308 -2.799742)'), GeomFromEWKT('SRID=4674;POINT (-40.334105 -2.799746)'))) / (select extract(epoch from '2026-06-22 03:03:12'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46738, 'SRID=4674;POINT (-40.333976 -2.799739)', '2026-06-22 03:03:18', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334105 -2.799746)'), GeomFromEWKT('SRID=4674;POINT (-40.333976 -2.799739)'))) / (select extract(epoch from '2026-06-22 03:03:18'::timestamp) - extract(epoch from '2026-06-22 03:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334105 -2.799746)'), GeomFromEWKT('SRID=4674;POINT (-40.333976 -2.799739)'))) / (select extract(epoch from '2026-06-22 03:03:18'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46738, 'SRID=4674;POINT (-40.333784 -2.799724)', '2026-06-22 03:03:27', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333976 -2.799739)'), GeomFromEWKT('SRID=4674;POINT (-40.333784 -2.799724)'))) / (select extract(epoch from '2026-06-22 03:03:27'::timestamp) - extract(epoch from '2026-06-22 03:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333976 -2.799739)'), GeomFromEWKT('SRID=4674;POINT (-40.333784 -2.799724)'))) / (select extract(epoch from '2026-06-22 03:03:27'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46738, 'SRID=4674;POINT (-40.333616 -2.799708)', '2026-06-22 03:03:35', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333784 -2.799724)'), GeomFromEWKT('SRID=4674;POINT (-40.333616 -2.799708)'))) / (select extract(epoch from '2026-06-22 03:03:35'::timestamp) - extract(epoch from '2026-06-22 03:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333784 -2.799724)'), GeomFromEWKT('SRID=4674;POINT (-40.333616 -2.799708)'))) / (select extract(epoch from '2026-06-22 03:03:35'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46738, 'SRID=4674;POINT (-40.333425 -2.799695)', '2026-06-22 03:03:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333616 -2.799708)'), GeomFromEWKT('SRID=4674;POINT (-40.333425 -2.799695)'))) / (select extract(epoch from '2026-06-22 03:03:44'::timestamp) - extract(epoch from '2026-06-22 03:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333616 -2.799708)'), GeomFromEWKT('SRID=4674;POINT (-40.333425 -2.799695)'))) / (select extract(epoch from '2026-06-22 03:03:44'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46738, 'SRID=4674;POINT (-40.333172 -2.799678)', '2026-06-22 03:03:56', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333425 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.333172 -2.799678)'))) / (select extract(epoch from '2026-06-22 03:03:56'::timestamp) - extract(epoch from '2026-06-22 03:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333425 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.333172 -2.799678)'))) / (select extract(epoch from '2026-06-22 03:03:56'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46738, 'SRID=4674;POINT (-40.332983 -2.799671)', '2026-06-22 03:04:05', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333172 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.332983 -2.799671)'))) / (select extract(epoch from '2026-06-22 03:04:05'::timestamp) - extract(epoch from '2026-06-22 03:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333172 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.332983 -2.799671)'))) / (select extract(epoch from '2026-06-22 03:04:05'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46738, 'SRID=4674;POINT (-40.332805 -2.799661)', '2026-06-22 03:04:14', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332983 -2.799671)'), GeomFromEWKT('SRID=4674;POINT (-40.332805 -2.799661)'))) / (select extract(epoch from '2026-06-22 03:04:14'::timestamp) - extract(epoch from '2026-06-22 03:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332983 -2.799671)'), GeomFromEWKT('SRID=4674;POINT (-40.332805 -2.799661)'))) / (select extract(epoch from '2026-06-22 03:04:14'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46738, 'SRID=4674;POINT (-40.332633 -2.799651)', '2026-06-22 03:04:22', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332805 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.332633 -2.799651)'))) / (select extract(epoch from '2026-06-22 03:04:22'::timestamp) - extract(epoch from '2026-06-22 03:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332805 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.332633 -2.799651)'))) / (select extract(epoch from '2026-06-22 03:04:22'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46738, 'SRID=4674;POINT (-40.332489 -2.799642)', '2026-06-22 03:04:29', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332633 -2.799651)'), GeomFromEWKT('SRID=4674;POINT (-40.332489 -2.799642)'))) / (select extract(epoch from '2026-06-22 03:04:29'::timestamp) - extract(epoch from '2026-06-22 03:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332633 -2.799651)'), GeomFromEWKT('SRID=4674;POINT (-40.332489 -2.799642)'))) / (select extract(epoch from '2026-06-22 03:04:29'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46738, 'SRID=4674;POINT (-40.332316 -2.799628)', '2026-06-22 03:04:37', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332489 -2.799642)'), GeomFromEWKT('SRID=4674;POINT (-40.332316 -2.799628)'))) / (select extract(epoch from '2026-06-22 03:04:37'::timestamp) - extract(epoch from '2026-06-22 03:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332489 -2.799642)'), GeomFromEWKT('SRID=4674;POINT (-40.332316 -2.799628)'))) / (select extract(epoch from '2026-06-22 03:04:37'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46738, 'SRID=4674;POINT (-40.332152 -2.799621)', '2026-06-22 03:04:45', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332316 -2.799628)'), GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.799621)'))) / (select extract(epoch from '2026-06-22 03:04:45'::timestamp) - extract(epoch from '2026-06-22 03:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332316 -2.799628)'), GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.799621)'))) / (select extract(epoch from '2026-06-22 03:04:45'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46738, 'SRID=4674;POINT (-40.331896 -2.799609)', '2026-06-22 03:04:57', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.331896 -2.799609)'))) / (select extract(epoch from '2026-06-22 03:04:57'::timestamp) - extract(epoch from '2026-06-22 03:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.331896 -2.799609)'))) / (select extract(epoch from '2026-06-22 03:04:57'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46738, 'SRID=4674;POINT (-40.331709 -2.799578)', '2026-06-22 03:05:06', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331896 -2.799609)'), GeomFromEWKT('SRID=4674;POINT (-40.331709 -2.799578)'))) / (select extract(epoch from '2026-06-22 03:05:06'::timestamp) - extract(epoch from '2026-06-22 03:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331896 -2.799609)'), GeomFromEWKT('SRID=4674;POINT (-40.331709 -2.799578)'))) / (select extract(epoch from '2026-06-22 03:05:06'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46738, 'SRID=4674;POINT (-40.331523 -2.799546)', '2026-06-22 03:05:15', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331709 -2.799578)'), GeomFromEWKT('SRID=4674;POINT (-40.331523 -2.799546)'))) / (select extract(epoch from '2026-06-22 03:05:15'::timestamp) - extract(epoch from '2026-06-22 03:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331709 -2.799578)'), GeomFromEWKT('SRID=4674;POINT (-40.331523 -2.799546)'))) / (select extract(epoch from '2026-06-22 03:05:15'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46738, 'SRID=4674;POINT (-40.331338 -2.799501)', '2026-06-22 03:05:24', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331523 -2.799546)'), GeomFromEWKT('SRID=4674;POINT (-40.331338 -2.799501)'))) / (select extract(epoch from '2026-06-22 03:05:24'::timestamp) - extract(epoch from '2026-06-22 03:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331523 -2.799546)'), GeomFromEWKT('SRID=4674;POINT (-40.331338 -2.799501)'))) / (select extract(epoch from '2026-06-22 03:05:24'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46738, 'SRID=4674;POINT (-40.331162 -2.799454)', '2026-06-22 03:05:33', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331338 -2.799501)'), GeomFromEWKT('SRID=4674;POINT (-40.331162 -2.799454)'))) / (select extract(epoch from '2026-06-22 03:05:33'::timestamp) - extract(epoch from '2026-06-22 03:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331338 -2.799501)'), GeomFromEWKT('SRID=4674;POINT (-40.331162 -2.799454)'))) / (select extract(epoch from '2026-06-22 03:05:33'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46738, 'SRID=4674;POINT (-40.330956 -2.799417)', '2026-06-22 03:05:43', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331162 -2.799454)'), GeomFromEWKT('SRID=4674;POINT (-40.330956 -2.799417)'))) / (select extract(epoch from '2026-06-22 03:05:43'::timestamp) - extract(epoch from '2026-06-22 03:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331162 -2.799454)'), GeomFromEWKT('SRID=4674;POINT (-40.330956 -2.799417)'))) / (select extract(epoch from '2026-06-22 03:05:43'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46738, 'SRID=4674;POINT (-40.33082 -2.799415)', '2026-06-22 03:05:50', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330956 -2.799417)'), GeomFromEWKT('SRID=4674;POINT (-40.33082 -2.799415)'))) / (select extract(epoch from '2026-06-22 03:05:50'::timestamp) - extract(epoch from '2026-06-22 03:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330956 -2.799417)'), GeomFromEWKT('SRID=4674;POINT (-40.33082 -2.799415)'))) / (select extract(epoch from '2026-06-22 03:05:50'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46738, 'SRID=4674;POINT (-40.33065 -2.799444)', '2026-06-22 03:05:59', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33082 -2.799415)'), GeomFromEWKT('SRID=4674;POINT (-40.33065 -2.799444)'))) / (select extract(epoch from '2026-06-22 03:05:59'::timestamp) - extract(epoch from '2026-06-22 03:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33082 -2.799415)'), GeomFromEWKT('SRID=4674;POINT (-40.33065 -2.799444)'))) / (select extract(epoch from '2026-06-22 03:05:59'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46738, 'SRID=4674;POINT (-40.330476 -2.799474)', '2026-06-22 03:06:08', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33065 -2.799444)'), GeomFromEWKT('SRID=4674;POINT (-40.330476 -2.799474)'))) / (select extract(epoch from '2026-06-22 03:06:08'::timestamp) - extract(epoch from '2026-06-22 03:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33065 -2.799444)'), GeomFromEWKT('SRID=4674;POINT (-40.330476 -2.799474)'))) / (select extract(epoch from '2026-06-22 03:06:08'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46738, 'SRID=4674;POINT (-40.330339 -2.799498)', '2026-06-22 03:06:15', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330476 -2.799474)'), GeomFromEWKT('SRID=4674;POINT (-40.330339 -2.799498)'))) / (select extract(epoch from '2026-06-22 03:06:15'::timestamp) - extract(epoch from '2026-06-22 03:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330476 -2.799474)'), GeomFromEWKT('SRID=4674;POINT (-40.330339 -2.799498)'))) / (select extract(epoch from '2026-06-22 03:06:15'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46738, 'SRID=4674;POINT (-40.330171 -2.799546)', '2026-06-22 03:06:24', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330339 -2.799498)'), GeomFromEWKT('SRID=4674;POINT (-40.330171 -2.799546)'))) / (select extract(epoch from '2026-06-22 03:06:24'::timestamp) - extract(epoch from '2026-06-22 03:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330339 -2.799498)'), GeomFromEWKT('SRID=4674;POINT (-40.330171 -2.799546)'))) / (select extract(epoch from '2026-06-22 03:06:24'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46738, 'SRID=4674;POINT (-40.330042 -2.799576)', '2026-06-22 03:06:31', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330171 -2.799546)'), GeomFromEWKT('SRID=4674;POINT (-40.330042 -2.799576)'))) / (select extract(epoch from '2026-06-22 03:06:31'::timestamp) - extract(epoch from '2026-06-22 03:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330171 -2.799546)'), GeomFromEWKT('SRID=4674;POINT (-40.330042 -2.799576)'))) / (select extract(epoch from '2026-06-22 03:06:31'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46738, 'SRID=4674;POINT (-40.329851 -2.79963)', '2026-06-22 03:06:41', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330042 -2.799576)'), GeomFromEWKT('SRID=4674;POINT (-40.329851 -2.79963)'))) / (select extract(epoch from '2026-06-22 03:06:41'::timestamp) - extract(epoch from '2026-06-22 03:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330042 -2.799576)'), GeomFromEWKT('SRID=4674;POINT (-40.329851 -2.79963)'))) / (select extract(epoch from '2026-06-22 03:06:41'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46738, 'SRID=4674;POINT (-40.329702 -2.799676)', '2026-06-22 03:06:49', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329851 -2.79963)'), GeomFromEWKT('SRID=4674;POINT (-40.329702 -2.799676)'))) / (select extract(epoch from '2026-06-22 03:06:49'::timestamp) - extract(epoch from '2026-06-22 03:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329851 -2.79963)'), GeomFromEWKT('SRID=4674;POINT (-40.329702 -2.799676)'))) / (select extract(epoch from '2026-06-22 03:06:49'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46738, 'SRID=4674;POINT (-40.329529 -2.799709)', '2026-06-22 03:06:58', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329702 -2.799676)'), GeomFromEWKT('SRID=4674;POINT (-40.329529 -2.799709)'))) / (select extract(epoch from '2026-06-22 03:06:58'::timestamp) - extract(epoch from '2026-06-22 03:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329702 -2.799676)'), GeomFromEWKT('SRID=4674;POINT (-40.329529 -2.799709)'))) / (select extract(epoch from '2026-06-22 03:06:58'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46738, 'SRID=4674;POINT (-40.329329 -2.799747)', '2026-06-22 03:07:08', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329529 -2.799709)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.799747)'))) / (select extract(epoch from '2026-06-22 03:07:08'::timestamp) - extract(epoch from '2026-06-22 03:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329529 -2.799709)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.799747)'))) / (select extract(epoch from '2026-06-22 03:07:08'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46738, 'SRID=4674;POINT (-40.329162 -2.799795)', '2026-06-22 03:07:17', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.799747)'), GeomFromEWKT('SRID=4674;POINT (-40.329162 -2.799795)'))) / (select extract(epoch from '2026-06-22 03:07:17'::timestamp) - extract(epoch from '2026-06-22 03:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.799747)'), GeomFromEWKT('SRID=4674;POINT (-40.329162 -2.799795)'))) / (select extract(epoch from '2026-06-22 03:07:17'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46738, 'SRID=4674;POINT (-40.328984 -2.799842)', '2026-06-22 03:07:26', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329162 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.799842)'))) / (select extract(epoch from '2026-06-22 03:07:26'::timestamp) - extract(epoch from '2026-06-22 03:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329162 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.799842)'))) / (select extract(epoch from '2026-06-22 03:07:26'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46738, 'SRID=4674;POINT (-40.328848 -2.799875)', '2026-06-22 03:07:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.799842)'), GeomFromEWKT('SRID=4674;POINT (-40.328848 -2.799875)'))) / (select extract(epoch from '2026-06-22 03:07:33'::timestamp) - extract(epoch from '2026-06-22 03:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.799842)'), GeomFromEWKT('SRID=4674;POINT (-40.328848 -2.799875)'))) / (select extract(epoch from '2026-06-22 03:07:33'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46738, 'SRID=4674;POINT (-40.328633 -2.799918)', '2026-06-22 03:07:44', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328848 -2.799875)'), GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.799918)'))) / (select extract(epoch from '2026-06-22 03:07:44'::timestamp) - extract(epoch from '2026-06-22 03:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328848 -2.799875)'), GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.799918)'))) / (select extract(epoch from '2026-06-22 03:07:44'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46738, 'SRID=4674;POINT (-40.328476 -2.799966)', '2026-06-22 03:07:52', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.799918)'), GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.799966)'))) / (select extract(epoch from '2026-06-22 03:07:52'::timestamp) - extract(epoch from '2026-06-22 03:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.799918)'), GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.799966)'))) / (select extract(epoch from '2026-06-22 03:07:52'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46738, 'SRID=4674;POINT (-40.328314 -2.800041)', '2026-06-22 03:08:01', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.799966)'), GeomFromEWKT('SRID=4674;POINT (-40.328314 -2.800041)'))) / (select extract(epoch from '2026-06-22 03:08:01'::timestamp) - extract(epoch from '2026-06-22 03:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.799966)'), GeomFromEWKT('SRID=4674;POINT (-40.328314 -2.800041)'))) / (select extract(epoch from '2026-06-22 03:08:01'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46738, 'SRID=4674;POINT (-40.328153 -2.800116)', '2026-06-22 03:08:10', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328314 -2.800041)'), GeomFromEWKT('SRID=4674;POINT (-40.328153 -2.800116)'))) / (select extract(epoch from '2026-06-22 03:08:10'::timestamp) - extract(epoch from '2026-06-22 03:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328314 -2.800041)'), GeomFromEWKT('SRID=4674;POINT (-40.328153 -2.800116)'))) / (select extract(epoch from '2026-06-22 03:08:10'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46738, 'SRID=4674;POINT (-40.327949 -2.800198)', '2026-06-22 03:08:21', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328153 -2.800116)'), GeomFromEWKT('SRID=4674;POINT (-40.327949 -2.800198)'))) / (select extract(epoch from '2026-06-22 03:08:21'::timestamp) - extract(epoch from '2026-06-22 03:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328153 -2.800116)'), GeomFromEWKT('SRID=4674;POINT (-40.327949 -2.800198)'))) / (select extract(epoch from '2026-06-22 03:08:21'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46738, 'SRID=4674;POINT (-40.327778 -2.800268)', '2026-06-22 03:08:30', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327949 -2.800198)'), GeomFromEWKT('SRID=4674;POINT (-40.327778 -2.800268)'))) / (select extract(epoch from '2026-06-22 03:08:30'::timestamp) - extract(epoch from '2026-06-22 03:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327949 -2.800198)'), GeomFromEWKT('SRID=4674;POINT (-40.327778 -2.800268)'))) / (select extract(epoch from '2026-06-22 03:08:30'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46738, 'SRID=4674;POINT (-40.327623 -2.800317)', '2026-06-22 03:08:38', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327778 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.327623 -2.800317)'))) / (select extract(epoch from '2026-06-22 03:08:38'::timestamp) - extract(epoch from '2026-06-22 03:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327778 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.327623 -2.800317)'))) / (select extract(epoch from '2026-06-22 03:08:38'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46738, 'SRID=4674;POINT (-40.327453 -2.800366)', '2026-06-22 03:08:47', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327623 -2.800317)'), GeomFromEWKT('SRID=4674;POINT (-40.327453 -2.800366)'))) / (select extract(epoch from '2026-06-22 03:08:47'::timestamp) - extract(epoch from '2026-06-22 03:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327623 -2.800317)'), GeomFromEWKT('SRID=4674;POINT (-40.327453 -2.800366)'))) / (select extract(epoch from '2026-06-22 03:08:47'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46738, 'SRID=4674;POINT (-40.327305 -2.8004)', '2026-06-22 03:08:55', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327453 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-40.327305 -2.8004)'))) / (select extract(epoch from '2026-06-22 03:08:55'::timestamp) - extract(epoch from '2026-06-22 03:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327453 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-40.327305 -2.8004)'))) / (select extract(epoch from '2026-06-22 03:08:55'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46738, 'SRID=4674;POINT (-40.32715 -2.800443)', '2026-06-22 03:09:03', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327305 -2.8004)'), GeomFromEWKT('SRID=4674;POINT (-40.32715 -2.800443)'))) / (select extract(epoch from '2026-06-22 03:09:03'::timestamp) - extract(epoch from '2026-06-22 03:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327305 -2.8004)'), GeomFromEWKT('SRID=4674;POINT (-40.32715 -2.800443)'))) / (select extract(epoch from '2026-06-22 03:09:03'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46738, 'SRID=4674;POINT (-40.327001 -2.800495)', '2026-06-22 03:09:11', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32715 -2.800443)'), GeomFromEWKT('SRID=4674;POINT (-40.327001 -2.800495)'))) / (select extract(epoch from '2026-06-22 03:09:11'::timestamp) - extract(epoch from '2026-06-22 03:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32715 -2.800443)'), GeomFromEWKT('SRID=4674;POINT (-40.327001 -2.800495)'))) / (select extract(epoch from '2026-06-22 03:09:11'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46738, 'SRID=4674;POINT (-40.32684 -2.800524)', '2026-06-22 03:09:19', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327001 -2.800495)'), GeomFromEWKT('SRID=4674;POINT (-40.32684 -2.800524)'))) / (select extract(epoch from '2026-06-22 03:09:19'::timestamp) - extract(epoch from '2026-06-22 03:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327001 -2.800495)'), GeomFromEWKT('SRID=4674;POINT (-40.32684 -2.800524)'))) / (select extract(epoch from '2026-06-22 03:09:19'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46738, 'SRID=4674;POINT (-40.326679 -2.800534)', '2026-06-22 03:09:27', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32684 -2.800524)'), GeomFromEWKT('SRID=4674;POINT (-40.326679 -2.800534)'))) / (select extract(epoch from '2026-06-22 03:09:27'::timestamp) - extract(epoch from '2026-06-22 03:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32684 -2.800524)'), GeomFromEWKT('SRID=4674;POINT (-40.326679 -2.800534)'))) / (select extract(epoch from '2026-06-22 03:09:27'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46738, 'SRID=4674;POINT (-40.326526 -2.800576)', '2026-06-22 03:09:35', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326679 -2.800534)'), GeomFromEWKT('SRID=4674;POINT (-40.326526 -2.800576)'))) / (select extract(epoch from '2026-06-22 03:09:35'::timestamp) - extract(epoch from '2026-06-22 03:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326679 -2.800534)'), GeomFromEWKT('SRID=4674;POINT (-40.326526 -2.800576)'))) / (select extract(epoch from '2026-06-22 03:09:35'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46738, 'SRID=4674;POINT (-40.32638 -2.800631)', '2026-06-22 03:09:43', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326526 -2.800576)'), GeomFromEWKT('SRID=4674;POINT (-40.32638 -2.800631)'))) / (select extract(epoch from '2026-06-22 03:09:43'::timestamp) - extract(epoch from '2026-06-22 03:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326526 -2.800576)'), GeomFromEWKT('SRID=4674;POINT (-40.32638 -2.800631)'))) / (select extract(epoch from '2026-06-22 03:09:43'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46738, 'SRID=4674;POINT (-40.326225 -2.800674)', '2026-06-22 03:09:51', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32638 -2.800631)'), GeomFromEWKT('SRID=4674;POINT (-40.326225 -2.800674)'))) / (select extract(epoch from '2026-06-22 03:09:51'::timestamp) - extract(epoch from '2026-06-22 03:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32638 -2.800631)'), GeomFromEWKT('SRID=4674;POINT (-40.326225 -2.800674)'))) / (select extract(epoch from '2026-06-22 03:09:51'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46738, 'SRID=4674;POINT (-40.326078 -2.800706)', '2026-06-22 03:09:59', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326225 -2.800674)'), GeomFromEWKT('SRID=4674;POINT (-40.326078 -2.800706)'))) / (select extract(epoch from '2026-06-22 03:09:59'::timestamp) - extract(epoch from '2026-06-22 03:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326225 -2.800674)'), GeomFromEWKT('SRID=4674;POINT (-40.326078 -2.800706)'))) / (select extract(epoch from '2026-06-22 03:09:59'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46738, 'SRID=4674;POINT (-40.325898 -2.800744)', '2026-06-22 03:10:08', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326078 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.325898 -2.800744)'))) / (select extract(epoch from '2026-06-22 03:10:08'::timestamp) - extract(epoch from '2026-06-22 03:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326078 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.325898 -2.800744)'))) / (select extract(epoch from '2026-06-22 03:10:08'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46738, 'SRID=4674;POINT (-40.325731 -2.800783)', '2026-06-22 03:10:17', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325898 -2.800744)'), GeomFromEWKT('SRID=4674;POINT (-40.325731 -2.800783)'))) / (select extract(epoch from '2026-06-22 03:10:17'::timestamp) - extract(epoch from '2026-06-22 03:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325898 -2.800744)'), GeomFromEWKT('SRID=4674;POINT (-40.325731 -2.800783)'))) / (select extract(epoch from '2026-06-22 03:10:17'::timestamp) - extract(epoch from '2026-06-22 03:10: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'), 46738, 'SRID=4674;POINT (-40.325567 -2.800834)', '2026-06-22 03:10:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325731 -2.800783)'), GeomFromEWKT('SRID=4674;POINT (-40.325567 -2.800834)'))) / (select extract(epoch from '2026-06-22 03:10:26'::timestamp) - extract(epoch from '2026-06-22 03:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325731 -2.800783)'), GeomFromEWKT('SRID=4674;POINT (-40.325567 -2.800834)'))) / (select extract(epoch from '2026-06-22 03:10:26'::timestamp) - extract(epoch from '2026-06-22 03:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
