 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387658 -2.762648)', '2026-07-17 14:47:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387656 -2.762584)'), GeomFromEWKT('SRID=4674;POINT (-40.387658 -2.762648)'))) / (select extract(epoch from '2026-07-17 14:47:46'::timestamp) - extract(epoch from '2026-07-17 14:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387656 -2.762584)'), GeomFromEWKT('SRID=4674;POINT (-40.387658 -2.762648)'))) / (select extract(epoch from '2026-07-17 14:47:46'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47831, 'SRID=4674;POINT (-40.387667 -2.76267)', '2026-07-17 14:47:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387658 -2.762648)'), GeomFromEWKT('SRID=4674;POINT (-40.387667 -2.76267)'))) / (select extract(epoch from '2026-07-17 14:47:49'::timestamp) - extract(epoch from '2026-07-17 14:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387658 -2.762648)'), GeomFromEWKT('SRID=4674;POINT (-40.387667 -2.76267)'))) / (select extract(epoch from '2026-07-17 14:47:49'::timestamp) - extract(epoch from '2026-07-17 14:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387678 -2.7627)', '2026-07-17 14:47:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387667 -2.76267)'), GeomFromEWKT('SRID=4674;POINT (-40.387678 -2.7627)'))) / (select extract(epoch from '2026-07-17 14:47:53'::timestamp) - extract(epoch from '2026-07-17 14:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387667 -2.76267)'), GeomFromEWKT('SRID=4674;POINT (-40.387678 -2.7627)'))) / (select extract(epoch from '2026-07-17 14:47:53'::timestamp) - extract(epoch from '2026-07-17 14:47: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'), 47831, 'SRID=4674;POINT (-40.387693 -2.762742)', '2026-07-17 14:48:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387678 -2.7627)'), GeomFromEWKT('SRID=4674;POINT (-40.387693 -2.762742)'))) / (select extract(epoch from '2026-07-17 14:48:00'::timestamp) - extract(epoch from '2026-07-17 14:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387678 -2.7627)'), GeomFromEWKT('SRID=4674;POINT (-40.387693 -2.762742)'))) / (select extract(epoch from '2026-07-17 14:48:00'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387733 -2.762765)', '2026-07-17 14:48:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387693 -2.762742)'), GeomFromEWKT('SRID=4674;POINT (-40.387733 -2.762765)'))) / (select extract(epoch from '2026-07-17 14:48:08'::timestamp) - extract(epoch from '2026-07-17 14:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387693 -2.762742)'), GeomFromEWKT('SRID=4674;POINT (-40.387733 -2.762765)'))) / (select extract(epoch from '2026-07-17 14:48:08'::timestamp) - extract(epoch from '2026-07-17 14:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387773 -2.76279)', '2026-07-17 14:48:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387733 -2.762765)'), GeomFromEWKT('SRID=4674;POINT (-40.387773 -2.76279)'))) / (select extract(epoch from '2026-07-17 14:48:17'::timestamp) - extract(epoch from '2026-07-17 14:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387733 -2.762765)'), GeomFromEWKT('SRID=4674;POINT (-40.387773 -2.76279)'))) / (select extract(epoch from '2026-07-17 14:48:17'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387824 -2.762825)', '2026-07-17 14:48:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387773 -2.76279)'), GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.762825)'))) / (select extract(epoch from '2026-07-17 14:48:30'::timestamp) - extract(epoch from '2026-07-17 14:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387773 -2.76279)'), GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.762825)'))) / (select extract(epoch from '2026-07-17 14:48:30'::timestamp) - extract(epoch from '2026-07-17 14:48: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'), 47831, 'SRID=4674;POINT (-40.387858 -2.762852)', '2026-07-17 14:48:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.762825)'), GeomFromEWKT('SRID=4674;POINT (-40.387858 -2.762852)'))) / (select extract(epoch from '2026-07-17 14:48:40'::timestamp) - extract(epoch from '2026-07-17 14:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.762825)'), GeomFromEWKT('SRID=4674;POINT (-40.387858 -2.762852)'))) / (select extract(epoch from '2026-07-17 14:48:40'::timestamp) - extract(epoch from '2026-07-17 14:48: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'), 47831, 'SRID=4674;POINT (-40.387918 -2.762903)', '2026-07-17 14:48:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387858 -2.762852)'), GeomFromEWKT('SRID=4674;POINT (-40.387918 -2.762903)'))) / (select extract(epoch from '2026-07-17 14:48:54'::timestamp) - extract(epoch from '2026-07-17 14:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387858 -2.762852)'), GeomFromEWKT('SRID=4674;POINT (-40.387918 -2.762903)'))) / (select extract(epoch from '2026-07-17 14:48:54'::timestamp) - extract(epoch from '2026-07-17 14:48: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'), 47831, 'SRID=4674;POINT (-40.387987 -2.762956)', '2026-07-17 14:49:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387918 -2.762903)'), GeomFromEWKT('SRID=4674;POINT (-40.387987 -2.762956)'))) / (select extract(epoch from '2026-07-17 14:49:08'::timestamp) - extract(epoch from '2026-07-17 14:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387918 -2.762903)'), GeomFromEWKT('SRID=4674;POINT (-40.387987 -2.762956)'))) / (select extract(epoch from '2026-07-17 14:49:08'::timestamp) - extract(epoch from '2026-07-17 14:48: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'), 47831, 'SRID=4674;POINT (-40.388029 -2.76298)', '2026-07-17 14:49:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387987 -2.762956)'), GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.76298)'))) / (select extract(epoch from '2026-07-17 14:49:18'::timestamp) - extract(epoch from '2026-07-17 14:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387987 -2.762956)'), GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.76298)'))) / (select extract(epoch from '2026-07-17 14:49:18'::timestamp) - extract(epoch from '2026-07-17 14:49: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'), 47831, 'SRID=4674;POINT (-40.388086 -2.763012)', '2026-07-17 14:49:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.76298)'), GeomFromEWKT('SRID=4674;POINT (-40.388086 -2.763012)'))) / (select extract(epoch from '2026-07-17 14:49:31'::timestamp) - extract(epoch from '2026-07-17 14:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.76298)'), GeomFromEWKT('SRID=4674;POINT (-40.388086 -2.763012)'))) / (select extract(epoch from '2026-07-17 14:49:31'::timestamp) - extract(epoch from '2026-07-17 14:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388136 -2.76306)', '2026-07-17 14:49:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388086 -2.763012)'), GeomFromEWKT('SRID=4674;POINT (-40.388136 -2.76306)'))) / (select extract(epoch from '2026-07-17 14:49:45'::timestamp) - extract(epoch from '2026-07-17 14:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388086 -2.763012)'), GeomFromEWKT('SRID=4674;POINT (-40.388136 -2.76306)'))) / (select extract(epoch from '2026-07-17 14:49:45'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.388175 -2.763083)', '2026-07-17 14:49:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388136 -2.76306)'), GeomFromEWKT('SRID=4674;POINT (-40.388175 -2.763083)'))) / (select extract(epoch from '2026-07-17 14:49:56'::timestamp) - extract(epoch from '2026-07-17 14:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388136 -2.76306)'), GeomFromEWKT('SRID=4674;POINT (-40.388175 -2.763083)'))) / (select extract(epoch from '2026-07-17 14:49:56'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.388217 -2.763098)', '2026-07-17 14:50:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388175 -2.763083)'), GeomFromEWKT('SRID=4674;POINT (-40.388217 -2.763098)'))) / (select extract(epoch from '2026-07-17 14:50:05'::timestamp) - extract(epoch from '2026-07-17 14:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388175 -2.763083)'), GeomFromEWKT('SRID=4674;POINT (-40.388217 -2.763098)'))) / (select extract(epoch from '2026-07-17 14:50:05'::timestamp) - extract(epoch from '2026-07-17 14:49: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'), 47831, 'SRID=4674;POINT (-40.388263 -2.763186)', '2026-07-17 14:50:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388217 -2.763098)'), GeomFromEWKT('SRID=4674;POINT (-40.388263 -2.763186)'))) / (select extract(epoch from '2026-07-17 14:50:15'::timestamp) - extract(epoch from '2026-07-17 14:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388217 -2.763098)'), GeomFromEWKT('SRID=4674;POINT (-40.388263 -2.763186)'))) / (select extract(epoch from '2026-07-17 14:50:15'::timestamp) - extract(epoch from '2026-07-17 14:50: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'), 47831, 'SRID=4674;POINT (-40.388237 -2.763277)', '2026-07-17 14:50:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388263 -2.763186)'), GeomFromEWKT('SRID=4674;POINT (-40.388237 -2.763277)'))) / (select extract(epoch from '2026-07-17 14:50:24'::timestamp) - extract(epoch from '2026-07-17 14:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388263 -2.763186)'), GeomFromEWKT('SRID=4674;POINT (-40.388237 -2.763277)'))) / (select extract(epoch from '2026-07-17 14:50:24'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.388184 -2.763286)', '2026-07-17 14:50:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388237 -2.763277)'), GeomFromEWKT('SRID=4674;POINT (-40.388184 -2.763286)'))) / (select extract(epoch from '2026-07-17 14:50:35'::timestamp) - extract(epoch from '2026-07-17 14:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388237 -2.763277)'), GeomFromEWKT('SRID=4674;POINT (-40.388184 -2.763286)'))) / (select extract(epoch from '2026-07-17 14:50:35'::timestamp) - extract(epoch from '2026-07-17 14:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388126 -2.763203)', '2026-07-17 14:50:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388184 -2.763286)'), GeomFromEWKT('SRID=4674;POINT (-40.388126 -2.763203)'))) / (select extract(epoch from '2026-07-17 14:50:45'::timestamp) - extract(epoch from '2026-07-17 14:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388184 -2.763286)'), GeomFromEWKT('SRID=4674;POINT (-40.388126 -2.763203)'))) / (select extract(epoch from '2026-07-17 14:50:45'::timestamp) - extract(epoch from '2026-07-17 14:50: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'), 47831, 'SRID=4674;POINT (-40.388011 -2.763113)', '2026-07-17 14:50:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388126 -2.763203)'), GeomFromEWKT('SRID=4674;POINT (-40.388011 -2.763113)'))) / (select extract(epoch from '2026-07-17 14:50:57'::timestamp) - extract(epoch from '2026-07-17 14:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388126 -2.763203)'), GeomFromEWKT('SRID=4674;POINT (-40.388011 -2.763113)'))) / (select extract(epoch from '2026-07-17 14:50:57'::timestamp) - extract(epoch from '2026-07-17 14:50: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'), 47831, 'SRID=4674;POINT (-40.387928 -2.763018)', '2026-07-17 14:51:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388011 -2.763113)'), GeomFromEWKT('SRID=4674;POINT (-40.387928 -2.763018)'))) / (select extract(epoch from '2026-07-17 14:51:09'::timestamp) - extract(epoch from '2026-07-17 14:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388011 -2.763113)'), GeomFromEWKT('SRID=4674;POINT (-40.387928 -2.763018)'))) / (select extract(epoch from '2026-07-17 14:51:09'::timestamp) - extract(epoch from '2026-07-17 14:50: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'), 47831, 'SRID=4674;POINT (-40.387959 -2.762922)', '2026-07-17 14:51:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387928 -2.763018)'), GeomFromEWKT('SRID=4674;POINT (-40.387959 -2.762922)'))) / (select extract(epoch from '2026-07-17 14:51:17'::timestamp) - extract(epoch from '2026-07-17 14:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387928 -2.763018)'), GeomFromEWKT('SRID=4674;POINT (-40.387959 -2.762922)'))) / (select extract(epoch from '2026-07-17 14:51:17'::timestamp) - extract(epoch from '2026-07-17 14:51: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'), 47831, 'SRID=4674;POINT (-40.387922 -2.762799)', '2026-07-17 14:51:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387959 -2.762922)'), GeomFromEWKT('SRID=4674;POINT (-40.387922 -2.762799)'))) / (select extract(epoch from '2026-07-17 14:51:29'::timestamp) - extract(epoch from '2026-07-17 14:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387959 -2.762922)'), GeomFromEWKT('SRID=4674;POINT (-40.387922 -2.762799)'))) / (select extract(epoch from '2026-07-17 14:51:29'::timestamp) - extract(epoch from '2026-07-17 14:51: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'), 47831, 'SRID=4674;POINT (-40.387811 -2.762697)', '2026-07-17 14:51:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387922 -2.762799)'), GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.762697)'))) / (select extract(epoch from '2026-07-17 14:51:43'::timestamp) - extract(epoch from '2026-07-17 14:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387922 -2.762799)'), GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.762697)'))) / (select extract(epoch from '2026-07-17 14:51:43'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.387757 -2.762704)', '2026-07-17 14:51:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.762697)'), GeomFromEWKT('SRID=4674;POINT (-40.387757 -2.762704)'))) / (select extract(epoch from '2026-07-17 14:51:53'::timestamp) - extract(epoch from '2026-07-17 14:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.762697)'), GeomFromEWKT('SRID=4674;POINT (-40.387757 -2.762704)'))) / (select extract(epoch from '2026-07-17 14:51:53'::timestamp) - extract(epoch from '2026-07-17 14:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387764 -2.762654)', '2026-07-17 14:52:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387757 -2.762704)'), GeomFromEWKT('SRID=4674;POINT (-40.387764 -2.762654)'))) / (select extract(epoch from '2026-07-17 14:52:00'::timestamp) - extract(epoch from '2026-07-17 14:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387757 -2.762704)'), GeomFromEWKT('SRID=4674;POINT (-40.387764 -2.762654)'))) / (select extract(epoch from '2026-07-17 14:52:00'::timestamp) - extract(epoch from '2026-07-17 14:51: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'), 47831, 'SRID=4674;POINT (-40.387775 -2.762591)', '2026-07-17 14:52:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387764 -2.762654)'), GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.762591)'))) / (select extract(epoch from '2026-07-17 14:52:11'::timestamp) - extract(epoch from '2026-07-17 14:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387764 -2.762654)'), GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.762591)'))) / (select extract(epoch from '2026-07-17 14:52:11'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387744 -2.762632)', '2026-07-17 14:52:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.762591)'), GeomFromEWKT('SRID=4674;POINT (-40.387744 -2.762632)'))) / (select extract(epoch from '2026-07-17 14:52:18'::timestamp) - extract(epoch from '2026-07-17 14:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387775 -2.762591)'), GeomFromEWKT('SRID=4674;POINT (-40.387744 -2.762632)'))) / (select extract(epoch from '2026-07-17 14:52:18'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387711 -2.762673)', '2026-07-17 14:52:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387744 -2.762632)'), GeomFromEWKT('SRID=4674;POINT (-40.387711 -2.762673)'))) / (select extract(epoch from '2026-07-17 14:52:30'::timestamp) - extract(epoch from '2026-07-17 14:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387744 -2.762632)'), GeomFromEWKT('SRID=4674;POINT (-40.387711 -2.762673)'))) / (select extract(epoch from '2026-07-17 14:52:30'::timestamp) - extract(epoch from '2026-07-17 14:52: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'), 47831, 'SRID=4674;POINT (-40.387739 -2.762612)', '2026-07-17 14:52:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387711 -2.762673)'), GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762612)'))) / (select extract(epoch from '2026-07-17 14:52:42'::timestamp) - extract(epoch from '2026-07-17 14:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387711 -2.762673)'), GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762612)'))) / (select extract(epoch from '2026-07-17 14:52:42'::timestamp) - extract(epoch from '2026-07-17 14:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387813 -2.76254)', '2026-07-17 14:52:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762612)'), GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.76254)'))) / (select extract(epoch from '2026-07-17 14:52:51'::timestamp) - extract(epoch from '2026-07-17 14:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762612)'), GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.76254)'))) / (select extract(epoch from '2026-07-17 14:52:51'::timestamp) - extract(epoch from '2026-07-17 14:52: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'), 47831, 'SRID=4674;POINT (-40.38785 -2.762495)', '2026-07-17 14:52:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.76254)'), GeomFromEWKT('SRID=4674;POINT (-40.38785 -2.762495)'))) / (select extract(epoch from '2026-07-17 14:52:59'::timestamp) - extract(epoch from '2026-07-17 14:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.76254)'), GeomFromEWKT('SRID=4674;POINT (-40.38785 -2.762495)'))) / (select extract(epoch from '2026-07-17 14:52:59'::timestamp) - extract(epoch from '2026-07-17 14:52: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'), 47831, 'SRID=4674;POINT (-40.387884 -2.762424)', '2026-07-17 14:53:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38785 -2.762495)'), GeomFromEWKT('SRID=4674;POINT (-40.387884 -2.762424)'))) / (select extract(epoch from '2026-07-17 14:53:12'::timestamp) - extract(epoch from '2026-07-17 14:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38785 -2.762495)'), GeomFromEWKT('SRID=4674;POINT (-40.387884 -2.762424)'))) / (select extract(epoch from '2026-07-17 14:53:12'::timestamp) - extract(epoch from '2026-07-17 14:52: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'), 47831, 'SRID=4674;POINT (-40.387868 -2.762474)', '2026-07-17 14:53:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387884 -2.762424)'), GeomFromEWKT('SRID=4674;POINT (-40.387868 -2.762474)'))) / (select extract(epoch from '2026-07-17 14:53:22'::timestamp) - extract(epoch from '2026-07-17 14:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387884 -2.762424)'), GeomFromEWKT('SRID=4674;POINT (-40.387868 -2.762474)'))) / (select extract(epoch from '2026-07-17 14:53:22'::timestamp) - extract(epoch from '2026-07-17 14:53: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'), 47831, 'SRID=4674;POINT (-40.387815 -2.762555)', '2026-07-17 14:53:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387868 -2.762474)'), GeomFromEWKT('SRID=4674;POINT (-40.387815 -2.762555)'))) / (select extract(epoch from '2026-07-17 14:53:35'::timestamp) - extract(epoch from '2026-07-17 14:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387868 -2.762474)'), GeomFromEWKT('SRID=4674;POINT (-40.387815 -2.762555)'))) / (select extract(epoch from '2026-07-17 14:53:35'::timestamp) - extract(epoch from '2026-07-17 14:53: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'), 47831, 'SRID=4674;POINT (-40.38775 -2.762624)', '2026-07-17 14:53:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387815 -2.762555)'), GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.762624)'))) / (select extract(epoch from '2026-07-17 14:53:46'::timestamp) - extract(epoch from '2026-07-17 14:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387815 -2.762555)'), GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.762624)'))) / (select extract(epoch from '2026-07-17 14:53:46'::timestamp) - extract(epoch from '2026-07-17 14:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387685 -2.762726)', '2026-07-17 14:53:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.762624)'), GeomFromEWKT('SRID=4674;POINT (-40.387685 -2.762726)'))) / (select extract(epoch from '2026-07-17 14:53:59'::timestamp) - extract(epoch from '2026-07-17 14:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.762624)'), GeomFromEWKT('SRID=4674;POINT (-40.387685 -2.762726)'))) / (select extract(epoch from '2026-07-17 14:53:59'::timestamp) - extract(epoch from '2026-07-17 14:53: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'), 47831, 'SRID=4674;POINT (-40.387739 -2.762806)', '2026-07-17 14:54:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387685 -2.762726)'), GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762806)'))) / (select extract(epoch from '2026-07-17 14:54:09'::timestamp) - extract(epoch from '2026-07-17 14:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387685 -2.762726)'), GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762806)'))) / (select extract(epoch from '2026-07-17 14:54:09'::timestamp) - extract(epoch from '2026-07-17 14:53:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387824 -2.762813)', '2026-07-17 14:54:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762806)'), GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.762813)'))) / (select extract(epoch from '2026-07-17 14:54:16'::timestamp) - extract(epoch from '2026-07-17 14:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762806)'), GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.762813)'))) / (select extract(epoch from '2026-07-17 14:54:16'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387863 -2.762776)', '2026-07-17 14:54:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.762813)'), GeomFromEWKT('SRID=4674;POINT (-40.387863 -2.762776)'))) / (select extract(epoch from '2026-07-17 14:54:24'::timestamp) - extract(epoch from '2026-07-17 14:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387824 -2.762813)'), GeomFromEWKT('SRID=4674;POINT (-40.387863 -2.762776)'))) / (select extract(epoch from '2026-07-17 14:54:24'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387925 -2.762711)', '2026-07-17 14:54:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387863 -2.762776)'), GeomFromEWKT('SRID=4674;POINT (-40.387925 -2.762711)'))) / (select extract(epoch from '2026-07-17 14:54:36'::timestamp) - extract(epoch from '2026-07-17 14:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387863 -2.762776)'), GeomFromEWKT('SRID=4674;POINT (-40.387925 -2.762711)'))) / (select extract(epoch from '2026-07-17 14:54:36'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.38796 -2.762659)', '2026-07-17 14:54:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387925 -2.762711)'), GeomFromEWKT('SRID=4674;POINT (-40.38796 -2.762659)'))) / (select extract(epoch from '2026-07-17 14:54:48'::timestamp) - extract(epoch from '2026-07-17 14:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387925 -2.762711)'), GeomFromEWKT('SRID=4674;POINT (-40.38796 -2.762659)'))) / (select extract(epoch from '2026-07-17 14:54:48'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.387966 -2.762628)', '2026-07-17 14:55:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38796 -2.762659)'), GeomFromEWKT('SRID=4674;POINT (-40.387966 -2.762628)'))) / (select extract(epoch from '2026-07-17 14:55:00'::timestamp) - extract(epoch from '2026-07-17 14:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38796 -2.762659)'), GeomFromEWKT('SRID=4674;POINT (-40.387966 -2.762628)'))) / (select extract(epoch from '2026-07-17 14:55:00'::timestamp) - extract(epoch from '2026-07-17 14:54: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'), 47831, 'SRID=4674;POINT (-40.387956 -2.762652)', '2026-07-17 14:55:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387966 -2.762628)'), GeomFromEWKT('SRID=4674;POINT (-40.387956 -2.762652)'))) / (select extract(epoch from '2026-07-17 14:55:19'::timestamp) - extract(epoch from '2026-07-17 14:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387966 -2.762628)'), GeomFromEWKT('SRID=4674;POINT (-40.387956 -2.762652)'))) / (select extract(epoch from '2026-07-17 14:55:19'::timestamp) - extract(epoch from '2026-07-17 14:55: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'), 47831, 'SRID=4674;POINT (-40.387924 -2.762687)', '2026-07-17 14:55:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387956 -2.762652)'), GeomFromEWKT('SRID=4674;POINT (-40.387924 -2.762687)'))) / (select extract(epoch from '2026-07-17 14:55:36'::timestamp) - extract(epoch from '2026-07-17 14:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387956 -2.762652)'), GeomFromEWKT('SRID=4674;POINT (-40.387924 -2.762687)'))) / (select extract(epoch from '2026-07-17 14:55:36'::timestamp) - extract(epoch from '2026-07-17 14: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'), 47831, 'SRID=4674;POINT (-40.387903 -2.762695)', '2026-07-17 14:56:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387924 -2.762687)'), GeomFromEWKT('SRID=4674;POINT (-40.387903 -2.762695)'))) / (select extract(epoch from '2026-07-17 14:56:38'::timestamp) - extract(epoch from '2026-07-17 14:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387924 -2.762687)'), GeomFromEWKT('SRID=4674;POINT (-40.387903 -2.762695)'))) / (select extract(epoch from '2026-07-17 14:56:38'::timestamp) - extract(epoch from '2026-07-17 14:55: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'), 47831, 'SRID=4674;POINT (-40.387895 -2.762747)', '2026-07-17 14:57:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387903 -2.762695)'), GeomFromEWKT('SRID=4674;POINT (-40.387895 -2.762747)'))) / (select extract(epoch from '2026-07-17 14:57:43'::timestamp) - extract(epoch from '2026-07-17 14:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387903 -2.762695)'), GeomFromEWKT('SRID=4674;POINT (-40.387895 -2.762747)'))) / (select extract(epoch from '2026-07-17 14:57:43'::timestamp) - extract(epoch from '2026-07-17 14:56: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'), 47831, 'SRID=4674;POINT (-40.38794 -2.762727)', '2026-07-17 14:57:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387895 -2.762747)'), GeomFromEWKT('SRID=4674;POINT (-40.38794 -2.762727)'))) / (select extract(epoch from '2026-07-17 14:57:56'::timestamp) - extract(epoch from '2026-07-17 14:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387895 -2.762747)'), GeomFromEWKT('SRID=4674;POINT (-40.38794 -2.762727)'))) / (select extract(epoch from '2026-07-17 14:57:56'::timestamp) - extract(epoch from '2026-07-17 14:57:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387892 -2.762691)', '2026-07-17 14:58:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38794 -2.762727)'), GeomFromEWKT('SRID=4674;POINT (-40.387892 -2.762691)'))) / (select extract(epoch from '2026-07-17 14:58:13'::timestamp) - extract(epoch from '2026-07-17 14:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38794 -2.762727)'), GeomFromEWKT('SRID=4674;POINT (-40.387892 -2.762691)'))) / (select extract(epoch from '2026-07-17 14:58:13'::timestamp) - extract(epoch from '2026-07-17 14:57: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'), 47831, 'SRID=4674;POINT (-40.387818 -2.762661)', '2026-07-17 14:58:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387892 -2.762691)'), GeomFromEWKT('SRID=4674;POINT (-40.387818 -2.762661)'))) / (select extract(epoch from '2026-07-17 14:58:24'::timestamp) - extract(epoch from '2026-07-17 14:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387892 -2.762691)'), GeomFromEWKT('SRID=4674;POINT (-40.387818 -2.762661)'))) / (select extract(epoch from '2026-07-17 14:58:24'::timestamp) - extract(epoch from '2026-07-17 14:58: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'), 47831, 'SRID=4674;POINT (-40.387758 -2.762659)', '2026-07-17 14:58:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387818 -2.762661)'), GeomFromEWKT('SRID=4674;POINT (-40.387758 -2.762659)'))) / (select extract(epoch from '2026-07-17 14:58:36'::timestamp) - extract(epoch from '2026-07-17 14:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387818 -2.762661)'), GeomFromEWKT('SRID=4674;POINT (-40.387758 -2.762659)'))) / (select extract(epoch from '2026-07-17 14:58:36'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387696 -2.762649)', '2026-07-17 14:58:49', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387758 -2.762659)'), GeomFromEWKT('SRID=4674;POINT (-40.387696 -2.762649)'))) / (select extract(epoch from '2026-07-17 14:58:49'::timestamp) - extract(epoch from '2026-07-17 14:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387758 -2.762659)'), GeomFromEWKT('SRID=4674;POINT (-40.387696 -2.762649)'))) / (select extract(epoch from '2026-07-17 14:58:49'::timestamp) - extract(epoch from '2026-07-17 14:58: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'), 47831, 'SRID=4674;POINT (-40.387671 -2.762647)', '2026-07-17 14:59:02', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387696 -2.762649)'), GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762647)'))) / (select extract(epoch from '2026-07-17 14:59:02'::timestamp) - extract(epoch from '2026-07-17 14:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387696 -2.762649)'), GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762647)'))) / (select extract(epoch from '2026-07-17 14:59:02'::timestamp) - extract(epoch from '2026-07-17 14:58: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'), 47831, 'SRID=4674;POINT (-40.387766 -2.762657)', '2026-07-17 14:59:26', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762647)'), GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762657)'))) / (select extract(epoch from '2026-07-17 14:59:26'::timestamp) - extract(epoch from '2026-07-17 14:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387671 -2.762647)'), GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762657)'))) / (select extract(epoch from '2026-07-17 14:59:26'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.38781 -2.762692)', '2026-07-17 14:59:36', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762657)'), GeomFromEWKT('SRID=4674;POINT (-40.38781 -2.762692)'))) / (select extract(epoch from '2026-07-17 14:59:36'::timestamp) - extract(epoch from '2026-07-17 14:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762657)'), GeomFromEWKT('SRID=4674;POINT (-40.38781 -2.762692)'))) / (select extract(epoch from '2026-07-17 14:59:36'::timestamp) - extract(epoch from '2026-07-17 14:59: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'), 47831, 'SRID=4674;POINT (-40.387849 -2.762716)', '2026-07-17 14:59:44', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38781 -2.762692)'), GeomFromEWKT('SRID=4674;POINT (-40.387849 -2.762716)'))) / (select extract(epoch from '2026-07-17 14:59:44'::timestamp) - extract(epoch from '2026-07-17 14:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38781 -2.762692)'), GeomFromEWKT('SRID=4674;POINT (-40.387849 -2.762716)'))) / (select extract(epoch from '2026-07-17 14:59:44'::timestamp) - extract(epoch from '2026-07-17 14:59: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'), 47831, 'SRID=4674;POINT (-40.387921 -2.762677)', '2026-07-17 14:59:54', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387849 -2.762716)'), GeomFromEWKT('SRID=4674;POINT (-40.387921 -2.762677)'))) / (select extract(epoch from '2026-07-17 14:59:54'::timestamp) - extract(epoch from '2026-07-17 14:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387849 -2.762716)'), GeomFromEWKT('SRID=4674;POINT (-40.387921 -2.762677)'))) / (select extract(epoch from '2026-07-17 14:59:54'::timestamp) - extract(epoch from '2026-07-17 14:59: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'), 47831, 'SRID=4674;POINT (-40.387935 -2.762627)', '2026-07-17 15:00:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387921 -2.762677)'), GeomFromEWKT('SRID=4674;POINT (-40.387935 -2.762627)'))) / (select extract(epoch from '2026-07-17 15:00:04'::timestamp) - extract(epoch from '2026-07-17 14:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387921 -2.762677)'), GeomFromEWKT('SRID=4674;POINT (-40.387935 -2.762627)'))) / (select extract(epoch from '2026-07-17 15:00:04'::timestamp) - extract(epoch from '2026-07-17 14:59: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'), 47831, 'SRID=4674;POINT (-40.387871 -2.762638)', '2026-07-17 15:00:17', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387935 -2.762627)'), GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.762638)'))) / (select extract(epoch from '2026-07-17 15:00:17'::timestamp) - extract(epoch from '2026-07-17 15:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387935 -2.762627)'), GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.762638)'))) / (select extract(epoch from '2026-07-17 15:00:17'::timestamp) - extract(epoch from '2026-07-17 15:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387837 -2.762674)', '2026-07-17 15:00:26', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.762638)'), GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762674)'))) / (select extract(epoch from '2026-07-17 15:00:26'::timestamp) - extract(epoch from '2026-07-17 15:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387871 -2.762638)'), GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762674)'))) / (select extract(epoch from '2026-07-17 15:00:26'::timestamp) - extract(epoch from '2026-07-17 15:00: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'), 47831, 'SRID=4674;POINT (-40.387805 -2.76269)', '2026-07-17 15:00:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762674)'), GeomFromEWKT('SRID=4674;POINT (-40.387805 -2.76269)'))) / (select extract(epoch from '2026-07-17 15:00:37'::timestamp) - extract(epoch from '2026-07-17 15:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387837 -2.762674)'), GeomFromEWKT('SRID=4674;POINT (-40.387805 -2.76269)'))) / (select extract(epoch from '2026-07-17 15:00:37'::timestamp) - extract(epoch from '2026-07-17 15:00: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'), 47831, 'SRID=4674;POINT (-40.387739 -2.762662)', '2026-07-17 15:01:01', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387805 -2.76269)'), GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762662)'))) / (select extract(epoch from '2026-07-17 15:01:01'::timestamp) - extract(epoch from '2026-07-17 15:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387805 -2.76269)'), GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762662)'))) / (select extract(epoch from '2026-07-17 15:01:01'::timestamp) - extract(epoch from '2026-07-17 15:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387728 -2.76265)', '2026-07-17 15:01:12', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762662)'), GeomFromEWKT('SRID=4674;POINT (-40.387728 -2.76265)'))) / (select extract(epoch from '2026-07-17 15:01:12'::timestamp) - extract(epoch from '2026-07-17 15:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387739 -2.762662)'), GeomFromEWKT('SRID=4674;POINT (-40.387728 -2.76265)'))) / (select extract(epoch from '2026-07-17 15:01:12'::timestamp) - extract(epoch from '2026-07-17 15:01: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'), 47831, 'SRID=4674;POINT (-40.387783 -2.762598)', '2026-07-17 15:01:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387728 -2.76265)'), GeomFromEWKT('SRID=4674;POINT (-40.387783 -2.762598)'))) / (select extract(epoch from '2026-07-17 15:01:50'::timestamp) - extract(epoch from '2026-07-17 15:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387728 -2.76265)'), GeomFromEWKT('SRID=4674;POINT (-40.387783 -2.762598)'))) / (select extract(epoch from '2026-07-17 15:01:50'::timestamp) - extract(epoch from '2026-07-17 15:01: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'), 47831, 'SRID=4674;POINT (-40.387799 -2.762611)', '2026-07-17 15:02:01', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387783 -2.762598)'), GeomFromEWKT('SRID=4674;POINT (-40.387799 -2.762611)'))) / (select extract(epoch from '2026-07-17 15:02:01'::timestamp) - extract(epoch from '2026-07-17 15:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387783 -2.762598)'), GeomFromEWKT('SRID=4674;POINT (-40.387799 -2.762611)'))) / (select extract(epoch from '2026-07-17 15:02:01'::timestamp) - extract(epoch from '2026-07-17 15:01: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'), 47831, 'SRID=4674;POINT (-40.38783 -2.76265)', '2026-07-17 15:02:12', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387799 -2.762611)'), GeomFromEWKT('SRID=4674;POINT (-40.38783 -2.76265)'))) / (select extract(epoch from '2026-07-17 15:02:12'::timestamp) - extract(epoch from '2026-07-17 15:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387799 -2.762611)'), GeomFromEWKT('SRID=4674;POINT (-40.38783 -2.76265)'))) / (select extract(epoch from '2026-07-17 15:02:12'::timestamp) - extract(epoch from '2026-07-17 15:02: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'), 47831, 'SRID=4674;POINT (-40.387838 -2.762669)', '2026-07-17 15:02:19', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38783 -2.76265)'), GeomFromEWKT('SRID=4674;POINT (-40.387838 -2.762669)'))) / (select extract(epoch from '2026-07-17 15:02:19'::timestamp) - extract(epoch from '2026-07-17 15:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38783 -2.76265)'), GeomFromEWKT('SRID=4674;POINT (-40.387838 -2.762669)'))) / (select extract(epoch from '2026-07-17 15:02:19'::timestamp) - extract(epoch from '2026-07-17 15:02: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'), 47831, 'SRID=4674;POINT (-40.387866 -2.762685)', '2026-07-17 15:02:26', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387838 -2.762669)'), GeomFromEWKT('SRID=4674;POINT (-40.387866 -2.762685)'))) / (select extract(epoch from '2026-07-17 15:02:26'::timestamp) - extract(epoch from '2026-07-17 15:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387838 -2.762669)'), GeomFromEWKT('SRID=4674;POINT (-40.387866 -2.762685)'))) / (select extract(epoch from '2026-07-17 15:02:26'::timestamp) - extract(epoch from '2026-07-17 15:02: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'), 47831, 'SRID=4674;POINT (-40.387923 -2.762713)', '2026-07-17 15:02:39', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387866 -2.762685)'), GeomFromEWKT('SRID=4674;POINT (-40.387923 -2.762713)'))) / (select extract(epoch from '2026-07-17 15:02:39'::timestamp) - extract(epoch from '2026-07-17 15:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387866 -2.762685)'), GeomFromEWKT('SRID=4674;POINT (-40.387923 -2.762713)'))) / (select extract(epoch from '2026-07-17 15:02:39'::timestamp) - extract(epoch from '2026-07-17 15:02: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'), 47831, 'SRID=4674;POINT (-40.387967 -2.76275)', '2026-07-17 15:02:50', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387923 -2.762713)'), GeomFromEWKT('SRID=4674;POINT (-40.387967 -2.76275)'))) / (select extract(epoch from '2026-07-17 15:02:50'::timestamp) - extract(epoch from '2026-07-17 15:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387923 -2.762713)'), GeomFromEWKT('SRID=4674;POINT (-40.387967 -2.76275)'))) / (select extract(epoch from '2026-07-17 15:02:50'::timestamp) - extract(epoch from '2026-07-17 15:02: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'), 47831, 'SRID=4674;POINT (-40.388021 -2.762785)', '2026-07-17 15:03:05', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387967 -2.76275)'), GeomFromEWKT('SRID=4674;POINT (-40.388021 -2.762785)'))) / (select extract(epoch from '2026-07-17 15:03:05'::timestamp) - extract(epoch from '2026-07-17 15:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387967 -2.76275)'), GeomFromEWKT('SRID=4674;POINT (-40.388021 -2.762785)'))) / (select extract(epoch from '2026-07-17 15:03:05'::timestamp) - extract(epoch from '2026-07-17 15:02: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'), 47831, 'SRID=4674;POINT (-40.388054 -2.762794)', '2026-07-17 15:03:14', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388021 -2.762785)'), GeomFromEWKT('SRID=4674;POINT (-40.388054 -2.762794)'))) / (select extract(epoch from '2026-07-17 15:03:14'::timestamp) - extract(epoch from '2026-07-17 15:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388021 -2.762785)'), GeomFromEWKT('SRID=4674;POINT (-40.388054 -2.762794)'))) / (select extract(epoch from '2026-07-17 15:03:14'::timestamp) - extract(epoch from '2026-07-17 15:03: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'), 47831, 'SRID=4674;POINT (-40.388107 -2.762807)', '2026-07-17 15:03:23', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388054 -2.762794)'), GeomFromEWKT('SRID=4674;POINT (-40.388107 -2.762807)'))) / (select extract(epoch from '2026-07-17 15:03:23'::timestamp) - extract(epoch from '2026-07-17 15:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388054 -2.762794)'), GeomFromEWKT('SRID=4674;POINT (-40.388107 -2.762807)'))) / (select extract(epoch from '2026-07-17 15:03:23'::timestamp) - extract(epoch from '2026-07-17 15:03: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'), 47831, 'SRID=4674;POINT (-40.388157 -2.762824)', '2026-07-17 15:03:33', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388107 -2.762807)'), GeomFromEWKT('SRID=4674;POINT (-40.388157 -2.762824)'))) / (select extract(epoch from '2026-07-17 15:03:33'::timestamp) - extract(epoch from '2026-07-17 15:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388107 -2.762807)'), GeomFromEWKT('SRID=4674;POINT (-40.388157 -2.762824)'))) / (select extract(epoch from '2026-07-17 15:03:33'::timestamp) - extract(epoch from '2026-07-17 15:03: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'), 47831, 'SRID=4674;POINT (-40.388206 -2.762855)', '2026-07-17 15:03:44', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388157 -2.762824)'), GeomFromEWKT('SRID=4674;POINT (-40.388206 -2.762855)'))) / (select extract(epoch from '2026-07-17 15:03:44'::timestamp) - extract(epoch from '2026-07-17 15:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388157 -2.762824)'), GeomFromEWKT('SRID=4674;POINT (-40.388206 -2.762855)'))) / (select extract(epoch from '2026-07-17 15:03:44'::timestamp) - extract(epoch from '2026-07-17 15:03: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'), 47831, 'SRID=4674;POINT (-40.388207 -2.762861)', '2026-07-17 15:03:45', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388206 -2.762855)'), GeomFromEWKT('SRID=4674;POINT (-40.388207 -2.762861)'))) / (select extract(epoch from '2026-07-17 15:03:45'::timestamp) - extract(epoch from '2026-07-17 15:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388206 -2.762855)'), GeomFromEWKT('SRID=4674;POINT (-40.388207 -2.762861)'))) / (select extract(epoch from '2026-07-17 15:03:45'::timestamp) - extract(epoch from '2026-07-17 15:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388232 -2.762875)', '2026-07-17 15:03:52', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388207 -2.762861)'), GeomFromEWKT('SRID=4674;POINT (-40.388232 -2.762875)'))) / (select extract(epoch from '2026-07-17 15:03:52'::timestamp) - extract(epoch from '2026-07-17 15:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388207 -2.762861)'), GeomFromEWKT('SRID=4674;POINT (-40.388232 -2.762875)'))) / (select extract(epoch from '2026-07-17 15:03:52'::timestamp) - extract(epoch from '2026-07-17 15:03: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'), 47831, 'SRID=4674;POINT (-40.38829 -2.762895)', '2026-07-17 15:04:02', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388232 -2.762875)'), GeomFromEWKT('SRID=4674;POINT (-40.38829 -2.762895)'))) / (select extract(epoch from '2026-07-17 15:04:02'::timestamp) - extract(epoch from '2026-07-17 15:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388232 -2.762875)'), GeomFromEWKT('SRID=4674;POINT (-40.38829 -2.762895)'))) / (select extract(epoch from '2026-07-17 15:04:02'::timestamp) - extract(epoch from '2026-07-17 15:03: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'), 47831, 'SRID=4674;POINT (-40.388332 -2.762927)', '2026-07-17 15:04:13', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38829 -2.762895)'), GeomFromEWKT('SRID=4674;POINT (-40.388332 -2.762927)'))) / (select extract(epoch from '2026-07-17 15:04:13'::timestamp) - extract(epoch from '2026-07-17 15:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38829 -2.762895)'), GeomFromEWKT('SRID=4674;POINT (-40.388332 -2.762927)'))) / (select extract(epoch from '2026-07-17 15:04:13'::timestamp) - extract(epoch from '2026-07-17 15:04: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'), 47831, 'SRID=4674;POINT (-40.388365 -2.762951)', '2026-07-17 15:04:22', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388332 -2.762927)'), GeomFromEWKT('SRID=4674;POINT (-40.388365 -2.762951)'))) / (select extract(epoch from '2026-07-17 15:04:22'::timestamp) - extract(epoch from '2026-07-17 15:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388332 -2.762927)'), GeomFromEWKT('SRID=4674;POINT (-40.388365 -2.762951)'))) / (select extract(epoch from '2026-07-17 15:04:22'::timestamp) - extract(epoch from '2026-07-17 15:04: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'), 47831, 'SRID=4674;POINT (-40.388444 -2.762972)', '2026-07-17 15:04:36', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388365 -2.762951)'), GeomFromEWKT('SRID=4674;POINT (-40.388444 -2.762972)'))) / (select extract(epoch from '2026-07-17 15:04:36'::timestamp) - extract(epoch from '2026-07-17 15:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388365 -2.762951)'), GeomFromEWKT('SRID=4674;POINT (-40.388444 -2.762972)'))) / (select extract(epoch from '2026-07-17 15:04:36'::timestamp) - extract(epoch from '2026-07-17 15:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.388505 -2.762896)', '2026-07-17 15:04:47', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388444 -2.762972)'), GeomFromEWKT('SRID=4674;POINT (-40.388505 -2.762896)'))) / (select extract(epoch from '2026-07-17 15:04:47'::timestamp) - extract(epoch from '2026-07-17 15:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388444 -2.762972)'), GeomFromEWKT('SRID=4674;POINT (-40.388505 -2.762896)'))) / (select extract(epoch from '2026-07-17 15:04:47'::timestamp) - extract(epoch from '2026-07-17 15:04: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'), 47831, 'SRID=4674;POINT (-40.388476 -2.762866)', '2026-07-17 15:04:55', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388505 -2.762896)'), GeomFromEWKT('SRID=4674;POINT (-40.388476 -2.762866)'))) / (select extract(epoch from '2026-07-17 15:04:55'::timestamp) - extract(epoch from '2026-07-17 15:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388505 -2.762896)'), GeomFromEWKT('SRID=4674;POINT (-40.388476 -2.762866)'))) / (select extract(epoch from '2026-07-17 15:04:55'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.388432 -2.762903)', '2026-07-17 15:05:03', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388476 -2.762866)'), GeomFromEWKT('SRID=4674;POINT (-40.388432 -2.762903)'))) / (select extract(epoch from '2026-07-17 15:05:03'::timestamp) - extract(epoch from '2026-07-17 15:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388476 -2.762866)'), GeomFromEWKT('SRID=4674;POINT (-40.388432 -2.762903)'))) / (select extract(epoch from '2026-07-17 15:05:03'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.388375 -2.762947)', '2026-07-17 15:05:10', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388432 -2.762903)'), GeomFromEWKT('SRID=4674;POINT (-40.388375 -2.762947)'))) / (select extract(epoch from '2026-07-17 15:05:10'::timestamp) - extract(epoch from '2026-07-17 15:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388432 -2.762903)'), GeomFromEWKT('SRID=4674;POINT (-40.388375 -2.762947)'))) / (select extract(epoch from '2026-07-17 15:05:10'::timestamp) - extract(epoch from '2026-07-17 15:05: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'), 47831, 'SRID=4674;POINT (-40.388324 -2.76295)', '2026-07-17 15:05:16', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388375 -2.762947)'), GeomFromEWKT('SRID=4674;POINT (-40.388324 -2.76295)'))) / (select extract(epoch from '2026-07-17 15:05:16'::timestamp) - extract(epoch from '2026-07-17 15:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388375 -2.762947)'), GeomFromEWKT('SRID=4674;POINT (-40.388324 -2.76295)'))) / (select extract(epoch from '2026-07-17 15:05:16'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.388279 -2.762905)', '2026-07-17 15:05:23', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388324 -2.76295)'), GeomFromEWKT('SRID=4674;POINT (-40.388279 -2.762905)'))) / (select extract(epoch from '2026-07-17 15:05:23'::timestamp) - extract(epoch from '2026-07-17 15:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388324 -2.76295)'), GeomFromEWKT('SRID=4674;POINT (-40.388279 -2.762905)'))) / (select extract(epoch from '2026-07-17 15:05:23'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.388258 -2.762876)', '2026-07-17 15:05:29', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388279 -2.762905)'), GeomFromEWKT('SRID=4674;POINT (-40.388258 -2.762876)'))) / (select extract(epoch from '2026-07-17 15:05:29'::timestamp) - extract(epoch from '2026-07-17 15:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388279 -2.762905)'), GeomFromEWKT('SRID=4674;POINT (-40.388258 -2.762876)'))) / (select extract(epoch from '2026-07-17 15:05:29'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.388244 -2.762847)', '2026-07-17 15:05:38', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388258 -2.762876)'), GeomFromEWKT('SRID=4674;POINT (-40.388244 -2.762847)'))) / (select extract(epoch from '2026-07-17 15:05:38'::timestamp) - extract(epoch from '2026-07-17 15:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388258 -2.762876)'), GeomFromEWKT('SRID=4674;POINT (-40.388244 -2.762847)'))) / (select extract(epoch from '2026-07-17 15:05:38'::timestamp) - extract(epoch from '2026-07-17 15:05: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'), 47831, 'SRID=4674;POINT (-40.388187 -2.762873)', '2026-07-17 15:05:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388244 -2.762847)'), GeomFromEWKT('SRID=4674;POINT (-40.388187 -2.762873)'))) / (select extract(epoch from '2026-07-17 15:05:46'::timestamp) - extract(epoch from '2026-07-17 15:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388244 -2.762847)'), GeomFromEWKT('SRID=4674;POINT (-40.388187 -2.762873)'))) / (select extract(epoch from '2026-07-17 15:05:46'::timestamp) - extract(epoch from '2026-07-17 15:05: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'), 47831, 'SRID=4674;POINT (-40.388049 -2.762924)', '2026-07-17 15:06:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388187 -2.762873)'), GeomFromEWKT('SRID=4674;POINT (-40.388049 -2.762924)'))) / (select extract(epoch from '2026-07-17 15:06:00'::timestamp) - extract(epoch from '2026-07-17 15:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388187 -2.762873)'), GeomFromEWKT('SRID=4674;POINT (-40.388049 -2.762924)'))) / (select extract(epoch from '2026-07-17 15:06:00'::timestamp) - extract(epoch from '2026-07-17 15:05: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'), 47831, 'SRID=4674;POINT (-40.387982 -2.762889)', '2026-07-17 15:06:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388049 -2.762924)'), GeomFromEWKT('SRID=4674;POINT (-40.387982 -2.762889)'))) / (select extract(epoch from '2026-07-17 15:06:09'::timestamp) - extract(epoch from '2026-07-17 15:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388049 -2.762924)'), GeomFromEWKT('SRID=4674;POINT (-40.387982 -2.762889)'))) / (select extract(epoch from '2026-07-17 15:06:09'::timestamp) - extract(epoch from '2026-07-17 15:06: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'), 47831, 'SRID=4674;POINT (-40.387937 -2.762828)', '2026-07-17 15:06:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387982 -2.762889)'), GeomFromEWKT('SRID=4674;POINT (-40.387937 -2.762828)'))) / (select extract(epoch from '2026-07-17 15:06:16'::timestamp) - extract(epoch from '2026-07-17 15:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387982 -2.762889)'), GeomFromEWKT('SRID=4674;POINT (-40.387937 -2.762828)'))) / (select extract(epoch from '2026-07-17 15:06:16'::timestamp) - extract(epoch from '2026-07-17 15:06: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'), 47831, 'SRID=4674;POINT (-40.387929 -2.762825)', '2026-07-17 15:06:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387937 -2.762828)'), GeomFromEWKT('SRID=4674;POINT (-40.387929 -2.762825)'))) / (select extract(epoch from '2026-07-17 15:06:17'::timestamp) - extract(epoch from '2026-07-17 15:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387937 -2.762828)'), GeomFromEWKT('SRID=4674;POINT (-40.387929 -2.762825)'))) / (select extract(epoch from '2026-07-17 15:06:17'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387915 -2.762833)', '2026-07-17 15:06:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387929 -2.762825)'), GeomFromEWKT('SRID=4674;POINT (-40.387915 -2.762833)'))) / (select extract(epoch from '2026-07-17 15:06:21'::timestamp) - extract(epoch from '2026-07-17 15:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387929 -2.762825)'), GeomFromEWKT('SRID=4674;POINT (-40.387915 -2.762833)'))) / (select extract(epoch from '2026-07-17 15:06:21'::timestamp) - extract(epoch from '2026-07-17 15:06: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'), 47831, 'SRID=4674;POINT (-40.387853 -2.762803)', '2026-07-17 15:06:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387915 -2.762833)'), GeomFromEWKT('SRID=4674;POINT (-40.387853 -2.762803)'))) / (select extract(epoch from '2026-07-17 15:06:32'::timestamp) - extract(epoch from '2026-07-17 15:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387915 -2.762833)'), GeomFromEWKT('SRID=4674;POINT (-40.387853 -2.762803)'))) / (select extract(epoch from '2026-07-17 15:06:32'::timestamp) - extract(epoch from '2026-07-17 15:06: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'), 47831, 'SRID=4674;POINT (-40.387852 -2.762732)', '2026-07-17 15:06:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387853 -2.762803)'), GeomFromEWKT('SRID=4674;POINT (-40.387852 -2.762732)'))) / (select extract(epoch from '2026-07-17 15:06:41'::timestamp) - extract(epoch from '2026-07-17 15:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387853 -2.762803)'), GeomFromEWKT('SRID=4674;POINT (-40.387852 -2.762732)'))) / (select extract(epoch from '2026-07-17 15:06:41'::timestamp) - extract(epoch from '2026-07-17 15:06: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'), 47831, 'SRID=4674;POINT (-40.387819 -2.762718)', '2026-07-17 15:06:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387852 -2.762732)'), GeomFromEWKT('SRID=4674;POINT (-40.387819 -2.762718)'))) / (select extract(epoch from '2026-07-17 15:06:50'::timestamp) - extract(epoch from '2026-07-17 15:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387852 -2.762732)'), GeomFromEWKT('SRID=4674;POINT (-40.387819 -2.762718)'))) / (select extract(epoch from '2026-07-17 15:06:50'::timestamp) - extract(epoch from '2026-07-17 15:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387766 -2.762711)', '2026-07-17 15:07:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387819 -2.762718)'), GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762711)'))) / (select extract(epoch from '2026-07-17 15:07:00'::timestamp) - extract(epoch from '2026-07-17 15:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387819 -2.762718)'), GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762711)'))) / (select extract(epoch from '2026-07-17 15:07:00'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.38776 -2.762651)', '2026-07-17 15:07:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762711)'), GeomFromEWKT('SRID=4674;POINT (-40.38776 -2.762651)'))) / (select extract(epoch from '2026-07-17 15:07:08'::timestamp) - extract(epoch from '2026-07-17 15:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762711)'), GeomFromEWKT('SRID=4674;POINT (-40.38776 -2.762651)'))) / (select extract(epoch from '2026-07-17 15:07:08'::timestamp) - extract(epoch from '2026-07-17 15:07: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'), 47831, 'SRID=4674;POINT (-40.387712 -2.762647)', '2026-07-17 15:07:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38776 -2.762651)'), GeomFromEWKT('SRID=4674;POINT (-40.387712 -2.762647)'))) / (select extract(epoch from '2026-07-17 15:07:16'::timestamp) - extract(epoch from '2026-07-17 15:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38776 -2.762651)'), GeomFromEWKT('SRID=4674;POINT (-40.387712 -2.762647)'))) / (select extract(epoch from '2026-07-17 15:07:16'::timestamp) - extract(epoch from '2026-07-17 15:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38771 -2.762617)', '2026-07-17 15:07:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387712 -2.762647)'), GeomFromEWKT('SRID=4674;POINT (-40.38771 -2.762617)'))) / (select extract(epoch from '2026-07-17 15:07:24'::timestamp) - extract(epoch from '2026-07-17 15:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387712 -2.762647)'), GeomFromEWKT('SRID=4674;POINT (-40.38771 -2.762617)'))) / (select extract(epoch from '2026-07-17 15:07:24'::timestamp) - extract(epoch from '2026-07-17 15:07: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'), 47831, 'SRID=4674;POINT (-40.387785 -2.762552)', '2026-07-17 15:07:35', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38771 -2.762617)'), GeomFromEWKT('SRID=4674;POINT (-40.387785 -2.762552)'))) / (select extract(epoch from '2026-07-17 15:07:35'::timestamp) - extract(epoch from '2026-07-17 15:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38771 -2.762617)'), GeomFromEWKT('SRID=4674;POINT (-40.387785 -2.762552)'))) / (select extract(epoch from '2026-07-17 15:07:35'::timestamp) - extract(epoch from '2026-07-17 15:07: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'), 47831, 'SRID=4674;POINT (-40.387849 -2.762511)', '2026-07-17 15:07:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387785 -2.762552)'), GeomFromEWKT('SRID=4674;POINT (-40.387849 -2.762511)'))) / (select extract(epoch from '2026-07-17 15:07:47'::timestamp) - extract(epoch from '2026-07-17 15:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387785 -2.762552)'), GeomFromEWKT('SRID=4674;POINT (-40.387849 -2.762511)'))) / (select extract(epoch from '2026-07-17 15:07:47'::timestamp) - extract(epoch from '2026-07-17 15:07: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'), 47831, 'SRID=4674;POINT (-40.387865 -2.762487)', '2026-07-17 15:07:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387849 -2.762511)'), GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762487)'))) / (select extract(epoch from '2026-07-17 15:07:57'::timestamp) - extract(epoch from '2026-07-17 15:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387849 -2.762511)'), GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762487)'))) / (select extract(epoch from '2026-07-17 15:07:57'::timestamp) - extract(epoch from '2026-07-17 15:07: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'), 47831, 'SRID=4674;POINT (-40.387811 -2.76254)', '2026-07-17 15:08:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762487)'), GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.76254)'))) / (select extract(epoch from '2026-07-17 15:08:19'::timestamp) - extract(epoch from '2026-07-17 15:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762487)'), GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.76254)'))) / (select extract(epoch from '2026-07-17 15:08:19'::timestamp) - extract(epoch from '2026-07-17 15:07: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'), 47831, 'SRID=4674;POINT (-40.387733 -2.762612)', '2026-07-17 15:08:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.76254)'), GeomFromEWKT('SRID=4674;POINT (-40.387733 -2.762612)'))) / (select extract(epoch from '2026-07-17 15:08:29'::timestamp) - extract(epoch from '2026-07-17 15:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387811 -2.76254)'), GeomFromEWKT('SRID=4674;POINT (-40.387733 -2.762612)'))) / (select extract(epoch from '2026-07-17 15:08:29'::timestamp) - extract(epoch from '2026-07-17 15:08: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'), 47831, 'SRID=4674;POINT (-40.387712 -2.762632)', '2026-07-17 15:08:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387733 -2.762612)'), GeomFromEWKT('SRID=4674;POINT (-40.387712 -2.762632)'))) / (select extract(epoch from '2026-07-17 15:08:35'::timestamp) - extract(epoch from '2026-07-17 15:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387733 -2.762612)'), GeomFromEWKT('SRID=4674;POINT (-40.387712 -2.762632)'))) / (select extract(epoch from '2026-07-17 15:08:35'::timestamp) - extract(epoch from '2026-07-17 15:08: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'), 47831, 'SRID=4674;POINT (-40.38774 -2.762695)', '2026-07-17 15:09:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387712 -2.762632)'), GeomFromEWKT('SRID=4674;POINT (-40.38774 -2.762695)'))) / (select extract(epoch from '2026-07-17 15:09:02'::timestamp) - extract(epoch from '2026-07-17 15:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387712 -2.762632)'), GeomFromEWKT('SRID=4674;POINT (-40.38774 -2.762695)'))) / (select extract(epoch from '2026-07-17 15:09:02'::timestamp) - extract(epoch from '2026-07-17 15:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387746 -2.762706)', '2026-07-17 15:09:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38774 -2.762695)'), GeomFromEWKT('SRID=4674;POINT (-40.387746 -2.762706)'))) / (select extract(epoch from '2026-07-17 15:09:04'::timestamp) - extract(epoch from '2026-07-17 15:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38774 -2.762695)'), GeomFromEWKT('SRID=4674;POINT (-40.387746 -2.762706)'))) / (select extract(epoch from '2026-07-17 15:09:04'::timestamp) - extract(epoch from '2026-07-17 15:09:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38777 -2.762738)', '2026-07-17 15:09:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387746 -2.762706)'), GeomFromEWKT('SRID=4674;POINT (-40.38777 -2.762738)'))) / (select extract(epoch from '2026-07-17 15:09:11'::timestamp) - extract(epoch from '2026-07-17 15:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387746 -2.762706)'), GeomFromEWKT('SRID=4674;POINT (-40.38777 -2.762738)'))) / (select extract(epoch from '2026-07-17 15:09:11'::timestamp) - extract(epoch from '2026-07-17 15:09: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'), 47831, 'SRID=4674;POINT (-40.387809 -2.762783)', '2026-07-17 15:09:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38777 -2.762738)'), GeomFromEWKT('SRID=4674;POINT (-40.387809 -2.762783)'))) / (select extract(epoch from '2026-07-17 15:09:23'::timestamp) - extract(epoch from '2026-07-17 15:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38777 -2.762738)'), GeomFromEWKT('SRID=4674;POINT (-40.387809 -2.762783)'))) / (select extract(epoch from '2026-07-17 15:09:23'::timestamp) - extract(epoch from '2026-07-17 15:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387835 -2.762806)', '2026-07-17 15:09:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387809 -2.762783)'), GeomFromEWKT('SRID=4674;POINT (-40.387835 -2.762806)'))) / (select extract(epoch from '2026-07-17 15:09:31'::timestamp) - extract(epoch from '2026-07-17 15:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387809 -2.762783)'), GeomFromEWKT('SRID=4674;POINT (-40.387835 -2.762806)'))) / (select extract(epoch from '2026-07-17 15:09:31'::timestamp) - extract(epoch from '2026-07-17 15:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387888 -2.762815)', '2026-07-17 15:09:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387835 -2.762806)'), GeomFromEWKT('SRID=4674;POINT (-40.387888 -2.762815)'))) / (select extract(epoch from '2026-07-17 15:09:40'::timestamp) - extract(epoch from '2026-07-17 15:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387835 -2.762806)'), GeomFromEWKT('SRID=4674;POINT (-40.387888 -2.762815)'))) / (select extract(epoch from '2026-07-17 15:09:40'::timestamp) - extract(epoch from '2026-07-17 15:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387948 -2.762767)', '2026-07-17 15:09:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387888 -2.762815)'), GeomFromEWKT('SRID=4674;POINT (-40.387948 -2.762767)'))) / (select extract(epoch from '2026-07-17 15:09:50'::timestamp) - extract(epoch from '2026-07-17 15:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387888 -2.762815)'), GeomFromEWKT('SRID=4674;POINT (-40.387948 -2.762767)'))) / (select extract(epoch from '2026-07-17 15:09:50'::timestamp) - extract(epoch from '2026-07-17 15:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38794 -2.76272)', '2026-07-17 15:10:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387948 -2.762767)'), GeomFromEWKT('SRID=4674;POINT (-40.38794 -2.76272)'))) / (select extract(epoch from '2026-07-17 15:10:00'::timestamp) - extract(epoch from '2026-07-17 15:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387948 -2.762767)'), GeomFromEWKT('SRID=4674;POINT (-40.38794 -2.76272)'))) / (select extract(epoch from '2026-07-17 15:10:00'::timestamp) - extract(epoch from '2026-07-17 15:09: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'), 47831, 'SRID=4674;POINT (-40.387887 -2.762718)', '2026-07-17 15:10:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38794 -2.76272)'), GeomFromEWKT('SRID=4674;POINT (-40.387887 -2.762718)'))) / (select extract(epoch from '2026-07-17 15:10:09'::timestamp) - extract(epoch from '2026-07-17 15:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38794 -2.76272)'), GeomFromEWKT('SRID=4674;POINT (-40.387887 -2.762718)'))) / (select extract(epoch from '2026-07-17 15:10:09'::timestamp) - extract(epoch from '2026-07-17 15:10: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'), 47831, 'SRID=4674;POINT (-40.387819 -2.762687)', '2026-07-17 15:10:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387887 -2.762718)'), GeomFromEWKT('SRID=4674;POINT (-40.387819 -2.762687)'))) / (select extract(epoch from '2026-07-17 15:10:23'::timestamp) - extract(epoch from '2026-07-17 15:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387887 -2.762718)'), GeomFromEWKT('SRID=4674;POINT (-40.387819 -2.762687)'))) / (select extract(epoch from '2026-07-17 15:10:23'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.387805 -2.762649)', '2026-07-17 15:10:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387819 -2.762687)'), GeomFromEWKT('SRID=4674;POINT (-40.387805 -2.762649)'))) / (select extract(epoch from '2026-07-17 15:10:35'::timestamp) - extract(epoch from '2026-07-17 15:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387819 -2.762687)'), GeomFromEWKT('SRID=4674;POINT (-40.387805 -2.762649)'))) / (select extract(epoch from '2026-07-17 15:10:35'::timestamp) - extract(epoch from '2026-07-17 15:10: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'), 47831, 'SRID=4674;POINT (-40.387771 -2.762646)', '2026-07-17 15:11:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387805 -2.762649)'), GeomFromEWKT('SRID=4674;POINT (-40.387771 -2.762646)'))) / (select extract(epoch from '2026-07-17 15:11:10'::timestamp) - extract(epoch from '2026-07-17 15:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387805 -2.762649)'), GeomFromEWKT('SRID=4674;POINT (-40.387771 -2.762646)'))) / (select extract(epoch from '2026-07-17 15:11:10'::timestamp) - extract(epoch from '2026-07-17 15:10: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'), 47831, 'SRID=4674;POINT (-40.387738 -2.762616)', '2026-07-17 15:11:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387771 -2.762646)'), GeomFromEWKT('SRID=4674;POINT (-40.387738 -2.762616)'))) / (select extract(epoch from '2026-07-17 15:11:22'::timestamp) - extract(epoch from '2026-07-17 15:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387771 -2.762646)'), GeomFromEWKT('SRID=4674;POINT (-40.387738 -2.762616)'))) / (select extract(epoch from '2026-07-17 15:11:22'::timestamp) - extract(epoch from '2026-07-17 15:11: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'), 47831, 'SRID=4674;POINT (-40.387758 -2.762647)', '2026-07-17 15:11:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387738 -2.762616)'), GeomFromEWKT('SRID=4674;POINT (-40.387758 -2.762647)'))) / (select extract(epoch from '2026-07-17 15:11:47'::timestamp) - extract(epoch from '2026-07-17 15:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387738 -2.762616)'), GeomFromEWKT('SRID=4674;POINT (-40.387758 -2.762647)'))) / (select extract(epoch from '2026-07-17 15:11:47'::timestamp) - extract(epoch from '2026-07-17 15:11: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'), 47831, 'SRID=4674;POINT (-40.387803 -2.76269)', '2026-07-17 15:12:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387758 -2.762647)'), GeomFromEWKT('SRID=4674;POINT (-40.387803 -2.76269)'))) / (select extract(epoch from '2026-07-17 15:12:01'::timestamp) - extract(epoch from '2026-07-17 15:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387758 -2.762647)'), GeomFromEWKT('SRID=4674;POINT (-40.387803 -2.76269)'))) / (select extract(epoch from '2026-07-17 15:12:01'::timestamp) - extract(epoch from '2026-07-17 15:11: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'), 47831, 'SRID=4674;POINT (-40.38784 -2.762694)', '2026-07-17 15:12:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387803 -2.76269)'), GeomFromEWKT('SRID=4674;POINT (-40.38784 -2.762694)'))) / (select extract(epoch from '2026-07-17 15:12:09'::timestamp) - extract(epoch from '2026-07-17 15:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387803 -2.76269)'), GeomFromEWKT('SRID=4674;POINT (-40.38784 -2.762694)'))) / (select extract(epoch from '2026-07-17 15:12:09'::timestamp) - extract(epoch from '2026-07-17 15:12: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'), 47831, 'SRID=4674;POINT (-40.387907 -2.762644)', '2026-07-17 15:12:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38784 -2.762694)'), GeomFromEWKT('SRID=4674;POINT (-40.387907 -2.762644)'))) / (select extract(epoch from '2026-07-17 15:12:21'::timestamp) - extract(epoch from '2026-07-17 15:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38784 -2.762694)'), GeomFromEWKT('SRID=4674;POINT (-40.387907 -2.762644)'))) / (select extract(epoch from '2026-07-17 15:12:21'::timestamp) - extract(epoch from '2026-07-17 15:12: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'), 47831, 'SRID=4674;POINT (-40.387882 -2.762634)', '2026-07-17 15:12:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387907 -2.762644)'), GeomFromEWKT('SRID=4674;POINT (-40.387882 -2.762634)'))) / (select extract(epoch from '2026-07-17 15:12:30'::timestamp) - extract(epoch from '2026-07-17 15:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387907 -2.762644)'), GeomFromEWKT('SRID=4674;POINT (-40.387882 -2.762634)'))) / (select extract(epoch from '2026-07-17 15:12:30'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387829 -2.762639)', '2026-07-17 15:12:42', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387882 -2.762634)'), GeomFromEWKT('SRID=4674;POINT (-40.387829 -2.762639)'))) / (select extract(epoch from '2026-07-17 15:12:42'::timestamp) - extract(epoch from '2026-07-17 15:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387882 -2.762634)'), GeomFromEWKT('SRID=4674;POINT (-40.387829 -2.762639)'))) / (select extract(epoch from '2026-07-17 15:12:42'::timestamp) - extract(epoch from '2026-07-17 15:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387792 -2.76263)', '2026-07-17 15:12:53', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387829 -2.762639)'), GeomFromEWKT('SRID=4674;POINT (-40.387792 -2.76263)'))) / (select extract(epoch from '2026-07-17 15:12:53'::timestamp) - extract(epoch from '2026-07-17 15:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387829 -2.762639)'), GeomFromEWKT('SRID=4674;POINT (-40.387792 -2.76263)'))) / (select extract(epoch from '2026-07-17 15:12:53'::timestamp) - extract(epoch from '2026-07-17 15:12: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'), 47831, 'SRID=4674;POINT (-40.387761 -2.762633)', '2026-07-17 15:13:15', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387792 -2.76263)'), GeomFromEWKT('SRID=4674;POINT (-40.387761 -2.762633)'))) / (select extract(epoch from '2026-07-17 15:13:15'::timestamp) - extract(epoch from '2026-07-17 15:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387792 -2.76263)'), GeomFromEWKT('SRID=4674;POINT (-40.387761 -2.762633)'))) / (select extract(epoch from '2026-07-17 15:13:15'::timestamp) - extract(epoch from '2026-07-17 15:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.387785 -2.762613)', '2026-07-17 15:13:31', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387761 -2.762633)'), GeomFromEWKT('SRID=4674;POINT (-40.387785 -2.762613)'))) / (select extract(epoch from '2026-07-17 15:13:31'::timestamp) - extract(epoch from '2026-07-17 15:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387761 -2.762633)'), GeomFromEWKT('SRID=4674;POINT (-40.387785 -2.762613)'))) / (select extract(epoch from '2026-07-17 15:13:31'::timestamp) - extract(epoch from '2026-07-17 15:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.3878 -2.762607)', '2026-07-17 15:13:38', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387785 -2.762613)'), GeomFromEWKT('SRID=4674;POINT (-40.3878 -2.762607)'))) / (select extract(epoch from '2026-07-17 15:13:38'::timestamp) - extract(epoch from '2026-07-17 15:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387785 -2.762613)'), GeomFromEWKT('SRID=4674;POINT (-40.3878 -2.762607)'))) / (select extract(epoch from '2026-07-17 15:13:38'::timestamp) - extract(epoch from '2026-07-17 15:13: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'), 47831, 'SRID=4674;POINT (-40.387813 -2.76261)', '2026-07-17 15:14:10', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3878 -2.762607)'), GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.76261)'))) / (select extract(epoch from '2026-07-17 15:14:10'::timestamp) - extract(epoch from '2026-07-17 15:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3878 -2.762607)'), GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.76261)'))) / (select extract(epoch from '2026-07-17 15:14:10'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.3878 -2.762647)', '2026-07-17 15:14:18', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.76261)'), GeomFromEWKT('SRID=4674;POINT (-40.3878 -2.762647)'))) / (select extract(epoch from '2026-07-17 15:14:18'::timestamp) - extract(epoch from '2026-07-17 15:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387813 -2.76261)'), GeomFromEWKT('SRID=4674;POINT (-40.3878 -2.762647)'))) / (select extract(epoch from '2026-07-17 15:14:18'::timestamp) - extract(epoch from '2026-07-17 15:14: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'), 47831, 'SRID=4674;POINT (-40.387786 -2.762669)', '2026-07-17 15:14:30', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3878 -2.762647)'), GeomFromEWKT('SRID=4674;POINT (-40.387786 -2.762669)'))) / (select extract(epoch from '2026-07-17 15:14:30'::timestamp) - extract(epoch from '2026-07-17 15:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3878 -2.762647)'), GeomFromEWKT('SRID=4674;POINT (-40.387786 -2.762669)'))) / (select extract(epoch from '2026-07-17 15:14:30'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387766 -2.762637)', '2026-07-17 15:15:30', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387786 -2.762669)'), GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762637)'))) / (select extract(epoch from '2026-07-17 15:15:30'::timestamp) - extract(epoch from '2026-07-17 15:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387786 -2.762669)'), GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762637)'))) / (select extract(epoch from '2026-07-17 15:15:30'::timestamp) - extract(epoch from '2026-07-17 15:14: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'), 47831, 'SRID=4674;POINT (-40.38775 -2.76266)', '2026-07-17 15:15:41', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762637)'), GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.76266)'))) / (select extract(epoch from '2026-07-17 15:15:41'::timestamp) - extract(epoch from '2026-07-17 15:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387766 -2.762637)'), GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.76266)'))) / (select extract(epoch from '2026-07-17 15:15:41'::timestamp) - extract(epoch from '2026-07-17 15:15: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'), 47831, 'SRID=4674;POINT (-40.387795 -2.762726)', '2026-07-17 15:15:57', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.76266)'), GeomFromEWKT('SRID=4674;POINT (-40.387795 -2.762726)'))) / (select extract(epoch from '2026-07-17 15:15:57'::timestamp) - extract(epoch from '2026-07-17 15:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38775 -2.76266)'), GeomFromEWKT('SRID=4674;POINT (-40.387795 -2.762726)'))) / (select extract(epoch from '2026-07-17 15:15:57'::timestamp) - extract(epoch from '2026-07-17 15:15: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'), 47831, 'SRID=4674;POINT (-40.387831 -2.762763)', '2026-07-17 15:16:08', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387795 -2.762726)'), GeomFromEWKT('SRID=4674;POINT (-40.387831 -2.762763)'))) / (select extract(epoch from '2026-07-17 15:16:08'::timestamp) - extract(epoch from '2026-07-17 15:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387795 -2.762726)'), GeomFromEWKT('SRID=4674;POINT (-40.387831 -2.762763)'))) / (select extract(epoch from '2026-07-17 15:16:08'::timestamp) - extract(epoch from '2026-07-17 15:15: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'), 47831, 'SRID=4674;POINT (-40.387865 -2.762773)', '2026-07-17 15:16:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387831 -2.762763)'), GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762773)'))) / (select extract(epoch from '2026-07-17 15:16:16'::timestamp) - extract(epoch from '2026-07-17 15:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387831 -2.762763)'), GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762773)'))) / (select extract(epoch from '2026-07-17 15:16:16'::timestamp) - extract(epoch from '2026-07-17 15:16: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'), 47831, 'SRID=4674;POINT (-40.387897 -2.762783)', '2026-07-17 15:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762773)'), GeomFromEWKT('SRID=4674;POINT (-40.387897 -2.762783)'))) / (select extract(epoch from '2026-07-17 15:16:23'::timestamp) - extract(epoch from '2026-07-17 15:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387865 -2.762773)'), GeomFromEWKT('SRID=4674;POINT (-40.387897 -2.762783)'))) / (select extract(epoch from '2026-07-17 15:16:23'::timestamp) - extract(epoch from '2026-07-17 15:16: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'), 47831, 'SRID=4674;POINT (-40.387967 -2.762793)', '2026-07-17 15:16:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387897 -2.762783)'), GeomFromEWKT('SRID=4674;POINT (-40.387967 -2.762793)'))) / (select extract(epoch from '2026-07-17 15:16:35'::timestamp) - extract(epoch from '2026-07-17 15:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387897 -2.762783)'), GeomFromEWKT('SRID=4674;POINT (-40.387967 -2.762793)'))) / (select extract(epoch from '2026-07-17 15:16:35'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.388029 -2.762724)', '2026-07-17 15:16:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387967 -2.762793)'), GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.762724)'))) / (select extract(epoch from '2026-07-17 15:16:45'::timestamp) - extract(epoch from '2026-07-17 15:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387967 -2.762793)'), GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.762724)'))) / (select extract(epoch from '2026-07-17 15:16:45'::timestamp) - extract(epoch from '2026-07-17 15:16: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'), 47831, 'SRID=4674;POINT (-40.387994 -2.762665)', '2026-07-17 15:16:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.762724)'), GeomFromEWKT('SRID=4674;POINT (-40.387994 -2.762665)'))) / (select extract(epoch from '2026-07-17 15:16:54'::timestamp) - extract(epoch from '2026-07-17 15:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388029 -2.762724)'), GeomFromEWKT('SRID=4674;POINT (-40.387994 -2.762665)'))) / (select extract(epoch from '2026-07-17 15:16:54'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387889 -2.762683)', '2026-07-17 15:17:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387994 -2.762665)'), GeomFromEWKT('SRID=4674;POINT (-40.387889 -2.762683)'))) / (select extract(epoch from '2026-07-17 15:17:03'::timestamp) - extract(epoch from '2026-07-17 15:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387994 -2.762665)'), GeomFromEWKT('SRID=4674;POINT (-40.387889 -2.762683)'))) / (select extract(epoch from '2026-07-17 15:17:03'::timestamp) - extract(epoch from '2026-07-17 15:16: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'), 47831, 'SRID=4674;POINT (-40.38776 -2.762728)', '2026-07-17 15:17:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387889 -2.762683)'), GeomFromEWKT('SRID=4674;POINT (-40.38776 -2.762728)'))) / (select extract(epoch from '2026-07-17 15:17:12'::timestamp) - extract(epoch from '2026-07-17 15:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387889 -2.762683)'), GeomFromEWKT('SRID=4674;POINT (-40.38776 -2.762728)'))) / (select extract(epoch from '2026-07-17 15:17:12'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47831, 'SRID=4674;POINT (-40.387674 -2.762749)', '2026-07-17 15:17:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38776 -2.762728)'), GeomFromEWKT('SRID=4674;POINT (-40.387674 -2.762749)'))) / (select extract(epoch from '2026-07-17 15:17:18'::timestamp) - extract(epoch from '2026-07-17 15:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38776 -2.762728)'), GeomFromEWKT('SRID=4674;POINT (-40.387674 -2.762749)'))) / (select extract(epoch from '2026-07-17 15:17:18'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47831, 'SRID=4674;POINT (-40.387644 -2.762754)', '2026-07-17 15:17:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387674 -2.762749)'), GeomFromEWKT('SRID=4674;POINT (-40.387644 -2.762754)'))) / (select extract(epoch from '2026-07-17 15:17:20'::timestamp) - extract(epoch from '2026-07-17 15:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387674 -2.762749)'), GeomFromEWKT('SRID=4674;POINT (-40.387644 -2.762754)'))) / (select extract(epoch from '2026-07-17 15:17:20'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.387581 -2.76276)', '2026-07-17 15:17:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387644 -2.762754)'), GeomFromEWKT('SRID=4674;POINT (-40.387581 -2.76276)'))) / (select extract(epoch from '2026-07-17 15:17:24'::timestamp) - extract(epoch from '2026-07-17 15:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387644 -2.762754)'), GeomFromEWKT('SRID=4674;POINT (-40.387581 -2.76276)'))) / (select extract(epoch from '2026-07-17 15:17:24'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47831, 'SRID=4674;POINT (-40.387481 -2.762766)', '2026-07-17 15:17:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387581 -2.76276)'), GeomFromEWKT('SRID=4674;POINT (-40.387481 -2.762766)'))) / (select extract(epoch from '2026-07-17 15:17:31'::timestamp) - extract(epoch from '2026-07-17 15:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387581 -2.76276)'), GeomFromEWKT('SRID=4674;POINT (-40.387481 -2.762766)'))) / (select extract(epoch from '2026-07-17 15:17:31'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47831, 'SRID=4674;POINT (-40.387395 -2.762753)', '2026-07-17 15:17:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387481 -2.762766)'), GeomFromEWKT('SRID=4674;POINT (-40.387395 -2.762753)'))) / (select extract(epoch from '2026-07-17 15:17:38'::timestamp) - extract(epoch from '2026-07-17 15:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387481 -2.762766)'), GeomFromEWKT('SRID=4674;POINT (-40.387395 -2.762753)'))) / (select extract(epoch from '2026-07-17 15:17:38'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47831, 'SRID=4674;POINT (-40.387306 -2.762719)', '2026-07-17 15:17:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387395 -2.762753)'), GeomFromEWKT('SRID=4674;POINT (-40.387306 -2.762719)'))) / (select extract(epoch from '2026-07-17 15:17:45'::timestamp) - extract(epoch from '2026-07-17 15:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387395 -2.762753)'), GeomFromEWKT('SRID=4674;POINT (-40.387306 -2.762719)'))) / (select extract(epoch from '2026-07-17 15:17:45'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47831, 'SRID=4674;POINT (-40.387191 -2.762676)', '2026-07-17 15:17:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387306 -2.762719)'), GeomFromEWKT('SRID=4674;POINT (-40.387191 -2.762676)'))) / (select extract(epoch from '2026-07-17 15:17:53'::timestamp) - extract(epoch from '2026-07-17 15:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387306 -2.762719)'), GeomFromEWKT('SRID=4674;POINT (-40.387191 -2.762676)'))) / (select extract(epoch from '2026-07-17 15:17:53'::timestamp) - extract(epoch from '2026-07-17 15:17: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'), 47831, 'SRID=4674;POINT (-40.38709 -2.76268)', '2026-07-17 15:18:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387191 -2.762676)'), GeomFromEWKT('SRID=4674;POINT (-40.38709 -2.76268)'))) / (select extract(epoch from '2026-07-17 15:18:00'::timestamp) - extract(epoch from '2026-07-17 15:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387191 -2.762676)'), GeomFromEWKT('SRID=4674;POINT (-40.38709 -2.76268)'))) / (select extract(epoch from '2026-07-17 15:18:00'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.386972 -2.762671)', '2026-07-17 15:18:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38709 -2.76268)'), GeomFromEWKT('SRID=4674;POINT (-40.386972 -2.762671)'))) / (select extract(epoch from '2026-07-17 15:18:09'::timestamp) - extract(epoch from '2026-07-17 15:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38709 -2.76268)'), GeomFromEWKT('SRID=4674;POINT (-40.386972 -2.762671)'))) / (select extract(epoch from '2026-07-17 15:18:09'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47831, 'SRID=4674;POINT (-40.386875 -2.762673)', '2026-07-17 15:18:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386972 -2.762671)'), GeomFromEWKT('SRID=4674;POINT (-40.386875 -2.762673)'))) / (select extract(epoch from '2026-07-17 15:18:16'::timestamp) - extract(epoch from '2026-07-17 15:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386972 -2.762671)'), GeomFromEWKT('SRID=4674;POINT (-40.386875 -2.762673)'))) / (select extract(epoch from '2026-07-17 15:18:16'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47831, 'SRID=4674;POINT (-40.386865 -2.762673)', '2026-07-17 15:18:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386875 -2.762673)'), GeomFromEWKT('SRID=4674;POINT (-40.386865 -2.762673)'))) / (select extract(epoch from '2026-07-17 15:18:17'::timestamp) - extract(epoch from '2026-07-17 15:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386875 -2.762673)'), GeomFromEWKT('SRID=4674;POINT (-40.386865 -2.762673)'))) / (select extract(epoch from '2026-07-17 15:18:17'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47831, 'SRID=4674;POINT (-40.386799 -2.762659)', '2026-07-17 15:18:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386865 -2.762673)'), GeomFromEWKT('SRID=4674;POINT (-40.386799 -2.762659)'))) / (select extract(epoch from '2026-07-17 15:18:22'::timestamp) - extract(epoch from '2026-07-17 15:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386865 -2.762673)'), GeomFromEWKT('SRID=4674;POINT (-40.386799 -2.762659)'))) / (select extract(epoch from '2026-07-17 15:18:22'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47831, 'SRID=4674;POINT (-40.386746 -2.762656)', '2026-07-17 15:18:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386799 -2.762659)'), GeomFromEWKT('SRID=4674;POINT (-40.386746 -2.762656)'))) / (select extract(epoch from '2026-07-17 15:18:27'::timestamp) - extract(epoch from '2026-07-17 15:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386799 -2.762659)'), GeomFromEWKT('SRID=4674;POINT (-40.386746 -2.762656)'))) / (select extract(epoch from '2026-07-17 15:18:27'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47831, 'SRID=4674;POINT (-40.386735 -2.762653)', '2026-07-17 15:18:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386746 -2.762656)'), GeomFromEWKT('SRID=4674;POINT (-40.386735 -2.762653)'))) / (select extract(epoch from '2026-07-17 15:18:28'::timestamp) - extract(epoch from '2026-07-17 15:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386746 -2.762656)'), GeomFromEWKT('SRID=4674;POINT (-40.386735 -2.762653)'))) / (select extract(epoch from '2026-07-17 15:18:28'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.386654 -2.762634)', '2026-07-17 15:18:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386735 -2.762653)'), GeomFromEWKT('SRID=4674;POINT (-40.386654 -2.762634)'))) / (select extract(epoch from '2026-07-17 15:18:35'::timestamp) - extract(epoch from '2026-07-17 15:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386735 -2.762653)'), GeomFromEWKT('SRID=4674;POINT (-40.386654 -2.762634)'))) / (select extract(epoch from '2026-07-17 15:18:35'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47831, 'SRID=4674;POINT (-40.386543 -2.762648)', '2026-07-17 15:18:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386654 -2.762634)'), GeomFromEWKT('SRID=4674;POINT (-40.386543 -2.762648)'))) / (select extract(epoch from '2026-07-17 15:18:43'::timestamp) - extract(epoch from '2026-07-17 15:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386654 -2.762634)'), GeomFromEWKT('SRID=4674;POINT (-40.386543 -2.762648)'))) / (select extract(epoch from '2026-07-17 15:18:43'::timestamp) - extract(epoch from '2026-07-17 15:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.386453 -2.762666)', '2026-07-17 15:18:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386543 -2.762648)'), GeomFromEWKT('SRID=4674;POINT (-40.386453 -2.762666)'))) / (select extract(epoch from '2026-07-17 15:18:49'::timestamp) - extract(epoch from '2026-07-17 15:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386543 -2.762648)'), GeomFromEWKT('SRID=4674;POINT (-40.386453 -2.762666)'))) / (select extract(epoch from '2026-07-17 15:18:49'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47831, 'SRID=4674;POINT (-40.386337 -2.762675)', '2026-07-17 15:18:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386453 -2.762666)'), GeomFromEWKT('SRID=4674;POINT (-40.386337 -2.762675)'))) / (select extract(epoch from '2026-07-17 15:18:56'::timestamp) - extract(epoch from '2026-07-17 15:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386453 -2.762666)'), GeomFromEWKT('SRID=4674;POINT (-40.386337 -2.762675)'))) / (select extract(epoch from '2026-07-17 15:18:56'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47831, 'SRID=4674;POINT (-40.386243 -2.762662)', '2026-07-17 15:19:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386337 -2.762675)'), GeomFromEWKT('SRID=4674;POINT (-40.386243 -2.762662)'))) / (select extract(epoch from '2026-07-17 15:19:02'::timestamp) - extract(epoch from '2026-07-17 15:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386337 -2.762675)'), GeomFromEWKT('SRID=4674;POINT (-40.386243 -2.762662)'))) / (select extract(epoch from '2026-07-17 15:19:02'::timestamp) - extract(epoch from '2026-07-17 15:18: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'), 47831, 'SRID=4674;POINT (-40.386124 -2.762674)', '2026-07-17 15:19:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386243 -2.762662)'), GeomFromEWKT('SRID=4674;POINT (-40.386124 -2.762674)'))) / (select extract(epoch from '2026-07-17 15:19:10'::timestamp) - extract(epoch from '2026-07-17 15:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386243 -2.762662)'), GeomFromEWKT('SRID=4674;POINT (-40.386124 -2.762674)'))) / (select extract(epoch from '2026-07-17 15:19:10'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47831, 'SRID=4674;POINT (-40.386027 -2.762662)', '2026-07-17 15:19:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386124 -2.762674)'), GeomFromEWKT('SRID=4674;POINT (-40.386027 -2.762662)'))) / (select extract(epoch from '2026-07-17 15:19:16'::timestamp) - extract(epoch from '2026-07-17 15:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386124 -2.762674)'), GeomFromEWKT('SRID=4674;POINT (-40.386027 -2.762662)'))) / (select extract(epoch from '2026-07-17 15:19:16'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47831, 'SRID=4674;POINT (-40.385957 -2.762648)', '2026-07-17 15:19:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386027 -2.762662)'), GeomFromEWKT('SRID=4674;POINT (-40.385957 -2.762648)'))) / (select extract(epoch from '2026-07-17 15:19:21'::timestamp) - extract(epoch from '2026-07-17 15:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386027 -2.762662)'), GeomFromEWKT('SRID=4674;POINT (-40.385957 -2.762648)'))) / (select extract(epoch from '2026-07-17 15:19:21'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47831, 'SRID=4674;POINT (-40.385866 -2.762644)', '2026-07-17 15:19:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385957 -2.762648)'), GeomFromEWKT('SRID=4674;POINT (-40.385866 -2.762644)'))) / (select extract(epoch from '2026-07-17 15:19:27'::timestamp) - extract(epoch from '2026-07-17 15:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385957 -2.762648)'), GeomFromEWKT('SRID=4674;POINT (-40.385866 -2.762644)'))) / (select extract(epoch from '2026-07-17 15:19:27'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47831, 'SRID=4674;POINT (-40.385799 -2.762625)', '2026-07-17 15:19:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385866 -2.762644)'), GeomFromEWKT('SRID=4674;POINT (-40.385799 -2.762625)'))) / (select extract(epoch from '2026-07-17 15:19:34'::timestamp) - extract(epoch from '2026-07-17 15:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385866 -2.762644)'), GeomFromEWKT('SRID=4674;POINT (-40.385799 -2.762625)'))) / (select extract(epoch from '2026-07-17 15:19:34'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47831, 'SRID=4674;POINT (-40.385746 -2.762593)', '2026-07-17 15:19:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385799 -2.762625)'), GeomFromEWKT('SRID=4674;POINT (-40.385746 -2.762593)'))) / (select extract(epoch from '2026-07-17 15:19:40'::timestamp) - extract(epoch from '2026-07-17 15:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385799 -2.762625)'), GeomFromEWKT('SRID=4674;POINT (-40.385746 -2.762593)'))) / (select extract(epoch from '2026-07-17 15:19:40'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.385734 -2.762594)', '2026-07-17 15:19:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385746 -2.762593)'), GeomFromEWKT('SRID=4674;POINT (-40.385734 -2.762594)'))) / (select extract(epoch from '2026-07-17 15:19:41'::timestamp) - extract(epoch from '2026-07-17 15:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385746 -2.762593)'), GeomFromEWKT('SRID=4674;POINT (-40.385734 -2.762594)'))) / (select extract(epoch from '2026-07-17 15:19:41'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47831, 'SRID=4674;POINT (-40.385664 -2.762595)', '2026-07-17 15:19:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385734 -2.762594)'), GeomFromEWKT('SRID=4674;POINT (-40.385664 -2.762595)'))) / (select extract(epoch from '2026-07-17 15:19:48'::timestamp) - extract(epoch from '2026-07-17 15:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385734 -2.762594)'), GeomFromEWKT('SRID=4674;POINT (-40.385664 -2.762595)'))) / (select extract(epoch from '2026-07-17 15:19:48'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.385628 -2.762597)', '2026-07-17 15:19:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385664 -2.762595)'), GeomFromEWKT('SRID=4674;POINT (-40.385628 -2.762597)'))) / (select extract(epoch from '2026-07-17 15:19:51'::timestamp) - extract(epoch from '2026-07-17 15:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385664 -2.762595)'), GeomFromEWKT('SRID=4674;POINT (-40.385628 -2.762597)'))) / (select extract(epoch from '2026-07-17 15:19:51'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.385609 -2.762596)', '2026-07-17 15:19:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385628 -2.762597)'), GeomFromEWKT('SRID=4674;POINT (-40.385609 -2.762596)'))) / (select extract(epoch from '2026-07-17 15:19:53'::timestamp) - extract(epoch from '2026-07-17 15:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385628 -2.762597)'), GeomFromEWKT('SRID=4674;POINT (-40.385609 -2.762596)'))) / (select extract(epoch from '2026-07-17 15:19:53'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47831, 'SRID=4674;POINT (-40.385532 -2.762544)', '2026-07-17 15:20:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385609 -2.762596)'), GeomFromEWKT('SRID=4674;POINT (-40.385532 -2.762544)'))) / (select extract(epoch from '2026-07-17 15:20:00'::timestamp) - extract(epoch from '2026-07-17 15:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385609 -2.762596)'), GeomFromEWKT('SRID=4674;POINT (-40.385532 -2.762544)'))) / (select extract(epoch from '2026-07-17 15:20:00'::timestamp) - extract(epoch from '2026-07-17 15:19: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'), 47831, 'SRID=4674;POINT (-40.385451 -2.762511)', '2026-07-17 15:20:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385532 -2.762544)'), GeomFromEWKT('SRID=4674;POINT (-40.385451 -2.762511)'))) / (select extract(epoch from '2026-07-17 15:20:07'::timestamp) - extract(epoch from '2026-07-17 15:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385532 -2.762544)'), GeomFromEWKT('SRID=4674;POINT (-40.385451 -2.762511)'))) / (select extract(epoch from '2026-07-17 15:20:07'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47831, 'SRID=4674;POINT (-40.385352 -2.762493)', '2026-07-17 15:20:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385451 -2.762511)'), GeomFromEWKT('SRID=4674;POINT (-40.385352 -2.762493)'))) / (select extract(epoch from '2026-07-17 15:20:15'::timestamp) - extract(epoch from '2026-07-17 15:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385451 -2.762511)'), GeomFromEWKT('SRID=4674;POINT (-40.385352 -2.762493)'))) / (select extract(epoch from '2026-07-17 15:20:15'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47831, 'SRID=4674;POINT (-40.385326 -2.762495)', '2026-07-17 15:20:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385352 -2.762493)'), GeomFromEWKT('SRID=4674;POINT (-40.385326 -2.762495)'))) / (select extract(epoch from '2026-07-17 15:20:17'::timestamp) - extract(epoch from '2026-07-17 15:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385352 -2.762493)'), GeomFromEWKT('SRID=4674;POINT (-40.385326 -2.762495)'))) / (select extract(epoch from '2026-07-17 15:20:17'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47831, 'SRID=4674;POINT (-40.385294 -2.7625)', '2026-07-17 15:20:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385326 -2.762495)'), GeomFromEWKT('SRID=4674;POINT (-40.385294 -2.7625)'))) / (select extract(epoch from '2026-07-17 15:20:20'::timestamp) - extract(epoch from '2026-07-17 15:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385326 -2.762495)'), GeomFromEWKT('SRID=4674;POINT (-40.385294 -2.7625)'))) / (select extract(epoch from '2026-07-17 15:20:20'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47831, 'SRID=4674;POINT (-40.385211 -2.762496)', '2026-07-17 15:20:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385294 -2.7625)'), GeomFromEWKT('SRID=4674;POINT (-40.385211 -2.762496)'))) / (select extract(epoch from '2026-07-17 15:20:27'::timestamp) - extract(epoch from '2026-07-17 15:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385294 -2.7625)'), GeomFromEWKT('SRID=4674;POINT (-40.385211 -2.762496)'))) / (select extract(epoch from '2026-07-17 15:20:27'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47831, 'SRID=4674;POINT (-40.385133 -2.762466)', '2026-07-17 15:20:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385211 -2.762496)'), GeomFromEWKT('SRID=4674;POINT (-40.385133 -2.762466)'))) / (select extract(epoch from '2026-07-17 15:20:33'::timestamp) - extract(epoch from '2026-07-17 15:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385211 -2.762496)'), GeomFromEWKT('SRID=4674;POINT (-40.385133 -2.762466)'))) / (select extract(epoch from '2026-07-17 15:20:33'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.385038 -2.762444)', '2026-07-17 15:20:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385133 -2.762466)'), GeomFromEWKT('SRID=4674;POINT (-40.385038 -2.762444)'))) / (select extract(epoch from '2026-07-17 15:20:40'::timestamp) - extract(epoch from '2026-07-17 15:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385133 -2.762466)'), GeomFromEWKT('SRID=4674;POINT (-40.385038 -2.762444)'))) / (select extract(epoch from '2026-07-17 15:20:40'::timestamp) - extract(epoch from '2026-07-17 15:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384951 -2.762431)', '2026-07-17 15:20:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385038 -2.762444)'), GeomFromEWKT('SRID=4674;POINT (-40.384951 -2.762431)'))) / (select extract(epoch from '2026-07-17 15:20:46'::timestamp) - extract(epoch from '2026-07-17 15:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385038 -2.762444)'), GeomFromEWKT('SRID=4674;POINT (-40.384951 -2.762431)'))) / (select extract(epoch from '2026-07-17 15:20:46'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47831, 'SRID=4674;POINT (-40.384854 -2.762409)', '2026-07-17 15:20:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384951 -2.762431)'), GeomFromEWKT('SRID=4674;POINT (-40.384854 -2.762409)'))) / (select extract(epoch from '2026-07-17 15:20:54'::timestamp) - extract(epoch from '2026-07-17 15:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384951 -2.762431)'), GeomFromEWKT('SRID=4674;POINT (-40.384854 -2.762409)'))) / (select extract(epoch from '2026-07-17 15:20:54'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47831, 'SRID=4674;POINT (-40.384788 -2.762381)', '2026-07-17 15:21:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384854 -2.762409)'), GeomFromEWKT('SRID=4674;POINT (-40.384788 -2.762381)'))) / (select extract(epoch from '2026-07-17 15:21:00'::timestamp) - extract(epoch from '2026-07-17 15:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384854 -2.762409)'), GeomFromEWKT('SRID=4674;POINT (-40.384788 -2.762381)'))) / (select extract(epoch from '2026-07-17 15:21:00'::timestamp) - extract(epoch from '2026-07-17 15:20: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'), 47831, 'SRID=4674;POINT (-40.384762 -2.762374)', '2026-07-17 15:21:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384788 -2.762381)'), GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.762374)'))) / (select extract(epoch from '2026-07-17 15:21:02'::timestamp) - extract(epoch from '2026-07-17 15:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384788 -2.762381)'), GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.762374)'))) / (select extract(epoch from '2026-07-17 15:21:02'::timestamp) - extract(epoch from '2026-07-17 15:21: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'), 47831, 'SRID=4674;POINT (-40.384626 -2.762359)', '2026-07-17 15:21:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.762374)'), GeomFromEWKT('SRID=4674;POINT (-40.384626 -2.762359)'))) / (select extract(epoch from '2026-07-17 15:21:11'::timestamp) - extract(epoch from '2026-07-17 15:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.762374)'), GeomFromEWKT('SRID=4674;POINT (-40.384626 -2.762359)'))) / (select extract(epoch from '2026-07-17 15:21:11'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.384533 -2.762329)', '2026-07-17 15:21:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384626 -2.762359)'), GeomFromEWKT('SRID=4674;POINT (-40.384533 -2.762329)'))) / (select extract(epoch from '2026-07-17 15:21:18'::timestamp) - extract(epoch from '2026-07-17 15:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384626 -2.762359)'), GeomFromEWKT('SRID=4674;POINT (-40.384533 -2.762329)'))) / (select extract(epoch from '2026-07-17 15:21:18'::timestamp) - extract(epoch from '2026-07-17 15:21: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'), 47831, 'SRID=4674;POINT (-40.384424 -2.762334)', '2026-07-17 15:21:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384533 -2.762329)'), GeomFromEWKT('SRID=4674;POINT (-40.384424 -2.762334)'))) / (select extract(epoch from '2026-07-17 15:21:26'::timestamp) - extract(epoch from '2026-07-17 15:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384533 -2.762329)'), GeomFromEWKT('SRID=4674;POINT (-40.384424 -2.762334)'))) / (select extract(epoch from '2026-07-17 15:21:26'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.384339 -2.762358)', '2026-07-17 15:21:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384424 -2.762334)'), GeomFromEWKT('SRID=4674;POINT (-40.384339 -2.762358)'))) / (select extract(epoch from '2026-07-17 15:21:33'::timestamp) - extract(epoch from '2026-07-17 15:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384424 -2.762334)'), GeomFromEWKT('SRID=4674;POINT (-40.384339 -2.762358)'))) / (select extract(epoch from '2026-07-17 15:21:33'::timestamp) - extract(epoch from '2026-07-17 15:21: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'), 47831, 'SRID=4674;POINT (-40.384276 -2.76235)', '2026-07-17 15:21:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384339 -2.762358)'), GeomFromEWKT('SRID=4674;POINT (-40.384276 -2.76235)'))) / (select extract(epoch from '2026-07-17 15:21:40'::timestamp) - extract(epoch from '2026-07-17 15:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384339 -2.762358)'), GeomFromEWKT('SRID=4674;POINT (-40.384276 -2.76235)'))) / (select extract(epoch from '2026-07-17 15:21:40'::timestamp) - extract(epoch from '2026-07-17 15:21: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'), 47831, 'SRID=4674;POINT (-40.384232 -2.76237)', '2026-07-17 15:21:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384276 -2.76235)'), GeomFromEWKT('SRID=4674;POINT (-40.384232 -2.76237)'))) / (select extract(epoch from '2026-07-17 15:21:46'::timestamp) - extract(epoch from '2026-07-17 15:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384276 -2.76235)'), GeomFromEWKT('SRID=4674;POINT (-40.384232 -2.76237)'))) / (select extract(epoch from '2026-07-17 15:21:46'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.384226 -2.762375)', '2026-07-17 15:21:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384232 -2.76237)'), GeomFromEWKT('SRID=4674;POINT (-40.384226 -2.762375)'))) / (select extract(epoch from '2026-07-17 15:21:47'::timestamp) - extract(epoch from '2026-07-17 15:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384232 -2.76237)'), GeomFromEWKT('SRID=4674;POINT (-40.384226 -2.762375)'))) / (select extract(epoch from '2026-07-17 15:21:47'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.384152 -2.762384)', '2026-07-17 15:21:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384226 -2.762375)'), GeomFromEWKT('SRID=4674;POINT (-40.384152 -2.762384)'))) / (select extract(epoch from '2026-07-17 15:21:54'::timestamp) - extract(epoch from '2026-07-17 15:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384226 -2.762375)'), GeomFromEWKT('SRID=4674;POINT (-40.384152 -2.762384)'))) / (select extract(epoch from '2026-07-17 15:21:54'::timestamp) - extract(epoch from '2026-07-17 15:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384075 -2.762339)', '2026-07-17 15:22:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384152 -2.762384)'), GeomFromEWKT('SRID=4674;POINT (-40.384075 -2.762339)'))) / (select extract(epoch from '2026-07-17 15:22:02'::timestamp) - extract(epoch from '2026-07-17 15:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384152 -2.762384)'), GeomFromEWKT('SRID=4674;POINT (-40.384075 -2.762339)'))) / (select extract(epoch from '2026-07-17 15:22:02'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.384062 -2.762335)', '2026-07-17 15:22:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384075 -2.762339)'), GeomFromEWKT('SRID=4674;POINT (-40.384062 -2.762335)'))) / (select extract(epoch from '2026-07-17 15:22:03'::timestamp) - extract(epoch from '2026-07-17 15:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384075 -2.762339)'), GeomFromEWKT('SRID=4674;POINT (-40.384062 -2.762335)'))) / (select extract(epoch from '2026-07-17 15:22:03'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47831, 'SRID=4674;POINT (-40.384006 -2.762331)', '2026-07-17 15:22:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384062 -2.762335)'), GeomFromEWKT('SRID=4674;POINT (-40.384006 -2.762331)'))) / (select extract(epoch from '2026-07-17 15:22:07'::timestamp) - extract(epoch from '2026-07-17 15:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384062 -2.762335)'), GeomFromEWKT('SRID=4674;POINT (-40.384006 -2.762331)'))) / (select extract(epoch from '2026-07-17 15:22:07'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47831, 'SRID=4674;POINT (-40.383942 -2.762317)', '2026-07-17 15:22:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384006 -2.762331)'), GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.762317)'))) / (select extract(epoch from '2026-07-17 15:22:13'::timestamp) - extract(epoch from '2026-07-17 15:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384006 -2.762331)'), GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.762317)'))) / (select extract(epoch from '2026-07-17 15:22:13'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.383933 -2.76231)', '2026-07-17 15:22:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.762317)'), GeomFromEWKT('SRID=4674;POINT (-40.383933 -2.76231)'))) / (select extract(epoch from '2026-07-17 15:22:14'::timestamp) - extract(epoch from '2026-07-17 15:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.762317)'), GeomFromEWKT('SRID=4674;POINT (-40.383933 -2.76231)'))) / (select extract(epoch from '2026-07-17 15:22:14'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.383896 -2.762255)', '2026-07-17 15:22:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383933 -2.76231)'), GeomFromEWKT('SRID=4674;POINT (-40.383896 -2.762255)'))) / (select extract(epoch from '2026-07-17 15:22:20'::timestamp) - extract(epoch from '2026-07-17 15:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383933 -2.76231)'), GeomFromEWKT('SRID=4674;POINT (-40.383896 -2.762255)'))) / (select extract(epoch from '2026-07-17 15:22:20'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47831, 'SRID=4674;POINT (-40.383903 -2.762189)', '2026-07-17 15:22:28', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383896 -2.762255)'), GeomFromEWKT('SRID=4674;POINT (-40.383903 -2.762189)'))) / (select extract(epoch from '2026-07-17 15:22:28'::timestamp) - extract(epoch from '2026-07-17 15:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383896 -2.762255)'), GeomFromEWKT('SRID=4674;POINT (-40.383903 -2.762189)'))) / (select extract(epoch from '2026-07-17 15:22:28'::timestamp) - extract(epoch from '2026-07-17 15:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.383922 -2.762167)', '2026-07-17 15:22:35', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383903 -2.762189)'), GeomFromEWKT('SRID=4674;POINT (-40.383922 -2.762167)'))) / (select extract(epoch from '2026-07-17 15:22:35'::timestamp) - extract(epoch from '2026-07-17 15:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383903 -2.762189)'), GeomFromEWKT('SRID=4674;POINT (-40.383922 -2.762167)'))) / (select extract(epoch from '2026-07-17 15:22:35'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.383955 -2.762182)', '2026-07-17 15:22:52', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383922 -2.762167)'), GeomFromEWKT('SRID=4674;POINT (-40.383955 -2.762182)'))) / (select extract(epoch from '2026-07-17 15:22:52'::timestamp) - extract(epoch from '2026-07-17 15:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383922 -2.762167)'), GeomFromEWKT('SRID=4674;POINT (-40.383955 -2.762182)'))) / (select extract(epoch from '2026-07-17 15:22:52'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47831, 'SRID=4674;POINT (-40.383999 -2.762211)', '2026-07-17 15:23:03', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383955 -2.762182)'), GeomFromEWKT('SRID=4674;POINT (-40.383999 -2.762211)'))) / (select extract(epoch from '2026-07-17 15:23:03'::timestamp) - extract(epoch from '2026-07-17 15:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383955 -2.762182)'), GeomFromEWKT('SRID=4674;POINT (-40.383999 -2.762211)'))) / (select extract(epoch from '2026-07-17 15:23:03'::timestamp) - extract(epoch from '2026-07-17 15:22: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'), 47831, 'SRID=4674;POINT (-40.384061 -2.76224)', '2026-07-17 15:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383999 -2.762211)'), GeomFromEWKT('SRID=4674;POINT (-40.384061 -2.76224)'))) / (select extract(epoch from '2026-07-17 15:23:16'::timestamp) - extract(epoch from '2026-07-17 15:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383999 -2.762211)'), GeomFromEWKT('SRID=4674;POINT (-40.384061 -2.76224)'))) / (select extract(epoch from '2026-07-17 15:23:16'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47831, 'SRID=4674;POINT (-40.3841 -2.762275)', '2026-07-17 15:23:29', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384061 -2.76224)'), GeomFromEWKT('SRID=4674;POINT (-40.3841 -2.762275)'))) / (select extract(epoch from '2026-07-17 15:23:29'::timestamp) - extract(epoch from '2026-07-17 15:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384061 -2.76224)'), GeomFromEWKT('SRID=4674;POINT (-40.3841 -2.762275)'))) / (select extract(epoch from '2026-07-17 15:23:29'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47831, 'SRID=4674;POINT (-40.384179 -2.762264)', '2026-07-17 15:23:40', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3841 -2.762275)'), GeomFromEWKT('SRID=4674;POINT (-40.384179 -2.762264)'))) / (select extract(epoch from '2026-07-17 15:23:40'::timestamp) - extract(epoch from '2026-07-17 15:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3841 -2.762275)'), GeomFromEWKT('SRID=4674;POINT (-40.384179 -2.762264)'))) / (select extract(epoch from '2026-07-17 15:23:40'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47831, 'SRID=4674;POINT (-40.384184 -2.762234)', '2026-07-17 15:23:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384179 -2.762264)'), GeomFromEWKT('SRID=4674;POINT (-40.384184 -2.762234)'))) / (select extract(epoch from '2026-07-17 15:23:51'::timestamp) - extract(epoch from '2026-07-17 15:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384179 -2.762264)'), GeomFromEWKT('SRID=4674;POINT (-40.384184 -2.762234)'))) / (select extract(epoch from '2026-07-17 15:23:51'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47831, 'SRID=4674;POINT (-40.384123 -2.762271)', '2026-07-17 15:24:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384184 -2.762234)'), GeomFromEWKT('SRID=4674;POINT (-40.384123 -2.762271)'))) / (select extract(epoch from '2026-07-17 15:24:00'::timestamp) - extract(epoch from '2026-07-17 15:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384184 -2.762234)'), GeomFromEWKT('SRID=4674;POINT (-40.384123 -2.762271)'))) / (select extract(epoch from '2026-07-17 15:24:00'::timestamp) - extract(epoch from '2026-07-17 15:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384078 -2.762302)', '2026-07-17 15:24:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384123 -2.762271)'), GeomFromEWKT('SRID=4674;POINT (-40.384078 -2.762302)'))) / (select extract(epoch from '2026-07-17 15:24:12'::timestamp) - extract(epoch from '2026-07-17 15:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384123 -2.762271)'), GeomFromEWKT('SRID=4674;POINT (-40.384078 -2.762302)'))) / (select extract(epoch from '2026-07-17 15:24:12'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47831, 'SRID=4674;POINT (-40.384052 -2.762305)', '2026-07-17 15:24:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384078 -2.762302)'), GeomFromEWKT('SRID=4674;POINT (-40.384052 -2.762305)'))) / (select extract(epoch from '2026-07-17 15:24:41'::timestamp) - extract(epoch from '2026-07-17 15:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384078 -2.762302)'), GeomFromEWKT('SRID=4674;POINT (-40.384052 -2.762305)'))) / (select extract(epoch from '2026-07-17 15:24:41'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.384101 -2.762356)', '2026-07-17 15:25:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384052 -2.762305)'), GeomFromEWKT('SRID=4674;POINT (-40.384101 -2.762356)'))) / (select extract(epoch from '2026-07-17 15:25:13'::timestamp) - extract(epoch from '2026-07-17 15:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384052 -2.762305)'), GeomFromEWKT('SRID=4674;POINT (-40.384101 -2.762356)'))) / (select extract(epoch from '2026-07-17 15:25:13'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47831, 'SRID=4674;POINT (-40.384148 -2.762387)', '2026-07-17 15:25:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384101 -2.762356)'), GeomFromEWKT('SRID=4674;POINT (-40.384148 -2.762387)'))) / (select extract(epoch from '2026-07-17 15:25:24'::timestamp) - extract(epoch from '2026-07-17 15:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384101 -2.762356)'), GeomFromEWKT('SRID=4674;POINT (-40.384148 -2.762387)'))) / (select extract(epoch from '2026-07-17 15:25:24'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47831, 'SRID=4674;POINT (-40.384213 -2.762337)', '2026-07-17 15:25:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384148 -2.762387)'), GeomFromEWKT('SRID=4674;POINT (-40.384213 -2.762337)'))) / (select extract(epoch from '2026-07-17 15:25:35'::timestamp) - extract(epoch from '2026-07-17 15:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384148 -2.762387)'), GeomFromEWKT('SRID=4674;POINT (-40.384213 -2.762337)'))) / (select extract(epoch from '2026-07-17 15:25:35'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47831, 'SRID=4674;POINT (-40.384187 -2.762311)', '2026-07-17 15:25:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384213 -2.762337)'), GeomFromEWKT('SRID=4674;POINT (-40.384187 -2.762311)'))) / (select extract(epoch from '2026-07-17 15:25:43'::timestamp) - extract(epoch from '2026-07-17 15:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384213 -2.762337)'), GeomFromEWKT('SRID=4674;POINT (-40.384187 -2.762311)'))) / (select extract(epoch from '2026-07-17 15:25:43'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47831, 'SRID=4674;POINT (-40.384133 -2.762302)', '2026-07-17 15:25:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384187 -2.762311)'), GeomFromEWKT('SRID=4674;POINT (-40.384133 -2.762302)'))) / (select extract(epoch from '2026-07-17 15:25:54'::timestamp) - extract(epoch from '2026-07-17 15:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384187 -2.762311)'), GeomFromEWKT('SRID=4674;POINT (-40.384133 -2.762302)'))) / (select extract(epoch from '2026-07-17 15:25:54'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47831, 'SRID=4674;POINT (-40.384106 -2.762319)', '2026-07-17 15:26:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384133 -2.762302)'), GeomFromEWKT('SRID=4674;POINT (-40.384106 -2.762319)'))) / (select extract(epoch from '2026-07-17 15:26:05'::timestamp) - extract(epoch from '2026-07-17 15:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384133 -2.762302)'), GeomFromEWKT('SRID=4674;POINT (-40.384106 -2.762319)'))) / (select extract(epoch from '2026-07-17 15:26:05'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47831, 'SRID=4674;POINT (-40.384074 -2.762324)', '2026-07-17 15:26:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384106 -2.762319)'), GeomFromEWKT('SRID=4674;POINT (-40.384074 -2.762324)'))) / (select extract(epoch from '2026-07-17 15:26:20'::timestamp) - extract(epoch from '2026-07-17 15:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384106 -2.762319)'), GeomFromEWKT('SRID=4674;POINT (-40.384074 -2.762324)'))) / (select extract(epoch from '2026-07-17 15:26:20'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47831, 'SRID=4674;POINT (-40.38404 -2.762313)', '2026-07-17 15:27:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384074 -2.762324)'), GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.762313)'))) / (select extract(epoch from '2026-07-17 15:27:07'::timestamp) - extract(epoch from '2026-07-17 15:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384074 -2.762324)'), GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.762313)'))) / (select extract(epoch from '2026-07-17 15:27:07'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47831, 'SRID=4674;POINT (-40.38404 -2.762336)', '2026-07-17 15:27:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.762313)'), GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.762336)'))) / (select extract(epoch from '2026-07-17 15:27:14'::timestamp) - extract(epoch from '2026-07-17 15:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.762313)'), GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.762336)'))) / (select extract(epoch from '2026-07-17 15:27:14'::timestamp) - extract(epoch from '2026-07-17 15:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384034 -2.762344)', '2026-07-17 15:27:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.762336)'), GeomFromEWKT('SRID=4674;POINT (-40.384034 -2.762344)'))) / (select extract(epoch from '2026-07-17 15:27:22'::timestamp) - extract(epoch from '2026-07-17 15:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38404 -2.762336)'), GeomFromEWKT('SRID=4674;POINT (-40.384034 -2.762344)'))) / (select extract(epoch from '2026-07-17 15:27:22'::timestamp) - extract(epoch from '2026-07-17 15:27: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'), 47831, 'SRID=4674;POINT (-40.383997 -2.762304)', '2026-07-17 15:27:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384034 -2.762344)'), GeomFromEWKT('SRID=4674;POINT (-40.383997 -2.762304)'))) / (select extract(epoch from '2026-07-17 15:27:51'::timestamp) - extract(epoch from '2026-07-17 15:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384034 -2.762344)'), GeomFromEWKT('SRID=4674;POINT (-40.383997 -2.762304)'))) / (select extract(epoch from '2026-07-17 15:27:51'::timestamp) - extract(epoch from '2026-07-17 15:27: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'), 47831, 'SRID=4674;POINT (-40.383975 -2.76229)', '2026-07-17 15:27:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383997 -2.762304)'), GeomFromEWKT('SRID=4674;POINT (-40.383975 -2.76229)'))) / (select extract(epoch from '2026-07-17 15:27:57'::timestamp) - extract(epoch from '2026-07-17 15:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383997 -2.762304)'), GeomFromEWKT('SRID=4674;POINT (-40.383975 -2.76229)'))) / (select extract(epoch from '2026-07-17 15:27:57'::timestamp) - extract(epoch from '2026-07-17 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'), 47831, 'SRID=4674;POINT (-40.383918 -2.762273)', '2026-07-17 15:28:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383975 -2.76229)'), GeomFromEWKT('SRID=4674;POINT (-40.383918 -2.762273)'))) / (select extract(epoch from '2026-07-17 15:28:09'::timestamp) - extract(epoch from '2026-07-17 15:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383975 -2.76229)'), GeomFromEWKT('SRID=4674;POINT (-40.383918 -2.762273)'))) / (select extract(epoch from '2026-07-17 15:28:09'::timestamp) - extract(epoch from '2026-07-17 15:27: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'), 47831, 'SRID=4674;POINT (-40.38392 -2.762277)', '2026-07-17 15:28:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383918 -2.762273)'), GeomFromEWKT('SRID=4674;POINT (-40.38392 -2.762277)'))) / (select extract(epoch from '2026-07-17 15:28:20'::timestamp) - extract(epoch from '2026-07-17 15:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383918 -2.762273)'), GeomFromEWKT('SRID=4674;POINT (-40.38392 -2.762277)'))) / (select extract(epoch from '2026-07-17 15:28:20'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47831, 'SRID=4674;POINT (-40.383934 -2.762292)', '2026-07-17 15:28:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38392 -2.762277)'), GeomFromEWKT('SRID=4674;POINT (-40.383934 -2.762292)'))) / (select extract(epoch from '2026-07-17 15:28:23'::timestamp) - extract(epoch from '2026-07-17 15:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38392 -2.762277)'), GeomFromEWKT('SRID=4674;POINT (-40.383934 -2.762292)'))) / (select extract(epoch from '2026-07-17 15:28:23'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47831, 'SRID=4674;POINT (-40.383965 -2.762323)', '2026-07-17 15:28:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383934 -2.762292)'), GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.762323)'))) / (select extract(epoch from '2026-07-17 15:28:34'::timestamp) - extract(epoch from '2026-07-17 15:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383934 -2.762292)'), GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.762323)'))) / (select extract(epoch from '2026-07-17 15:28:34'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.383998 -2.76235)', '2026-07-17 15:28:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.762323)'), GeomFromEWKT('SRID=4674;POINT (-40.383998 -2.76235)'))) / (select extract(epoch from '2026-07-17 15:28:43'::timestamp) - extract(epoch from '2026-07-17 15:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.762323)'), GeomFromEWKT('SRID=4674;POINT (-40.383998 -2.76235)'))) / (select extract(epoch from '2026-07-17 15:28:43'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47831, 'SRID=4674;POINT (-40.384039 -2.762373)', '2026-07-17 15:28:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383998 -2.76235)'), GeomFromEWKT('SRID=4674;POINT (-40.384039 -2.762373)'))) / (select extract(epoch from '2026-07-17 15:28:53'::timestamp) - extract(epoch from '2026-07-17 15:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383998 -2.76235)'), GeomFromEWKT('SRID=4674;POINT (-40.384039 -2.762373)'))) / (select extract(epoch from '2026-07-17 15:28:53'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47831, 'SRID=4674;POINT (-40.384112 -2.762403)', '2026-07-17 15:29:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384039 -2.762373)'), GeomFromEWKT('SRID=4674;POINT (-40.384112 -2.762403)'))) / (select extract(epoch from '2026-07-17 15:29:05'::timestamp) - extract(epoch from '2026-07-17 15:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384039 -2.762373)'), GeomFromEWKT('SRID=4674;POINT (-40.384112 -2.762403)'))) / (select extract(epoch from '2026-07-17 15:29:05'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47831, 'SRID=4674;POINT (-40.384198 -2.762446)', '2026-07-17 15:29:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384112 -2.762403)'), GeomFromEWKT('SRID=4674;POINT (-40.384198 -2.762446)'))) / (select extract(epoch from '2026-07-17 15:29:21'::timestamp) - extract(epoch from '2026-07-17 15:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384112 -2.762403)'), GeomFromEWKT('SRID=4674;POINT (-40.384198 -2.762446)'))) / (select extract(epoch from '2026-07-17 15:29:21'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47831, 'SRID=4674;POINT (-40.384243 -2.762469)', '2026-07-17 15:29:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384198 -2.762446)'), GeomFromEWKT('SRID=4674;POINT (-40.384243 -2.762469)'))) / (select extract(epoch from '2026-07-17 15:29:33'::timestamp) - extract(epoch from '2026-07-17 15:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384198 -2.762446)'), GeomFromEWKT('SRID=4674;POINT (-40.384243 -2.762469)'))) / (select extract(epoch from '2026-07-17 15:29:33'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47831, 'SRID=4674;POINT (-40.384275 -2.76249)', '2026-07-17 15:29:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384243 -2.762469)'), GeomFromEWKT('SRID=4674;POINT (-40.384275 -2.76249)'))) / (select extract(epoch from '2026-07-17 15:29:42'::timestamp) - extract(epoch from '2026-07-17 15:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384243 -2.762469)'), GeomFromEWKT('SRID=4674;POINT (-40.384275 -2.76249)'))) / (select extract(epoch from '2026-07-17 15:29:42'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47831, 'SRID=4674;POINT (-40.384322 -2.762511)', '2026-07-17 15:29:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384275 -2.76249)'), GeomFromEWKT('SRID=4674;POINT (-40.384322 -2.762511)'))) / (select extract(epoch from '2026-07-17 15:29:55'::timestamp) - extract(epoch from '2026-07-17 15:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384275 -2.76249)'), GeomFromEWKT('SRID=4674;POINT (-40.384322 -2.762511)'))) / (select extract(epoch from '2026-07-17 15:29:55'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47831, 'SRID=4674;POINT (-40.384352 -2.762536)', '2026-07-17 15:30:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384322 -2.762511)'), GeomFromEWKT('SRID=4674;POINT (-40.384352 -2.762536)'))) / (select extract(epoch from '2026-07-17 15:30:05'::timestamp) - extract(epoch from '2026-07-17 15:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384322 -2.762511)'), GeomFromEWKT('SRID=4674;POINT (-40.384352 -2.762536)'))) / (select extract(epoch from '2026-07-17 15:30:05'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47831, 'SRID=4674;POINT (-40.384412 -2.762557)', '2026-07-17 15:30:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384352 -2.762536)'), GeomFromEWKT('SRID=4674;POINT (-40.384412 -2.762557)'))) / (select extract(epoch from '2026-07-17 15:30:17'::timestamp) - extract(epoch from '2026-07-17 15:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384352 -2.762536)'), GeomFromEWKT('SRID=4674;POINT (-40.384412 -2.762557)'))) / (select extract(epoch from '2026-07-17 15:30:17'::timestamp) - extract(epoch from '2026-07-17 15:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384462 -2.762583)', '2026-07-17 15:30:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384412 -2.762557)'), GeomFromEWKT('SRID=4674;POINT (-40.384462 -2.762583)'))) / (select extract(epoch from '2026-07-17 15:30:28'::timestamp) - extract(epoch from '2026-07-17 15:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384412 -2.762557)'), GeomFromEWKT('SRID=4674;POINT (-40.384462 -2.762583)'))) / (select extract(epoch from '2026-07-17 15:30:28'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47831, 'SRID=4674;POINT (-40.384495 -2.762587)', '2026-07-17 15:30:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384462 -2.762583)'), GeomFromEWKT('SRID=4674;POINT (-40.384495 -2.762587)'))) / (select extract(epoch from '2026-07-17 15:30:34'::timestamp) - extract(epoch from '2026-07-17 15:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384462 -2.762583)'), GeomFromEWKT('SRID=4674;POINT (-40.384495 -2.762587)'))) / (select extract(epoch from '2026-07-17 15:30:34'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47831, 'SRID=4674;POINT (-40.384538 -2.762616)', '2026-07-17 15:30:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384495 -2.762587)'), GeomFromEWKT('SRID=4674;POINT (-40.384538 -2.762616)'))) / (select extract(epoch from '2026-07-17 15:30:46'::timestamp) - extract(epoch from '2026-07-17 15:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384495 -2.762587)'), GeomFromEWKT('SRID=4674;POINT (-40.384538 -2.762616)'))) / (select extract(epoch from '2026-07-17 15:30:46'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47831, 'SRID=4674;POINT (-40.384571 -2.762641)', '2026-07-17 15:30:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384538 -2.762616)'), GeomFromEWKT('SRID=4674;POINT (-40.384571 -2.762641)'))) / (select extract(epoch from '2026-07-17 15:30:53'::timestamp) - extract(epoch from '2026-07-17 15:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384538 -2.762616)'), GeomFromEWKT('SRID=4674;POINT (-40.384571 -2.762641)'))) / (select extract(epoch from '2026-07-17 15:30:53'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47831, 'SRID=4674;POINT (-40.3846 -2.762667)', '2026-07-17 15:31:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384571 -2.762641)'), GeomFromEWKT('SRID=4674;POINT (-40.3846 -2.762667)'))) / (select extract(epoch from '2026-07-17 15:31:04'::timestamp) - extract(epoch from '2026-07-17 15:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384571 -2.762641)'), GeomFromEWKT('SRID=4674;POINT (-40.3846 -2.762667)'))) / (select extract(epoch from '2026-07-17 15:31:04'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47831, 'SRID=4674;POINT (-40.384616 -2.762684)', '2026-07-17 15:31:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3846 -2.762667)'), GeomFromEWKT('SRID=4674;POINT (-40.384616 -2.762684)'))) / (select extract(epoch from '2026-07-17 15:31:11'::timestamp) - extract(epoch from '2026-07-17 15:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3846 -2.762667)'), GeomFromEWKT('SRID=4674;POINT (-40.384616 -2.762684)'))) / (select extract(epoch from '2026-07-17 15:31:11'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47831, 'SRID=4674;POINT (-40.384677 -2.762719)', '2026-07-17 15:31:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384616 -2.762684)'), GeomFromEWKT('SRID=4674;POINT (-40.384677 -2.762719)'))) / (select extract(epoch from '2026-07-17 15:31:25'::timestamp) - extract(epoch from '2026-07-17 15:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384616 -2.762684)'), GeomFromEWKT('SRID=4674;POINT (-40.384677 -2.762719)'))) / (select extract(epoch from '2026-07-17 15:31:25'::timestamp) - extract(epoch from '2026-07-17 15:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384746 -2.762736)', '2026-07-17 15:31:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384677 -2.762719)'), GeomFromEWKT('SRID=4674;POINT (-40.384746 -2.762736)'))) / (select extract(epoch from '2026-07-17 15:31:37'::timestamp) - extract(epoch from '2026-07-17 15:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384677 -2.762719)'), GeomFromEWKT('SRID=4674;POINT (-40.384746 -2.762736)'))) / (select extract(epoch from '2026-07-17 15:31:37'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47831, 'SRID=4674;POINT (-40.384792 -2.762744)', '2026-07-17 15:31:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384746 -2.762736)'), GeomFromEWKT('SRID=4674;POINT (-40.384792 -2.762744)'))) / (select extract(epoch from '2026-07-17 15:31:48'::timestamp) - extract(epoch from '2026-07-17 15:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384746 -2.762736)'), GeomFromEWKT('SRID=4674;POINT (-40.384792 -2.762744)'))) / (select extract(epoch from '2026-07-17 15:31:48'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47831, 'SRID=4674;POINT (-40.384837 -2.762748)', '2026-07-17 15:31:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384792 -2.762744)'), GeomFromEWKT('SRID=4674;POINT (-40.384837 -2.762748)'))) / (select extract(epoch from '2026-07-17 15:31:55'::timestamp) - extract(epoch from '2026-07-17 15:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384792 -2.762744)'), GeomFromEWKT('SRID=4674;POINT (-40.384837 -2.762748)'))) / (select extract(epoch from '2026-07-17 15:31:55'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.384889 -2.762716)', '2026-07-17 15:32:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384837 -2.762748)'), GeomFromEWKT('SRID=4674;POINT (-40.384889 -2.762716)'))) / (select extract(epoch from '2026-07-17 15:32:02'::timestamp) - extract(epoch from '2026-07-17 15:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384837 -2.762748)'), GeomFromEWKT('SRID=4674;POINT (-40.384889 -2.762716)'))) / (select extract(epoch from '2026-07-17 15:32:02'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47831, 'SRID=4674;POINT (-40.3849 -2.762689)', '2026-07-17 15:32:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384889 -2.762716)'), GeomFromEWKT('SRID=4674;POINT (-40.3849 -2.762689)'))) / (select extract(epoch from '2026-07-17 15:32:06'::timestamp) - extract(epoch from '2026-07-17 15:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384889 -2.762716)'), GeomFromEWKT('SRID=4674;POINT (-40.3849 -2.762689)'))) / (select extract(epoch from '2026-07-17 15:32:06'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.384896 -2.762665)', '2026-07-17 15:32:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3849 -2.762689)'), GeomFromEWKT('SRID=4674;POINT (-40.384896 -2.762665)'))) / (select extract(epoch from '2026-07-17 15:32:09'::timestamp) - extract(epoch from '2026-07-17 15:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3849 -2.762689)'), GeomFromEWKT('SRID=4674;POINT (-40.384896 -2.762665)'))) / (select extract(epoch from '2026-07-17 15:32:09'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.38486 -2.762629)', '2026-07-17 15:32:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384896 -2.762665)'), GeomFromEWKT('SRID=4674;POINT (-40.38486 -2.762629)'))) / (select extract(epoch from '2026-07-17 15:32:18'::timestamp) - extract(epoch from '2026-07-17 15:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384896 -2.762665)'), GeomFromEWKT('SRID=4674;POINT (-40.38486 -2.762629)'))) / (select extract(epoch from '2026-07-17 15:32:18'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.384781 -2.762694)', '2026-07-17 15:32:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38486 -2.762629)'), GeomFromEWKT('SRID=4674;POINT (-40.384781 -2.762694)'))) / (select extract(epoch from '2026-07-17 15:32:27'::timestamp) - extract(epoch from '2026-07-17 15:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38486 -2.762629)'), GeomFromEWKT('SRID=4674;POINT (-40.384781 -2.762694)'))) / (select extract(epoch from '2026-07-17 15:32:27'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.384653 -2.762792)', '2026-07-17 15:32:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384781 -2.762694)'), GeomFromEWKT('SRID=4674;POINT (-40.384653 -2.762792)'))) / (select extract(epoch from '2026-07-17 15:32:38'::timestamp) - extract(epoch from '2026-07-17 15:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384781 -2.762694)'), GeomFromEWKT('SRID=4674;POINT (-40.384653 -2.762792)'))) / (select extract(epoch from '2026-07-17 15:32:38'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.384535 -2.762784)', '2026-07-17 15:32:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384653 -2.762792)'), GeomFromEWKT('SRID=4674;POINT (-40.384535 -2.762784)'))) / (select extract(epoch from '2026-07-17 15:32:46'::timestamp) - extract(epoch from '2026-07-17 15:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384653 -2.762792)'), GeomFromEWKT('SRID=4674;POINT (-40.384535 -2.762784)'))) / (select extract(epoch from '2026-07-17 15:32:46'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.384508 -2.762777)', '2026-07-17 15:32:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384535 -2.762784)'), GeomFromEWKT('SRID=4674;POINT (-40.384508 -2.762777)'))) / (select extract(epoch from '2026-07-17 15:32:48'::timestamp) - extract(epoch from '2026-07-17 15:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384535 -2.762784)'), GeomFromEWKT('SRID=4674;POINT (-40.384508 -2.762777)'))) / (select extract(epoch from '2026-07-17 15:32:48'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.384462 -2.762744)', '2026-07-17 15:32:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384508 -2.762777)'), GeomFromEWKT('SRID=4674;POINT (-40.384462 -2.762744)'))) / (select extract(epoch from '2026-07-17 15:32:52'::timestamp) - extract(epoch from '2026-07-17 15:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384508 -2.762777)'), GeomFromEWKT('SRID=4674;POINT (-40.384462 -2.762744)'))) / (select extract(epoch from '2026-07-17 15:32:52'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.384391 -2.762685)', '2026-07-17 15:32:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384462 -2.762744)'), GeomFromEWKT('SRID=4674;POINT (-40.384391 -2.762685)'))) / (select extract(epoch from '2026-07-17 15:32:58'::timestamp) - extract(epoch from '2026-07-17 15:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384462 -2.762744)'), GeomFromEWKT('SRID=4674;POINT (-40.384391 -2.762685)'))) / (select extract(epoch from '2026-07-17 15:32:58'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.384302 -2.762602)', '2026-07-17 15:33:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384391 -2.762685)'), GeomFromEWKT('SRID=4674;POINT (-40.384302 -2.762602)'))) / (select extract(epoch from '2026-07-17 15:33:06'::timestamp) - extract(epoch from '2026-07-17 15:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384391 -2.762685)'), GeomFromEWKT('SRID=4674;POINT (-40.384302 -2.762602)'))) / (select extract(epoch from '2026-07-17 15:33:06'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47831, 'SRID=4674;POINT (-40.384232 -2.762566)', '2026-07-17 15:33:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384302 -2.762602)'), GeomFromEWKT('SRID=4674;POINT (-40.384232 -2.762566)'))) / (select extract(epoch from '2026-07-17 15:33:12'::timestamp) - extract(epoch from '2026-07-17 15:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384302 -2.762602)'), GeomFromEWKT('SRID=4674;POINT (-40.384232 -2.762566)'))) / (select extract(epoch from '2026-07-17 15:33:12'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47831, 'SRID=4674;POINT (-40.384204 -2.762538)', '2026-07-17 15:33:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384232 -2.762566)'), GeomFromEWKT('SRID=4674;POINT (-40.384204 -2.762538)'))) / (select extract(epoch from '2026-07-17 15:33:19'::timestamp) - extract(epoch from '2026-07-17 15:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384232 -2.762566)'), GeomFromEWKT('SRID=4674;POINT (-40.384204 -2.762538)'))) / (select extract(epoch from '2026-07-17 15:33:19'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47831, 'SRID=4674;POINT (-40.384088 -2.762487)', '2026-07-17 15:33:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384204 -2.762538)'), GeomFromEWKT('SRID=4674;POINT (-40.384088 -2.762487)'))) / (select extract(epoch from '2026-07-17 15:33:30'::timestamp) - extract(epoch from '2026-07-17 15:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384204 -2.762538)'), GeomFromEWKT('SRID=4674;POINT (-40.384088 -2.762487)'))) / (select extract(epoch from '2026-07-17 15:33:30'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47831, 'SRID=4674;POINT (-40.384021 -2.762381)', '2026-07-17 15:33:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384088 -2.762487)'), GeomFromEWKT('SRID=4674;POINT (-40.384021 -2.762381)'))) / (select extract(epoch from '2026-07-17 15:33:40'::timestamp) - extract(epoch from '2026-07-17 15:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384088 -2.762487)'), GeomFromEWKT('SRID=4674;POINT (-40.384021 -2.762381)'))) / (select extract(epoch from '2026-07-17 15:33:40'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47831, 'SRID=4674;POINT (-40.384002 -2.762334)', '2026-07-17 15:33:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384021 -2.762381)'), GeomFromEWKT('SRID=4674;POINT (-40.384002 -2.762334)'))) / (select extract(epoch from '2026-07-17 15:33:45'::timestamp) - extract(epoch from '2026-07-17 15:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384021 -2.762381)'), GeomFromEWKT('SRID=4674;POINT (-40.384002 -2.762334)'))) / (select extract(epoch from '2026-07-17 15:33:45'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47831, 'SRID=4674;POINT (-40.383978 -2.762327)', '2026-07-17 15:33:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384002 -2.762334)'), GeomFromEWKT('SRID=4674;POINT (-40.383978 -2.762327)'))) / (select extract(epoch from '2026-07-17 15:33:47'::timestamp) - extract(epoch from '2026-07-17 15:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384002 -2.762334)'), GeomFromEWKT('SRID=4674;POINT (-40.383978 -2.762327)'))) / (select extract(epoch from '2026-07-17 15:33:47'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47831, 'SRID=4674;POINT (-40.383965 -2.762331)', '2026-07-17 15:33:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383978 -2.762327)'), GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.762331)'))) / (select extract(epoch from '2026-07-17 15:33:48'::timestamp) - extract(epoch from '2026-07-17 15:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383978 -2.762327)'), GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.762331)'))) / (select extract(epoch from '2026-07-17 15:33:48'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47831, 'SRID=4674;POINT (-40.383903 -2.762338)', '2026-07-17 15:33:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.762331)'), GeomFromEWKT('SRID=4674;POINT (-40.383903 -2.762338)'))) / (select extract(epoch from '2026-07-17 15:33:54'::timestamp) - extract(epoch from '2026-07-17 15:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383965 -2.762331)'), GeomFromEWKT('SRID=4674;POINT (-40.383903 -2.762338)'))) / (select extract(epoch from '2026-07-17 15:33:54'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47831, 'SRID=4674;POINT (-40.383873 -2.762318)', '2026-07-17 15:34:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383903 -2.762338)'), GeomFromEWKT('SRID=4674;POINT (-40.383873 -2.762318)'))) / (select extract(epoch from '2026-07-17 15:34:01'::timestamp) - extract(epoch from '2026-07-17 15:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383903 -2.762338)'), GeomFromEWKT('SRID=4674;POINT (-40.383873 -2.762318)'))) / (select extract(epoch from '2026-07-17 15:34:01'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47831, 'SRID=4674;POINT (-40.3839 -2.762252)', '2026-07-17 15:34:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383873 -2.762318)'), GeomFromEWKT('SRID=4674;POINT (-40.3839 -2.762252)'))) / (select extract(epoch from '2026-07-17 15:34:12'::timestamp) - extract(epoch from '2026-07-17 15:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383873 -2.762318)'), GeomFromEWKT('SRID=4674;POINT (-40.3839 -2.762252)'))) / (select extract(epoch from '2026-07-17 15:34:12'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47831, 'SRID=4674;POINT (-40.384013 -2.762197)', '2026-07-17 15:34:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3839 -2.762252)'), GeomFromEWKT('SRID=4674;POINT (-40.384013 -2.762197)'))) / (select extract(epoch from '2026-07-17 15:34:24'::timestamp) - extract(epoch from '2026-07-17 15:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3839 -2.762252)'), GeomFromEWKT('SRID=4674;POINT (-40.384013 -2.762197)'))) / (select extract(epoch from '2026-07-17 15:34:24'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47831, 'SRID=4674;POINT (-40.384057 -2.762119)', '2026-07-17 15:34:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384013 -2.762197)'), GeomFromEWKT('SRID=4674;POINT (-40.384057 -2.762119)'))) / (select extract(epoch from '2026-07-17 15:34:34'::timestamp) - extract(epoch from '2026-07-17 15:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384013 -2.762197)'), GeomFromEWKT('SRID=4674;POINT (-40.384057 -2.762119)'))) / (select extract(epoch from '2026-07-17 15:34:34'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47831, 'SRID=4674;POINT (-40.384027 -2.762088)', '2026-07-17 15:34:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384057 -2.762119)'), GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.762088)'))) / (select extract(epoch from '2026-07-17 15:34:44'::timestamp) - extract(epoch from '2026-07-17 15:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384057 -2.762119)'), GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.762088)'))) / (select extract(epoch from '2026-07-17 15:34:44'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47831, 'SRID=4674;POINT (-40.38398 -2.762136)', '2026-07-17 15:34:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.762088)'), GeomFromEWKT('SRID=4674;POINT (-40.38398 -2.762136)'))) / (select extract(epoch from '2026-07-17 15:34:56'::timestamp) - extract(epoch from '2026-07-17 15:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384027 -2.762088)'), GeomFromEWKT('SRID=4674;POINT (-40.38398 -2.762136)'))) / (select extract(epoch from '2026-07-17 15:34:56'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47831, 'SRID=4674;POINT (-40.383897 -2.7622)', '2026-07-17 15:35:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38398 -2.762136)'), GeomFromEWKT('SRID=4674;POINT (-40.383897 -2.7622)'))) / (select extract(epoch from '2026-07-17 15:35:05'::timestamp) - extract(epoch from '2026-07-17 15:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38398 -2.762136)'), GeomFromEWKT('SRID=4674;POINT (-40.383897 -2.7622)'))) / (select extract(epoch from '2026-07-17 15:35:05'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47831, 'SRID=4674;POINT (-40.383816 -2.762235)', '2026-07-17 15:35:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383897 -2.7622)'), GeomFromEWKT('SRID=4674;POINT (-40.383816 -2.762235)'))) / (select extract(epoch from '2026-07-17 15:35:14'::timestamp) - extract(epoch from '2026-07-17 15:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383897 -2.7622)'), GeomFromEWKT('SRID=4674;POINT (-40.383816 -2.762235)'))) / (select extract(epoch from '2026-07-17 15:35:14'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383792 -2.762246)', '2026-07-17 15:35:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383816 -2.762235)'), GeomFromEWKT('SRID=4674;POINT (-40.383792 -2.762246)'))) / (select extract(epoch from '2026-07-17 15:35:17'::timestamp) - extract(epoch from '2026-07-17 15:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383816 -2.762235)'), GeomFromEWKT('SRID=4674;POINT (-40.383792 -2.762246)'))) / (select extract(epoch from '2026-07-17 15:35:17'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383782 -2.762284)', '2026-07-17 15:35:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383792 -2.762246)'), GeomFromEWKT('SRID=4674;POINT (-40.383782 -2.762284)'))) / (select extract(epoch from '2026-07-17 15:35:21'::timestamp) - extract(epoch from '2026-07-17 15:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383792 -2.762246)'), GeomFromEWKT('SRID=4674;POINT (-40.383782 -2.762284)'))) / (select extract(epoch from '2026-07-17 15:35:21'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383798 -2.762383)', '2026-07-17 15:35:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383782 -2.762284)'), GeomFromEWKT('SRID=4674;POINT (-40.383798 -2.762383)'))) / (select extract(epoch from '2026-07-17 15:35:27'::timestamp) - extract(epoch from '2026-07-17 15:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383782 -2.762284)'), GeomFromEWKT('SRID=4674;POINT (-40.383798 -2.762383)'))) / (select extract(epoch from '2026-07-17 15:35:27'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383854 -2.762442)', '2026-07-17 15:35:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383798 -2.762383)'), GeomFromEWKT('SRID=4674;POINT (-40.383854 -2.762442)'))) / (select extract(epoch from '2026-07-17 15:35:32'::timestamp) - extract(epoch from '2026-07-17 15:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383798 -2.762383)'), GeomFromEWKT('SRID=4674;POINT (-40.383854 -2.762442)'))) / (select extract(epoch from '2026-07-17 15:35:32'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383898 -2.762451)', '2026-07-17 15:35:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383854 -2.762442)'), GeomFromEWKT('SRID=4674;POINT (-40.383898 -2.762451)'))) / (select extract(epoch from '2026-07-17 15:35:36'::timestamp) - extract(epoch from '2026-07-17 15:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383854 -2.762442)'), GeomFromEWKT('SRID=4674;POINT (-40.383898 -2.762451)'))) / (select extract(epoch from '2026-07-17 15:35:36'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383908 -2.762445)', '2026-07-17 15:35:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383898 -2.762451)'), GeomFromEWKT('SRID=4674;POINT (-40.383908 -2.762445)'))) / (select extract(epoch from '2026-07-17 15:35:37'::timestamp) - extract(epoch from '2026-07-17 15:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383898 -2.762451)'), GeomFromEWKT('SRID=4674;POINT (-40.383908 -2.762445)'))) / (select extract(epoch from '2026-07-17 15:35:37'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383948 -2.762414)', '2026-07-17 15:35:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383908 -2.762445)'), GeomFromEWKT('SRID=4674;POINT (-40.383948 -2.762414)'))) / (select extract(epoch from '2026-07-17 15:35:43'::timestamp) - extract(epoch from '2026-07-17 15:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383908 -2.762445)'), GeomFromEWKT('SRID=4674;POINT (-40.383948 -2.762414)'))) / (select extract(epoch from '2026-07-17 15:35:43'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383973 -2.762356)', '2026-07-17 15:35:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383948 -2.762414)'), GeomFromEWKT('SRID=4674;POINT (-40.383973 -2.762356)'))) / (select extract(epoch from '2026-07-17 15:35:56'::timestamp) - extract(epoch from '2026-07-17 15:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383948 -2.762414)'), GeomFromEWKT('SRID=4674;POINT (-40.383973 -2.762356)'))) / (select extract(epoch from '2026-07-17 15:35:56'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383981 -2.762309)', '2026-07-17 15:36:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383973 -2.762356)'), GeomFromEWKT('SRID=4674;POINT (-40.383981 -2.762309)'))) / (select extract(epoch from '2026-07-17 15:36:08'::timestamp) - extract(epoch from '2026-07-17 15:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383973 -2.762356)'), GeomFromEWKT('SRID=4674;POINT (-40.383981 -2.762309)'))) / (select extract(epoch from '2026-07-17 15:36:08'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47831, 'SRID=4674;POINT (-40.383923 -2.762268)', '2026-07-17 15:37:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383981 -2.762309)'), GeomFromEWKT('SRID=4674;POINT (-40.383923 -2.762268)'))) / (select extract(epoch from '2026-07-17 15:37:07'::timestamp) - extract(epoch from '2026-07-17 15:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383981 -2.762309)'), GeomFromEWKT('SRID=4674;POINT (-40.383923 -2.762268)'))) / (select extract(epoch from '2026-07-17 15:37:07'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47831, 'SRID=4674;POINT (-40.383937 -2.762272)', '2026-07-17 15:37:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383923 -2.762268)'), GeomFromEWKT('SRID=4674;POINT (-40.383937 -2.762272)'))) / (select extract(epoch from '2026-07-17 15:37:10'::timestamp) - extract(epoch from '2026-07-17 15:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383923 -2.762268)'), GeomFromEWKT('SRID=4674;POINT (-40.383937 -2.762272)'))) / (select extract(epoch from '2026-07-17 15:37:10'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47831, 'SRID=4674;POINT (-40.383944 -2.762287)', '2026-07-17 15:37:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383937 -2.762272)'), GeomFromEWKT('SRID=4674;POINT (-40.383944 -2.762287)'))) / (select extract(epoch from '2026-07-17 15:37:16'::timestamp) - extract(epoch from '2026-07-17 15:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383937 -2.762272)'), GeomFromEWKT('SRID=4674;POINT (-40.383944 -2.762287)'))) / (select extract(epoch from '2026-07-17 15:37:16'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47831, 'SRID=4674;POINT (-40.383979 -2.762287)', '2026-07-17 15:37:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383944 -2.762287)'), GeomFromEWKT('SRID=4674;POINT (-40.383979 -2.762287)'))) / (select extract(epoch from '2026-07-17 15:37:45'::timestamp) - extract(epoch from '2026-07-17 15:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383944 -2.762287)'), GeomFromEWKT('SRID=4674;POINT (-40.383979 -2.762287)'))) / (select extract(epoch from '2026-07-17 15:37:45'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47831, 'SRID=4674;POINT (-40.383988 -2.762286)', '2026-07-17 15:38:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383979 -2.762287)'), GeomFromEWKT('SRID=4674;POINT (-40.383988 -2.762286)'))) / (select extract(epoch from '2026-07-17 15:38:50'::timestamp) - extract(epoch from '2026-07-17 15:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383979 -2.762287)'), GeomFromEWKT('SRID=4674;POINT (-40.383988 -2.762286)'))) / (select extract(epoch from '2026-07-17 15:38:50'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47831, 'SRID=4674;POINT (-40.384019 -2.762323)', '2026-07-17 15:38:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383988 -2.762286)'), GeomFromEWKT('SRID=4674;POINT (-40.384019 -2.762323)'))) / (select extract(epoch from '2026-07-17 15:38:57'::timestamp) - extract(epoch from '2026-07-17 15:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383988 -2.762286)'), GeomFromEWKT('SRID=4674;POINT (-40.384019 -2.762323)'))) / (select extract(epoch from '2026-07-17 15:38:57'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47831, 'SRID=4674;POINT (-40.384026 -2.762352)', '2026-07-17 15:39:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384019 -2.762323)'), GeomFromEWKT('SRID=4674;POINT (-40.384026 -2.762352)'))) / (select extract(epoch from '2026-07-17 15:39:07'::timestamp) - extract(epoch from '2026-07-17 15:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384019 -2.762323)'), GeomFromEWKT('SRID=4674;POINT (-40.384026 -2.762352)'))) / (select extract(epoch from '2026-07-17 15:39:07'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.383994 -2.762393)', '2026-07-17 15:39:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384026 -2.762352)'), GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.762393)'))) / (select extract(epoch from '2026-07-17 15:39:20'::timestamp) - extract(epoch from '2026-07-17 15:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384026 -2.762352)'), GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.762393)'))) / (select extract(epoch from '2026-07-17 15:39:20'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47831, 'SRID=4674;POINT (-40.383969 -2.762362)', '2026-07-17 15:39:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.762393)'), GeomFromEWKT('SRID=4674;POINT (-40.383969 -2.762362)'))) / (select extract(epoch from '2026-07-17 15:39:27'::timestamp) - extract(epoch from '2026-07-17 15:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383994 -2.762393)'), GeomFromEWKT('SRID=4674;POINT (-40.383969 -2.762362)'))) / (select extract(epoch from '2026-07-17 15:39:27'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47831, 'SRID=4674;POINT (-40.383968 -2.762351)', '2026-07-17 15:39:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383969 -2.762362)'), GeomFromEWKT('SRID=4674;POINT (-40.383968 -2.762351)'))) / (select extract(epoch from '2026-07-17 15:39:36'::timestamp) - extract(epoch from '2026-07-17 15:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383969 -2.762362)'), GeomFromEWKT('SRID=4674;POINT (-40.383968 -2.762351)'))) / (select extract(epoch from '2026-07-17 15:39:36'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47831, 'SRID=4674;POINT (-40.384017 -2.762393)', '2026-07-17 15:39:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383968 -2.762351)'), GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.762393)'))) / (select extract(epoch from '2026-07-17 15:39:55'::timestamp) - extract(epoch from '2026-07-17 15:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383968 -2.762351)'), GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.762393)'))) / (select extract(epoch from '2026-07-17 15:39:55'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47831, 'SRID=4674;POINT (-40.38408 -2.762396)', '2026-07-17 15:40:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.762393)'), GeomFromEWKT('SRID=4674;POINT (-40.38408 -2.762396)'))) / (select extract(epoch from '2026-07-17 15:40:07'::timestamp) - extract(epoch from '2026-07-17 15:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384017 -2.762393)'), GeomFromEWKT('SRID=4674;POINT (-40.38408 -2.762396)'))) / (select extract(epoch from '2026-07-17 15:40:07'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.384154 -2.762442)', '2026-07-17 15:40:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38408 -2.762396)'), GeomFromEWKT('SRID=4674;POINT (-40.384154 -2.762442)'))) / (select extract(epoch from '2026-07-17 15:40:21'::timestamp) - extract(epoch from '2026-07-17 15:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38408 -2.762396)'), GeomFromEWKT('SRID=4674;POINT (-40.384154 -2.762442)'))) / (select extract(epoch from '2026-07-17 15:40:21'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47831, 'SRID=4674;POINT (-40.384199 -2.762482)', '2026-07-17 15:40:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384154 -2.762442)'), GeomFromEWKT('SRID=4674;POINT (-40.384199 -2.762482)'))) / (select extract(epoch from '2026-07-17 15:40:32'::timestamp) - extract(epoch from '2026-07-17 15:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384154 -2.762442)'), GeomFromEWKT('SRID=4674;POINT (-40.384199 -2.762482)'))) / (select extract(epoch from '2026-07-17 15:40:32'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47831, 'SRID=4674;POINT (-40.384214 -2.762494)', '2026-07-17 15:40:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384199 -2.762482)'), GeomFromEWKT('SRID=4674;POINT (-40.384214 -2.762494)'))) / (select extract(epoch from '2026-07-17 15:40:36'::timestamp) - extract(epoch from '2026-07-17 15:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384199 -2.762482)'), GeomFromEWKT('SRID=4674;POINT (-40.384214 -2.762494)'))) / (select extract(epoch from '2026-07-17 15:40:36'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47831, 'SRID=4674;POINT (-40.384245 -2.762498)', '2026-07-17 15:40:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384214 -2.762494)'), GeomFromEWKT('SRID=4674;POINT (-40.384245 -2.762498)'))) / (select extract(epoch from '2026-07-17 15:40:45'::timestamp) - extract(epoch from '2026-07-17 15:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384214 -2.762494)'), GeomFromEWKT('SRID=4674;POINT (-40.384245 -2.762498)'))) / (select extract(epoch from '2026-07-17 15:40:45'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47831, 'SRID=4674;POINT (-40.384283 -2.762511)', '2026-07-17 15:40:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384245 -2.762498)'), GeomFromEWKT('SRID=4674;POINT (-40.384283 -2.762511)'))) / (select extract(epoch from '2026-07-17 15:40:53'::timestamp) - extract(epoch from '2026-07-17 15:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384245 -2.762498)'), GeomFromEWKT('SRID=4674;POINT (-40.384283 -2.762511)'))) / (select extract(epoch from '2026-07-17 15:40:53'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47831, 'SRID=4674;POINT (-40.384323 -2.762522)', '2026-07-17 15:40:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384283 -2.762511)'), GeomFromEWKT('SRID=4674;POINT (-40.384323 -2.762522)'))) / (select extract(epoch from '2026-07-17 15:40:58'::timestamp) - extract(epoch from '2026-07-17 15:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384283 -2.762511)'), GeomFromEWKT('SRID=4674;POINT (-40.384323 -2.762522)'))) / (select extract(epoch from '2026-07-17 15:40:58'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47831, 'SRID=4674;POINT (-40.384346 -2.762533)', '2026-07-17 15:41:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384323 -2.762522)'), GeomFromEWKT('SRID=4674;POINT (-40.384346 -2.762533)'))) / (select extract(epoch from '2026-07-17 15:41:04'::timestamp) - extract(epoch from '2026-07-17 15:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384323 -2.762522)'), GeomFromEWKT('SRID=4674;POINT (-40.384346 -2.762533)'))) / (select extract(epoch from '2026-07-17 15:41:04'::timestamp) - extract(epoch from '2026-07-17 15:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384371 -2.762556)', '2026-07-17 15:41:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384346 -2.762533)'), GeomFromEWKT('SRID=4674;POINT (-40.384371 -2.762556)'))) / (select extract(epoch from '2026-07-17 15:41:10'::timestamp) - extract(epoch from '2026-07-17 15:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384346 -2.762533)'), GeomFromEWKT('SRID=4674;POINT (-40.384371 -2.762556)'))) / (select extract(epoch from '2026-07-17 15:41:10'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47831, 'SRID=4674;POINT (-40.384454 -2.762581)', '2026-07-17 15:41:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384371 -2.762556)'), GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.762581)'))) / (select extract(epoch from '2026-07-17 15:41:23'::timestamp) - extract(epoch from '2026-07-17 15:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384371 -2.762556)'), GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.762581)'))) / (select extract(epoch from '2026-07-17 15:41:23'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47831, 'SRID=4674;POINT (-40.384471 -2.762604)', '2026-07-17 15:41:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.762581)'), GeomFromEWKT('SRID=4674;POINT (-40.384471 -2.762604)'))) / (select extract(epoch from '2026-07-17 15:41:30'::timestamp) - extract(epoch from '2026-07-17 15:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384454 -2.762581)'), GeomFromEWKT('SRID=4674;POINT (-40.384471 -2.762604)'))) / (select extract(epoch from '2026-07-17 15:41:30'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47831, 'SRID=4674;POINT (-40.38452 -2.762633)', '2026-07-17 15:41:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384471 -2.762604)'), GeomFromEWKT('SRID=4674;POINT (-40.38452 -2.762633)'))) / (select extract(epoch from '2026-07-17 15:41:39'::timestamp) - extract(epoch from '2026-07-17 15:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384471 -2.762604)'), GeomFromEWKT('SRID=4674;POINT (-40.38452 -2.762633)'))) / (select extract(epoch from '2026-07-17 15:41:39'::timestamp) - extract(epoch from '2026-07-17 15:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.384564 -2.762654)', '2026-07-17 15:41:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38452 -2.762633)'), GeomFromEWKT('SRID=4674;POINT (-40.384564 -2.762654)'))) / (select extract(epoch from '2026-07-17 15:41:52'::timestamp) - extract(epoch from '2026-07-17 15:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38452 -2.762633)'), GeomFromEWKT('SRID=4674;POINT (-40.384564 -2.762654)'))) / (select extract(epoch from '2026-07-17 15:41:52'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47831, 'SRID=4674;POINT (-40.384603 -2.762666)', '2026-07-17 15:42:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384564 -2.762654)'), GeomFromEWKT('SRID=4674;POINT (-40.384603 -2.762666)'))) / (select extract(epoch from '2026-07-17 15:42:00'::timestamp) - extract(epoch from '2026-07-17 15:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384564 -2.762654)'), GeomFromEWKT('SRID=4674;POINT (-40.384603 -2.762666)'))) / (select extract(epoch from '2026-07-17 15:42:00'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47831, 'SRID=4674;POINT (-40.384657 -2.762706)', '2026-07-17 15:42:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384603 -2.762666)'), GeomFromEWKT('SRID=4674;POINT (-40.384657 -2.762706)'))) / (select extract(epoch from '2026-07-17 15:42:11'::timestamp) - extract(epoch from '2026-07-17 15:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384603 -2.762666)'), GeomFromEWKT('SRID=4674;POINT (-40.384657 -2.762706)'))) / (select extract(epoch from '2026-07-17 15:42:11'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47831, 'SRID=4674;POINT (-40.384702 -2.762719)', '2026-07-17 15:42:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384657 -2.762706)'), GeomFromEWKT('SRID=4674;POINT (-40.384702 -2.762719)'))) / (select extract(epoch from '2026-07-17 15:42:22'::timestamp) - extract(epoch from '2026-07-17 15:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384657 -2.762706)'), GeomFromEWKT('SRID=4674;POINT (-40.384702 -2.762719)'))) / (select extract(epoch from '2026-07-17 15:42:22'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47831, 'SRID=4674;POINT (-40.384764 -2.762749)', '2026-07-17 15:42:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384702 -2.762719)'), GeomFromEWKT('SRID=4674;POINT (-40.384764 -2.762749)'))) / (select extract(epoch from '2026-07-17 15:42:35'::timestamp) - extract(epoch from '2026-07-17 15:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384702 -2.762719)'), GeomFromEWKT('SRID=4674;POINT (-40.384764 -2.762749)'))) / (select extract(epoch from '2026-07-17 15:42:35'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47831, 'SRID=4674;POINT (-40.384806 -2.76276)', '2026-07-17 15:42:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384764 -2.762749)'), GeomFromEWKT('SRID=4674;POINT (-40.384806 -2.76276)'))) / (select extract(epoch from '2026-07-17 15:42:47'::timestamp) - extract(epoch from '2026-07-17 15:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384764 -2.762749)'), GeomFromEWKT('SRID=4674;POINT (-40.384806 -2.76276)'))) / (select extract(epoch from '2026-07-17 15:42:47'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47831, 'SRID=4674;POINT (-40.384835 -2.762791)', '2026-07-17 15:42:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384806 -2.76276)'), GeomFromEWKT('SRID=4674;POINT (-40.384835 -2.762791)'))) / (select extract(epoch from '2026-07-17 15:42:56'::timestamp) - extract(epoch from '2026-07-17 15:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384806 -2.76276)'), GeomFromEWKT('SRID=4674;POINT (-40.384835 -2.762791)'))) / (select extract(epoch from '2026-07-17 15:42:56'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47831, 'SRID=4674;POINT (-40.384842 -2.762798)', '2026-07-17 15:43:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384835 -2.762791)'), GeomFromEWKT('SRID=4674;POINT (-40.384842 -2.762798)'))) / (select extract(epoch from '2026-07-17 15:43:01'::timestamp) - extract(epoch from '2026-07-17 15:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384835 -2.762791)'), GeomFromEWKT('SRID=4674;POINT (-40.384842 -2.762798)'))) / (select extract(epoch from '2026-07-17 15:43:01'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47831, 'SRID=4674;POINT (-40.384893 -2.762744)', '2026-07-17 15:43:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384842 -2.762798)'), GeomFromEWKT('SRID=4674;POINT (-40.384893 -2.762744)'))) / (select extract(epoch from '2026-07-17 15:43:10'::timestamp) - extract(epoch from '2026-07-17 15:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384842 -2.762798)'), GeomFromEWKT('SRID=4674;POINT (-40.384893 -2.762744)'))) / (select extract(epoch from '2026-07-17 15:43:10'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47831, 'SRID=4674;POINT (-40.384888 -2.762676)', '2026-07-17 15:43:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384893 -2.762744)'), GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.762676)'))) / (select extract(epoch from '2026-07-17 15:43:19'::timestamp) - extract(epoch from '2026-07-17 15:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384893 -2.762744)'), GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.762676)'))) / (select extract(epoch from '2026-07-17 15:43:19'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47831, 'SRID=4674;POINT (-40.384806 -2.762698)', '2026-07-17 15:43:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.762676)'), GeomFromEWKT('SRID=4674;POINT (-40.384806 -2.762698)'))) / (select extract(epoch from '2026-07-17 15:43:26'::timestamp) - extract(epoch from '2026-07-17 15:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384888 -2.762676)'), GeomFromEWKT('SRID=4674;POINT (-40.384806 -2.762698)'))) / (select extract(epoch from '2026-07-17 15:43:26'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47831, 'SRID=4674;POINT (-40.384754 -2.762822)', '2026-07-17 15:43:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384806 -2.762698)'), GeomFromEWKT('SRID=4674;POINT (-40.384754 -2.762822)'))) / (select extract(epoch from '2026-07-17 15:43:33'::timestamp) - extract(epoch from '2026-07-17 15:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384806 -2.762698)'), GeomFromEWKT('SRID=4674;POINT (-40.384754 -2.762822)'))) / (select extract(epoch from '2026-07-17 15:43:33'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47831, 'SRID=4674;POINT (-40.384694 -2.763006)', '2026-07-17 15:43:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384754 -2.762822)'), GeomFromEWKT('SRID=4674;POINT (-40.384694 -2.763006)'))) / (select extract(epoch from '2026-07-17 15:43:40'::timestamp) - extract(epoch from '2026-07-17 15:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384754 -2.762822)'), GeomFromEWKT('SRID=4674;POINT (-40.384694 -2.763006)'))) / (select extract(epoch from '2026-07-17 15:43:40'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.384618 -2.763142)', '2026-07-17 15:43:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384694 -2.763006)'), GeomFromEWKT('SRID=4674;POINT (-40.384618 -2.763142)'))) / (select extract(epoch from '2026-07-17 15:43:46'::timestamp) - extract(epoch from '2026-07-17 15:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384694 -2.763006)'), GeomFromEWKT('SRID=4674;POINT (-40.384618 -2.763142)'))) / (select extract(epoch from '2026-07-17 15:43:46'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47831, 'SRID=4674;POINT (-40.38456 -2.763299)', '2026-07-17 15:43:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384618 -2.763142)'), GeomFromEWKT('SRID=4674;POINT (-40.38456 -2.763299)'))) / (select extract(epoch from '2026-07-17 15:43:52'::timestamp) - extract(epoch from '2026-07-17 15:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384618 -2.763142)'), GeomFromEWKT('SRID=4674;POINT (-40.38456 -2.763299)'))) / (select extract(epoch from '2026-07-17 15:43:52'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47831, 'SRID=4674;POINT (-40.384502 -2.763454)', '2026-07-17 15:43:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38456 -2.763299)'), GeomFromEWKT('SRID=4674;POINT (-40.384502 -2.763454)'))) / (select extract(epoch from '2026-07-17 15:43:58'::timestamp) - extract(epoch from '2026-07-17 15:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38456 -2.763299)'), GeomFromEWKT('SRID=4674;POINT (-40.384502 -2.763454)'))) / (select extract(epoch from '2026-07-17 15:43:58'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47831, 'SRID=4674;POINT (-40.384416 -2.763635)', '2026-07-17 15:44:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384502 -2.763454)'), GeomFromEWKT('SRID=4674;POINT (-40.384416 -2.763635)'))) / (select extract(epoch from '2026-07-17 15:44:05'::timestamp) - extract(epoch from '2026-07-17 15:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384502 -2.763454)'), GeomFromEWKT('SRID=4674;POINT (-40.384416 -2.763635)'))) / (select extract(epoch from '2026-07-17 15:44:05'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47831, 'SRID=4674;POINT (-40.384347 -2.763829)', '2026-07-17 15:44:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384416 -2.763635)'), GeomFromEWKT('SRID=4674;POINT (-40.384347 -2.763829)'))) / (select extract(epoch from '2026-07-17 15:44:13'::timestamp) - extract(epoch from '2026-07-17 15:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384416 -2.763635)'), GeomFromEWKT('SRID=4674;POINT (-40.384347 -2.763829)'))) / (select extract(epoch from '2026-07-17 15:44:13'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47831, 'SRID=4674;POINT (-40.384234 -2.764006)', '2026-07-17 15:44:21', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384347 -2.763829)'), GeomFromEWKT('SRID=4674;POINT (-40.384234 -2.764006)'))) / (select extract(epoch from '2026-07-17 15:44:21'::timestamp) - extract(epoch from '2026-07-17 15:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384347 -2.763829)'), GeomFromEWKT('SRID=4674;POINT (-40.384234 -2.764006)'))) / (select extract(epoch from '2026-07-17 15:44:21'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47831, 'SRID=4674;POINT (-40.384154 -2.764169)', '2026-07-17 15:44:28', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384234 -2.764006)'), GeomFromEWKT('SRID=4674;POINT (-40.384154 -2.764169)'))) / (select extract(epoch from '2026-07-17 15:44:28'::timestamp) - extract(epoch from '2026-07-17 15:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384234 -2.764006)'), GeomFromEWKT('SRID=4674;POINT (-40.384154 -2.764169)'))) / (select extract(epoch from '2026-07-17 15:44:28'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47831, 'SRID=4674;POINT (-40.384084 -2.764309)', '2026-07-17 15:44:34', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384154 -2.764169)'), GeomFromEWKT('SRID=4674;POINT (-40.384084 -2.764309)'))) / (select extract(epoch from '2026-07-17 15:44:34'::timestamp) - extract(epoch from '2026-07-17 15:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384154 -2.764169)'), GeomFromEWKT('SRID=4674;POINT (-40.384084 -2.764309)'))) / (select extract(epoch from '2026-07-17 15:44:34'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47831, 'SRID=4674;POINT (-40.38399 -2.764444)', '2026-07-17 15:44:41', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384084 -2.764309)'), GeomFromEWKT('SRID=4674;POINT (-40.38399 -2.764444)'))) / (select extract(epoch from '2026-07-17 15:44:41'::timestamp) - extract(epoch from '2026-07-17 15:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384084 -2.764309)'), GeomFromEWKT('SRID=4674;POINT (-40.38399 -2.764444)'))) / (select extract(epoch from '2026-07-17 15:44:41'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47831, 'SRID=4674;POINT (-40.383905 -2.764556)', '2026-07-17 15:44:47', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38399 -2.764444)'), GeomFromEWKT('SRID=4674;POINT (-40.383905 -2.764556)'))) / (select extract(epoch from '2026-07-17 15:44:47'::timestamp) - extract(epoch from '2026-07-17 15:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38399 -2.764444)'), GeomFromEWKT('SRID=4674;POINT (-40.383905 -2.764556)'))) / (select extract(epoch from '2026-07-17 15:44:47'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47831, 'SRID=4674;POINT (-40.383768 -2.764754)', '2026-07-17 15:44:56', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383905 -2.764556)'), GeomFromEWKT('SRID=4674;POINT (-40.383768 -2.764754)'))) / (select extract(epoch from '2026-07-17 15:44:56'::timestamp) - extract(epoch from '2026-07-17 15:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383905 -2.764556)'), GeomFromEWKT('SRID=4674;POINT (-40.383768 -2.764754)'))) / (select extract(epoch from '2026-07-17 15:44:56'::timestamp) - extract(epoch from '2026-07-17 15:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.383672 -2.764889)', '2026-07-17 15:45:02', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383768 -2.764754)'), GeomFromEWKT('SRID=4674;POINT (-40.383672 -2.764889)'))) / (select extract(epoch from '2026-07-17 15:45:02'::timestamp) - extract(epoch from '2026-07-17 15:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383768 -2.764754)'), GeomFromEWKT('SRID=4674;POINT (-40.383672 -2.764889)'))) / (select extract(epoch from '2026-07-17 15:45:02'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47831, 'SRID=4674;POINT (-40.383585 -2.765024)', '2026-07-17 15:45:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383672 -2.764889)'), GeomFromEWKT('SRID=4674;POINT (-40.383585 -2.765024)'))) / (select extract(epoch from '2026-07-17 15:45:08'::timestamp) - extract(epoch from '2026-07-17 15:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383672 -2.764889)'), GeomFromEWKT('SRID=4674;POINT (-40.383585 -2.765024)'))) / (select extract(epoch from '2026-07-17 15:45:08'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.383542 -2.76515)', '2026-07-17 15:45:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383585 -2.765024)'), GeomFromEWKT('SRID=4674;POINT (-40.383542 -2.76515)'))) / (select extract(epoch from '2026-07-17 15:45:13'::timestamp) - extract(epoch from '2026-07-17 15:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383585 -2.765024)'), GeomFromEWKT('SRID=4674;POINT (-40.383542 -2.76515)'))) / (select extract(epoch from '2026-07-17 15:45:13'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47831, 'SRID=4674;POINT (-40.383481 -2.76529)', '2026-07-17 15:45:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383542 -2.76515)'), GeomFromEWKT('SRID=4674;POINT (-40.383481 -2.76529)'))) / (select extract(epoch from '2026-07-17 15:45:19'::timestamp) - extract(epoch from '2026-07-17 15:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383542 -2.76515)'), GeomFromEWKT('SRID=4674;POINT (-40.383481 -2.76529)'))) / (select extract(epoch from '2026-07-17 15:45:19'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.383401 -2.765468)', '2026-07-17 15:45:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383481 -2.76529)'), GeomFromEWKT('SRID=4674;POINT (-40.383401 -2.765468)'))) / (select extract(epoch from '2026-07-17 15:45:27'::timestamp) - extract(epoch from '2026-07-17 15:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383481 -2.76529)'), GeomFromEWKT('SRID=4674;POINT (-40.383401 -2.765468)'))) / (select extract(epoch from '2026-07-17 15:45:27'::timestamp) - extract(epoch from '2026-07-17 15:45:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.383305 -2.765637)', '2026-07-17 15:45:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383401 -2.765468)'), GeomFromEWKT('SRID=4674;POINT (-40.383305 -2.765637)'))) / (select extract(epoch from '2026-07-17 15:45:35'::timestamp) - extract(epoch from '2026-07-17 15:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383401 -2.765468)'), GeomFromEWKT('SRID=4674;POINT (-40.383305 -2.765637)'))) / (select extract(epoch from '2026-07-17 15:45:35'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47831, 'SRID=4674;POINT (-40.38325 -2.765773)', '2026-07-17 15:45:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383305 -2.765637)'), GeomFromEWKT('SRID=4674;POINT (-40.38325 -2.765773)'))) / (select extract(epoch from '2026-07-17 15:45:41'::timestamp) - extract(epoch from '2026-07-17 15:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383305 -2.765637)'), GeomFromEWKT('SRID=4674;POINT (-40.38325 -2.765773)'))) / (select extract(epoch from '2026-07-17 15:45:41'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47831, 'SRID=4674;POINT (-40.383157 -2.765935)', '2026-07-17 15:45:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38325 -2.765773)'), GeomFromEWKT('SRID=4674;POINT (-40.383157 -2.765935)'))) / (select extract(epoch from '2026-07-17 15:45:48'::timestamp) - extract(epoch from '2026-07-17 15:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38325 -2.765773)'), GeomFromEWKT('SRID=4674;POINT (-40.383157 -2.765935)'))) / (select extract(epoch from '2026-07-17 15:45:48'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47831, 'SRID=4674;POINT (-40.383061 -2.766096)', '2026-07-17 15:45:55', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383157 -2.765935)'), GeomFromEWKT('SRID=4674;POINT (-40.383061 -2.766096)'))) / (select extract(epoch from '2026-07-17 15:45:55'::timestamp) - extract(epoch from '2026-07-17 15:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383157 -2.765935)'), GeomFromEWKT('SRID=4674;POINT (-40.383061 -2.766096)'))) / (select extract(epoch from '2026-07-17 15:45:55'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47831, 'SRID=4674;POINT (-40.382979 -2.766258)', '2026-07-17 15:46:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383061 -2.766096)'), GeomFromEWKT('SRID=4674;POINT (-40.382979 -2.766258)'))) / (select extract(epoch from '2026-07-17 15:46:02'::timestamp) - extract(epoch from '2026-07-17 15:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383061 -2.766096)'), GeomFromEWKT('SRID=4674;POINT (-40.382979 -2.766258)'))) / (select extract(epoch from '2026-07-17 15:46:02'::timestamp) - extract(epoch from '2026-07-17 15:45: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'), 47831, 'SRID=4674;POINT (-40.382899 -2.766426)', '2026-07-17 15:46:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382979 -2.766258)'), GeomFromEWKT('SRID=4674;POINT (-40.382899 -2.766426)'))) / (select extract(epoch from '2026-07-17 15:46:09'::timestamp) - extract(epoch from '2026-07-17 15:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382979 -2.766258)'), GeomFromEWKT('SRID=4674;POINT (-40.382899 -2.766426)'))) / (select extract(epoch from '2026-07-17 15:46:09'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47831, 'SRID=4674;POINT (-40.382828 -2.766569)', '2026-07-17 15:46:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382899 -2.766426)'), GeomFromEWKT('SRID=4674;POINT (-40.382828 -2.766569)'))) / (select extract(epoch from '2026-07-17 15:46:15'::timestamp) - extract(epoch from '2026-07-17 15:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382899 -2.766426)'), GeomFromEWKT('SRID=4674;POINT (-40.382828 -2.766569)'))) / (select extract(epoch from '2026-07-17 15:46:15'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47831, 'SRID=4674;POINT (-40.382756 -2.766696)', '2026-07-17 15:46:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382828 -2.766569)'), GeomFromEWKT('SRID=4674;POINT (-40.382756 -2.766696)'))) / (select extract(epoch from '2026-07-17 15:46:21'::timestamp) - extract(epoch from '2026-07-17 15:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382828 -2.766569)'), GeomFromEWKT('SRID=4674;POINT (-40.382756 -2.766696)'))) / (select extract(epoch from '2026-07-17 15:46:21'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47831, 'SRID=4674;POINT (-40.382646 -2.766834)', '2026-07-17 15:46:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382756 -2.766696)'), GeomFromEWKT('SRID=4674;POINT (-40.382646 -2.766834)'))) / (select extract(epoch from '2026-07-17 15:46:28'::timestamp) - extract(epoch from '2026-07-17 15:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382756 -2.766696)'), GeomFromEWKT('SRID=4674;POINT (-40.382646 -2.766834)'))) / (select extract(epoch from '2026-07-17 15:46:28'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.382569 -2.766976)', '2026-07-17 15:46:34', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382646 -2.766834)'), GeomFromEWKT('SRID=4674;POINT (-40.382569 -2.766976)'))) / (select extract(epoch from '2026-07-17 15:46:34'::timestamp) - extract(epoch from '2026-07-17 15:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382646 -2.766834)'), GeomFromEWKT('SRID=4674;POINT (-40.382569 -2.766976)'))) / (select extract(epoch from '2026-07-17 15:46:34'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47831, 'SRID=4674;POINT (-40.38249 -2.767152)', '2026-07-17 15:46:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382569 -2.766976)'), GeomFromEWKT('SRID=4674;POINT (-40.38249 -2.767152)'))) / (select extract(epoch from '2026-07-17 15:46:41'::timestamp) - extract(epoch from '2026-07-17 15:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382569 -2.766976)'), GeomFromEWKT('SRID=4674;POINT (-40.38249 -2.767152)'))) / (select extract(epoch from '2026-07-17 15:46:41'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47831, 'SRID=4674;POINT (-40.382395 -2.767336)', '2026-07-17 15:46:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38249 -2.767152)'), GeomFromEWKT('SRID=4674;POINT (-40.382395 -2.767336)'))) / (select extract(epoch from '2026-07-17 15:46:49'::timestamp) - extract(epoch from '2026-07-17 15:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38249 -2.767152)'), GeomFromEWKT('SRID=4674;POINT (-40.382395 -2.767336)'))) / (select extract(epoch from '2026-07-17 15:46:49'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.382325 -2.767476)', '2026-07-17 15:46:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382395 -2.767336)'), GeomFromEWKT('SRID=4674;POINT (-40.382325 -2.767476)'))) / (select extract(epoch from '2026-07-17 15:46:55'::timestamp) - extract(epoch from '2026-07-17 15:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382395 -2.767336)'), GeomFromEWKT('SRID=4674;POINT (-40.382325 -2.767476)'))) / (select extract(epoch from '2026-07-17 15:46:55'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47831, 'SRID=4674;POINT (-40.382244 -2.767638)', '2026-07-17 15:47:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382325 -2.767476)'), GeomFromEWKT('SRID=4674;POINT (-40.382244 -2.767638)'))) / (select extract(epoch from '2026-07-17 15:47:02'::timestamp) - extract(epoch from '2026-07-17 15:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382325 -2.767476)'), GeomFromEWKT('SRID=4674;POINT (-40.382244 -2.767638)'))) / (select extract(epoch from '2026-07-17 15:47:02'::timestamp) - extract(epoch from '2026-07-17 15:46: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'), 47831, 'SRID=4674;POINT (-40.382173 -2.767827)', '2026-07-17 15:47:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382244 -2.767638)'), GeomFromEWKT('SRID=4674;POINT (-40.382173 -2.767827)'))) / (select extract(epoch from '2026-07-17 15:47:10'::timestamp) - extract(epoch from '2026-07-17 15:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382244 -2.767638)'), GeomFromEWKT('SRID=4674;POINT (-40.382173 -2.767827)'))) / (select extract(epoch from '2026-07-17 15:47:10'::timestamp) - extract(epoch from '2026-07-17 15:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.382097 -2.767953)', '2026-07-17 15:47:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382173 -2.767827)'), GeomFromEWKT('SRID=4674;POINT (-40.382097 -2.767953)'))) / (select extract(epoch from '2026-07-17 15:47:16'::timestamp) - extract(epoch from '2026-07-17 15:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382173 -2.767827)'), GeomFromEWKT('SRID=4674;POINT (-40.382097 -2.767953)'))) / (select extract(epoch from '2026-07-17 15:47:16'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47831, 'SRID=4674;POINT (-40.382043 -2.768063)', '2026-07-17 15:47:21', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382097 -2.767953)'), GeomFromEWKT('SRID=4674;POINT (-40.382043 -2.768063)'))) / (select extract(epoch from '2026-07-17 15:47:21'::timestamp) - extract(epoch from '2026-07-17 15:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382097 -2.767953)'), GeomFromEWKT('SRID=4674;POINT (-40.382043 -2.768063)'))) / (select extract(epoch from '2026-07-17 15:47:21'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47831, 'SRID=4674;POINT (-40.38197 -2.768172)', '2026-07-17 15:47:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382043 -2.768063)'), GeomFromEWKT('SRID=4674;POINT (-40.38197 -2.768172)'))) / (select extract(epoch from '2026-07-17 15:47:27'::timestamp) - extract(epoch from '2026-07-17 15:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382043 -2.768063)'), GeomFromEWKT('SRID=4674;POINT (-40.38197 -2.768172)'))) / (select extract(epoch from '2026-07-17 15:47:27'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47831, 'SRID=4674;POINT (-40.381904 -2.768246)', '2026-07-17 15:47:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38197 -2.768172)'), GeomFromEWKT('SRID=4674;POINT (-40.381904 -2.768246)'))) / (select extract(epoch from '2026-07-17 15:47:32'::timestamp) - extract(epoch from '2026-07-17 15:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38197 -2.768172)'), GeomFromEWKT('SRID=4674;POINT (-40.381904 -2.768246)'))) / (select extract(epoch from '2026-07-17 15:47:32'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47831, 'SRID=4674;POINT (-40.381781 -2.768369)', '2026-07-17 15:47:39', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381904 -2.768246)'), GeomFromEWKT('SRID=4674;POINT (-40.381781 -2.768369)'))) / (select extract(epoch from '2026-07-17 15:47:39'::timestamp) - extract(epoch from '2026-07-17 15:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381904 -2.768246)'), GeomFromEWKT('SRID=4674;POINT (-40.381781 -2.768369)'))) / (select extract(epoch from '2026-07-17 15:47:39'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47831, 'SRID=4674;POINT (-40.381647 -2.768512)', '2026-07-17 15:47:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381781 -2.768369)'), GeomFromEWKT('SRID=4674;POINT (-40.381647 -2.768512)'))) / (select extract(epoch from '2026-07-17 15:47:47'::timestamp) - extract(epoch from '2026-07-17 15:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381781 -2.768369)'), GeomFromEWKT('SRID=4674;POINT (-40.381647 -2.768512)'))) / (select extract(epoch from '2026-07-17 15:47:47'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47831, 'SRID=4674;POINT (-40.38152 -2.768636)', '2026-07-17 15:47:54', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381647 -2.768512)'), GeomFromEWKT('SRID=4674;POINT (-40.38152 -2.768636)'))) / (select extract(epoch from '2026-07-17 15:47:54'::timestamp) - extract(epoch from '2026-07-17 15:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381647 -2.768512)'), GeomFromEWKT('SRID=4674;POINT (-40.38152 -2.768636)'))) / (select extract(epoch from '2026-07-17 15:47:54'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47831, 'SRID=4674;POINT (-40.381419 -2.768765)', '2026-07-17 15:48:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38152 -2.768636)'), GeomFromEWKT('SRID=4674;POINT (-40.381419 -2.768765)'))) / (select extract(epoch from '2026-07-17 15:48:01'::timestamp) - extract(epoch from '2026-07-17 15:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38152 -2.768636)'), GeomFromEWKT('SRID=4674;POINT (-40.381419 -2.768765)'))) / (select extract(epoch from '2026-07-17 15:48:01'::timestamp) - extract(epoch from '2026-07-17 15:47: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'), 47831, 'SRID=4674;POINT (-40.381347 -2.768888)', '2026-07-17 15:48:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381419 -2.768765)'), GeomFromEWKT('SRID=4674;POINT (-40.381347 -2.768888)'))) / (select extract(epoch from '2026-07-17 15:48:07'::timestamp) - extract(epoch from '2026-07-17 15:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381419 -2.768765)'), GeomFromEWKT('SRID=4674;POINT (-40.381347 -2.768888)'))) / (select extract(epoch from '2026-07-17 15:48:07'::timestamp) - extract(epoch from '2026-07-17 15:48:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.381275 -2.769025)', '2026-07-17 15:48:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381347 -2.768888)'), GeomFromEWKT('SRID=4674;POINT (-40.381275 -2.769025)'))) / (select extract(epoch from '2026-07-17 15:48:13'::timestamp) - extract(epoch from '2026-07-17 15:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381347 -2.768888)'), GeomFromEWKT('SRID=4674;POINT (-40.381275 -2.769025)'))) / (select extract(epoch from '2026-07-17 15:48:13'::timestamp) - extract(epoch from '2026-07-17 15:48: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'), 47831, 'SRID=4674;POINT (-40.381224 -2.769139)', '2026-07-17 15:48:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381275 -2.769025)'), GeomFromEWKT('SRID=4674;POINT (-40.381224 -2.769139)'))) / (select extract(epoch from '2026-07-17 15:48:18'::timestamp) - extract(epoch from '2026-07-17 15:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381275 -2.769025)'), GeomFromEWKT('SRID=4674;POINT (-40.381224 -2.769139)'))) / (select extract(epoch from '2026-07-17 15:48:18'::timestamp) - extract(epoch from '2026-07-17 15:48: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'), 47831, 'SRID=4674;POINT (-40.381154 -2.769272)', '2026-07-17 15:48:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381224 -2.769139)'), GeomFromEWKT('SRID=4674;POINT (-40.381154 -2.769272)'))) / (select extract(epoch from '2026-07-17 15:48:24'::timestamp) - extract(epoch from '2026-07-17 15:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381224 -2.769139)'), GeomFromEWKT('SRID=4674;POINT (-40.381154 -2.769272)'))) / (select extract(epoch from '2026-07-17 15:48:24'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.381062 -2.76941)', '2026-07-17 15:48:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381154 -2.769272)'), GeomFromEWKT('SRID=4674;POINT (-40.381062 -2.76941)'))) / (select extract(epoch from '2026-07-17 15:48:31'::timestamp) - extract(epoch from '2026-07-17 15:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381154 -2.769272)'), GeomFromEWKT('SRID=4674;POINT (-40.381062 -2.76941)'))) / (select extract(epoch from '2026-07-17 15:48:31'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.380966 -2.769571)', '2026-07-17 15:48:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381062 -2.76941)'), GeomFromEWKT('SRID=4674;POINT (-40.380966 -2.769571)'))) / (select extract(epoch from '2026-07-17 15:48:38'::timestamp) - extract(epoch from '2026-07-17 15:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381062 -2.76941)'), GeomFromEWKT('SRID=4674;POINT (-40.380966 -2.769571)'))) / (select extract(epoch from '2026-07-17 15:48:38'::timestamp) - extract(epoch from '2026-07-17 15:48:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38085 -2.769731)', '2026-07-17 15:48:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380966 -2.769571)'), GeomFromEWKT('SRID=4674;POINT (-40.38085 -2.769731)'))) / (select extract(epoch from '2026-07-17 15:48:45'::timestamp) - extract(epoch from '2026-07-17 15:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380966 -2.769571)'), GeomFromEWKT('SRID=4674;POINT (-40.38085 -2.769731)'))) / (select extract(epoch from '2026-07-17 15:48:45'::timestamp) - extract(epoch from '2026-07-17 15:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.380767 -2.769847)', '2026-07-17 15:48:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38085 -2.769731)'), GeomFromEWKT('SRID=4674;POINT (-40.380767 -2.769847)'))) / (select extract(epoch from '2026-07-17 15:48:51'::timestamp) - extract(epoch from '2026-07-17 15:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38085 -2.769731)'), GeomFromEWKT('SRID=4674;POINT (-40.380767 -2.769847)'))) / (select extract(epoch from '2026-07-17 15:48:51'::timestamp) - extract(epoch from '2026-07-17 15:48: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'), 47831, 'SRID=4674;POINT (-40.380676 -2.770007)', '2026-07-17 15:48:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380767 -2.769847)'), GeomFromEWKT('SRID=4674;POINT (-40.380676 -2.770007)'))) / (select extract(epoch from '2026-07-17 15:48:58'::timestamp) - extract(epoch from '2026-07-17 15:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380767 -2.769847)'), GeomFromEWKT('SRID=4674;POINT (-40.380676 -2.770007)'))) / (select extract(epoch from '2026-07-17 15:48:58'::timestamp) - extract(epoch from '2026-07-17 15:48: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'), 47831, 'SRID=4674;POINT (-40.380617 -2.770154)', '2026-07-17 15:49:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380676 -2.770007)'), GeomFromEWKT('SRID=4674;POINT (-40.380617 -2.770154)'))) / (select extract(epoch from '2026-07-17 15:49:04'::timestamp) - extract(epoch from '2026-07-17 15:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380676 -2.770007)'), GeomFromEWKT('SRID=4674;POINT (-40.380617 -2.770154)'))) / (select extract(epoch from '2026-07-17 15:49:04'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.380552 -2.7703)', '2026-07-17 15:49:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380617 -2.770154)'), GeomFromEWKT('SRID=4674;POINT (-40.380552 -2.7703)'))) / (select extract(epoch from '2026-07-17 15:49:10'::timestamp) - extract(epoch from '2026-07-17 15:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380617 -2.770154)'), GeomFromEWKT('SRID=4674;POINT (-40.380552 -2.7703)'))) / (select extract(epoch from '2026-07-17 15:49:10'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47831, 'SRID=4674;POINT (-40.380492 -2.770494)', '2026-07-17 15:49:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380552 -2.7703)'), GeomFromEWKT('SRID=4674;POINT (-40.380492 -2.770494)'))) / (select extract(epoch from '2026-07-17 15:49:18'::timestamp) - extract(epoch from '2026-07-17 15:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380552 -2.7703)'), GeomFromEWKT('SRID=4674;POINT (-40.380492 -2.770494)'))) / (select extract(epoch from '2026-07-17 15:49:18'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47831, 'SRID=4674;POINT (-40.380438 -2.77063)', '2026-07-17 15:49:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380492 -2.770494)'), GeomFromEWKT('SRID=4674;POINT (-40.380438 -2.77063)'))) / (select extract(epoch from '2026-07-17 15:49:24'::timestamp) - extract(epoch from '2026-07-17 15:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380492 -2.770494)'), GeomFromEWKT('SRID=4674;POINT (-40.380438 -2.77063)'))) / (select extract(epoch from '2026-07-17 15:49:24'::timestamp) - extract(epoch from '2026-07-17 15:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38034 -2.770744)', '2026-07-17 15:49:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380438 -2.77063)'), GeomFromEWKT('SRID=4674;POINT (-40.38034 -2.770744)'))) / (select extract(epoch from '2026-07-17 15:49:30'::timestamp) - extract(epoch from '2026-07-17 15:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380438 -2.77063)'), GeomFromEWKT('SRID=4674;POINT (-40.38034 -2.770744)'))) / (select extract(epoch from '2026-07-17 15:49:30'::timestamp) - extract(epoch from '2026-07-17 15:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.38021 -2.770898)', '2026-07-17 15:49:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38034 -2.770744)'), GeomFromEWKT('SRID=4674;POINT (-40.38021 -2.770898)'))) / (select extract(epoch from '2026-07-17 15:49:38'::timestamp) - extract(epoch from '2026-07-17 15:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38034 -2.770744)'), GeomFromEWKT('SRID=4674;POINT (-40.38021 -2.770898)'))) / (select extract(epoch from '2026-07-17 15:49:38'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47831, 'SRID=4674;POINT (-40.380128 -2.771015)', '2026-07-17 15:49:44', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38021 -2.770898)'), GeomFromEWKT('SRID=4674;POINT (-40.380128 -2.771015)'))) / (select extract(epoch from '2026-07-17 15:49:44'::timestamp) - extract(epoch from '2026-07-17 15:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38021 -2.770898)'), GeomFromEWKT('SRID=4674;POINT (-40.380128 -2.771015)'))) / (select extract(epoch from '2026-07-17 15:49:44'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.380015 -2.771207)', '2026-07-17 15:49:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380128 -2.771015)'), GeomFromEWKT('SRID=4674;POINT (-40.380015 -2.771207)'))) / (select extract(epoch from '2026-07-17 15:49:53'::timestamp) - extract(epoch from '2026-07-17 15:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380128 -2.771015)'), GeomFromEWKT('SRID=4674;POINT (-40.380015 -2.771207)'))) / (select extract(epoch from '2026-07-17 15:49:53'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.379942 -2.771379)', '2026-07-17 15:50:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380015 -2.771207)'), GeomFromEWKT('SRID=4674;POINT (-40.379942 -2.771379)'))) / (select extract(epoch from '2026-07-17 15:50:00'::timestamp) - extract(epoch from '2026-07-17 15:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380015 -2.771207)'), GeomFromEWKT('SRID=4674;POINT (-40.379942 -2.771379)'))) / (select extract(epoch from '2026-07-17 15:50:00'::timestamp) - extract(epoch from '2026-07-17 15:49: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'), 47831, 'SRID=4674;POINT (-40.379858 -2.771546)', '2026-07-17 15:50:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379942 -2.771379)'), GeomFromEWKT('SRID=4674;POINT (-40.379858 -2.771546)'))) / (select extract(epoch from '2026-07-17 15:50:07'::timestamp) - extract(epoch from '2026-07-17 15:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379942 -2.771379)'), GeomFromEWKT('SRID=4674;POINT (-40.379858 -2.771546)'))) / (select extract(epoch from '2026-07-17 15:50:07'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47831, 'SRID=4674;POINT (-40.379781 -2.77172)', '2026-07-17 15:50:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379858 -2.771546)'), GeomFromEWKT('SRID=4674;POINT (-40.379781 -2.77172)'))) / (select extract(epoch from '2026-07-17 15:50:14'::timestamp) - extract(epoch from '2026-07-17 15:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379858 -2.771546)'), GeomFromEWKT('SRID=4674;POINT (-40.379781 -2.77172)'))) / (select extract(epoch from '2026-07-17 15:50:14'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47831, 'SRID=4674;POINT (-40.37969 -2.771899)', '2026-07-17 15:50:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379781 -2.77172)'), GeomFromEWKT('SRID=4674;POINT (-40.37969 -2.771899)'))) / (select extract(epoch from '2026-07-17 15:50:22'::timestamp) - extract(epoch from '2026-07-17 15:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379781 -2.77172)'), GeomFromEWKT('SRID=4674;POINT (-40.37969 -2.771899)'))) / (select extract(epoch from '2026-07-17 15:50:22'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47831, 'SRID=4674;POINT (-40.379621 -2.772029)', '2026-07-17 15:50:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37969 -2.771899)'), GeomFromEWKT('SRID=4674;POINT (-40.379621 -2.772029)'))) / (select extract(epoch from '2026-07-17 15:50:28'::timestamp) - extract(epoch from '2026-07-17 15:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37969 -2.771899)'), GeomFromEWKT('SRID=4674;POINT (-40.379621 -2.772029)'))) / (select extract(epoch from '2026-07-17 15:50:28'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47831, 'SRID=4674;POINT (-40.379577 -2.772139)', '2026-07-17 15:50:33', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379621 -2.772029)'), GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.772139)'))) / (select extract(epoch from '2026-07-17 15:50:33'::timestamp) - extract(epoch from '2026-07-17 15:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379621 -2.772029)'), GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.772139)'))) / (select extract(epoch from '2026-07-17 15:50:33'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47831, 'SRID=4674;POINT (-40.3795 -2.772233)', '2026-07-17 15:50:38', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.772139)'), GeomFromEWKT('SRID=4674;POINT (-40.3795 -2.772233)'))) / (select extract(epoch from '2026-07-17 15:50:38'::timestamp) - extract(epoch from '2026-07-17 15:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379577 -2.772139)'), GeomFromEWKT('SRID=4674;POINT (-40.3795 -2.772233)'))) / (select extract(epoch from '2026-07-17 15:50:38'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47831, 'SRID=4674;POINT (-40.379368 -2.772365)', '2026-07-17 15:50:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3795 -2.772233)'), GeomFromEWKT('SRID=4674;POINT (-40.379368 -2.772365)'))) / (select extract(epoch from '2026-07-17 15:50:46'::timestamp) - extract(epoch from '2026-07-17 15:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3795 -2.772233)'), GeomFromEWKT('SRID=4674;POINT (-40.379368 -2.772365)'))) / (select extract(epoch from '2026-07-17 15:50:46'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47831, 'SRID=4674;POINT (-40.379258 -2.7725)', '2026-07-17 15:50:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379368 -2.772365)'), GeomFromEWKT('SRID=4674;POINT (-40.379258 -2.7725)'))) / (select extract(epoch from '2026-07-17 15:50:53'::timestamp) - extract(epoch from '2026-07-17 15:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379368 -2.772365)'), GeomFromEWKT('SRID=4674;POINT (-40.379258 -2.7725)'))) / (select extract(epoch from '2026-07-17 15:50:53'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47831, 'SRID=4674;POINT (-40.379126 -2.772721)', '2026-07-17 15:51:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379258 -2.7725)'), GeomFromEWKT('SRID=4674;POINT (-40.379126 -2.772721)'))) / (select extract(epoch from '2026-07-17 15:51:03'::timestamp) - extract(epoch from '2026-07-17 15:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379258 -2.7725)'), GeomFromEWKT('SRID=4674;POINT (-40.379126 -2.772721)'))) / (select extract(epoch from '2026-07-17 15:51:03'::timestamp) - extract(epoch from '2026-07-17 15:50: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'), 47831, 'SRID=4674;POINT (-40.379047 -2.772888)', '2026-07-17 15:51:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379126 -2.772721)'), GeomFromEWKT('SRID=4674;POINT (-40.379047 -2.772888)'))) / (select extract(epoch from '2026-07-17 15:51:10'::timestamp) - extract(epoch from '2026-07-17 15:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379126 -2.772721)'), GeomFromEWKT('SRID=4674;POINT (-40.379047 -2.772888)'))) / (select extract(epoch from '2026-07-17 15:51:10'::timestamp) - extract(epoch from '2026-07-17 15:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378978 -2.773047)', '2026-07-17 15:51:16', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379047 -2.772888)'), GeomFromEWKT('SRID=4674;POINT (-40.378978 -2.773047)'))) / (select extract(epoch from '2026-07-17 15:51:16'::timestamp) - extract(epoch from '2026-07-17 15:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379047 -2.772888)'), GeomFromEWKT('SRID=4674;POINT (-40.378978 -2.773047)'))) / (select extract(epoch from '2026-07-17 15:51:16'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47831, 'SRID=4674;POINT (-40.378913 -2.773195)', '2026-07-17 15:51:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378978 -2.773047)'), GeomFromEWKT('SRID=4674;POINT (-40.378913 -2.773195)'))) / (select extract(epoch from '2026-07-17 15:51:22'::timestamp) - extract(epoch from '2026-07-17 15:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378978 -2.773047)'), GeomFromEWKT('SRID=4674;POINT (-40.378913 -2.773195)'))) / (select extract(epoch from '2026-07-17 15:51:22'::timestamp) - extract(epoch from '2026-07-17 15:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378848 -2.773332)', '2026-07-17 15:51:28', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378913 -2.773195)'), GeomFromEWKT('SRID=4674;POINT (-40.378848 -2.773332)'))) / (select extract(epoch from '2026-07-17 15:51:28'::timestamp) - extract(epoch from '2026-07-17 15:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378913 -2.773195)'), GeomFromEWKT('SRID=4674;POINT (-40.378848 -2.773332)'))) / (select extract(epoch from '2026-07-17 15:51:28'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47831, 'SRID=4674;POINT (-40.378788 -2.773509)', '2026-07-17 15:51:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378848 -2.773332)'), GeomFromEWKT('SRID=4674;POINT (-40.378788 -2.773509)'))) / (select extract(epoch from '2026-07-17 15:51:35'::timestamp) - extract(epoch from '2026-07-17 15:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378848 -2.773332)'), GeomFromEWKT('SRID=4674;POINT (-40.378788 -2.773509)'))) / (select extract(epoch from '2026-07-17 15:51:35'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47831, 'SRID=4674;POINT (-40.378732 -2.773655)', '2026-07-17 15:51:41', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378788 -2.773509)'), GeomFromEWKT('SRID=4674;POINT (-40.378732 -2.773655)'))) / (select extract(epoch from '2026-07-17 15:51:41'::timestamp) - extract(epoch from '2026-07-17 15:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378788 -2.773509)'), GeomFromEWKT('SRID=4674;POINT (-40.378732 -2.773655)'))) / (select extract(epoch from '2026-07-17 15:51:41'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.378677 -2.773809)', '2026-07-17 15:51:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378732 -2.773655)'), GeomFromEWKT('SRID=4674;POINT (-40.378677 -2.773809)'))) / (select extract(epoch from '2026-07-17 15:51:47'::timestamp) - extract(epoch from '2026-07-17 15:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378732 -2.773655)'), GeomFromEWKT('SRID=4674;POINT (-40.378677 -2.773809)'))) / (select extract(epoch from '2026-07-17 15:51:47'::timestamp) - extract(epoch from '2026-07-17 15:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.37862 -2.773987)', '2026-07-17 15:51:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378677 -2.773809)'), GeomFromEWKT('SRID=4674;POINT (-40.37862 -2.773987)'))) / (select extract(epoch from '2026-07-17 15:51:54'::timestamp) - extract(epoch from '2026-07-17 15:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378677 -2.773809)'), GeomFromEWKT('SRID=4674;POINT (-40.37862 -2.773987)'))) / (select extract(epoch from '2026-07-17 15:51:54'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.378569 -2.774141)', '2026-07-17 15:52:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37862 -2.773987)'), GeomFromEWKT('SRID=4674;POINT (-40.378569 -2.774141)'))) / (select extract(epoch from '2026-07-17 15:52:00'::timestamp) - extract(epoch from '2026-07-17 15:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37862 -2.773987)'), GeomFromEWKT('SRID=4674;POINT (-40.378569 -2.774141)'))) / (select extract(epoch from '2026-07-17 15:52:00'::timestamp) - extract(epoch from '2026-07-17 15:51: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'), 47831, 'SRID=4674;POINT (-40.378502 -2.774266)', '2026-07-17 15:52:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378569 -2.774141)'), GeomFromEWKT('SRID=4674;POINT (-40.378502 -2.774266)'))) / (select extract(epoch from '2026-07-17 15:52:06'::timestamp) - extract(epoch from '2026-07-17 15:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378569 -2.774141)'), GeomFromEWKT('SRID=4674;POINT (-40.378502 -2.774266)'))) / (select extract(epoch from '2026-07-17 15:52:06'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.378388 -2.774437)', '2026-07-17 15:52:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378502 -2.774266)'), GeomFromEWKT('SRID=4674;POINT (-40.378388 -2.774437)'))) / (select extract(epoch from '2026-07-17 15:52:14'::timestamp) - extract(epoch from '2026-07-17 15:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378502 -2.774266)'), GeomFromEWKT('SRID=4674;POINT (-40.378388 -2.774437)'))) / (select extract(epoch from '2026-07-17 15:52:14'::timestamp) - extract(epoch from '2026-07-17 15:52: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'), 47831, 'SRID=4674;POINT (-40.378303 -2.77458)', '2026-07-17 15:52:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378388 -2.774437)'), GeomFromEWKT('SRID=4674;POINT (-40.378303 -2.77458)'))) / (select extract(epoch from '2026-07-17 15:52:21'::timestamp) - extract(epoch from '2026-07-17 15:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378388 -2.774437)'), GeomFromEWKT('SRID=4674;POINT (-40.378303 -2.77458)'))) / (select extract(epoch from '2026-07-17 15:52:21'::timestamp) - extract(epoch from '2026-07-17 15:52: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'), 47831, 'SRID=4674;POINT (-40.378216 -2.77472)', '2026-07-17 15:52:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378303 -2.77458)'), GeomFromEWKT('SRID=4674;POINT (-40.378216 -2.77472)'))) / (select extract(epoch from '2026-07-17 15:52:28'::timestamp) - extract(epoch from '2026-07-17 15:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378303 -2.77458)'), GeomFromEWKT('SRID=4674;POINT (-40.378216 -2.77472)'))) / (select extract(epoch from '2026-07-17 15:52:28'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.378148 -2.774855)', '2026-07-17 15:52:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378216 -2.77472)'), GeomFromEWKT('SRID=4674;POINT (-40.378148 -2.774855)'))) / (select extract(epoch from '2026-07-17 15:52:37'::timestamp) - extract(epoch from '2026-07-17 15:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378216 -2.77472)'), GeomFromEWKT('SRID=4674;POINT (-40.378148 -2.774855)'))) / (select extract(epoch from '2026-07-17 15:52:37'::timestamp) - extract(epoch from '2026-07-17 15:52: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'), 47831, 'SRID=4674;POINT (-40.37812 -2.774987)', '2026-07-17 15:52:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378148 -2.774855)'), GeomFromEWKT('SRID=4674;POINT (-40.37812 -2.774987)'))) / (select extract(epoch from '2026-07-17 15:52:44'::timestamp) - extract(epoch from '2026-07-17 15:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378148 -2.774855)'), GeomFromEWKT('SRID=4674;POINT (-40.37812 -2.774987)'))) / (select extract(epoch from '2026-07-17 15:52:44'::timestamp) - extract(epoch from '2026-07-17 15:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378087 -2.775096)', '2026-07-17 15:52:50', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37812 -2.774987)'), GeomFromEWKT('SRID=4674;POINT (-40.378087 -2.775096)'))) / (select extract(epoch from '2026-07-17 15:52:50'::timestamp) - extract(epoch from '2026-07-17 15:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37812 -2.774987)'), GeomFromEWKT('SRID=4674;POINT (-40.378087 -2.775096)'))) / (select extract(epoch from '2026-07-17 15:52:50'::timestamp) - extract(epoch from '2026-07-17 15:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.378004 -2.775203)', '2026-07-17 15:52:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378087 -2.775096)'), GeomFromEWKT('SRID=4674;POINT (-40.378004 -2.775203)'))) / (select extract(epoch from '2026-07-17 15:52:57'::timestamp) - extract(epoch from '2026-07-17 15:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378087 -2.775096)'), GeomFromEWKT('SRID=4674;POINT (-40.378004 -2.775203)'))) / (select extract(epoch from '2026-07-17 15:52:57'::timestamp) - extract(epoch from '2026-07-17 15:52: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'), 47831, 'SRID=4674;POINT (-40.377922 -2.775336)', '2026-07-17 15:53:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378004 -2.775203)'), GeomFromEWKT('SRID=4674;POINT (-40.377922 -2.775336)'))) / (select extract(epoch from '2026-07-17 15:53:04'::timestamp) - extract(epoch from '2026-07-17 15:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378004 -2.775203)'), GeomFromEWKT('SRID=4674;POINT (-40.377922 -2.775336)'))) / (select extract(epoch from '2026-07-17 15:53:04'::timestamp) - extract(epoch from '2026-07-17 15:52: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'), 47831, 'SRID=4674;POINT (-40.377844 -2.775489)', '2026-07-17 15:53:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377922 -2.775336)'), GeomFromEWKT('SRID=4674;POINT (-40.377844 -2.775489)'))) / (select extract(epoch from '2026-07-17 15:53:12'::timestamp) - extract(epoch from '2026-07-17 15:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377922 -2.775336)'), GeomFromEWKT('SRID=4674;POINT (-40.377844 -2.775489)'))) / (select extract(epoch from '2026-07-17 15:53:12'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.377764 -2.775615)', '2026-07-17 15:53:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377844 -2.775489)'), GeomFromEWKT('SRID=4674;POINT (-40.377764 -2.775615)'))) / (select extract(epoch from '2026-07-17 15:53:20'::timestamp) - extract(epoch from '2026-07-17 15:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377844 -2.775489)'), GeomFromEWKT('SRID=4674;POINT (-40.377764 -2.775615)'))) / (select extract(epoch from '2026-07-17 15:53:20'::timestamp) - extract(epoch from '2026-07-17 15:53: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'), 47831, 'SRID=4674;POINT (-40.377707 -2.775725)', '2026-07-17 15:53:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377764 -2.775615)'), GeomFromEWKT('SRID=4674;POINT (-40.377707 -2.775725)'))) / (select extract(epoch from '2026-07-17 15:53:26'::timestamp) - extract(epoch from '2026-07-17 15:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377764 -2.775615)'), GeomFromEWKT('SRID=4674;POINT (-40.377707 -2.775725)'))) / (select extract(epoch from '2026-07-17 15:53:26'::timestamp) - extract(epoch from '2026-07-17 15:53: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'), 47831, 'SRID=4674;POINT (-40.377617 -2.775854)', '2026-07-17 15:53:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377707 -2.775725)'), GeomFromEWKT('SRID=4674;POINT (-40.377617 -2.775854)'))) / (select extract(epoch from '2026-07-17 15:53:33'::timestamp) - extract(epoch from '2026-07-17 15:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377707 -2.775725)'), GeomFromEWKT('SRID=4674;POINT (-40.377617 -2.775854)'))) / (select extract(epoch from '2026-07-17 15:53:33'::timestamp) - extract(epoch from '2026-07-17 15:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.377517 -2.77594)', '2026-07-17 15:53:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377617 -2.775854)'), GeomFromEWKT('SRID=4674;POINT (-40.377517 -2.77594)'))) / (select extract(epoch from '2026-07-17 15:53:40'::timestamp) - extract(epoch from '2026-07-17 15:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377617 -2.775854)'), GeomFromEWKT('SRID=4674;POINT (-40.377517 -2.77594)'))) / (select extract(epoch from '2026-07-17 15:53:40'::timestamp) - extract(epoch from '2026-07-17 15:53: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'), 47831, 'SRID=4674;POINT (-40.377425 -2.776041)', '2026-07-17 15:53:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377517 -2.77594)'), GeomFromEWKT('SRID=4674;POINT (-40.377425 -2.776041)'))) / (select extract(epoch from '2026-07-17 15:53:47'::timestamp) - extract(epoch from '2026-07-17 15:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377517 -2.77594)'), GeomFromEWKT('SRID=4674;POINT (-40.377425 -2.776041)'))) / (select extract(epoch from '2026-07-17 15:53:47'::timestamp) - extract(epoch from '2026-07-17 15:53: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'), 47831, 'SRID=4674;POINT (-40.377343 -2.77617)', '2026-07-17 15:53:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377425 -2.776041)'), GeomFromEWKT('SRID=4674;POINT (-40.377343 -2.77617)'))) / (select extract(epoch from '2026-07-17 15:53:55'::timestamp) - extract(epoch from '2026-07-17 15:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377425 -2.776041)'), GeomFromEWKT('SRID=4674;POINT (-40.377343 -2.77617)'))) / (select extract(epoch from '2026-07-17 15:53:55'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.377277 -2.776299)', '2026-07-17 15:54:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377343 -2.77617)'), GeomFromEWKT('SRID=4674;POINT (-40.377277 -2.776299)'))) / (select extract(epoch from '2026-07-17 15:54:02'::timestamp) - extract(epoch from '2026-07-17 15:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377343 -2.77617)'), GeomFromEWKT('SRID=4674;POINT (-40.377277 -2.776299)'))) / (select extract(epoch from '2026-07-17 15:54:02'::timestamp) - extract(epoch from '2026-07-17 15:53: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'), 47831, 'SRID=4674;POINT (-40.377227 -2.776432)', '2026-07-17 15:54:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377277 -2.776299)'), GeomFromEWKT('SRID=4674;POINT (-40.377227 -2.776432)'))) / (select extract(epoch from '2026-07-17 15:54:09'::timestamp) - extract(epoch from '2026-07-17 15:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377277 -2.776299)'), GeomFromEWKT('SRID=4674;POINT (-40.377227 -2.776432)'))) / (select extract(epoch from '2026-07-17 15:54:09'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47831, 'SRID=4674;POINT (-40.377146 -2.776561)', '2026-07-17 15:54:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377227 -2.776432)'), GeomFromEWKT('SRID=4674;POINT (-40.377146 -2.776561)'))) / (select extract(epoch from '2026-07-17 15:54:17'::timestamp) - extract(epoch from '2026-07-17 15:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377227 -2.776432)'), GeomFromEWKT('SRID=4674;POINT (-40.377146 -2.776561)'))) / (select extract(epoch from '2026-07-17 15:54:17'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.377052 -2.776703)', '2026-07-17 15:54:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377146 -2.776561)'), GeomFromEWKT('SRID=4674;POINT (-40.377052 -2.776703)'))) / (select extract(epoch from '2026-07-17 15:54:26'::timestamp) - extract(epoch from '2026-07-17 15:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377146 -2.776561)'), GeomFromEWKT('SRID=4674;POINT (-40.377052 -2.776703)'))) / (select extract(epoch from '2026-07-17 15:54:26'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47831, 'SRID=4674;POINT (-40.376965 -2.776842)', '2026-07-17 15:54:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377052 -2.776703)'), GeomFromEWKT('SRID=4674;POINT (-40.376965 -2.776842)'))) / (select extract(epoch from '2026-07-17 15:54:35'::timestamp) - extract(epoch from '2026-07-17 15:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377052 -2.776703)'), GeomFromEWKT('SRID=4674;POINT (-40.376965 -2.776842)'))) / (select extract(epoch from '2026-07-17 15:54:35'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47831, 'SRID=4674;POINT (-40.376873 -2.776924)', '2026-07-17 15:54:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376965 -2.776842)'), GeomFromEWKT('SRID=4674;POINT (-40.376873 -2.776924)'))) / (select extract(epoch from '2026-07-17 15:54:41'::timestamp) - extract(epoch from '2026-07-17 15:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376965 -2.776842)'), GeomFromEWKT('SRID=4674;POINT (-40.376873 -2.776924)'))) / (select extract(epoch from '2026-07-17 15:54:41'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47831, 'SRID=4674;POINT (-40.376798 -2.777034)', '2026-07-17 15:54:48', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376873 -2.776924)'), GeomFromEWKT('SRID=4674;POINT (-40.376798 -2.777034)'))) / (select extract(epoch from '2026-07-17 15:54:48'::timestamp) - extract(epoch from '2026-07-17 15:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376873 -2.776924)'), GeomFromEWKT('SRID=4674;POINT (-40.376798 -2.777034)'))) / (select extract(epoch from '2026-07-17 15:54:48'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47831, 'SRID=4674;POINT (-40.376746 -2.777156)', '2026-07-17 15:54:54', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376798 -2.777034)'), GeomFromEWKT('SRID=4674;POINT (-40.376746 -2.777156)'))) / (select extract(epoch from '2026-07-17 15:54:54'::timestamp) - extract(epoch from '2026-07-17 15:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376798 -2.777034)'), GeomFromEWKT('SRID=4674;POINT (-40.376746 -2.777156)'))) / (select extract(epoch from '2026-07-17 15:54:54'::timestamp) - extract(epoch from '2026-07-17 15:54: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'), 47831, 'SRID=4674;POINT (-40.376699 -2.777264)', '2026-07-17 15:54:59', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376746 -2.777156)'), GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.777264)'))) / (select extract(epoch from '2026-07-17 15:54:59'::timestamp) - extract(epoch from '2026-07-17 15:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376746 -2.777156)'), GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.777264)'))) / (select extract(epoch from '2026-07-17 15:54:59'::timestamp) - extract(epoch from '2026-07-17 15:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.376637 -2.777375)', '2026-07-17 15:55:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.777264)'), GeomFromEWKT('SRID=4674;POINT (-40.376637 -2.777375)'))) / (select extract(epoch from '2026-07-17 15:55:05'::timestamp) - extract(epoch from '2026-07-17 15:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.777264)'), GeomFromEWKT('SRID=4674;POINT (-40.376637 -2.777375)'))) / (select extract(epoch from '2026-07-17 15:55:05'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.376566 -2.777556)', '2026-07-17 15:55:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376637 -2.777375)'), GeomFromEWKT('SRID=4674;POINT (-40.376566 -2.777556)'))) / (select extract(epoch from '2026-07-17 15:55:13'::timestamp) - extract(epoch from '2026-07-17 15:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376637 -2.777375)'), GeomFromEWKT('SRID=4674;POINT (-40.376566 -2.777556)'))) / (select extract(epoch from '2026-07-17 15:55:13'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.376505 -2.777691)', '2026-07-17 15:55:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376566 -2.777556)'), GeomFromEWKT('SRID=4674;POINT (-40.376505 -2.777691)'))) / (select extract(epoch from '2026-07-17 15:55:20'::timestamp) - extract(epoch from '2026-07-17 15:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376566 -2.777556)'), GeomFromEWKT('SRID=4674;POINT (-40.376505 -2.777691)'))) / (select extract(epoch from '2026-07-17 15:55:20'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47831, 'SRID=4674;POINT (-40.376455 -2.777774)', '2026-07-17 15:55:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376505 -2.777691)'), GeomFromEWKT('SRID=4674;POINT (-40.376455 -2.777774)'))) / (select extract(epoch from '2026-07-17 15:55:26'::timestamp) - extract(epoch from '2026-07-17 15:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376505 -2.777691)'), GeomFromEWKT('SRID=4674;POINT (-40.376455 -2.777774)'))) / (select extract(epoch from '2026-07-17 15:55:26'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47831, 'SRID=4674;POINT (-40.376384 -2.777862)', '2026-07-17 15:55:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376455 -2.777774)'), GeomFromEWKT('SRID=4674;POINT (-40.376384 -2.777862)'))) / (select extract(epoch from '2026-07-17 15:55:32'::timestamp) - extract(epoch from '2026-07-17 15:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376455 -2.777774)'), GeomFromEWKT('SRID=4674;POINT (-40.376384 -2.777862)'))) / (select extract(epoch from '2026-07-17 15:55:32'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47831, 'SRID=4674;POINT (-40.376324 -2.777976)', '2026-07-17 15:55:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376384 -2.777862)'), GeomFromEWKT('SRID=4674;POINT (-40.376324 -2.777976)'))) / (select extract(epoch from '2026-07-17 15:55:38'::timestamp) - extract(epoch from '2026-07-17 15:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376384 -2.777862)'), GeomFromEWKT('SRID=4674;POINT (-40.376324 -2.777976)'))) / (select extract(epoch from '2026-07-17 15:55:38'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.376252 -2.778098)', '2026-07-17 15:55:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376324 -2.777976)'), GeomFromEWKT('SRID=4674;POINT (-40.376252 -2.778098)'))) / (select extract(epoch from '2026-07-17 15:55:45'::timestamp) - extract(epoch from '2026-07-17 15:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376324 -2.777976)'), GeomFromEWKT('SRID=4674;POINT (-40.376252 -2.778098)'))) / (select extract(epoch from '2026-07-17 15:55:45'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47831, 'SRID=4674;POINT (-40.376159 -2.778231)', '2026-07-17 15:55:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376252 -2.778098)'), GeomFromEWKT('SRID=4674;POINT (-40.376159 -2.778231)'))) / (select extract(epoch from '2026-07-17 15:55:53'::timestamp) - extract(epoch from '2026-07-17 15:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376252 -2.778098)'), GeomFromEWKT('SRID=4674;POINT (-40.376159 -2.778231)'))) / (select extract(epoch from '2026-07-17 15:55:53'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47831, 'SRID=4674;POINT (-40.376076 -2.778341)', '2026-07-17 15:55:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376159 -2.778231)'), GeomFromEWKT('SRID=4674;POINT (-40.376076 -2.778341)'))) / (select extract(epoch from '2026-07-17 15:55:59'::timestamp) - extract(epoch from '2026-07-17 15:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376159 -2.778231)'), GeomFromEWKT('SRID=4674;POINT (-40.376076 -2.778341)'))) / (select extract(epoch from '2026-07-17 15:55:59'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47831, 'SRID=4674;POINT (-40.376015 -2.778467)', '2026-07-17 15:56:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376076 -2.778341)'), GeomFromEWKT('SRID=4674;POINT (-40.376015 -2.778467)'))) / (select extract(epoch from '2026-07-17 15:56:05'::timestamp) - extract(epoch from '2026-07-17 15:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376076 -2.778341)'), GeomFromEWKT('SRID=4674;POINT (-40.376015 -2.778467)'))) / (select extract(epoch from '2026-07-17 15:56:05'::timestamp) - extract(epoch from '2026-07-17 15:55: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'), 47831, 'SRID=4674;POINT (-40.375971 -2.778574)', '2026-07-17 15:56:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376015 -2.778467)'), GeomFromEWKT('SRID=4674;POINT (-40.375971 -2.778574)'))) / (select extract(epoch from '2026-07-17 15:56:10'::timestamp) - extract(epoch from '2026-07-17 15:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376015 -2.778467)'), GeomFromEWKT('SRID=4674;POINT (-40.375971 -2.778574)'))) / (select extract(epoch from '2026-07-17 15:56:10'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47831, 'SRID=4674;POINT (-40.375923 -2.778677)', '2026-07-17 15:56:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375971 -2.778574)'), GeomFromEWKT('SRID=4674;POINT (-40.375923 -2.778677)'))) / (select extract(epoch from '2026-07-17 15:56:15'::timestamp) - extract(epoch from '2026-07-17 15:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375971 -2.778574)'), GeomFromEWKT('SRID=4674;POINT (-40.375923 -2.778677)'))) / (select extract(epoch from '2026-07-17 15:56:15'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.375858 -2.778802)', '2026-07-17 15:56:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375923 -2.778677)'), GeomFromEWKT('SRID=4674;POINT (-40.375858 -2.778802)'))) / (select extract(epoch from '2026-07-17 15:56:21'::timestamp) - extract(epoch from '2026-07-17 15:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375923 -2.778677)'), GeomFromEWKT('SRID=4674;POINT (-40.375858 -2.778802)'))) / (select extract(epoch from '2026-07-17 15:56:21'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47831, 'SRID=4674;POINT (-40.375801 -2.778905)', '2026-07-17 15:56:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375858 -2.778802)'), GeomFromEWKT('SRID=4674;POINT (-40.375801 -2.778905)'))) / (select extract(epoch from '2026-07-17 15:56:26'::timestamp) - extract(epoch from '2026-07-17 15:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375858 -2.778802)'), GeomFromEWKT('SRID=4674;POINT (-40.375801 -2.778905)'))) / (select extract(epoch from '2026-07-17 15:56:26'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47831, 'SRID=4674;POINT (-40.375722 -2.779048)', '2026-07-17 15:56:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375801 -2.778905)'), GeomFromEWKT('SRID=4674;POINT (-40.375722 -2.779048)'))) / (select extract(epoch from '2026-07-17 15:56:34'::timestamp) - extract(epoch from '2026-07-17 15:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375801 -2.778905)'), GeomFromEWKT('SRID=4674;POINT (-40.375722 -2.779048)'))) / (select extract(epoch from '2026-07-17 15:56:34'::timestamp) - extract(epoch from '2026-07-17 15:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.37564 -2.779186)', '2026-07-17 15:56:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375722 -2.779048)'), GeomFromEWKT('SRID=4674;POINT (-40.37564 -2.779186)'))) / (select extract(epoch from '2026-07-17 15:56:42'::timestamp) - extract(epoch from '2026-07-17 15:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375722 -2.779048)'), GeomFromEWKT('SRID=4674;POINT (-40.37564 -2.779186)'))) / (select extract(epoch from '2026-07-17 15:56:42'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47831, 'SRID=4674;POINT (-40.375543 -2.77931)', '2026-07-17 15:56:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37564 -2.779186)'), GeomFromEWKT('SRID=4674;POINT (-40.375543 -2.77931)'))) / (select extract(epoch from '2026-07-17 15:56:49'::timestamp) - extract(epoch from '2026-07-17 15:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37564 -2.779186)'), GeomFromEWKT('SRID=4674;POINT (-40.375543 -2.77931)'))) / (select extract(epoch from '2026-07-17 15:56:49'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47831, 'SRID=4674;POINT (-40.375446 -2.779435)', '2026-07-17 15:56:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375543 -2.77931)'), GeomFromEWKT('SRID=4674;POINT (-40.375446 -2.779435)'))) / (select extract(epoch from '2026-07-17 15:56:56'::timestamp) - extract(epoch from '2026-07-17 15:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375543 -2.77931)'), GeomFromEWKT('SRID=4674;POINT (-40.375446 -2.779435)'))) / (select extract(epoch from '2026-07-17 15:56:56'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.375349 -2.779606)', '2026-07-17 15:57:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375446 -2.779435)'), GeomFromEWKT('SRID=4674;POINT (-40.375349 -2.779606)'))) / (select extract(epoch from '2026-07-17 15:57:04'::timestamp) - extract(epoch from '2026-07-17 15:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375446 -2.779435)'), GeomFromEWKT('SRID=4674;POINT (-40.375349 -2.779606)'))) / (select extract(epoch from '2026-07-17 15:57:04'::timestamp) - extract(epoch from '2026-07-17 15:56: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'), 47831, 'SRID=4674;POINT (-40.375291 -2.779743)', '2026-07-17 15:57:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375349 -2.779606)'), GeomFromEWKT('SRID=4674;POINT (-40.375291 -2.779743)'))) / (select extract(epoch from '2026-07-17 15:57:10'::timestamp) - extract(epoch from '2026-07-17 15:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375349 -2.779606)'), GeomFromEWKT('SRID=4674;POINT (-40.375291 -2.779743)'))) / (select extract(epoch from '2026-07-17 15:57:10'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.375214 -2.779882)', '2026-07-17 15:57:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375291 -2.779743)'), GeomFromEWKT('SRID=4674;POINT (-40.375214 -2.779882)'))) / (select extract(epoch from '2026-07-17 15:57:17'::timestamp) - extract(epoch from '2026-07-17 15:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375291 -2.779743)'), GeomFromEWKT('SRID=4674;POINT (-40.375214 -2.779882)'))) / (select extract(epoch from '2026-07-17 15:57:17'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.37514 -2.780018)', '2026-07-17 15:57:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375214 -2.779882)'), GeomFromEWKT('SRID=4674;POINT (-40.37514 -2.780018)'))) / (select extract(epoch from '2026-07-17 15:57:24'::timestamp) - extract(epoch from '2026-07-17 15:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375214 -2.779882)'), GeomFromEWKT('SRID=4674;POINT (-40.37514 -2.780018)'))) / (select extract(epoch from '2026-07-17 15:57:24'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.375057 -2.780143)', '2026-07-17 15:57:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37514 -2.780018)'), GeomFromEWKT('SRID=4674;POINT (-40.375057 -2.780143)'))) / (select extract(epoch from '2026-07-17 15:57:31'::timestamp) - extract(epoch from '2026-07-17 15:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37514 -2.780018)'), GeomFromEWKT('SRID=4674;POINT (-40.375057 -2.780143)'))) / (select extract(epoch from '2026-07-17 15:57:31'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.374959 -2.780285)', '2026-07-17 15:57:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375057 -2.780143)'), GeomFromEWKT('SRID=4674;POINT (-40.374959 -2.780285)'))) / (select extract(epoch from '2026-07-17 15:57:38'::timestamp) - extract(epoch from '2026-07-17 15:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375057 -2.780143)'), GeomFromEWKT('SRID=4674;POINT (-40.374959 -2.780285)'))) / (select extract(epoch from '2026-07-17 15:57:38'::timestamp) - extract(epoch from '2026-07-17 15:57: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'), 47831, 'SRID=4674;POINT (-40.374897 -2.780411)', '2026-07-17 15:57:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374959 -2.780285)'), GeomFromEWKT('SRID=4674;POINT (-40.374897 -2.780411)'))) / (select extract(epoch from '2026-07-17 15:57:44'::timestamp) - extract(epoch from '2026-07-17 15:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374959 -2.780285)'), GeomFromEWKT('SRID=4674;POINT (-40.374897 -2.780411)'))) / (select extract(epoch from '2026-07-17 15:57:44'::timestamp) - extract(epoch from '2026-07-17 15:57: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'), 47831, 'SRID=4674;POINT (-40.374802 -2.780569)', '2026-07-17 15:57:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374897 -2.780411)'), GeomFromEWKT('SRID=4674;POINT (-40.374802 -2.780569)'))) / (select extract(epoch from '2026-07-17 15:57:52'::timestamp) - extract(epoch from '2026-07-17 15:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374897 -2.780411)'), GeomFromEWKT('SRID=4674;POINT (-40.374802 -2.780569)'))) / (select extract(epoch from '2026-07-17 15:57:52'::timestamp) - extract(epoch from '2026-07-17 15:57: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'), 47831, 'SRID=4674;POINT (-40.374737 -2.780691)', '2026-07-17 15:57:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374802 -2.780569)'), GeomFromEWKT('SRID=4674;POINT (-40.374737 -2.780691)'))) / (select extract(epoch from '2026-07-17 15:57:58'::timestamp) - extract(epoch from '2026-07-17 15:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374802 -2.780569)'), GeomFromEWKT('SRID=4674;POINT (-40.374737 -2.780691)'))) / (select extract(epoch from '2026-07-17 15:57:58'::timestamp) - extract(epoch from '2026-07-17 15:57: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'), 47831, 'SRID=4674;POINT (-40.374697 -2.78079)', '2026-07-17 15:58:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374737 -2.780691)'), GeomFromEWKT('SRID=4674;POINT (-40.374697 -2.78079)'))) / (select extract(epoch from '2026-07-17 15:58:03'::timestamp) - extract(epoch from '2026-07-17 15:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374737 -2.780691)'), GeomFromEWKT('SRID=4674;POINT (-40.374697 -2.78079)'))) / (select extract(epoch from '2026-07-17 15:58:03'::timestamp) - extract(epoch from '2026-07-17 15:57: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'), 47831, 'SRID=4674;POINT (-40.374622 -2.780938)', '2026-07-17 15:58:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374697 -2.78079)'), GeomFromEWKT('SRID=4674;POINT (-40.374622 -2.780938)'))) / (select extract(epoch from '2026-07-17 15:58:10'::timestamp) - extract(epoch from '2026-07-17 15:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374697 -2.78079)'), GeomFromEWKT('SRID=4674;POINT (-40.374622 -2.780938)'))) / (select extract(epoch from '2026-07-17 15:58:10'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47831, 'SRID=4674;POINT (-40.374559 -2.781067)', '2026-07-17 15:58:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374622 -2.780938)'), GeomFromEWKT('SRID=4674;POINT (-40.374559 -2.781067)'))) / (select extract(epoch from '2026-07-17 15:58:16'::timestamp) - extract(epoch from '2026-07-17 15:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374622 -2.780938)'), GeomFromEWKT('SRID=4674;POINT (-40.374559 -2.781067)'))) / (select extract(epoch from '2026-07-17 15:58:16'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47831, 'SRID=4674;POINT (-40.374485 -2.781219)', '2026-07-17 15:58:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374559 -2.781067)'), GeomFromEWKT('SRID=4674;POINT (-40.374485 -2.781219)'))) / (select extract(epoch from '2026-07-17 15:58:23'::timestamp) - extract(epoch from '2026-07-17 15:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374559 -2.781067)'), GeomFromEWKT('SRID=4674;POINT (-40.374485 -2.781219)'))) / (select extract(epoch from '2026-07-17 15:58:23'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47831, 'SRID=4674;POINT (-40.374415 -2.781379)', '2026-07-17 15:58:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374485 -2.781219)'), GeomFromEWKT('SRID=4674;POINT (-40.374415 -2.781379)'))) / (select extract(epoch from '2026-07-17 15:58:30'::timestamp) - extract(epoch from '2026-07-17 15:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374485 -2.781219)'), GeomFromEWKT('SRID=4674;POINT (-40.374415 -2.781379)'))) / (select extract(epoch from '2026-07-17 15:58:30'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47831, 'SRID=4674;POINT (-40.374363 -2.781539)', '2026-07-17 15:58:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374415 -2.781379)'), GeomFromEWKT('SRID=4674;POINT (-40.374363 -2.781539)'))) / (select extract(epoch from '2026-07-17 15:58:37'::timestamp) - extract(epoch from '2026-07-17 15:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374415 -2.781379)'), GeomFromEWKT('SRID=4674;POINT (-40.374363 -2.781539)'))) / (select extract(epoch from '2026-07-17 15:58:37'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47831, 'SRID=4674;POINT (-40.374304 -2.781701)', '2026-07-17 15:58:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374363 -2.781539)'), GeomFromEWKT('SRID=4674;POINT (-40.374304 -2.781701)'))) / (select extract(epoch from '2026-07-17 15:58:44'::timestamp) - extract(epoch from '2026-07-17 15:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374363 -2.781539)'), GeomFromEWKT('SRID=4674;POINT (-40.374304 -2.781701)'))) / (select extract(epoch from '2026-07-17 15:58:44'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47831, 'SRID=4674;POINT (-40.374247 -2.781823)', '2026-07-17 15:58:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374304 -2.781701)'), GeomFromEWKT('SRID=4674;POINT (-40.374247 -2.781823)'))) / (select extract(epoch from '2026-07-17 15:58:50'::timestamp) - extract(epoch from '2026-07-17 15:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374304 -2.781701)'), GeomFromEWKT('SRID=4674;POINT (-40.374247 -2.781823)'))) / (select extract(epoch from '2026-07-17 15:58:50'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47831, 'SRID=4674;POINT (-40.374199 -2.781955)', '2026-07-17 15:58:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374247 -2.781823)'), GeomFromEWKT('SRID=4674;POINT (-40.374199 -2.781955)'))) / (select extract(epoch from '2026-07-17 15:58:56'::timestamp) - extract(epoch from '2026-07-17 15:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374247 -2.781823)'), GeomFromEWKT('SRID=4674;POINT (-40.374199 -2.781955)'))) / (select extract(epoch from '2026-07-17 15:58:56'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47831, 'SRID=4674;POINT (-40.374152 -2.782096)', '2026-07-17 15:59:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374199 -2.781955)'), GeomFromEWKT('SRID=4674;POINT (-40.374152 -2.782096)'))) / (select extract(epoch from '2026-07-17 15:59:02'::timestamp) - extract(epoch from '2026-07-17 15:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374199 -2.781955)'), GeomFromEWKT('SRID=4674;POINT (-40.374152 -2.782096)'))) / (select extract(epoch from '2026-07-17 15:59:02'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.374072 -2.782265)', '2026-07-17 15:59:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374152 -2.782096)'), GeomFromEWKT('SRID=4674;POINT (-40.374072 -2.782265)'))) / (select extract(epoch from '2026-07-17 15:59:10'::timestamp) - extract(epoch from '2026-07-17 15:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374152 -2.782096)'), GeomFromEWKT('SRID=4674;POINT (-40.374072 -2.782265)'))) / (select extract(epoch from '2026-07-17 15:59:10'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.374025 -2.782415)', '2026-07-17 15:59:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374072 -2.782265)'), GeomFromEWKT('SRID=4674;POINT (-40.374025 -2.782415)'))) / (select extract(epoch from '2026-07-17 15:59:17'::timestamp) - extract(epoch from '2026-07-17 15:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374072 -2.782265)'), GeomFromEWKT('SRID=4674;POINT (-40.374025 -2.782415)'))) / (select extract(epoch from '2026-07-17 15:59:17'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47831, 'SRID=4674;POINT (-40.373974 -2.78257)', '2026-07-17 15:59:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374025 -2.782415)'), GeomFromEWKT('SRID=4674;POINT (-40.373974 -2.78257)'))) / (select extract(epoch from '2026-07-17 15:59:24'::timestamp) - extract(epoch from '2026-07-17 15:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374025 -2.782415)'), GeomFromEWKT('SRID=4674;POINT (-40.373974 -2.78257)'))) / (select extract(epoch from '2026-07-17 15:59:24'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47831, 'SRID=4674;POINT (-40.37392 -2.782718)', '2026-07-17 15:59:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373974 -2.78257)'), GeomFromEWKT('SRID=4674;POINT (-40.37392 -2.782718)'))) / (select extract(epoch from '2026-07-17 15:59:31'::timestamp) - extract(epoch from '2026-07-17 15:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373974 -2.78257)'), GeomFromEWKT('SRID=4674;POINT (-40.37392 -2.782718)'))) / (select extract(epoch from '2026-07-17 15:59:31'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47831, 'SRID=4674;POINT (-40.37385 -2.782863)', '2026-07-17 15:59:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37392 -2.782718)'), GeomFromEWKT('SRID=4674;POINT (-40.37385 -2.782863)'))) / (select extract(epoch from '2026-07-17 15:59:38'::timestamp) - extract(epoch from '2026-07-17 15:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37392 -2.782718)'), GeomFromEWKT('SRID=4674;POINT (-40.37385 -2.782863)'))) / (select extract(epoch from '2026-07-17 15:59:38'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.373784 -2.783009)', '2026-07-17 15:59:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37385 -2.782863)'), GeomFromEWKT('SRID=4674;POINT (-40.373784 -2.783009)'))) / (select extract(epoch from '2026-07-17 15:59:45'::timestamp) - extract(epoch from '2026-07-17 15:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37385 -2.782863)'), GeomFromEWKT('SRID=4674;POINT (-40.373784 -2.783009)'))) / (select extract(epoch from '2026-07-17 15:59:45'::timestamp) - extract(epoch from '2026-07-17 15:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.373679 -2.783188)', '2026-07-17 15:59:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373784 -2.783009)'), GeomFromEWKT('SRID=4674;POINT (-40.373679 -2.783188)'))) / (select extract(epoch from '2026-07-17 15:59:54'::timestamp) - extract(epoch from '2026-07-17 15:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373784 -2.783009)'), GeomFromEWKT('SRID=4674;POINT (-40.373679 -2.783188)'))) / (select extract(epoch from '2026-07-17 15:59:54'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47831, 'SRID=4674;POINT (-40.373581 -2.78337)', '2026-07-17 16:00:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373679 -2.783188)'), GeomFromEWKT('SRID=4674;POINT (-40.373581 -2.78337)'))) / (select extract(epoch from '2026-07-17 16:00:03'::timestamp) - extract(epoch from '2026-07-17 15:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373679 -2.783188)'), GeomFromEWKT('SRID=4674;POINT (-40.373581 -2.78337)'))) / (select extract(epoch from '2026-07-17 16:00:03'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47831, 'SRID=4674;POINT (-40.373475 -2.783552)', '2026-07-17 16:00:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373581 -2.78337)'), GeomFromEWKT('SRID=4674;POINT (-40.373475 -2.783552)'))) / (select extract(epoch from '2026-07-17 16:00:12'::timestamp) - extract(epoch from '2026-07-17 16:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373581 -2.78337)'), GeomFromEWKT('SRID=4674;POINT (-40.373475 -2.783552)'))) / (select extract(epoch from '2026-07-17 16:00:12'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47831, 'SRID=4674;POINT (-40.37342 -2.783678)', '2026-07-17 16:00:18', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373475 -2.783552)'), GeomFromEWKT('SRID=4674;POINT (-40.37342 -2.783678)'))) / (select extract(epoch from '2026-07-17 16:00:18'::timestamp) - extract(epoch from '2026-07-17 16:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373475 -2.783552)'), GeomFromEWKT('SRID=4674;POINT (-40.37342 -2.783678)'))) / (select extract(epoch from '2026-07-17 16:00:18'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47831, 'SRID=4674;POINT (-40.373358 -2.783794)', '2026-07-17 16:00:24', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37342 -2.783678)'), GeomFromEWKT('SRID=4674;POINT (-40.373358 -2.783794)'))) / (select extract(epoch from '2026-07-17 16:00:24'::timestamp) - extract(epoch from '2026-07-17 16:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37342 -2.783678)'), GeomFromEWKT('SRID=4674;POINT (-40.373358 -2.783794)'))) / (select extract(epoch from '2026-07-17 16:00:24'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47831, 'SRID=4674;POINT (-40.373292 -2.783958)', '2026-07-17 16:00:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373358 -2.783794)'), GeomFromEWKT('SRID=4674;POINT (-40.373292 -2.783958)'))) / (select extract(epoch from '2026-07-17 16:00:32'::timestamp) - extract(epoch from '2026-07-17 16:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373358 -2.783794)'), GeomFromEWKT('SRID=4674;POINT (-40.373292 -2.783958)'))) / (select extract(epoch from '2026-07-17 16:00:32'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47831, 'SRID=4674;POINT (-40.373241 -2.784102)', '2026-07-17 16:00:39', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373292 -2.783958)'), GeomFromEWKT('SRID=4674;POINT (-40.373241 -2.784102)'))) / (select extract(epoch from '2026-07-17 16:00:39'::timestamp) - extract(epoch from '2026-07-17 16:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373292 -2.783958)'), GeomFromEWKT('SRID=4674;POINT (-40.373241 -2.784102)'))) / (select extract(epoch from '2026-07-17 16:00:39'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47831, 'SRID=4674;POINT (-40.373185 -2.784248)', '2026-07-17 16:00:46', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373241 -2.784102)'), GeomFromEWKT('SRID=4674;POINT (-40.373185 -2.784248)'))) / (select extract(epoch from '2026-07-17 16:00:46'::timestamp) - extract(epoch from '2026-07-17 16:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373241 -2.784102)'), GeomFromEWKT('SRID=4674;POINT (-40.373185 -2.784248)'))) / (select extract(epoch from '2026-07-17 16:00:46'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47831, 'SRID=4674;POINT (-40.373138 -2.784386)', '2026-07-17 16:00:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373185 -2.784248)'), GeomFromEWKT('SRID=4674;POINT (-40.373138 -2.784386)'))) / (select extract(epoch from '2026-07-17 16:00:52'::timestamp) - extract(epoch from '2026-07-17 16:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373185 -2.784248)'), GeomFromEWKT('SRID=4674;POINT (-40.373138 -2.784386)'))) / (select extract(epoch from '2026-07-17 16:00:52'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47831, 'SRID=4674;POINT (-40.373112 -2.784548)', '2026-07-17 16:00:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373138 -2.784386)'), GeomFromEWKT('SRID=4674;POINT (-40.373112 -2.784548)'))) / (select extract(epoch from '2026-07-17 16:00:58'::timestamp) - extract(epoch from '2026-07-17 16:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373138 -2.784386)'), GeomFromEWKT('SRID=4674;POINT (-40.373112 -2.784548)'))) / (select extract(epoch from '2026-07-17 16:00:58'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47831, 'SRID=4674;POINT (-40.373045 -2.784727)', '2026-07-17 16:01:06', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373112 -2.784548)'), GeomFromEWKT('SRID=4674;POINT (-40.373045 -2.784727)'))) / (select extract(epoch from '2026-07-17 16:01:06'::timestamp) - extract(epoch from '2026-07-17 16:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373112 -2.784548)'), GeomFromEWKT('SRID=4674;POINT (-40.373045 -2.784727)'))) / (select extract(epoch from '2026-07-17 16:01:06'::timestamp) - extract(epoch from '2026-07-17 16:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
