 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.96785 -2.992816)', '2026-06-20 14:44:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967796 -2.992652)'), GeomFromEWKT('SRID=4674;POINT (-38.96785 -2.992816)'))) / (select extract(epoch from '2026-06-20 14:44:39'::timestamp) - extract(epoch from '2026-06-20 14:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967796 -2.992652)'), GeomFromEWKT('SRID=4674;POINT (-38.96785 -2.992816)'))) / (select extract(epoch from '2026-06-20 14:44:39'::timestamp) - extract(epoch from '2026-06-20 14:44: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'), 46674, 'SRID=4674;POINT (-38.967885 -2.99295)', '2026-06-20 14:44:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96785 -2.992816)'), GeomFromEWKT('SRID=4674;POINT (-38.967885 -2.99295)'))) / (select extract(epoch from '2026-06-20 14:44:45'::timestamp) - extract(epoch from '2026-06-20 14:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96785 -2.992816)'), GeomFromEWKT('SRID=4674;POINT (-38.967885 -2.99295)'))) / (select extract(epoch from '2026-06-20 14:44:45'::timestamp) - extract(epoch from '2026-06-20 14:44: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'), 46674, 'SRID=4674;POINT (-38.967947 -2.993181)', '2026-06-20 14:44:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967885 -2.99295)'), GeomFromEWKT('SRID=4674;POINT (-38.967947 -2.993181)'))) / (select extract(epoch from '2026-06-20 14:44:55'::timestamp) - extract(epoch from '2026-06-20 14:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967885 -2.99295)'), GeomFromEWKT('SRID=4674;POINT (-38.967947 -2.993181)'))) / (select extract(epoch from '2026-06-20 14:44:55'::timestamp) - extract(epoch from '2026-06-20 14:44: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'), 46674, 'SRID=4674;POINT (-38.967981 -2.99333)', '2026-06-20 14:45:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967947 -2.993181)'), GeomFromEWKT('SRID=4674;POINT (-38.967981 -2.99333)'))) / (select extract(epoch from '2026-06-20 14:45:01'::timestamp) - extract(epoch from '2026-06-20 14:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967947 -2.993181)'), GeomFromEWKT('SRID=4674;POINT (-38.967981 -2.99333)'))) / (select extract(epoch from '2026-06-20 14:45:01'::timestamp) - extract(epoch from '2026-06-20 14:44: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'), 46674, 'SRID=4674;POINT (-38.967987 -2.993353)', '2026-06-20 14:45:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967981 -2.99333)'), GeomFromEWKT('SRID=4674;POINT (-38.967987 -2.993353)'))) / (select extract(epoch from '2026-06-20 14:45:02'::timestamp) - extract(epoch from '2026-06-20 14:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967981 -2.99333)'), GeomFromEWKT('SRID=4674;POINT (-38.967987 -2.993353)'))) / (select extract(epoch from '2026-06-20 14:45:02'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967994 -2.993428)', '2026-06-20 14:45:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967987 -2.993353)'), GeomFromEWKT('SRID=4674;POINT (-38.967994 -2.993428)'))) / (select extract(epoch from '2026-06-20 14:45:05'::timestamp) - extract(epoch from '2026-06-20 14:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967987 -2.993353)'), GeomFromEWKT('SRID=4674;POINT (-38.967994 -2.993428)'))) / (select extract(epoch from '2026-06-20 14:45:05'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967996 -2.993538)', '2026-06-20 14:45:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967994 -2.993428)'), GeomFromEWKT('SRID=4674;POINT (-38.967996 -2.993538)'))) / (select extract(epoch from '2026-06-20 14:45:10'::timestamp) - extract(epoch from '2026-06-20 14:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967994 -2.993428)'), GeomFromEWKT('SRID=4674;POINT (-38.967996 -2.993538)'))) / (select extract(epoch from '2026-06-20 14:45:10'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967959 -2.993638)', '2026-06-20 14:45:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967996 -2.993538)'), GeomFromEWKT('SRID=4674;POINT (-38.967959 -2.993638)'))) / (select extract(epoch from '2026-06-20 14:45:16'::timestamp) - extract(epoch from '2026-06-20 14:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967996 -2.993538)'), GeomFromEWKT('SRID=4674;POINT (-38.967959 -2.993638)'))) / (select extract(epoch from '2026-06-20 14:45:16'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967881 -2.993726)', '2026-06-20 14:45:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967959 -2.993638)'), GeomFromEWKT('SRID=4674;POINT (-38.967881 -2.993726)'))) / (select extract(epoch from '2026-06-20 14:45:23'::timestamp) - extract(epoch from '2026-06-20 14:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967959 -2.993638)'), GeomFromEWKT('SRID=4674;POINT (-38.967881 -2.993726)'))) / (select extract(epoch from '2026-06-20 14:45:23'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967788 -2.993793)', '2026-06-20 14:45:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967881 -2.993726)'), GeomFromEWKT('SRID=4674;POINT (-38.967788 -2.993793)'))) / (select extract(epoch from '2026-06-20 14:45:30'::timestamp) - extract(epoch from '2026-06-20 14:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967881 -2.993726)'), GeomFromEWKT('SRID=4674;POINT (-38.967788 -2.993793)'))) / (select extract(epoch from '2026-06-20 14:45:30'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967704 -2.993813)', '2026-06-20 14:45:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967788 -2.993793)'), GeomFromEWKT('SRID=4674;POINT (-38.967704 -2.993813)'))) / (select extract(epoch from '2026-06-20 14:45:36'::timestamp) - extract(epoch from '2026-06-20 14:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967788 -2.993793)'), GeomFromEWKT('SRID=4674;POINT (-38.967704 -2.993813)'))) / (select extract(epoch from '2026-06-20 14:45:36'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967634 -2.993791)', '2026-06-20 14:45:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967704 -2.993813)'), GeomFromEWKT('SRID=4674;POINT (-38.967634 -2.993791)'))) / (select extract(epoch from '2026-06-20 14:45:43'::timestamp) - extract(epoch from '2026-06-20 14:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967704 -2.993813)'), GeomFromEWKT('SRID=4674;POINT (-38.967634 -2.993791)'))) / (select extract(epoch from '2026-06-20 14:45:43'::timestamp) - extract(epoch from '2026-06-20 14:45:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.967603 -2.993739)', '2026-06-20 14:45:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967634 -2.993791)'), GeomFromEWKT('SRID=4674;POINT (-38.967603 -2.993739)'))) / (select extract(epoch from '2026-06-20 14:45:50'::timestamp) - extract(epoch from '2026-06-20 14:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967634 -2.993791)'), GeomFromEWKT('SRID=4674;POINT (-38.967603 -2.993739)'))) / (select extract(epoch from '2026-06-20 14:45:50'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967594 -2.993676)', '2026-06-20 14:45:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967603 -2.993739)'), GeomFromEWKT('SRID=4674;POINT (-38.967594 -2.993676)'))) / (select extract(epoch from '2026-06-20 14:45:58'::timestamp) - extract(epoch from '2026-06-20 14:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967603 -2.993739)'), GeomFromEWKT('SRID=4674;POINT (-38.967594 -2.993676)'))) / (select extract(epoch from '2026-06-20 14:45:58'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967595 -2.993668)', '2026-06-20 14:45:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967594 -2.993676)'), GeomFromEWKT('SRID=4674;POINT (-38.967595 -2.993668)'))) / (select extract(epoch from '2026-06-20 14:45:59'::timestamp) - extract(epoch from '2026-06-20 14:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967594 -2.993676)'), GeomFromEWKT('SRID=4674;POINT (-38.967595 -2.993668)'))) / (select extract(epoch from '2026-06-20 14:45:59'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967619 -2.993603)', '2026-06-20 14:46:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967595 -2.993668)'), GeomFromEWKT('SRID=4674;POINT (-38.967619 -2.993603)'))) / (select extract(epoch from '2026-06-20 14:46:08'::timestamp) - extract(epoch from '2026-06-20 14:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967595 -2.993668)'), GeomFromEWKT('SRID=4674;POINT (-38.967619 -2.993603)'))) / (select extract(epoch from '2026-06-20 14:46:08'::timestamp) - extract(epoch from '2026-06-20 14:45: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'), 46674, 'SRID=4674;POINT (-38.967653 -2.993518)', '2026-06-20 14:46:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967619 -2.993603)'), GeomFromEWKT('SRID=4674;POINT (-38.967653 -2.993518)'))) / (select extract(epoch from '2026-06-20 14:46:21'::timestamp) - extract(epoch from '2026-06-20 14:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967619 -2.993603)'), GeomFromEWKT('SRID=4674;POINT (-38.967653 -2.993518)'))) / (select extract(epoch from '2026-06-20 14:46:21'::timestamp) - extract(epoch from '2026-06-20 14:46: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'), 46674, 'SRID=4674;POINT (-38.967684 -2.993454)', '2026-06-20 14:46:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967653 -2.993518)'), GeomFromEWKT('SRID=4674;POINT (-38.967684 -2.993454)'))) / (select extract(epoch from '2026-06-20 14:46:31'::timestamp) - extract(epoch from '2026-06-20 14:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967653 -2.993518)'), GeomFromEWKT('SRID=4674;POINT (-38.967684 -2.993454)'))) / (select extract(epoch from '2026-06-20 14:46:31'::timestamp) - extract(epoch from '2026-06-20 14:46: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'), 46674, 'SRID=4674;POINT (-38.967721 -2.993393)', '2026-06-20 14:46:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967684 -2.993454)'), GeomFromEWKT('SRID=4674;POINT (-38.967721 -2.993393)'))) / (select extract(epoch from '2026-06-20 14:46:41'::timestamp) - extract(epoch from '2026-06-20 14:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967684 -2.993454)'), GeomFromEWKT('SRID=4674;POINT (-38.967721 -2.993393)'))) / (select extract(epoch from '2026-06-20 14:46:41'::timestamp) - extract(epoch from '2026-06-20 14:46: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'), 46674, 'SRID=4674;POINT (-38.967774 -2.993329)', '2026-06-20 14:46:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967721 -2.993393)'), GeomFromEWKT('SRID=4674;POINT (-38.967774 -2.993329)'))) / (select extract(epoch from '2026-06-20 14:46:52'::timestamp) - extract(epoch from '2026-06-20 14:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967721 -2.993393)'), GeomFromEWKT('SRID=4674;POINT (-38.967774 -2.993329)'))) / (select extract(epoch from '2026-06-20 14:46:52'::timestamp) - extract(epoch from '2026-06-20 14:46: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'), 46674, 'SRID=4674;POINT (-38.967826 -2.993279)', '2026-06-20 14:47:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967774 -2.993329)'), GeomFromEWKT('SRID=4674;POINT (-38.967826 -2.993279)'))) / (select extract(epoch from '2026-06-20 14:47:01'::timestamp) - extract(epoch from '2026-06-20 14:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967774 -2.993329)'), GeomFromEWKT('SRID=4674;POINT (-38.967826 -2.993279)'))) / (select extract(epoch from '2026-06-20 14:47:01'::timestamp) - extract(epoch from '2026-06-20 14:46: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'), 46674, 'SRID=4674;POINT (-38.967876 -2.993225)', '2026-06-20 14:47:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967826 -2.993279)'), GeomFromEWKT('SRID=4674;POINT (-38.967876 -2.993225)'))) / (select extract(epoch from '2026-06-20 14:47:11'::timestamp) - extract(epoch from '2026-06-20 14:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967826 -2.993279)'), GeomFromEWKT('SRID=4674;POINT (-38.967876 -2.993225)'))) / (select extract(epoch from '2026-06-20 14:47:11'::timestamp) - extract(epoch from '2026-06-20 14:47: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'), 46674, 'SRID=4674;POINT (-38.96788 -2.993176)', '2026-06-20 14:47:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967876 -2.993225)'), GeomFromEWKT('SRID=4674;POINT (-38.96788 -2.993176)'))) / (select extract(epoch from '2026-06-20 14:47:20'::timestamp) - extract(epoch from '2026-06-20 14:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967876 -2.993225)'), GeomFromEWKT('SRID=4674;POINT (-38.96788 -2.993176)'))) / (select extract(epoch from '2026-06-20 14:47:20'::timestamp) - extract(epoch from '2026-06-20 14: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'), 46674, 'SRID=4674;POINT (-38.96791 -2.99312)', '2026-06-20 14:47:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96788 -2.993176)'), GeomFromEWKT('SRID=4674;POINT (-38.96791 -2.99312)'))) / (select extract(epoch from '2026-06-20 14:47:31'::timestamp) - extract(epoch from '2026-06-20 14:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96788 -2.993176)'), GeomFromEWKT('SRID=4674;POINT (-38.96791 -2.99312)'))) / (select extract(epoch from '2026-06-20 14:47:31'::timestamp) - extract(epoch from '2026-06-20 14:47: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'), 46674, 'SRID=4674;POINT (-38.967967 -2.993131)', '2026-06-20 14:47:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96791 -2.99312)'), GeomFromEWKT('SRID=4674;POINT (-38.967967 -2.993131)'))) / (select extract(epoch from '2026-06-20 14:47:53'::timestamp) - extract(epoch from '2026-06-20 14:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96791 -2.99312)'), GeomFromEWKT('SRID=4674;POINT (-38.967967 -2.993131)'))) / (select extract(epoch from '2026-06-20 14:47:53'::timestamp) - extract(epoch from '2026-06-20 14:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.967985 -2.993147)', '2026-06-20 14:47:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967967 -2.993131)'), GeomFromEWKT('SRID=4674;POINT (-38.967985 -2.993147)'))) / (select extract(epoch from '2026-06-20 14:47:58'::timestamp) - extract(epoch from '2026-06-20 14:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967967 -2.993131)'), GeomFromEWKT('SRID=4674;POINT (-38.967985 -2.993147)'))) / (select extract(epoch from '2026-06-20 14:47:58'::timestamp) - extract(epoch from '2026-06-20 14:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.968013 -2.993179)', '2026-06-20 14:48:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967985 -2.993147)'), GeomFromEWKT('SRID=4674;POINT (-38.968013 -2.993179)'))) / (select extract(epoch from '2026-06-20 14:48:08'::timestamp) - extract(epoch from '2026-06-20 14:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.967985 -2.993147)'), GeomFromEWKT('SRID=4674;POINT (-38.968013 -2.993179)'))) / (select extract(epoch from '2026-06-20 14:48:08'::timestamp) - extract(epoch from '2026-06-20 14:47: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'), 46674, 'SRID=4674;POINT (-38.968024 -2.993199)', '2026-06-20 14:48:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968013 -2.993179)'), GeomFromEWKT('SRID=4674;POINT (-38.968024 -2.993199)'))) / (select extract(epoch from '2026-06-20 14:48:14'::timestamp) - extract(epoch from '2026-06-20 14:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968013 -2.993179)'), GeomFromEWKT('SRID=4674;POINT (-38.968024 -2.993199)'))) / (select extract(epoch from '2026-06-20 14:48:14'::timestamp) - extract(epoch from '2026-06-20 14:48: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'), 46674, 'SRID=4674;POINT (-38.968031 -2.993211)', '2026-06-20 14:48:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968024 -2.993199)'), GeomFromEWKT('SRID=4674;POINT (-38.968031 -2.993211)'))) / (select extract(epoch from '2026-06-20 14:48:24'::timestamp) - extract(epoch from '2026-06-20 14:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968024 -2.993199)'), GeomFromEWKT('SRID=4674;POINT (-38.968031 -2.993211)'))) / (select extract(epoch from '2026-06-20 14:48:24'::timestamp) - extract(epoch from '2026-06-20 14:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.968091 -2.993175)', '2026-06-20 14:48:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968031 -2.993211)'), GeomFromEWKT('SRID=4674;POINT (-38.968091 -2.993175)'))) / (select extract(epoch from '2026-06-20 14:48:47'::timestamp) - extract(epoch from '2026-06-20 14:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968031 -2.993211)'), GeomFromEWKT('SRID=4674;POINT (-38.968091 -2.993175)'))) / (select extract(epoch from '2026-06-20 14:48:47'::timestamp) - extract(epoch from '2026-06-20 14:48: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'), 46674, 'SRID=4674;POINT (-38.968138 -2.99314)', '2026-06-20 14:48:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968091 -2.993175)'), GeomFromEWKT('SRID=4674;POINT (-38.968138 -2.99314)'))) / (select extract(epoch from '2026-06-20 14:48:58'::timestamp) - extract(epoch from '2026-06-20 14:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968091 -2.993175)'), GeomFromEWKT('SRID=4674;POINT (-38.968138 -2.99314)'))) / (select extract(epoch from '2026-06-20 14:48:58'::timestamp) - extract(epoch from '2026-06-20 14:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.968197 -2.993097)', '2026-06-20 14:49:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968138 -2.99314)'), GeomFromEWKT('SRID=4674;POINT (-38.968197 -2.993097)'))) / (select extract(epoch from '2026-06-20 14:49:09'::timestamp) - extract(epoch from '2026-06-20 14:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968138 -2.99314)'), GeomFromEWKT('SRID=4674;POINT (-38.968197 -2.993097)'))) / (select extract(epoch from '2026-06-20 14:49:09'::timestamp) - extract(epoch from '2026-06-20 14:48: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'), 46674, 'SRID=4674;POINT (-38.968226 -2.993066)', '2026-06-20 14:49:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968197 -2.993097)'), GeomFromEWKT('SRID=4674;POINT (-38.968226 -2.993066)'))) / (select extract(epoch from '2026-06-20 14:49:14'::timestamp) - extract(epoch from '2026-06-20 14:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968197 -2.993097)'), GeomFromEWKT('SRID=4674;POINT (-38.968226 -2.993066)'))) / (select extract(epoch from '2026-06-20 14:49:14'::timestamp) - extract(epoch from '2026-06-20 14:49:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.968233 -2.99306)', '2026-06-20 14:49:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968226 -2.993066)'), GeomFromEWKT('SRID=4674;POINT (-38.968233 -2.99306)'))) / (select extract(epoch from '2026-06-20 14:49:15'::timestamp) - extract(epoch from '2026-06-20 14:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968226 -2.993066)'), GeomFromEWKT('SRID=4674;POINT (-38.968233 -2.99306)'))) / (select extract(epoch from '2026-06-20 14:49:15'::timestamp) - extract(epoch from '2026-06-20 14:49: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'), 46674, 'SRID=4674;POINT (-38.968257 -2.993032)', '2026-06-20 14:49:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968233 -2.99306)'), GeomFromEWKT('SRID=4674;POINT (-38.968257 -2.993032)'))) / (select extract(epoch from '2026-06-20 14:49:21'::timestamp) - extract(epoch from '2026-06-20 14:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968233 -2.99306)'), GeomFromEWKT('SRID=4674;POINT (-38.968257 -2.993032)'))) / (select extract(epoch from '2026-06-20 14:49:21'::timestamp) - extract(epoch from '2026-06-20 14: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'), 46674, 'SRID=4674;POINT (-38.968254 -2.993006)', '2026-06-20 14:49:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968257 -2.993032)'), GeomFromEWKT('SRID=4674;POINT (-38.968254 -2.993006)'))) / (select extract(epoch from '2026-06-20 14:49:31'::timestamp) - extract(epoch from '2026-06-20 14:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968257 -2.993032)'), GeomFromEWKT('SRID=4674;POINT (-38.968254 -2.993006)'))) / (select extract(epoch from '2026-06-20 14:49:31'::timestamp) - extract(epoch from '2026-06-20 14:49: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'), 46674, 'SRID=4674;POINT (-38.968279 -2.992982)', '2026-06-20 14:49:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968254 -2.993006)'), GeomFromEWKT('SRID=4674;POINT (-38.968279 -2.992982)'))) / (select extract(epoch from '2026-06-20 14:49:45'::timestamp) - extract(epoch from '2026-06-20 14:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968254 -2.993006)'), GeomFromEWKT('SRID=4674;POINT (-38.968279 -2.992982)'))) / (select extract(epoch from '2026-06-20 14:49:45'::timestamp) - extract(epoch from '2026-06-20 14:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.968329 -2.992985)', '2026-06-20 14:50:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968279 -2.992982)'), GeomFromEWKT('SRID=4674;POINT (-38.968329 -2.992985)'))) / (select extract(epoch from '2026-06-20 14:50:09'::timestamp) - extract(epoch from '2026-06-20 14:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968279 -2.992982)'), GeomFromEWKT('SRID=4674;POINT (-38.968329 -2.992985)'))) / (select extract(epoch from '2026-06-20 14:50:09'::timestamp) - extract(epoch from '2026-06-20 14:49: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'), 46674, 'SRID=4674;POINT (-38.968347 -2.992985)', '2026-06-20 14:50:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968329 -2.992985)'), GeomFromEWKT('SRID=4674;POINT (-38.968347 -2.992985)'))) / (select extract(epoch from '2026-06-20 14:50:15'::timestamp) - extract(epoch from '2026-06-20 14:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968329 -2.992985)'), GeomFromEWKT('SRID=4674;POINT (-38.968347 -2.992985)'))) / (select extract(epoch from '2026-06-20 14:50:15'::timestamp) - extract(epoch from '2026-06-20 14:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.968381 -2.993008)', '2026-06-20 14:50:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968347 -2.992985)'), GeomFromEWKT('SRID=4674;POINT (-38.968381 -2.993008)'))) / (select extract(epoch from '2026-06-20 14:50:36'::timestamp) - extract(epoch from '2026-06-20 14:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968347 -2.992985)'), GeomFromEWKT('SRID=4674;POINT (-38.968381 -2.993008)'))) / (select extract(epoch from '2026-06-20 14:50:36'::timestamp) - extract(epoch from '2026-06-20 14:50: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'), 46674, 'SRID=4674;POINT (-38.968432 -2.993019)', '2026-06-20 14:51:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968381 -2.993008)'), GeomFromEWKT('SRID=4674;POINT (-38.968432 -2.993019)'))) / (select extract(epoch from '2026-06-20 14:51:18'::timestamp) - extract(epoch from '2026-06-20 14:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968381 -2.993008)'), GeomFromEWKT('SRID=4674;POINT (-38.968432 -2.993019)'))) / (select extract(epoch from '2026-06-20 14:51:18'::timestamp) - extract(epoch from '2026-06-20 14:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.968518 -2.992991)', '2026-06-20 14:51:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968432 -2.993019)'), GeomFromEWKT('SRID=4674;POINT (-38.968518 -2.992991)'))) / (select extract(epoch from '2026-06-20 14:51:47'::timestamp) - extract(epoch from '2026-06-20 14:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968432 -2.993019)'), GeomFromEWKT('SRID=4674;POINT (-38.968518 -2.992991)'))) / (select extract(epoch from '2026-06-20 14:51:47'::timestamp) - extract(epoch from '2026-06-20 14:51: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'), 46674, 'SRID=4674;POINT (-38.968568 -2.992937)', '2026-06-20 14:52:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968518 -2.992991)'), GeomFromEWKT('SRID=4674;POINT (-38.968568 -2.992937)'))) / (select extract(epoch from '2026-06-20 14:52:00'::timestamp) - extract(epoch from '2026-06-20 14:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968518 -2.992991)'), GeomFromEWKT('SRID=4674;POINT (-38.968568 -2.992937)'))) / (select extract(epoch from '2026-06-20 14:52:00'::timestamp) - extract(epoch from '2026-06-20 14:51: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'), 46674, 'SRID=4674;POINT (-38.968622 -2.99288)', '2026-06-20 14:52:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968568 -2.992937)'), GeomFromEWKT('SRID=4674;POINT (-38.968622 -2.99288)'))) / (select extract(epoch from '2026-06-20 14:52:11'::timestamp) - extract(epoch from '2026-06-20 14:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968568 -2.992937)'), GeomFromEWKT('SRID=4674;POINT (-38.968622 -2.99288)'))) / (select extract(epoch from '2026-06-20 14:52:11'::timestamp) - extract(epoch from '2026-06-20 14:52: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'), 46674, 'SRID=4674;POINT (-38.968653 -2.992834)', '2026-06-20 14:52:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968622 -2.99288)'), GeomFromEWKT('SRID=4674;POINT (-38.968653 -2.992834)'))) / (select extract(epoch from '2026-06-20 14:52:21'::timestamp) - extract(epoch from '2026-06-20 14:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968622 -2.99288)'), GeomFromEWKT('SRID=4674;POINT (-38.968653 -2.992834)'))) / (select extract(epoch from '2026-06-20 14:52:21'::timestamp) - extract(epoch from '2026-06-20 14: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'), 46674, 'SRID=4674;POINT (-38.968661 -2.992826)', '2026-06-20 14:52:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968653 -2.992834)'), GeomFromEWKT('SRID=4674;POINT (-38.968661 -2.992826)'))) / (select extract(epoch from '2026-06-20 14:52:29'::timestamp) - extract(epoch from '2026-06-20 14:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968653 -2.992834)'), GeomFromEWKT('SRID=4674;POINT (-38.968661 -2.992826)'))) / (select extract(epoch from '2026-06-20 14:52:29'::timestamp) - extract(epoch from '2026-06-20 14:52: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'), 46674, 'SRID=4674;POINT (-38.968705 -2.992863)', '2026-06-20 14:52:55', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968661 -2.992826)'), GeomFromEWKT('SRID=4674;POINT (-38.968705 -2.992863)'))) / (select extract(epoch from '2026-06-20 14:52:55'::timestamp) - extract(epoch from '2026-06-20 14:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968661 -2.992826)'), GeomFromEWKT('SRID=4674;POINT (-38.968705 -2.992863)'))) / (select extract(epoch from '2026-06-20 14:52:55'::timestamp) - extract(epoch from '2026-06-20 14:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.968727 -2.99289)', '2026-06-20 14:53:04', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968705 -2.992863)'), GeomFromEWKT('SRID=4674;POINT (-38.968727 -2.99289)'))) / (select extract(epoch from '2026-06-20 14:53:04'::timestamp) - extract(epoch from '2026-06-20 14:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968705 -2.992863)'), GeomFromEWKT('SRID=4674;POINT (-38.968727 -2.99289)'))) / (select extract(epoch from '2026-06-20 14:53:04'::timestamp) - extract(epoch from '2026-06-20 14:52: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'), 46674, 'SRID=4674;POINT (-38.968751 -2.992887)', '2026-06-20 14:53:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968727 -2.99289)'), GeomFromEWKT('SRID=4674;POINT (-38.968751 -2.992887)'))) / (select extract(epoch from '2026-06-20 14:53:19'::timestamp) - extract(epoch from '2026-06-20 14:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968727 -2.99289)'), GeomFromEWKT('SRID=4674;POINT (-38.968751 -2.992887)'))) / (select extract(epoch from '2026-06-20 14:53:19'::timestamp) - extract(epoch from '2026-06-20 14:53: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'), 46674, 'SRID=4674;POINT (-38.968786 -2.992866)', '2026-06-20 14:53:29', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968751 -2.992887)'), GeomFromEWKT('SRID=4674;POINT (-38.968786 -2.992866)'))) / (select extract(epoch from '2026-06-20 14:53:29'::timestamp) - extract(epoch from '2026-06-20 14:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968751 -2.992887)'), GeomFromEWKT('SRID=4674;POINT (-38.968786 -2.992866)'))) / (select extract(epoch from '2026-06-20 14:53:29'::timestamp) - extract(epoch from '2026-06-20 14:53: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'), 46674, 'SRID=4674;POINT (-38.968817 -2.992837)', '2026-06-20 14:53:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968786 -2.992866)'), GeomFromEWKT('SRID=4674;POINT (-38.968817 -2.992837)'))) / (select extract(epoch from '2026-06-20 14:53:36'::timestamp) - extract(epoch from '2026-06-20 14:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968786 -2.992866)'), GeomFromEWKT('SRID=4674;POINT (-38.968817 -2.992837)'))) / (select extract(epoch from '2026-06-20 14:53:36'::timestamp) - extract(epoch from '2026-06-20 14:53: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'), 46674, 'SRID=4674;POINT (-38.968869 -2.992801)', '2026-06-20 14:53:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968817 -2.992837)'), GeomFromEWKT('SRID=4674;POINT (-38.968869 -2.992801)'))) / (select extract(epoch from '2026-06-20 14:53:47'::timestamp) - extract(epoch from '2026-06-20 14:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968817 -2.992837)'), GeomFromEWKT('SRID=4674;POINT (-38.968869 -2.992801)'))) / (select extract(epoch from '2026-06-20 14:53:47'::timestamp) - extract(epoch from '2026-06-20 14:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.968837 -2.992841)', '2026-06-20 14:53:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968869 -2.992801)'), GeomFromEWKT('SRID=4674;POINT (-38.968837 -2.992841)'))) / (select extract(epoch from '2026-06-20 14:53:58'::timestamp) - extract(epoch from '2026-06-20 14:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968869 -2.992801)'), GeomFromEWKT('SRID=4674;POINT (-38.968837 -2.992841)'))) / (select extract(epoch from '2026-06-20 14:53:58'::timestamp) - extract(epoch from '2026-06-20 14:53: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'), 46674, 'SRID=4674;POINT (-38.968817 -2.992905)', '2026-06-20 14:54:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968837 -2.992841)'), GeomFromEWKT('SRID=4674;POINT (-38.968817 -2.992905)'))) / (select extract(epoch from '2026-06-20 14:54:03'::timestamp) - extract(epoch from '2026-06-20 14:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968837 -2.992841)'), GeomFromEWKT('SRID=4674;POINT (-38.968817 -2.992905)'))) / (select extract(epoch from '2026-06-20 14:54:03'::timestamp) - extract(epoch from '2026-06-20 14:53: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'), 46674, 'SRID=4674;POINT (-38.968818 -2.992923)', '2026-06-20 14:54:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968817 -2.992905)'), GeomFromEWKT('SRID=4674;POINT (-38.968818 -2.992923)'))) / (select extract(epoch from '2026-06-20 14:54:04'::timestamp) - extract(epoch from '2026-06-20 14:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968817 -2.992905)'), GeomFromEWKT('SRID=4674;POINT (-38.968818 -2.992923)'))) / (select extract(epoch from '2026-06-20 14:54:04'::timestamp) - extract(epoch from '2026-06-20 14:54: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'), 46674, 'SRID=4674;POINT (-38.96882 -2.992954)', '2026-06-20 14:54:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968818 -2.992923)'), GeomFromEWKT('SRID=4674;POINT (-38.96882 -2.992954)'))) / (select extract(epoch from '2026-06-20 14:54:06'::timestamp) - extract(epoch from '2026-06-20 14:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968818 -2.992923)'), GeomFromEWKT('SRID=4674;POINT (-38.96882 -2.992954)'))) / (select extract(epoch from '2026-06-20 14:54:06'::timestamp) - extract(epoch from '2026-06-20 14:54: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'), 46674, 'SRID=4674;POINT (-38.968828 -2.993007)', '2026-06-20 14:54:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96882 -2.992954)'), GeomFromEWKT('SRID=4674;POINT (-38.968828 -2.993007)'))) / (select extract(epoch from '2026-06-20 14:54:09'::timestamp) - extract(epoch from '2026-06-20 14:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96882 -2.992954)'), GeomFromEWKT('SRID=4674;POINT (-38.968828 -2.993007)'))) / (select extract(epoch from '2026-06-20 14:54:09'::timestamp) - extract(epoch from '2026-06-20 14:54: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'), 46674, 'SRID=4674;POINT (-38.96891 -2.993128)', '2026-06-20 14:54:16', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968828 -2.993007)'), GeomFromEWKT('SRID=4674;POINT (-38.96891 -2.993128)'))) / (select extract(epoch from '2026-06-20 14:54:16'::timestamp) - extract(epoch from '2026-06-20 14:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.968828 -2.993007)'), GeomFromEWKT('SRID=4674;POINT (-38.96891 -2.993128)'))) / (select extract(epoch from '2026-06-20 14:54:16'::timestamp) - extract(epoch from '2026-06-20 14:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.969097 -2.993221)', '2026-06-20 14:54:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96891 -2.993128)'), GeomFromEWKT('SRID=4674;POINT (-38.969097 -2.993221)'))) / (select extract(epoch from '2026-06-20 14:54:24'::timestamp) - extract(epoch from '2026-06-20 14:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.96891 -2.993128)'), GeomFromEWKT('SRID=4674;POINT (-38.969097 -2.993221)'))) / (select extract(epoch from '2026-06-20 14:54:24'::timestamp) - extract(epoch from '2026-06-20 14:54: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'), 46674, 'SRID=4674;POINT (-38.969331 -2.993277)', '2026-06-20 14:54:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969097 -2.993221)'), GeomFromEWKT('SRID=4674;POINT (-38.969331 -2.993277)'))) / (select extract(epoch from '2026-06-20 14:54:32'::timestamp) - extract(epoch from '2026-06-20 14:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969097 -2.993221)'), GeomFromEWKT('SRID=4674;POINT (-38.969331 -2.993277)'))) / (select extract(epoch from '2026-06-20 14:54:32'::timestamp) - extract(epoch from '2026-06-20 14: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'), 46674, 'SRID=4674;POINT (-38.969502 -2.993341)', '2026-06-20 14:54:38', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969331 -2.993277)'), GeomFromEWKT('SRID=4674;POINT (-38.969502 -2.993341)'))) / (select extract(epoch from '2026-06-20 14:54:38'::timestamp) - extract(epoch from '2026-06-20 14:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969331 -2.993277)'), GeomFromEWKT('SRID=4674;POINT (-38.969502 -2.993341)'))) / (select extract(epoch from '2026-06-20 14:54:38'::timestamp) - extract(epoch from '2026-06-20 14: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'), 46674, 'SRID=4674;POINT (-38.969637 -2.993441)', '2026-06-20 14:54:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969502 -2.993341)'), GeomFromEWKT('SRID=4674;POINT (-38.969637 -2.993441)'))) / (select extract(epoch from '2026-06-20 14:54:44'::timestamp) - extract(epoch from '2026-06-20 14:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969502 -2.993341)'), GeomFromEWKT('SRID=4674;POINT (-38.969637 -2.993441)'))) / (select extract(epoch from '2026-06-20 14:54:44'::timestamp) - extract(epoch from '2026-06-20 14:54: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'), 46674, 'SRID=4674;POINT (-38.969757 -2.993561)', '2026-06-20 14:54:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969637 -2.993441)'), GeomFromEWKT('SRID=4674;POINT (-38.969757 -2.993561)'))) / (select extract(epoch from '2026-06-20 14:54:51'::timestamp) - extract(epoch from '2026-06-20 14:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969637 -2.993441)'), GeomFromEWKT('SRID=4674;POINT (-38.969757 -2.993561)'))) / (select extract(epoch from '2026-06-20 14:54:51'::timestamp) - extract(epoch from '2026-06-20 14:54: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'), 46674, 'SRID=4674;POINT (-38.969903 -2.993716)', '2026-06-20 14:54:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969757 -2.993561)'), GeomFromEWKT('SRID=4674;POINT (-38.969903 -2.993716)'))) / (select extract(epoch from '2026-06-20 14:54:59'::timestamp) - extract(epoch from '2026-06-20 14:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969757 -2.993561)'), GeomFromEWKT('SRID=4674;POINT (-38.969903 -2.993716)'))) / (select extract(epoch from '2026-06-20 14:54:59'::timestamp) - extract(epoch from '2026-06-20 14:54: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'), 46674, 'SRID=4674;POINT (-38.970023 -2.993821)', '2026-06-20 14:55:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969903 -2.993716)'), GeomFromEWKT('SRID=4674;POINT (-38.970023 -2.993821)'))) / (select extract(epoch from '2026-06-20 14:55:05'::timestamp) - extract(epoch from '2026-06-20 14:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969903 -2.993716)'), GeomFromEWKT('SRID=4674;POINT (-38.970023 -2.993821)'))) / (select extract(epoch from '2026-06-20 14:55:05'::timestamp) - extract(epoch from '2026-06-20 14:54: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'), 46674, 'SRID=4674;POINT (-38.970105 -2.99392)', '2026-06-20 14:55:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970023 -2.993821)'), GeomFromEWKT('SRID=4674;POINT (-38.970105 -2.99392)'))) / (select extract(epoch from '2026-06-20 14:55:10'::timestamp) - extract(epoch from '2026-06-20 14:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970023 -2.993821)'), GeomFromEWKT('SRID=4674;POINT (-38.970105 -2.99392)'))) / (select extract(epoch from '2026-06-20 14:55:10'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.970172 -2.994009)', '2026-06-20 14:55:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970105 -2.99392)'), GeomFromEWKT('SRID=4674;POINT (-38.970172 -2.994009)'))) / (select extract(epoch from '2026-06-20 14:55:15'::timestamp) - extract(epoch from '2026-06-20 14:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970105 -2.99392)'), GeomFromEWKT('SRID=4674;POINT (-38.970172 -2.994009)'))) / (select extract(epoch from '2026-06-20 14:55:15'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.970224 -2.994148)', '2026-06-20 14:55:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970172 -2.994009)'), GeomFromEWKT('SRID=4674;POINT (-38.970224 -2.994148)'))) / (select extract(epoch from '2026-06-20 14:55:22'::timestamp) - extract(epoch from '2026-06-20 14:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970172 -2.994009)'), GeomFromEWKT('SRID=4674;POINT (-38.970224 -2.994148)'))) / (select extract(epoch from '2026-06-20 14:55:22'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.970222 -2.994164)', '2026-06-20 14:55:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970224 -2.994148)'), GeomFromEWKT('SRID=4674;POINT (-38.970222 -2.994164)'))) / (select extract(epoch from '2026-06-20 14:55:23'::timestamp) - extract(epoch from '2026-06-20 14:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970224 -2.994148)'), GeomFromEWKT('SRID=4674;POINT (-38.970222 -2.994164)'))) / (select extract(epoch from '2026-06-20 14:55:23'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.970206 -2.994229)', '2026-06-20 14:55:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970222 -2.994164)'), GeomFromEWKT('SRID=4674;POINT (-38.970206 -2.994229)'))) / (select extract(epoch from '2026-06-20 14:55:27'::timestamp) - extract(epoch from '2026-06-20 14:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970222 -2.994164)'), GeomFromEWKT('SRID=4674;POINT (-38.970206 -2.994229)'))) / (select extract(epoch from '2026-06-20 14:55:27'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.970162 -2.994282)', '2026-06-20 14:55:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970206 -2.994229)'), GeomFromEWKT('SRID=4674;POINT (-38.970162 -2.994282)'))) / (select extract(epoch from '2026-06-20 14:55:32'::timestamp) - extract(epoch from '2026-06-20 14:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970206 -2.994229)'), GeomFromEWKT('SRID=4674;POINT (-38.970162 -2.994282)'))) / (select extract(epoch from '2026-06-20 14:55:32'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.970147 -2.994284)', '2026-06-20 14:55:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970162 -2.994282)'), GeomFromEWKT('SRID=4674;POINT (-38.970147 -2.994284)'))) / (select extract(epoch from '2026-06-20 14:55:33'::timestamp) - extract(epoch from '2026-06-20 14:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970162 -2.994282)'), GeomFromEWKT('SRID=4674;POINT (-38.970147 -2.994284)'))) / (select extract(epoch from '2026-06-20 14:55:33'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.970056 -2.99427)', '2026-06-20 14:55:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970147 -2.994284)'), GeomFromEWKT('SRID=4674;POINT (-38.970056 -2.99427)'))) / (select extract(epoch from '2026-06-20 14:55:40'::timestamp) - extract(epoch from '2026-06-20 14:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970147 -2.994284)'), GeomFromEWKT('SRID=4674;POINT (-38.970056 -2.99427)'))) / (select extract(epoch from '2026-06-20 14:55:40'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.969987 -2.994231)', '2026-06-20 14:55:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970056 -2.99427)'), GeomFromEWKT('SRID=4674;POINT (-38.969987 -2.994231)'))) / (select extract(epoch from '2026-06-20 14:55:48'::timestamp) - extract(epoch from '2026-06-20 14:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970056 -2.99427)'), GeomFromEWKT('SRID=4674;POINT (-38.969987 -2.994231)'))) / (select extract(epoch from '2026-06-20 14:55:48'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.969976 -2.994218)', '2026-06-20 14:55:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969987 -2.994231)'), GeomFromEWKT('SRID=4674;POINT (-38.969976 -2.994218)'))) / (select extract(epoch from '2026-06-20 14:55:51'::timestamp) - extract(epoch from '2026-06-20 14:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969987 -2.994231)'), GeomFromEWKT('SRID=4674;POINT (-38.969976 -2.994218)'))) / (select extract(epoch from '2026-06-20 14:55:51'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.969962 -2.994192)', '2026-06-20 14:55:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969976 -2.994218)'), GeomFromEWKT('SRID=4674;POINT (-38.969962 -2.994192)'))) / (select extract(epoch from '2026-06-20 14:55:54'::timestamp) - extract(epoch from '2026-06-20 14:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969976 -2.994218)'), GeomFromEWKT('SRID=4674;POINT (-38.969962 -2.994192)'))) / (select extract(epoch from '2026-06-20 14:55:54'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.969959 -2.994184)', '2026-06-20 14:55:55', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969962 -2.994192)'), GeomFromEWKT('SRID=4674;POINT (-38.969959 -2.994184)'))) / (select extract(epoch from '2026-06-20 14:55:55'::timestamp) - extract(epoch from '2026-06-20 14:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969962 -2.994192)'), GeomFromEWKT('SRID=4674;POINT (-38.969959 -2.994184)'))) / (select extract(epoch from '2026-06-20 14:55:55'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.969959 -2.994167)', '2026-06-20 14:55:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969959 -2.994184)'), GeomFromEWKT('SRID=4674;POINT (-38.969959 -2.994167)'))) / (select extract(epoch from '2026-06-20 14:55:57'::timestamp) - extract(epoch from '2026-06-20 14:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969959 -2.994184)'), GeomFromEWKT('SRID=4674;POINT (-38.969959 -2.994167)'))) / (select extract(epoch from '2026-06-20 14:55:57'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.969957 -2.994129)', '2026-06-20 14:56:02', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969959 -2.994167)'), GeomFromEWKT('SRID=4674;POINT (-38.969957 -2.994129)'))) / (select extract(epoch from '2026-06-20 14:56:02'::timestamp) - extract(epoch from '2026-06-20 14:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969959 -2.994167)'), GeomFromEWKT('SRID=4674;POINT (-38.969957 -2.994129)'))) / (select extract(epoch from '2026-06-20 14:56:02'::timestamp) - extract(epoch from '2026-06-20 14:55: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'), 46674, 'SRID=4674;POINT (-38.969979 -2.994054)', '2026-06-20 14:56:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969957 -2.994129)'), GeomFromEWKT('SRID=4674;POINT (-38.969979 -2.994054)'))) / (select extract(epoch from '2026-06-20 14:56:12'::timestamp) - extract(epoch from '2026-06-20 14:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969957 -2.994129)'), GeomFromEWKT('SRID=4674;POINT (-38.969979 -2.994054)'))) / (select extract(epoch from '2026-06-20 14:56:12'::timestamp) - extract(epoch from '2026-06-20 14:56: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'), 46674, 'SRID=4674;POINT (-38.970006 -2.994016)', '2026-06-20 14:56:18', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969979 -2.994054)'), GeomFromEWKT('SRID=4674;POINT (-38.970006 -2.994016)'))) / (select extract(epoch from '2026-06-20 14:56:18'::timestamp) - extract(epoch from '2026-06-20 14:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.969979 -2.994054)'), GeomFromEWKT('SRID=4674;POINT (-38.970006 -2.994016)'))) / (select extract(epoch from '2026-06-20 14:56:18'::timestamp) - extract(epoch from '2026-06-20 14:56: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'), 46674, 'SRID=4674;POINT (-38.970053 -2.993959)', '2026-06-20 14:56:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970006 -2.994016)'), GeomFromEWKT('SRID=4674;POINT (-38.970053 -2.993959)'))) / (select extract(epoch from '2026-06-20 14:56:28'::timestamp) - extract(epoch from '2026-06-20 14:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970006 -2.994016)'), GeomFromEWKT('SRID=4674;POINT (-38.970053 -2.993959)'))) / (select extract(epoch from '2026-06-20 14:56:28'::timestamp) - extract(epoch from '2026-06-20 14:56: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'), 46674, 'SRID=4674;POINT (-38.970109 -2.993894)', '2026-06-20 14:56:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970053 -2.993959)'), GeomFromEWKT('SRID=4674;POINT (-38.970109 -2.993894)'))) / (select extract(epoch from '2026-06-20 14:56:40'::timestamp) - extract(epoch from '2026-06-20 14:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970053 -2.993959)'), GeomFromEWKT('SRID=4674;POINT (-38.970109 -2.993894)'))) / (select extract(epoch from '2026-06-20 14:56:40'::timestamp) - extract(epoch from '2026-06-20 14:56: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'), 46674, 'SRID=4674;POINT (-38.97016 -2.993851)', '2026-06-20 14:56:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970109 -2.993894)'), GeomFromEWKT('SRID=4674;POINT (-38.97016 -2.993851)'))) / (select extract(epoch from '2026-06-20 14:56:49'::timestamp) - extract(epoch from '2026-06-20 14:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970109 -2.993894)'), GeomFromEWKT('SRID=4674;POINT (-38.97016 -2.993851)'))) / (select extract(epoch from '2026-06-20 14:56:49'::timestamp) - extract(epoch from '2026-06-20 14:56: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'), 46674, 'SRID=4674;POINT (-38.970216 -2.993807)', '2026-06-20 14:56:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97016 -2.993851)'), GeomFromEWKT('SRID=4674;POINT (-38.970216 -2.993807)'))) / (select extract(epoch from '2026-06-20 14:56:58'::timestamp) - extract(epoch from '2026-06-20 14:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97016 -2.993851)'), GeomFromEWKT('SRID=4674;POINT (-38.970216 -2.993807)'))) / (select extract(epoch from '2026-06-20 14:56:58'::timestamp) - extract(epoch from '2026-06-20 14:56: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'), 46674, 'SRID=4674;POINT (-38.970305 -2.993736)', '2026-06-20 14:57:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970216 -2.993807)'), GeomFromEWKT('SRID=4674;POINT (-38.970305 -2.993736)'))) / (select extract(epoch from '2026-06-20 14:57:11'::timestamp) - extract(epoch from '2026-06-20 14:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970216 -2.993807)'), GeomFromEWKT('SRID=4674;POINT (-38.970305 -2.993736)'))) / (select extract(epoch from '2026-06-20 14:57:11'::timestamp) - extract(epoch from '2026-06-20 14:56: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'), 46674, 'SRID=4674;POINT (-38.97035 -2.993716)', '2026-06-20 14:57:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970305 -2.993736)'), GeomFromEWKT('SRID=4674;POINT (-38.97035 -2.993716)'))) / (select extract(epoch from '2026-06-20 14:57:17'::timestamp) - extract(epoch from '2026-06-20 14:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970305 -2.993736)'), GeomFromEWKT('SRID=4674;POINT (-38.97035 -2.993716)'))) / (select extract(epoch from '2026-06-20 14:57:17'::timestamp) - extract(epoch from '2026-06-20 14:57: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'), 46674, 'SRID=4674;POINT (-38.97041 -2.993685)', '2026-06-20 14:57:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97035 -2.993716)'), GeomFromEWKT('SRID=4674;POINT (-38.97041 -2.993685)'))) / (select extract(epoch from '2026-06-20 14:57:27'::timestamp) - extract(epoch from '2026-06-20 14:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97035 -2.993716)'), GeomFromEWKT('SRID=4674;POINT (-38.97041 -2.993685)'))) / (select extract(epoch from '2026-06-20 14:57:27'::timestamp) - extract(epoch from '2026-06-20 14:57: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'), 46674, 'SRID=4674;POINT (-38.97048 -2.993643)', '2026-06-20 14:57:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97041 -2.993685)'), GeomFromEWKT('SRID=4674;POINT (-38.97048 -2.993643)'))) / (select extract(epoch from '2026-06-20 14:57:39'::timestamp) - extract(epoch from '2026-06-20 14:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97041 -2.993685)'), GeomFromEWKT('SRID=4674;POINT (-38.97048 -2.993643)'))) / (select extract(epoch from '2026-06-20 14:57:39'::timestamp) - extract(epoch from '2026-06-20 14:57: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'), 46674, 'SRID=4674;POINT (-38.970524 -2.993604)', '2026-06-20 14:57:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97048 -2.993643)'), GeomFromEWKT('SRID=4674;POINT (-38.970524 -2.993604)'))) / (select extract(epoch from '2026-06-20 14:57:48'::timestamp) - extract(epoch from '2026-06-20 14:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97048 -2.993643)'), GeomFromEWKT('SRID=4674;POINT (-38.970524 -2.993604)'))) / (select extract(epoch from '2026-06-20 14:57:48'::timestamp) - extract(epoch from '2026-06-20 14:57: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'), 46674, 'SRID=4674;POINT (-38.970591 -2.993552)', '2026-06-20 14:58:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970524 -2.993604)'), GeomFromEWKT('SRID=4674;POINT (-38.970591 -2.993552)'))) / (select extract(epoch from '2026-06-20 14:58:00'::timestamp) - extract(epoch from '2026-06-20 14:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970524 -2.993604)'), GeomFromEWKT('SRID=4674;POINT (-38.970591 -2.993552)'))) / (select extract(epoch from '2026-06-20 14:58:00'::timestamp) - extract(epoch from '2026-06-20 14:57: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'), 46674, 'SRID=4674;POINT (-38.970649 -2.993495)', '2026-06-20 14:58:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970591 -2.993552)'), GeomFromEWKT('SRID=4674;POINT (-38.970649 -2.993495)'))) / (select extract(epoch from '2026-06-20 14:58:11'::timestamp) - extract(epoch from '2026-06-20 14:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970591 -2.993552)'), GeomFromEWKT('SRID=4674;POINT (-38.970649 -2.993495)'))) / (select extract(epoch from '2026-06-20 14:58:11'::timestamp) - extract(epoch from '2026-06-20 14:58: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'), 46674, 'SRID=4674;POINT (-38.970651 -2.993412)', '2026-06-20 14:58:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970649 -2.993495)'), GeomFromEWKT('SRID=4674;POINT (-38.970651 -2.993412)'))) / (select extract(epoch from '2026-06-20 14:58:21'::timestamp) - extract(epoch from '2026-06-20 14:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970649 -2.993495)'), GeomFromEWKT('SRID=4674;POINT (-38.970651 -2.993412)'))) / (select extract(epoch from '2026-06-20 14:58:21'::timestamp) - extract(epoch from '2026-06-20 14: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'), 46674, 'SRID=4674;POINT (-38.970638 -2.993388)', '2026-06-20 14:58:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970651 -2.993412)'), GeomFromEWKT('SRID=4674;POINT (-38.970638 -2.993388)'))) / (select extract(epoch from '2026-06-20 14:58:24'::timestamp) - extract(epoch from '2026-06-20 14:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970651 -2.993412)'), GeomFromEWKT('SRID=4674;POINT (-38.970638 -2.993388)'))) / (select extract(epoch from '2026-06-20 14:58:24'::timestamp) - extract(epoch from '2026-06-20 14:58: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'), 46674, 'SRID=4674;POINT (-38.970623 -2.99336)', '2026-06-20 14:58:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970638 -2.993388)'), GeomFromEWKT('SRID=4674;POINT (-38.970623 -2.99336)'))) / (select extract(epoch from '2026-06-20 14:58:28'::timestamp) - extract(epoch from '2026-06-20 14:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970638 -2.993388)'), GeomFromEWKT('SRID=4674;POINT (-38.970623 -2.99336)'))) / (select extract(epoch from '2026-06-20 14:58:28'::timestamp) - extract(epoch from '2026-06-20 14:58: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'), 46674, 'SRID=4674;POINT (-38.97061 -2.993327)', '2026-06-20 14:58:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970623 -2.99336)'), GeomFromEWKT('SRID=4674;POINT (-38.97061 -2.993327)'))) / (select extract(epoch from '2026-06-20 14:58:38'::timestamp) - extract(epoch from '2026-06-20 14:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970623 -2.99336)'), GeomFromEWKT('SRID=4674;POINT (-38.97061 -2.993327)'))) / (select extract(epoch from '2026-06-20 14:58:38'::timestamp) - extract(epoch from '2026-06-20 14: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'), 46674, 'SRID=4674;POINT (-38.970633 -2.993371)', '2026-06-20 14:58:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97061 -2.993327)'), GeomFromEWKT('SRID=4674;POINT (-38.970633 -2.993371)'))) / (select extract(epoch from '2026-06-20 14:58:52'::timestamp) - extract(epoch from '2026-06-20 14:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97061 -2.993327)'), GeomFromEWKT('SRID=4674;POINT (-38.970633 -2.993371)'))) / (select extract(epoch from '2026-06-20 14:58:52'::timestamp) - extract(epoch from '2026-06-20 14: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'), 46674, 'SRID=4674;POINT (-38.970657 -2.993404)', '2026-06-20 14:59:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970633 -2.993371)'), GeomFromEWKT('SRID=4674;POINT (-38.970657 -2.993404)'))) / (select extract(epoch from '2026-06-20 14:59:02'::timestamp) - extract(epoch from '2026-06-20 14:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970633 -2.993371)'), GeomFromEWKT('SRID=4674;POINT (-38.970657 -2.993404)'))) / (select extract(epoch from '2026-06-20 14:59:02'::timestamp) - extract(epoch from '2026-06-20 14:58: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'), 46674, 'SRID=4674;POINT (-38.970656 -2.993458)', '2026-06-20 14:59:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970657 -2.993404)'), GeomFromEWKT('SRID=4674;POINT (-38.970656 -2.993458)'))) / (select extract(epoch from '2026-06-20 14:59:14'::timestamp) - extract(epoch from '2026-06-20 14:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970657 -2.993404)'), GeomFromEWKT('SRID=4674;POINT (-38.970656 -2.993458)'))) / (select extract(epoch from '2026-06-20 14:59:14'::timestamp) - extract(epoch from '2026-06-20 14:59: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'), 46674, 'SRID=4674;POINT (-38.970653 -2.993493)', '2026-06-20 14:59:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970656 -2.993458)'), GeomFromEWKT('SRID=4674;POINT (-38.970653 -2.993493)'))) / (select extract(epoch from '2026-06-20 14:59:22'::timestamp) - extract(epoch from '2026-06-20 14:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970656 -2.993458)'), GeomFromEWKT('SRID=4674;POINT (-38.970653 -2.993493)'))) / (select extract(epoch from '2026-06-20 14:59:22'::timestamp) - extract(epoch from '2026-06-20 14:59: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'), 46674, 'SRID=4674;POINT (-38.970653 -2.993508)', '2026-06-20 14:59:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970653 -2.993493)'), GeomFromEWKT('SRID=4674;POINT (-38.970653 -2.993508)'))) / (select extract(epoch from '2026-06-20 14:59:31'::timestamp) - extract(epoch from '2026-06-20 14:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970653 -2.993493)'), GeomFromEWKT('SRID=4674;POINT (-38.970653 -2.993508)'))) / (select extract(epoch from '2026-06-20 14:59:31'::timestamp) - extract(epoch from '2026-06-20 14: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'), 46674, 'SRID=4674;POINT (-38.9707 -2.993502)', '2026-06-20 15:00:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970653 -2.993508)'), GeomFromEWKT('SRID=4674;POINT (-38.9707 -2.993502)'))) / (select extract(epoch from '2026-06-20 15:00:24'::timestamp) - extract(epoch from '2026-06-20 14:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970653 -2.993508)'), GeomFromEWKT('SRID=4674;POINT (-38.9707 -2.993502)'))) / (select extract(epoch from '2026-06-20 15:00:24'::timestamp) - extract(epoch from '2026-06-20 14:59: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'), 46674, 'SRID=4674;POINT (-38.97075 -2.993457)', '2026-06-20 15:00:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9707 -2.993502)'), GeomFromEWKT('SRID=4674;POINT (-38.97075 -2.993457)'))) / (select extract(epoch from '2026-06-20 15:00:35'::timestamp) - extract(epoch from '2026-06-20 15:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9707 -2.993502)'), GeomFromEWKT('SRID=4674;POINT (-38.97075 -2.993457)'))) / (select extract(epoch from '2026-06-20 15:00:35'::timestamp) - extract(epoch from '2026-06-20 15:00: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'), 46674, 'SRID=4674;POINT (-38.970793 -2.993419)', '2026-06-20 15:00:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97075 -2.993457)'), GeomFromEWKT('SRID=4674;POINT (-38.970793 -2.993419)'))) / (select extract(epoch from '2026-06-20 15:00:45'::timestamp) - extract(epoch from '2026-06-20 15:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97075 -2.993457)'), GeomFromEWKT('SRID=4674;POINT (-38.970793 -2.993419)'))) / (select extract(epoch from '2026-06-20 15:00:45'::timestamp) - extract(epoch from '2026-06-20 15:00: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'), 46674, 'SRID=4674;POINT (-38.970817 -2.993402)', '2026-06-20 15:00:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970793 -2.993419)'), GeomFromEWKT('SRID=4674;POINT (-38.970817 -2.993402)'))) / (select extract(epoch from '2026-06-20 15:00:54'::timestamp) - extract(epoch from '2026-06-20 15:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970793 -2.993419)'), GeomFromEWKT('SRID=4674;POINT (-38.970817 -2.993402)'))) / (select extract(epoch from '2026-06-20 15:00:54'::timestamp) - extract(epoch from '2026-06-20 15:00: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'), 46674, 'SRID=4674;POINT (-38.970838 -2.993501)', '2026-06-20 15:01:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970817 -2.993402)'), GeomFromEWKT('SRID=4674;POINT (-38.970838 -2.993501)'))) / (select extract(epoch from '2026-06-20 15:01:40'::timestamp) - extract(epoch from '2026-06-20 15:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970817 -2.993402)'), GeomFromEWKT('SRID=4674;POINT (-38.970838 -2.993501)'))) / (select extract(epoch from '2026-06-20 15:01:40'::timestamp) - extract(epoch from '2026-06-20 15:00: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'), 46674, 'SRID=4674;POINT (-38.970837 -2.993534)', '2026-06-20 15:01:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970838 -2.993501)'), GeomFromEWKT('SRID=4674;POINT (-38.970837 -2.993534)'))) / (select extract(epoch from '2026-06-20 15:01:47'::timestamp) - extract(epoch from '2026-06-20 15:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970838 -2.993501)'), GeomFromEWKT('SRID=4674;POINT (-38.970837 -2.993534)'))) / (select extract(epoch from '2026-06-20 15:01:47'::timestamp) - extract(epoch from '2026-06-20 15:01: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'), 46674, 'SRID=4674;POINT (-38.97087 -2.993551)', '2026-06-20 15:01:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970837 -2.993534)'), GeomFromEWKT('SRID=4674;POINT (-38.97087 -2.993551)'))) / (select extract(epoch from '2026-06-20 15:01:58'::timestamp) - extract(epoch from '2026-06-20 15:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970837 -2.993534)'), GeomFromEWKT('SRID=4674;POINT (-38.97087 -2.993551)'))) / (select extract(epoch from '2026-06-20 15:01:58'::timestamp) - extract(epoch from '2026-06-20 15:01: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'), 46674, 'SRID=4674;POINT (-38.970905 -2.99354)', '2026-06-20 15:02:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97087 -2.993551)'), GeomFromEWKT('SRID=4674;POINT (-38.970905 -2.99354)'))) / (select extract(epoch from '2026-06-20 15:02:05'::timestamp) - extract(epoch from '2026-06-20 15:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97087 -2.993551)'), GeomFromEWKT('SRID=4674;POINT (-38.970905 -2.99354)'))) / (select extract(epoch from '2026-06-20 15:02:05'::timestamp) - extract(epoch from '2026-06-20 15:01: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'), 46674, 'SRID=4674;POINT (-38.970949 -2.993524)', '2026-06-20 15:02:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970905 -2.99354)'), GeomFromEWKT('SRID=4674;POINT (-38.970949 -2.993524)'))) / (select extract(epoch from '2026-06-20 15:02:14'::timestamp) - extract(epoch from '2026-06-20 15:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970905 -2.99354)'), GeomFromEWKT('SRID=4674;POINT (-38.970949 -2.993524)'))) / (select extract(epoch from '2026-06-20 15:02:14'::timestamp) - extract(epoch from '2026-06-20 15:02: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'), 46674, 'SRID=4674;POINT (-38.970976 -2.993517)', '2026-06-20 15:02:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970949 -2.993524)'), GeomFromEWKT('SRID=4674;POINT (-38.970976 -2.993517)'))) / (select extract(epoch from '2026-06-20 15:02:25'::timestamp) - extract(epoch from '2026-06-20 15:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970949 -2.993524)'), GeomFromEWKT('SRID=4674;POINT (-38.970976 -2.993517)'))) / (select extract(epoch from '2026-06-20 15:02:25'::timestamp) - extract(epoch from '2026-06-20 15:02: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'), 46674, 'SRID=4674;POINT (-38.970995 -2.993521)', '2026-06-20 15:02:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970976 -2.993517)'), GeomFromEWKT('SRID=4674;POINT (-38.970995 -2.993521)'))) / (select extract(epoch from '2026-06-20 15:02:31'::timestamp) - extract(epoch from '2026-06-20 15:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970976 -2.993517)'), GeomFromEWKT('SRID=4674;POINT (-38.970995 -2.993521)'))) / (select extract(epoch from '2026-06-20 15:02:31'::timestamp) - extract(epoch from '2026-06-20 15:02: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'), 46674, 'SRID=4674;POINT (-38.971042 -2.993506)', '2026-06-20 15:02:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970995 -2.993521)'), GeomFromEWKT('SRID=4674;POINT (-38.971042 -2.993506)'))) / (select extract(epoch from '2026-06-20 15:02:54'::timestamp) - extract(epoch from '2026-06-20 15:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.970995 -2.993521)'), GeomFromEWKT('SRID=4674;POINT (-38.971042 -2.993506)'))) / (select extract(epoch from '2026-06-20 15:02:54'::timestamp) - extract(epoch from '2026-06-20 15:02: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'), 46674, 'SRID=4674;POINT (-38.971085 -2.993475)', '2026-06-20 15:03:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971042 -2.993506)'), GeomFromEWKT('SRID=4674;POINT (-38.971085 -2.993475)'))) / (select extract(epoch from '2026-06-20 15:03:06'::timestamp) - extract(epoch from '2026-06-20 15:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971042 -2.993506)'), GeomFromEWKT('SRID=4674;POINT (-38.971085 -2.993475)'))) / (select extract(epoch from '2026-06-20 15:03:06'::timestamp) - extract(epoch from '2026-06-20 15: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'), 46674, 'SRID=4674;POINT (-38.971149 -2.99342)', '2026-06-20 15:03:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971085 -2.993475)'), GeomFromEWKT('SRID=4674;POINT (-38.971149 -2.99342)'))) / (select extract(epoch from '2026-06-20 15:03:53'::timestamp) - extract(epoch from '2026-06-20 15:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971085 -2.993475)'), GeomFromEWKT('SRID=4674;POINT (-38.971149 -2.99342)'))) / (select extract(epoch from '2026-06-20 15:03:53'::timestamp) - extract(epoch from '2026-06-20 15:03: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'), 46674, 'SRID=4674;POINT (-38.971203 -2.993372)', '2026-06-20 15:04:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971149 -2.99342)'), GeomFromEWKT('SRID=4674;POINT (-38.971203 -2.993372)'))) / (select extract(epoch from '2026-06-20 15:04:04'::timestamp) - extract(epoch from '2026-06-20 15:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971149 -2.99342)'), GeomFromEWKT('SRID=4674;POINT (-38.971203 -2.993372)'))) / (select extract(epoch from '2026-06-20 15:04:04'::timestamp) - extract(epoch from '2026-06-20 15:03: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'), 46674, 'SRID=4674;POINT (-38.971266 -2.993336)', '2026-06-20 15:04:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971203 -2.993372)'), GeomFromEWKT('SRID=4674;POINT (-38.971266 -2.993336)'))) / (select extract(epoch from '2026-06-20 15:04:16'::timestamp) - extract(epoch from '2026-06-20 15:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971203 -2.993372)'), GeomFromEWKT('SRID=4674;POINT (-38.971266 -2.993336)'))) / (select extract(epoch from '2026-06-20 15:04:16'::timestamp) - extract(epoch from '2026-06-20 15:04: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'), 46674, 'SRID=4674;POINT (-38.971264 -2.993354)', '2026-06-20 15:04:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971266 -2.993336)'), GeomFromEWKT('SRID=4674;POINT (-38.971264 -2.993354)'))) / (select extract(epoch from '2026-06-20 15:04:25'::timestamp) - extract(epoch from '2026-06-20 15:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971266 -2.993336)'), GeomFromEWKT('SRID=4674;POINT (-38.971264 -2.993354)'))) / (select extract(epoch from '2026-06-20 15:04:25'::timestamp) - extract(epoch from '2026-06-20 15:04: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'), 46674, 'SRID=4674;POINT (-38.971247 -2.993448)', '2026-06-20 15:04:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971264 -2.993354)'), GeomFromEWKT('SRID=4674;POINT (-38.971247 -2.993448)'))) / (select extract(epoch from '2026-06-20 15:04:33'::timestamp) - extract(epoch from '2026-06-20 15:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971264 -2.993354)'), GeomFromEWKT('SRID=4674;POINT (-38.971247 -2.993448)'))) / (select extract(epoch from '2026-06-20 15:04:33'::timestamp) - extract(epoch from '2026-06-20 15:04: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'), 46674, 'SRID=4674;POINT (-38.971291 -2.993566)', '2026-06-20 15:04:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971247 -2.993448)'), GeomFromEWKT('SRID=4674;POINT (-38.971291 -2.993566)'))) / (select extract(epoch from '2026-06-20 15:04:40'::timestamp) - extract(epoch from '2026-06-20 15:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971247 -2.993448)'), GeomFromEWKT('SRID=4674;POINT (-38.971291 -2.993566)'))) / (select extract(epoch from '2026-06-20 15:04:40'::timestamp) - extract(epoch from '2026-06-20 15:04: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'), 46674, 'SRID=4674;POINT (-38.971416 -2.993669)', '2026-06-20 15:04:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971291 -2.993566)'), GeomFromEWKT('SRID=4674;POINT (-38.971416 -2.993669)'))) / (select extract(epoch from '2026-06-20 15:04:47'::timestamp) - extract(epoch from '2026-06-20 15:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971291 -2.993566)'), GeomFromEWKT('SRID=4674;POINT (-38.971416 -2.993669)'))) / (select extract(epoch from '2026-06-20 15:04:47'::timestamp) - extract(epoch from '2026-06-20 15:04: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'), 46674, 'SRID=4674;POINT (-38.971569 -2.993739)', '2026-06-20 15:04:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971416 -2.993669)'), GeomFromEWKT('SRID=4674;POINT (-38.971569 -2.993739)'))) / (select extract(epoch from '2026-06-20 15:04:53'::timestamp) - extract(epoch from '2026-06-20 15:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971416 -2.993669)'), GeomFromEWKT('SRID=4674;POINT (-38.971569 -2.993739)'))) / (select extract(epoch from '2026-06-20 15:04:53'::timestamp) - extract(epoch from '2026-06-20 15:04: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'), 46674, 'SRID=4674;POINT (-38.971799 -2.993855)', '2026-06-20 15:05:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971569 -2.993739)'), GeomFromEWKT('SRID=4674;POINT (-38.971799 -2.993855)'))) / (select extract(epoch from '2026-06-20 15:05:02'::timestamp) - extract(epoch from '2026-06-20 15:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971569 -2.993739)'), GeomFromEWKT('SRID=4674;POINT (-38.971799 -2.993855)'))) / (select extract(epoch from '2026-06-20 15:05:02'::timestamp) - extract(epoch from '2026-06-20 15:04: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'), 46674, 'SRID=4674;POINT (-38.97197 -2.993981)', '2026-06-20 15:05:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971799 -2.993855)'), GeomFromEWKT('SRID=4674;POINT (-38.97197 -2.993981)'))) / (select extract(epoch from '2026-06-20 15:05:10'::timestamp) - extract(epoch from '2026-06-20 15:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.971799 -2.993855)'), GeomFromEWKT('SRID=4674;POINT (-38.97197 -2.993981)'))) / (select extract(epoch from '2026-06-20 15:05:10'::timestamp) - extract(epoch from '2026-06-20 15:05: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'), 46674, 'SRID=4674;POINT (-38.972087 -2.994085)', '2026-06-20 15:05:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97197 -2.993981)'), GeomFromEWKT('SRID=4674;POINT (-38.972087 -2.994085)'))) / (select extract(epoch from '2026-06-20 15:05:16'::timestamp) - extract(epoch from '2026-06-20 15:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97197 -2.993981)'), GeomFromEWKT('SRID=4674;POINT (-38.972087 -2.994085)'))) / (select extract(epoch from '2026-06-20 15:05:16'::timestamp) - extract(epoch from '2026-06-20 15:05: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'), 46674, 'SRID=4674;POINT (-38.972217 -2.994221)', '2026-06-20 15:05:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972087 -2.994085)'), GeomFromEWKT('SRID=4674;POINT (-38.972217 -2.994221)'))) / (select extract(epoch from '2026-06-20 15:05:23'::timestamp) - extract(epoch from '2026-06-20 15:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972087 -2.994085)'), GeomFromEWKT('SRID=4674;POINT (-38.972217 -2.994221)'))) / (select extract(epoch from '2026-06-20 15:05:23'::timestamp) - extract(epoch from '2026-06-20 15:05: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'), 46674, 'SRID=4674;POINT (-38.972333 -2.994366)', '2026-06-20 15:05:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972217 -2.994221)'), GeomFromEWKT('SRID=4674;POINT (-38.972333 -2.994366)'))) / (select extract(epoch from '2026-06-20 15:05:30'::timestamp) - extract(epoch from '2026-06-20 15:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972217 -2.994221)'), GeomFromEWKT('SRID=4674;POINT (-38.972333 -2.994366)'))) / (select extract(epoch from '2026-06-20 15:05:30'::timestamp) - extract(epoch from '2026-06-20 15:05: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'), 46674, 'SRID=4674;POINT (-38.972396 -2.994493)', '2026-06-20 15:05:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972333 -2.994366)'), GeomFromEWKT('SRID=4674;POINT (-38.972396 -2.994493)'))) / (select extract(epoch from '2026-06-20 15:05:36'::timestamp) - extract(epoch from '2026-06-20 15:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972333 -2.994366)'), GeomFromEWKT('SRID=4674;POINT (-38.972396 -2.994493)'))) / (select extract(epoch from '2026-06-20 15:05:36'::timestamp) - extract(epoch from '2026-06-20 15:05: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'), 46674, 'SRID=4674;POINT (-38.97243 -2.994666)', '2026-06-20 15:05:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972396 -2.994493)'), GeomFromEWKT('SRID=4674;POINT (-38.97243 -2.994666)'))) / (select extract(epoch from '2026-06-20 15:05:43'::timestamp) - extract(epoch from '2026-06-20 15:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972396 -2.994493)'), GeomFromEWKT('SRID=4674;POINT (-38.97243 -2.994666)'))) / (select extract(epoch from '2026-06-20 15:05:43'::timestamp) - extract(epoch from '2026-06-20 15:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.972443 -2.994843)', '2026-06-20 15:05:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97243 -2.994666)'), GeomFromEWKT('SRID=4674;POINT (-38.972443 -2.994843)'))) / (select extract(epoch from '2026-06-20 15:05:51'::timestamp) - extract(epoch from '2026-06-20 15:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97243 -2.994666)'), GeomFromEWKT('SRID=4674;POINT (-38.972443 -2.994843)'))) / (select extract(epoch from '2026-06-20 15:05:51'::timestamp) - extract(epoch from '2026-06-20 15: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'), 46674, 'SRID=4674;POINT (-38.972414 -2.994925)', '2026-06-20 15:05:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972443 -2.994843)'), GeomFromEWKT('SRID=4674;POINT (-38.972414 -2.994925)'))) / (select extract(epoch from '2026-06-20 15:05:56'::timestamp) - extract(epoch from '2026-06-20 15:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972443 -2.994843)'), GeomFromEWKT('SRID=4674;POINT (-38.972414 -2.994925)'))) / (select extract(epoch from '2026-06-20 15:05:56'::timestamp) - extract(epoch from '2026-06-20 15:05: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'), 46674, 'SRID=4674;POINT (-38.97234 -2.995006)', '2026-06-20 15:06:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972414 -2.994925)'), GeomFromEWKT('SRID=4674;POINT (-38.97234 -2.995006)'))) / (select extract(epoch from '2026-06-20 15:06:03'::timestamp) - extract(epoch from '2026-06-20 15:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972414 -2.994925)'), GeomFromEWKT('SRID=4674;POINT (-38.97234 -2.995006)'))) / (select extract(epoch from '2026-06-20 15:06:03'::timestamp) - extract(epoch from '2026-06-20 15:05: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'), 46674, 'SRID=4674;POINT (-38.972256 -2.995043)', '2026-06-20 15:06:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97234 -2.995006)'), GeomFromEWKT('SRID=4674;POINT (-38.972256 -2.995043)'))) / (select extract(epoch from '2026-06-20 15:06:10'::timestamp) - extract(epoch from '2026-06-20 15:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97234 -2.995006)'), GeomFromEWKT('SRID=4674;POINT (-38.972256 -2.995043)'))) / (select extract(epoch from '2026-06-20 15:06:10'::timestamp) - extract(epoch from '2026-06-20 15:06: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'), 46674, 'SRID=4674;POINT (-38.972199 -2.995017)', '2026-06-20 15:06:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972256 -2.995043)'), GeomFromEWKT('SRID=4674;POINT (-38.972199 -2.995017)'))) / (select extract(epoch from '2026-06-20 15:06:16'::timestamp) - extract(epoch from '2026-06-20 15:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972256 -2.995043)'), GeomFromEWKT('SRID=4674;POINT (-38.972199 -2.995017)'))) / (select extract(epoch from '2026-06-20 15:06:16'::timestamp) - extract(epoch from '2026-06-20 15:06: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'), 46674, 'SRID=4674;POINT (-38.972168 -2.994963)', '2026-06-20 15:06:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972199 -2.995017)'), GeomFromEWKT('SRID=4674;POINT (-38.972168 -2.994963)'))) / (select extract(epoch from '2026-06-20 15:06:23'::timestamp) - extract(epoch from '2026-06-20 15:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972199 -2.995017)'), GeomFromEWKT('SRID=4674;POINT (-38.972168 -2.994963)'))) / (select extract(epoch from '2026-06-20 15:06:23'::timestamp) - extract(epoch from '2026-06-20 15:06: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'), 46674, 'SRID=4674;POINT (-38.972164 -2.994953)', '2026-06-20 15:06:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972168 -2.994963)'), GeomFromEWKT('SRID=4674;POINT (-38.972164 -2.994953)'))) / (select extract(epoch from '2026-06-20 15:06:24'::timestamp) - extract(epoch from '2026-06-20 15:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972168 -2.994963)'), GeomFromEWKT('SRID=4674;POINT (-38.972164 -2.994953)'))) / (select extract(epoch from '2026-06-20 15:06:24'::timestamp) - extract(epoch from '2026-06-20 15:06: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'), 46674, 'SRID=4674;POINT (-38.972162 -2.994893)', '2026-06-20 15:06:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972164 -2.994953)'), GeomFromEWKT('SRID=4674;POINT (-38.972162 -2.994893)'))) / (select extract(epoch from '2026-06-20 15:06:31'::timestamp) - extract(epoch from '2026-06-20 15:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972164 -2.994953)'), GeomFromEWKT('SRID=4674;POINT (-38.972162 -2.994893)'))) / (select extract(epoch from '2026-06-20 15:06:31'::timestamp) - extract(epoch from '2026-06-20 15: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'), 46674, 'SRID=4674;POINT (-38.972174 -2.99487)', '2026-06-20 15:06:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972162 -2.994893)'), GeomFromEWKT('SRID=4674;POINT (-38.972174 -2.99487)'))) / (select extract(epoch from '2026-06-20 15:06:34'::timestamp) - extract(epoch from '2026-06-20 15:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972162 -2.994893)'), GeomFromEWKT('SRID=4674;POINT (-38.972174 -2.99487)'))) / (select extract(epoch from '2026-06-20 15:06:34'::timestamp) - extract(epoch from '2026-06-20 15: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'), 46674, 'SRID=4674;POINT (-38.972179 -2.99485)', '2026-06-20 15:06:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972174 -2.99487)'), GeomFromEWKT('SRID=4674;POINT (-38.972179 -2.99485)'))) / (select extract(epoch from '2026-06-20 15:06:36'::timestamp) - extract(epoch from '2026-06-20 15:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972174 -2.99487)'), GeomFromEWKT('SRID=4674;POINT (-38.972179 -2.99485)'))) / (select extract(epoch from '2026-06-20 15:06:36'::timestamp) - extract(epoch from '2026-06-20 15:06: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'), 46674, 'SRID=4674;POINT (-38.972199 -2.994819)', '2026-06-20 15:06:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972179 -2.99485)'), GeomFromEWKT('SRID=4674;POINT (-38.972199 -2.994819)'))) / (select extract(epoch from '2026-06-20 15:06:40'::timestamp) - extract(epoch from '2026-06-20 15:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972179 -2.99485)'), GeomFromEWKT('SRID=4674;POINT (-38.972199 -2.994819)'))) / (select extract(epoch from '2026-06-20 15:06:40'::timestamp) - extract(epoch from '2026-06-20 15:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.972201 -2.9948)', '2026-06-20 15:06:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972199 -2.994819)'), GeomFromEWKT('SRID=4674;POINT (-38.972201 -2.9948)'))) / (select extract(epoch from '2026-06-20 15:06:42'::timestamp) - extract(epoch from '2026-06-20 15:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972199 -2.994819)'), GeomFromEWKT('SRID=4674;POINT (-38.972201 -2.9948)'))) / (select extract(epoch from '2026-06-20 15:06:42'::timestamp) - extract(epoch from '2026-06-20 15:06: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'), 46674, 'SRID=4674;POINT (-38.972234 -2.994741)', '2026-06-20 15:06:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972201 -2.9948)'), GeomFromEWKT('SRID=4674;POINT (-38.972234 -2.994741)'))) / (select extract(epoch from '2026-06-20 15:06:50'::timestamp) - extract(epoch from '2026-06-20 15:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972201 -2.9948)'), GeomFromEWKT('SRID=4674;POINT (-38.972234 -2.994741)'))) / (select extract(epoch from '2026-06-20 15:06:50'::timestamp) - extract(epoch from '2026-06-20 15:06: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'), 46674, 'SRID=4674;POINT (-38.972277 -2.994681)', '2026-06-20 15:06:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972234 -2.994741)'), GeomFromEWKT('SRID=4674;POINT (-38.972277 -2.994681)'))) / (select extract(epoch from '2026-06-20 15:06:58'::timestamp) - extract(epoch from '2026-06-20 15:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972234 -2.994741)'), GeomFromEWKT('SRID=4674;POINT (-38.972277 -2.994681)'))) / (select extract(epoch from '2026-06-20 15:06:58'::timestamp) - extract(epoch from '2026-06-20 15:06: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'), 46674, 'SRID=4674;POINT (-38.972307 -2.99464)', '2026-06-20 15:07:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972277 -2.994681)'), GeomFromEWKT('SRID=4674;POINT (-38.972307 -2.99464)'))) / (select extract(epoch from '2026-06-20 15:07:05'::timestamp) - extract(epoch from '2026-06-20 15:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972277 -2.994681)'), GeomFromEWKT('SRID=4674;POINT (-38.972307 -2.99464)'))) / (select extract(epoch from '2026-06-20 15:07:05'::timestamp) - extract(epoch from '2026-06-20 15: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'), 46674, 'SRID=4674;POINT (-38.972346 -2.994581)', '2026-06-20 15:07:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972307 -2.99464)'), GeomFromEWKT('SRID=4674;POINT (-38.972346 -2.994581)'))) / (select extract(epoch from '2026-06-20 15:07:15'::timestamp) - extract(epoch from '2026-06-20 15:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972307 -2.99464)'), GeomFromEWKT('SRID=4674;POINT (-38.972346 -2.994581)'))) / (select extract(epoch from '2026-06-20 15:07:15'::timestamp) - extract(epoch from '2026-06-20 15:07: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'), 46674, 'SRID=4674;POINT (-38.972387 -2.994536)', '2026-06-20 15:07:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972346 -2.994581)'), GeomFromEWKT('SRID=4674;POINT (-38.972387 -2.994536)'))) / (select extract(epoch from '2026-06-20 15:07:23'::timestamp) - extract(epoch from '2026-06-20 15:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972346 -2.994581)'), GeomFromEWKT('SRID=4674;POINT (-38.972387 -2.994536)'))) / (select extract(epoch from '2026-06-20 15:07:23'::timestamp) - extract(epoch from '2026-06-20 15:07: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'), 46674, 'SRID=4674;POINT (-38.972461 -2.994479)', '2026-06-20 15:07:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972387 -2.994536)'), GeomFromEWKT('SRID=4674;POINT (-38.972461 -2.994479)'))) / (select extract(epoch from '2026-06-20 15:07:34'::timestamp) - extract(epoch from '2026-06-20 15:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972387 -2.994536)'), GeomFromEWKT('SRID=4674;POINT (-38.972461 -2.994479)'))) / (select extract(epoch from '2026-06-20 15:07:34'::timestamp) - extract(epoch from '2026-06-20 15:07: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'), 46674, 'SRID=4674;POINT (-38.972486 -2.994437)', '2026-06-20 15:07:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972461 -2.994479)'), GeomFromEWKT('SRID=4674;POINT (-38.972486 -2.994437)'))) / (select extract(epoch from '2026-06-20 15:07:42'::timestamp) - extract(epoch from '2026-06-20 15:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972461 -2.994479)'), GeomFromEWKT('SRID=4674;POINT (-38.972486 -2.994437)'))) / (select extract(epoch from '2026-06-20 15:07:42'::timestamp) - extract(epoch from '2026-06-20 15:07: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'), 46674, 'SRID=4674;POINT (-38.972488 -2.994371)', '2026-06-20 15:07:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972486 -2.994437)'), GeomFromEWKT('SRID=4674;POINT (-38.972488 -2.994371)'))) / (select extract(epoch from '2026-06-20 15:07:51'::timestamp) - extract(epoch from '2026-06-20 15:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972486 -2.994437)'), GeomFromEWKT('SRID=4674;POINT (-38.972488 -2.994371)'))) / (select extract(epoch from '2026-06-20 15:07:51'::timestamp) - extract(epoch from '2026-06-20 15:07: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'), 46674, 'SRID=4674;POINT (-38.972496 -2.99433)', '2026-06-20 15:07:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972488 -2.994371)'), GeomFromEWKT('SRID=4674;POINT (-38.972496 -2.99433)'))) / (select extract(epoch from '2026-06-20 15:07:59'::timestamp) - extract(epoch from '2026-06-20 15:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972488 -2.994371)'), GeomFromEWKT('SRID=4674;POINT (-38.972496 -2.99433)'))) / (select extract(epoch from '2026-06-20 15:07:59'::timestamp) - extract(epoch from '2026-06-20 15:07: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'), 46674, 'SRID=4674;POINT (-38.972545 -2.994382)', '2026-06-20 15:08:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972496 -2.99433)'), GeomFromEWKT('SRID=4674;POINT (-38.972545 -2.994382)'))) / (select extract(epoch from '2026-06-20 15:08:40'::timestamp) - extract(epoch from '2026-06-20 15:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972496 -2.99433)'), GeomFromEWKT('SRID=4674;POINT (-38.972545 -2.994382)'))) / (select extract(epoch from '2026-06-20 15:08:40'::timestamp) - extract(epoch from '2026-06-20 15:07: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'), 46674, 'SRID=4674;POINT (-38.972563 -2.994427)', '2026-06-20 15:08:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972545 -2.994382)'), GeomFromEWKT('SRID=4674;POINT (-38.972563 -2.994427)'))) / (select extract(epoch from '2026-06-20 15:08:52'::timestamp) - extract(epoch from '2026-06-20 15:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972545 -2.994382)'), GeomFromEWKT('SRID=4674;POINT (-38.972563 -2.994427)'))) / (select extract(epoch from '2026-06-20 15:08:52'::timestamp) - extract(epoch from '2026-06-20 15:08: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'), 46674, 'SRID=4674;POINT (-38.972626 -2.994427)', '2026-06-20 15:09:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972563 -2.994427)'), GeomFromEWKT('SRID=4674;POINT (-38.972626 -2.994427)'))) / (select extract(epoch from '2026-06-20 15:09:17'::timestamp) - extract(epoch from '2026-06-20 15:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972563 -2.994427)'), GeomFromEWKT('SRID=4674;POINT (-38.972626 -2.994427)'))) / (select extract(epoch from '2026-06-20 15:09:17'::timestamp) - extract(epoch from '2026-06-20 15:08: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'), 46674, 'SRID=4674;POINT (-38.972661 -2.994414)', '2026-06-20 15:09:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972626 -2.994427)'), GeomFromEWKT('SRID=4674;POINT (-38.972661 -2.994414)'))) / (select extract(epoch from '2026-06-20 15:09:25'::timestamp) - extract(epoch from '2026-06-20 15:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972626 -2.994427)'), GeomFromEWKT('SRID=4674;POINT (-38.972661 -2.994414)'))) / (select extract(epoch from '2026-06-20 15:09:25'::timestamp) - extract(epoch from '2026-06-20 15:09: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'), 46674, 'SRID=4674;POINT (-38.972718 -2.99438)', '2026-06-20 15:09:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972661 -2.994414)'), GeomFromEWKT('SRID=4674;POINT (-38.972718 -2.99438)'))) / (select extract(epoch from '2026-06-20 15:09:38'::timestamp) - extract(epoch from '2026-06-20 15:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972661 -2.994414)'), GeomFromEWKT('SRID=4674;POINT (-38.972718 -2.99438)'))) / (select extract(epoch from '2026-06-20 15:09:38'::timestamp) - extract(epoch from '2026-06-20 15:09: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'), 46674, 'SRID=4674;POINT (-38.972784 -2.994326)', '2026-06-20 15:09:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972718 -2.99438)'), GeomFromEWKT('SRID=4674;POINT (-38.972784 -2.994326)'))) / (select extract(epoch from '2026-06-20 15:09:52'::timestamp) - extract(epoch from '2026-06-20 15:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972718 -2.99438)'), GeomFromEWKT('SRID=4674;POINT (-38.972784 -2.994326)'))) / (select extract(epoch from '2026-06-20 15:09:52'::timestamp) - extract(epoch from '2026-06-20 15:09: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'), 46674, 'SRID=4674;POINT (-38.972842 -2.994272)', '2026-06-20 15:10:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972784 -2.994326)'), GeomFromEWKT('SRID=4674;POINT (-38.972842 -2.994272)'))) / (select extract(epoch from '2026-06-20 15:10:04'::timestamp) - extract(epoch from '2026-06-20 15:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972784 -2.994326)'), GeomFromEWKT('SRID=4674;POINT (-38.972842 -2.994272)'))) / (select extract(epoch from '2026-06-20 15:10:04'::timestamp) - extract(epoch from '2026-06-20 15:09: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'), 46674, 'SRID=4674;POINT (-38.972922 -2.994243)', '2026-06-20 15:10:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972842 -2.994272)'), GeomFromEWKT('SRID=4674;POINT (-38.972922 -2.994243)'))) / (select extract(epoch from '2026-06-20 15:10:17'::timestamp) - extract(epoch from '2026-06-20 15:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972842 -2.994272)'), GeomFromEWKT('SRID=4674;POINT (-38.972922 -2.994243)'))) / (select extract(epoch from '2026-06-20 15:10:17'::timestamp) - extract(epoch from '2026-06-20 15:10: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'), 46674, 'SRID=4674;POINT (-38.97295 -2.994238)', '2026-06-20 15:10:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972922 -2.994243)'), GeomFromEWKT('SRID=4674;POINT (-38.97295 -2.994238)'))) / (select extract(epoch from '2026-06-20 15:10:25'::timestamp) - extract(epoch from '2026-06-20 15:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972922 -2.994243)'), GeomFromEWKT('SRID=4674;POINT (-38.97295 -2.994238)'))) / (select extract(epoch from '2026-06-20 15:10:25'::timestamp) - extract(epoch from '2026-06-20 15:10: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'), 46674, 'SRID=4674;POINT (-38.97294 -2.994237)', '2026-06-20 15:10:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97295 -2.994238)'), GeomFromEWKT('SRID=4674;POINT (-38.97294 -2.994237)'))) / (select extract(epoch from '2026-06-20 15:10:58'::timestamp) - extract(epoch from '2026-06-20 15:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97295 -2.994238)'), GeomFromEWKT('SRID=4674;POINT (-38.97294 -2.994237)'))) / (select extract(epoch from '2026-06-20 15:10:58'::timestamp) - extract(epoch from '2026-06-20 15:10: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'), 46674, 'SRID=4674;POINT (-38.972938 -2.994241)', '2026-06-20 15:11:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97294 -2.994237)'), GeomFromEWKT('SRID=4674;POINT (-38.972938 -2.994241)'))) / (select extract(epoch from '2026-06-20 15:11:04'::timestamp) - extract(epoch from '2026-06-20 15:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97294 -2.994237)'), GeomFromEWKT('SRID=4674;POINT (-38.972938 -2.994241)'))) / (select extract(epoch from '2026-06-20 15:11:04'::timestamp) - extract(epoch from '2026-06-20 15:10: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'), 46674, 'SRID=4674;POINT (-38.972937 -2.994265)', '2026-06-20 15:11:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972938 -2.994241)'), GeomFromEWKT('SRID=4674;POINT (-38.972937 -2.994265)'))) / (select extract(epoch from '2026-06-20 15:11:11'::timestamp) - extract(epoch from '2026-06-20 15:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972938 -2.994241)'), GeomFromEWKT('SRID=4674;POINT (-38.972937 -2.994265)'))) / (select extract(epoch from '2026-06-20 15:11:11'::timestamp) - extract(epoch from '2026-06-20 15:11: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'), 46674, 'SRID=4674;POINT (-38.972982 -2.994253)', '2026-06-20 15:11:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972937 -2.994265)'), GeomFromEWKT('SRID=4674;POINT (-38.972982 -2.994253)'))) / (select extract(epoch from '2026-06-20 15:11:37'::timestamp) - extract(epoch from '2026-06-20 15:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972937 -2.994265)'), GeomFromEWKT('SRID=4674;POINT (-38.972982 -2.994253)'))) / (select extract(epoch from '2026-06-20 15:11:37'::timestamp) - extract(epoch from '2026-06-20 15:11: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'), 46674, 'SRID=4674;POINT (-38.973007 -2.994221)', '2026-06-20 15:11:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972982 -2.994253)'), GeomFromEWKT('SRID=4674;POINT (-38.973007 -2.994221)'))) / (select extract(epoch from '2026-06-20 15:11:48'::timestamp) - extract(epoch from '2026-06-20 15:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.972982 -2.994253)'), GeomFromEWKT('SRID=4674;POINT (-38.973007 -2.994221)'))) / (select extract(epoch from '2026-06-20 15:11:48'::timestamp) - extract(epoch from '2026-06-20 15:11: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'), 46674, 'SRID=4674;POINT (-38.973026 -2.994198)', '2026-06-20 15:12:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973007 -2.994221)'), GeomFromEWKT('SRID=4674;POINT (-38.973026 -2.994198)'))) / (select extract(epoch from '2026-06-20 15:12:21'::timestamp) - extract(epoch from '2026-06-20 15:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973007 -2.994221)'), GeomFromEWKT('SRID=4674;POINT (-38.973026 -2.994198)'))) / (select extract(epoch from '2026-06-20 15:12:21'::timestamp) - extract(epoch from '2026-06-20 15:11: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'), 46674, 'SRID=4674;POINT (-38.973061 -2.994175)', '2026-06-20 15:12:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973026 -2.994198)'), GeomFromEWKT('SRID=4674;POINT (-38.973061 -2.994175)'))) / (select extract(epoch from '2026-06-20 15:12:28'::timestamp) - extract(epoch from '2026-06-20 15:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973026 -2.994198)'), GeomFromEWKT('SRID=4674;POINT (-38.973061 -2.994175)'))) / (select extract(epoch from '2026-06-20 15:12:28'::timestamp) - extract(epoch from '2026-06-20 15:12: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'), 46674, 'SRID=4674;POINT (-38.973099 -2.994148)', '2026-06-20 15:12:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973061 -2.994175)'), GeomFromEWKT('SRID=4674;POINT (-38.973099 -2.994148)'))) / (select extract(epoch from '2026-06-20 15:12:37'::timestamp) - extract(epoch from '2026-06-20 15:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973061 -2.994175)'), GeomFromEWKT('SRID=4674;POINT (-38.973099 -2.994148)'))) / (select extract(epoch from '2026-06-20 15:12:37'::timestamp) - extract(epoch from '2026-06-20 15:12: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'), 46674, 'SRID=4674;POINT (-38.973122 -2.99415)', '2026-06-20 15:12:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973099 -2.994148)'), GeomFromEWKT('SRID=4674;POINT (-38.973122 -2.99415)'))) / (select extract(epoch from '2026-06-20 15:12:43'::timestamp) - extract(epoch from '2026-06-20 15:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973099 -2.994148)'), GeomFromEWKT('SRID=4674;POINT (-38.973122 -2.99415)'))) / (select extract(epoch from '2026-06-20 15:12:43'::timestamp) - extract(epoch from '2026-06-20 15:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.973134 -2.994152)', '2026-06-20 15:12:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973122 -2.99415)'), GeomFromEWKT('SRID=4674;POINT (-38.973134 -2.994152)'))) / (select extract(epoch from '2026-06-20 15:12:52'::timestamp) - extract(epoch from '2026-06-20 15:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973122 -2.99415)'), GeomFromEWKT('SRID=4674;POINT (-38.973134 -2.994152)'))) / (select extract(epoch from '2026-06-20 15:12:52'::timestamp) - extract(epoch from '2026-06-20 15:12: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'), 46674, 'SRID=4674;POINT (-38.973145 -2.994154)', '2026-06-20 15:12:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973134 -2.994152)'), GeomFromEWKT('SRID=4674;POINT (-38.973145 -2.994154)'))) / (select extract(epoch from '2026-06-20 15:12:58'::timestamp) - extract(epoch from '2026-06-20 15:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973134 -2.994152)'), GeomFromEWKT('SRID=4674;POINT (-38.973145 -2.994154)'))) / (select extract(epoch from '2026-06-20 15:12:58'::timestamp) - extract(epoch from '2026-06-20 15:12: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'), 46674, 'SRID=4674;POINT (-38.973219 -2.994155)', '2026-06-20 15:13:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973145 -2.994154)'), GeomFromEWKT('SRID=4674;POINT (-38.973219 -2.994155)'))) / (select extract(epoch from '2026-06-20 15:13:28'::timestamp) - extract(epoch from '2026-06-20 15:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973145 -2.994154)'), GeomFromEWKT('SRID=4674;POINT (-38.973219 -2.994155)'))) / (select extract(epoch from '2026-06-20 15:13:28'::timestamp) - extract(epoch from '2026-06-20 15:12: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'), 46674, 'SRID=4674;POINT (-38.973256 -2.994134)', '2026-06-20 15:13:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973219 -2.994155)'), GeomFromEWKT('SRID=4674;POINT (-38.973256 -2.994134)'))) / (select extract(epoch from '2026-06-20 15:13:38'::timestamp) - extract(epoch from '2026-06-20 15:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973219 -2.994155)'), GeomFromEWKT('SRID=4674;POINT (-38.973256 -2.994134)'))) / (select extract(epoch from '2026-06-20 15:13:38'::timestamp) - extract(epoch from '2026-06-20 15:13: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'), 46674, 'SRID=4674;POINT (-38.973304 -2.994113)', '2026-06-20 15:13:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973256 -2.994134)'), GeomFromEWKT('SRID=4674;POINT (-38.973304 -2.994113)'))) / (select extract(epoch from '2026-06-20 15:13:47'::timestamp) - extract(epoch from '2026-06-20 15:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973256 -2.994134)'), GeomFromEWKT('SRID=4674;POINT (-38.973304 -2.994113)'))) / (select extract(epoch from '2026-06-20 15:13:47'::timestamp) - extract(epoch from '2026-06-20 15:13: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'), 46674, 'SRID=4674;POINT (-38.973333 -2.994105)', '2026-06-20 15:13:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973304 -2.994113)'), GeomFromEWKT('SRID=4674;POINT (-38.973333 -2.994105)'))) / (select extract(epoch from '2026-06-20 15:13:54'::timestamp) - extract(epoch from '2026-06-20 15:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973304 -2.994113)'), GeomFromEWKT('SRID=4674;POINT (-38.973333 -2.994105)'))) / (select extract(epoch from '2026-06-20 15:13:54'::timestamp) - extract(epoch from '2026-06-20 15:13: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'), 46674, 'SRID=4674;POINT (-38.973366 -2.994115)', '2026-06-20 15:14:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973333 -2.994105)'), GeomFromEWKT('SRID=4674;POINT (-38.973366 -2.994115)'))) / (select extract(epoch from '2026-06-20 15:14:18'::timestamp) - extract(epoch from '2026-06-20 15:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973333 -2.994105)'), GeomFromEWKT('SRID=4674;POINT (-38.973366 -2.994115)'))) / (select extract(epoch from '2026-06-20 15:14:18'::timestamp) - extract(epoch from '2026-06-20 15:13: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'), 46674, 'SRID=4674;POINT (-38.973412 -2.994086)', '2026-06-20 15:14:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973366 -2.994115)'), GeomFromEWKT('SRID=4674;POINT (-38.973412 -2.994086)'))) / (select extract(epoch from '2026-06-20 15:14:38'::timestamp) - extract(epoch from '2026-06-20 15:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973366 -2.994115)'), GeomFromEWKT('SRID=4674;POINT (-38.973412 -2.994086)'))) / (select extract(epoch from '2026-06-20 15:14:38'::timestamp) - extract(epoch from '2026-06-20 15:14: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'), 46674, 'SRID=4674;POINT (-38.973464 -2.994054)', '2026-06-20 15:14:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973412 -2.994086)'), GeomFromEWKT('SRID=4674;POINT (-38.973464 -2.994054)'))) / (select extract(epoch from '2026-06-20 15:14:49'::timestamp) - extract(epoch from '2026-06-20 15:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973412 -2.994086)'), GeomFromEWKT('SRID=4674;POINT (-38.973464 -2.994054)'))) / (select extract(epoch from '2026-06-20 15:14:49'::timestamp) - extract(epoch from '2026-06-20 15:14: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'), 46674, 'SRID=4674;POINT (-38.973485 -2.994032)', '2026-06-20 15:14:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973464 -2.994054)'), GeomFromEWKT('SRID=4674;POINT (-38.973485 -2.994032)'))) / (select extract(epoch from '2026-06-20 15:14:56'::timestamp) - extract(epoch from '2026-06-20 15:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973464 -2.994054)'), GeomFromEWKT('SRID=4674;POINT (-38.973485 -2.994032)'))) / (select extract(epoch from '2026-06-20 15:14:56'::timestamp) - extract(epoch from '2026-06-20 15:14: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'), 46674, 'SRID=4674;POINT (-38.973486 -2.994024)', '2026-06-20 15:15:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973485 -2.994032)'), GeomFromEWKT('SRID=4674;POINT (-38.973486 -2.994024)'))) / (select extract(epoch from '2026-06-20 15:15:06'::timestamp) - extract(epoch from '2026-06-20 15:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973485 -2.994032)'), GeomFromEWKT('SRID=4674;POINT (-38.973486 -2.994024)'))) / (select extract(epoch from '2026-06-20 15:15:06'::timestamp) - extract(epoch from '2026-06-20 15:14: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'), 46674, 'SRID=4674;POINT (-38.973526 -2.994013)', '2026-06-20 15:15:40', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973486 -2.994024)'), GeomFromEWKT('SRID=4674;POINT (-38.973526 -2.994013)'))) / (select extract(epoch from '2026-06-20 15:15:40'::timestamp) - extract(epoch from '2026-06-20 15:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973486 -2.994024)'), GeomFromEWKT('SRID=4674;POINT (-38.973526 -2.994013)'))) / (select extract(epoch from '2026-06-20 15:15:40'::timestamp) - extract(epoch from '2026-06-20 15:15: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'), 46674, 'SRID=4674;POINT (-38.973557 -2.993989)', '2026-06-20 15:15:48', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973526 -2.994013)'), GeomFromEWKT('SRID=4674;POINT (-38.973557 -2.993989)'))) / (select extract(epoch from '2026-06-20 15:15:48'::timestamp) - extract(epoch from '2026-06-20 15:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973526 -2.994013)'), GeomFromEWKT('SRID=4674;POINT (-38.973557 -2.993989)'))) / (select extract(epoch from '2026-06-20 15:15:48'::timestamp) - extract(epoch from '2026-06-20 15:15: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'), 46674, 'SRID=4674;POINT (-38.973615 -2.993956)', '2026-06-20 15:15:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973557 -2.993989)'), GeomFromEWKT('SRID=4674;POINT (-38.973615 -2.993956)'))) / (select extract(epoch from '2026-06-20 15:15:59'::timestamp) - extract(epoch from '2026-06-20 15:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973557 -2.993989)'), GeomFromEWKT('SRID=4674;POINT (-38.973615 -2.993956)'))) / (select extract(epoch from '2026-06-20 15:15:59'::timestamp) - extract(epoch from '2026-06-20 15:15: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'), 46674, 'SRID=4674;POINT (-38.973667 -2.993912)', '2026-06-20 15:16:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973615 -2.993956)'), GeomFromEWKT('SRID=4674;POINT (-38.973667 -2.993912)'))) / (select extract(epoch from '2026-06-20 15:16:10'::timestamp) - extract(epoch from '2026-06-20 15:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973615 -2.993956)'), GeomFromEWKT('SRID=4674;POINT (-38.973667 -2.993912)'))) / (select extract(epoch from '2026-06-20 15:16:10'::timestamp) - extract(epoch from '2026-06-20 15:15: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'), 46674, 'SRID=4674;POINT (-38.97375 -2.993864)', '2026-06-20 15:16:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973667 -2.993912)'), GeomFromEWKT('SRID=4674;POINT (-38.97375 -2.993864)'))) / (select extract(epoch from '2026-06-20 15:16:23'::timestamp) - extract(epoch from '2026-06-20 15:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973667 -2.993912)'), GeomFromEWKT('SRID=4674;POINT (-38.97375 -2.993864)'))) / (select extract(epoch from '2026-06-20 15:16:23'::timestamp) - extract(epoch from '2026-06-20 15:16: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'), 46674, 'SRID=4674;POINT (-38.97384 -2.9938)', '2026-06-20 15:16:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97375 -2.993864)'), GeomFromEWKT('SRID=4674;POINT (-38.97384 -2.9938)'))) / (select extract(epoch from '2026-06-20 15:16:36'::timestamp) - extract(epoch from '2026-06-20 15:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97375 -2.993864)'), GeomFromEWKT('SRID=4674;POINT (-38.97384 -2.9938)'))) / (select extract(epoch from '2026-06-20 15:16:36'::timestamp) - extract(epoch from '2026-06-20 15:16: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'), 46674, 'SRID=4674;POINT (-38.973911 -2.993756)', '2026-06-20 15:16:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97384 -2.9938)'), GeomFromEWKT('SRID=4674;POINT (-38.973911 -2.993756)'))) / (select extract(epoch from '2026-06-20 15:16:45'::timestamp) - extract(epoch from '2026-06-20 15:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97384 -2.9938)'), GeomFromEWKT('SRID=4674;POINT (-38.973911 -2.993756)'))) / (select extract(epoch from '2026-06-20 15:16:45'::timestamp) - extract(epoch from '2026-06-20 15:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.973997 -2.993698)', '2026-06-20 15:16:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973911 -2.993756)'), GeomFromEWKT('SRID=4674;POINT (-38.973997 -2.993698)'))) / (select extract(epoch from '2026-06-20 15:16:56'::timestamp) - extract(epoch from '2026-06-20 15:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973911 -2.993756)'), GeomFromEWKT('SRID=4674;POINT (-38.973997 -2.993698)'))) / (select extract(epoch from '2026-06-20 15:16:56'::timestamp) - extract(epoch from '2026-06-20 15:16: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'), 46674, 'SRID=4674;POINT (-38.974095 -2.993644)', '2026-06-20 15:17:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973997 -2.993698)'), GeomFromEWKT('SRID=4674;POINT (-38.974095 -2.993644)'))) / (select extract(epoch from '2026-06-20 15:17:07'::timestamp) - extract(epoch from '2026-06-20 15:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973997 -2.993698)'), GeomFromEWKT('SRID=4674;POINT (-38.974095 -2.993644)'))) / (select extract(epoch from '2026-06-20 15:17:07'::timestamp) - extract(epoch from '2026-06-20 15:16: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'), 46674, 'SRID=4674;POINT (-38.974185 -2.993579)', '2026-06-20 15:17:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974095 -2.993644)'), GeomFromEWKT('SRID=4674;POINT (-38.974185 -2.993579)'))) / (select extract(epoch from '2026-06-20 15:17:18'::timestamp) - extract(epoch from '2026-06-20 15:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974095 -2.993644)'), GeomFromEWKT('SRID=4674;POINT (-38.974185 -2.993579)'))) / (select extract(epoch from '2026-06-20 15:17:18'::timestamp) - extract(epoch from '2026-06-20 15:17: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'), 46674, 'SRID=4674;POINT (-38.97424 -2.993541)', '2026-06-20 15:17:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974185 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-38.97424 -2.993541)'))) / (select extract(epoch from '2026-06-20 15:17:25'::timestamp) - extract(epoch from '2026-06-20 15:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974185 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-38.97424 -2.993541)'))) / (select extract(epoch from '2026-06-20 15:17:25'::timestamp) - extract(epoch from '2026-06-20 15:17: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'), 46674, 'SRID=4674;POINT (-38.97425 -2.993537)', '2026-06-20 15:17:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97424 -2.993541)'), GeomFromEWKT('SRID=4674;POINT (-38.97425 -2.993537)'))) / (select extract(epoch from '2026-06-20 15:17:26'::timestamp) - extract(epoch from '2026-06-20 15:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97424 -2.993541)'), GeomFromEWKT('SRID=4674;POINT (-38.97425 -2.993537)'))) / (select extract(epoch from '2026-06-20 15:17:26'::timestamp) - extract(epoch from '2026-06-20 15:17: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'), 46674, 'SRID=4674;POINT (-38.974301 -2.993512)', '2026-06-20 15:17:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97425 -2.993537)'), GeomFromEWKT('SRID=4674;POINT (-38.974301 -2.993512)'))) / (select extract(epoch from '2026-06-20 15:17:32'::timestamp) - extract(epoch from '2026-06-20 15:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97425 -2.993537)'), GeomFromEWKT('SRID=4674;POINT (-38.974301 -2.993512)'))) / (select extract(epoch from '2026-06-20 15:17:32'::timestamp) - extract(epoch from '2026-06-20 15:17: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'), 46674, 'SRID=4674;POINT (-38.974359 -2.993482)', '2026-06-20 15:17:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974301 -2.993512)'), GeomFromEWKT('SRID=4674;POINT (-38.974359 -2.993482)'))) / (select extract(epoch from '2026-06-20 15:17:39'::timestamp) - extract(epoch from '2026-06-20 15:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974301 -2.993512)'), GeomFromEWKT('SRID=4674;POINT (-38.974359 -2.993482)'))) / (select extract(epoch from '2026-06-20 15:17:39'::timestamp) - extract(epoch from '2026-06-20 15:17: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'), 46674, 'SRID=4674;POINT (-38.974415 -2.993452)', '2026-06-20 15:17:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974359 -2.993482)'), GeomFromEWKT('SRID=4674;POINT (-38.974415 -2.993452)'))) / (select extract(epoch from '2026-06-20 15:17:46'::timestamp) - extract(epoch from '2026-06-20 15:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974359 -2.993482)'), GeomFromEWKT('SRID=4674;POINT (-38.974415 -2.993452)'))) / (select extract(epoch from '2026-06-20 15:17:46'::timestamp) - extract(epoch from '2026-06-20 15:17: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'), 46674, 'SRID=4674;POINT (-38.974479 -2.993435)', '2026-06-20 15:17:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974415 -2.993452)'), GeomFromEWKT('SRID=4674;POINT (-38.974479 -2.993435)'))) / (select extract(epoch from '2026-06-20 15:17:53'::timestamp) - extract(epoch from '2026-06-20 15:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974415 -2.993452)'), GeomFromEWKT('SRID=4674;POINT (-38.974479 -2.993435)'))) / (select extract(epoch from '2026-06-20 15:17:53'::timestamp) - extract(epoch from '2026-06-20 15:17: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'), 46674, 'SRID=4674;POINT (-38.974548 -2.993392)', '2026-06-20 15:18:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974479 -2.993435)'), GeomFromEWKT('SRID=4674;POINT (-38.974548 -2.993392)'))) / (select extract(epoch from '2026-06-20 15:18:03'::timestamp) - extract(epoch from '2026-06-20 15:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974479 -2.993435)'), GeomFromEWKT('SRID=4674;POINT (-38.974548 -2.993392)'))) / (select extract(epoch from '2026-06-20 15:18:03'::timestamp) - extract(epoch from '2026-06-20 15:17: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'), 46674, 'SRID=4674;POINT (-38.974546 -2.993301)', '2026-06-20 15:18:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974548 -2.993392)'), GeomFromEWKT('SRID=4674;POINT (-38.974546 -2.993301)'))) / (select extract(epoch from '2026-06-20 15:18:12'::timestamp) - extract(epoch from '2026-06-20 15:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974548 -2.993392)'), GeomFromEWKT('SRID=4674;POINT (-38.974546 -2.993301)'))) / (select extract(epoch from '2026-06-20 15:18:12'::timestamp) - extract(epoch from '2026-06-20 15:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.974478 -2.993253)', '2026-06-20 15:18:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974546 -2.993301)'), GeomFromEWKT('SRID=4674;POINT (-38.974478 -2.993253)'))) / (select extract(epoch from '2026-06-20 15:18:20'::timestamp) - extract(epoch from '2026-06-20 15:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974546 -2.993301)'), GeomFromEWKT('SRID=4674;POINT (-38.974478 -2.993253)'))) / (select extract(epoch from '2026-06-20 15:18:20'::timestamp) - extract(epoch from '2026-06-20 15:18: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'), 46674, 'SRID=4674;POINT (-38.974423 -2.993273)', '2026-06-20 15:18:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974478 -2.993253)'), GeomFromEWKT('SRID=4674;POINT (-38.974423 -2.993273)'))) / (select extract(epoch from '2026-06-20 15:18:26'::timestamp) - extract(epoch from '2026-06-20 15:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974478 -2.993253)'), GeomFromEWKT('SRID=4674;POINT (-38.974423 -2.993273)'))) / (select extract(epoch from '2026-06-20 15:18:26'::timestamp) - extract(epoch from '2026-06-20 15:18: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'), 46674, 'SRID=4674;POINT (-38.974416 -2.993283)', '2026-06-20 15:18:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974423 -2.993273)'), GeomFromEWKT('SRID=4674;POINT (-38.974416 -2.993283)'))) / (select extract(epoch from '2026-06-20 15:18:27'::timestamp) - extract(epoch from '2026-06-20 15:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974423 -2.993273)'), GeomFromEWKT('SRID=4674;POINT (-38.974416 -2.993283)'))) / (select extract(epoch from '2026-06-20 15:18:27'::timestamp) - extract(epoch from '2026-06-20 15:18: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'), 46674, 'SRID=4674;POINT (-38.974407 -2.99337)', '2026-06-20 15:18:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974416 -2.993283)'), GeomFromEWKT('SRID=4674;POINT (-38.974407 -2.99337)'))) / (select extract(epoch from '2026-06-20 15:18:33'::timestamp) - extract(epoch from '2026-06-20 15:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974416 -2.993283)'), GeomFromEWKT('SRID=4674;POINT (-38.974407 -2.99337)'))) / (select extract(epoch from '2026-06-20 15:18:33'::timestamp) - extract(epoch from '2026-06-20 15:18: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'), 46674, 'SRID=4674;POINT (-38.974449 -2.993497)', '2026-06-20 15:18:40', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974407 -2.99337)'), GeomFromEWKT('SRID=4674;POINT (-38.974449 -2.993497)'))) / (select extract(epoch from '2026-06-20 15:18:40'::timestamp) - extract(epoch from '2026-06-20 15:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974407 -2.99337)'), GeomFromEWKT('SRID=4674;POINT (-38.974449 -2.993497)'))) / (select extract(epoch from '2026-06-20 15:18:40'::timestamp) - extract(epoch from '2026-06-20 15:18: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'), 46674, 'SRID=4674;POINT (-38.974514 -2.993619)', '2026-06-20 15:18:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974449 -2.993497)'), GeomFromEWKT('SRID=4674;POINT (-38.974514 -2.993619)'))) / (select extract(epoch from '2026-06-20 15:18:46'::timestamp) - extract(epoch from '2026-06-20 15:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974449 -2.993497)'), GeomFromEWKT('SRID=4674;POINT (-38.974514 -2.993619)'))) / (select extract(epoch from '2026-06-20 15:18:46'::timestamp) - extract(epoch from '2026-06-20 15:18: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'), 46674, 'SRID=4674;POINT (-38.974593 -2.993766)', '2026-06-20 15:18:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974514 -2.993619)'), GeomFromEWKT('SRID=4674;POINT (-38.974593 -2.993766)'))) / (select extract(epoch from '2026-06-20 15:18:53'::timestamp) - extract(epoch from '2026-06-20 15:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974514 -2.993619)'), GeomFromEWKT('SRID=4674;POINT (-38.974593 -2.993766)'))) / (select extract(epoch from '2026-06-20 15:18:53'::timestamp) - extract(epoch from '2026-06-20 15:18: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'), 46674, 'SRID=4674;POINT (-38.974643 -2.993908)', '2026-06-20 15:18:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974593 -2.993766)'), GeomFromEWKT('SRID=4674;POINT (-38.974643 -2.993908)'))) / (select extract(epoch from '2026-06-20 15:18:59'::timestamp) - extract(epoch from '2026-06-20 15:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974593 -2.993766)'), GeomFromEWKT('SRID=4674;POINT (-38.974643 -2.993908)'))) / (select extract(epoch from '2026-06-20 15:18:59'::timestamp) - extract(epoch from '2026-06-20 15:18: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'), 46674, 'SRID=4674;POINT (-38.974687 -2.994052)', '2026-06-20 15:19:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974643 -2.993908)'), GeomFromEWKT('SRID=4674;POINT (-38.974687 -2.994052)'))) / (select extract(epoch from '2026-06-20 15:19:05'::timestamp) - extract(epoch from '2026-06-20 15:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974643 -2.993908)'), GeomFromEWKT('SRID=4674;POINT (-38.974687 -2.994052)'))) / (select extract(epoch from '2026-06-20 15:19:05'::timestamp) - extract(epoch from '2026-06-20 15:18: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'), 46674, 'SRID=4674;POINT (-38.97474 -2.994249)', '2026-06-20 15:19:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974687 -2.994052)'), GeomFromEWKT('SRID=4674;POINT (-38.97474 -2.994249)'))) / (select extract(epoch from '2026-06-20 15:19:13'::timestamp) - extract(epoch from '2026-06-20 15:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974687 -2.994052)'), GeomFromEWKT('SRID=4674;POINT (-38.97474 -2.994249)'))) / (select extract(epoch from '2026-06-20 15:19:13'::timestamp) - extract(epoch from '2026-06-20 15:19: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'), 46674, 'SRID=4674;POINT (-38.974802 -2.994473)', '2026-06-20 15:19:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97474 -2.994249)'), GeomFromEWKT('SRID=4674;POINT (-38.974802 -2.994473)'))) / (select extract(epoch from '2026-06-20 15:19:22'::timestamp) - extract(epoch from '2026-06-20 15:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97474 -2.994249)'), GeomFromEWKT('SRID=4674;POINT (-38.974802 -2.994473)'))) / (select extract(epoch from '2026-06-20 15:19:22'::timestamp) - extract(epoch from '2026-06-20 15:19: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'), 46674, 'SRID=4674;POINT (-38.974845 -2.994681)', '2026-06-20 15:19:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974802 -2.994473)'), GeomFromEWKT('SRID=4674;POINT (-38.974845 -2.994681)'))) / (select extract(epoch from '2026-06-20 15:19:30'::timestamp) - extract(epoch from '2026-06-20 15:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974802 -2.994473)'), GeomFromEWKT('SRID=4674;POINT (-38.974845 -2.994681)'))) / (select extract(epoch from '2026-06-20 15:19:30'::timestamp) - extract(epoch from '2026-06-20 15:19: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'), 46674, 'SRID=4674;POINT (-38.974869 -2.994786)', '2026-06-20 15:19:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974845 -2.994681)'), GeomFromEWKT('SRID=4674;POINT (-38.974869 -2.994786)'))) / (select extract(epoch from '2026-06-20 15:19:34'::timestamp) - extract(epoch from '2026-06-20 15:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974845 -2.994681)'), GeomFromEWKT('SRID=4674;POINT (-38.974869 -2.994786)'))) / (select extract(epoch from '2026-06-20 15:19:34'::timestamp) - extract(epoch from '2026-06-20 15:19: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'), 46674, 'SRID=4674;POINT (-38.974873 -2.994811)', '2026-06-20 15:19:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974869 -2.994786)'), GeomFromEWKT('SRID=4674;POINT (-38.974873 -2.994811)'))) / (select extract(epoch from '2026-06-20 15:19:35'::timestamp) - extract(epoch from '2026-06-20 15:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974869 -2.994786)'), GeomFromEWKT('SRID=4674;POINT (-38.974873 -2.994811)'))) / (select extract(epoch from '2026-06-20 15:19:35'::timestamp) - extract(epoch from '2026-06-20 15:19: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'), 46674, 'SRID=4674;POINT (-38.974885 -2.99496)', '2026-06-20 15:19:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974873 -2.994811)'), GeomFromEWKT('SRID=4674;POINT (-38.974885 -2.99496)'))) / (select extract(epoch from '2026-06-20 15:19:41'::timestamp) - extract(epoch from '2026-06-20 15:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974873 -2.994811)'), GeomFromEWKT('SRID=4674;POINT (-38.974885 -2.99496)'))) / (select extract(epoch from '2026-06-20 15:19:41'::timestamp) - extract(epoch from '2026-06-20 15:19: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'), 46674, 'SRID=4674;POINT (-38.974858 -2.995121)', '2026-06-20 15:19:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974885 -2.99496)'), GeomFromEWKT('SRID=4674;POINT (-38.974858 -2.995121)'))) / (select extract(epoch from '2026-06-20 15:19:48'::timestamp) - extract(epoch from '2026-06-20 15:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974885 -2.99496)'), GeomFromEWKT('SRID=4674;POINT (-38.974858 -2.995121)'))) / (select extract(epoch from '2026-06-20 15:19:48'::timestamp) - extract(epoch from '2026-06-20 15:19: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'), 46674, 'SRID=4674;POINT (-38.974781 -2.995277)', '2026-06-20 15:19:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974858 -2.995121)'), GeomFromEWKT('SRID=4674;POINT (-38.974781 -2.995277)'))) / (select extract(epoch from '2026-06-20 15:19:56'::timestamp) - extract(epoch from '2026-06-20 15:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974858 -2.995121)'), GeomFromEWKT('SRID=4674;POINT (-38.974781 -2.995277)'))) / (select extract(epoch from '2026-06-20 15:19:56'::timestamp) - extract(epoch from '2026-06-20 15:19: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'), 46674, 'SRID=4674;POINT (-38.974722 -2.995385)', '2026-06-20 15:20:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974781 -2.995277)'), GeomFromEWKT('SRID=4674;POINT (-38.974722 -2.995385)'))) / (select extract(epoch from '2026-06-20 15:20:02'::timestamp) - extract(epoch from '2026-06-20 15:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974781 -2.995277)'), GeomFromEWKT('SRID=4674;POINT (-38.974722 -2.995385)'))) / (select extract(epoch from '2026-06-20 15:20:02'::timestamp) - extract(epoch from '2026-06-20 15:19: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'), 46674, 'SRID=4674;POINT (-38.974657 -2.995482)', '2026-06-20 15:20:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974722 -2.995385)'), GeomFromEWKT('SRID=4674;POINT (-38.974657 -2.995482)'))) / (select extract(epoch from '2026-06-20 15:20:08'::timestamp) - extract(epoch from '2026-06-20 15:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974722 -2.995385)'), GeomFromEWKT('SRID=4674;POINT (-38.974657 -2.995482)'))) / (select extract(epoch from '2026-06-20 15:20:08'::timestamp) - extract(epoch from '2026-06-20 15:20: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'), 46674, 'SRID=4674;POINT (-38.974611 -2.995538)', '2026-06-20 15:20:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974657 -2.995482)'), GeomFromEWKT('SRID=4674;POINT (-38.974611 -2.995538)'))) / (select extract(epoch from '2026-06-20 15:20:13'::timestamp) - extract(epoch from '2026-06-20 15:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974657 -2.995482)'), GeomFromEWKT('SRID=4674;POINT (-38.974611 -2.995538)'))) / (select extract(epoch from '2026-06-20 15:20:13'::timestamp) - extract(epoch from '2026-06-20 15:20: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'), 46674, 'SRID=4674;POINT (-38.9746 -2.995545)', '2026-06-20 15:20:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974611 -2.995538)'), GeomFromEWKT('SRID=4674;POINT (-38.9746 -2.995545)'))) / (select extract(epoch from '2026-06-20 15:20:14'::timestamp) - extract(epoch from '2026-06-20 15:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974611 -2.995538)'), GeomFromEWKT('SRID=4674;POINT (-38.9746 -2.995545)'))) / (select extract(epoch from '2026-06-20 15:20:14'::timestamp) - extract(epoch from '2026-06-20 15:20: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'), 46674, 'SRID=4674;POINT (-38.974525 -2.995562)', '2026-06-20 15:20:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9746 -2.995545)'), GeomFromEWKT('SRID=4674;POINT (-38.974525 -2.995562)'))) / (select extract(epoch from '2026-06-20 15:20:21'::timestamp) - extract(epoch from '2026-06-20 15:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9746 -2.995545)'), GeomFromEWKT('SRID=4674;POINT (-38.974525 -2.995562)'))) / (select extract(epoch from '2026-06-20 15:20:21'::timestamp) - extract(epoch from '2026-06-20 15:20: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'), 46674, 'SRID=4674;POINT (-38.974492 -2.995543)', '2026-06-20 15:20:27', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974525 -2.995562)'), GeomFromEWKT('SRID=4674;POINT (-38.974492 -2.995543)'))) / (select extract(epoch from '2026-06-20 15:20:27'::timestamp) - extract(epoch from '2026-06-20 15:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974525 -2.995562)'), GeomFromEWKT('SRID=4674;POINT (-38.974492 -2.995543)'))) / (select extract(epoch from '2026-06-20 15:20:27'::timestamp) - extract(epoch from '2026-06-20 15:20: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'), 46674, 'SRID=4674;POINT (-38.974477 -2.995498)', '2026-06-20 15:20:34', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974492 -2.995543)'), GeomFromEWKT('SRID=4674;POINT (-38.974477 -2.995498)'))) / (select extract(epoch from '2026-06-20 15:20:34'::timestamp) - extract(epoch from '2026-06-20 15:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974492 -2.995543)'), GeomFromEWKT('SRID=4674;POINT (-38.974477 -2.995498)'))) / (select extract(epoch from '2026-06-20 15:20:34'::timestamp) - extract(epoch from '2026-06-20 15:20: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'), 46674, 'SRID=4674;POINT (-38.974472 -2.995445)', '2026-06-20 15:20:43', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974477 -2.995498)'), GeomFromEWKT('SRID=4674;POINT (-38.974472 -2.995445)'))) / (select extract(epoch from '2026-06-20 15:20:43'::timestamp) - extract(epoch from '2026-06-20 15:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974477 -2.995498)'), GeomFromEWKT('SRID=4674;POINT (-38.974472 -2.995445)'))) / (select extract(epoch from '2026-06-20 15:20:43'::timestamp) - extract(epoch from '2026-06-20 15:20: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'), 46674, 'SRID=4674;POINT (-38.974509 -2.995396)', '2026-06-20 15:20:53', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974472 -2.995445)'), GeomFromEWKT('SRID=4674;POINT (-38.974509 -2.995396)'))) / (select extract(epoch from '2026-06-20 15:20:53'::timestamp) - extract(epoch from '2026-06-20 15:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974472 -2.995445)'), GeomFromEWKT('SRID=4674;POINT (-38.974509 -2.995396)'))) / (select extract(epoch from '2026-06-20 15:20:53'::timestamp) - extract(epoch from '2026-06-20 15:20: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'), 46674, 'SRID=4674;POINT (-38.974555 -2.995342)', '2026-06-20 15:21:02', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974509 -2.995396)'), GeomFromEWKT('SRID=4674;POINT (-38.974555 -2.995342)'))) / (select extract(epoch from '2026-06-20 15:21:02'::timestamp) - extract(epoch from '2026-06-20 15:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974509 -2.995396)'), GeomFromEWKT('SRID=4674;POINT (-38.974555 -2.995342)'))) / (select extract(epoch from '2026-06-20 15:21:02'::timestamp) - extract(epoch from '2026-06-20 15:20: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'), 46674, 'SRID=4674;POINT (-38.974522 -2.995249)', '2026-06-20 15:21:10', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974555 -2.995342)'), GeomFromEWKT('SRID=4674;POINT (-38.974522 -2.995249)'))) / (select extract(epoch from '2026-06-20 15:21:10'::timestamp) - extract(epoch from '2026-06-20 15:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974555 -2.995342)'), GeomFromEWKT('SRID=4674;POINT (-38.974522 -2.995249)'))) / (select extract(epoch from '2026-06-20 15:21:10'::timestamp) - extract(epoch from '2026-06-20 15:21: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'), 46674, 'SRID=4674;POINT (-38.97444 -2.995169)', '2026-06-20 15:21:17', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974522 -2.995249)'), GeomFromEWKT('SRID=4674;POINT (-38.97444 -2.995169)'))) / (select extract(epoch from '2026-06-20 15:21:17'::timestamp) - extract(epoch from '2026-06-20 15:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974522 -2.995249)'), GeomFromEWKT('SRID=4674;POINT (-38.97444 -2.995169)'))) / (select extract(epoch from '2026-06-20 15:21:17'::timestamp) - extract(epoch from '2026-06-20 15:21: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'), 46674, 'SRID=4674;POINT (-38.974341 -2.995123)', '2026-06-20 15:21:23', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97444 -2.995169)'), GeomFromEWKT('SRID=4674;POINT (-38.974341 -2.995123)'))) / (select extract(epoch from '2026-06-20 15:21:23'::timestamp) - extract(epoch from '2026-06-20 15:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97444 -2.995169)'), GeomFromEWKT('SRID=4674;POINT (-38.974341 -2.995123)'))) / (select extract(epoch from '2026-06-20 15:21:23'::timestamp) - extract(epoch from '2026-06-20 15:21: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'), 46674, 'SRID=4674;POINT (-38.974253 -2.995112)', '2026-06-20 15:21:28', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974341 -2.995123)'), GeomFromEWKT('SRID=4674;POINT (-38.974253 -2.995112)'))) / (select extract(epoch from '2026-06-20 15:21:28'::timestamp) - extract(epoch from '2026-06-20 15:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974341 -2.995123)'), GeomFromEWKT('SRID=4674;POINT (-38.974253 -2.995112)'))) / (select extract(epoch from '2026-06-20 15:21:28'::timestamp) - extract(epoch from '2026-06-20 15:21: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'), 46674, 'SRID=4674;POINT (-38.974126 -2.995121)', '2026-06-20 15:21:35', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974253 -2.995112)'), GeomFromEWKT('SRID=4674;POINT (-38.974126 -2.995121)'))) / (select extract(epoch from '2026-06-20 15:21:35'::timestamp) - extract(epoch from '2026-06-20 15:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974253 -2.995112)'), GeomFromEWKT('SRID=4674;POINT (-38.974126 -2.995121)'))) / (select extract(epoch from '2026-06-20 15:21:35'::timestamp) - extract(epoch from '2026-06-20 15:21: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'), 46674, 'SRID=4674;POINT (-38.973997 -2.995118)', '2026-06-20 15:21:42', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974126 -2.995121)'), GeomFromEWKT('SRID=4674;POINT (-38.973997 -2.995118)'))) / (select extract(epoch from '2026-06-20 15:21:42'::timestamp) - extract(epoch from '2026-06-20 15:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974126 -2.995121)'), GeomFromEWKT('SRID=4674;POINT (-38.973997 -2.995118)'))) / (select extract(epoch from '2026-06-20 15:21:42'::timestamp) - extract(epoch from '2026-06-20 15:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.973918 -2.995082)', '2026-06-20 15:21:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973997 -2.995118)'), GeomFromEWKT('SRID=4674;POINT (-38.973918 -2.995082)'))) / (select extract(epoch from '2026-06-20 15:21:48'::timestamp) - extract(epoch from '2026-06-20 15:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973997 -2.995118)'), GeomFromEWKT('SRID=4674;POINT (-38.973918 -2.995082)'))) / (select extract(epoch from '2026-06-20 15:21:48'::timestamp) - extract(epoch from '2026-06-20 15:21: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'), 46674, 'SRID=4674;POINT (-38.973865 -2.99503)', '2026-06-20 15:21:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973918 -2.995082)'), GeomFromEWKT('SRID=4674;POINT (-38.973865 -2.99503)'))) / (select extract(epoch from '2026-06-20 15:21:54'::timestamp) - extract(epoch from '2026-06-20 15:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973918 -2.995082)'), GeomFromEWKT('SRID=4674;POINT (-38.973865 -2.99503)'))) / (select extract(epoch from '2026-06-20 15:21:54'::timestamp) - extract(epoch from '2026-06-20 15:21: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'), 46674, 'SRID=4674;POINT (-38.973837 -2.99497)', '2026-06-20 15:22:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973865 -2.99503)'), GeomFromEWKT('SRID=4674;POINT (-38.973837 -2.99497)'))) / (select extract(epoch from '2026-06-20 15:22:01'::timestamp) - extract(epoch from '2026-06-20 15:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973865 -2.99503)'), GeomFromEWKT('SRID=4674;POINT (-38.973837 -2.99497)'))) / (select extract(epoch from '2026-06-20 15:22:01'::timestamp) - extract(epoch from '2026-06-20 15:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.97384 -2.994941)', '2026-06-20 15:22:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973837 -2.99497)'), GeomFromEWKT('SRID=4674;POINT (-38.97384 -2.994941)'))) / (select extract(epoch from '2026-06-20 15:22:04'::timestamp) - extract(epoch from '2026-06-20 15:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973837 -2.99497)'), GeomFromEWKT('SRID=4674;POINT (-38.97384 -2.994941)'))) / (select extract(epoch from '2026-06-20 15:22:04'::timestamp) - extract(epoch from '2026-06-20 15:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.97385 -2.994911)', '2026-06-20 15:22:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97384 -2.994941)'), GeomFromEWKT('SRID=4674;POINT (-38.97385 -2.994911)'))) / (select extract(epoch from '2026-06-20 15:22:07'::timestamp) - extract(epoch from '2026-06-20 15:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97384 -2.994941)'), GeomFromEWKT('SRID=4674;POINT (-38.97385 -2.994911)'))) / (select extract(epoch from '2026-06-20 15:22:07'::timestamp) - extract(epoch from '2026-06-20 15:22: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'), 46674, 'SRID=4674;POINT (-38.973873 -2.994843)', '2026-06-20 15:22:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97385 -2.994911)'), GeomFromEWKT('SRID=4674;POINT (-38.973873 -2.994843)'))) / (select extract(epoch from '2026-06-20 15:22:15'::timestamp) - extract(epoch from '2026-06-20 15:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97385 -2.994911)'), GeomFromEWKT('SRID=4674;POINT (-38.973873 -2.994843)'))) / (select extract(epoch from '2026-06-20 15:22:15'::timestamp) - extract(epoch from '2026-06-20 15:22: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'), 46674, 'SRID=4674;POINT (-38.973876 -2.994834)', '2026-06-20 15:22:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973873 -2.994843)'), GeomFromEWKT('SRID=4674;POINT (-38.973876 -2.994834)'))) / (select extract(epoch from '2026-06-20 15:22:16'::timestamp) - extract(epoch from '2026-06-20 15:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973873 -2.994843)'), GeomFromEWKT('SRID=4674;POINT (-38.973876 -2.994834)'))) / (select extract(epoch from '2026-06-20 15:22:16'::timestamp) - extract(epoch from '2026-06-20 15:22: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'), 46674, 'SRID=4674;POINT (-38.973882 -2.994793)', '2026-06-20 15:22:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973876 -2.994834)'), GeomFromEWKT('SRID=4674;POINT (-38.973882 -2.994793)'))) / (select extract(epoch from '2026-06-20 15:22:21'::timestamp) - extract(epoch from '2026-06-20 15:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973876 -2.994834)'), GeomFromEWKT('SRID=4674;POINT (-38.973882 -2.994793)'))) / (select extract(epoch from '2026-06-20 15:22:21'::timestamp) - extract(epoch from '2026-06-20 15:22: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'), 46674, 'SRID=4674;POINT (-38.973898 -2.994739)', '2026-06-20 15:22:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973882 -2.994793)'), GeomFromEWKT('SRID=4674;POINT (-38.973898 -2.994739)'))) / (select extract(epoch from '2026-06-20 15:22:28'::timestamp) - extract(epoch from '2026-06-20 15:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973882 -2.994793)'), GeomFromEWKT('SRID=4674;POINT (-38.973898 -2.994739)'))) / (select extract(epoch from '2026-06-20 15:22:28'::timestamp) - extract(epoch from '2026-06-20 15:22: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'), 46674, 'SRID=4674;POINT (-38.973924 -2.994666)', '2026-06-20 15:22:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973898 -2.994739)'), GeomFromEWKT('SRID=4674;POINT (-38.973924 -2.994666)'))) / (select extract(epoch from '2026-06-20 15:22:38'::timestamp) - extract(epoch from '2026-06-20 15:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973898 -2.994739)'), GeomFromEWKT('SRID=4674;POINT (-38.973924 -2.994666)'))) / (select extract(epoch from '2026-06-20 15:22:38'::timestamp) - extract(epoch from '2026-06-20 15:22: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'), 46674, 'SRID=4674;POINT (-38.973974 -2.994599)', '2026-06-20 15:22:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973924 -2.994666)'), GeomFromEWKT('SRID=4674;POINT (-38.973974 -2.994599)'))) / (select extract(epoch from '2026-06-20 15:22:49'::timestamp) - extract(epoch from '2026-06-20 15:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973924 -2.994666)'), GeomFromEWKT('SRID=4674;POINT (-38.973974 -2.994599)'))) / (select extract(epoch from '2026-06-20 15:22:49'::timestamp) - extract(epoch from '2026-06-20 15:22: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'), 46674, 'SRID=4674;POINT (-38.97401 -2.994556)', '2026-06-20 15:22:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973974 -2.994599)'), GeomFromEWKT('SRID=4674;POINT (-38.97401 -2.994556)'))) / (select extract(epoch from '2026-06-20 15:22:58'::timestamp) - extract(epoch from '2026-06-20 15:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.973974 -2.994599)'), GeomFromEWKT('SRID=4674;POINT (-38.97401 -2.994556)'))) / (select extract(epoch from '2026-06-20 15:22:58'::timestamp) - extract(epoch from '2026-06-20 15:22: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'), 46674, 'SRID=4674;POINT (-38.974074 -2.994502)', '2026-06-20 15:23:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97401 -2.994556)'), GeomFromEWKT('SRID=4674;POINT (-38.974074 -2.994502)'))) / (select extract(epoch from '2026-06-20 15:23:09'::timestamp) - extract(epoch from '2026-06-20 15:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97401 -2.994556)'), GeomFromEWKT('SRID=4674;POINT (-38.974074 -2.994502)'))) / (select extract(epoch from '2026-06-20 15:23:09'::timestamp) - extract(epoch from '2026-06-20 15:22: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'), 46674, 'SRID=4674;POINT (-38.974158 -2.994437)', '2026-06-20 15:23:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974074 -2.994502)'), GeomFromEWKT('SRID=4674;POINT (-38.974158 -2.994437)'))) / (select extract(epoch from '2026-06-20 15:23:21'::timestamp) - extract(epoch from '2026-06-20 15:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974074 -2.994502)'), GeomFromEWKT('SRID=4674;POINT (-38.974158 -2.994437)'))) / (select extract(epoch from '2026-06-20 15:23:21'::timestamp) - extract(epoch from '2026-06-20 15:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.974227 -2.994394)', '2026-06-20 15:23:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974158 -2.994437)'), GeomFromEWKT('SRID=4674;POINT (-38.974227 -2.994394)'))) / (select extract(epoch from '2026-06-20 15:23:30'::timestamp) - extract(epoch from '2026-06-20 15:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974158 -2.994437)'), GeomFromEWKT('SRID=4674;POINT (-38.974227 -2.994394)'))) / (select extract(epoch from '2026-06-20 15:23:30'::timestamp) - extract(epoch from '2026-06-20 15:23: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'), 46674, 'SRID=4674;POINT (-38.974286 -2.994367)', '2026-06-20 15:23:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974227 -2.994394)'), GeomFromEWKT('SRID=4674;POINT (-38.974286 -2.994367)'))) / (select extract(epoch from '2026-06-20 15:23:38'::timestamp) - extract(epoch from '2026-06-20 15:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974227 -2.994394)'), GeomFromEWKT('SRID=4674;POINT (-38.974286 -2.994367)'))) / (select extract(epoch from '2026-06-20 15:23:38'::timestamp) - extract(epoch from '2026-06-20 15:23: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'), 46674, 'SRID=4674;POINT (-38.974384 -2.994322)', '2026-06-20 15:23:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974286 -2.994367)'), GeomFromEWKT('SRID=4674;POINT (-38.974384 -2.994322)'))) / (select extract(epoch from '2026-06-20 15:23:48'::timestamp) - extract(epoch from '2026-06-20 15:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974286 -2.994367)'), GeomFromEWKT('SRID=4674;POINT (-38.974384 -2.994322)'))) / (select extract(epoch from '2026-06-20 15:23:48'::timestamp) - extract(epoch from '2026-06-20 15:23: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'), 46674, 'SRID=4674;POINT (-38.974486 -2.994282)', '2026-06-20 15:24:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974384 -2.994322)'), GeomFromEWKT('SRID=4674;POINT (-38.974486 -2.994282)'))) / (select extract(epoch from '2026-06-20 15:24:01'::timestamp) - extract(epoch from '2026-06-20 15:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974384 -2.994322)'), GeomFromEWKT('SRID=4674;POINT (-38.974486 -2.994282)'))) / (select extract(epoch from '2026-06-20 15:24:01'::timestamp) - extract(epoch from '2026-06-20 15:23: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'), 46674, 'SRID=4674;POINT (-38.974567 -2.994247)', '2026-06-20 15:24:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974486 -2.994282)'), GeomFromEWKT('SRID=4674;POINT (-38.974567 -2.994247)'))) / (select extract(epoch from '2026-06-20 15:24:12'::timestamp) - extract(epoch from '2026-06-20 15:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974486 -2.994282)'), GeomFromEWKT('SRID=4674;POINT (-38.974567 -2.994247)'))) / (select extract(epoch from '2026-06-20 15:24:12'::timestamp) - extract(epoch from '2026-06-20 15:24: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'), 46674, 'SRID=4674;POINT (-38.974626 -2.994215)', '2026-06-20 15:24:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974567 -2.994247)'), GeomFromEWKT('SRID=4674;POINT (-38.974626 -2.994215)'))) / (select extract(epoch from '2026-06-20 15:24:21'::timestamp) - extract(epoch from '2026-06-20 15:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974567 -2.994247)'), GeomFromEWKT('SRID=4674;POINT (-38.974626 -2.994215)'))) / (select extract(epoch from '2026-06-20 15:24:21'::timestamp) - extract(epoch from '2026-06-20 15:24: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'), 46674, 'SRID=4674;POINT (-38.974689 -2.994191)', '2026-06-20 15:24:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974626 -2.994215)'), GeomFromEWKT('SRID=4674;POINT (-38.974689 -2.994191)'))) / (select extract(epoch from '2026-06-20 15:24:30'::timestamp) - extract(epoch from '2026-06-20 15:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974626 -2.994215)'), GeomFromEWKT('SRID=4674;POINT (-38.974689 -2.994191)'))) / (select extract(epoch from '2026-06-20 15:24:30'::timestamp) - extract(epoch from '2026-06-20 15:24: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'), 46674, 'SRID=4674;POINT (-38.974746 -2.994159)', '2026-06-20 15:24:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974689 -2.994191)'), GeomFromEWKT('SRID=4674;POINT (-38.974746 -2.994159)'))) / (select extract(epoch from '2026-06-20 15:24:38'::timestamp) - extract(epoch from '2026-06-20 15:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974689 -2.994191)'), GeomFromEWKT('SRID=4674;POINT (-38.974746 -2.994159)'))) / (select extract(epoch from '2026-06-20 15:24:38'::timestamp) - extract(epoch from '2026-06-20 15:24: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'), 46674, 'SRID=4674;POINT (-38.974782 -2.994141)', '2026-06-20 15:24:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974746 -2.994159)'), GeomFromEWKT('SRID=4674;POINT (-38.974782 -2.994141)'))) / (select extract(epoch from '2026-06-20 15:24:43'::timestamp) - extract(epoch from '2026-06-20 15:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974746 -2.994159)'), GeomFromEWKT('SRID=4674;POINT (-38.974782 -2.994141)'))) / (select extract(epoch from '2026-06-20 15:24:43'::timestamp) - extract(epoch from '2026-06-20 15:24: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'), 46674, 'SRID=4674;POINT (-38.974827 -2.994121)', '2026-06-20 15:24:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974782 -2.994141)'), GeomFromEWKT('SRID=4674;POINT (-38.974827 -2.994121)'))) / (select extract(epoch from '2026-06-20 15:24:50'::timestamp) - extract(epoch from '2026-06-20 15:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974782 -2.994141)'), GeomFromEWKT('SRID=4674;POINT (-38.974827 -2.994121)'))) / (select extract(epoch from '2026-06-20 15:24:50'::timestamp) - extract(epoch from '2026-06-20 15:24: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'), 46674, 'SRID=4674;POINT (-38.974891 -2.994089)', '2026-06-20 15:25:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974827 -2.994121)'), GeomFromEWKT('SRID=4674;POINT (-38.974891 -2.994089)'))) / (select extract(epoch from '2026-06-20 15:25:00'::timestamp) - extract(epoch from '2026-06-20 15:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974827 -2.994121)'), GeomFromEWKT('SRID=4674;POINT (-38.974891 -2.994089)'))) / (select extract(epoch from '2026-06-20 15:25:00'::timestamp) - extract(epoch from '2026-06-20 15:24: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'), 46674, 'SRID=4674;POINT (-38.974957 -2.994059)', '2026-06-20 15:25:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974891 -2.994089)'), GeomFromEWKT('SRID=4674;POINT (-38.974957 -2.994059)'))) / (select extract(epoch from '2026-06-20 15:25:09'::timestamp) - extract(epoch from '2026-06-20 15:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974891 -2.994089)'), GeomFromEWKT('SRID=4674;POINT (-38.974957 -2.994059)'))) / (select extract(epoch from '2026-06-20 15:25:09'::timestamp) - extract(epoch from '2026-06-20 15:25: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'), 46674, 'SRID=4674;POINT (-38.97504 -2.994026)', '2026-06-20 15:25:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974957 -2.994059)'), GeomFromEWKT('SRID=4674;POINT (-38.97504 -2.994026)'))) / (select extract(epoch from '2026-06-20 15:25:21'::timestamp) - extract(epoch from '2026-06-20 15:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.974957 -2.994059)'), GeomFromEWKT('SRID=4674;POINT (-38.97504 -2.994026)'))) / (select extract(epoch from '2026-06-20 15:25:21'::timestamp) - extract(epoch from '2026-06-20 15:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.975119 -2.993993)', '2026-06-20 15:25:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97504 -2.994026)'), GeomFromEWKT('SRID=4674;POINT (-38.975119 -2.993993)'))) / (select extract(epoch from '2026-06-20 15:25:31'::timestamp) - extract(epoch from '2026-06-20 15:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97504 -2.994026)'), GeomFromEWKT('SRID=4674;POINT (-38.975119 -2.993993)'))) / (select extract(epoch from '2026-06-20 15:25:31'::timestamp) - extract(epoch from '2026-06-20 15:25: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'), 46674, 'SRID=4674;POINT (-38.975204 -2.993962)', '2026-06-20 15:25:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975119 -2.993993)'), GeomFromEWKT('SRID=4674;POINT (-38.975204 -2.993962)'))) / (select extract(epoch from '2026-06-20 15:25:42'::timestamp) - extract(epoch from '2026-06-20 15:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975119 -2.993993)'), GeomFromEWKT('SRID=4674;POINT (-38.975204 -2.993962)'))) / (select extract(epoch from '2026-06-20 15:25:42'::timestamp) - extract(epoch from '2026-06-20 15:25: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'), 46674, 'SRID=4674;POINT (-38.975266 -2.993934)', '2026-06-20 15:25:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975204 -2.993962)'), GeomFromEWKT('SRID=4674;POINT (-38.975266 -2.993934)'))) / (select extract(epoch from '2026-06-20 15:25:51'::timestamp) - extract(epoch from '2026-06-20 15:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975204 -2.993962)'), GeomFromEWKT('SRID=4674;POINT (-38.975266 -2.993934)'))) / (select extract(epoch from '2026-06-20 15:25:51'::timestamp) - extract(epoch from '2026-06-20 15:25: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'), 46674, 'SRID=4674;POINT (-38.975348 -2.993889)', '2026-06-20 15:26:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975266 -2.993934)'), GeomFromEWKT('SRID=4674;POINT (-38.975348 -2.993889)'))) / (select extract(epoch from '2026-06-20 15:26:04'::timestamp) - extract(epoch from '2026-06-20 15:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975266 -2.993934)'), GeomFromEWKT('SRID=4674;POINT (-38.975348 -2.993889)'))) / (select extract(epoch from '2026-06-20 15:26:04'::timestamp) - extract(epoch from '2026-06-20 15:25: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'), 46674, 'SRID=4674;POINT (-38.975429 -2.993854)', '2026-06-20 15:26:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975348 -2.993889)'), GeomFromEWKT('SRID=4674;POINT (-38.975429 -2.993854)'))) / (select extract(epoch from '2026-06-20 15:26:15'::timestamp) - extract(epoch from '2026-06-20 15:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975348 -2.993889)'), GeomFromEWKT('SRID=4674;POINT (-38.975429 -2.993854)'))) / (select extract(epoch from '2026-06-20 15:26:15'::timestamp) - extract(epoch from '2026-06-20 15:26: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'), 46674, 'SRID=4674;POINT (-38.975489 -2.99382)', '2026-06-20 15:26:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975429 -2.993854)'), GeomFromEWKT('SRID=4674;POINT (-38.975489 -2.99382)'))) / (select extract(epoch from '2026-06-20 15:26:24'::timestamp) - extract(epoch from '2026-06-20 15:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975429 -2.993854)'), GeomFromEWKT('SRID=4674;POINT (-38.975489 -2.99382)'))) / (select extract(epoch from '2026-06-20 15:26:24'::timestamp) - extract(epoch from '2026-06-20 15:26: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'), 46674, 'SRID=4674;POINT (-38.975561 -2.993767)', '2026-06-20 15:26:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975489 -2.99382)'), GeomFromEWKT('SRID=4674;POINT (-38.975561 -2.993767)'))) / (select extract(epoch from '2026-06-20 15:26:35'::timestamp) - extract(epoch from '2026-06-20 15:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975489 -2.99382)'), GeomFromEWKT('SRID=4674;POINT (-38.975561 -2.993767)'))) / (select extract(epoch from '2026-06-20 15:26:35'::timestamp) - extract(epoch from '2026-06-20 15:26: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'), 46674, 'SRID=4674;POINT (-38.975617 -2.993718)', '2026-06-20 15:26:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975561 -2.993767)'), GeomFromEWKT('SRID=4674;POINT (-38.975617 -2.993718)'))) / (select extract(epoch from '2026-06-20 15:26:45'::timestamp) - extract(epoch from '2026-06-20 15:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975561 -2.993767)'), GeomFromEWKT('SRID=4674;POINT (-38.975617 -2.993718)'))) / (select extract(epoch from '2026-06-20 15:26:45'::timestamp) - extract(epoch from '2026-06-20 15:26: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'), 46674, 'SRID=4674;POINT (-38.975686 -2.993667)', '2026-06-20 15:26:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975617 -2.993718)'), GeomFromEWKT('SRID=4674;POINT (-38.975686 -2.993667)'))) / (select extract(epoch from '2026-06-20 15:26:56'::timestamp) - extract(epoch from '2026-06-20 15:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975617 -2.993718)'), GeomFromEWKT('SRID=4674;POINT (-38.975686 -2.993667)'))) / (select extract(epoch from '2026-06-20 15:26:56'::timestamp) - extract(epoch from '2026-06-20 15:26: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'), 46674, 'SRID=4674;POINT (-38.975733 -2.993631)', '2026-06-20 15:27:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975686 -2.993667)'), GeomFromEWKT('SRID=4674;POINT (-38.975733 -2.993631)'))) / (select extract(epoch from '2026-06-20 15:27:04'::timestamp) - extract(epoch from '2026-06-20 15:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975686 -2.993667)'), GeomFromEWKT('SRID=4674;POINT (-38.975733 -2.993631)'))) / (select extract(epoch from '2026-06-20 15:27:04'::timestamp) - extract(epoch from '2026-06-20 15:26: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'), 46674, 'SRID=4674;POINT (-38.97579 -2.993595)', '2026-06-20 15:27:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975733 -2.993631)'), GeomFromEWKT('SRID=4674;POINT (-38.97579 -2.993595)'))) / (select extract(epoch from '2026-06-20 15:27:12'::timestamp) - extract(epoch from '2026-06-20 15:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975733 -2.993631)'), GeomFromEWKT('SRID=4674;POINT (-38.97579 -2.993595)'))) / (select extract(epoch from '2026-06-20 15:27:12'::timestamp) - extract(epoch from '2026-06-20 15:27: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'), 46674, 'SRID=4674;POINT (-38.975832 -2.993579)', '2026-06-20 15:27:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97579 -2.993595)'), GeomFromEWKT('SRID=4674;POINT (-38.975832 -2.993579)'))) / (select extract(epoch from '2026-06-20 15:27:21'::timestamp) - extract(epoch from '2026-06-20 15:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97579 -2.993595)'), GeomFromEWKT('SRID=4674;POINT (-38.975832 -2.993579)'))) / (select extract(epoch from '2026-06-20 15:27:21'::timestamp) - extract(epoch from '2026-06-20 15:27: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'), 46674, 'SRID=4674;POINT (-38.975888 -2.993534)', '2026-06-20 15:27:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975832 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-38.975888 -2.993534)'))) / (select extract(epoch from '2026-06-20 15:27:35'::timestamp) - extract(epoch from '2026-06-20 15:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975832 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-38.975888 -2.993534)'))) / (select extract(epoch from '2026-06-20 15:27:35'::timestamp) - extract(epoch from '2026-06-20 15:27: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'), 46674, 'SRID=4674;POINT (-38.975917 -2.993517)', '2026-06-20 15:27:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975888 -2.993534)'), GeomFromEWKT('SRID=4674;POINT (-38.975917 -2.993517)'))) / (select extract(epoch from '2026-06-20 15:27:42'::timestamp) - extract(epoch from '2026-06-20 15:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975888 -2.993534)'), GeomFromEWKT('SRID=4674;POINT (-38.975917 -2.993517)'))) / (select extract(epoch from '2026-06-20 15:27:42'::timestamp) - extract(epoch from '2026-06-20 15:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.975937 -2.993502)', '2026-06-20 15:27:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975917 -2.993517)'), GeomFromEWKT('SRID=4674;POINT (-38.975937 -2.993502)'))) / (select extract(epoch from '2026-06-20 15:27:51'::timestamp) - extract(epoch from '2026-06-20 15:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975917 -2.993517)'), GeomFromEWKT('SRID=4674;POINT (-38.975937 -2.993502)'))) / (select extract(epoch from '2026-06-20 15:27:51'::timestamp) - extract(epoch from '2026-06-20 15:27: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'), 46674, 'SRID=4674;POINT (-38.975933 -2.993441)', '2026-06-20 15:37:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975937 -2.993502)'), GeomFromEWKT('SRID=4674;POINT (-38.975933 -2.993441)'))) / (select extract(epoch from '2026-06-20 15:37:23'::timestamp) - extract(epoch from '2026-06-20 15:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975937 -2.993502)'), GeomFromEWKT('SRID=4674;POINT (-38.975933 -2.993441)'))) / (select extract(epoch from '2026-06-20 15:37:23'::timestamp) - extract(epoch from '2026-06-20 15:27: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'), 46674, 'SRID=4674;POINT (-38.975929 -2.993452)', '2026-06-20 15:46:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975933 -2.993441)'), GeomFromEWKT('SRID=4674;POINT (-38.975929 -2.993452)'))) / (select extract(epoch from '2026-06-20 15:46:33'::timestamp) - extract(epoch from '2026-06-20 15:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975933 -2.993441)'), GeomFromEWKT('SRID=4674;POINT (-38.975929 -2.993452)'))) / (select extract(epoch from '2026-06-20 15:46:33'::timestamp) - extract(epoch from '2026-06-20 15:37: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'), 46674, 'SRID=4674;POINT (-38.975953 -2.993496)', '2026-06-20 15:55:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975929 -2.993452)'), GeomFromEWKT('SRID=4674;POINT (-38.975953 -2.993496)'))) / (select extract(epoch from '2026-06-20 15:55:08'::timestamp) - extract(epoch from '2026-06-20 15:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975929 -2.993452)'), GeomFromEWKT('SRID=4674;POINT (-38.975953 -2.993496)'))) / (select extract(epoch from '2026-06-20 15:55:08'::timestamp) - extract(epoch from '2026-06-20 15:46: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'), 46674, 'SRID=4674;POINT (-38.97596 -2.993568)', '2026-06-20 16:09:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975953 -2.993496)'), GeomFromEWKT('SRID=4674;POINT (-38.97596 -2.993568)'))) / (select extract(epoch from '2026-06-20 16:09:49'::timestamp) - extract(epoch from '2026-06-20 15:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975953 -2.993496)'), GeomFromEWKT('SRID=4674;POINT (-38.97596 -2.993568)'))) / (select extract(epoch from '2026-06-20 16:09:49'::timestamp) - extract(epoch from '2026-06-20 15:55: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'), 46674, 'SRID=4674;POINT (-38.975948 -2.993573)', '2026-06-20 16:10:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97596 -2.993568)'), GeomFromEWKT('SRID=4674;POINT (-38.975948 -2.993573)'))) / (select extract(epoch from '2026-06-20 16:10:14'::timestamp) - extract(epoch from '2026-06-20 16:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97596 -2.993568)'), GeomFromEWKT('SRID=4674;POINT (-38.975948 -2.993573)'))) / (select extract(epoch from '2026-06-20 16:10:14'::timestamp) - extract(epoch from '2026-06-20 16:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.975968 -2.993586)', '2026-06-20 16:10:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975948 -2.993573)'), GeomFromEWKT('SRID=4674;POINT (-38.975968 -2.993586)'))) / (select extract(epoch from '2026-06-20 16:10:56'::timestamp) - extract(epoch from '2026-06-20 16:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975948 -2.993573)'), GeomFromEWKT('SRID=4674;POINT (-38.975968 -2.993586)'))) / (select extract(epoch from '2026-06-20 16:10:56'::timestamp) - extract(epoch from '2026-06-20 16:10: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'), 46674, 'SRID=4674;POINT (-38.975984 -2.993591)', '2026-06-20 16:16:05', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975968 -2.993586)'), GeomFromEWKT('SRID=4674;POINT (-38.975984 -2.993591)'))) / (select extract(epoch from '2026-06-20 16:16:05'::timestamp) - extract(epoch from '2026-06-20 16:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975968 -2.993586)'), GeomFromEWKT('SRID=4674;POINT (-38.975984 -2.993591)'))) / (select extract(epoch from '2026-06-20 16:16:05'::timestamp) - extract(epoch from '2026-06-20 16:10: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'), 46674, 'SRID=4674;POINT (-38.975982 -2.993613)', '2026-06-20 16:17:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975984 -2.993591)'), GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993613)'))) / (select extract(epoch from '2026-06-20 16:17:04'::timestamp) - extract(epoch from '2026-06-20 16:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975984 -2.993591)'), GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993613)'))) / (select extract(epoch from '2026-06-20 16:17:04'::timestamp) - extract(epoch from '2026-06-20 16:16: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'), 46674, 'SRID=4674;POINT (-38.976002 -2.993614)', '2026-06-20 16:19:52', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993613)'), GeomFromEWKT('SRID=4674;POINT (-38.976002 -2.993614)'))) / (select extract(epoch from '2026-06-20 16:19:52'::timestamp) - extract(epoch from '2026-06-20 16:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993613)'), GeomFromEWKT('SRID=4674;POINT (-38.976002 -2.993614)'))) / (select extract(epoch from '2026-06-20 16:19:52'::timestamp) - extract(epoch from '2026-06-20 16:17: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'), 46674, 'SRID=4674;POINT (-38.975969 -2.993585)', '2026-06-20 16:22:13', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976002 -2.993614)'), GeomFromEWKT('SRID=4674;POINT (-38.975969 -2.993585)'))) / (select extract(epoch from '2026-06-20 16:22:13'::timestamp) - extract(epoch from '2026-06-20 16:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976002 -2.993614)'), GeomFromEWKT('SRID=4674;POINT (-38.975969 -2.993585)'))) / (select extract(epoch from '2026-06-20 16:22:13'::timestamp) - extract(epoch from '2026-06-20 16:19: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'), 46674, 'SRID=4674;POINT (-38.975958 -2.993543)', '2026-06-20 16:30:08', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975969 -2.993585)'), GeomFromEWKT('SRID=4674;POINT (-38.975958 -2.993543)'))) / (select extract(epoch from '2026-06-20 16:30:08'::timestamp) - extract(epoch from '2026-06-20 16:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975969 -2.993585)'), GeomFromEWKT('SRID=4674;POINT (-38.975958 -2.993543)'))) / (select extract(epoch from '2026-06-20 16:30:08'::timestamp) - extract(epoch from '2026-06-20 16:22: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'), 46674, 'SRID=4674;POINT (-38.975976 -2.99358)', '2026-06-20 16:39:37', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975958 -2.993543)'), GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.99358)'))) / (select extract(epoch from '2026-06-20 16:39:37'::timestamp) - extract(epoch from '2026-06-20 16:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975958 -2.993543)'), GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.99358)'))) / (select extract(epoch from '2026-06-20 16:39:37'::timestamp) - extract(epoch from '2026-06-20 16:30: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'), 46674, 'SRID=4674;POINT (-38.975992 -2.993592)', '2026-06-20 16:40:01', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.99358)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993592)'))) / (select extract(epoch from '2026-06-20 16:40:01'::timestamp) - extract(epoch from '2026-06-20 16:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.99358)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993592)'))) / (select extract(epoch from '2026-06-20 16:40:01'::timestamp) - extract(epoch from '2026-06-20 16:39: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'), 46674, 'SRID=4674;POINT (-38.97595 -2.993603)', '2026-06-20 16:41:14', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993592)'), GeomFromEWKT('SRID=4674;POINT (-38.97595 -2.993603)'))) / (select extract(epoch from '2026-06-20 16:41:14'::timestamp) - extract(epoch from '2026-06-20 16:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993592)'), GeomFromEWKT('SRID=4674;POINT (-38.97595 -2.993603)'))) / (select extract(epoch from '2026-06-20 16:41:14'::timestamp) - extract(epoch from '2026-06-20 16:40: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'), 46674, 'SRID=4674;POINT (-38.975968 -2.99359)', '2026-06-20 16:43:16', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97595 -2.993603)'), GeomFromEWKT('SRID=4674;POINT (-38.975968 -2.99359)'))) / (select extract(epoch from '2026-06-20 16:43:16'::timestamp) - extract(epoch from '2026-06-20 16:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97595 -2.993603)'), GeomFromEWKT('SRID=4674;POINT (-38.975968 -2.99359)'))) / (select extract(epoch from '2026-06-20 16:43:16'::timestamp) - extract(epoch from '2026-06-20 16:41: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'), 46674, 'SRID=4674;POINT (-38.975962 -2.993587)', '2026-06-20 16:43:33', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975968 -2.99359)'), GeomFromEWKT('SRID=4674;POINT (-38.975962 -2.993587)'))) / (select extract(epoch from '2026-06-20 16:43:33'::timestamp) - extract(epoch from '2026-06-20 16:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975968 -2.99359)'), GeomFromEWKT('SRID=4674;POINT (-38.975962 -2.993587)'))) / (select extract(epoch from '2026-06-20 16:43:33'::timestamp) - extract(epoch from '2026-06-20 16:43: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'), 46674, 'SRID=4674;POINT (-38.975946 -2.993576)', '2026-06-20 16:44:00', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975962 -2.993587)'), GeomFromEWKT('SRID=4674;POINT (-38.975946 -2.993576)'))) / (select extract(epoch from '2026-06-20 16:44:00'::timestamp) - extract(epoch from '2026-06-20 16:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975962 -2.993587)'), GeomFromEWKT('SRID=4674;POINT (-38.975946 -2.993576)'))) / (select extract(epoch from '2026-06-20 16:44:00'::timestamp) - extract(epoch from '2026-06-20 16:43: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'), 46674, 'SRID=4674;POINT (-38.97594 -2.993574)', '2026-06-20 16:45:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975946 -2.993576)'), GeomFromEWKT('SRID=4674;POINT (-38.97594 -2.993574)'))) / (select extract(epoch from '2026-06-20 16:45:46'::timestamp) - extract(epoch from '2026-06-20 16:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975946 -2.993576)'), GeomFromEWKT('SRID=4674;POINT (-38.97594 -2.993574)'))) / (select extract(epoch from '2026-06-20 16:45:46'::timestamp) - extract(epoch from '2026-06-20 16:44: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'), 46674, 'SRID=4674;POINT (-38.97594 -2.993555)', '2026-06-20 16:47:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97594 -2.993574)'), GeomFromEWKT('SRID=4674;POINT (-38.97594 -2.993555)'))) / (select extract(epoch from '2026-06-20 16:47:55'::timestamp) - extract(epoch from '2026-06-20 16:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97594 -2.993574)'), GeomFromEWKT('SRID=4674;POINT (-38.97594 -2.993555)'))) / (select extract(epoch from '2026-06-20 16:47:55'::timestamp) - extract(epoch from '2026-06-20 16:45: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'), 46674, 'SRID=4674;POINT (-38.975942 -2.993566)', '2026-06-20 16:50:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97594 -2.993555)'), GeomFromEWKT('SRID=4674;POINT (-38.975942 -2.993566)'))) / (select extract(epoch from '2026-06-20 16:50:12'::timestamp) - extract(epoch from '2026-06-20 16:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97594 -2.993555)'), GeomFromEWKT('SRID=4674;POINT (-38.975942 -2.993566)'))) / (select extract(epoch from '2026-06-20 16:50:12'::timestamp) - extract(epoch from '2026-06-20 16:47: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'), 46674, 'SRID=4674;POINT (-38.975949 -2.993587)', '2026-06-20 16:50:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975942 -2.993566)'), GeomFromEWKT('SRID=4674;POINT (-38.975949 -2.993587)'))) / (select extract(epoch from '2026-06-20 16:50:34'::timestamp) - extract(epoch from '2026-06-20 16:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975942 -2.993566)'), GeomFromEWKT('SRID=4674;POINT (-38.975949 -2.993587)'))) / (select extract(epoch from '2026-06-20 16:50:34'::timestamp) - extract(epoch from '2026-06-20 16:50: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'), 46674, 'SRID=4674;POINT (-38.975953 -2.993598)', '2026-06-20 16:51:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975949 -2.993587)'), GeomFromEWKT('SRID=4674;POINT (-38.975953 -2.993598)'))) / (select extract(epoch from '2026-06-20 16:51:29'::timestamp) - extract(epoch from '2026-06-20 16:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975949 -2.993587)'), GeomFromEWKT('SRID=4674;POINT (-38.975953 -2.993598)'))) / (select extract(epoch from '2026-06-20 16:51:29'::timestamp) - extract(epoch from '2026-06-20 16:50: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'), 46674, 'SRID=4674;POINT (-38.975951 -2.993594)', '2026-06-20 16:51:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975953 -2.993598)'), GeomFromEWKT('SRID=4674;POINT (-38.975951 -2.993594)'))) / (select extract(epoch from '2026-06-20 16:51:35'::timestamp) - extract(epoch from '2026-06-20 16:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975953 -2.993598)'), GeomFromEWKT('SRID=4674;POINT (-38.975951 -2.993594)'))) / (select extract(epoch from '2026-06-20 16:51:35'::timestamp) - extract(epoch from '2026-06-20 16:51: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'), 46674, 'SRID=4674;POINT (-38.975949 -2.993601)', '2026-06-20 16:53:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975951 -2.993594)'), GeomFromEWKT('SRID=4674;POINT (-38.975949 -2.993601)'))) / (select extract(epoch from '2026-06-20 16:53:24'::timestamp) - extract(epoch from '2026-06-20 16:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975951 -2.993594)'), GeomFromEWKT('SRID=4674;POINT (-38.975949 -2.993601)'))) / (select extract(epoch from '2026-06-20 16:53:24'::timestamp) - extract(epoch from '2026-06-20 16: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'), 46674, 'SRID=4674;POINT (-38.975992 -2.993631)', '2026-06-20 16:59:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975949 -2.993601)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993631)'))) / (select extract(epoch from '2026-06-20 16:59:51'::timestamp) - extract(epoch from '2026-06-20 16:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975949 -2.993601)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993631)'))) / (select extract(epoch from '2026-06-20 16:59:51'::timestamp) - extract(epoch from '2026-06-20 16:53: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'), 46674, 'SRID=4674;POINT (-38.976015 -2.993634)', '2026-06-20 17:00:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993631)'), GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993634)'))) / (select extract(epoch from '2026-06-20 17:00:00'::timestamp) - extract(epoch from '2026-06-20 16:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993631)'), GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993634)'))) / (select extract(epoch from '2026-06-20 17:00:00'::timestamp) - extract(epoch from '2026-06-20 16:59: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'), 46674, 'SRID=4674;POINT (-38.975999 -2.993627)', '2026-06-20 17:00:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993634)'), GeomFromEWKT('SRID=4674;POINT (-38.975999 -2.993627)'))) / (select extract(epoch from '2026-06-20 17:00:48'::timestamp) - extract(epoch from '2026-06-20 17:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993634)'), GeomFromEWKT('SRID=4674;POINT (-38.975999 -2.993627)'))) / (select extract(epoch from '2026-06-20 17:00:48'::timestamp) - extract(epoch from '2026-06-20 17:00: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'), 46674, 'SRID=4674;POINT (-38.975997 -2.993641)', '2026-06-20 17:02:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975999 -2.993627)'), GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993641)'))) / (select extract(epoch from '2026-06-20 17:02:06'::timestamp) - extract(epoch from '2026-06-20 17:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975999 -2.993627)'), GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993641)'))) / (select extract(epoch from '2026-06-20 17:02:06'::timestamp) - extract(epoch from '2026-06-20 17:00: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'), 46674, 'SRID=4674;POINT (-38.976006 -2.993643)', '2026-06-20 17:02:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993641)'), GeomFromEWKT('SRID=4674;POINT (-38.976006 -2.993643)'))) / (select extract(epoch from '2026-06-20 17:02:23'::timestamp) - extract(epoch from '2026-06-20 17:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993641)'), GeomFromEWKT('SRID=4674;POINT (-38.976006 -2.993643)'))) / (select extract(epoch from '2026-06-20 17:02:23'::timestamp) - extract(epoch from '2026-06-20 17:02: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'), 46674, 'SRID=4674;POINT (-38.976006 -2.993644)', '2026-06-20 17:02:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976006 -2.993643)'), GeomFromEWKT('SRID=4674;POINT (-38.976006 -2.993644)'))) / (select extract(epoch from '2026-06-20 17:02:29'::timestamp) - extract(epoch from '2026-06-20 17:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976006 -2.993643)'), GeomFromEWKT('SRID=4674;POINT (-38.976006 -2.993644)'))) / (select extract(epoch from '2026-06-20 17:02:29'::timestamp) - extract(epoch from '2026-06-20 17:02: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'), 46674, 'SRID=4674;POINT (-38.975983 -2.993625)', '2026-06-20 17:03:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976006 -2.993644)'), GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993625)'))) / (select extract(epoch from '2026-06-20 17:03:48'::timestamp) - extract(epoch from '2026-06-20 17:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976006 -2.993644)'), GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993625)'))) / (select extract(epoch from '2026-06-20 17:03:48'::timestamp) - extract(epoch from '2026-06-20 17:02: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'), 46674, 'SRID=4674;POINT (-38.975979 -2.993618)', '2026-06-20 17:04:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993625)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993618)'))) / (select extract(epoch from '2026-06-20 17:04:34'::timestamp) - extract(epoch from '2026-06-20 17:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993625)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993618)'))) / (select extract(epoch from '2026-06-20 17:04:34'::timestamp) - extract(epoch from '2026-06-20 17:03: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'), 46674, 'SRID=4674;POINT (-38.97598 -2.993617)', '2026-06-20 17:05:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993618)'), GeomFromEWKT('SRID=4674;POINT (-38.97598 -2.993617)'))) / (select extract(epoch from '2026-06-20 17:05:12'::timestamp) - extract(epoch from '2026-06-20 17:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993618)'), GeomFromEWKT('SRID=4674;POINT (-38.97598 -2.993617)'))) / (select extract(epoch from '2026-06-20 17:05:12'::timestamp) - extract(epoch from '2026-06-20 17:04: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'), 46674, 'SRID=4674;POINT (-38.975986 -2.993615)', '2026-06-20 17:12:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97598 -2.993617)'), GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993615)'))) / (select extract(epoch from '2026-06-20 17:12:35'::timestamp) - extract(epoch from '2026-06-20 17:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97598 -2.993617)'), GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993615)'))) / (select extract(epoch from '2026-06-20 17:12:35'::timestamp) - extract(epoch from '2026-06-20 17:05: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'), 46674, 'SRID=4674;POINT (-38.975984 -2.993594)', '2026-06-20 17:16:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993615)'), GeomFromEWKT('SRID=4674;POINT (-38.975984 -2.993594)'))) / (select extract(epoch from '2026-06-20 17:16:04'::timestamp) - extract(epoch from '2026-06-20 17:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993615)'), GeomFromEWKT('SRID=4674;POINT (-38.975984 -2.993594)'))) / (select extract(epoch from '2026-06-20 17:16:04'::timestamp) - extract(epoch from '2026-06-20 17:12: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'), 46674, 'SRID=4674;POINT (-38.975995 -2.993586)', '2026-06-20 17:18:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975984 -2.993594)'), GeomFromEWKT('SRID=4674;POINT (-38.975995 -2.993586)'))) / (select extract(epoch from '2026-06-20 17:18:51'::timestamp) - extract(epoch from '2026-06-20 17:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975984 -2.993594)'), GeomFromEWKT('SRID=4674;POINT (-38.975995 -2.993586)'))) / (select extract(epoch from '2026-06-20 17:18:51'::timestamp) - extract(epoch from '2026-06-20 17:16: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'), 46674, 'SRID=4674;POINT (-38.975971 -2.993583)', '2026-06-20 17:19:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975995 -2.993586)'), GeomFromEWKT('SRID=4674;POINT (-38.975971 -2.993583)'))) / (select extract(epoch from '2026-06-20 17:19:23'::timestamp) - extract(epoch from '2026-06-20 17:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975995 -2.993586)'), GeomFromEWKT('SRID=4674;POINT (-38.975971 -2.993583)'))) / (select extract(epoch from '2026-06-20 17:19:23'::timestamp) - extract(epoch from '2026-06-20 17:18: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'), 46674, 'SRID=4674;POINT (-38.975986 -2.993579)', '2026-06-20 17:19:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975971 -2.993583)'), GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993579)'))) / (select extract(epoch from '2026-06-20 17:19:49'::timestamp) - extract(epoch from '2026-06-20 17:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975971 -2.993583)'), GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993579)'))) / (select extract(epoch from '2026-06-20 17:19:49'::timestamp) - extract(epoch from '2026-06-20 17:19: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'), 46674, 'SRID=4674;POINT (-38.975975 -2.993584)', '2026-06-20 17:20:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993584)'))) / (select extract(epoch from '2026-06-20 17:20:02'::timestamp) - extract(epoch from '2026-06-20 17:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993584)'))) / (select extract(epoch from '2026-06-20 17:20:02'::timestamp) - extract(epoch from '2026-06-20 17:19: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'), 46674, 'SRID=4674;POINT (-38.975982 -2.993579)', '2026-06-20 17:20:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993584)'), GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993579)'))) / (select extract(epoch from '2026-06-20 17:20:27'::timestamp) - extract(epoch from '2026-06-20 17:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993584)'), GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993579)'))) / (select extract(epoch from '2026-06-20 17:20:27'::timestamp) - extract(epoch from '2026-06-20 17:20: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'), 46674, 'SRID=4674;POINT (-38.975992 -2.993586)', '2026-06-20 17:20:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993586)'))) / (select extract(epoch from '2026-06-20 17:20:35'::timestamp) - extract(epoch from '2026-06-20 17:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993586)'))) / (select extract(epoch from '2026-06-20 17:20:35'::timestamp) - extract(epoch from '2026-06-20 17:20: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'), 46674, 'SRID=4674;POINT (-38.976011 -2.993608)', '2026-06-20 17:21:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993586)'), GeomFromEWKT('SRID=4674;POINT (-38.976011 -2.993608)'))) / (select extract(epoch from '2026-06-20 17:21:46'::timestamp) - extract(epoch from '2026-06-20 17:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993586)'), GeomFromEWKT('SRID=4674;POINT (-38.976011 -2.993608)'))) / (select extract(epoch from '2026-06-20 17:21:46'::timestamp) - extract(epoch from '2026-06-20 17:20: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'), 46674, 'SRID=4674;POINT (-38.97601 -2.993606)', '2026-06-20 17:22:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976011 -2.993608)'), GeomFromEWKT('SRID=4674;POINT (-38.97601 -2.993606)'))) / (select extract(epoch from '2026-06-20 17:22:00'::timestamp) - extract(epoch from '2026-06-20 17:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976011 -2.993608)'), GeomFromEWKT('SRID=4674;POINT (-38.97601 -2.993606)'))) / (select extract(epoch from '2026-06-20 17:22:00'::timestamp) - extract(epoch from '2026-06-20 17:21: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'), 46674, 'SRID=4674;POINT (-38.97599 -2.993609)', '2026-06-20 17:23:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97601 -2.993606)'), GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993609)'))) / (select extract(epoch from '2026-06-20 17:23:33'::timestamp) - extract(epoch from '2026-06-20 17:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97601 -2.993606)'), GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993609)'))) / (select extract(epoch from '2026-06-20 17:23:33'::timestamp) - extract(epoch from '2026-06-20 17:22: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'), 46674, 'SRID=4674;POINT (-38.975983 -2.993609)', '2026-06-20 17:23:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993609)'), GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993609)'))) / (select extract(epoch from '2026-06-20 17:23:52'::timestamp) - extract(epoch from '2026-06-20 17:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993609)'), GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993609)'))) / (select extract(epoch from '2026-06-20 17:23:52'::timestamp) - extract(epoch from '2026-06-20 17:23: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'), 46674, 'SRID=4674;POINT (-38.975992 -2.993607)', '2026-06-20 17:24:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993609)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993607)'))) / (select extract(epoch from '2026-06-20 17:24:17'::timestamp) - extract(epoch from '2026-06-20 17:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993609)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993607)'))) / (select extract(epoch from '2026-06-20 17:24:17'::timestamp) - extract(epoch from '2026-06-20 17:23: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'), 46674, 'SRID=4674;POINT (-38.976007 -2.993608)', '2026-06-20 17:24:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993607)'), GeomFromEWKT('SRID=4674;POINT (-38.976007 -2.993608)'))) / (select extract(epoch from '2026-06-20 17:24:22'::timestamp) - extract(epoch from '2026-06-20 17:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993607)'), GeomFromEWKT('SRID=4674;POINT (-38.976007 -2.993608)'))) / (select extract(epoch from '2026-06-20 17:24:22'::timestamp) - extract(epoch from '2026-06-20 17:24: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'), 46674, 'SRID=4674;POINT (-38.975991 -2.993582)', '2026-06-20 17:30:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976007 -2.993608)'), GeomFromEWKT('SRID=4674;POINT (-38.975991 -2.993582)'))) / (select extract(epoch from '2026-06-20 17:30:08'::timestamp) - extract(epoch from '2026-06-20 17:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976007 -2.993608)'), GeomFromEWKT('SRID=4674;POINT (-38.975991 -2.993582)'))) / (select extract(epoch from '2026-06-20 17:30:08'::timestamp) - extract(epoch from '2026-06-20 17:24: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'), 46674, 'SRID=4674;POINT (-38.975979 -2.993588)', '2026-06-20 17:31:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975991 -2.993582)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993588)'))) / (select extract(epoch from '2026-06-20 17:31:13'::timestamp) - extract(epoch from '2026-06-20 17:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975991 -2.993582)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993588)'))) / (select extract(epoch from '2026-06-20 17:31:13'::timestamp) - extract(epoch from '2026-06-20 17:30: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'), 46674, 'SRID=4674;POINT (-38.975989 -2.993592)', '2026-06-20 17:32:56', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993588)'), GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993592)'))) / (select extract(epoch from '2026-06-20 17:32:56'::timestamp) - extract(epoch from '2026-06-20 17:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993588)'), GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993592)'))) / (select extract(epoch from '2026-06-20 17:32:56'::timestamp) - extract(epoch from '2026-06-20 17:31: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'), 46674, 'SRID=4674;POINT (-38.975989 -2.993607)', '2026-06-20 17:33:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993592)'), GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993607)'))) / (select extract(epoch from '2026-06-20 17:33:25'::timestamp) - extract(epoch from '2026-06-20 17:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993592)'), GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993607)'))) / (select extract(epoch from '2026-06-20 17:33:25'::timestamp) - extract(epoch from '2026-06-20 17:32: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'), 46674, 'SRID=4674;POINT (-38.975994 -2.993611)', '2026-06-20 17:33:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993607)'), GeomFromEWKT('SRID=4674;POINT (-38.975994 -2.993611)'))) / (select extract(epoch from '2026-06-20 17:33:32'::timestamp) - extract(epoch from '2026-06-20 17:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993607)'), GeomFromEWKT('SRID=4674;POINT (-38.975994 -2.993611)'))) / (select extract(epoch from '2026-06-20 17:33:32'::timestamp) - extract(epoch from '2026-06-20 17:33: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'), 46674, 'SRID=4674;POINT (-38.976021 -2.993626)', '2026-06-20 17:37:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975994 -2.993611)'), GeomFromEWKT('SRID=4674;POINT (-38.976021 -2.993626)'))) / (select extract(epoch from '2026-06-20 17:37:31'::timestamp) - extract(epoch from '2026-06-20 17:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975994 -2.993611)'), GeomFromEWKT('SRID=4674;POINT (-38.976021 -2.993626)'))) / (select extract(epoch from '2026-06-20 17:37:31'::timestamp) - extract(epoch from '2026-06-20 17:33: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'), 46674, 'SRID=4674;POINT (-38.976037 -2.99364)', '2026-06-20 17:39:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976021 -2.993626)'), GeomFromEWKT('SRID=4674;POINT (-38.976037 -2.99364)'))) / (select extract(epoch from '2026-06-20 17:39:55'::timestamp) - extract(epoch from '2026-06-20 17:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976021 -2.993626)'), GeomFromEWKT('SRID=4674;POINT (-38.976037 -2.99364)'))) / (select extract(epoch from '2026-06-20 17:39:55'::timestamp) - extract(epoch from '2026-06-20 17:37: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'), 46674, 'SRID=4674;POINT (-38.976044 -2.993648)', '2026-06-20 17:40:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976037 -2.99364)'), GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.993648)'))) / (select extract(epoch from '2026-06-20 17:40:52'::timestamp) - extract(epoch from '2026-06-20 17:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976037 -2.99364)'), GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.993648)'))) / (select extract(epoch from '2026-06-20 17:40:52'::timestamp) - extract(epoch from '2026-06-20 17:39: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'), 46674, 'SRID=4674;POINT (-38.976059 -2.993672)', '2026-06-20 17:43:45', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.993648)'), GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993672)'))) / (select extract(epoch from '2026-06-20 17:43:45'::timestamp) - extract(epoch from '2026-06-20 17:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.993648)'), GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993672)'))) / (select extract(epoch from '2026-06-20 17:43:45'::timestamp) - extract(epoch from '2026-06-20 17:40: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'), 46674, 'SRID=4674;POINT (-38.976057 -2.993676)', '2026-06-20 17:44:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993672)'), GeomFromEWKT('SRID=4674;POINT (-38.976057 -2.993676)'))) / (select extract(epoch from '2026-06-20 17:44:01'::timestamp) - extract(epoch from '2026-06-20 17:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993672)'), GeomFromEWKT('SRID=4674;POINT (-38.976057 -2.993676)'))) / (select extract(epoch from '2026-06-20 17:44:01'::timestamp) - extract(epoch from '2026-06-20 17:43: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'), 46674, 'SRID=4674;POINT (-38.976073 -2.99368)', '2026-06-20 17:44:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976057 -2.993676)'), GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.99368)'))) / (select extract(epoch from '2026-06-20 17:44:31'::timestamp) - extract(epoch from '2026-06-20 17:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976057 -2.993676)'), GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.99368)'))) / (select extract(epoch from '2026-06-20 17:44:31'::timestamp) - extract(epoch from '2026-06-20 17:44: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'), 46674, 'SRID=4674;POINT (-38.97609 -2.993695)', '2026-06-20 17:46:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.99368)'), GeomFromEWKT('SRID=4674;POINT (-38.97609 -2.993695)'))) / (select extract(epoch from '2026-06-20 17:46:23'::timestamp) - extract(epoch from '2026-06-20 17:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.99368)'), GeomFromEWKT('SRID=4674;POINT (-38.97609 -2.993695)'))) / (select extract(epoch from '2026-06-20 17:46:23'::timestamp) - extract(epoch from '2026-06-20 17:44: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'), 46674, 'SRID=4674;POINT (-38.976092 -2.993709)', '2026-06-20 17:47:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97609 -2.993695)'), GeomFromEWKT('SRID=4674;POINT (-38.976092 -2.993709)'))) / (select extract(epoch from '2026-06-20 17:47:35'::timestamp) - extract(epoch from '2026-06-20 17:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97609 -2.993695)'), GeomFromEWKT('SRID=4674;POINT (-38.976092 -2.993709)'))) / (select extract(epoch from '2026-06-20 17:47:35'::timestamp) - extract(epoch from '2026-06-20 17: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'), 46674, 'SRID=4674;POINT (-38.976083 -2.993721)', '2026-06-20 17:49:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976092 -2.993709)'), GeomFromEWKT('SRID=4674;POINT (-38.976083 -2.993721)'))) / (select extract(epoch from '2026-06-20 17:49:44'::timestamp) - extract(epoch from '2026-06-20 17:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976092 -2.993709)'), GeomFromEWKT('SRID=4674;POINT (-38.976083 -2.993721)'))) / (select extract(epoch from '2026-06-20 17:49:44'::timestamp) - extract(epoch from '2026-06-20 17:47: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'), 46674, 'SRID=4674;POINT (-38.976111 -2.993751)', '2026-06-20 17:50:18', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976083 -2.993721)'), GeomFromEWKT('SRID=4674;POINT (-38.976111 -2.993751)'))) / (select extract(epoch from '2026-06-20 17:50:18'::timestamp) - extract(epoch from '2026-06-20 17:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976083 -2.993721)'), GeomFromEWKT('SRID=4674;POINT (-38.976111 -2.993751)'))) / (select extract(epoch from '2026-06-20 17:50:18'::timestamp) - extract(epoch from '2026-06-20 17:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.976128 -2.993791)', '2026-06-20 17:51:42', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976111 -2.993751)'), GeomFromEWKT('SRID=4674;POINT (-38.976128 -2.993791)'))) / (select extract(epoch from '2026-06-20 17:51:42'::timestamp) - extract(epoch from '2026-06-20 17:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976111 -2.993751)'), GeomFromEWKT('SRID=4674;POINT (-38.976128 -2.993791)'))) / (select extract(epoch from '2026-06-20 17:51:42'::timestamp) - extract(epoch from '2026-06-20 17:50: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'), 46674, 'SRID=4674;POINT (-38.976123 -2.993791)', '2026-06-20 17:55:11', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976128 -2.993791)'), GeomFromEWKT('SRID=4674;POINT (-38.976123 -2.993791)'))) / (select extract(epoch from '2026-06-20 17:55:11'::timestamp) - extract(epoch from '2026-06-20 17:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976128 -2.993791)'), GeomFromEWKT('SRID=4674;POINT (-38.976123 -2.993791)'))) / (select extract(epoch from '2026-06-20 17:55:11'::timestamp) - extract(epoch from '2026-06-20 17:51: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'), 46674, 'SRID=4674;POINT (-38.976141 -2.993802)', '2026-06-20 17:55:28', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976123 -2.993791)'), GeomFromEWKT('SRID=4674;POINT (-38.976141 -2.993802)'))) / (select extract(epoch from '2026-06-20 17:55:28'::timestamp) - extract(epoch from '2026-06-20 17:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976123 -2.993791)'), GeomFromEWKT('SRID=4674;POINT (-38.976141 -2.993802)'))) / (select extract(epoch from '2026-06-20 17:55:28'::timestamp) - extract(epoch from '2026-06-20 17: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'), 46674, 'SRID=4674;POINT (-38.976123 -2.993802)', '2026-06-20 17:58:51', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976141 -2.993802)'), GeomFromEWKT('SRID=4674;POINT (-38.976123 -2.993802)'))) / (select extract(epoch from '2026-06-20 17:58:51'::timestamp) - extract(epoch from '2026-06-20 17:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976141 -2.993802)'), GeomFromEWKT('SRID=4674;POINT (-38.976123 -2.993802)'))) / (select extract(epoch from '2026-06-20 17:58:51'::timestamp) - extract(epoch from '2026-06-20 17: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'), 46674, 'SRID=4674;POINT (-38.976119 -2.993802)', '2026-06-20 17:58:56', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976123 -2.993802)'), GeomFromEWKT('SRID=4674;POINT (-38.976119 -2.993802)'))) / (select extract(epoch from '2026-06-20 17:58:56'::timestamp) - extract(epoch from '2026-06-20 17:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976123 -2.993802)'), GeomFromEWKT('SRID=4674;POINT (-38.976119 -2.993802)'))) / (select extract(epoch from '2026-06-20 17:58:56'::timestamp) - extract(epoch from '2026-06-20 17:58: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'), 46674, 'SRID=4674;POINT (-38.976132 -2.993808)', '2026-06-20 17:59:46', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976119 -2.993802)'), GeomFromEWKT('SRID=4674;POINT (-38.976132 -2.993808)'))) / (select extract(epoch from '2026-06-20 17:59:46'::timestamp) - extract(epoch from '2026-06-20 17:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976119 -2.993802)'), GeomFromEWKT('SRID=4674;POINT (-38.976132 -2.993808)'))) / (select extract(epoch from '2026-06-20 17:59:46'::timestamp) - extract(epoch from '2026-06-20 17:58: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'), 46674, 'SRID=4674;POINT (-38.97614 -2.99381)', '2026-06-20 17:59:55', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976132 -2.993808)'), GeomFromEWKT('SRID=4674;POINT (-38.97614 -2.99381)'))) / (select extract(epoch from '2026-06-20 17:59:55'::timestamp) - extract(epoch from '2026-06-20 17:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976132 -2.993808)'), GeomFromEWKT('SRID=4674;POINT (-38.97614 -2.99381)'))) / (select extract(epoch from '2026-06-20 17:59:55'::timestamp) - extract(epoch from '2026-06-20 17:59: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'), 46674, 'SRID=4674;POINT (-38.976145 -2.993836)', '2026-06-20 18:02:25', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97614 -2.99381)'), GeomFromEWKT('SRID=4674;POINT (-38.976145 -2.993836)'))) / (select extract(epoch from '2026-06-20 18:02:25'::timestamp) - extract(epoch from '2026-06-20 17:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97614 -2.99381)'), GeomFromEWKT('SRID=4674;POINT (-38.976145 -2.993836)'))) / (select extract(epoch from '2026-06-20 18:02:25'::timestamp) - extract(epoch from '2026-06-20 17:59: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'), 46674, 'SRID=4674;POINT (-38.976134 -2.993831)', '2026-06-20 18:04:34', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976145 -2.993836)'), GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993831)'))) / (select extract(epoch from '2026-06-20 18:04:34'::timestamp) - extract(epoch from '2026-06-20 18:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976145 -2.993836)'), GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993831)'))) / (select extract(epoch from '2026-06-20 18:04:34'::timestamp) - extract(epoch from '2026-06-20 18:02: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'), 46674, 'SRID=4674;POINT (-38.976144 -2.993818)', '2026-06-20 18:05:06', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993831)'), GeomFromEWKT('SRID=4674;POINT (-38.976144 -2.993818)'))) / (select extract(epoch from '2026-06-20 18:05:06'::timestamp) - extract(epoch from '2026-06-20 18:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993831)'), GeomFromEWKT('SRID=4674;POINT (-38.976144 -2.993818)'))) / (select extract(epoch from '2026-06-20 18:05:06'::timestamp) - extract(epoch from '2026-06-20 18:04: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'), 46674, 'SRID=4674;POINT (-38.976144 -2.993833)', '2026-06-20 18:06:22', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976144 -2.993818)'), GeomFromEWKT('SRID=4674;POINT (-38.976144 -2.993833)'))) / (select extract(epoch from '2026-06-20 18:06:22'::timestamp) - extract(epoch from '2026-06-20 18:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976144 -2.993818)'), GeomFromEWKT('SRID=4674;POINT (-38.976144 -2.993833)'))) / (select extract(epoch from '2026-06-20 18:06:22'::timestamp) - extract(epoch from '2026-06-20 18: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'), 46674, 'SRID=4674;POINT (-38.976142 -2.993834)', '2026-06-20 18:06:28', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976144 -2.993833)'), GeomFromEWKT('SRID=4674;POINT (-38.976142 -2.993834)'))) / (select extract(epoch from '2026-06-20 18:06:28'::timestamp) - extract(epoch from '2026-06-20 18:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976144 -2.993833)'), GeomFromEWKT('SRID=4674;POINT (-38.976142 -2.993834)'))) / (select extract(epoch from '2026-06-20 18:06:28'::timestamp) - extract(epoch from '2026-06-20 18:06: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'), 46674, 'SRID=4674;POINT (-38.97615 -2.993849)', '2026-06-20 18:06:56', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976142 -2.993834)'), GeomFromEWKT('SRID=4674;POINT (-38.97615 -2.993849)'))) / (select extract(epoch from '2026-06-20 18:06:56'::timestamp) - extract(epoch from '2026-06-20 18:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976142 -2.993834)'), GeomFromEWKT('SRID=4674;POINT (-38.97615 -2.993849)'))) / (select extract(epoch from '2026-06-20 18:06:56'::timestamp) - extract(epoch from '2026-06-20 18:06: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'), 46674, 'SRID=4674;POINT (-38.976163 -2.993854)', '2026-06-20 18:07:15', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97615 -2.993849)'), GeomFromEWKT('SRID=4674;POINT (-38.976163 -2.993854)'))) / (select extract(epoch from '2026-06-20 18:07:15'::timestamp) - extract(epoch from '2026-06-20 18:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97615 -2.993849)'), GeomFromEWKT('SRID=4674;POINT (-38.976163 -2.993854)'))) / (select extract(epoch from '2026-06-20 18:07:15'::timestamp) - extract(epoch from '2026-06-20 18:06: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'), 46674, 'SRID=4674;POINT (-38.976163 -2.993854)', '2026-06-20 18:07:21', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976163 -2.993854)'), GeomFromEWKT('SRID=4674;POINT (-38.976163 -2.993854)'))) / (select extract(epoch from '2026-06-20 18:07:21'::timestamp) - extract(epoch from '2026-06-20 18:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976163 -2.993854)'), GeomFromEWKT('SRID=4674;POINT (-38.976163 -2.993854)'))) / (select extract(epoch from '2026-06-20 18:07:21'::timestamp) - extract(epoch from '2026-06-20 18:07: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'), 46674, 'SRID=4674;POINT (-38.97615 -2.993854)', '2026-06-20 18:10:12', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976163 -2.993854)'), GeomFromEWKT('SRID=4674;POINT (-38.97615 -2.993854)'))) / (select extract(epoch from '2026-06-20 18:10:12'::timestamp) - extract(epoch from '2026-06-20 18:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976163 -2.993854)'), GeomFromEWKT('SRID=4674;POINT (-38.97615 -2.993854)'))) / (select extract(epoch from '2026-06-20 18:10:12'::timestamp) - extract(epoch from '2026-06-20 18:07: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'), 46674, 'SRID=4674;POINT (-38.976164 -2.99385)', '2026-06-20 18:13:51', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97615 -2.993854)'), GeomFromEWKT('SRID=4674;POINT (-38.976164 -2.99385)'))) / (select extract(epoch from '2026-06-20 18:13:51'::timestamp) - extract(epoch from '2026-06-20 18:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97615 -2.993854)'), GeomFromEWKT('SRID=4674;POINT (-38.976164 -2.99385)'))) / (select extract(epoch from '2026-06-20 18:13:51'::timestamp) - extract(epoch from '2026-06-20 18:10: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'), 46674, 'SRID=4674;POINT (-38.976141 -2.993855)', '2026-06-20 18:15:58', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976164 -2.99385)'), GeomFromEWKT('SRID=4674;POINT (-38.976141 -2.993855)'))) / (select extract(epoch from '2026-06-20 18:15:58'::timestamp) - extract(epoch from '2026-06-20 18:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976164 -2.99385)'), GeomFromEWKT('SRID=4674;POINT (-38.976141 -2.993855)'))) / (select extract(epoch from '2026-06-20 18:15:58'::timestamp) - extract(epoch from '2026-06-20 18:13: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'), 46674, 'SRID=4674;POINT (-38.976145 -2.993855)', '2026-06-20 18:16:07', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976141 -2.993855)'), GeomFromEWKT('SRID=4674;POINT (-38.976145 -2.993855)'))) / (select extract(epoch from '2026-06-20 18:16:07'::timestamp) - extract(epoch from '2026-06-20 18:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976141 -2.993855)'), GeomFromEWKT('SRID=4674;POINT (-38.976145 -2.993855)'))) / (select extract(epoch from '2026-06-20 18:16:07'::timestamp) - extract(epoch from '2026-06-20 18:15: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'), 46674, 'SRID=4674;POINT (-38.976133 -2.993882)', '2026-06-20 18:17:37', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976145 -2.993855)'), GeomFromEWKT('SRID=4674;POINT (-38.976133 -2.993882)'))) / (select extract(epoch from '2026-06-20 18:17:37'::timestamp) - extract(epoch from '2026-06-20 18:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976145 -2.993855)'), GeomFromEWKT('SRID=4674;POINT (-38.976133 -2.993882)'))) / (select extract(epoch from '2026-06-20 18:17:37'::timestamp) - extract(epoch from '2026-06-20 18:16: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'), 46674, 'SRID=4674;POINT (-38.976153 -2.99386)', '2026-06-20 18:22:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976133 -2.993882)'), GeomFromEWKT('SRID=4674;POINT (-38.976153 -2.99386)'))) / (select extract(epoch from '2026-06-20 18:22:53'::timestamp) - extract(epoch from '2026-06-20 18:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976133 -2.993882)'), GeomFromEWKT('SRID=4674;POINT (-38.976153 -2.99386)'))) / (select extract(epoch from '2026-06-20 18:22:53'::timestamp) - extract(epoch from '2026-06-20 18:17: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'), 46674, 'SRID=4674;POINT (-38.976159 -2.99386)', '2026-06-20 18:28:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976153 -2.99386)'), GeomFromEWKT('SRID=4674;POINT (-38.976159 -2.99386)'))) / (select extract(epoch from '2026-06-20 18:28:32'::timestamp) - extract(epoch from '2026-06-20 18:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976153 -2.99386)'), GeomFromEWKT('SRID=4674;POINT (-38.976159 -2.99386)'))) / (select extract(epoch from '2026-06-20 18:28:32'::timestamp) - extract(epoch from '2026-06-20 18:22: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'), 46674, 'SRID=4674;POINT (-38.976122 -2.993814)', '2026-06-20 18:34:28', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976159 -2.99386)'), GeomFromEWKT('SRID=4674;POINT (-38.976122 -2.993814)'))) / (select extract(epoch from '2026-06-20 18:34:28'::timestamp) - extract(epoch from '2026-06-20 18:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976159 -2.99386)'), GeomFromEWKT('SRID=4674;POINT (-38.976122 -2.993814)'))) / (select extract(epoch from '2026-06-20 18:34:28'::timestamp) - extract(epoch from '2026-06-20 18:28: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'), 46674, 'SRID=4674;POINT (-38.976105 -2.993773)', '2026-06-20 18:34:58', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976122 -2.993814)'), GeomFromEWKT('SRID=4674;POINT (-38.976105 -2.993773)'))) / (select extract(epoch from '2026-06-20 18:34:58'::timestamp) - extract(epoch from '2026-06-20 18:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976122 -2.993814)'), GeomFromEWKT('SRID=4674;POINT (-38.976105 -2.993773)'))) / (select extract(epoch from '2026-06-20 18:34:58'::timestamp) - extract(epoch from '2026-06-20 18:34: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'), 46674, 'SRID=4674;POINT (-38.976136 -2.993797)', '2026-06-20 18:39:15', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976105 -2.993773)'), GeomFromEWKT('SRID=4674;POINT (-38.976136 -2.993797)'))) / (select extract(epoch from '2026-06-20 18:39:15'::timestamp) - extract(epoch from '2026-06-20 18:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976105 -2.993773)'), GeomFromEWKT('SRID=4674;POINT (-38.976136 -2.993797)'))) / (select extract(epoch from '2026-06-20 18:39:15'::timestamp) - extract(epoch from '2026-06-20 18:34: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'), 46674, 'SRID=4674;POINT (-38.976134 -2.993793)', '2026-06-20 18:39:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976136 -2.993797)'), GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993793)'))) / (select extract(epoch from '2026-06-20 18:39:39'::timestamp) - extract(epoch from '2026-06-20 18:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976136 -2.993797)'), GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993793)'))) / (select extract(epoch from '2026-06-20 18:39:39'::timestamp) - extract(epoch from '2026-06-20 18:39: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'), 46674, 'SRID=4674;POINT (-38.976134 -2.993807)', '2026-06-20 18:40:46', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993793)'), GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993807)'))) / (select extract(epoch from '2026-06-20 18:40:46'::timestamp) - extract(epoch from '2026-06-20 18:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993793)'), GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993807)'))) / (select extract(epoch from '2026-06-20 18:40:46'::timestamp) - extract(epoch from '2026-06-20 18:39: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'), 46674, 'SRID=4674;POINT (-38.976138 -2.99384)', '2026-06-20 18:43:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993807)'), GeomFromEWKT('SRID=4674;POINT (-38.976138 -2.99384)'))) / (select extract(epoch from '2026-06-20 18:43:08'::timestamp) - extract(epoch from '2026-06-20 18:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976134 -2.993807)'), GeomFromEWKT('SRID=4674;POINT (-38.976138 -2.99384)'))) / (select extract(epoch from '2026-06-20 18:43:08'::timestamp) - extract(epoch from '2026-06-20 18:40: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'), 46674, 'SRID=4674;POINT (-38.976126 -2.993813)', '2026-06-20 18:53:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976138 -2.99384)'), GeomFromEWKT('SRID=4674;POINT (-38.976126 -2.993813)'))) / (select extract(epoch from '2026-06-20 18:53:37'::timestamp) - extract(epoch from '2026-06-20 18:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976138 -2.99384)'), GeomFromEWKT('SRID=4674;POINT (-38.976126 -2.993813)'))) / (select extract(epoch from '2026-06-20 18:53:37'::timestamp) - extract(epoch from '2026-06-20 18:43: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'), 46674, 'SRID=4674;POINT (-38.976104 -2.993793)', '2026-06-20 19:02:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976126 -2.993813)'), GeomFromEWKT('SRID=4674;POINT (-38.976104 -2.993793)'))) / (select extract(epoch from '2026-06-20 19:02:30'::timestamp) - extract(epoch from '2026-06-20 18:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976126 -2.993813)'), GeomFromEWKT('SRID=4674;POINT (-38.976104 -2.993793)'))) / (select extract(epoch from '2026-06-20 19:02:30'::timestamp) - extract(epoch from '2026-06-20 18:53: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'), 46674, 'SRID=4674;POINT (-38.976074 -2.993707)', '2026-06-20 19:11:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976104 -2.993793)'), GeomFromEWKT('SRID=4674;POINT (-38.976074 -2.993707)'))) / (select extract(epoch from '2026-06-20 19:11:03'::timestamp) - extract(epoch from '2026-06-20 19:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976104 -2.993793)'), GeomFromEWKT('SRID=4674;POINT (-38.976074 -2.993707)'))) / (select extract(epoch from '2026-06-20 19:11:03'::timestamp) - extract(epoch from '2026-06-20 19: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'), 46674, 'SRID=4674;POINT (-38.976079 -2.993709)', '2026-06-20 19:13:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976074 -2.993707)'), GeomFromEWKT('SRID=4674;POINT (-38.976079 -2.993709)'))) / (select extract(epoch from '2026-06-20 19:13:07'::timestamp) - extract(epoch from '2026-06-20 19:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976074 -2.993707)'), GeomFromEWKT('SRID=4674;POINT (-38.976079 -2.993709)'))) / (select extract(epoch from '2026-06-20 19:13:07'::timestamp) - extract(epoch from '2026-06-20 19:11: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'), 46674, 'SRID=4674;POINT (-38.976065 -2.993724)', '2026-06-20 19:18:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976079 -2.993709)'), GeomFromEWKT('SRID=4674;POINT (-38.976065 -2.993724)'))) / (select extract(epoch from '2026-06-20 19:18:48'::timestamp) - extract(epoch from '2026-06-20 19:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976079 -2.993709)'), GeomFromEWKT('SRID=4674;POINT (-38.976065 -2.993724)'))) / (select extract(epoch from '2026-06-20 19:18:48'::timestamp) - extract(epoch from '2026-06-20 19:13: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'), 46674, 'SRID=4674;POINT (-38.976087 -2.993744)', '2026-06-20 19:20:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976065 -2.993724)'), GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993744)'))) / (select extract(epoch from '2026-06-20 19:20:39'::timestamp) - extract(epoch from '2026-06-20 19:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976065 -2.993724)'), GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993744)'))) / (select extract(epoch from '2026-06-20 19:20:39'::timestamp) - extract(epoch from '2026-06-20 19:18: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'), 46674, 'SRID=4674;POINT (-38.976099 -2.993745)', '2026-06-20 19:21:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993744)'), GeomFromEWKT('SRID=4674;POINT (-38.976099 -2.993745)'))) / (select extract(epoch from '2026-06-20 19:21:40'::timestamp) - extract(epoch from '2026-06-20 19:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993744)'), GeomFromEWKT('SRID=4674;POINT (-38.976099 -2.993745)'))) / (select extract(epoch from '2026-06-20 19:21:40'::timestamp) - extract(epoch from '2026-06-20 19:20: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'), 46674, 'SRID=4674;POINT (-38.976087 -2.993736)', '2026-06-20 19:26:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976099 -2.993745)'), GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993736)'))) / (select extract(epoch from '2026-06-20 19:26:51'::timestamp) - extract(epoch from '2026-06-20 19:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976099 -2.993745)'), GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993736)'))) / (select extract(epoch from '2026-06-20 19:26:51'::timestamp) - extract(epoch from '2026-06-20 19:21: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'), 46674, 'SRID=4674;POINT (-38.976092 -2.993742)', '2026-06-20 19:31:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993736)'), GeomFromEWKT('SRID=4674;POINT (-38.976092 -2.993742)'))) / (select extract(epoch from '2026-06-20 19:31:48'::timestamp) - extract(epoch from '2026-06-20 19:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993736)'), GeomFromEWKT('SRID=4674;POINT (-38.976092 -2.993742)'))) / (select extract(epoch from '2026-06-20 19:31:48'::timestamp) - extract(epoch from '2026-06-20 19:26: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'), 46674, 'SRID=4674;POINT (-38.976084 -2.993757)', '2026-06-20 19:35:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976092 -2.993742)'), GeomFromEWKT('SRID=4674;POINT (-38.976084 -2.993757)'))) / (select extract(epoch from '2026-06-20 19:35:46'::timestamp) - extract(epoch from '2026-06-20 19:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976092 -2.993742)'), GeomFromEWKT('SRID=4674;POINT (-38.976084 -2.993757)'))) / (select extract(epoch from '2026-06-20 19:35:46'::timestamp) - extract(epoch from '2026-06-20 19:31: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'), 46674, 'SRID=4674;POINT (-38.976084 -2.993752)', '2026-06-20 19:36:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976084 -2.993757)'), GeomFromEWKT('SRID=4674;POINT (-38.976084 -2.993752)'))) / (select extract(epoch from '2026-06-20 19:36:46'::timestamp) - extract(epoch from '2026-06-20 19:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976084 -2.993757)'), GeomFromEWKT('SRID=4674;POINT (-38.976084 -2.993752)'))) / (select extract(epoch from '2026-06-20 19:36:46'::timestamp) - extract(epoch from '2026-06-20 19:35: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'), 46674, 'SRID=4674;POINT (-38.976103 -2.993753)', '2026-06-20 19:37:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976084 -2.993752)'), GeomFromEWKT('SRID=4674;POINT (-38.976103 -2.993753)'))) / (select extract(epoch from '2026-06-20 19:37:51'::timestamp) - extract(epoch from '2026-06-20 19:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976084 -2.993752)'), GeomFromEWKT('SRID=4674;POINT (-38.976103 -2.993753)'))) / (select extract(epoch from '2026-06-20 19:37:51'::timestamp) - extract(epoch from '2026-06-20 19:36: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'), 46674, 'SRID=4674;POINT (-38.976098 -2.993759)', '2026-06-20 19:38:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976103 -2.993753)'), GeomFromEWKT('SRID=4674;POINT (-38.976098 -2.993759)'))) / (select extract(epoch from '2026-06-20 19:38:12'::timestamp) - extract(epoch from '2026-06-20 19:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976103 -2.993753)'), GeomFromEWKT('SRID=4674;POINT (-38.976098 -2.993759)'))) / (select extract(epoch from '2026-06-20 19:38:12'::timestamp) - extract(epoch from '2026-06-20 19:37: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'), 46674, 'SRID=4674;POINT (-38.976087 -2.993786)', '2026-06-20 19:38:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976098 -2.993759)'), GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993786)'))) / (select extract(epoch from '2026-06-20 19:38:51'::timestamp) - extract(epoch from '2026-06-20 19:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976098 -2.993759)'), GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993786)'))) / (select extract(epoch from '2026-06-20 19:38:51'::timestamp) - extract(epoch from '2026-06-20 19: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'), 46674, 'SRID=4674;POINT (-38.976099 -2.993797)', '2026-06-20 19:39:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993786)'), GeomFromEWKT('SRID=4674;POINT (-38.976099 -2.993797)'))) / (select extract(epoch from '2026-06-20 19:39:31'::timestamp) - extract(epoch from '2026-06-20 19:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976087 -2.993786)'), GeomFromEWKT('SRID=4674;POINT (-38.976099 -2.993797)'))) / (select extract(epoch from '2026-06-20 19:39:31'::timestamp) - extract(epoch from '2026-06-20 19:38: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'), 46674, 'SRID=4674;POINT (-38.976113 -2.993799)', '2026-06-20 19:40:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976099 -2.993797)'), GeomFromEWKT('SRID=4674;POINT (-38.976113 -2.993799)'))) / (select extract(epoch from '2026-06-20 19:40:11'::timestamp) - extract(epoch from '2026-06-20 19:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976099 -2.993797)'), GeomFromEWKT('SRID=4674;POINT (-38.976113 -2.993799)'))) / (select extract(epoch from '2026-06-20 19:40:11'::timestamp) - extract(epoch from '2026-06-20 19:39: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'), 46674, 'SRID=4674;POINT (-38.976094 -2.993777)', '2026-06-20 19:46:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976113 -2.993799)'), GeomFromEWKT('SRID=4674;POINT (-38.976094 -2.993777)'))) / (select extract(epoch from '2026-06-20 19:46:16'::timestamp) - extract(epoch from '2026-06-20 19:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976113 -2.993799)'), GeomFromEWKT('SRID=4674;POINT (-38.976094 -2.993777)'))) / (select extract(epoch from '2026-06-20 19:46:16'::timestamp) - extract(epoch from '2026-06-20 19:40: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'), 46674, 'SRID=4674;POINT (-38.976058 -2.993763)', '2026-06-20 19:47:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976094 -2.993777)'), GeomFromEWKT('SRID=4674;POINT (-38.976058 -2.993763)'))) / (select extract(epoch from '2026-06-20 19:47:26'::timestamp) - extract(epoch from '2026-06-20 19:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976094 -2.993777)'), GeomFromEWKT('SRID=4674;POINT (-38.976058 -2.993763)'))) / (select extract(epoch from '2026-06-20 19:47:26'::timestamp) - extract(epoch from '2026-06-20 19:46: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'), 46674, 'SRID=4674;POINT (-38.976089 -2.99376)', '2026-06-20 19:50:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976058 -2.993763)'), GeomFromEWKT('SRID=4674;POINT (-38.976089 -2.99376)'))) / (select extract(epoch from '2026-06-20 19:50:08'::timestamp) - extract(epoch from '2026-06-20 19:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976058 -2.993763)'), GeomFromEWKT('SRID=4674;POINT (-38.976089 -2.99376)'))) / (select extract(epoch from '2026-06-20 19:50:08'::timestamp) - extract(epoch from '2026-06-20 19:47: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'), 46674, 'SRID=4674;POINT (-38.976051 -2.993727)', '2026-06-20 19:54:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976089 -2.99376)'), GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993727)'))) / (select extract(epoch from '2026-06-20 19:54:39'::timestamp) - extract(epoch from '2026-06-20 19:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976089 -2.99376)'), GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993727)'))) / (select extract(epoch from '2026-06-20 19:54:39'::timestamp) - extract(epoch from '2026-06-20 19: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'), 46674, 'SRID=4674;POINT (-38.976045 -2.99373)', '2026-06-20 19:56:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993727)'), GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.99373)'))) / (select extract(epoch from '2026-06-20 19:56:10'::timestamp) - extract(epoch from '2026-06-20 19:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993727)'), GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.99373)'))) / (select extract(epoch from '2026-06-20 19:56:10'::timestamp) - extract(epoch from '2026-06-20 19: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'), 46674, 'SRID=4674;POINT (-38.976061 -2.99372)', '2026-06-20 19:56:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.99373)'), GeomFromEWKT('SRID=4674;POINT (-38.976061 -2.99372)'))) / (select extract(epoch from '2026-06-20 19:56:23'::timestamp) - extract(epoch from '2026-06-20 19:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.99373)'), GeomFromEWKT('SRID=4674;POINT (-38.976061 -2.99372)'))) / (select extract(epoch from '2026-06-20 19:56:23'::timestamp) - extract(epoch from '2026-06-20 19:56: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'), 46674, 'SRID=4674;POINT (-38.976055 -2.993709)', '2026-06-20 20:03:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976061 -2.99372)'), GeomFromEWKT('SRID=4674;POINT (-38.976055 -2.993709)'))) / (select extract(epoch from '2026-06-20 20:03:04'::timestamp) - extract(epoch from '2026-06-20 19:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976061 -2.99372)'), GeomFromEWKT('SRID=4674;POINT (-38.976055 -2.993709)'))) / (select extract(epoch from '2026-06-20 20:03:04'::timestamp) - extract(epoch from '2026-06-20 19:56: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'), 46674, 'SRID=4674;POINT (-38.976056 -2.993712)', '2026-06-20 20:03:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976055 -2.993709)'), GeomFromEWKT('SRID=4674;POINT (-38.976056 -2.993712)'))) / (select extract(epoch from '2026-06-20 20:03:10'::timestamp) - extract(epoch from '2026-06-20 20:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976055 -2.993709)'), GeomFromEWKT('SRID=4674;POINT (-38.976056 -2.993712)'))) / (select extract(epoch from '2026-06-20 20:03:10'::timestamp) - extract(epoch from '2026-06-20 20:03: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'), 46674, 'SRID=4674;POINT (-38.976067 -2.993615)', '2026-06-20 20:20:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976056 -2.993712)'), GeomFromEWKT('SRID=4674;POINT (-38.976067 -2.993615)'))) / (select extract(epoch from '2026-06-20 20:20:31'::timestamp) - extract(epoch from '2026-06-20 20:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976056 -2.993712)'), GeomFromEWKT('SRID=4674;POINT (-38.976067 -2.993615)'))) / (select extract(epoch from '2026-06-20 20:20:31'::timestamp) - extract(epoch from '2026-06-20 20:03: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'), 46674, 'SRID=4674;POINT (-38.976047 -2.993622)', '2026-06-20 20:20:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976067 -2.993615)'), GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993622)'))) / (select extract(epoch from '2026-06-20 20:20:51'::timestamp) - extract(epoch from '2026-06-20 20:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976067 -2.993615)'), GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993622)'))) / (select extract(epoch from '2026-06-20 20:20:51'::timestamp) - extract(epoch from '2026-06-20 20:20: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'), 46674, 'SRID=4674;POINT (-38.976059 -2.993672)', '2026-06-20 20:24:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993622)'), GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993672)'))) / (select extract(epoch from '2026-06-20 20:24:26'::timestamp) - extract(epoch from '2026-06-20 20:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993622)'), GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993672)'))) / (select extract(epoch from '2026-06-20 20:24:26'::timestamp) - extract(epoch from '2026-06-20 20:20: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'), 46674, 'SRID=4674;POINT (-38.976044 -2.99364)', '2026-06-20 20:30:44', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993672)'), GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.99364)'))) / (select extract(epoch from '2026-06-20 20:30:44'::timestamp) - extract(epoch from '2026-06-20 20:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993672)'), GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.99364)'))) / (select extract(epoch from '2026-06-20 20:30:44'::timestamp) - extract(epoch from '2026-06-20 20:24: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'), 46674, 'SRID=4674;POINT (-38.976047 -2.993655)', '2026-06-20 20:32:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.99364)'), GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993655)'))) / (select extract(epoch from '2026-06-20 20:32:37'::timestamp) - extract(epoch from '2026-06-20 20:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.99364)'), GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993655)'))) / (select extract(epoch from '2026-06-20 20:32:37'::timestamp) - extract(epoch from '2026-06-20 20:30: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'), 46674, 'SRID=4674;POINT (-38.976052 -2.993633)', '2026-06-20 20:36:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993655)'), GeomFromEWKT('SRID=4674;POINT (-38.976052 -2.993633)'))) / (select extract(epoch from '2026-06-20 20:36:39'::timestamp) - extract(epoch from '2026-06-20 20:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993655)'), GeomFromEWKT('SRID=4674;POINT (-38.976052 -2.993633)'))) / (select extract(epoch from '2026-06-20 20:36:39'::timestamp) - extract(epoch from '2026-06-20 20:32: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'), 46674, 'SRID=4674;POINT (-38.976024 -2.99361)', '2026-06-20 20:37:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976052 -2.993633)'), GeomFromEWKT('SRID=4674;POINT (-38.976024 -2.99361)'))) / (select extract(epoch from '2026-06-20 20:37:17'::timestamp) - extract(epoch from '2026-06-20 20:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976052 -2.993633)'), GeomFromEWKT('SRID=4674;POINT (-38.976024 -2.99361)'))) / (select extract(epoch from '2026-06-20 20:37:17'::timestamp) - extract(epoch from '2026-06-20 20:36: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'), 46674, 'SRID=4674;POINT (-38.976031 -2.993608)', '2026-06-20 20:37:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976024 -2.99361)'), GeomFromEWKT('SRID=4674;POINT (-38.976031 -2.993608)'))) / (select extract(epoch from '2026-06-20 20:37:35'::timestamp) - extract(epoch from '2026-06-20 20:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976024 -2.99361)'), GeomFromEWKT('SRID=4674;POINT (-38.976031 -2.993608)'))) / (select extract(epoch from '2026-06-20 20:37:35'::timestamp) - extract(epoch from '2026-06-20 20:37: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'), 46674, 'SRID=4674;POINT (-38.976023 -2.993615)', '2026-06-20 20:38:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976031 -2.993608)'), GeomFromEWKT('SRID=4674;POINT (-38.976023 -2.993615)'))) / (select extract(epoch from '2026-06-20 20:38:46'::timestamp) - extract(epoch from '2026-06-20 20:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976031 -2.993608)'), GeomFromEWKT('SRID=4674;POINT (-38.976023 -2.993615)'))) / (select extract(epoch from '2026-06-20 20:38:46'::timestamp) - extract(epoch from '2026-06-20 20:37: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'), 46674, 'SRID=4674;POINT (-38.976045 -2.993623)', '2026-06-20 20:38:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976023 -2.993615)'), GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.993623)'))) / (select extract(epoch from '2026-06-20 20:38:57'::timestamp) - extract(epoch from '2026-06-20 20:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976023 -2.993615)'), GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.993623)'))) / (select extract(epoch from '2026-06-20 20:38:57'::timestamp) - extract(epoch from '2026-06-20 20:38: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'), 46674, 'SRID=4674;POINT (-38.976051 -2.993629)', '2026-06-20 20:39:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.993623)'), GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993629)'))) / (select extract(epoch from '2026-06-20 20:39:49'::timestamp) - extract(epoch from '2026-06-20 20:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.993623)'), GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993629)'))) / (select extract(epoch from '2026-06-20 20:39:49'::timestamp) - extract(epoch from '2026-06-20 20:38: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'), 46674, 'SRID=4674;POINT (-38.976062 -2.993638)', '2026-06-20 20:39:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993629)'), GeomFromEWKT('SRID=4674;POINT (-38.976062 -2.993638)'))) / (select extract(epoch from '2026-06-20 20:39:57'::timestamp) - extract(epoch from '2026-06-20 20:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993629)'), GeomFromEWKT('SRID=4674;POINT (-38.976062 -2.993638)'))) / (select extract(epoch from '2026-06-20 20:39:57'::timestamp) - extract(epoch from '2026-06-20 20:39: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'), 46674, 'SRID=4674;POINT (-38.976046 -2.993632)', '2026-06-20 20:42:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976062 -2.993638)'), GeomFromEWKT('SRID=4674;POINT (-38.976046 -2.993632)'))) / (select extract(epoch from '2026-06-20 20:42:07'::timestamp) - extract(epoch from '2026-06-20 20:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976062 -2.993638)'), GeomFromEWKT('SRID=4674;POINT (-38.976046 -2.993632)'))) / (select extract(epoch from '2026-06-20 20:42:07'::timestamp) - extract(epoch from '2026-06-20 20:39: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'), 46674, 'SRID=4674;POINT (-38.976051 -2.993643)', '2026-06-20 20:42:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976046 -2.993632)'), GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993643)'))) / (select extract(epoch from '2026-06-20 20:42:21'::timestamp) - extract(epoch from '2026-06-20 20:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976046 -2.993632)'), GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993643)'))) / (select extract(epoch from '2026-06-20 20:42:21'::timestamp) - extract(epoch from '2026-06-20 20:42: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'), 46674, 'SRID=4674;POINT (-38.976088 -2.993676)', '2026-06-20 20:42:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993643)'), GeomFromEWKT('SRID=4674;POINT (-38.976088 -2.993676)'))) / (select extract(epoch from '2026-06-20 20:42:53'::timestamp) - extract(epoch from '2026-06-20 20:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976051 -2.993643)'), GeomFromEWKT('SRID=4674;POINT (-38.976088 -2.993676)'))) / (select extract(epoch from '2026-06-20 20:42:53'::timestamp) - extract(epoch from '2026-06-20 20:42: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'), 46674, 'SRID=4674;POINT (-38.976082 -2.993676)', '2026-06-20 20:43:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976088 -2.993676)'), GeomFromEWKT('SRID=4674;POINT (-38.976082 -2.993676)'))) / (select extract(epoch from '2026-06-20 20:43:13'::timestamp) - extract(epoch from '2026-06-20 20:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976088 -2.993676)'), GeomFromEWKT('SRID=4674;POINT (-38.976082 -2.993676)'))) / (select extract(epoch from '2026-06-20 20:43:13'::timestamp) - extract(epoch from '2026-06-20 20:42: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'), 46674, 'SRID=4674;POINT (-38.97608 -2.993663)', '2026-06-20 20:43:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976082 -2.993676)'), GeomFromEWKT('SRID=4674;POINT (-38.97608 -2.993663)'))) / (select extract(epoch from '2026-06-20 20:43:24'::timestamp) - extract(epoch from '2026-06-20 20:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976082 -2.993676)'), GeomFromEWKT('SRID=4674;POINT (-38.97608 -2.993663)'))) / (select extract(epoch from '2026-06-20 20:43:24'::timestamp) - extract(epoch from '2026-06-20 20:43: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'), 46674, 'SRID=4674;POINT (-38.976073 -2.993682)', '2026-06-20 20:44:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97608 -2.993663)'), GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.993682)'))) / (select extract(epoch from '2026-06-20 20:44:59'::timestamp) - extract(epoch from '2026-06-20 20:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97608 -2.993663)'), GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.993682)'))) / (select extract(epoch from '2026-06-20 20:44:59'::timestamp) - extract(epoch from '2026-06-20 20:43: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'), 46674, 'SRID=4674;POINT (-38.976103 -2.99369)', '2026-06-20 20:48:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.993682)'), GeomFromEWKT('SRID=4674;POINT (-38.976103 -2.99369)'))) / (select extract(epoch from '2026-06-20 20:48:18'::timestamp) - extract(epoch from '2026-06-20 20:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.993682)'), GeomFromEWKT('SRID=4674;POINT (-38.976103 -2.99369)'))) / (select extract(epoch from '2026-06-20 20:48:18'::timestamp) - extract(epoch from '2026-06-20 20:44: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'), 46674, 'SRID=4674;POINT (-38.976044 -2.993614)', '2026-06-20 20:55:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976103 -2.99369)'), GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.993614)'))) / (select extract(epoch from '2026-06-20 20:55:19'::timestamp) - extract(epoch from '2026-06-20 20:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976103 -2.99369)'), GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.993614)'))) / (select extract(epoch from '2026-06-20 20:55:19'::timestamp) - extract(epoch from '2026-06-20 20:48: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'), 46674, 'SRID=4674;POINT (-38.976056 -2.993631)', '2026-06-20 20:57:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.993614)'), GeomFromEWKT('SRID=4674;POINT (-38.976056 -2.993631)'))) / (select extract(epoch from '2026-06-20 20:57:10'::timestamp) - extract(epoch from '2026-06-20 20:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976044 -2.993614)'), GeomFromEWKT('SRID=4674;POINT (-38.976056 -2.993631)'))) / (select extract(epoch from '2026-06-20 20:57:10'::timestamp) - extract(epoch from '2026-06-20 20: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'), 46674, 'SRID=4674;POINT (-38.976073 -2.993637)', '2026-06-20 20:57:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976056 -2.993631)'), GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.993637)'))) / (select extract(epoch from '2026-06-20 20:57:24'::timestamp) - extract(epoch from '2026-06-20 20:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976056 -2.993631)'), GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.993637)'))) / (select extract(epoch from '2026-06-20 20:57:24'::timestamp) - extract(epoch from '2026-06-20 20:57: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'), 46674, 'SRID=4674;POINT (-38.976045 -2.993628)', '2026-06-20 20:57:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.993637)'), GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.993628)'))) / (select extract(epoch from '2026-06-20 20:57:53'::timestamp) - extract(epoch from '2026-06-20 20:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976073 -2.993637)'), GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.993628)'))) / (select extract(epoch from '2026-06-20 20:57:53'::timestamp) - extract(epoch from '2026-06-20 20: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'), 46674, 'SRID=4674;POINT (-38.976043 -2.993626)', '2026-06-20 20:58:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.993628)'), GeomFromEWKT('SRID=4674;POINT (-38.976043 -2.993626)'))) / (select extract(epoch from '2026-06-20 20:58:12'::timestamp) - extract(epoch from '2026-06-20 20:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976045 -2.993628)'), GeomFromEWKT('SRID=4674;POINT (-38.976043 -2.993626)'))) / (select extract(epoch from '2026-06-20 20:58:12'::timestamp) - extract(epoch from '2026-06-20 20:57: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'), 46674, 'SRID=4674;POINT (-38.976047 -2.993628)', '2026-06-20 20:58:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976043 -2.993626)'), GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993628)'))) / (select extract(epoch from '2026-06-20 20:58:20'::timestamp) - extract(epoch from '2026-06-20 20:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976043 -2.993626)'), GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993628)'))) / (select extract(epoch from '2026-06-20 20:58:20'::timestamp) - extract(epoch from '2026-06-20 20:58: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'), 46674, 'SRID=4674;POINT (-38.976059 -2.993632)', '2026-06-20 20:59:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993628)'), GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993632)'))) / (select extract(epoch from '2026-06-20 20:59:06'::timestamp) - extract(epoch from '2026-06-20 20:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976047 -2.993628)'), GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993632)'))) / (select extract(epoch from '2026-06-20 20:59:06'::timestamp) - extract(epoch from '2026-06-20 20: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'), 46674, 'SRID=4674;POINT (-38.976014 -2.99361)', '2026-06-20 20:59:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993632)'), GeomFromEWKT('SRID=4674;POINT (-38.976014 -2.99361)'))) / (select extract(epoch from '2026-06-20 20:59:45'::timestamp) - extract(epoch from '2026-06-20 20:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976059 -2.993632)'), GeomFromEWKT('SRID=4674;POINT (-38.976014 -2.99361)'))) / (select extract(epoch from '2026-06-20 20:59:45'::timestamp) - extract(epoch from '2026-06-20 20:59: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'), 46674, 'SRID=4674;POINT (-38.976028 -2.993623)', '2026-06-20 21:07:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976014 -2.99361)'), GeomFromEWKT('SRID=4674;POINT (-38.976028 -2.993623)'))) / (select extract(epoch from '2026-06-20 21:07:44'::timestamp) - extract(epoch from '2026-06-20 20:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976014 -2.99361)'), GeomFromEWKT('SRID=4674;POINT (-38.976028 -2.993623)'))) / (select extract(epoch from '2026-06-20 21:07:44'::timestamp) - extract(epoch from '2026-06-20 20:59: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'), 46674, 'SRID=4674;POINT (-38.976015 -2.993604)', '2026-06-20 21:10:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976028 -2.993623)'), GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993604)'))) / (select extract(epoch from '2026-06-20 21:10:53'::timestamp) - extract(epoch from '2026-06-20 21:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976028 -2.993623)'), GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993604)'))) / (select extract(epoch from '2026-06-20 21:10:53'::timestamp) - extract(epoch from '2026-06-20 21: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'), 46674, 'SRID=4674;POINT (-38.975989 -2.993612)', '2026-06-20 21:11:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993604)'), GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993612)'))) / (select extract(epoch from '2026-06-20 21:11:11'::timestamp) - extract(epoch from '2026-06-20 21:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993604)'), GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993612)'))) / (select extract(epoch from '2026-06-20 21:11:11'::timestamp) - extract(epoch from '2026-06-20 21:10: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'), 46674, 'SRID=4674;POINT (-38.976008 -2.99362)', '2026-06-20 21:12:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993612)'), GeomFromEWKT('SRID=4674;POINT (-38.976008 -2.99362)'))) / (select extract(epoch from '2026-06-20 21:12:25'::timestamp) - extract(epoch from '2026-06-20 21:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975989 -2.993612)'), GeomFromEWKT('SRID=4674;POINT (-38.976008 -2.99362)'))) / (select extract(epoch from '2026-06-20 21:12:25'::timestamp) - extract(epoch from '2026-06-20 21:11: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'), 46674, 'SRID=4674;POINT (-38.976007 -2.993622)', '2026-06-20 21:12:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976008 -2.99362)'), GeomFromEWKT('SRID=4674;POINT (-38.976007 -2.993622)'))) / (select extract(epoch from '2026-06-20 21:12:47'::timestamp) - extract(epoch from '2026-06-20 21:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976008 -2.99362)'), GeomFromEWKT('SRID=4674;POINT (-38.976007 -2.993622)'))) / (select extract(epoch from '2026-06-20 21:12:47'::timestamp) - extract(epoch from '2026-06-20 21:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.975955 -2.993571)', '2026-06-20 21:17:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976007 -2.993622)'), GeomFromEWKT('SRID=4674;POINT (-38.975955 -2.993571)'))) / (select extract(epoch from '2026-06-20 21:17:00'::timestamp) - extract(epoch from '2026-06-20 21:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976007 -2.993622)'), GeomFromEWKT('SRID=4674;POINT (-38.975955 -2.993571)'))) / (select extract(epoch from '2026-06-20 21:17:00'::timestamp) - extract(epoch from '2026-06-20 21:12: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'), 46674, 'SRID=4674;POINT (-38.975975 -2.993565)', '2026-06-20 21:20:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975955 -2.993571)'), GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993565)'))) / (select extract(epoch from '2026-06-20 21:20:43'::timestamp) - extract(epoch from '2026-06-20 21:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975955 -2.993571)'), GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993565)'))) / (select extract(epoch from '2026-06-20 21:20:43'::timestamp) - extract(epoch from '2026-06-20 21:17: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'), 46674, 'SRID=4674;POINT (-38.975965 -2.993569)', '2026-06-20 21:21:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993565)'), GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993569)'))) / (select extract(epoch from '2026-06-20 21:21:18'::timestamp) - extract(epoch from '2026-06-20 21:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993565)'), GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993569)'))) / (select extract(epoch from '2026-06-20 21:21:18'::timestamp) - extract(epoch from '2026-06-20 21:20: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'), 46674, 'SRID=4674;POINT (-38.975955 -2.99356)', '2026-06-20 21:21:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993569)'), GeomFromEWKT('SRID=4674;POINT (-38.975955 -2.99356)'))) / (select extract(epoch from '2026-06-20 21:21:39'::timestamp) - extract(epoch from '2026-06-20 21:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993569)'), GeomFromEWKT('SRID=4674;POINT (-38.975955 -2.99356)'))) / (select extract(epoch from '2026-06-20 21:21:39'::timestamp) - extract(epoch from '2026-06-20 21:21: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'), 46674, 'SRID=4674;POINT (-38.975965 -2.993564)', '2026-06-20 21:22:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975955 -2.99356)'), GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993564)'))) / (select extract(epoch from '2026-06-20 21:22:01'::timestamp) - extract(epoch from '2026-06-20 21:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975955 -2.99356)'), GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993564)'))) / (select extract(epoch from '2026-06-20 21:22:01'::timestamp) - extract(epoch from '2026-06-20 21:21: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'), 46674, 'SRID=4674;POINT (-38.975976 -2.993563)', '2026-06-20 21:22:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993564)'), GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.993563)'))) / (select extract(epoch from '2026-06-20 21:22:21'::timestamp) - extract(epoch from '2026-06-20 21:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993564)'), GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.993563)'))) / (select extract(epoch from '2026-06-20 21:22:21'::timestamp) - extract(epoch from '2026-06-20 21:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.975982 -2.993556)', '2026-06-20 21:23:31', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.993563)'), GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993556)'))) / (select extract(epoch from '2026-06-20 21:23:31'::timestamp) - extract(epoch from '2026-06-20 21:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.993563)'), GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993556)'))) / (select extract(epoch from '2026-06-20 21:23:31'::timestamp) - extract(epoch from '2026-06-20 21:22: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'), 46674, 'SRID=4674;POINT (-38.975963 -2.993541)', '2026-06-20 21:27:06', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993556)'), GeomFromEWKT('SRID=4674;POINT (-38.975963 -2.993541)'))) / (select extract(epoch from '2026-06-20 21:27:06'::timestamp) - extract(epoch from '2026-06-20 21:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993556)'), GeomFromEWKT('SRID=4674;POINT (-38.975963 -2.993541)'))) / (select extract(epoch from '2026-06-20 21:27:06'::timestamp) - extract(epoch from '2026-06-20 21:23: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'), 46674, 'SRID=4674;POINT (-38.975959 -2.993537)', '2026-06-20 21:27:17', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975963 -2.993541)'), GeomFromEWKT('SRID=4674;POINT (-38.975959 -2.993537)'))) / (select extract(epoch from '2026-06-20 21:27:17'::timestamp) - extract(epoch from '2026-06-20 21:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975963 -2.993541)'), GeomFromEWKT('SRID=4674;POINT (-38.975959 -2.993537)'))) / (select extract(epoch from '2026-06-20 21:27:17'::timestamp) - extract(epoch from '2026-06-20 21:27: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'), 46674, 'SRID=4674;POINT (-38.975967 -2.993561)', '2026-06-20 21:31:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975959 -2.993537)'), GeomFromEWKT('SRID=4674;POINT (-38.975967 -2.993561)'))) / (select extract(epoch from '2026-06-20 21:31:07'::timestamp) - extract(epoch from '2026-06-20 21:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975959 -2.993537)'), GeomFromEWKT('SRID=4674;POINT (-38.975967 -2.993561)'))) / (select extract(epoch from '2026-06-20 21:31:07'::timestamp) - extract(epoch from '2026-06-20 21:27: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'), 46674, 'SRID=4674;POINT (-38.975965 -2.993559)', '2026-06-20 21:31:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975967 -2.993561)'), GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993559)'))) / (select extract(epoch from '2026-06-20 21:31:33'::timestamp) - extract(epoch from '2026-06-20 21:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975967 -2.993561)'), GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993559)'))) / (select extract(epoch from '2026-06-20 21:31:33'::timestamp) - extract(epoch from '2026-06-20 21:31: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'), 46674, 'SRID=4674;POINT (-38.975962 -2.993553)', '2026-06-20 21:31:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993559)'), GeomFromEWKT('SRID=4674;POINT (-38.975962 -2.993553)'))) / (select extract(epoch from '2026-06-20 21:31:56'::timestamp) - extract(epoch from '2026-06-20 21:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975965 -2.993559)'), GeomFromEWKT('SRID=4674;POINT (-38.975962 -2.993553)'))) / (select extract(epoch from '2026-06-20 21:31:56'::timestamp) - extract(epoch from '2026-06-20 21:31: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'), 46674, 'SRID=4674;POINT (-38.975935 -2.993549)', '2026-06-20 21:36:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975962 -2.993553)'), GeomFromEWKT('SRID=4674;POINT (-38.975935 -2.993549)'))) / (select extract(epoch from '2026-06-20 21:36:15'::timestamp) - extract(epoch from '2026-06-20 21:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975962 -2.993553)'), GeomFromEWKT('SRID=4674;POINT (-38.975935 -2.993549)'))) / (select extract(epoch from '2026-06-20 21:36:15'::timestamp) - extract(epoch from '2026-06-20 21:31: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'), 46674, 'SRID=4674;POINT (-38.975923 -2.993553)', '2026-06-20 21:37:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975935 -2.993549)'), GeomFromEWKT('SRID=4674;POINT (-38.975923 -2.993553)'))) / (select extract(epoch from '2026-06-20 21:37:38'::timestamp) - extract(epoch from '2026-06-20 21:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975935 -2.993549)'), GeomFromEWKT('SRID=4674;POINT (-38.975923 -2.993553)'))) / (select extract(epoch from '2026-06-20 21:37:38'::timestamp) - extract(epoch from '2026-06-20 21:36: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'), 46674, 'SRID=4674;POINT (-38.975925 -2.993547)', '2026-06-20 21:38:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975923 -2.993553)'), GeomFromEWKT('SRID=4674;POINT (-38.975925 -2.993547)'))) / (select extract(epoch from '2026-06-20 21:38:07'::timestamp) - extract(epoch from '2026-06-20 21:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975923 -2.993553)'), GeomFromEWKT('SRID=4674;POINT (-38.975925 -2.993547)'))) / (select extract(epoch from '2026-06-20 21:38:07'::timestamp) - extract(epoch from '2026-06-20 21:37: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'), 46674, 'SRID=4674;POINT (-38.975932 -2.99352)', '2026-06-20 21:40:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975925 -2.993547)'), GeomFromEWKT('SRID=4674;POINT (-38.975932 -2.99352)'))) / (select extract(epoch from '2026-06-20 21:40:39'::timestamp) - extract(epoch from '2026-06-20 21:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975925 -2.993547)'), GeomFromEWKT('SRID=4674;POINT (-38.975932 -2.99352)'))) / (select extract(epoch from '2026-06-20 21:40:39'::timestamp) - extract(epoch from '2026-06-20 21:38: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'), 46674, 'SRID=4674;POINT (-38.97593 -2.993527)', '2026-06-20 21:41:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975932 -2.99352)'), GeomFromEWKT('SRID=4674;POINT (-38.97593 -2.993527)'))) / (select extract(epoch from '2026-06-20 21:41:59'::timestamp) - extract(epoch from '2026-06-20 21:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975932 -2.99352)'), GeomFromEWKT('SRID=4674;POINT (-38.97593 -2.993527)'))) / (select extract(epoch from '2026-06-20 21:41:59'::timestamp) - extract(epoch from '2026-06-20 21:40: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'), 46674, 'SRID=4674;POINT (-38.975936 -2.993522)', '2026-06-20 21:42:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97593 -2.993527)'), GeomFromEWKT('SRID=4674;POINT (-38.975936 -2.993522)'))) / (select extract(epoch from '2026-06-20 21:42:55'::timestamp) - extract(epoch from '2026-06-20 21:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97593 -2.993527)'), GeomFromEWKT('SRID=4674;POINT (-38.975936 -2.993522)'))) / (select extract(epoch from '2026-06-20 21:42:55'::timestamp) - extract(epoch from '2026-06-20 21:41: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'), 46674, 'SRID=4674;POINT (-38.975935 -2.993519)', '2026-06-20 21:43:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975936 -2.993522)'), GeomFromEWKT('SRID=4674;POINT (-38.975935 -2.993519)'))) / (select extract(epoch from '2026-06-20 21:43:04'::timestamp) - extract(epoch from '2026-06-20 21:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975936 -2.993522)'), GeomFromEWKT('SRID=4674;POINT (-38.975935 -2.993519)'))) / (select extract(epoch from '2026-06-20 21:43:04'::timestamp) - extract(epoch from '2026-06-20 21:42: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'), 46674, 'SRID=4674;POINT (-38.975931 -2.993522)', '2026-06-20 21:43:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975935 -2.993519)'), GeomFromEWKT('SRID=4674;POINT (-38.975931 -2.993522)'))) / (select extract(epoch from '2026-06-20 21:43:25'::timestamp) - extract(epoch from '2026-06-20 21:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975935 -2.993519)'), GeomFromEWKT('SRID=4674;POINT (-38.975931 -2.993522)'))) / (select extract(epoch from '2026-06-20 21:43:25'::timestamp) - extract(epoch from '2026-06-20 21: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'), 46674, 'SRID=4674;POINT (-38.975942 -2.993541)', '2026-06-20 21:44:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975931 -2.993522)'), GeomFromEWKT('SRID=4674;POINT (-38.975942 -2.993541)'))) / (select extract(epoch from '2026-06-20 21:44:26'::timestamp) - extract(epoch from '2026-06-20 21:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975931 -2.993522)'), GeomFromEWKT('SRID=4674;POINT (-38.975942 -2.993541)'))) / (select extract(epoch from '2026-06-20 21:44:26'::timestamp) - extract(epoch from '2026-06-20 21:43: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'), 46674, 'SRID=4674;POINT (-38.975961 -2.993555)', '2026-06-20 21:45:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975942 -2.993541)'), GeomFromEWKT('SRID=4674;POINT (-38.975961 -2.993555)'))) / (select extract(epoch from '2026-06-20 21:45:13'::timestamp) - extract(epoch from '2026-06-20 21:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975942 -2.993541)'), GeomFromEWKT('SRID=4674;POINT (-38.975961 -2.993555)'))) / (select extract(epoch from '2026-06-20 21:45:13'::timestamp) - extract(epoch from '2026-06-20 21:44: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'), 46674, 'SRID=4674;POINT (-38.975971 -2.993559)', '2026-06-20 21:45:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975961 -2.993555)'), GeomFromEWKT('SRID=4674;POINT (-38.975971 -2.993559)'))) / (select extract(epoch from '2026-06-20 21:45:23'::timestamp) - extract(epoch from '2026-06-20 21:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975961 -2.993555)'), GeomFromEWKT('SRID=4674;POINT (-38.975971 -2.993559)'))) / (select extract(epoch from '2026-06-20 21:45:23'::timestamp) - extract(epoch from '2026-06-20 21:45: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'), 46674, 'SRID=4674;POINT (-38.97598 -2.993566)', '2026-06-20 21:45:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975971 -2.993559)'), GeomFromEWKT('SRID=4674;POINT (-38.97598 -2.993566)'))) / (select extract(epoch from '2026-06-20 21:45:39'::timestamp) - extract(epoch from '2026-06-20 21:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975971 -2.993559)'), GeomFromEWKT('SRID=4674;POINT (-38.97598 -2.993566)'))) / (select extract(epoch from '2026-06-20 21:45:39'::timestamp) - extract(epoch from '2026-06-20 21:45: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'), 46674, 'SRID=4674;POINT (-38.975982 -2.993576)', '2026-06-20 21:47:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97598 -2.993566)'), GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993576)'))) / (select extract(epoch from '2026-06-20 21:47:33'::timestamp) - extract(epoch from '2026-06-20 21:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97598 -2.993566)'), GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993576)'))) / (select extract(epoch from '2026-06-20 21:47:33'::timestamp) - extract(epoch from '2026-06-20 21:45: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'), 46674, 'SRID=4674;POINT (-38.975986 -2.993578)', '2026-06-20 21:47:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993576)'), GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993578)'))) / (select extract(epoch from '2026-06-20 21:47:55'::timestamp) - extract(epoch from '2026-06-20 21:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975982 -2.993576)'), GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993578)'))) / (select extract(epoch from '2026-06-20 21:47:55'::timestamp) - extract(epoch from '2026-06-20 21:47: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'), 46674, 'SRID=4674;POINT (-38.975992 -2.993599)', '2026-06-20 21:49:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993578)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993599)'))) / (select extract(epoch from '2026-06-20 21:49:23'::timestamp) - extract(epoch from '2026-06-20 21:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993578)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993599)'))) / (select extract(epoch from '2026-06-20 21:49:23'::timestamp) - extract(epoch from '2026-06-20 21:47: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'), 46674, 'SRID=4674;POINT (-38.975979 -2.993595)', '2026-06-20 21:49:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993599)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993595)'))) / (select extract(epoch from '2026-06-20 21:49:38'::timestamp) - extract(epoch from '2026-06-20 21:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.993599)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993595)'))) / (select extract(epoch from '2026-06-20 21:49:38'::timestamp) - extract(epoch from '2026-06-20 21: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'), 46674, 'SRID=4674;POINT (-38.975956 -2.993582)', '2026-06-20 21:51:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993595)'), GeomFromEWKT('SRID=4674;POINT (-38.975956 -2.993582)'))) / (select extract(epoch from '2026-06-20 21:51:33'::timestamp) - extract(epoch from '2026-06-20 21:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993595)'), GeomFromEWKT('SRID=4674;POINT (-38.975956 -2.993582)'))) / (select extract(epoch from '2026-06-20 21:51:33'::timestamp) - extract(epoch from '2026-06-20 21:49: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'), 46674, 'SRID=4674;POINT (-38.975979 -2.993569)', '2026-06-20 21:52:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975956 -2.993582)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993569)'))) / (select extract(epoch from '2026-06-20 21:52:27'::timestamp) - extract(epoch from '2026-06-20 21:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975956 -2.993582)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993569)'))) / (select extract(epoch from '2026-06-20 21:52:27'::timestamp) - extract(epoch from '2026-06-20 21:51: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'), 46674, 'SRID=4674;POINT (-38.976004 -2.993581)', '2026-06-20 21:54:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993569)'), GeomFromEWKT('SRID=4674;POINT (-38.976004 -2.993581)'))) / (select extract(epoch from '2026-06-20 21:54:36'::timestamp) - extract(epoch from '2026-06-20 21:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993569)'), GeomFromEWKT('SRID=4674;POINT (-38.976004 -2.993581)'))) / (select extract(epoch from '2026-06-20 21:54:36'::timestamp) - extract(epoch from '2026-06-20 21:52: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'), 46674, 'SRID=4674;POINT (-38.976015 -2.993604)', '2026-06-20 21:57:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976004 -2.993581)'), GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993604)'))) / (select extract(epoch from '2026-06-20 21:57:04'::timestamp) - extract(epoch from '2026-06-20 21:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976004 -2.993581)'), GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993604)'))) / (select extract(epoch from '2026-06-20 21:57:04'::timestamp) - extract(epoch from '2026-06-20 21:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.976001 -2.993577)', '2026-06-20 21:58:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993604)'), GeomFromEWKT('SRID=4674;POINT (-38.976001 -2.993577)'))) / (select extract(epoch from '2026-06-20 21:58:19'::timestamp) - extract(epoch from '2026-06-20 21:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976015 -2.993604)'), GeomFromEWKT('SRID=4674;POINT (-38.976001 -2.993577)'))) / (select extract(epoch from '2026-06-20 21:58:19'::timestamp) - extract(epoch from '2026-06-20 21:57: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'), 46674, 'SRID=4674;POINT (-38.975997 -2.993549)', '2026-06-20 22:02:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976001 -2.993577)'), GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993549)'))) / (select extract(epoch from '2026-06-20 22:02:22'::timestamp) - extract(epoch from '2026-06-20 21:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976001 -2.993577)'), GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993549)'))) / (select extract(epoch from '2026-06-20 22:02:22'::timestamp) - extract(epoch from '2026-06-20 21:58: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'), 46674, 'SRID=4674;POINT (-38.975987 -2.99353)', '2026-06-20 22:04:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993549)'), GeomFromEWKT('SRID=4674;POINT (-38.975987 -2.99353)'))) / (select extract(epoch from '2026-06-20 22:04:55'::timestamp) - extract(epoch from '2026-06-20 22:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993549)'), GeomFromEWKT('SRID=4674;POINT (-38.975987 -2.99353)'))) / (select extract(epoch from '2026-06-20 22:04:55'::timestamp) - extract(epoch from '2026-06-20 22:02: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'), 46674, 'SRID=4674;POINT (-38.975997 -2.993508)', '2026-06-20 22:08:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975987 -2.99353)'), GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993508)'))) / (select extract(epoch from '2026-06-20 22:08:43'::timestamp) - extract(epoch from '2026-06-20 22:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975987 -2.99353)'), GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993508)'))) / (select extract(epoch from '2026-06-20 22:08:43'::timestamp) - extract(epoch from '2026-06-20 22:04: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'), 46674, 'SRID=4674;POINT (-38.975998 -2.993506)', '2026-06-20 22:10:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993508)'), GeomFromEWKT('SRID=4674;POINT (-38.975998 -2.993506)'))) / (select extract(epoch from '2026-06-20 22:10:09'::timestamp) - extract(epoch from '2026-06-20 22:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975997 -2.993508)'), GeomFromEWKT('SRID=4674;POINT (-38.975998 -2.993506)'))) / (select extract(epoch from '2026-06-20 22:10:09'::timestamp) - extract(epoch from '2026-06-20 22:08: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'), 46674, 'SRID=4674;POINT (-38.975975 -2.993442)', '2026-06-20 22:17:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975998 -2.993506)'), GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993442)'))) / (select extract(epoch from '2026-06-20 22:17:14'::timestamp) - extract(epoch from '2026-06-20 22:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975998 -2.993506)'), GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993442)'))) / (select extract(epoch from '2026-06-20 22:17:14'::timestamp) - extract(epoch from '2026-06-20 22:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46674, 'SRID=4674;POINT (-38.975967 -2.993441)', '2026-06-20 22:18:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993442)'), GeomFromEWKT('SRID=4674;POINT (-38.975967 -2.993441)'))) / (select extract(epoch from '2026-06-20 22:18:39'::timestamp) - extract(epoch from '2026-06-20 22:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975975 -2.993442)'), GeomFromEWKT('SRID=4674;POINT (-38.975967 -2.993441)'))) / (select extract(epoch from '2026-06-20 22:18:39'::timestamp) - extract(epoch from '2026-06-20 22:17: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'), 46674, 'SRID=4674;POINT (-38.975976 -2.99345)', '2026-06-20 22:21:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975967 -2.993441)'), GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.99345)'))) / (select extract(epoch from '2026-06-20 22:21:55'::timestamp) - extract(epoch from '2026-06-20 22:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975967 -2.993441)'), GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.99345)'))) / (select extract(epoch from '2026-06-20 22:21:55'::timestamp) - extract(epoch from '2026-06-20 22:18: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'), 46674, 'SRID=4674;POINT (-38.975973 -2.993431)', '2026-06-20 22:25:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.99345)'), GeomFromEWKT('SRID=4674;POINT (-38.975973 -2.993431)'))) / (select extract(epoch from '2026-06-20 22:25:48'::timestamp) - extract(epoch from '2026-06-20 22:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975976 -2.99345)'), GeomFromEWKT('SRID=4674;POINT (-38.975973 -2.993431)'))) / (select extract(epoch from '2026-06-20 22:25:48'::timestamp) - extract(epoch from '2026-06-20 22:21: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'), 46674, 'SRID=4674;POINT (-38.975974 -2.993433)', '2026-06-20 22:25:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975973 -2.993431)'), GeomFromEWKT('SRID=4674;POINT (-38.975974 -2.993433)'))) / (select extract(epoch from '2026-06-20 22:25:56'::timestamp) - extract(epoch from '2026-06-20 22:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975973 -2.993431)'), GeomFromEWKT('SRID=4674;POINT (-38.975974 -2.993433)'))) / (select extract(epoch from '2026-06-20 22:25:56'::timestamp) - extract(epoch from '2026-06-20 22:25: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'), 46674, 'SRID=4674;POINT (-38.97599 -2.993441)', '2026-06-20 22:26:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975974 -2.993433)'), GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993441)'))) / (select extract(epoch from '2026-06-20 22:26:45'::timestamp) - extract(epoch from '2026-06-20 22:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975974 -2.993433)'), GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993441)'))) / (select extract(epoch from '2026-06-20 22:26:45'::timestamp) - extract(epoch from '2026-06-20 22:25: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'), 46674, 'SRID=4674;POINT (-38.976003 -2.993447)', '2026-06-20 22:27:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993441)'), GeomFromEWKT('SRID=4674;POINT (-38.976003 -2.993447)'))) / (select extract(epoch from '2026-06-20 22:27:44'::timestamp) - extract(epoch from '2026-06-20 22:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993441)'), GeomFromEWKT('SRID=4674;POINT (-38.976003 -2.993447)'))) / (select extract(epoch from '2026-06-20 22:27:44'::timestamp) - extract(epoch from '2026-06-20 22:26: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'), 46674, 'SRID=4674;POINT (-38.97599 -2.993437)', '2026-06-20 22:28:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976003 -2.993447)'), GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993437)'))) / (select extract(epoch from '2026-06-20 22:28:23'::timestamp) - extract(epoch from '2026-06-20 22:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.976003 -2.993447)'), GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993437)'))) / (select extract(epoch from '2026-06-20 22:28:23'::timestamp) - extract(epoch from '2026-06-20 22:27: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'), 46674, 'SRID=4674;POINT (-38.975983 -2.993432)', '2026-06-20 22:30:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993437)'), GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993432)'))) / (select extract(epoch from '2026-06-20 22:30:42'::timestamp) - extract(epoch from '2026-06-20 22:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97599 -2.993437)'), GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993432)'))) / (select extract(epoch from '2026-06-20 22:30:42'::timestamp) - extract(epoch from '2026-06-20 22:28: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'), 46674, 'SRID=4674;POINT (-38.975986 -2.993431)', '2026-06-20 22:31:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993432)'), GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993431)'))) / (select extract(epoch from '2026-06-20 22:31:22'::timestamp) - extract(epoch from '2026-06-20 22:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975983 -2.993432)'), GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993431)'))) / (select extract(epoch from '2026-06-20 22:31:22'::timestamp) - extract(epoch from '2026-06-20 22:30: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'), 46674, 'SRID=4674;POINT (-38.975992 -2.99341)', '2026-06-20 22:31:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993431)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.99341)'))) / (select extract(epoch from '2026-06-20 22:31:29'::timestamp) - extract(epoch from '2026-06-20 22:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975986 -2.993431)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.99341)'))) / (select extract(epoch from '2026-06-20 22:31:29'::timestamp) - extract(epoch from '2026-06-20 22:31: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'), 46674, 'SRID=4674;POINT (-38.975992 -2.99341)', '2026-06-20 22:31:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.99341)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.99341)'))) / (select extract(epoch from '2026-06-20 22:31:49'::timestamp) - extract(epoch from '2026-06-20 22:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.99341)'), GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.99341)'))) / (select extract(epoch from '2026-06-20 22:31:49'::timestamp) - extract(epoch from '2026-06-20 22:31: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'), 46674, 'SRID=4674;POINT (-38.975979 -2.993414)', '2026-06-20 22:32:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.99341)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993414)'))) / (select extract(epoch from '2026-06-20 22:32:47'::timestamp) - extract(epoch from '2026-06-20 22:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975992 -2.99341)'), GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993414)'))) / (select extract(epoch from '2026-06-20 22:32:47'::timestamp) - extract(epoch from '2026-06-20 22:31: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'), 46674, 'SRID=4674;POINT (-38.97597 -2.993418)', '2026-06-20 22:33:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993414)'), GeomFromEWKT('SRID=4674;POINT (-38.97597 -2.993418)'))) / (select extract(epoch from '2026-06-20 22:33:50'::timestamp) - extract(epoch from '2026-06-20 22:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975979 -2.993414)'), GeomFromEWKT('SRID=4674;POINT (-38.97597 -2.993418)'))) / (select extract(epoch from '2026-06-20 22:33:50'::timestamp) - extract(epoch from '2026-06-20 22:32: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'), 46674, 'SRID=4674;POINT (-38.975969 -2.993417)', '2026-06-20 22:34:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97597 -2.993418)'), GeomFromEWKT('SRID=4674;POINT (-38.975969 -2.993417)'))) / (select extract(epoch from '2026-06-20 22:34:31'::timestamp) - extract(epoch from '2026-06-20 22:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97597 -2.993418)'), GeomFromEWKT('SRID=4674;POINT (-38.975969 -2.993417)'))) / (select extract(epoch from '2026-06-20 22:34:31'::timestamp) - extract(epoch from '2026-06-20 22:33: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'), 46674, 'SRID=4674;POINT (-38.97597 -2.993412)', '2026-06-20 22:35:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975969 -2.993417)'), GeomFromEWKT('SRID=4674;POINT (-38.97597 -2.993412)'))) / (select extract(epoch from '2026-06-20 22:35:25'::timestamp) - extract(epoch from '2026-06-20 22:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.975969 -2.993417)'), GeomFromEWKT('SRID=4674;POINT (-38.97597 -2.993412)'))) / (select extract(epoch from '2026-06-20 22:35:25'::timestamp) - extract(epoch from '2026-06-20 22:34: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'), 46674, 'SRID=4674;POINT (-38.975947 -2.993379)', '2026-06-20 22:36:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97597 -2.993412)'), GeomFromEWKT('SRID=4674;POINT (-38.975947 -2.993379)'))) / (select extract(epoch from '2026-06-20 22:36:24'::timestamp) - extract(epoch from '2026-06-20 22:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.97597 -2.993412)'), GeomFromEWKT('SRID=4674;POINT (-38.975947 -2.993379)'))) / (select extract(epoch from '2026-06-20 22:36:24'::timestamp) - extract(epoch from '2026-06-20 22:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
