 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.414069 -2.739973)', '2026-07-07 11:57:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414081 -2.739961)'), GeomFromEWKT('SRID=4674;POINT (-40.414069 -2.739973)'))) / (select extract(epoch from '2026-07-07 11:57:50'::timestamp) - extract(epoch from '2026-07-07 11:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414081 -2.739961)'), GeomFromEWKT('SRID=4674;POINT (-40.414069 -2.739973)'))) / (select extract(epoch from '2026-07-07 11:57:50'::timestamp) - extract(epoch from '2026-07-07 11:57: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'), 47829, 'SRID=4674;POINT (-40.414057 -2.740001)', '2026-07-07 11:57:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414069 -2.739973)'), GeomFromEWKT('SRID=4674;POINT (-40.414057 -2.740001)'))) / (select extract(epoch from '2026-07-07 11:57:52'::timestamp) - extract(epoch from '2026-07-07 11:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414069 -2.739973)'), GeomFromEWKT('SRID=4674;POINT (-40.414057 -2.740001)'))) / (select extract(epoch from '2026-07-07 11:57:52'::timestamp) - extract(epoch from '2026-07-07 11:57: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'), 47829, 'SRID=4674;POINT (-40.414041 -2.740023)', '2026-07-07 11:57:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414057 -2.740001)'), GeomFromEWKT('SRID=4674;POINT (-40.414041 -2.740023)'))) / (select extract(epoch from '2026-07-07 11:57:54'::timestamp) - extract(epoch from '2026-07-07 11:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414057 -2.740001)'), GeomFromEWKT('SRID=4674;POINT (-40.414041 -2.740023)'))) / (select extract(epoch from '2026-07-07 11:57:54'::timestamp) - extract(epoch from '2026-07-07 11: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'), 47829, 'SRID=4674;POINT (-40.414035 -2.740036)', '2026-07-07 11:57:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414041 -2.740023)'), GeomFromEWKT('SRID=4674;POINT (-40.414035 -2.740036)'))) / (select extract(epoch from '2026-07-07 11:57:55'::timestamp) - extract(epoch from '2026-07-07 11:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414041 -2.740023)'), GeomFromEWKT('SRID=4674;POINT (-40.414035 -2.740036)'))) / (select extract(epoch from '2026-07-07 11:57:55'::timestamp) - extract(epoch from '2026-07-07 11:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.414014 -2.740073)', '2026-07-07 11:57:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414035 -2.740036)'), GeomFromEWKT('SRID=4674;POINT (-40.414014 -2.740073)'))) / (select extract(epoch from '2026-07-07 11:57:58'::timestamp) - extract(epoch from '2026-07-07 11:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414035 -2.740036)'), GeomFromEWKT('SRID=4674;POINT (-40.414014 -2.740073)'))) / (select extract(epoch from '2026-07-07 11:57:58'::timestamp) - extract(epoch from '2026-07-07 11:57: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'), 47829, 'SRID=4674;POINT (-40.413942 -2.740129)', '2026-07-07 11:58:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414014 -2.740073)'), GeomFromEWKT('SRID=4674;POINT (-40.413942 -2.740129)'))) / (select extract(epoch from '2026-07-07 11:58:05'::timestamp) - extract(epoch from '2026-07-07 11:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414014 -2.740073)'), GeomFromEWKT('SRID=4674;POINT (-40.413942 -2.740129)'))) / (select extract(epoch from '2026-07-07 11:58:05'::timestamp) - extract(epoch from '2026-07-07 11: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'), 47829, 'SRID=4674;POINT (-40.413919 -2.740139)', '2026-07-07 11:58:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413942 -2.740129)'), GeomFromEWKT('SRID=4674;POINT (-40.413919 -2.740139)'))) / (select extract(epoch from '2026-07-07 11:58:07'::timestamp) - extract(epoch from '2026-07-07 11:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413942 -2.740129)'), GeomFromEWKT('SRID=4674;POINT (-40.413919 -2.740139)'))) / (select extract(epoch from '2026-07-07 11:58:07'::timestamp) - extract(epoch from '2026-07-07 11:58: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'), 47829, 'SRID=4674;POINT (-40.413879 -2.740169)', '2026-07-07 11:58:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413919 -2.740139)'), GeomFromEWKT('SRID=4674;POINT (-40.413879 -2.740169)'))) / (select extract(epoch from '2026-07-07 11:58:11'::timestamp) - extract(epoch from '2026-07-07 11:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413919 -2.740139)'), GeomFromEWKT('SRID=4674;POINT (-40.413879 -2.740169)'))) / (select extract(epoch from '2026-07-07 11:58:11'::timestamp) - extract(epoch from '2026-07-07 11:58: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'), 47829, 'SRID=4674;POINT (-40.413832 -2.740216)', '2026-07-07 11:58:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413879 -2.740169)'), GeomFromEWKT('SRID=4674;POINT (-40.413832 -2.740216)'))) / (select extract(epoch from '2026-07-07 11:58:16'::timestamp) - extract(epoch from '2026-07-07 11:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413879 -2.740169)'), GeomFromEWKT('SRID=4674;POINT (-40.413832 -2.740216)'))) / (select extract(epoch from '2026-07-07 11:58:16'::timestamp) - extract(epoch from '2026-07-07 11:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.413821 -2.740225)', '2026-07-07 11:58:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413832 -2.740216)'), GeomFromEWKT('SRID=4674;POINT (-40.413821 -2.740225)'))) / (select extract(epoch from '2026-07-07 11:58:17'::timestamp) - extract(epoch from '2026-07-07 11:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413832 -2.740216)'), GeomFromEWKT('SRID=4674;POINT (-40.413821 -2.740225)'))) / (select extract(epoch from '2026-07-07 11:58:17'::timestamp) - extract(epoch from '2026-07-07 11: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'), 47829, 'SRID=4674;POINT (-40.413791 -2.740255)', '2026-07-07 11:58:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413821 -2.740225)'), GeomFromEWKT('SRID=4674;POINT (-40.413791 -2.740255)'))) / (select extract(epoch from '2026-07-07 11:58:20'::timestamp) - extract(epoch from '2026-07-07 11:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413821 -2.740225)'), GeomFromEWKT('SRID=4674;POINT (-40.413791 -2.740255)'))) / (select extract(epoch from '2026-07-07 11:58:20'::timestamp) - extract(epoch from '2026-07-07 11:58: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'), 47829, 'SRID=4674;POINT (-40.413779 -2.740258)', '2026-07-07 11:58:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413791 -2.740255)'), GeomFromEWKT('SRID=4674;POINT (-40.413779 -2.740258)'))) / (select extract(epoch from '2026-07-07 11:58:21'::timestamp) - extract(epoch from '2026-07-07 11:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413791 -2.740255)'), GeomFromEWKT('SRID=4674;POINT (-40.413779 -2.740258)'))) / (select extract(epoch from '2026-07-07 11:58:21'::timestamp) - extract(epoch from '2026-07-07 11:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.413715 -2.740297)', '2026-07-07 11:58:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413779 -2.740258)'), GeomFromEWKT('SRID=4674;POINT (-40.413715 -2.740297)'))) / (select extract(epoch from '2026-07-07 11:58:27'::timestamp) - extract(epoch from '2026-07-07 11:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413779 -2.740258)'), GeomFromEWKT('SRID=4674;POINT (-40.413715 -2.740297)'))) / (select extract(epoch from '2026-07-07 11:58:27'::timestamp) - extract(epoch from '2026-07-07 11:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.413655 -2.740332)', '2026-07-07 11:58:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413715 -2.740297)'), GeomFromEWKT('SRID=4674;POINT (-40.413655 -2.740332)'))) / (select extract(epoch from '2026-07-07 11:58:33'::timestamp) - extract(epoch from '2026-07-07 11:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413715 -2.740297)'), GeomFromEWKT('SRID=4674;POINT (-40.413655 -2.740332)'))) / (select extract(epoch from '2026-07-07 11:58:33'::timestamp) - extract(epoch from '2026-07-07 11:58: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'), 47829, 'SRID=4674;POINT (-40.413632 -2.740346)', '2026-07-07 11:58:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413655 -2.740332)'), GeomFromEWKT('SRID=4674;POINT (-40.413632 -2.740346)'))) / (select extract(epoch from '2026-07-07 11:58:35'::timestamp) - extract(epoch from '2026-07-07 11:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413655 -2.740332)'), GeomFromEWKT('SRID=4674;POINT (-40.413632 -2.740346)'))) / (select extract(epoch from '2026-07-07 11:58:35'::timestamp) - extract(epoch from '2026-07-07 11:58: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'), 47829, 'SRID=4674;POINT (-40.413594 -2.740367)', '2026-07-07 11:58:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413632 -2.740346)'), GeomFromEWKT('SRID=4674;POINT (-40.413594 -2.740367)'))) / (select extract(epoch from '2026-07-07 11:58:38'::timestamp) - extract(epoch from '2026-07-07 11:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413632 -2.740346)'), GeomFromEWKT('SRID=4674;POINT (-40.413594 -2.740367)'))) / (select extract(epoch from '2026-07-07 11:58:38'::timestamp) - extract(epoch from '2026-07-07 11:58: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'), 47829, 'SRID=4674;POINT (-40.413473 -2.740421)', '2026-07-07 11:58:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413594 -2.740367)'), GeomFromEWKT('SRID=4674;POINT (-40.413473 -2.740421)'))) / (select extract(epoch from '2026-07-07 11:58:47'::timestamp) - extract(epoch from '2026-07-07 11:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413594 -2.740367)'), GeomFromEWKT('SRID=4674;POINT (-40.413473 -2.740421)'))) / (select extract(epoch from '2026-07-07 11:58:47'::timestamp) - extract(epoch from '2026-07-07 11:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.413449 -2.740434)', '2026-07-07 11:58:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413473 -2.740421)'), GeomFromEWKT('SRID=4674;POINT (-40.413449 -2.740434)'))) / (select extract(epoch from '2026-07-07 11:58:49'::timestamp) - extract(epoch from '2026-07-07 11:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413473 -2.740421)'), GeomFromEWKT('SRID=4674;POINT (-40.413449 -2.740434)'))) / (select extract(epoch from '2026-07-07 11:58:49'::timestamp) - extract(epoch from '2026-07-07 11:58: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'), 47829, 'SRID=4674;POINT (-40.413403 -2.740459)', '2026-07-07 11:58:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413449 -2.740434)'), GeomFromEWKT('SRID=4674;POINT (-40.413403 -2.740459)'))) / (select extract(epoch from '2026-07-07 11:58:53'::timestamp) - extract(epoch from '2026-07-07 11:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413449 -2.740434)'), GeomFromEWKT('SRID=4674;POINT (-40.413403 -2.740459)'))) / (select extract(epoch from '2026-07-07 11:58:53'::timestamp) - extract(epoch from '2026-07-07 11: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'), 47829, 'SRID=4674;POINT (-40.413336 -2.740509)', '2026-07-07 11:58:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413403 -2.740459)'), GeomFromEWKT('SRID=4674;POINT (-40.413336 -2.740509)'))) / (select extract(epoch from '2026-07-07 11:58:59'::timestamp) - extract(epoch from '2026-07-07 11:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413403 -2.740459)'), GeomFromEWKT('SRID=4674;POINT (-40.413336 -2.740509)'))) / (select extract(epoch from '2026-07-07 11:58:59'::timestamp) - extract(epoch from '2026-07-07 11:58: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'), 47829, 'SRID=4674;POINT (-40.413303 -2.740534)', '2026-07-07 11:59:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413336 -2.740509)'), GeomFromEWKT('SRID=4674;POINT (-40.413303 -2.740534)'))) / (select extract(epoch from '2026-07-07 11:59:02'::timestamp) - extract(epoch from '2026-07-07 11:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413336 -2.740509)'), GeomFromEWKT('SRID=4674;POINT (-40.413303 -2.740534)'))) / (select extract(epoch from '2026-07-07 11:59:02'::timestamp) - extract(epoch from '2026-07-07 11:58: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'), 47829, 'SRID=4674;POINT (-40.41328 -2.740547)', '2026-07-07 11:59:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413303 -2.740534)'), GeomFromEWKT('SRID=4674;POINT (-40.41328 -2.740547)'))) / (select extract(epoch from '2026-07-07 11:59:04'::timestamp) - extract(epoch from '2026-07-07 11:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413303 -2.740534)'), GeomFromEWKT('SRID=4674;POINT (-40.41328 -2.740547)'))) / (select extract(epoch from '2026-07-07 11:59:04'::timestamp) - extract(epoch from '2026-07-07 11: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'), 47829, 'SRID=4674;POINT (-40.413268 -2.740554)', '2026-07-07 11:59:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41328 -2.740547)'), GeomFromEWKT('SRID=4674;POINT (-40.413268 -2.740554)'))) / (select extract(epoch from '2026-07-07 11:59:05'::timestamp) - extract(epoch from '2026-07-07 11:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41328 -2.740547)'), GeomFromEWKT('SRID=4674;POINT (-40.413268 -2.740554)'))) / (select extract(epoch from '2026-07-07 11:59:05'::timestamp) - extract(epoch from '2026-07-07 11:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.413221 -2.740592)', '2026-07-07 11:59:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413268 -2.740554)'), GeomFromEWKT('SRID=4674;POINT (-40.413221 -2.740592)'))) / (select extract(epoch from '2026-07-07 11:59:09'::timestamp) - extract(epoch from '2026-07-07 11:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413268 -2.740554)'), GeomFromEWKT('SRID=4674;POINT (-40.413221 -2.740592)'))) / (select extract(epoch from '2026-07-07 11:59:09'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.413211 -2.740602)', '2026-07-07 11:59:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413221 -2.740592)'), GeomFromEWKT('SRID=4674;POINT (-40.413211 -2.740602)'))) / (select extract(epoch from '2026-07-07 11:59:10'::timestamp) - extract(epoch from '2026-07-07 11:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413221 -2.740592)'), GeomFromEWKT('SRID=4674;POINT (-40.413211 -2.740602)'))) / (select extract(epoch from '2026-07-07 11:59:10'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.413128 -2.740647)', '2026-07-07 11:59:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413211 -2.740602)'), GeomFromEWKT('SRID=4674;POINT (-40.413128 -2.740647)'))) / (select extract(epoch from '2026-07-07 11:59:16'::timestamp) - extract(epoch from '2026-07-07 11:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413211 -2.740602)'), GeomFromEWKT('SRID=4674;POINT (-40.413128 -2.740647)'))) / (select extract(epoch from '2026-07-07 11:59:16'::timestamp) - extract(epoch from '2026-07-07 11: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'), 47829, 'SRID=4674;POINT (-40.413043 -2.740701)', '2026-07-07 11:59:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413128 -2.740647)'), GeomFromEWKT('SRID=4674;POINT (-40.413043 -2.740701)'))) / (select extract(epoch from '2026-07-07 11:59:22'::timestamp) - extract(epoch from '2026-07-07 11:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413128 -2.740647)'), GeomFromEWKT('SRID=4674;POINT (-40.413043 -2.740701)'))) / (select extract(epoch from '2026-07-07 11:59:22'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.413017 -2.740718)', '2026-07-07 11:59:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413043 -2.740701)'), GeomFromEWKT('SRID=4674;POINT (-40.413017 -2.740718)'))) / (select extract(epoch from '2026-07-07 11:59:24'::timestamp) - extract(epoch from '2026-07-07 11:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413043 -2.740701)'), GeomFromEWKT('SRID=4674;POINT (-40.413017 -2.740718)'))) / (select extract(epoch from '2026-07-07 11:59:24'::timestamp) - extract(epoch from '2026-07-07 11:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.412976 -2.740742)', '2026-07-07 11:59:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413017 -2.740718)'), GeomFromEWKT('SRID=4674;POINT (-40.412976 -2.740742)'))) / (select extract(epoch from '2026-07-07 11:59:27'::timestamp) - extract(epoch from '2026-07-07 11:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413017 -2.740718)'), GeomFromEWKT('SRID=4674;POINT (-40.412976 -2.740742)'))) / (select extract(epoch from '2026-07-07 11:59:27'::timestamp) - extract(epoch from '2026-07-07 11: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'), 47829, 'SRID=4674;POINT (-40.412899 -2.740805)', '2026-07-07 11:59:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412976 -2.740742)'), GeomFromEWKT('SRID=4674;POINT (-40.412899 -2.740805)'))) / (select extract(epoch from '2026-07-07 11:59:33'::timestamp) - extract(epoch from '2026-07-07 11:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412976 -2.740742)'), GeomFromEWKT('SRID=4674;POINT (-40.412899 -2.740805)'))) / (select extract(epoch from '2026-07-07 11:59:33'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.412887 -2.740814)', '2026-07-07 11:59:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412899 -2.740805)'), GeomFromEWKT('SRID=4674;POINT (-40.412887 -2.740814)'))) / (select extract(epoch from '2026-07-07 11:59:34'::timestamp) - extract(epoch from '2026-07-07 11:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412899 -2.740805)'), GeomFromEWKT('SRID=4674;POINT (-40.412887 -2.740814)'))) / (select extract(epoch from '2026-07-07 11:59:34'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.41284 -2.740852)', '2026-07-07 11:59:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412887 -2.740814)'), GeomFromEWKT('SRID=4674;POINT (-40.41284 -2.740852)'))) / (select extract(epoch from '2026-07-07 11:59:38'::timestamp) - extract(epoch from '2026-07-07 11:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412887 -2.740814)'), GeomFromEWKT('SRID=4674;POINT (-40.41284 -2.740852)'))) / (select extract(epoch from '2026-07-07 11:59:38'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.412819 -2.740876)', '2026-07-07 11:59:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41284 -2.740852)'), GeomFromEWKT('SRID=4674;POINT (-40.412819 -2.740876)'))) / (select extract(epoch from '2026-07-07 11:59:40'::timestamp) - extract(epoch from '2026-07-07 11:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41284 -2.740852)'), GeomFromEWKT('SRID=4674;POINT (-40.412819 -2.740876)'))) / (select extract(epoch from '2026-07-07 11:59:40'::timestamp) - extract(epoch from '2026-07-07 11: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'), 47829, 'SRID=4674;POINT (-40.412784 -2.740903)', '2026-07-07 11:59:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412819 -2.740876)'), GeomFromEWKT('SRID=4674;POINT (-40.412784 -2.740903)'))) / (select extract(epoch from '2026-07-07 11:59:43'::timestamp) - extract(epoch from '2026-07-07 11:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412819 -2.740876)'), GeomFromEWKT('SRID=4674;POINT (-40.412784 -2.740903)'))) / (select extract(epoch from '2026-07-07 11:59:43'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.412769 -2.740912)', '2026-07-07 11:59:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412784 -2.740903)'), GeomFromEWKT('SRID=4674;POINT (-40.412769 -2.740912)'))) / (select extract(epoch from '2026-07-07 11:59:44'::timestamp) - extract(epoch from '2026-07-07 11:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412784 -2.740903)'), GeomFromEWKT('SRID=4674;POINT (-40.412769 -2.740912)'))) / (select extract(epoch from '2026-07-07 11:59:44'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.412743 -2.740934)', '2026-07-07 11:59:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412769 -2.740912)'), GeomFromEWKT('SRID=4674;POINT (-40.412743 -2.740934)'))) / (select extract(epoch from '2026-07-07 11:59:46'::timestamp) - extract(epoch from '2026-07-07 11:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412769 -2.740912)'), GeomFromEWKT('SRID=4674;POINT (-40.412743 -2.740934)'))) / (select extract(epoch from '2026-07-07 11:59:46'::timestamp) - extract(epoch from '2026-07-07 11: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'), 47829, 'SRID=4674;POINT (-40.41273 -2.740947)', '2026-07-07 11:59:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412743 -2.740934)'), GeomFromEWKT('SRID=4674;POINT (-40.41273 -2.740947)'))) / (select extract(epoch from '2026-07-07 11:59:47'::timestamp) - extract(epoch from '2026-07-07 11:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412743 -2.740934)'), GeomFromEWKT('SRID=4674;POINT (-40.41273 -2.740947)'))) / (select extract(epoch from '2026-07-07 11:59:47'::timestamp) - extract(epoch from '2026-07-07 11:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.412676 -2.741011)', '2026-07-07 11:59:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41273 -2.740947)'), GeomFromEWKT('SRID=4674;POINT (-40.412676 -2.741011)'))) / (select extract(epoch from '2026-07-07 11:59:52'::timestamp) - extract(epoch from '2026-07-07 11:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41273 -2.740947)'), GeomFromEWKT('SRID=4674;POINT (-40.412676 -2.741011)'))) / (select extract(epoch from '2026-07-07 11:59:52'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.41261 -2.741077)', '2026-07-07 11:59:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412676 -2.741011)'), GeomFromEWKT('SRID=4674;POINT (-40.41261 -2.741077)'))) / (select extract(epoch from '2026-07-07 11:59:58'::timestamp) - extract(epoch from '2026-07-07 11:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412676 -2.741011)'), GeomFromEWKT('SRID=4674;POINT (-40.41261 -2.741077)'))) / (select extract(epoch from '2026-07-07 11:59:58'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.412573 -2.741121)', '2026-07-07 12:00:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41261 -2.741077)'), GeomFromEWKT('SRID=4674;POINT (-40.412573 -2.741121)'))) / (select extract(epoch from '2026-07-07 12:00:02'::timestamp) - extract(epoch from '2026-07-07 11:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41261 -2.741077)'), GeomFromEWKT('SRID=4674;POINT (-40.412573 -2.741121)'))) / (select extract(epoch from '2026-07-07 12:00:02'::timestamp) - extract(epoch from '2026-07-07 11:59: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'), 47829, 'SRID=4674;POINT (-40.412551 -2.74114)', '2026-07-07 12:00:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412573 -2.741121)'), GeomFromEWKT('SRID=4674;POINT (-40.412551 -2.74114)'))) / (select extract(epoch from '2026-07-07 12:00:04'::timestamp) - extract(epoch from '2026-07-07 12:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412573 -2.741121)'), GeomFromEWKT('SRID=4674;POINT (-40.412551 -2.74114)'))) / (select extract(epoch from '2026-07-07 12:00:04'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412504 -2.741184)', '2026-07-07 12:00:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412551 -2.74114)'), GeomFromEWKT('SRID=4674;POINT (-40.412504 -2.741184)'))) / (select extract(epoch from '2026-07-07 12:00:08'::timestamp) - extract(epoch from '2026-07-07 12:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412551 -2.74114)'), GeomFromEWKT('SRID=4674;POINT (-40.412504 -2.741184)'))) / (select extract(epoch from '2026-07-07 12:00:08'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.412439 -2.741248)', '2026-07-07 12:00:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412504 -2.741184)'), GeomFromEWKT('SRID=4674;POINT (-40.412439 -2.741248)'))) / (select extract(epoch from '2026-07-07 12:00:14'::timestamp) - extract(epoch from '2026-07-07 12:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412504 -2.741184)'), GeomFromEWKT('SRID=4674;POINT (-40.412439 -2.741248)'))) / (select extract(epoch from '2026-07-07 12:00:14'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412414 -2.741284)', '2026-07-07 12:00:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412439 -2.741248)'), GeomFromEWKT('SRID=4674;POINT (-40.412414 -2.741284)'))) / (select extract(epoch from '2026-07-07 12:00:17'::timestamp) - extract(epoch from '2026-07-07 12:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412439 -2.741248)'), GeomFromEWKT('SRID=4674;POINT (-40.412414 -2.741284)'))) / (select extract(epoch from '2026-07-07 12:00:17'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412391 -2.741321)', '2026-07-07 12:00:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412414 -2.741284)'), GeomFromEWKT('SRID=4674;POINT (-40.412391 -2.741321)'))) / (select extract(epoch from '2026-07-07 12:00:20'::timestamp) - extract(epoch from '2026-07-07 12:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412414 -2.741284)'), GeomFromEWKT('SRID=4674;POINT (-40.412391 -2.741321)'))) / (select extract(epoch from '2026-07-07 12:00:20'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.412382 -2.741334)', '2026-07-07 12:00:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412391 -2.741321)'), GeomFromEWKT('SRID=4674;POINT (-40.412382 -2.741334)'))) / (select extract(epoch from '2026-07-07 12:00:21'::timestamp) - extract(epoch from '2026-07-07 12:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412391 -2.741321)'), GeomFromEWKT('SRID=4674;POINT (-40.412382 -2.741334)'))) / (select extract(epoch from '2026-07-07 12:00:21'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412349 -2.741391)', '2026-07-07 12:00:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412382 -2.741334)'), GeomFromEWKT('SRID=4674;POINT (-40.412349 -2.741391)'))) / (select extract(epoch from '2026-07-07 12:00:25'::timestamp) - extract(epoch from '2026-07-07 12:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412382 -2.741334)'), GeomFromEWKT('SRID=4674;POINT (-40.412349 -2.741391)'))) / (select extract(epoch from '2026-07-07 12:00:25'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.41231 -2.741458)', '2026-07-07 12:00:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412349 -2.741391)'), GeomFromEWKT('SRID=4674;POINT (-40.41231 -2.741458)'))) / (select extract(epoch from '2026-07-07 12:00:30'::timestamp) - extract(epoch from '2026-07-07 12:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412349 -2.741391)'), GeomFromEWKT('SRID=4674;POINT (-40.41231 -2.741458)'))) / (select extract(epoch from '2026-07-07 12:00:30'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412303 -2.741472)', '2026-07-07 12:00:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41231 -2.741458)'), GeomFromEWKT('SRID=4674;POINT (-40.412303 -2.741472)'))) / (select extract(epoch from '2026-07-07 12:00:31'::timestamp) - extract(epoch from '2026-07-07 12:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41231 -2.741458)'), GeomFromEWKT('SRID=4674;POINT (-40.412303 -2.741472)'))) / (select extract(epoch from '2026-07-07 12:00:31'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412273 -2.741508)', '2026-07-07 12:00:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412303 -2.741472)'), GeomFromEWKT('SRID=4674;POINT (-40.412273 -2.741508)'))) / (select extract(epoch from '2026-07-07 12:00:34'::timestamp) - extract(epoch from '2026-07-07 12:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412303 -2.741472)'), GeomFromEWKT('SRID=4674;POINT (-40.412273 -2.741508)'))) / (select extract(epoch from '2026-07-07 12:00:34'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412223 -2.741576)', '2026-07-07 12:00:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412273 -2.741508)'), GeomFromEWKT('SRID=4674;POINT (-40.412223 -2.741576)'))) / (select extract(epoch from '2026-07-07 12:00:40'::timestamp) - extract(epoch from '2026-07-07 12:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412273 -2.741508)'), GeomFromEWKT('SRID=4674;POINT (-40.412223 -2.741576)'))) / (select extract(epoch from '2026-07-07 12:00:40'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412166 -2.741653)', '2026-07-07 12:00:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412223 -2.741576)'), GeomFromEWKT('SRID=4674;POINT (-40.412166 -2.741653)'))) / (select extract(epoch from '2026-07-07 12:00:46'::timestamp) - extract(epoch from '2026-07-07 12:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412223 -2.741576)'), GeomFromEWKT('SRID=4674;POINT (-40.412166 -2.741653)'))) / (select extract(epoch from '2026-07-07 12:00:46'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412112 -2.741722)', '2026-07-07 12:00:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412166 -2.741653)'), GeomFromEWKT('SRID=4674;POINT (-40.412112 -2.741722)'))) / (select extract(epoch from '2026-07-07 12:00:52'::timestamp) - extract(epoch from '2026-07-07 12:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412166 -2.741653)'), GeomFromEWKT('SRID=4674;POINT (-40.412112 -2.741722)'))) / (select extract(epoch from '2026-07-07 12:00:52'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.412071 -2.74177)', '2026-07-07 12:00:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412112 -2.741722)'), GeomFromEWKT('SRID=4674;POINT (-40.412071 -2.74177)'))) / (select extract(epoch from '2026-07-07 12:00:56'::timestamp) - extract(epoch from '2026-07-07 12:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412112 -2.741722)'), GeomFromEWKT('SRID=4674;POINT (-40.412071 -2.74177)'))) / (select extract(epoch from '2026-07-07 12:00:56'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.412056 -2.741795)', '2026-07-07 12:00:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412071 -2.74177)'), GeomFromEWKT('SRID=4674;POINT (-40.412056 -2.741795)'))) / (select extract(epoch from '2026-07-07 12:00:58'::timestamp) - extract(epoch from '2026-07-07 12:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412071 -2.74177)'), GeomFromEWKT('SRID=4674;POINT (-40.412056 -2.741795)'))) / (select extract(epoch from '2026-07-07 12:00:58'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412032 -2.741815)', '2026-07-07 12:01:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412056 -2.741795)'), GeomFromEWKT('SRID=4674;POINT (-40.412032 -2.741815)'))) / (select extract(epoch from '2026-07-07 12:01:00'::timestamp) - extract(epoch from '2026-07-07 12:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412056 -2.741795)'), GeomFromEWKT('SRID=4674;POINT (-40.412032 -2.741815)'))) / (select extract(epoch from '2026-07-07 12:01:00'::timestamp) - extract(epoch from '2026-07-07 12:00: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'), 47829, 'SRID=4674;POINT (-40.412006 -2.741859)', '2026-07-07 12:01:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412032 -2.741815)'), GeomFromEWKT('SRID=4674;POINT (-40.412006 -2.741859)'))) / (select extract(epoch from '2026-07-07 12:01:03'::timestamp) - extract(epoch from '2026-07-07 12:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412032 -2.741815)'), GeomFromEWKT('SRID=4674;POINT (-40.412006 -2.741859)'))) / (select extract(epoch from '2026-07-07 12:01:03'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411951 -2.74195)', '2026-07-07 12:01:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412006 -2.741859)'), GeomFromEWKT('SRID=4674;POINT (-40.411951 -2.74195)'))) / (select extract(epoch from '2026-07-07 12:01:10'::timestamp) - extract(epoch from '2026-07-07 12:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412006 -2.741859)'), GeomFromEWKT('SRID=4674;POINT (-40.411951 -2.74195)'))) / (select extract(epoch from '2026-07-07 12:01:10'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411911 -2.742019)', '2026-07-07 12:01:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411951 -2.74195)'), GeomFromEWKT('SRID=4674;POINT (-40.411911 -2.742019)'))) / (select extract(epoch from '2026-07-07 12:01:15'::timestamp) - extract(epoch from '2026-07-07 12:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411951 -2.74195)'), GeomFromEWKT('SRID=4674;POINT (-40.411911 -2.742019)'))) / (select extract(epoch from '2026-07-07 12:01:15'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411896 -2.742044)', '2026-07-07 12:01:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411911 -2.742019)'), GeomFromEWKT('SRID=4674;POINT (-40.411896 -2.742044)'))) / (select extract(epoch from '2026-07-07 12:01:17'::timestamp) - extract(epoch from '2026-07-07 12:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411911 -2.742019)'), GeomFromEWKT('SRID=4674;POINT (-40.411896 -2.742044)'))) / (select extract(epoch from '2026-07-07 12:01:17'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411855 -2.742135)', '2026-07-07 12:01:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411896 -2.742044)'), GeomFromEWKT('SRID=4674;POINT (-40.411855 -2.742135)'))) / (select extract(epoch from '2026-07-07 12:01:23'::timestamp) - extract(epoch from '2026-07-07 12:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411896 -2.742044)'), GeomFromEWKT('SRID=4674;POINT (-40.411855 -2.742135)'))) / (select extract(epoch from '2026-07-07 12:01:23'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411842 -2.742161)', '2026-07-07 12:01:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411855 -2.742135)'), GeomFromEWKT('SRID=4674;POINT (-40.411842 -2.742161)'))) / (select extract(epoch from '2026-07-07 12:01:25'::timestamp) - extract(epoch from '2026-07-07 12:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411855 -2.742135)'), GeomFromEWKT('SRID=4674;POINT (-40.411842 -2.742161)'))) / (select extract(epoch from '2026-07-07 12:01:25'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.41183 -2.742184)', '2026-07-07 12:01:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411842 -2.742161)'), GeomFromEWKT('SRID=4674;POINT (-40.41183 -2.742184)'))) / (select extract(epoch from '2026-07-07 12:01:27'::timestamp) - extract(epoch from '2026-07-07 12:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411842 -2.742161)'), GeomFromEWKT('SRID=4674;POINT (-40.41183 -2.742184)'))) / (select extract(epoch from '2026-07-07 12:01:27'::timestamp) - extract(epoch from '2026-07-07 12:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.411822 -2.742212)', '2026-07-07 12:01:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41183 -2.742184)'), GeomFromEWKT('SRID=4674;POINT (-40.411822 -2.742212)'))) / (select extract(epoch from '2026-07-07 12:01:29'::timestamp) - extract(epoch from '2026-07-07 12:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41183 -2.742184)'), GeomFromEWKT('SRID=4674;POINT (-40.411822 -2.742212)'))) / (select extract(epoch from '2026-07-07 12:01:29'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411803 -2.742256)', '2026-07-07 12:01:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411822 -2.742212)'), GeomFromEWKT('SRID=4674;POINT (-40.411803 -2.742256)'))) / (select extract(epoch from '2026-07-07 12:01:32'::timestamp) - extract(epoch from '2026-07-07 12:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411822 -2.742212)'), GeomFromEWKT('SRID=4674;POINT (-40.411803 -2.742256)'))) / (select extract(epoch from '2026-07-07 12:01:32'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411789 -2.742282)', '2026-07-07 12:01:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411803 -2.742256)'), GeomFromEWKT('SRID=4674;POINT (-40.411789 -2.742282)'))) / (select extract(epoch from '2026-07-07 12:01:34'::timestamp) - extract(epoch from '2026-07-07 12:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411803 -2.742256)'), GeomFromEWKT('SRID=4674;POINT (-40.411789 -2.742282)'))) / (select extract(epoch from '2026-07-07 12:01:34'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411767 -2.742339)', '2026-07-07 12:01:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411789 -2.742282)'), GeomFromEWKT('SRID=4674;POINT (-40.411767 -2.742339)'))) / (select extract(epoch from '2026-07-07 12:01:38'::timestamp) - extract(epoch from '2026-07-07 12:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411789 -2.742282)'), GeomFromEWKT('SRID=4674;POINT (-40.411767 -2.742339)'))) / (select extract(epoch from '2026-07-07 12:01:38'::timestamp) - extract(epoch from '2026-07-07 12:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.411717 -2.742434)', '2026-07-07 12:01:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411767 -2.742339)'), GeomFromEWKT('SRID=4674;POINT (-40.411717 -2.742434)'))) / (select extract(epoch from '2026-07-07 12:01:45'::timestamp) - extract(epoch from '2026-07-07 12:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411767 -2.742339)'), GeomFromEWKT('SRID=4674;POINT (-40.411717 -2.742434)'))) / (select extract(epoch from '2026-07-07 12:01:45'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411647 -2.742505)', '2026-07-07 12:01:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411717 -2.742434)'), GeomFromEWKT('SRID=4674;POINT (-40.411647 -2.742505)'))) / (select extract(epoch from '2026-07-07 12:01:52'::timestamp) - extract(epoch from '2026-07-07 12:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411717 -2.742434)'), GeomFromEWKT('SRID=4674;POINT (-40.411647 -2.742505)'))) / (select extract(epoch from '2026-07-07 12:01:52'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411581 -2.742573)', '2026-07-07 12:01:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411647 -2.742505)'), GeomFromEWKT('SRID=4674;POINT (-40.411581 -2.742573)'))) / (select extract(epoch from '2026-07-07 12:01:58'::timestamp) - extract(epoch from '2026-07-07 12:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411647 -2.742505)'), GeomFromEWKT('SRID=4674;POINT (-40.411581 -2.742573)'))) / (select extract(epoch from '2026-07-07 12:01:58'::timestamp) - extract(epoch from '2026-07-07 12:01: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'), 47829, 'SRID=4674;POINT (-40.411532 -2.742631)', '2026-07-07 12:02:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411581 -2.742573)'), GeomFromEWKT('SRID=4674;POINT (-40.411532 -2.742631)'))) / (select extract(epoch from '2026-07-07 12:02:03'::timestamp) - extract(epoch from '2026-07-07 12:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411581 -2.742573)'), GeomFromEWKT('SRID=4674;POINT (-40.411532 -2.742631)'))) / (select extract(epoch from '2026-07-07 12:02:03'::timestamp) - extract(epoch from '2026-07-07 12:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.411452 -2.742711)', '2026-07-07 12:02:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411532 -2.742631)'), GeomFromEWKT('SRID=4674;POINT (-40.411452 -2.742711)'))) / (select extract(epoch from '2026-07-07 12:02:10'::timestamp) - extract(epoch from '2026-07-07 12:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411532 -2.742631)'), GeomFromEWKT('SRID=4674;POINT (-40.411452 -2.742711)'))) / (select extract(epoch from '2026-07-07 12:02:10'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411397 -2.742758)', '2026-07-07 12:02:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411452 -2.742711)'), GeomFromEWKT('SRID=4674;POINT (-40.411397 -2.742758)'))) / (select extract(epoch from '2026-07-07 12:02:15'::timestamp) - extract(epoch from '2026-07-07 12:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411452 -2.742711)'), GeomFromEWKT('SRID=4674;POINT (-40.411397 -2.742758)'))) / (select extract(epoch from '2026-07-07 12:02:15'::timestamp) - extract(epoch from '2026-07-07 12:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.411374 -2.742776)', '2026-07-07 12:02:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411397 -2.742758)'), GeomFromEWKT('SRID=4674;POINT (-40.411374 -2.742776)'))) / (select extract(epoch from '2026-07-07 12:02:17'::timestamp) - extract(epoch from '2026-07-07 12:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411397 -2.742758)'), GeomFromEWKT('SRID=4674;POINT (-40.411374 -2.742776)'))) / (select extract(epoch from '2026-07-07 12:02:17'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411357 -2.742795)', '2026-07-07 12:02:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411374 -2.742776)'), GeomFromEWKT('SRID=4674;POINT (-40.411357 -2.742795)'))) / (select extract(epoch from '2026-07-07 12:02:19'::timestamp) - extract(epoch from '2026-07-07 12:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411374 -2.742776)'), GeomFromEWKT('SRID=4674;POINT (-40.411357 -2.742795)'))) / (select extract(epoch from '2026-07-07 12:02:19'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411346 -2.742802)', '2026-07-07 12:02:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411357 -2.742795)'), GeomFromEWKT('SRID=4674;POINT (-40.411346 -2.742802)'))) / (select extract(epoch from '2026-07-07 12:02:20'::timestamp) - extract(epoch from '2026-07-07 12:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411357 -2.742795)'), GeomFromEWKT('SRID=4674;POINT (-40.411346 -2.742802)'))) / (select extract(epoch from '2026-07-07 12:02:20'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.411339 -2.74281)', '2026-07-07 12:02:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411346 -2.742802)'), GeomFromEWKT('SRID=4674;POINT (-40.411339 -2.74281)'))) / (select extract(epoch from '2026-07-07 12:02:21'::timestamp) - extract(epoch from '2026-07-07 12:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411346 -2.742802)'), GeomFromEWKT('SRID=4674;POINT (-40.411339 -2.74281)'))) / (select extract(epoch from '2026-07-07 12:02:21'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411322 -2.742833)', '2026-07-07 12:02:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411339 -2.74281)'), GeomFromEWKT('SRID=4674;POINT (-40.411322 -2.742833)'))) / (select extract(epoch from '2026-07-07 12:02:23'::timestamp) - extract(epoch from '2026-07-07 12:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411339 -2.74281)'), GeomFromEWKT('SRID=4674;POINT (-40.411322 -2.742833)'))) / (select extract(epoch from '2026-07-07 12:02:23'::timestamp) - extract(epoch from '2026-07-07 12:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.411312 -2.742844)', '2026-07-07 12:02:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411322 -2.742833)'), GeomFromEWKT('SRID=4674;POINT (-40.411312 -2.742844)'))) / (select extract(epoch from '2026-07-07 12:02:24'::timestamp) - extract(epoch from '2026-07-07 12:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411322 -2.742833)'), GeomFromEWKT('SRID=4674;POINT (-40.411312 -2.742844)'))) / (select extract(epoch from '2026-07-07 12:02:24'::timestamp) - extract(epoch from '2026-07-07 12:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.411274 -2.742891)', '2026-07-07 12:02:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411312 -2.742844)'), GeomFromEWKT('SRID=4674;POINT (-40.411274 -2.742891)'))) / (select extract(epoch from '2026-07-07 12:02:28'::timestamp) - extract(epoch from '2026-07-07 12:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411312 -2.742844)'), GeomFromEWKT('SRID=4674;POINT (-40.411274 -2.742891)'))) / (select extract(epoch from '2026-07-07 12:02:28'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411265 -2.742904)', '2026-07-07 12:02:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411274 -2.742891)'), GeomFromEWKT('SRID=4674;POINT (-40.411265 -2.742904)'))) / (select extract(epoch from '2026-07-07 12:02:29'::timestamp) - extract(epoch from '2026-07-07 12:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411274 -2.742891)'), GeomFromEWKT('SRID=4674;POINT (-40.411265 -2.742904)'))) / (select extract(epoch from '2026-07-07 12:02:29'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411188 -2.742983)', '2026-07-07 12:02:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411265 -2.742904)'), GeomFromEWKT('SRID=4674;POINT (-40.411188 -2.742983)'))) / (select extract(epoch from '2026-07-07 12:02:37'::timestamp) - extract(epoch from '2026-07-07 12:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411265 -2.742904)'), GeomFromEWKT('SRID=4674;POINT (-40.411188 -2.742983)'))) / (select extract(epoch from '2026-07-07 12:02:37'::timestamp) - extract(epoch from '2026-07-07 12:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.411167 -2.743019)', '2026-07-07 12:02:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411188 -2.742983)'), GeomFromEWKT('SRID=4674;POINT (-40.411167 -2.743019)'))) / (select extract(epoch from '2026-07-07 12:02:40'::timestamp) - extract(epoch from '2026-07-07 12:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411188 -2.742983)'), GeomFromEWKT('SRID=4674;POINT (-40.411167 -2.743019)'))) / (select extract(epoch from '2026-07-07 12:02:40'::timestamp) - extract(epoch from '2026-07-07 12:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.411155 -2.743046)', '2026-07-07 12:02:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411167 -2.743019)'), GeomFromEWKT('SRID=4674;POINT (-40.411155 -2.743046)'))) / (select extract(epoch from '2026-07-07 12:02:42'::timestamp) - extract(epoch from '2026-07-07 12:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411167 -2.743019)'), GeomFromEWKT('SRID=4674;POINT (-40.411155 -2.743046)'))) / (select extract(epoch from '2026-07-07 12:02:42'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411152 -2.743066)', '2026-07-07 12:02:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411155 -2.743046)'), GeomFromEWKT('SRID=4674;POINT (-40.411152 -2.743066)'))) / (select extract(epoch from '2026-07-07 12:02:43'::timestamp) - extract(epoch from '2026-07-07 12:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411155 -2.743046)'), GeomFromEWKT('SRID=4674;POINT (-40.411152 -2.743066)'))) / (select extract(epoch from '2026-07-07 12:02:43'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411114 -2.743134)', '2026-07-07 12:02:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411152 -2.743066)'), GeomFromEWKT('SRID=4674;POINT (-40.411114 -2.743134)'))) / (select extract(epoch from '2026-07-07 12:02:48'::timestamp) - extract(epoch from '2026-07-07 12:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411152 -2.743066)'), GeomFromEWKT('SRID=4674;POINT (-40.411114 -2.743134)'))) / (select extract(epoch from '2026-07-07 12:02:48'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411058 -2.743239)', '2026-07-07 12:02:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411114 -2.743134)'), GeomFromEWKT('SRID=4674;POINT (-40.411058 -2.743239)'))) / (select extract(epoch from '2026-07-07 12:02:56'::timestamp) - extract(epoch from '2026-07-07 12:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411114 -2.743134)'), GeomFromEWKT('SRID=4674;POINT (-40.411058 -2.743239)'))) / (select extract(epoch from '2026-07-07 12:02:56'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411009 -2.743307)', '2026-07-07 12:03:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411058 -2.743239)'), GeomFromEWKT('SRID=4674;POINT (-40.411009 -2.743307)'))) / (select extract(epoch from '2026-07-07 12:03:02'::timestamp) - extract(epoch from '2026-07-07 12:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411058 -2.743239)'), GeomFromEWKT('SRID=4674;POINT (-40.411009 -2.743307)'))) / (select extract(epoch from '2026-07-07 12:03:02'::timestamp) - extract(epoch from '2026-07-07 12:02: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'), 47829, 'SRID=4674;POINT (-40.411002 -2.74332)', '2026-07-07 12:03:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411009 -2.743307)'), GeomFromEWKT('SRID=4674;POINT (-40.411002 -2.74332)'))) / (select extract(epoch from '2026-07-07 12:03:03'::timestamp) - extract(epoch from '2026-07-07 12:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411009 -2.743307)'), GeomFromEWKT('SRID=4674;POINT (-40.411002 -2.74332)'))) / (select extract(epoch from '2026-07-07 12:03:03'::timestamp) - extract(epoch from '2026-07-07 12:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.410973 -2.743382)', '2026-07-07 12:03:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411002 -2.74332)'), GeomFromEWKT('SRID=4674;POINT (-40.410973 -2.743382)'))) / (select extract(epoch from '2026-07-07 12:03:07'::timestamp) - extract(epoch from '2026-07-07 12:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411002 -2.74332)'), GeomFromEWKT('SRID=4674;POINT (-40.410973 -2.743382)'))) / (select extract(epoch from '2026-07-07 12:03:07'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.410928 -2.743467)', '2026-07-07 12:03:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410973 -2.743382)'), GeomFromEWKT('SRID=4674;POINT (-40.410928 -2.743467)'))) / (select extract(epoch from '2026-07-07 12:03:14'::timestamp) - extract(epoch from '2026-07-07 12:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410973 -2.743382)'), GeomFromEWKT('SRID=4674;POINT (-40.410928 -2.743467)'))) / (select extract(epoch from '2026-07-07 12:03:14'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.41089 -2.743561)', '2026-07-07 12:03:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410928 -2.743467)'), GeomFromEWKT('SRID=4674;POINT (-40.41089 -2.743561)'))) / (select extract(epoch from '2026-07-07 12:03:21'::timestamp) - extract(epoch from '2026-07-07 12:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410928 -2.743467)'), GeomFromEWKT('SRID=4674;POINT (-40.41089 -2.743561)'))) / (select extract(epoch from '2026-07-07 12:03:21'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.410874 -2.743584)', '2026-07-07 12:03:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41089 -2.743561)'), GeomFromEWKT('SRID=4674;POINT (-40.410874 -2.743584)'))) / (select extract(epoch from '2026-07-07 12:03:23'::timestamp) - extract(epoch from '2026-07-07 12:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41089 -2.743561)'), GeomFromEWKT('SRID=4674;POINT (-40.410874 -2.743584)'))) / (select extract(epoch from '2026-07-07 12:03:23'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.41085 -2.743622)', '2026-07-07 12:03:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410874 -2.743584)'), GeomFromEWKT('SRID=4674;POINT (-40.41085 -2.743622)'))) / (select extract(epoch from '2026-07-07 12:03:26'::timestamp) - extract(epoch from '2026-07-07 12:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410874 -2.743584)'), GeomFromEWKT('SRID=4674;POINT (-40.41085 -2.743622)'))) / (select extract(epoch from '2026-07-07 12:03:26'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.410826 -2.743678)', '2026-07-07 12:03:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41085 -2.743622)'), GeomFromEWKT('SRID=4674;POINT (-40.410826 -2.743678)'))) / (select extract(epoch from '2026-07-07 12:03:30'::timestamp) - extract(epoch from '2026-07-07 12:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41085 -2.743622)'), GeomFromEWKT('SRID=4674;POINT (-40.410826 -2.743678)'))) / (select extract(epoch from '2026-07-07 12:03:30'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.410813 -2.743702)', '2026-07-07 12:03:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410826 -2.743678)'), GeomFromEWKT('SRID=4674;POINT (-40.410813 -2.743702)'))) / (select extract(epoch from '2026-07-07 12:03:32'::timestamp) - extract(epoch from '2026-07-07 12:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410826 -2.743678)'), GeomFromEWKT('SRID=4674;POINT (-40.410813 -2.743702)'))) / (select extract(epoch from '2026-07-07 12:03:32'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.410772 -2.743813)', '2026-07-07 12:03:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410813 -2.743702)'), GeomFromEWKT('SRID=4674;POINT (-40.410772 -2.743813)'))) / (select extract(epoch from '2026-07-07 12:03:39'::timestamp) - extract(epoch from '2026-07-07 12:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410813 -2.743702)'), GeomFromEWKT('SRID=4674;POINT (-40.410772 -2.743813)'))) / (select extract(epoch from '2026-07-07 12:03:39'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.410732 -2.743885)', '2026-07-07 12:03:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410772 -2.743813)'), GeomFromEWKT('SRID=4674;POINT (-40.410732 -2.743885)'))) / (select extract(epoch from '2026-07-07 12:03:45'::timestamp) - extract(epoch from '2026-07-07 12:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410772 -2.743813)'), GeomFromEWKT('SRID=4674;POINT (-40.410732 -2.743885)'))) / (select extract(epoch from '2026-07-07 12:03:45'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.410695 -2.743921)', '2026-07-07 12:03:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410732 -2.743885)'), GeomFromEWKT('SRID=4674;POINT (-40.410695 -2.743921)'))) / (select extract(epoch from '2026-07-07 12:03:49'::timestamp) - extract(epoch from '2026-07-07 12:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410732 -2.743885)'), GeomFromEWKT('SRID=4674;POINT (-40.410695 -2.743921)'))) / (select extract(epoch from '2026-07-07 12:03:49'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.410673 -2.743931)', '2026-07-07 12:03:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410695 -2.743921)'), GeomFromEWKT('SRID=4674;POINT (-40.410673 -2.743931)'))) / (select extract(epoch from '2026-07-07 12:03:51'::timestamp) - extract(epoch from '2026-07-07 12:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410695 -2.743921)'), GeomFromEWKT('SRID=4674;POINT (-40.410673 -2.743931)'))) / (select extract(epoch from '2026-07-07 12:03:51'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.410665 -2.743936)', '2026-07-07 12:03:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410673 -2.743931)'), GeomFromEWKT('SRID=4674;POINT (-40.410665 -2.743936)'))) / (select extract(epoch from '2026-07-07 12:03:52'::timestamp) - extract(epoch from '2026-07-07 12:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410673 -2.743931)'), GeomFromEWKT('SRID=4674;POINT (-40.410665 -2.743936)'))) / (select extract(epoch from '2026-07-07 12:03:52'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.410635 -2.743955)', '2026-07-07 12:03:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410665 -2.743936)'), GeomFromEWKT('SRID=4674;POINT (-40.410635 -2.743955)'))) / (select extract(epoch from '2026-07-07 12:03:55'::timestamp) - extract(epoch from '2026-07-07 12:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410665 -2.743936)'), GeomFromEWKT('SRID=4674;POINT (-40.410635 -2.743955)'))) / (select extract(epoch from '2026-07-07 12:03:55'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.410587 -2.743975)', '2026-07-07 12:03:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410635 -2.743955)'), GeomFromEWKT('SRID=4674;POINT (-40.410587 -2.743975)'))) / (select extract(epoch from '2026-07-07 12:03:59'::timestamp) - extract(epoch from '2026-07-07 12:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410635 -2.743955)'), GeomFromEWKT('SRID=4674;POINT (-40.410587 -2.743975)'))) / (select extract(epoch from '2026-07-07 12:03:59'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.410576 -2.74398)', '2026-07-07 12:04:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410587 -2.743975)'), GeomFromEWKT('SRID=4674;POINT (-40.410576 -2.74398)'))) / (select extract(epoch from '2026-07-07 12:04:00'::timestamp) - extract(epoch from '2026-07-07 12:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410587 -2.743975)'), GeomFromEWKT('SRID=4674;POINT (-40.410576 -2.74398)'))) / (select extract(epoch from '2026-07-07 12:04:00'::timestamp) - extract(epoch from '2026-07-07 12:03: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'), 47829, 'SRID=4674;POINT (-40.410567 -2.743986)', '2026-07-07 12:04:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410576 -2.74398)'), GeomFromEWKT('SRID=4674;POINT (-40.410567 -2.743986)'))) / (select extract(epoch from '2026-07-07 12:04:01'::timestamp) - extract(epoch from '2026-07-07 12:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410576 -2.74398)'), GeomFromEWKT('SRID=4674;POINT (-40.410567 -2.743986)'))) / (select extract(epoch from '2026-07-07 12:04:01'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.41055 -2.743997)', '2026-07-07 12:04:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410567 -2.743986)'), GeomFromEWKT('SRID=4674;POINT (-40.41055 -2.743997)'))) / (select extract(epoch from '2026-07-07 12:04:03'::timestamp) - extract(epoch from '2026-07-07 12:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410567 -2.743986)'), GeomFromEWKT('SRID=4674;POINT (-40.41055 -2.743997)'))) / (select extract(epoch from '2026-07-07 12:04:03'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.41053 -2.744008)', '2026-07-07 12:04:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41055 -2.743997)'), GeomFromEWKT('SRID=4674;POINT (-40.41053 -2.744008)'))) / (select extract(epoch from '2026-07-07 12:04:05'::timestamp) - extract(epoch from '2026-07-07 12:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41055 -2.743997)'), GeomFromEWKT('SRID=4674;POINT (-40.41053 -2.744008)'))) / (select extract(epoch from '2026-07-07 12:04:05'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.410485 -2.744032)', '2026-07-07 12:04:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41053 -2.744008)'), GeomFromEWKT('SRID=4674;POINT (-40.410485 -2.744032)'))) / (select extract(epoch from '2026-07-07 12:04:09'::timestamp) - extract(epoch from '2026-07-07 12:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41053 -2.744008)'), GeomFromEWKT('SRID=4674;POINT (-40.410485 -2.744032)'))) / (select extract(epoch from '2026-07-07 12:04:09'::timestamp) - extract(epoch from '2026-07-07 12:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.410447 -2.744047)', '2026-07-07 12:04:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410485 -2.744032)'), GeomFromEWKT('SRID=4674;POINT (-40.410447 -2.744047)'))) / (select extract(epoch from '2026-07-07 12:04:12'::timestamp) - extract(epoch from '2026-07-07 12:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410485 -2.744032)'), GeomFromEWKT('SRID=4674;POINT (-40.410447 -2.744047)'))) / (select extract(epoch from '2026-07-07 12:04:12'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.410381 -2.744071)', '2026-07-07 12:04:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410447 -2.744047)'), GeomFromEWKT('SRID=4674;POINT (-40.410381 -2.744071)'))) / (select extract(epoch from '2026-07-07 12:04:17'::timestamp) - extract(epoch from '2026-07-07 12:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410447 -2.744047)'), GeomFromEWKT('SRID=4674;POINT (-40.410381 -2.744071)'))) / (select extract(epoch from '2026-07-07 12:04:17'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.410287 -2.744104)', '2026-07-07 12:04:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410381 -2.744071)'), GeomFromEWKT('SRID=4674;POINT (-40.410287 -2.744104)'))) / (select extract(epoch from '2026-07-07 12:04:24'::timestamp) - extract(epoch from '2026-07-07 12:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410381 -2.744071)'), GeomFromEWKT('SRID=4674;POINT (-40.410287 -2.744104)'))) / (select extract(epoch from '2026-07-07 12:04:24'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.410254 -2.744117)', '2026-07-07 12:04:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410287 -2.744104)'), GeomFromEWKT('SRID=4674;POINT (-40.410254 -2.744117)'))) / (select extract(epoch from '2026-07-07 12:04:27'::timestamp) - extract(epoch from '2026-07-07 12:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410287 -2.744104)'), GeomFromEWKT('SRID=4674;POINT (-40.410254 -2.744117)'))) / (select extract(epoch from '2026-07-07 12:04:27'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.410245 -2.74412)', '2026-07-07 12:04:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410254 -2.744117)'), GeomFromEWKT('SRID=4674;POINT (-40.410245 -2.74412)'))) / (select extract(epoch from '2026-07-07 12:04:28'::timestamp) - extract(epoch from '2026-07-07 12:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410254 -2.744117)'), GeomFromEWKT('SRID=4674;POINT (-40.410245 -2.74412)'))) / (select extract(epoch from '2026-07-07 12:04:28'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.410188 -2.74417)', '2026-07-07 12:04:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410245 -2.74412)'), GeomFromEWKT('SRID=4674;POINT (-40.410188 -2.74417)'))) / (select extract(epoch from '2026-07-07 12:04:34'::timestamp) - extract(epoch from '2026-07-07 12:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410245 -2.74412)'), GeomFromEWKT('SRID=4674;POINT (-40.410188 -2.74417)'))) / (select extract(epoch from '2026-07-07 12:04:34'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.410137 -2.744207)', '2026-07-07 12:04:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410188 -2.74417)'), GeomFromEWKT('SRID=4674;POINT (-40.410137 -2.744207)'))) / (select extract(epoch from '2026-07-07 12:04:40'::timestamp) - extract(epoch from '2026-07-07 12:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410188 -2.74417)'), GeomFromEWKT('SRID=4674;POINT (-40.410137 -2.744207)'))) / (select extract(epoch from '2026-07-07 12:04:40'::timestamp) - extract(epoch from '2026-07-07 12:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.410087 -2.744223)', '2026-07-07 12:04:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410137 -2.744207)'), GeomFromEWKT('SRID=4674;POINT (-40.410087 -2.744223)'))) / (select extract(epoch from '2026-07-07 12:04:45'::timestamp) - extract(epoch from '2026-07-07 12:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410137 -2.744207)'), GeomFromEWKT('SRID=4674;POINT (-40.410087 -2.744223)'))) / (select extract(epoch from '2026-07-07 12:04:45'::timestamp) - extract(epoch from '2026-07-07 12:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.410037 -2.744229)', '2026-07-07 12:04:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410087 -2.744223)'), GeomFromEWKT('SRID=4674;POINT (-40.410037 -2.744229)'))) / (select extract(epoch from '2026-07-07 12:04:49'::timestamp) - extract(epoch from '2026-07-07 12:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410087 -2.744223)'), GeomFromEWKT('SRID=4674;POINT (-40.410037 -2.744229)'))) / (select extract(epoch from '2026-07-07 12:04:49'::timestamp) - extract(epoch from '2026-07-07 12:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.410012 -2.744236)', '2026-07-07 12:04:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410037 -2.744229)'), GeomFromEWKT('SRID=4674;POINT (-40.410012 -2.744236)'))) / (select extract(epoch from '2026-07-07 12:04:51'::timestamp) - extract(epoch from '2026-07-07 12:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410037 -2.744229)'), GeomFromEWKT('SRID=4674;POINT (-40.410012 -2.744236)'))) / (select extract(epoch from '2026-07-07 12:04:51'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.409937 -2.744269)', '2026-07-07 12:04:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410012 -2.744236)'), GeomFromEWKT('SRID=4674;POINT (-40.409937 -2.744269)'))) / (select extract(epoch from '2026-07-07 12:04:57'::timestamp) - extract(epoch from '2026-07-07 12:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410012 -2.744236)'), GeomFromEWKT('SRID=4674;POINT (-40.409937 -2.744269)'))) / (select extract(epoch from '2026-07-07 12:04:57'::timestamp) - extract(epoch from '2026-07-07 12:04: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'), 47829, 'SRID=4674;POINT (-40.409862 -2.744312)', '2026-07-07 12:05:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409937 -2.744269)'), GeomFromEWKT('SRID=4674;POINT (-40.409862 -2.744312)'))) / (select extract(epoch from '2026-07-07 12:05:03'::timestamp) - extract(epoch from '2026-07-07 12:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409937 -2.744269)'), GeomFromEWKT('SRID=4674;POINT (-40.409862 -2.744312)'))) / (select extract(epoch from '2026-07-07 12:05:03'::timestamp) - extract(epoch from '2026-07-07 12:04:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.409765 -2.744352)', '2026-07-07 12:05:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409862 -2.744312)'), GeomFromEWKT('SRID=4674;POINT (-40.409765 -2.744352)'))) / (select extract(epoch from '2026-07-07 12:05:10'::timestamp) - extract(epoch from '2026-07-07 12:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409862 -2.744312)'), GeomFromEWKT('SRID=4674;POINT (-40.409765 -2.744352)'))) / (select extract(epoch from '2026-07-07 12:05:10'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.409671 -2.744379)', '2026-07-07 12:05:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409765 -2.744352)'), GeomFromEWKT('SRID=4674;POINT (-40.409671 -2.744379)'))) / (select extract(epoch from '2026-07-07 12:05:17'::timestamp) - extract(epoch from '2026-07-07 12:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409765 -2.744352)'), GeomFromEWKT('SRID=4674;POINT (-40.409671 -2.744379)'))) / (select extract(epoch from '2026-07-07 12:05:17'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.409647 -2.744389)', '2026-07-07 12:05:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409671 -2.744379)'), GeomFromEWKT('SRID=4674;POINT (-40.409647 -2.744389)'))) / (select extract(epoch from '2026-07-07 12:05:19'::timestamp) - extract(epoch from '2026-07-07 12:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409671 -2.744379)'), GeomFromEWKT('SRID=4674;POINT (-40.409647 -2.744389)'))) / (select extract(epoch from '2026-07-07 12:05:19'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409608 -2.744402)', '2026-07-07 12:05:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409647 -2.744389)'), GeomFromEWKT('SRID=4674;POINT (-40.409608 -2.744402)'))) / (select extract(epoch from '2026-07-07 12:05:22'::timestamp) - extract(epoch from '2026-07-07 12:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409647 -2.744389)'), GeomFromEWKT('SRID=4674;POINT (-40.409608 -2.744402)'))) / (select extract(epoch from '2026-07-07 12:05:22'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409568 -2.744414)', '2026-07-07 12:05:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409608 -2.744402)'), GeomFromEWKT('SRID=4674;POINT (-40.409568 -2.744414)'))) / (select extract(epoch from '2026-07-07 12:05:25'::timestamp) - extract(epoch from '2026-07-07 12:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409608 -2.744402)'), GeomFromEWKT('SRID=4674;POINT (-40.409568 -2.744414)'))) / (select extract(epoch from '2026-07-07 12:05:25'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409547 -2.744426)', '2026-07-07 12:05:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409568 -2.744414)'), GeomFromEWKT('SRID=4674;POINT (-40.409547 -2.744426)'))) / (select extract(epoch from '2026-07-07 12:05:27'::timestamp) - extract(epoch from '2026-07-07 12:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409568 -2.744414)'), GeomFromEWKT('SRID=4674;POINT (-40.409547 -2.744426)'))) / (select extract(epoch from '2026-07-07 12:05:27'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409534 -2.74443)', '2026-07-07 12:05:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409547 -2.744426)'), GeomFromEWKT('SRID=4674;POINT (-40.409534 -2.74443)'))) / (select extract(epoch from '2026-07-07 12:05:28'::timestamp) - extract(epoch from '2026-07-07 12:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409547 -2.744426)'), GeomFromEWKT('SRID=4674;POINT (-40.409534 -2.74443)'))) / (select extract(epoch from '2026-07-07 12:05:28'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409468 -2.744463)', '2026-07-07 12:05:33', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409534 -2.74443)'), GeomFromEWKT('SRID=4674;POINT (-40.409468 -2.744463)'))) / (select extract(epoch from '2026-07-07 12:05:33'::timestamp) - extract(epoch from '2026-07-07 12:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409534 -2.74443)'), GeomFromEWKT('SRID=4674;POINT (-40.409468 -2.744463)'))) / (select extract(epoch from '2026-07-07 12:05:33'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409451 -2.744469)', '2026-07-07 12:05:34', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409468 -2.744463)'), GeomFromEWKT('SRID=4674;POINT (-40.409451 -2.744469)'))) / (select extract(epoch from '2026-07-07 12:05:34'::timestamp) - extract(epoch from '2026-07-07 12:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409468 -2.744463)'), GeomFromEWKT('SRID=4674;POINT (-40.409451 -2.744469)'))) / (select extract(epoch from '2026-07-07 12:05:34'::timestamp) - extract(epoch from '2026-07-07 12:05:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.409412 -2.744488)', '2026-07-07 12:05:37', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409451 -2.744469)'), GeomFromEWKT('SRID=4674;POINT (-40.409412 -2.744488)'))) / (select extract(epoch from '2026-07-07 12:05:37'::timestamp) - extract(epoch from '2026-07-07 12:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409451 -2.744469)'), GeomFromEWKT('SRID=4674;POINT (-40.409412 -2.744488)'))) / (select extract(epoch from '2026-07-07 12:05:37'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409399 -2.744492)', '2026-07-07 12:05:38', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409412 -2.744488)'), GeomFromEWKT('SRID=4674;POINT (-40.409399 -2.744492)'))) / (select extract(epoch from '2026-07-07 12:05:38'::timestamp) - extract(epoch from '2026-07-07 12:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409412 -2.744488)'), GeomFromEWKT('SRID=4674;POINT (-40.409399 -2.744492)'))) / (select extract(epoch from '2026-07-07 12:05:38'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409351 -2.744514)', '2026-07-07 12:05:42', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409399 -2.744492)'), GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.744514)'))) / (select extract(epoch from '2026-07-07 12:05:42'::timestamp) - extract(epoch from '2026-07-07 12:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409399 -2.744492)'), GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.744514)'))) / (select extract(epoch from '2026-07-07 12:05:42'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.409266 -2.744527)', '2026-07-07 12:05:48', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.744514)'), GeomFromEWKT('SRID=4674;POINT (-40.409266 -2.744527)'))) / (select extract(epoch from '2026-07-07 12:05:48'::timestamp) - extract(epoch from '2026-07-07 12:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.744514)'), GeomFromEWKT('SRID=4674;POINT (-40.409266 -2.744527)'))) / (select extract(epoch from '2026-07-07 12:05:48'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409163 -2.744521)', '2026-07-07 12:05:55', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409266 -2.744527)'), GeomFromEWKT('SRID=4674;POINT (-40.409163 -2.744521)'))) / (select extract(epoch from '2026-07-07 12:05:55'::timestamp) - extract(epoch from '2026-07-07 12:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409266 -2.744527)'), GeomFromEWKT('SRID=4674;POINT (-40.409163 -2.744521)'))) / (select extract(epoch from '2026-07-07 12:05:55'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409133 -2.744517)', '2026-07-07 12:05:57', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409163 -2.744521)'), GeomFromEWKT('SRID=4674;POINT (-40.409133 -2.744517)'))) / (select extract(epoch from '2026-07-07 12:05:57'::timestamp) - extract(epoch from '2026-07-07 12:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409163 -2.744521)'), GeomFromEWKT('SRID=4674;POINT (-40.409133 -2.744517)'))) / (select extract(epoch from '2026-07-07 12:05:57'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409113 -2.744521)', '2026-07-07 12:05:59', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409133 -2.744517)'), GeomFromEWKT('SRID=4674;POINT (-40.409113 -2.744521)'))) / (select extract(epoch from '2026-07-07 12:05:59'::timestamp) - extract(epoch from '2026-07-07 12:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409133 -2.744517)'), GeomFromEWKT('SRID=4674;POINT (-40.409113 -2.744521)'))) / (select extract(epoch from '2026-07-07 12:05:59'::timestamp) - extract(epoch from '2026-07-07 12:05: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'), 47829, 'SRID=4674;POINT (-40.409081 -2.744529)', '2026-07-07 12:06:02', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409113 -2.744521)'), GeomFromEWKT('SRID=4674;POINT (-40.409081 -2.744529)'))) / (select extract(epoch from '2026-07-07 12:06:02'::timestamp) - extract(epoch from '2026-07-07 12:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409113 -2.744521)'), GeomFromEWKT('SRID=4674;POINT (-40.409081 -2.744529)'))) / (select extract(epoch from '2026-07-07 12:06:02'::timestamp) - extract(epoch from '2026-07-07 12:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.409068 -2.74453)', '2026-07-07 12:06:03', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409081 -2.744529)'), GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.74453)'))) / (select extract(epoch from '2026-07-07 12:06:03'::timestamp) - extract(epoch from '2026-07-07 12:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409081 -2.744529)'), GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.74453)'))) / (select extract(epoch from '2026-07-07 12:06:03'::timestamp) - extract(epoch from '2026-07-07 12:06: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'), 47829, 'SRID=4674;POINT (-40.409044 -2.744534)', '2026-07-07 12:06:05', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.74453)'), GeomFromEWKT('SRID=4674;POINT (-40.409044 -2.744534)'))) / (select extract(epoch from '2026-07-07 12:06:05'::timestamp) - extract(epoch from '2026-07-07 12:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.74453)'), GeomFromEWKT('SRID=4674;POINT (-40.409044 -2.744534)'))) / (select extract(epoch from '2026-07-07 12:06:05'::timestamp) - extract(epoch from '2026-07-07 12:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.409008 -2.744549)', '2026-07-07 12:06:08', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409044 -2.744534)'), GeomFromEWKT('SRID=4674;POINT (-40.409008 -2.744549)'))) / (select extract(epoch from '2026-07-07 12:06:08'::timestamp) - extract(epoch from '2026-07-07 12:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409044 -2.744534)'), GeomFromEWKT('SRID=4674;POINT (-40.409008 -2.744549)'))) / (select extract(epoch from '2026-07-07 12:06:08'::timestamp) - extract(epoch from '2026-07-07 12:06: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'), 47829, 'SRID=4674;POINT (-40.408926 -2.744589)', '2026-07-07 12:06:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409008 -2.744549)'), GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.744589)'))) / (select extract(epoch from '2026-07-07 12:06:15'::timestamp) - extract(epoch from '2026-07-07 12:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409008 -2.744549)'), GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.744589)'))) / (select extract(epoch from '2026-07-07 12:06:15'::timestamp) - extract(epoch from '2026-07-07 12:06:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.408915 -2.744595)', '2026-07-07 12:06:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.744589)'), GeomFromEWKT('SRID=4674;POINT (-40.408915 -2.744595)'))) / (select extract(epoch from '2026-07-07 12:06:16'::timestamp) - extract(epoch from '2026-07-07 12:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.744589)'), GeomFromEWKT('SRID=4674;POINT (-40.408915 -2.744595)'))) / (select extract(epoch from '2026-07-07 12:06:16'::timestamp) - extract(epoch from '2026-07-07 12:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.408905 -2.7446)', '2026-07-07 12:06:17', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408915 -2.744595)'), GeomFromEWKT('SRID=4674;POINT (-40.408905 -2.7446)'))) / (select extract(epoch from '2026-07-07 12:06:17'::timestamp) - extract(epoch from '2026-07-07 12:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408915 -2.744595)'), GeomFromEWKT('SRID=4674;POINT (-40.408905 -2.7446)'))) / (select extract(epoch from '2026-07-07 12:06:17'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.408864 -2.744616)', '2026-07-07 12:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408905 -2.7446)'), GeomFromEWKT('SRID=4674;POINT (-40.408864 -2.744616)'))) / (select extract(epoch from '2026-07-07 12:06:21'::timestamp) - extract(epoch from '2026-07-07 12:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408905 -2.7446)'), GeomFromEWKT('SRID=4674;POINT (-40.408864 -2.744616)'))) / (select extract(epoch from '2026-07-07 12:06:21'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.408786 -2.744667)', '2026-07-07 12:06:28', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408864 -2.744616)'), GeomFromEWKT('SRID=4674;POINT (-40.408786 -2.744667)'))) / (select extract(epoch from '2026-07-07 12:06:28'::timestamp) - extract(epoch from '2026-07-07 12:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408864 -2.744616)'), GeomFromEWKT('SRID=4674;POINT (-40.408786 -2.744667)'))) / (select extract(epoch from '2026-07-07 12:06:28'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.408717 -2.744712)', '2026-07-07 12:06:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408786 -2.744667)'), GeomFromEWKT('SRID=4674;POINT (-40.408717 -2.744712)'))) / (select extract(epoch from '2026-07-07 12:06:34'::timestamp) - extract(epoch from '2026-07-07 12:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408786 -2.744667)'), GeomFromEWKT('SRID=4674;POINT (-40.408717 -2.744712)'))) / (select extract(epoch from '2026-07-07 12:06:34'::timestamp) - extract(epoch from '2026-07-07 12:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.408705 -2.744718)', '2026-07-07 12:06:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408717 -2.744712)'), GeomFromEWKT('SRID=4674;POINT (-40.408705 -2.744718)'))) / (select extract(epoch from '2026-07-07 12:06:35'::timestamp) - extract(epoch from '2026-07-07 12:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408717 -2.744712)'), GeomFromEWKT('SRID=4674;POINT (-40.408705 -2.744718)'))) / (select extract(epoch from '2026-07-07 12:06:35'::timestamp) - extract(epoch from '2026-07-07 12:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.408634 -2.744745)', '2026-07-07 12:06:41', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408705 -2.744718)'), GeomFromEWKT('SRID=4674;POINT (-40.408634 -2.744745)'))) / (select extract(epoch from '2026-07-07 12:06:41'::timestamp) - extract(epoch from '2026-07-07 12:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408705 -2.744718)'), GeomFromEWKT('SRID=4674;POINT (-40.408634 -2.744745)'))) / (select extract(epoch from '2026-07-07 12:06:41'::timestamp) - extract(epoch from '2026-07-07 12:06: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'), 47829, 'SRID=4674;POINT (-40.408557 -2.744775)', '2026-07-07 12:06:47', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408634 -2.744745)'), GeomFromEWKT('SRID=4674;POINT (-40.408557 -2.744775)'))) / (select extract(epoch from '2026-07-07 12:06:47'::timestamp) - extract(epoch from '2026-07-07 12:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408634 -2.744745)'), GeomFromEWKT('SRID=4674;POINT (-40.408557 -2.744775)'))) / (select extract(epoch from '2026-07-07 12:06:47'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.408469 -2.744834)', '2026-07-07 12:06:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408557 -2.744775)'), GeomFromEWKT('SRID=4674;POINT (-40.408469 -2.744834)'))) / (select extract(epoch from '2026-07-07 12:06:54'::timestamp) - extract(epoch from '2026-07-07 12:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408557 -2.744775)'), GeomFromEWKT('SRID=4674;POINT (-40.408469 -2.744834)'))) / (select extract(epoch from '2026-07-07 12:06:54'::timestamp) - extract(epoch from '2026-07-07 12:06: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'), 47829, 'SRID=4674;POINT (-40.408449 -2.744855)', '2026-07-07 12:06:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408469 -2.744834)'), GeomFromEWKT('SRID=4674;POINT (-40.408449 -2.744855)'))) / (select extract(epoch from '2026-07-07 12:06:56'::timestamp) - extract(epoch from '2026-07-07 12:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408469 -2.744834)'), GeomFromEWKT('SRID=4674;POINT (-40.408449 -2.744855)'))) / (select extract(epoch from '2026-07-07 12:06:56'::timestamp) - extract(epoch from '2026-07-07 12:06: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'), 47829, 'SRID=4674;POINT (-40.408409 -2.744874)', '2026-07-07 12:06:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408449 -2.744855)'), GeomFromEWKT('SRID=4674;POINT (-40.408409 -2.744874)'))) / (select extract(epoch from '2026-07-07 12:06:59'::timestamp) - extract(epoch from '2026-07-07 12:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408449 -2.744855)'), GeomFromEWKT('SRID=4674;POINT (-40.408409 -2.744874)'))) / (select extract(epoch from '2026-07-07 12:06:59'::timestamp) - extract(epoch from '2026-07-07 12:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.408281 -2.744928)', '2026-07-07 12:07:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408409 -2.744874)'), GeomFromEWKT('SRID=4674;POINT (-40.408281 -2.744928)'))) / (select extract(epoch from '2026-07-07 12:07:08'::timestamp) - extract(epoch from '2026-07-07 12:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408409 -2.744874)'), GeomFromEWKT('SRID=4674;POINT (-40.408281 -2.744928)'))) / (select extract(epoch from '2026-07-07 12:07:08'::timestamp) - extract(epoch from '2026-07-07 12:06: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'), 47829, 'SRID=4674;POINT (-40.40826 -2.744938)', '2026-07-07 12:07:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408281 -2.744928)'), GeomFromEWKT('SRID=4674;POINT (-40.40826 -2.744938)'))) / (select extract(epoch from '2026-07-07 12:07:10'::timestamp) - extract(epoch from '2026-07-07 12:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408281 -2.744928)'), GeomFromEWKT('SRID=4674;POINT (-40.40826 -2.744938)'))) / (select extract(epoch from '2026-07-07 12:07:10'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.408219 -2.744963)', '2026-07-07 12:07:14', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40826 -2.744938)'), GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.744963)'))) / (select extract(epoch from '2026-07-07 12:07:14'::timestamp) - extract(epoch from '2026-07-07 12:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40826 -2.744938)'), GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.744963)'))) / (select extract(epoch from '2026-07-07 12:07:14'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.408171 -2.744984)', '2026-07-07 12:07:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.744963)'), GeomFromEWKT('SRID=4674;POINT (-40.408171 -2.744984)'))) / (select extract(epoch from '2026-07-07 12:07:18'::timestamp) - extract(epoch from '2026-07-07 12:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.744963)'), GeomFromEWKT('SRID=4674;POINT (-40.408171 -2.744984)'))) / (select extract(epoch from '2026-07-07 12:07:18'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.40816 -2.74499)', '2026-07-07 12:07:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408171 -2.744984)'), GeomFromEWKT('SRID=4674;POINT (-40.40816 -2.74499)'))) / (select extract(epoch from '2026-07-07 12:07:19'::timestamp) - extract(epoch from '2026-07-07 12:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408171 -2.744984)'), GeomFromEWKT('SRID=4674;POINT (-40.40816 -2.74499)'))) / (select extract(epoch from '2026-07-07 12:07:19'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.408149 -2.744995)', '2026-07-07 12:07:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40816 -2.74499)'), GeomFromEWKT('SRID=4674;POINT (-40.408149 -2.744995)'))) / (select extract(epoch from '2026-07-07 12:07:20'::timestamp) - extract(epoch from '2026-07-07 12:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40816 -2.74499)'), GeomFromEWKT('SRID=4674;POINT (-40.408149 -2.744995)'))) / (select extract(epoch from '2026-07-07 12:07:20'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.40813 -2.745009)', '2026-07-07 12:07:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408149 -2.744995)'), GeomFromEWKT('SRID=4674;POINT (-40.40813 -2.745009)'))) / (select extract(epoch from '2026-07-07 12:07:22'::timestamp) - extract(epoch from '2026-07-07 12:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408149 -2.744995)'), GeomFromEWKT('SRID=4674;POINT (-40.40813 -2.745009)'))) / (select extract(epoch from '2026-07-07 12:07:22'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.408118 -2.745017)', '2026-07-07 12:07:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40813 -2.745009)'), GeomFromEWKT('SRID=4674;POINT (-40.408118 -2.745017)'))) / (select extract(epoch from '2026-07-07 12:07:23'::timestamp) - extract(epoch from '2026-07-07 12:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40813 -2.745009)'), GeomFromEWKT('SRID=4674;POINT (-40.408118 -2.745017)'))) / (select extract(epoch from '2026-07-07 12:07:23'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.408046 -2.74506)', '2026-07-07 12:07:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408118 -2.745017)'), GeomFromEWKT('SRID=4674;POINT (-40.408046 -2.74506)'))) / (select extract(epoch from '2026-07-07 12:07:29'::timestamp) - extract(epoch from '2026-07-07 12:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408118 -2.745017)'), GeomFromEWKT('SRID=4674;POINT (-40.408046 -2.74506)'))) / (select extract(epoch from '2026-07-07 12:07:29'::timestamp) - extract(epoch from '2026-07-07 12:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.408031 -2.745065)', '2026-07-07 12:07:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408046 -2.74506)'), GeomFromEWKT('SRID=4674;POINT (-40.408031 -2.745065)'))) / (select extract(epoch from '2026-07-07 12:07:30'::timestamp) - extract(epoch from '2026-07-07 12:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408046 -2.74506)'), GeomFromEWKT('SRID=4674;POINT (-40.408031 -2.745065)'))) / (select extract(epoch from '2026-07-07 12:07:30'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.40798 -2.745092)', '2026-07-07 12:07:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408031 -2.745065)'), GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.745092)'))) / (select extract(epoch from '2026-07-07 12:07:34'::timestamp) - extract(epoch from '2026-07-07 12:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408031 -2.745065)'), GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.745092)'))) / (select extract(epoch from '2026-07-07 12:07:34'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.407969 -2.745098)', '2026-07-07 12:07:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.745092)'), GeomFromEWKT('SRID=4674;POINT (-40.407969 -2.745098)'))) / (select extract(epoch from '2026-07-07 12:07:35'::timestamp) - extract(epoch from '2026-07-07 12:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.745092)'), GeomFromEWKT('SRID=4674;POINT (-40.407969 -2.745098)'))) / (select extract(epoch from '2026-07-07 12:07:35'::timestamp) - extract(epoch from '2026-07-07 12:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.407923 -2.745119)', '2026-07-07 12:07:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407969 -2.745098)'), GeomFromEWKT('SRID=4674;POINT (-40.407923 -2.745119)'))) / (select extract(epoch from '2026-07-07 12:07:39'::timestamp) - extract(epoch from '2026-07-07 12:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407969 -2.745098)'), GeomFromEWKT('SRID=4674;POINT (-40.407923 -2.745119)'))) / (select extract(epoch from '2026-07-07 12:07:39'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.40791 -2.745125)', '2026-07-07 12:07:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407923 -2.745119)'), GeomFromEWKT('SRID=4674;POINT (-40.40791 -2.745125)'))) / (select extract(epoch from '2026-07-07 12:07:40'::timestamp) - extract(epoch from '2026-07-07 12:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407923 -2.745119)'), GeomFromEWKT('SRID=4674;POINT (-40.40791 -2.745125)'))) / (select extract(epoch from '2026-07-07 12:07:40'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.407853 -2.745137)', '2026-07-07 12:07:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40791 -2.745125)'), GeomFromEWKT('SRID=4674;POINT (-40.407853 -2.745137)'))) / (select extract(epoch from '2026-07-07 12:07:44'::timestamp) - extract(epoch from '2026-07-07 12:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40791 -2.745125)'), GeomFromEWKT('SRID=4674;POINT (-40.407853 -2.745137)'))) / (select extract(epoch from '2026-07-07 12:07:44'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.407784 -2.745162)', '2026-07-07 12:07:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407853 -2.745137)'), GeomFromEWKT('SRID=4674;POINT (-40.407784 -2.745162)'))) / (select extract(epoch from '2026-07-07 12:07:49'::timestamp) - extract(epoch from '2026-07-07 12:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407853 -2.745137)'), GeomFromEWKT('SRID=4674;POINT (-40.407784 -2.745162)'))) / (select extract(epoch from '2026-07-07 12:07:49'::timestamp) - extract(epoch from '2026-07-07 12:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.407769 -2.745168)', '2026-07-07 12:07:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407784 -2.745162)'), GeomFromEWKT('SRID=4674;POINT (-40.407769 -2.745168)'))) / (select extract(epoch from '2026-07-07 12:07:50'::timestamp) - extract(epoch from '2026-07-07 12:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407784 -2.745162)'), GeomFromEWKT('SRID=4674;POINT (-40.407769 -2.745168)'))) / (select extract(epoch from '2026-07-07 12:07:50'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.407688 -2.745212)', '2026-07-07 12:07:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407769 -2.745168)'), GeomFromEWKT('SRID=4674;POINT (-40.407688 -2.745212)'))) / (select extract(epoch from '2026-07-07 12:07:56'::timestamp) - extract(epoch from '2026-07-07 12:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407769 -2.745168)'), GeomFromEWKT('SRID=4674;POINT (-40.407688 -2.745212)'))) / (select extract(epoch from '2026-07-07 12:07:56'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.407609 -2.745273)', '2026-07-07 12:08:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407688 -2.745212)'), GeomFromEWKT('SRID=4674;POINT (-40.407609 -2.745273)'))) / (select extract(epoch from '2026-07-07 12:08:03'::timestamp) - extract(epoch from '2026-07-07 12:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407688 -2.745212)'), GeomFromEWKT('SRID=4674;POINT (-40.407609 -2.745273)'))) / (select extract(epoch from '2026-07-07 12:08:03'::timestamp) - extract(epoch from '2026-07-07 12:07: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'), 47829, 'SRID=4674;POINT (-40.407598 -2.745279)', '2026-07-07 12:08:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407609 -2.745273)'), GeomFromEWKT('SRID=4674;POINT (-40.407598 -2.745279)'))) / (select extract(epoch from '2026-07-07 12:08:04'::timestamp) - extract(epoch from '2026-07-07 12:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407609 -2.745273)'), GeomFromEWKT('SRID=4674;POINT (-40.407598 -2.745279)'))) / (select extract(epoch from '2026-07-07 12:08:04'::timestamp) - extract(epoch from '2026-07-07 12:08: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'), 47829, 'SRID=4674;POINT (-40.40755 -2.745305)', '2026-07-07 12:08:08', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407598 -2.745279)'), GeomFromEWKT('SRID=4674;POINT (-40.40755 -2.745305)'))) / (select extract(epoch from '2026-07-07 12:08:08'::timestamp) - extract(epoch from '2026-07-07 12:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407598 -2.745279)'), GeomFromEWKT('SRID=4674;POINT (-40.40755 -2.745305)'))) / (select extract(epoch from '2026-07-07 12:08:08'::timestamp) - extract(epoch from '2026-07-07 12:08: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'), 47829, 'SRID=4674;POINT (-40.407538 -2.745309)', '2026-07-07 12:08:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40755 -2.745305)'), GeomFromEWKT('SRID=4674;POINT (-40.407538 -2.745309)'))) / (select extract(epoch from '2026-07-07 12:08:09'::timestamp) - extract(epoch from '2026-07-07 12:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40755 -2.745305)'), GeomFromEWKT('SRID=4674;POINT (-40.407538 -2.745309)'))) / (select extract(epoch from '2026-07-07 12:08:09'::timestamp) - extract(epoch from '2026-07-07 12:08: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'), 47829, 'SRID=4674;POINT (-40.407453 -2.745346)', '2026-07-07 12:08:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407538 -2.745309)'), GeomFromEWKT('SRID=4674;POINT (-40.407453 -2.745346)'))) / (select extract(epoch from '2026-07-07 12:08:17'::timestamp) - extract(epoch from '2026-07-07 12:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407538 -2.745309)'), GeomFromEWKT('SRID=4674;POINT (-40.407453 -2.745346)'))) / (select extract(epoch from '2026-07-07 12:08:17'::timestamp) - extract(epoch from '2026-07-07 12:08: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'), 47829, 'SRID=4674;POINT (-40.407374 -2.745378)', '2026-07-07 12:08:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407453 -2.745346)'), GeomFromEWKT('SRID=4674;POINT (-40.407374 -2.745378)'))) / (select extract(epoch from '2026-07-07 12:08:23'::timestamp) - extract(epoch from '2026-07-07 12:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407453 -2.745346)'), GeomFromEWKT('SRID=4674;POINT (-40.407374 -2.745378)'))) / (select extract(epoch from '2026-07-07 12:08:23'::timestamp) - extract(epoch from '2026-07-07 12:08: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'), 47829, 'SRID=4674;POINT (-40.40728 -2.745427)', '2026-07-07 12:08:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407374 -2.745378)'), GeomFromEWKT('SRID=4674;POINT (-40.40728 -2.745427)'))) / (select extract(epoch from '2026-07-07 12:08:30'::timestamp) - extract(epoch from '2026-07-07 12:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407374 -2.745378)'), GeomFromEWKT('SRID=4674;POINT (-40.40728 -2.745427)'))) / (select extract(epoch from '2026-07-07 12:08:30'::timestamp) - extract(epoch from '2026-07-07 12:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.407205 -2.745475)', '2026-07-07 12:08:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40728 -2.745427)'), GeomFromEWKT('SRID=4674;POINT (-40.407205 -2.745475)'))) / (select extract(epoch from '2026-07-07 12:08:36'::timestamp) - extract(epoch from '2026-07-07 12:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40728 -2.745427)'), GeomFromEWKT('SRID=4674;POINT (-40.407205 -2.745475)'))) / (select extract(epoch from '2026-07-07 12:08:36'::timestamp) - extract(epoch from '2026-07-07 12:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.407121 -2.745528)', '2026-07-07 12:08:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407205 -2.745475)'), GeomFromEWKT('SRID=4674;POINT (-40.407121 -2.745528)'))) / (select extract(epoch from '2026-07-07 12:08:43'::timestamp) - extract(epoch from '2026-07-07 12:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407205 -2.745475)'), GeomFromEWKT('SRID=4674;POINT (-40.407121 -2.745528)'))) / (select extract(epoch from '2026-07-07 12:08:43'::timestamp) - extract(epoch from '2026-07-07 12:08: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'), 47829, 'SRID=4674;POINT (-40.407054 -2.745578)', '2026-07-07 12:08:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407121 -2.745528)'), GeomFromEWKT('SRID=4674;POINT (-40.407054 -2.745578)'))) / (select extract(epoch from '2026-07-07 12:08:49'::timestamp) - extract(epoch from '2026-07-07 12:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407121 -2.745528)'), GeomFromEWKT('SRID=4674;POINT (-40.407054 -2.745578)'))) / (select extract(epoch from '2026-07-07 12:08:49'::timestamp) - extract(epoch from '2026-07-07 12:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.407 -2.745626)', '2026-07-07 12:08:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407054 -2.745578)'), GeomFromEWKT('SRID=4674;POINT (-40.407 -2.745626)'))) / (select extract(epoch from '2026-07-07 12:08:54'::timestamp) - extract(epoch from '2026-07-07 12:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407054 -2.745578)'), GeomFromEWKT('SRID=4674;POINT (-40.407 -2.745626)'))) / (select extract(epoch from '2026-07-07 12:08:54'::timestamp) - extract(epoch from '2026-07-07 12:08: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'), 47829, 'SRID=4674;POINT (-40.406975 -2.745643)', '2026-07-07 12:08:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407 -2.745626)'), GeomFromEWKT('SRID=4674;POINT (-40.406975 -2.745643)'))) / (select extract(epoch from '2026-07-07 12:08:56'::timestamp) - extract(epoch from '2026-07-07 12:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407 -2.745626)'), GeomFromEWKT('SRID=4674;POINT (-40.406975 -2.745643)'))) / (select extract(epoch from '2026-07-07 12:08:56'::timestamp) - extract(epoch from '2026-07-07 12:08: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'), 47829, 'SRID=4674;POINT (-40.406894 -2.7457)', '2026-07-07 12:09:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406975 -2.745643)'), GeomFromEWKT('SRID=4674;POINT (-40.406894 -2.7457)'))) / (select extract(epoch from '2026-07-07 12:09:03'::timestamp) - extract(epoch from '2026-07-07 12:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406975 -2.745643)'), GeomFromEWKT('SRID=4674;POINT (-40.406894 -2.7457)'))) / (select extract(epoch from '2026-07-07 12:09:03'::timestamp) - extract(epoch from '2026-07-07 12:08: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'), 47829, 'SRID=4674;POINT (-40.406882 -2.745709)', '2026-07-07 12:09:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406894 -2.7457)'), GeomFromEWKT('SRID=4674;POINT (-40.406882 -2.745709)'))) / (select extract(epoch from '2026-07-07 12:09:04'::timestamp) - extract(epoch from '2026-07-07 12:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406894 -2.7457)'), GeomFromEWKT('SRID=4674;POINT (-40.406882 -2.745709)'))) / (select extract(epoch from '2026-07-07 12:09:04'::timestamp) - extract(epoch from '2026-07-07 12:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.406832 -2.745745)', '2026-07-07 12:09:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406882 -2.745709)'), GeomFromEWKT('SRID=4674;POINT (-40.406832 -2.745745)'))) / (select extract(epoch from '2026-07-07 12:09:08'::timestamp) - extract(epoch from '2026-07-07 12:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406882 -2.745709)'), GeomFromEWKT('SRID=4674;POINT (-40.406832 -2.745745)'))) / (select extract(epoch from '2026-07-07 12:09:08'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.406782 -2.74578)', '2026-07-07 12:09:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406832 -2.745745)'), GeomFromEWKT('SRID=4674;POINT (-40.406782 -2.74578)'))) / (select extract(epoch from '2026-07-07 12:09:13'::timestamp) - extract(epoch from '2026-07-07 12:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406832 -2.745745)'), GeomFromEWKT('SRID=4674;POINT (-40.406782 -2.74578)'))) / (select extract(epoch from '2026-07-07 12:09:13'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406772 -2.745788)', '2026-07-07 12:09:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406782 -2.74578)'), GeomFromEWKT('SRID=4674;POINT (-40.406772 -2.745788)'))) / (select extract(epoch from '2026-07-07 12:09:14'::timestamp) - extract(epoch from '2026-07-07 12:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406782 -2.74578)'), GeomFromEWKT('SRID=4674;POINT (-40.406772 -2.745788)'))) / (select extract(epoch from '2026-07-07 12:09:14'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406708 -2.745837)', '2026-07-07 12:09:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406772 -2.745788)'), GeomFromEWKT('SRID=4674;POINT (-40.406708 -2.745837)'))) / (select extract(epoch from '2026-07-07 12:09:20'::timestamp) - extract(epoch from '2026-07-07 12:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406772 -2.745788)'), GeomFromEWKT('SRID=4674;POINT (-40.406708 -2.745837)'))) / (select extract(epoch from '2026-07-07 12:09:20'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406674 -2.745866)', '2026-07-07 12:09:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406708 -2.745837)'), GeomFromEWKT('SRID=4674;POINT (-40.406674 -2.745866)'))) / (select extract(epoch from '2026-07-07 12:09:23'::timestamp) - extract(epoch from '2026-07-07 12:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406708 -2.745837)'), GeomFromEWKT('SRID=4674;POINT (-40.406674 -2.745866)'))) / (select extract(epoch from '2026-07-07 12:09:23'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406656 -2.745892)', '2026-07-07 12:09:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406674 -2.745866)'), GeomFromEWKT('SRID=4674;POINT (-40.406656 -2.745892)'))) / (select extract(epoch from '2026-07-07 12:09:25'::timestamp) - extract(epoch from '2026-07-07 12:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406674 -2.745866)'), GeomFromEWKT('SRID=4674;POINT (-40.406656 -2.745892)'))) / (select extract(epoch from '2026-07-07 12:09:25'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.406598 -2.745945)', '2026-07-07 12:09:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406656 -2.745892)'), GeomFromEWKT('SRID=4674;POINT (-40.406598 -2.745945)'))) / (select extract(epoch from '2026-07-07 12:09:30'::timestamp) - extract(epoch from '2026-07-07 12:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406656 -2.745892)'), GeomFromEWKT('SRID=4674;POINT (-40.406598 -2.745945)'))) / (select extract(epoch from '2026-07-07 12:09:30'::timestamp) - extract(epoch from '2026-07-07 12:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.406478 -2.746039)', '2026-07-07 12:09:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406598 -2.745945)'), GeomFromEWKT('SRID=4674;POINT (-40.406478 -2.746039)'))) / (select extract(epoch from '2026-07-07 12:09:40'::timestamp) - extract(epoch from '2026-07-07 12:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406598 -2.745945)'), GeomFromEWKT('SRID=4674;POINT (-40.406478 -2.746039)'))) / (select extract(epoch from '2026-07-07 12:09:40'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406462 -2.746061)', '2026-07-07 12:09:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406478 -2.746039)'), GeomFromEWKT('SRID=4674;POINT (-40.406462 -2.746061)'))) / (select extract(epoch from '2026-07-07 12:09:42'::timestamp) - extract(epoch from '2026-07-07 12:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406478 -2.746039)'), GeomFromEWKT('SRID=4674;POINT (-40.406462 -2.746061)'))) / (select extract(epoch from '2026-07-07 12:09:42'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.406448 -2.746081)', '2026-07-07 12:09:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406462 -2.746061)'), GeomFromEWKT('SRID=4674;POINT (-40.406448 -2.746081)'))) / (select extract(epoch from '2026-07-07 12:09:44'::timestamp) - extract(epoch from '2026-07-07 12:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406462 -2.746061)'), GeomFromEWKT('SRID=4674;POINT (-40.406448 -2.746081)'))) / (select extract(epoch from '2026-07-07 12:09:44'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406441 -2.746093)', '2026-07-07 12:09:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406448 -2.746081)'), GeomFromEWKT('SRID=4674;POINT (-40.406441 -2.746093)'))) / (select extract(epoch from '2026-07-07 12:09:45'::timestamp) - extract(epoch from '2026-07-07 12:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406448 -2.746081)'), GeomFromEWKT('SRID=4674;POINT (-40.406441 -2.746093)'))) / (select extract(epoch from '2026-07-07 12:09:45'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406415 -2.746142)', '2026-07-07 12:09:49', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406441 -2.746093)'), GeomFromEWKT('SRID=4674;POINT (-40.406415 -2.746142)'))) / (select extract(epoch from '2026-07-07 12:09:49'::timestamp) - extract(epoch from '2026-07-07 12:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406441 -2.746093)'), GeomFromEWKT('SRID=4674;POINT (-40.406415 -2.746142)'))) / (select extract(epoch from '2026-07-07 12:09:49'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406413 -2.746155)', '2026-07-07 12:09:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406415 -2.746142)'), GeomFromEWKT('SRID=4674;POINT (-40.406413 -2.746155)'))) / (select extract(epoch from '2026-07-07 12:09:50'::timestamp) - extract(epoch from '2026-07-07 12:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406415 -2.746142)'), GeomFromEWKT('SRID=4674;POINT (-40.406413 -2.746155)'))) / (select extract(epoch from '2026-07-07 12:09:50'::timestamp) - extract(epoch from '2026-07-07 12:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.406371 -2.746211)', '2026-07-07 12:09:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406413 -2.746155)'), GeomFromEWKT('SRID=4674;POINT (-40.406371 -2.746211)'))) / (select extract(epoch from '2026-07-07 12:09:55'::timestamp) - extract(epoch from '2026-07-07 12:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406413 -2.746155)'), GeomFromEWKT('SRID=4674;POINT (-40.406371 -2.746211)'))) / (select extract(epoch from '2026-07-07 12:09:55'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.406359 -2.746219)', '2026-07-07 12:09:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406371 -2.746211)'), GeomFromEWKT('SRID=4674;POINT (-40.406359 -2.746219)'))) / (select extract(epoch from '2026-07-07 12:09:56'::timestamp) - extract(epoch from '2026-07-07 12:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406371 -2.746211)'), GeomFromEWKT('SRID=4674;POINT (-40.406359 -2.746219)'))) / (select extract(epoch from '2026-07-07 12:09:56'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406325 -2.746245)', '2026-07-07 12:09:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406359 -2.746219)'), GeomFromEWKT('SRID=4674;POINT (-40.406325 -2.746245)'))) / (select extract(epoch from '2026-07-07 12:09:59'::timestamp) - extract(epoch from '2026-07-07 12:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406359 -2.746219)'), GeomFromEWKT('SRID=4674;POINT (-40.406325 -2.746245)'))) / (select extract(epoch from '2026-07-07 12:09:59'::timestamp) - extract(epoch from '2026-07-07 12:09: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'), 47829, 'SRID=4674;POINT (-40.406309 -2.746269)', '2026-07-07 12:10:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406325 -2.746245)'), GeomFromEWKT('SRID=4674;POINT (-40.406309 -2.746269)'))) / (select extract(epoch from '2026-07-07 12:10:01'::timestamp) - extract(epoch from '2026-07-07 12:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406325 -2.746245)'), GeomFromEWKT('SRID=4674;POINT (-40.406309 -2.746269)'))) / (select extract(epoch from '2026-07-07 12:10:01'::timestamp) - extract(epoch from '2026-07-07 12:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.406285 -2.746299)', '2026-07-07 12:10:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406309 -2.746269)'), GeomFromEWKT('SRID=4674;POINT (-40.406285 -2.746299)'))) / (select extract(epoch from '2026-07-07 12:10:04'::timestamp) - extract(epoch from '2026-07-07 12:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406309 -2.746269)'), GeomFromEWKT('SRID=4674;POINT (-40.406285 -2.746299)'))) / (select extract(epoch from '2026-07-07 12:10:04'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.406239 -2.74635)', '2026-07-07 12:10:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406285 -2.746299)'), GeomFromEWKT('SRID=4674;POINT (-40.406239 -2.74635)'))) / (select extract(epoch from '2026-07-07 12:10:09'::timestamp) - extract(epoch from '2026-07-07 12:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406285 -2.746299)'), GeomFromEWKT('SRID=4674;POINT (-40.406239 -2.74635)'))) / (select extract(epoch from '2026-07-07 12:10:09'::timestamp) - extract(epoch from '2026-07-07 12:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.406187 -2.746424)', '2026-07-07 12:10:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406239 -2.74635)'), GeomFromEWKT('SRID=4674;POINT (-40.406187 -2.746424)'))) / (select extract(epoch from '2026-07-07 12:10:15'::timestamp) - extract(epoch from '2026-07-07 12:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406239 -2.74635)'), GeomFromEWKT('SRID=4674;POINT (-40.406187 -2.746424)'))) / (select extract(epoch from '2026-07-07 12:10:15'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.406114 -2.746513)', '2026-07-07 12:10:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406187 -2.746424)'), GeomFromEWKT('SRID=4674;POINT (-40.406114 -2.746513)'))) / (select extract(epoch from '2026-07-07 12:10:22'::timestamp) - extract(epoch from '2026-07-07 12:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406187 -2.746424)'), GeomFromEWKT('SRID=4674;POINT (-40.406114 -2.746513)'))) / (select extract(epoch from '2026-07-07 12:10:22'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.406044 -2.746599)', '2026-07-07 12:10:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406114 -2.746513)'), GeomFromEWKT('SRID=4674;POINT (-40.406044 -2.746599)'))) / (select extract(epoch from '2026-07-07 12:10:29'::timestamp) - extract(epoch from '2026-07-07 12:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406114 -2.746513)'), GeomFromEWKT('SRID=4674;POINT (-40.406044 -2.746599)'))) / (select extract(epoch from '2026-07-07 12:10:29'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405983 -2.74666)', '2026-07-07 12:10:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406044 -2.746599)'), GeomFromEWKT('SRID=4674;POINT (-40.405983 -2.74666)'))) / (select extract(epoch from '2026-07-07 12:10:34'::timestamp) - extract(epoch from '2026-07-07 12:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406044 -2.746599)'), GeomFromEWKT('SRID=4674;POINT (-40.405983 -2.74666)'))) / (select extract(epoch from '2026-07-07 12:10:34'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405963 -2.74668)', '2026-07-07 12:10:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405983 -2.74666)'), GeomFromEWKT('SRID=4674;POINT (-40.405963 -2.74668)'))) / (select extract(epoch from '2026-07-07 12:10:36'::timestamp) - extract(epoch from '2026-07-07 12:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405983 -2.74666)'), GeomFromEWKT('SRID=4674;POINT (-40.405963 -2.74668)'))) / (select extract(epoch from '2026-07-07 12:10:36'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405944 -2.746701)', '2026-07-07 12:10:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405963 -2.74668)'), GeomFromEWKT('SRID=4674;POINT (-40.405944 -2.746701)'))) / (select extract(epoch from '2026-07-07 12:10:38'::timestamp) - extract(epoch from '2026-07-07 12:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405963 -2.74668)'), GeomFromEWKT('SRID=4674;POINT (-40.405944 -2.746701)'))) / (select extract(epoch from '2026-07-07 12:10:38'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405905 -2.746755)', '2026-07-07 12:10:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405944 -2.746701)'), GeomFromEWKT('SRID=4674;POINT (-40.405905 -2.746755)'))) / (select extract(epoch from '2026-07-07 12:10:43'::timestamp) - extract(epoch from '2026-07-07 12:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405944 -2.746701)'), GeomFromEWKT('SRID=4674;POINT (-40.405905 -2.746755)'))) / (select extract(epoch from '2026-07-07 12:10:43'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405893 -2.746766)', '2026-07-07 12:10:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405905 -2.746755)'), GeomFromEWKT('SRID=4674;POINT (-40.405893 -2.746766)'))) / (select extract(epoch from '2026-07-07 12:10:44'::timestamp) - extract(epoch from '2026-07-07 12:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405905 -2.746755)'), GeomFromEWKT('SRID=4674;POINT (-40.405893 -2.746766)'))) / (select extract(epoch from '2026-07-07 12:10:44'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405824 -2.746807)', '2026-07-07 12:10:50', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405893 -2.746766)'), GeomFromEWKT('SRID=4674;POINT (-40.405824 -2.746807)'))) / (select extract(epoch from '2026-07-07 12:10:50'::timestamp) - extract(epoch from '2026-07-07 12:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405893 -2.746766)'), GeomFromEWKT('SRID=4674;POINT (-40.405824 -2.746807)'))) / (select extract(epoch from '2026-07-07 12:10:50'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405776 -2.746841)', '2026-07-07 12:10:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405824 -2.746807)'), GeomFromEWKT('SRID=4674;POINT (-40.405776 -2.746841)'))) / (select extract(epoch from '2026-07-07 12:10:54'::timestamp) - extract(epoch from '2026-07-07 12:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405824 -2.746807)'), GeomFromEWKT('SRID=4674;POINT (-40.405776 -2.746841)'))) / (select extract(epoch from '2026-07-07 12:10:54'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405739 -2.746869)', '2026-07-07 12:10:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405776 -2.746841)'), GeomFromEWKT('SRID=4674;POINT (-40.405739 -2.746869)'))) / (select extract(epoch from '2026-07-07 12:10:57'::timestamp) - extract(epoch from '2026-07-07 12:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405776 -2.746841)'), GeomFromEWKT('SRID=4674;POINT (-40.405739 -2.746869)'))) / (select extract(epoch from '2026-07-07 12:10:57'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405656 -2.746938)', '2026-07-07 12:11:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405739 -2.746869)'), GeomFromEWKT('SRID=4674;POINT (-40.405656 -2.746938)'))) / (select extract(epoch from '2026-07-07 12:11:04'::timestamp) - extract(epoch from '2026-07-07 12:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405739 -2.746869)'), GeomFromEWKT('SRID=4674;POINT (-40.405656 -2.746938)'))) / (select extract(epoch from '2026-07-07 12:11:04'::timestamp) - extract(epoch from '2026-07-07 12:10: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'), 47829, 'SRID=4674;POINT (-40.405596 -2.747008)', '2026-07-07 12:11:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405656 -2.746938)'), GeomFromEWKT('SRID=4674;POINT (-40.405596 -2.747008)'))) / (select extract(epoch from '2026-07-07 12:11:10'::timestamp) - extract(epoch from '2026-07-07 12:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405656 -2.746938)'), GeomFromEWKT('SRID=4674;POINT (-40.405596 -2.747008)'))) / (select extract(epoch from '2026-07-07 12:11:10'::timestamp) - extract(epoch from '2026-07-07 12:11:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.405528 -2.74709)', '2026-07-07 12:11:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405596 -2.747008)'), GeomFromEWKT('SRID=4674;POINT (-40.405528 -2.74709)'))) / (select extract(epoch from '2026-07-07 12:11:17'::timestamp) - extract(epoch from '2026-07-07 12:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405596 -2.747008)'), GeomFromEWKT('SRID=4674;POINT (-40.405528 -2.74709)'))) / (select extract(epoch from '2026-07-07 12:11:17'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.405436 -2.747209)', '2026-07-07 12:11:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405528 -2.74709)'), GeomFromEWKT('SRID=4674;POINT (-40.405436 -2.747209)'))) / (select extract(epoch from '2026-07-07 12:11:26'::timestamp) - extract(epoch from '2026-07-07 12:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405528 -2.74709)'), GeomFromEWKT('SRID=4674;POINT (-40.405436 -2.747209)'))) / (select extract(epoch from '2026-07-07 12:11:26'::timestamp) - extract(epoch from '2026-07-07 12:11: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'), 47829, 'SRID=4674;POINT (-40.405406 -2.747244)', '2026-07-07 12:11:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405436 -2.747209)'), GeomFromEWKT('SRID=4674;POINT (-40.405406 -2.747244)'))) / (select extract(epoch from '2026-07-07 12:11:29'::timestamp) - extract(epoch from '2026-07-07 12:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405436 -2.747209)'), GeomFromEWKT('SRID=4674;POINT (-40.405406 -2.747244)'))) / (select extract(epoch from '2026-07-07 12:11:29'::timestamp) - extract(epoch from '2026-07-07 12:11: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'), 47829, 'SRID=4674;POINT (-40.405385 -2.747265)', '2026-07-07 12:11:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405406 -2.747244)'), GeomFromEWKT('SRID=4674;POINT (-40.405385 -2.747265)'))) / (select extract(epoch from '2026-07-07 12:11:31'::timestamp) - extract(epoch from '2026-07-07 12:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405406 -2.747244)'), GeomFromEWKT('SRID=4674;POINT (-40.405385 -2.747265)'))) / (select extract(epoch from '2026-07-07 12:11:31'::timestamp) - extract(epoch from '2026-07-07 12:11: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'), 47829, 'SRID=4674;POINT (-40.405358 -2.747305)', '2026-07-07 12:11:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405385 -2.747265)'), GeomFromEWKT('SRID=4674;POINT (-40.405358 -2.747305)'))) / (select extract(epoch from '2026-07-07 12:11:34'::timestamp) - extract(epoch from '2026-07-07 12:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405385 -2.747265)'), GeomFromEWKT('SRID=4674;POINT (-40.405358 -2.747305)'))) / (select extract(epoch from '2026-07-07 12:11:34'::timestamp) - extract(epoch from '2026-07-07 12:11: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'), 47829, 'SRID=4674;POINT (-40.405338 -2.747329)', '2026-07-07 12:11:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405358 -2.747305)'), GeomFromEWKT('SRID=4674;POINT (-40.405338 -2.747329)'))) / (select extract(epoch from '2026-07-07 12:11:36'::timestamp) - extract(epoch from '2026-07-07 12:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405358 -2.747305)'), GeomFromEWKT('SRID=4674;POINT (-40.405338 -2.747329)'))) / (select extract(epoch from '2026-07-07 12:11:36'::timestamp) - extract(epoch from '2026-07-07 12:11: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'), 47829, 'SRID=4674;POINT (-40.40531 -2.747366)', '2026-07-07 12:11:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405338 -2.747329)'), GeomFromEWKT('SRID=4674;POINT (-40.40531 -2.747366)'))) / (select extract(epoch from '2026-07-07 12:11:39'::timestamp) - extract(epoch from '2026-07-07 12:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405338 -2.747329)'), GeomFromEWKT('SRID=4674;POINT (-40.40531 -2.747366)'))) / (select extract(epoch from '2026-07-07 12:11:39'::timestamp) - extract(epoch from '2026-07-07 12:11: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'), 47829, 'SRID=4674;POINT (-40.405294 -2.74739)', '2026-07-07 12:11:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40531 -2.747366)'), GeomFromEWKT('SRID=4674;POINT (-40.405294 -2.74739)'))) / (select extract(epoch from '2026-07-07 12:11:41'::timestamp) - extract(epoch from '2026-07-07 12:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40531 -2.747366)'), GeomFromEWKT('SRID=4674;POINT (-40.405294 -2.74739)'))) / (select extract(epoch from '2026-07-07 12:11:41'::timestamp) - extract(epoch from '2026-07-07 12:11: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'), 47829, 'SRID=4674;POINT (-40.405227 -2.747455)', '2026-07-07 12:11:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405294 -2.74739)'), GeomFromEWKT('SRID=4674;POINT (-40.405227 -2.747455)'))) / (select extract(epoch from '2026-07-07 12:11:47'::timestamp) - extract(epoch from '2026-07-07 12:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405294 -2.74739)'), GeomFromEWKT('SRID=4674;POINT (-40.405227 -2.747455)'))) / (select extract(epoch from '2026-07-07 12:11:47'::timestamp) - extract(epoch from '2026-07-07 12:11: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'), 47829, 'SRID=4674;POINT (-40.405142 -2.747484)', '2026-07-07 12:11:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405227 -2.747455)'), GeomFromEWKT('SRID=4674;POINT (-40.405142 -2.747484)'))) / (select extract(epoch from '2026-07-07 12:11:53'::timestamp) - extract(epoch from '2026-07-07 12:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405227 -2.747455)'), GeomFromEWKT('SRID=4674;POINT (-40.405142 -2.747484)'))) / (select extract(epoch from '2026-07-07 12:11:53'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.405054 -2.747514)', '2026-07-07 12:12:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405142 -2.747484)'), GeomFromEWKT('SRID=4674;POINT (-40.405054 -2.747514)'))) / (select extract(epoch from '2026-07-07 12:12:00'::timestamp) - extract(epoch from '2026-07-07 12:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405142 -2.747484)'), GeomFromEWKT('SRID=4674;POINT (-40.405054 -2.747514)'))) / (select extract(epoch from '2026-07-07 12:12:00'::timestamp) - extract(epoch from '2026-07-07 12:11: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'), 47829, 'SRID=4674;POINT (-40.405005 -2.747535)', '2026-07-07 12:12:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405054 -2.747514)'), GeomFromEWKT('SRID=4674;POINT (-40.405005 -2.747535)'))) / (select extract(epoch from '2026-07-07 12:12:04'::timestamp) - extract(epoch from '2026-07-07 12:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405054 -2.747514)'), GeomFromEWKT('SRID=4674;POINT (-40.405005 -2.747535)'))) / (select extract(epoch from '2026-07-07 12:12:04'::timestamp) - extract(epoch from '2026-07-07 12:12: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'), 47829, 'SRID=4674;POINT (-40.404983 -2.747544)', '2026-07-07 12:12:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405005 -2.747535)'), GeomFromEWKT('SRID=4674;POINT (-40.404983 -2.747544)'))) / (select extract(epoch from '2026-07-07 12:12:06'::timestamp) - extract(epoch from '2026-07-07 12:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405005 -2.747535)'), GeomFromEWKT('SRID=4674;POINT (-40.404983 -2.747544)'))) / (select extract(epoch from '2026-07-07 12:12:06'::timestamp) - extract(epoch from '2026-07-07 12:12: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'), 47829, 'SRID=4674;POINT (-40.404951 -2.747557)', '2026-07-07 12:12:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404983 -2.747544)'), GeomFromEWKT('SRID=4674;POINT (-40.404951 -2.747557)'))) / (select extract(epoch from '2026-07-07 12:12:09'::timestamp) - extract(epoch from '2026-07-07 12:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404983 -2.747544)'), GeomFromEWKT('SRID=4674;POINT (-40.404951 -2.747557)'))) / (select extract(epoch from '2026-07-07 12:12:09'::timestamp) - extract(epoch from '2026-07-07 12:12: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'), 47829, 'SRID=4674;POINT (-40.404925 -2.747566)', '2026-07-07 12:12:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404951 -2.747557)'), GeomFromEWKT('SRID=4674;POINT (-40.404925 -2.747566)'))) / (select extract(epoch from '2026-07-07 12:12:11'::timestamp) - extract(epoch from '2026-07-07 12:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404951 -2.747557)'), GeomFromEWKT('SRID=4674;POINT (-40.404925 -2.747566)'))) / (select extract(epoch from '2026-07-07 12:12:11'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.404828 -2.747593)', '2026-07-07 12:12:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404925 -2.747566)'), GeomFromEWKT('SRID=4674;POINT (-40.404828 -2.747593)'))) / (select extract(epoch from '2026-07-07 12:12:18'::timestamp) - extract(epoch from '2026-07-07 12:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404925 -2.747566)'), GeomFromEWKT('SRID=4674;POINT (-40.404828 -2.747593)'))) / (select extract(epoch from '2026-07-07 12:12:18'::timestamp) - extract(epoch from '2026-07-07 12:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.404734 -2.747621)', '2026-07-07 12:12:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404828 -2.747593)'), GeomFromEWKT('SRID=4674;POINT (-40.404734 -2.747621)'))) / (select extract(epoch from '2026-07-07 12:12:25'::timestamp) - extract(epoch from '2026-07-07 12:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404828 -2.747593)'), GeomFromEWKT('SRID=4674;POINT (-40.404734 -2.747621)'))) / (select extract(epoch from '2026-07-07 12:12:25'::timestamp) - extract(epoch from '2026-07-07 12:12: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'), 47829, 'SRID=4674;POINT (-40.404699 -2.747638)', '2026-07-07 12:12:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404734 -2.747621)'), GeomFromEWKT('SRID=4674;POINT (-40.404699 -2.747638)'))) / (select extract(epoch from '2026-07-07 12:12:28'::timestamp) - extract(epoch from '2026-07-07 12:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404734 -2.747621)'), GeomFromEWKT('SRID=4674;POINT (-40.404699 -2.747638)'))) / (select extract(epoch from '2026-07-07 12:12:28'::timestamp) - extract(epoch from '2026-07-07 12:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.404677 -2.747647)', '2026-07-07 12:12:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404699 -2.747638)'), GeomFromEWKT('SRID=4674;POINT (-40.404677 -2.747647)'))) / (select extract(epoch from '2026-07-07 12:12:30'::timestamp) - extract(epoch from '2026-07-07 12:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404699 -2.747638)'), GeomFromEWKT('SRID=4674;POINT (-40.404677 -2.747647)'))) / (select extract(epoch from '2026-07-07 12:12:30'::timestamp) - extract(epoch from '2026-07-07 12:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.404605 -2.747693)', '2026-07-07 12:12:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404677 -2.747647)'), GeomFromEWKT('SRID=4674;POINT (-40.404605 -2.747693)'))) / (select extract(epoch from '2026-07-07 12:12:36'::timestamp) - extract(epoch from '2026-07-07 12:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404677 -2.747647)'), GeomFromEWKT('SRID=4674;POINT (-40.404605 -2.747693)'))) / (select extract(epoch from '2026-07-07 12:12:36'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.404585 -2.74772)', '2026-07-07 12:12:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404605 -2.747693)'), GeomFromEWKT('SRID=4674;POINT (-40.404585 -2.74772)'))) / (select extract(epoch from '2026-07-07 12:12:39'::timestamp) - extract(epoch from '2026-07-07 12:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404605 -2.747693)'), GeomFromEWKT('SRID=4674;POINT (-40.404585 -2.74772)'))) / (select extract(epoch from '2026-07-07 12:12:39'::timestamp) - extract(epoch from '2026-07-07 12:12: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'), 47829, 'SRID=4674;POINT (-40.404567 -2.747722)', '2026-07-07 12:12:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404585 -2.74772)'), GeomFromEWKT('SRID=4674;POINT (-40.404567 -2.747722)'))) / (select extract(epoch from '2026-07-07 12:12:41'::timestamp) - extract(epoch from '2026-07-07 12:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404585 -2.74772)'), GeomFromEWKT('SRID=4674;POINT (-40.404567 -2.747722)'))) / (select extract(epoch from '2026-07-07 12:12:41'::timestamp) - extract(epoch from '2026-07-07 12:12: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'), 47829, 'SRID=4674;POINT (-40.404499 -2.747716)', '2026-07-07 12:12:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404567 -2.747722)'), GeomFromEWKT('SRID=4674;POINT (-40.404499 -2.747716)'))) / (select extract(epoch from '2026-07-07 12:12:48'::timestamp) - extract(epoch from '2026-07-07 12:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404567 -2.747722)'), GeomFromEWKT('SRID=4674;POINT (-40.404499 -2.747716)'))) / (select extract(epoch from '2026-07-07 12:12:48'::timestamp) - extract(epoch from '2026-07-07 12:12: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'), 47829, 'SRID=4674;POINT (-40.40446 -2.747727)', '2026-07-07 12:12:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404499 -2.747716)'), GeomFromEWKT('SRID=4674;POINT (-40.40446 -2.747727)'))) / (select extract(epoch from '2026-07-07 12:12:52'::timestamp) - extract(epoch from '2026-07-07 12:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404499 -2.747716)'), GeomFromEWKT('SRID=4674;POINT (-40.40446 -2.747727)'))) / (select extract(epoch from '2026-07-07 12:12:52'::timestamp) - extract(epoch from '2026-07-07 12:12: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'), 47829, 'SRID=4674;POINT (-40.404441 -2.747739)', '2026-07-07 12:12:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40446 -2.747727)'), GeomFromEWKT('SRID=4674;POINT (-40.404441 -2.747739)'))) / (select extract(epoch from '2026-07-07 12:12:54'::timestamp) - extract(epoch from '2026-07-07 12:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40446 -2.747727)'), GeomFromEWKT('SRID=4674;POINT (-40.404441 -2.747739)'))) / (select extract(epoch from '2026-07-07 12:12:54'::timestamp) - extract(epoch from '2026-07-07 12:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.40437 -2.747763)', '2026-07-07 12:13:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404441 -2.747739)'), GeomFromEWKT('SRID=4674;POINT (-40.40437 -2.747763)'))) / (select extract(epoch from '2026-07-07 12:13:00'::timestamp) - extract(epoch from '2026-07-07 12:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404441 -2.747739)'), GeomFromEWKT('SRID=4674;POINT (-40.40437 -2.747763)'))) / (select extract(epoch from '2026-07-07 12:13:00'::timestamp) - extract(epoch from '2026-07-07 12:12: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'), 47829, 'SRID=4674;POINT (-40.404283 -2.747783)', '2026-07-07 12:13:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40437 -2.747763)'), GeomFromEWKT('SRID=4674;POINT (-40.404283 -2.747783)'))) / (select extract(epoch from '2026-07-07 12:13:07'::timestamp) - extract(epoch from '2026-07-07 12:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40437 -2.747763)'), GeomFromEWKT('SRID=4674;POINT (-40.404283 -2.747783)'))) / (select extract(epoch from '2026-07-07 12:13:07'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.404203 -2.747806)', '2026-07-07 12:13:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404283 -2.747783)'), GeomFromEWKT('SRID=4674;POINT (-40.404203 -2.747806)'))) / (select extract(epoch from '2026-07-07 12:13:13'::timestamp) - extract(epoch from '2026-07-07 12:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404283 -2.747783)'), GeomFromEWKT('SRID=4674;POINT (-40.404203 -2.747806)'))) / (select extract(epoch from '2026-07-07 12:13:13'::timestamp) - extract(epoch from '2026-07-07 12:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.404177 -2.747813)', '2026-07-07 12:13:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404203 -2.747806)'), GeomFromEWKT('SRID=4674;POINT (-40.404177 -2.747813)'))) / (select extract(epoch from '2026-07-07 12:13:15'::timestamp) - extract(epoch from '2026-07-07 12:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404203 -2.747806)'), GeomFromEWKT('SRID=4674;POINT (-40.404177 -2.747813)'))) / (select extract(epoch from '2026-07-07 12:13:15'::timestamp) - extract(epoch from '2026-07-07 12:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.404152 -2.747816)', '2026-07-07 12:13:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404177 -2.747813)'), GeomFromEWKT('SRID=4674;POINT (-40.404152 -2.747816)'))) / (select extract(epoch from '2026-07-07 12:13:17'::timestamp) - extract(epoch from '2026-07-07 12:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404177 -2.747813)'), GeomFromEWKT('SRID=4674;POINT (-40.404152 -2.747816)'))) / (select extract(epoch from '2026-07-07 12:13:17'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.404068 -2.747825)', '2026-07-07 12:13:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404152 -2.747816)'), GeomFromEWKT('SRID=4674;POINT (-40.404068 -2.747825)'))) / (select extract(epoch from '2026-07-07 12:13:23'::timestamp) - extract(epoch from '2026-07-07 12:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404152 -2.747816)'), GeomFromEWKT('SRID=4674;POINT (-40.404068 -2.747825)'))) / (select extract(epoch from '2026-07-07 12:13:23'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.40405 -2.747836)', '2026-07-07 12:13:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404068 -2.747825)'), GeomFromEWKT('SRID=4674;POINT (-40.40405 -2.747836)'))) / (select extract(epoch from '2026-07-07 12:13:25'::timestamp) - extract(epoch from '2026-07-07 12:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404068 -2.747825)'), GeomFromEWKT('SRID=4674;POINT (-40.40405 -2.747836)'))) / (select extract(epoch from '2026-07-07 12:13:25'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.40403 -2.747842)', '2026-07-07 12:13:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40405 -2.747836)'), GeomFromEWKT('SRID=4674;POINT (-40.40403 -2.747842)'))) / (select extract(epoch from '2026-07-07 12:13:27'::timestamp) - extract(epoch from '2026-07-07 12:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40405 -2.747836)'), GeomFromEWKT('SRID=4674;POINT (-40.40403 -2.747842)'))) / (select extract(epoch from '2026-07-07 12:13:27'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.404022 -2.747848)', '2026-07-07 12:13:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40403 -2.747842)'), GeomFromEWKT('SRID=4674;POINT (-40.404022 -2.747848)'))) / (select extract(epoch from '2026-07-07 12:13:28'::timestamp) - extract(epoch from '2026-07-07 12:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40403 -2.747842)'), GeomFromEWKT('SRID=4674;POINT (-40.404022 -2.747848)'))) / (select extract(epoch from '2026-07-07 12:13:28'::timestamp) - extract(epoch from '2026-07-07 12:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.403937 -2.747886)', '2026-07-07 12:13:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404022 -2.747848)'), GeomFromEWKT('SRID=4674;POINT (-40.403937 -2.747886)'))) / (select extract(epoch from '2026-07-07 12:13:35'::timestamp) - extract(epoch from '2026-07-07 12:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404022 -2.747848)'), GeomFromEWKT('SRID=4674;POINT (-40.403937 -2.747886)'))) / (select extract(epoch from '2026-07-07 12:13:35'::timestamp) - extract(epoch from '2026-07-07 12:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.403883 -2.747904)', '2026-07-07 12:13:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403937 -2.747886)'), GeomFromEWKT('SRID=4674;POINT (-40.403883 -2.747904)'))) / (select extract(epoch from '2026-07-07 12:13:39'::timestamp) - extract(epoch from '2026-07-07 12:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403937 -2.747886)'), GeomFromEWKT('SRID=4674;POINT (-40.403883 -2.747904)'))) / (select extract(epoch from '2026-07-07 12:13:39'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.403874 -2.747911)', '2026-07-07 12:13:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403883 -2.747904)'), GeomFromEWKT('SRID=4674;POINT (-40.403874 -2.747911)'))) / (select extract(epoch from '2026-07-07 12:13:40'::timestamp) - extract(epoch from '2026-07-07 12:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403883 -2.747904)'), GeomFromEWKT('SRID=4674;POINT (-40.403874 -2.747911)'))) / (select extract(epoch from '2026-07-07 12:13:40'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.403853 -2.747923)', '2026-07-07 12:13:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403874 -2.747911)'), GeomFromEWKT('SRID=4674;POINT (-40.403853 -2.747923)'))) / (select extract(epoch from '2026-07-07 12:13:42'::timestamp) - extract(epoch from '2026-07-07 12:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403874 -2.747911)'), GeomFromEWKT('SRID=4674;POINT (-40.403853 -2.747923)'))) / (select extract(epoch from '2026-07-07 12:13:42'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.403831 -2.747933)', '2026-07-07 12:13:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403853 -2.747923)'), GeomFromEWKT('SRID=4674;POINT (-40.403831 -2.747933)'))) / (select extract(epoch from '2026-07-07 12:13:44'::timestamp) - extract(epoch from '2026-07-07 12:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403853 -2.747923)'), GeomFromEWKT('SRID=4674;POINT (-40.403831 -2.747933)'))) / (select extract(epoch from '2026-07-07 12:13:44'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.40382 -2.747941)', '2026-07-07 12:13:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403831 -2.747933)'), GeomFromEWKT('SRID=4674;POINT (-40.40382 -2.747941)'))) / (select extract(epoch from '2026-07-07 12:13:45'::timestamp) - extract(epoch from '2026-07-07 12:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403831 -2.747933)'), GeomFromEWKT('SRID=4674;POINT (-40.40382 -2.747941)'))) / (select extract(epoch from '2026-07-07 12:13:45'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.403773 -2.747969)', '2026-07-07 12:13:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40382 -2.747941)'), GeomFromEWKT('SRID=4674;POINT (-40.403773 -2.747969)'))) / (select extract(epoch from '2026-07-07 12:13:49'::timestamp) - extract(epoch from '2026-07-07 12:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40382 -2.747941)'), GeomFromEWKT('SRID=4674;POINT (-40.403773 -2.747969)'))) / (select extract(epoch from '2026-07-07 12:13:49'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.403727 -2.747999)', '2026-07-07 12:13:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403773 -2.747969)'), GeomFromEWKT('SRID=4674;POINT (-40.403727 -2.747999)'))) / (select extract(epoch from '2026-07-07 12:13:53'::timestamp) - extract(epoch from '2026-07-07 12:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403773 -2.747969)'), GeomFromEWKT('SRID=4674;POINT (-40.403727 -2.747999)'))) / (select extract(epoch from '2026-07-07 12:13:53'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.403716 -2.748008)', '2026-07-07 12:13:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403727 -2.747999)'), GeomFromEWKT('SRID=4674;POINT (-40.403716 -2.748008)'))) / (select extract(epoch from '2026-07-07 12:13:54'::timestamp) - extract(epoch from '2026-07-07 12:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403727 -2.747999)'), GeomFromEWKT('SRID=4674;POINT (-40.403716 -2.748008)'))) / (select extract(epoch from '2026-07-07 12:13:54'::timestamp) - extract(epoch from '2026-07-07 12:13: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'), 47829, 'SRID=4674;POINT (-40.403619 -2.748039)', '2026-07-07 12:14:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403716 -2.748008)'), GeomFromEWKT('SRID=4674;POINT (-40.403619 -2.748039)'))) / (select extract(epoch from '2026-07-07 12:14:01'::timestamp) - extract(epoch from '2026-07-07 12:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403716 -2.748008)'), GeomFromEWKT('SRID=4674;POINT (-40.403619 -2.748039)'))) / (select extract(epoch from '2026-07-07 12:14:01'::timestamp) - extract(epoch from '2026-07-07 12:13:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.403526 -2.748043)', '2026-07-07 12:14:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403619 -2.748039)'), GeomFromEWKT('SRID=4674;POINT (-40.403526 -2.748043)'))) / (select extract(epoch from '2026-07-07 12:14:07'::timestamp) - extract(epoch from '2026-07-07 12:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403619 -2.748039)'), GeomFromEWKT('SRID=4674;POINT (-40.403526 -2.748043)'))) / (select extract(epoch from '2026-07-07 12:14:07'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.403473 -2.748037)', '2026-07-07 12:14:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403526 -2.748043)'), GeomFromEWKT('SRID=4674;POINT (-40.403473 -2.748037)'))) / (select extract(epoch from '2026-07-07 12:14:11'::timestamp) - extract(epoch from '2026-07-07 12:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403526 -2.748043)'), GeomFromEWKT('SRID=4674;POINT (-40.403473 -2.748037)'))) / (select extract(epoch from '2026-07-07 12:14:11'::timestamp) - extract(epoch from '2026-07-07 12:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.403446 -2.748037)', '2026-07-07 12:14:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403473 -2.748037)'), GeomFromEWKT('SRID=4674;POINT (-40.403446 -2.748037)'))) / (select extract(epoch from '2026-07-07 12:14:13'::timestamp) - extract(epoch from '2026-07-07 12:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403473 -2.748037)'), GeomFromEWKT('SRID=4674;POINT (-40.403446 -2.748037)'))) / (select extract(epoch from '2026-07-07 12:14:13'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.40334 -2.748035)', '2026-07-07 12:14:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403446 -2.748037)'), GeomFromEWKT('SRID=4674;POINT (-40.40334 -2.748035)'))) / (select extract(epoch from '2026-07-07 12:14:21'::timestamp) - extract(epoch from '2026-07-07 12:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403446 -2.748037)'), GeomFromEWKT('SRID=4674;POINT (-40.40334 -2.748035)'))) / (select extract(epoch from '2026-07-07 12:14:21'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.403268 -2.748044)', '2026-07-07 12:14:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40334 -2.748035)'), GeomFromEWKT('SRID=4674;POINT (-40.403268 -2.748044)'))) / (select extract(epoch from '2026-07-07 12:14:27'::timestamp) - extract(epoch from '2026-07-07 12:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40334 -2.748035)'), GeomFromEWKT('SRID=4674;POINT (-40.403268 -2.748044)'))) / (select extract(epoch from '2026-07-07 12:14:27'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.403165 -2.748084)', '2026-07-07 12:14:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403268 -2.748044)'), GeomFromEWKT('SRID=4674;POINT (-40.403165 -2.748084)'))) / (select extract(epoch from '2026-07-07 12:14:35'::timestamp) - extract(epoch from '2026-07-07 12:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403268 -2.748044)'), GeomFromEWKT('SRID=4674;POINT (-40.403165 -2.748084)'))) / (select extract(epoch from '2026-07-07 12:14:35'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.403094 -2.748117)', '2026-07-07 12:14:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403165 -2.748084)'), GeomFromEWKT('SRID=4674;POINT (-40.403094 -2.748117)'))) / (select extract(epoch from '2026-07-07 12:14:41'::timestamp) - extract(epoch from '2026-07-07 12:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403165 -2.748084)'), GeomFromEWKT('SRID=4674;POINT (-40.403094 -2.748117)'))) / (select extract(epoch from '2026-07-07 12:14:41'::timestamp) - extract(epoch from '2026-07-07 12:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.403031 -2.748134)', '2026-07-07 12:14:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403094 -2.748117)'), GeomFromEWKT('SRID=4674;POINT (-40.403031 -2.748134)'))) / (select extract(epoch from '2026-07-07 12:14:46'::timestamp) - extract(epoch from '2026-07-07 12:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403094 -2.748117)'), GeomFromEWKT('SRID=4674;POINT (-40.403031 -2.748134)'))) / (select extract(epoch from '2026-07-07 12:14:46'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.403007 -2.748141)', '2026-07-07 12:14:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403031 -2.748134)'), GeomFromEWKT('SRID=4674;POINT (-40.403007 -2.748141)'))) / (select extract(epoch from '2026-07-07 12:14:48'::timestamp) - extract(epoch from '2026-07-07 12:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403031 -2.748134)'), GeomFromEWKT('SRID=4674;POINT (-40.403007 -2.748141)'))) / (select extract(epoch from '2026-07-07 12:14:48'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.402988 -2.748151)', '2026-07-07 12:14:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403007 -2.748141)'), GeomFromEWKT('SRID=4674;POINT (-40.402988 -2.748151)'))) / (select extract(epoch from '2026-07-07 12:14:50'::timestamp) - extract(epoch from '2026-07-07 12:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403007 -2.748141)'), GeomFromEWKT('SRID=4674;POINT (-40.402988 -2.748151)'))) / (select extract(epoch from '2026-07-07 12:14:50'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.402979 -2.748158)', '2026-07-07 12:14:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402988 -2.748151)'), GeomFromEWKT('SRID=4674;POINT (-40.402979 -2.748158)'))) / (select extract(epoch from '2026-07-07 12:14:51'::timestamp) - extract(epoch from '2026-07-07 12:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402988 -2.748151)'), GeomFromEWKT('SRID=4674;POINT (-40.402979 -2.748158)'))) / (select extract(epoch from '2026-07-07 12:14:51'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.402954 -2.748178)', '2026-07-07 12:14:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402979 -2.748158)'), GeomFromEWKT('SRID=4674;POINT (-40.402954 -2.748178)'))) / (select extract(epoch from '2026-07-07 12:14:54'::timestamp) - extract(epoch from '2026-07-07 12:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402979 -2.748158)'), GeomFromEWKT('SRID=4674;POINT (-40.402954 -2.748178)'))) / (select extract(epoch from '2026-07-07 12:14:54'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.402942 -2.748185)', '2026-07-07 12:14:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402954 -2.748178)'), GeomFromEWKT('SRID=4674;POINT (-40.402942 -2.748185)'))) / (select extract(epoch from '2026-07-07 12:14:55'::timestamp) - extract(epoch from '2026-07-07 12:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402954 -2.748178)'), GeomFromEWKT('SRID=4674;POINT (-40.402942 -2.748185)'))) / (select extract(epoch from '2026-07-07 12:14:55'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.402857 -2.748227)', '2026-07-07 12:15:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402942 -2.748185)'), GeomFromEWKT('SRID=4674;POINT (-40.402857 -2.748227)'))) / (select extract(epoch from '2026-07-07 12:15:03'::timestamp) - extract(epoch from '2026-07-07 12:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402942 -2.748185)'), GeomFromEWKT('SRID=4674;POINT (-40.402857 -2.748227)'))) / (select extract(epoch from '2026-07-07 12:15:03'::timestamp) - extract(epoch from '2026-07-07 12:14: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'), 47829, 'SRID=4674;POINT (-40.402763 -2.74826)', '2026-07-07 12:15:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402857 -2.748227)'), GeomFromEWKT('SRID=4674;POINT (-40.402763 -2.74826)'))) / (select extract(epoch from '2026-07-07 12:15:10'::timestamp) - extract(epoch from '2026-07-07 12:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402857 -2.748227)'), GeomFromEWKT('SRID=4674;POINT (-40.402763 -2.74826)'))) / (select extract(epoch from '2026-07-07 12:15:10'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402642 -2.748289)', '2026-07-07 12:15:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402763 -2.74826)'), GeomFromEWKT('SRID=4674;POINT (-40.402642 -2.748289)'))) / (select extract(epoch from '2026-07-07 12:15:18'::timestamp) - extract(epoch from '2026-07-07 12:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402763 -2.74826)'), GeomFromEWKT('SRID=4674;POINT (-40.402642 -2.748289)'))) / (select extract(epoch from '2026-07-07 12:15:18'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402553 -2.748297)', '2026-07-07 12:15:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402642 -2.748289)'), GeomFromEWKT('SRID=4674;POINT (-40.402553 -2.748297)'))) / (select extract(epoch from '2026-07-07 12:15:24'::timestamp) - extract(epoch from '2026-07-07 12:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402642 -2.748289)'), GeomFromEWKT('SRID=4674;POINT (-40.402553 -2.748297)'))) / (select extract(epoch from '2026-07-07 12:15:24'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.40245 -2.748299)', '2026-07-07 12:15:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402553 -2.748297)'), GeomFromEWKT('SRID=4674;POINT (-40.40245 -2.748299)'))) / (select extract(epoch from '2026-07-07 12:15:31'::timestamp) - extract(epoch from '2026-07-07 12:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402553 -2.748297)'), GeomFromEWKT('SRID=4674;POINT (-40.40245 -2.748299)'))) / (select extract(epoch from '2026-07-07 12:15:31'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402343 -2.74831)', '2026-07-07 12:15:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40245 -2.748299)'), GeomFromEWKT('SRID=4674;POINT (-40.402343 -2.74831)'))) / (select extract(epoch from '2026-07-07 12:15:38'::timestamp) - extract(epoch from '2026-07-07 12:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40245 -2.748299)'), GeomFromEWKT('SRID=4674;POINT (-40.402343 -2.74831)'))) / (select extract(epoch from '2026-07-07 12:15:38'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402223 -2.748321)', '2026-07-07 12:15:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402343 -2.74831)'), GeomFromEWKT('SRID=4674;POINT (-40.402223 -2.748321)'))) / (select extract(epoch from '2026-07-07 12:15:46'::timestamp) - extract(epoch from '2026-07-07 12:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402343 -2.74831)'), GeomFromEWKT('SRID=4674;POINT (-40.402223 -2.748321)'))) / (select extract(epoch from '2026-07-07 12:15:46'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402161 -2.748332)', '2026-07-07 12:15:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402223 -2.748321)'), GeomFromEWKT('SRID=4674;POINT (-40.402161 -2.748332)'))) / (select extract(epoch from '2026-07-07 12:15:51'::timestamp) - extract(epoch from '2026-07-07 12:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402223 -2.748321)'), GeomFromEWKT('SRID=4674;POINT (-40.402161 -2.748332)'))) / (select extract(epoch from '2026-07-07 12:15:51'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402151 -2.748339)', '2026-07-07 12:15:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402161 -2.748332)'), GeomFromEWKT('SRID=4674;POINT (-40.402151 -2.748339)'))) / (select extract(epoch from '2026-07-07 12:15:52'::timestamp) - extract(epoch from '2026-07-07 12:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402161 -2.748332)'), GeomFromEWKT('SRID=4674;POINT (-40.402151 -2.748339)'))) / (select extract(epoch from '2026-07-07 12:15:52'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402144 -2.748347)', '2026-07-07 12:15:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402151 -2.748339)'), GeomFromEWKT('SRID=4674;POINT (-40.402144 -2.748347)'))) / (select extract(epoch from '2026-07-07 12:15:53'::timestamp) - extract(epoch from '2026-07-07 12:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402151 -2.748339)'), GeomFromEWKT('SRID=4674;POINT (-40.402144 -2.748347)'))) / (select extract(epoch from '2026-07-07 12:15:53'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402112 -2.748368)', '2026-07-07 12:15:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402144 -2.748347)'), GeomFromEWKT('SRID=4674;POINT (-40.402112 -2.748368)'))) / (select extract(epoch from '2026-07-07 12:15:56'::timestamp) - extract(epoch from '2026-07-07 12:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402144 -2.748347)'), GeomFromEWKT('SRID=4674;POINT (-40.402112 -2.748368)'))) / (select extract(epoch from '2026-07-07 12:15:56'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402092 -2.748378)', '2026-07-07 12:15:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402112 -2.748368)'), GeomFromEWKT('SRID=4674;POINT (-40.402092 -2.748378)'))) / (select extract(epoch from '2026-07-07 12:15:58'::timestamp) - extract(epoch from '2026-07-07 12:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402112 -2.748368)'), GeomFromEWKT('SRID=4674;POINT (-40.402092 -2.748378)'))) / (select extract(epoch from '2026-07-07 12:15:58'::timestamp) - extract(epoch from '2026-07-07 12:15: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'), 47829, 'SRID=4674;POINT (-40.402044 -2.748386)', '2026-07-07 12:16:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402092 -2.748378)'), GeomFromEWKT('SRID=4674;POINT (-40.402044 -2.748386)'))) / (select extract(epoch from '2026-07-07 12:16:02'::timestamp) - extract(epoch from '2026-07-07 12:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402092 -2.748378)'), GeomFromEWKT('SRID=4674;POINT (-40.402044 -2.748386)'))) / (select extract(epoch from '2026-07-07 12:16:02'::timestamp) - extract(epoch from '2026-07-07 12:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.401938 -2.74838)', '2026-07-07 12:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402044 -2.748386)'), GeomFromEWKT('SRID=4674;POINT (-40.401938 -2.74838)'))) / (select extract(epoch from '2026-07-07 12:16:10'::timestamp) - extract(epoch from '2026-07-07 12:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402044 -2.748386)'), GeomFromEWKT('SRID=4674;POINT (-40.401938 -2.74838)'))) / (select extract(epoch from '2026-07-07 12:16:10'::timestamp) - extract(epoch from '2026-07-07 12:16: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'), 47829, 'SRID=4674;POINT (-40.401848 -2.748379)', '2026-07-07 12:16:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401938 -2.74838)'), GeomFromEWKT('SRID=4674;POINT (-40.401848 -2.748379)'))) / (select extract(epoch from '2026-07-07 12:16:16'::timestamp) - extract(epoch from '2026-07-07 12:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401938 -2.74838)'), GeomFromEWKT('SRID=4674;POINT (-40.401848 -2.748379)'))) / (select extract(epoch from '2026-07-07 12:16:16'::timestamp) - extract(epoch from '2026-07-07 12:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.401837 -2.748379)', '2026-07-07 12:16:17', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401848 -2.748379)'), GeomFromEWKT('SRID=4674;POINT (-40.401837 -2.748379)'))) / (select extract(epoch from '2026-07-07 12:16:17'::timestamp) - extract(epoch from '2026-07-07 12:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401848 -2.748379)'), GeomFromEWKT('SRID=4674;POINT (-40.401837 -2.748379)'))) / (select extract(epoch from '2026-07-07 12:16:17'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.401794 -2.748379)', '2026-07-07 12:16:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401837 -2.748379)'), GeomFromEWKT('SRID=4674;POINT (-40.401794 -2.748379)'))) / (select extract(epoch from '2026-07-07 12:16:21'::timestamp) - extract(epoch from '2026-07-07 12:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401837 -2.748379)'), GeomFromEWKT('SRID=4674;POINT (-40.401794 -2.748379)'))) / (select extract(epoch from '2026-07-07 12:16:21'::timestamp) - extract(epoch from '2026-07-07 12:16: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'), 47829, 'SRID=4674;POINT (-40.401696 -2.748381)', '2026-07-07 12:16:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401794 -2.748379)'), GeomFromEWKT('SRID=4674;POINT (-40.401696 -2.748381)'))) / (select extract(epoch from '2026-07-07 12:16:29'::timestamp) - extract(epoch from '2026-07-07 12:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401794 -2.748379)'), GeomFromEWKT('SRID=4674;POINT (-40.401696 -2.748381)'))) / (select extract(epoch from '2026-07-07 12:16:29'::timestamp) - extract(epoch from '2026-07-07 12:16: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'), 47829, 'SRID=4674;POINT (-40.401632 -2.748385)', '2026-07-07 12:16:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401696 -2.748381)'), GeomFromEWKT('SRID=4674;POINT (-40.401632 -2.748385)'))) / (select extract(epoch from '2026-07-07 12:16:34'::timestamp) - extract(epoch from '2026-07-07 12:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401696 -2.748381)'), GeomFromEWKT('SRID=4674;POINT (-40.401632 -2.748385)'))) / (select extract(epoch from '2026-07-07 12:16:34'::timestamp) - extract(epoch from '2026-07-07 12:16: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'), 47829, 'SRID=4674;POINT (-40.401558 -2.748395)', '2026-07-07 12:16:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401632 -2.748385)'), GeomFromEWKT('SRID=4674;POINT (-40.401558 -2.748395)'))) / (select extract(epoch from '2026-07-07 12:16:40'::timestamp) - extract(epoch from '2026-07-07 12:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401632 -2.748385)'), GeomFromEWKT('SRID=4674;POINT (-40.401558 -2.748395)'))) / (select extract(epoch from '2026-07-07 12:16:40'::timestamp) - extract(epoch from '2026-07-07 12:16: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'), 47829, 'SRID=4674;POINT (-40.401477 -2.748399)', '2026-07-07 12:16:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401558 -2.748395)'), GeomFromEWKT('SRID=4674;POINT (-40.401477 -2.748399)'))) / (select extract(epoch from '2026-07-07 12:16:47'::timestamp) - extract(epoch from '2026-07-07 12:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401558 -2.748395)'), GeomFromEWKT('SRID=4674;POINT (-40.401477 -2.748399)'))) / (select extract(epoch from '2026-07-07 12:16:47'::timestamp) - extract(epoch from '2026-07-07 12:16: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'), 47829, 'SRID=4674;POINT (-40.401399 -2.748418)', '2026-07-07 12:16:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401477 -2.748399)'), GeomFromEWKT('SRID=4674;POINT (-40.401399 -2.748418)'))) / (select extract(epoch from '2026-07-07 12:16:53'::timestamp) - extract(epoch from '2026-07-07 12:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401477 -2.748399)'), GeomFromEWKT('SRID=4674;POINT (-40.401399 -2.748418)'))) / (select extract(epoch from '2026-07-07 12:16:53'::timestamp) - extract(epoch from '2026-07-07 12:16: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'), 47829, 'SRID=4674;POINT (-40.401346 -2.748445)', '2026-07-07 12:16:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401399 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.401346 -2.748445)'))) / (select extract(epoch from '2026-07-07 12:16:58'::timestamp) - extract(epoch from '2026-07-07 12:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401399 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.401346 -2.748445)'))) / (select extract(epoch from '2026-07-07 12:16:58'::timestamp) - extract(epoch from '2026-07-07 12:16: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'), 47829, 'SRID=4674;POINT (-40.401335 -2.748448)', '2026-07-07 12:16:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401346 -2.748445)'), GeomFromEWKT('SRID=4674;POINT (-40.401335 -2.748448)'))) / (select extract(epoch from '2026-07-07 12:16:59'::timestamp) - extract(epoch from '2026-07-07 12:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401346 -2.748445)'), GeomFromEWKT('SRID=4674;POINT (-40.401335 -2.748448)'))) / (select extract(epoch from '2026-07-07 12:16:59'::timestamp) - extract(epoch from '2026-07-07 12:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.401248 -2.748464)', '2026-07-07 12:17:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401335 -2.748448)'), GeomFromEWKT('SRID=4674;POINT (-40.401248 -2.748464)'))) / (select extract(epoch from '2026-07-07 12:17:06'::timestamp) - extract(epoch from '2026-07-07 12:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401335 -2.748448)'), GeomFromEWKT('SRID=4674;POINT (-40.401248 -2.748464)'))) / (select extract(epoch from '2026-07-07 12:17:06'::timestamp) - extract(epoch from '2026-07-07 12:16: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'), 47829, 'SRID=4674;POINT (-40.401164 -2.748469)', '2026-07-07 12:17:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401248 -2.748464)'), GeomFromEWKT('SRID=4674;POINT (-40.401164 -2.748469)'))) / (select extract(epoch from '2026-07-07 12:17:13'::timestamp) - extract(epoch from '2026-07-07 12:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401248 -2.748464)'), GeomFromEWKT('SRID=4674;POINT (-40.401164 -2.748469)'))) / (select extract(epoch from '2026-07-07 12:17:13'::timestamp) - extract(epoch from '2026-07-07 12:17: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'), 47829, 'SRID=4674;POINT (-40.401094 -2.748476)', '2026-07-07 12:17:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401164 -2.748469)'), GeomFromEWKT('SRID=4674;POINT (-40.401094 -2.748476)'))) / (select extract(epoch from '2026-07-07 12:17:19'::timestamp) - extract(epoch from '2026-07-07 12:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401164 -2.748469)'), GeomFromEWKT('SRID=4674;POINT (-40.401094 -2.748476)'))) / (select extract(epoch from '2026-07-07 12:17:19'::timestamp) - extract(epoch from '2026-07-07 12:17: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'), 47829, 'SRID=4674;POINT (-40.400999 -2.748476)', '2026-07-07 12:17:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401094 -2.748476)'), GeomFromEWKT('SRID=4674;POINT (-40.400999 -2.748476)'))) / (select extract(epoch from '2026-07-07 12:17:27'::timestamp) - extract(epoch from '2026-07-07 12:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401094 -2.748476)'), GeomFromEWKT('SRID=4674;POINT (-40.400999 -2.748476)'))) / (select extract(epoch from '2026-07-07 12:17:27'::timestamp) - extract(epoch from '2026-07-07 12:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.400898 -2.748493)', '2026-07-07 12:17:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400999 -2.748476)'), GeomFromEWKT('SRID=4674;POINT (-40.400898 -2.748493)'))) / (select extract(epoch from '2026-07-07 12:17:35'::timestamp) - extract(epoch from '2026-07-07 12:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400999 -2.748476)'), GeomFromEWKT('SRID=4674;POINT (-40.400898 -2.748493)'))) / (select extract(epoch from '2026-07-07 12:17:35'::timestamp) - extract(epoch from '2026-07-07 12:17: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'), 47829, 'SRID=4674;POINT (-40.400815 -2.7485)', '2026-07-07 12:17:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400898 -2.748493)'), GeomFromEWKT('SRID=4674;POINT (-40.400815 -2.7485)'))) / (select extract(epoch from '2026-07-07 12:17:41'::timestamp) - extract(epoch from '2026-07-07 12:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400898 -2.748493)'), GeomFromEWKT('SRID=4674;POINT (-40.400815 -2.7485)'))) / (select extract(epoch from '2026-07-07 12:17:41'::timestamp) - extract(epoch from '2026-07-07 12:17: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'), 47829, 'SRID=4674;POINT (-40.400734 -2.748504)', '2026-07-07 12:17:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400815 -2.7485)'), GeomFromEWKT('SRID=4674;POINT (-40.400734 -2.748504)'))) / (select extract(epoch from '2026-07-07 12:17:47'::timestamp) - extract(epoch from '2026-07-07 12:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400815 -2.7485)'), GeomFromEWKT('SRID=4674;POINT (-40.400734 -2.748504)'))) / (select extract(epoch from '2026-07-07 12:17:47'::timestamp) - extract(epoch from '2026-07-07 12:17: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'), 47829, 'SRID=4674;POINT (-40.400639 -2.748536)', '2026-07-07 12:17:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400734 -2.748504)'), GeomFromEWKT('SRID=4674;POINT (-40.400639 -2.748536)'))) / (select extract(epoch from '2026-07-07 12:17:54'::timestamp) - extract(epoch from '2026-07-07 12:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400734 -2.748504)'), GeomFromEWKT('SRID=4674;POINT (-40.400639 -2.748536)'))) / (select extract(epoch from '2026-07-07 12:17:54'::timestamp) - extract(epoch from '2026-07-07 12:17: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'), 47829, 'SRID=4674;POINT (-40.400525 -2.748563)', '2026-07-07 12:18:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400639 -2.748536)'), GeomFromEWKT('SRID=4674;POINT (-40.400525 -2.748563)'))) / (select extract(epoch from '2026-07-07 12:18:02'::timestamp) - extract(epoch from '2026-07-07 12:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400639 -2.748536)'), GeomFromEWKT('SRID=4674;POINT (-40.400525 -2.748563)'))) / (select extract(epoch from '2026-07-07 12:18:02'::timestamp) - extract(epoch from '2026-07-07 12:17: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'), 47829, 'SRID=4674;POINT (-40.400482 -2.748574)', '2026-07-07 12:18:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400525 -2.748563)'), GeomFromEWKT('SRID=4674;POINT (-40.400482 -2.748574)'))) / (select extract(epoch from '2026-07-07 12:18:05'::timestamp) - extract(epoch from '2026-07-07 12:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400525 -2.748563)'), GeomFromEWKT('SRID=4674;POINT (-40.400482 -2.748574)'))) / (select extract(epoch from '2026-07-07 12:18:05'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.40044 -2.748584)', '2026-07-07 12:18:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400482 -2.748574)'), GeomFromEWKT('SRID=4674;POINT (-40.40044 -2.748584)'))) / (select extract(epoch from '2026-07-07 12:18:08'::timestamp) - extract(epoch from '2026-07-07 12:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400482 -2.748574)'), GeomFromEWKT('SRID=4674;POINT (-40.40044 -2.748584)'))) / (select extract(epoch from '2026-07-07 12:18:08'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.400426 -2.748587)', '2026-07-07 12:18:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40044 -2.748584)'), GeomFromEWKT('SRID=4674;POINT (-40.400426 -2.748587)'))) / (select extract(epoch from '2026-07-07 12:18:09'::timestamp) - extract(epoch from '2026-07-07 12:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40044 -2.748584)'), GeomFromEWKT('SRID=4674;POINT (-40.400426 -2.748587)'))) / (select extract(epoch from '2026-07-07 12:18:09'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.400353 -2.748592)', '2026-07-07 12:18:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400426 -2.748587)'), GeomFromEWKT('SRID=4674;POINT (-40.400353 -2.748592)'))) / (select extract(epoch from '2026-07-07 12:18:14'::timestamp) - extract(epoch from '2026-07-07 12:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400426 -2.748587)'), GeomFromEWKT('SRID=4674;POINT (-40.400353 -2.748592)'))) / (select extract(epoch from '2026-07-07 12:18:14'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.400259 -2.748606)', '2026-07-07 12:18:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400353 -2.748592)'), GeomFromEWKT('SRID=4674;POINT (-40.400259 -2.748606)'))) / (select extract(epoch from '2026-07-07 12:18:21'::timestamp) - extract(epoch from '2026-07-07 12:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400353 -2.748592)'), GeomFromEWKT('SRID=4674;POINT (-40.400259 -2.748606)'))) / (select extract(epoch from '2026-07-07 12:18:21'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.400212 -2.748612)', '2026-07-07 12:18:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400259 -2.748606)'), GeomFromEWKT('SRID=4674;POINT (-40.400212 -2.748612)'))) / (select extract(epoch from '2026-07-07 12:18:25'::timestamp) - extract(epoch from '2026-07-07 12:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400259 -2.748606)'), GeomFromEWKT('SRID=4674;POINT (-40.400212 -2.748612)'))) / (select extract(epoch from '2026-07-07 12:18:25'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.400192 -2.748617)', '2026-07-07 12:18:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400212 -2.748612)'), GeomFromEWKT('SRID=4674;POINT (-40.400192 -2.748617)'))) / (select extract(epoch from '2026-07-07 12:18:27'::timestamp) - extract(epoch from '2026-07-07 12:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400212 -2.748612)'), GeomFromEWKT('SRID=4674;POINT (-40.400192 -2.748617)'))) / (select extract(epoch from '2026-07-07 12:18:27'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.400166 -2.748628)', '2026-07-07 12:18:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400192 -2.748617)'), GeomFromEWKT('SRID=4674;POINT (-40.400166 -2.748628)'))) / (select extract(epoch from '2026-07-07 12:18:30'::timestamp) - extract(epoch from '2026-07-07 12:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400192 -2.748617)'), GeomFromEWKT('SRID=4674;POINT (-40.400166 -2.748628)'))) / (select extract(epoch from '2026-07-07 12:18:30'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.400139 -2.748642)', '2026-07-07 12:18:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400166 -2.748628)'), GeomFromEWKT('SRID=4674;POINT (-40.400139 -2.748642)'))) / (select extract(epoch from '2026-07-07 12:18:33'::timestamp) - extract(epoch from '2026-07-07 12:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400166 -2.748628)'), GeomFromEWKT('SRID=4674;POINT (-40.400139 -2.748642)'))) / (select extract(epoch from '2026-07-07 12:18:33'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.400089 -2.748676)', '2026-07-07 12:18:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400139 -2.748642)'), GeomFromEWKT('SRID=4674;POINT (-40.400089 -2.748676)'))) / (select extract(epoch from '2026-07-07 12:18:38'::timestamp) - extract(epoch from '2026-07-07 12:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400139 -2.748642)'), GeomFromEWKT('SRID=4674;POINT (-40.400089 -2.748676)'))) / (select extract(epoch from '2026-07-07 12:18:38'::timestamp) - extract(epoch from '2026-07-07 12:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.400078 -2.74868)', '2026-07-07 12:18:39', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400089 -2.748676)'), GeomFromEWKT('SRID=4674;POINT (-40.400078 -2.74868)'))) / (select extract(epoch from '2026-07-07 12:18:39'::timestamp) - extract(epoch from '2026-07-07 12:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400089 -2.748676)'), GeomFromEWKT('SRID=4674;POINT (-40.400078 -2.74868)'))) / (select extract(epoch from '2026-07-07 12:18:39'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.400065 -2.748686)', '2026-07-07 12:18:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400078 -2.74868)'), GeomFromEWKT('SRID=4674;POINT (-40.400065 -2.748686)'))) / (select extract(epoch from '2026-07-07 12:18:40'::timestamp) - extract(epoch from '2026-07-07 12:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400078 -2.74868)'), GeomFromEWKT('SRID=4674;POINT (-40.400065 -2.748686)'))) / (select extract(epoch from '2026-07-07 12:18:40'::timestamp) - extract(epoch from '2026-07-07 12:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.400012 -2.748696)', '2026-07-07 12:18:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400065 -2.748686)'), GeomFromEWKT('SRID=4674;POINT (-40.400012 -2.748696)'))) / (select extract(epoch from '2026-07-07 12:18:44'::timestamp) - extract(epoch from '2026-07-07 12:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400065 -2.748686)'), GeomFromEWKT('SRID=4674;POINT (-40.400012 -2.748696)'))) / (select extract(epoch from '2026-07-07 12:18:44'::timestamp) - extract(epoch from '2026-07-07 12:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.399971 -2.748697)', '2026-07-07 12:18:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400012 -2.748696)'), GeomFromEWKT('SRID=4674;POINT (-40.399971 -2.748697)'))) / (select extract(epoch from '2026-07-07 12:18:47'::timestamp) - extract(epoch from '2026-07-07 12:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400012 -2.748696)'), GeomFromEWKT('SRID=4674;POINT (-40.399971 -2.748697)'))) / (select extract(epoch from '2026-07-07 12:18:47'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.399929 -2.748689)', '2026-07-07 12:18:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399971 -2.748697)'), GeomFromEWKT('SRID=4674;POINT (-40.399929 -2.748689)'))) / (select extract(epoch from '2026-07-07 12:18:50'::timestamp) - extract(epoch from '2026-07-07 12:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399971 -2.748697)'), GeomFromEWKT('SRID=4674;POINT (-40.399929 -2.748689)'))) / (select extract(epoch from '2026-07-07 12:18:50'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.399837 -2.74866)', '2026-07-07 12:18:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399929 -2.748689)'), GeomFromEWKT('SRID=4674;POINT (-40.399837 -2.74866)'))) / (select extract(epoch from '2026-07-07 12:18:57'::timestamp) - extract(epoch from '2026-07-07 12:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399929 -2.748689)'), GeomFromEWKT('SRID=4674;POINT (-40.399837 -2.74866)'))) / (select extract(epoch from '2026-07-07 12:18:57'::timestamp) - extract(epoch from '2026-07-07 12:18: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'), 47829, 'SRID=4674;POINT (-40.399759 -2.748639)', '2026-07-07 12:19:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399837 -2.74866)'), GeomFromEWKT('SRID=4674;POINT (-40.399759 -2.748639)'))) / (select extract(epoch from '2026-07-07 12:19:03'::timestamp) - extract(epoch from '2026-07-07 12:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399837 -2.74866)'), GeomFromEWKT('SRID=4674;POINT (-40.399759 -2.748639)'))) / (select extract(epoch from '2026-07-07 12:19:03'::timestamp) - extract(epoch from '2026-07-07 12:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.399666 -2.748623)', '2026-07-07 12:19:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399759 -2.748639)'), GeomFromEWKT('SRID=4674;POINT (-40.399666 -2.748623)'))) / (select extract(epoch from '2026-07-07 12:19:12'::timestamp) - extract(epoch from '2026-07-07 12:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399759 -2.748639)'), GeomFromEWKT('SRID=4674;POINT (-40.399666 -2.748623)'))) / (select extract(epoch from '2026-07-07 12:19:12'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.399606 -2.748648)', '2026-07-07 12:19:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399666 -2.748623)'), GeomFromEWKT('SRID=4674;POINT (-40.399606 -2.748648)'))) / (select extract(epoch from '2026-07-07 12:19:18'::timestamp) - extract(epoch from '2026-07-07 12:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399666 -2.748623)'), GeomFromEWKT('SRID=4674;POINT (-40.399606 -2.748648)'))) / (select extract(epoch from '2026-07-07 12:19:18'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.399596 -2.748652)', '2026-07-07 12:19:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399606 -2.748648)'), GeomFromEWKT('SRID=4674;POINT (-40.399596 -2.748652)'))) / (select extract(epoch from '2026-07-07 12:19:19'::timestamp) - extract(epoch from '2026-07-07 12:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399606 -2.748648)'), GeomFromEWKT('SRID=4674;POINT (-40.399596 -2.748652)'))) / (select extract(epoch from '2026-07-07 12:19:19'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.399572 -2.748658)', '2026-07-07 12:19:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399596 -2.748652)'), GeomFromEWKT('SRID=4674;POINT (-40.399572 -2.748658)'))) / (select extract(epoch from '2026-07-07 12:19:21'::timestamp) - extract(epoch from '2026-07-07 12:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399596 -2.748652)'), GeomFromEWKT('SRID=4674;POINT (-40.399572 -2.748658)'))) / (select extract(epoch from '2026-07-07 12:19:21'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.399552 -2.748659)', '2026-07-07 12:19:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399572 -2.748658)'), GeomFromEWKT('SRID=4674;POINT (-40.399552 -2.748659)'))) / (select extract(epoch from '2026-07-07 12:19:23'::timestamp) - extract(epoch from '2026-07-07 12:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399572 -2.748658)'), GeomFromEWKT('SRID=4674;POINT (-40.399552 -2.748659)'))) / (select extract(epoch from '2026-07-07 12:19:23'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.39954 -2.748658)', '2026-07-07 12:19:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399552 -2.748659)'), GeomFromEWKT('SRID=4674;POINT (-40.39954 -2.748658)'))) / (select extract(epoch from '2026-07-07 12:19:24'::timestamp) - extract(epoch from '2026-07-07 12:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399552 -2.748659)'), GeomFromEWKT('SRID=4674;POINT (-40.39954 -2.748658)'))) / (select extract(epoch from '2026-07-07 12:19:24'::timestamp) - extract(epoch from '2026-07-07 12:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.399461 -2.748665)', '2026-07-07 12:19:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39954 -2.748658)'), GeomFromEWKT('SRID=4674;POINT (-40.399461 -2.748665)'))) / (select extract(epoch from '2026-07-07 12:19:30'::timestamp) - extract(epoch from '2026-07-07 12:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39954 -2.748658)'), GeomFromEWKT('SRID=4674;POINT (-40.399461 -2.748665)'))) / (select extract(epoch from '2026-07-07 12:19:30'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.399392 -2.748683)', '2026-07-07 12:19:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399461 -2.748665)'), GeomFromEWKT('SRID=4674;POINT (-40.399392 -2.748683)'))) / (select extract(epoch from '2026-07-07 12:19:36'::timestamp) - extract(epoch from '2026-07-07 12:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399461 -2.748665)'), GeomFromEWKT('SRID=4674;POINT (-40.399392 -2.748683)'))) / (select extract(epoch from '2026-07-07 12:19:36'::timestamp) - extract(epoch from '2026-07-07 12:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.399334 -2.748687)', '2026-07-07 12:19:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399392 -2.748683)'), GeomFromEWKT('SRID=4674;POINT (-40.399334 -2.748687)'))) / (select extract(epoch from '2026-07-07 12:19:41'::timestamp) - extract(epoch from '2026-07-07 12:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399392 -2.748683)'), GeomFromEWKT('SRID=4674;POINT (-40.399334 -2.748687)'))) / (select extract(epoch from '2026-07-07 12:19:41'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.399322 -2.748689)', '2026-07-07 12:19:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399334 -2.748687)'), GeomFromEWKT('SRID=4674;POINT (-40.399322 -2.748689)'))) / (select extract(epoch from '2026-07-07 12:19:42'::timestamp) - extract(epoch from '2026-07-07 12:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399334 -2.748687)'), GeomFromEWKT('SRID=4674;POINT (-40.399322 -2.748689)'))) / (select extract(epoch from '2026-07-07 12:19:42'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.399286 -2.748695)', '2026-07-07 12:19:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399322 -2.748689)'), GeomFromEWKT('SRID=4674;POINT (-40.399286 -2.748695)'))) / (select extract(epoch from '2026-07-07 12:19:45'::timestamp) - extract(epoch from '2026-07-07 12:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399322 -2.748689)'), GeomFromEWKT('SRID=4674;POINT (-40.399286 -2.748695)'))) / (select extract(epoch from '2026-07-07 12:19:45'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.399259 -2.748703)', '2026-07-07 12:19:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399286 -2.748695)'), GeomFromEWKT('SRID=4674;POINT (-40.399259 -2.748703)'))) / (select extract(epoch from '2026-07-07 12:19:47'::timestamp) - extract(epoch from '2026-07-07 12:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399286 -2.748695)'), GeomFromEWKT('SRID=4674;POINT (-40.399259 -2.748703)'))) / (select extract(epoch from '2026-07-07 12:19:47'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.399183 -2.748723)', '2026-07-07 12:19:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399259 -2.748703)'), GeomFromEWKT('SRID=4674;POINT (-40.399183 -2.748723)'))) / (select extract(epoch from '2026-07-07 12:19:53'::timestamp) - extract(epoch from '2026-07-07 12:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399259 -2.748703)'), GeomFromEWKT('SRID=4674;POINT (-40.399183 -2.748723)'))) / (select extract(epoch from '2026-07-07 12:19:53'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.399108 -2.748736)', '2026-07-07 12:19:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399183 -2.748723)'), GeomFromEWKT('SRID=4674;POINT (-40.399108 -2.748736)'))) / (select extract(epoch from '2026-07-07 12:19:59'::timestamp) - extract(epoch from '2026-07-07 12:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399183 -2.748723)'), GeomFromEWKT('SRID=4674;POINT (-40.399108 -2.748736)'))) / (select extract(epoch from '2026-07-07 12:19:59'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.399036 -2.748734)', '2026-07-07 12:20:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399108 -2.748736)'), GeomFromEWKT('SRID=4674;POINT (-40.399036 -2.748734)'))) / (select extract(epoch from '2026-07-07 12:20:05'::timestamp) - extract(epoch from '2026-07-07 12:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399108 -2.748736)'), GeomFromEWKT('SRID=4674;POINT (-40.399036 -2.748734)'))) / (select extract(epoch from '2026-07-07 12:20:05'::timestamp) - extract(epoch from '2026-07-07 12:19: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'), 47829, 'SRID=4674;POINT (-40.398978 -2.748728)', '2026-07-07 12:20:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399036 -2.748734)'), GeomFromEWKT('SRID=4674;POINT (-40.398978 -2.748728)'))) / (select extract(epoch from '2026-07-07 12:20:10'::timestamp) - extract(epoch from '2026-07-07 12:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399036 -2.748734)'), GeomFromEWKT('SRID=4674;POINT (-40.398978 -2.748728)'))) / (select extract(epoch from '2026-07-07 12:20:10'::timestamp) - extract(epoch from '2026-07-07 12:20: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'), 47829, 'SRID=4674;POINT (-40.398895 -2.748726)', '2026-07-07 12:20:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398978 -2.748728)'), GeomFromEWKT('SRID=4674;POINT (-40.398895 -2.748726)'))) / (select extract(epoch from '2026-07-07 12:20:17'::timestamp) - extract(epoch from '2026-07-07 12:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398978 -2.748728)'), GeomFromEWKT('SRID=4674;POINT (-40.398895 -2.748726)'))) / (select extract(epoch from '2026-07-07 12:20:17'::timestamp) - extract(epoch from '2026-07-07 12:20: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'), 47829, 'SRID=4674;POINT (-40.398883 -2.748727)', '2026-07-07 12:20:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398895 -2.748726)'), GeomFromEWKT('SRID=4674;POINT (-40.398883 -2.748727)'))) / (select extract(epoch from '2026-07-07 12:20:18'::timestamp) - extract(epoch from '2026-07-07 12:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398895 -2.748726)'), GeomFromEWKT('SRID=4674;POINT (-40.398883 -2.748727)'))) / (select extract(epoch from '2026-07-07 12:20:18'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398857 -2.74873)', '2026-07-07 12:20:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398883 -2.748727)'), GeomFromEWKT('SRID=4674;POINT (-40.398857 -2.74873)'))) / (select extract(epoch from '2026-07-07 12:20:20'::timestamp) - extract(epoch from '2026-07-07 12:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398883 -2.748727)'), GeomFromEWKT('SRID=4674;POINT (-40.398857 -2.74873)'))) / (select extract(epoch from '2026-07-07 12:20:20'::timestamp) - extract(epoch from '2026-07-07 12:20: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'), 47829, 'SRID=4674;POINT (-40.398835 -2.748738)', '2026-07-07 12:20:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398857 -2.74873)'), GeomFromEWKT('SRID=4674;POINT (-40.398835 -2.748738)'))) / (select extract(epoch from '2026-07-07 12:20:22'::timestamp) - extract(epoch from '2026-07-07 12:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398857 -2.74873)'), GeomFromEWKT('SRID=4674;POINT (-40.398835 -2.748738)'))) / (select extract(epoch from '2026-07-07 12:20:22'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398757 -2.748743)', '2026-07-07 12:20:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398835 -2.748738)'), GeomFromEWKT('SRID=4674;POINT (-40.398757 -2.748743)'))) / (select extract(epoch from '2026-07-07 12:20:28'::timestamp) - extract(epoch from '2026-07-07 12:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398835 -2.748738)'), GeomFromEWKT('SRID=4674;POINT (-40.398757 -2.748743)'))) / (select extract(epoch from '2026-07-07 12:20:28'::timestamp) - extract(epoch from '2026-07-07 12:20: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'), 47829, 'SRID=4674;POINT (-40.398676 -2.748739)', '2026-07-07 12:20:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398757 -2.748743)'), GeomFromEWKT('SRID=4674;POINT (-40.398676 -2.748739)'))) / (select extract(epoch from '2026-07-07 12:20:34'::timestamp) - extract(epoch from '2026-07-07 12:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398757 -2.748743)'), GeomFromEWKT('SRID=4674;POINT (-40.398676 -2.748739)'))) / (select extract(epoch from '2026-07-07 12:20:34'::timestamp) - extract(epoch from '2026-07-07 12:20: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'), 47829, 'SRID=4674;POINT (-40.398591 -2.748734)', '2026-07-07 12:20:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398676 -2.748739)'), GeomFromEWKT('SRID=4674;POINT (-40.398591 -2.748734)'))) / (select extract(epoch from '2026-07-07 12:20:40'::timestamp) - extract(epoch from '2026-07-07 12:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398676 -2.748739)'), GeomFromEWKT('SRID=4674;POINT (-40.398591 -2.748734)'))) / (select extract(epoch from '2026-07-07 12:20:40'::timestamp) - extract(epoch from '2026-07-07 12:20:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.398509 -2.748716)', '2026-07-07 12:20:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398591 -2.748734)'), GeomFromEWKT('SRID=4674;POINT (-40.398509 -2.748716)'))) / (select extract(epoch from '2026-07-07 12:20:46'::timestamp) - extract(epoch from '2026-07-07 12:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398591 -2.748734)'), GeomFromEWKT('SRID=4674;POINT (-40.398509 -2.748716)'))) / (select extract(epoch from '2026-07-07 12:20:46'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398394 -2.748725)', '2026-07-07 12:20:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398509 -2.748716)'), GeomFromEWKT('SRID=4674;POINT (-40.398394 -2.748725)'))) / (select extract(epoch from '2026-07-07 12:20:54'::timestamp) - extract(epoch from '2026-07-07 12:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398509 -2.748716)'), GeomFromEWKT('SRID=4674;POINT (-40.398394 -2.748725)'))) / (select extract(epoch from '2026-07-07 12:20:54'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398261 -2.748748)', '2026-07-07 12:21:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398394 -2.748725)'), GeomFromEWKT('SRID=4674;POINT (-40.398261 -2.748748)'))) / (select extract(epoch from '2026-07-07 12:21:03'::timestamp) - extract(epoch from '2026-07-07 12:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398394 -2.748725)'), GeomFromEWKT('SRID=4674;POINT (-40.398261 -2.748748)'))) / (select extract(epoch from '2026-07-07 12:21:03'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398159 -2.748746)', '2026-07-07 12:21:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398261 -2.748748)'), GeomFromEWKT('SRID=4674;POINT (-40.398159 -2.748746)'))) / (select extract(epoch from '2026-07-07 12:21:11'::timestamp) - extract(epoch from '2026-07-07 12:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398261 -2.748748)'), GeomFromEWKT('SRID=4674;POINT (-40.398159 -2.748746)'))) / (select extract(epoch from '2026-07-07 12:21:11'::timestamp) - extract(epoch from '2026-07-07 12:21: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'), 47829, 'SRID=4674;POINT (-40.398075 -2.748756)', '2026-07-07 12:21:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398159 -2.748746)'), GeomFromEWKT('SRID=4674;POINT (-40.398075 -2.748756)'))) / (select extract(epoch from '2026-07-07 12:21:18'::timestamp) - extract(epoch from '2026-07-07 12:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398159 -2.748746)'), GeomFromEWKT('SRID=4674;POINT (-40.398075 -2.748756)'))) / (select extract(epoch from '2026-07-07 12:21:18'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398054 -2.748765)', '2026-07-07 12:21:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398075 -2.748756)'), GeomFromEWKT('SRID=4674;POINT (-40.398054 -2.748765)'))) / (select extract(epoch from '2026-07-07 12:21:20'::timestamp) - extract(epoch from '2026-07-07 12:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398075 -2.748756)'), GeomFromEWKT('SRID=4674;POINT (-40.398054 -2.748765)'))) / (select extract(epoch from '2026-07-07 12:21:20'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.39803 -2.748779)', '2026-07-07 12:21:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398054 -2.748765)'), GeomFromEWKT('SRID=4674;POINT (-40.39803 -2.748779)'))) / (select extract(epoch from '2026-07-07 12:21:22'::timestamp) - extract(epoch from '2026-07-07 12:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398054 -2.748765)'), GeomFromEWKT('SRID=4674;POINT (-40.39803 -2.748779)'))) / (select extract(epoch from '2026-07-07 12:21:22'::timestamp) - extract(epoch from '2026-07-07 12:21: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'), 47829, 'SRID=4674;POINT (-40.397989 -2.748797)', '2026-07-07 12:21:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39803 -2.748779)'), GeomFromEWKT('SRID=4674;POINT (-40.397989 -2.748797)'))) / (select extract(epoch from '2026-07-07 12:21:26'::timestamp) - extract(epoch from '2026-07-07 12:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39803 -2.748779)'), GeomFromEWKT('SRID=4674;POINT (-40.397989 -2.748797)'))) / (select extract(epoch from '2026-07-07 12:21:26'::timestamp) - extract(epoch from '2026-07-07 12:21: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'), 47829, 'SRID=4674;POINT (-40.397972 -2.748802)', '2026-07-07 12:21:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397989 -2.748797)'), GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.748802)'))) / (select extract(epoch from '2026-07-07 12:21:28'::timestamp) - extract(epoch from '2026-07-07 12:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397989 -2.748797)'), GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.748802)'))) / (select extract(epoch from '2026-07-07 12:21:28'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397962 -2.748804)', '2026-07-07 12:21:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.748802)'), GeomFromEWKT('SRID=4674;POINT (-40.397962 -2.748804)'))) / (select extract(epoch from '2026-07-07 12:21:29'::timestamp) - extract(epoch from '2026-07-07 12:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.748802)'), GeomFromEWKT('SRID=4674;POINT (-40.397962 -2.748804)'))) / (select extract(epoch from '2026-07-07 12:21:29'::timestamp) - extract(epoch from '2026-07-07 12:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.397943 -2.748814)', '2026-07-07 12:21:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397962 -2.748804)'), GeomFromEWKT('SRID=4674;POINT (-40.397943 -2.748814)'))) / (select extract(epoch from '2026-07-07 12:21:32'::timestamp) - extract(epoch from '2026-07-07 12:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397962 -2.748804)'), GeomFromEWKT('SRID=4674;POINT (-40.397943 -2.748814)'))) / (select extract(epoch from '2026-07-07 12:21:32'::timestamp) - extract(epoch from '2026-07-07 12:21: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'), 47829, 'SRID=4674;POINT (-40.397935 -2.748816)', '2026-07-07 12:21:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397943 -2.748814)'), GeomFromEWKT('SRID=4674;POINT (-40.397935 -2.748816)'))) / (select extract(epoch from '2026-07-07 12:21:33'::timestamp) - extract(epoch from '2026-07-07 12:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397943 -2.748814)'), GeomFromEWKT('SRID=4674;POINT (-40.397935 -2.748816)'))) / (select extract(epoch from '2026-07-07 12:21:33'::timestamp) - extract(epoch from '2026-07-07 12:21: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'), 47829, 'SRID=4674;POINT (-40.397914 -2.748843)', '2026-07-07 12:21:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397935 -2.748816)'), GeomFromEWKT('SRID=4674;POINT (-40.397914 -2.748843)'))) / (select extract(epoch from '2026-07-07 12:21:38'::timestamp) - extract(epoch from '2026-07-07 12:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397935 -2.748816)'), GeomFromEWKT('SRID=4674;POINT (-40.397914 -2.748843)'))) / (select extract(epoch from '2026-07-07 12:21:38'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397893 -2.748873)', '2026-07-07 12:21:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397914 -2.748843)'), GeomFromEWKT('SRID=4674;POINT (-40.397893 -2.748873)'))) / (select extract(epoch from '2026-07-07 12:21:45'::timestamp) - extract(epoch from '2026-07-07 12:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397914 -2.748843)'), GeomFromEWKT('SRID=4674;POINT (-40.397893 -2.748873)'))) / (select extract(epoch from '2026-07-07 12:21:45'::timestamp) - extract(epoch from '2026-07-07 12:21: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'), 47829, 'SRID=4674;POINT (-40.397875 -2.748908)', '2026-07-07 12:21:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397893 -2.748873)'), GeomFromEWKT('SRID=4674;POINT (-40.397875 -2.748908)'))) / (select extract(epoch from '2026-07-07 12:21:53'::timestamp) - extract(epoch from '2026-07-07 12:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397893 -2.748873)'), GeomFromEWKT('SRID=4674;POINT (-40.397875 -2.748908)'))) / (select extract(epoch from '2026-07-07 12:21:53'::timestamp) - extract(epoch from '2026-07-07 12:21: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'), 47829, 'SRID=4674;POINT (-40.397865 -2.748921)', '2026-07-07 12:22:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397875 -2.748908)'), GeomFromEWKT('SRID=4674;POINT (-40.397865 -2.748921)'))) / (select extract(epoch from '2026-07-07 12:22:00'::timestamp) - extract(epoch from '2026-07-07 12:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397875 -2.748908)'), GeomFromEWKT('SRID=4674;POINT (-40.397865 -2.748921)'))) / (select extract(epoch from '2026-07-07 12:22:00'::timestamp) - extract(epoch from '2026-07-07 12:21: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'), 47829, 'SRID=4674;POINT (-40.397851 -2.748929)', '2026-07-07 12:22:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397865 -2.748921)'), GeomFromEWKT('SRID=4674;POINT (-40.397851 -2.748929)'))) / (select extract(epoch from '2026-07-07 12:22:07'::timestamp) - extract(epoch from '2026-07-07 12:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397865 -2.748921)'), GeomFromEWKT('SRID=4674;POINT (-40.397851 -2.748929)'))) / (select extract(epoch from '2026-07-07 12:22:07'::timestamp) - extract(epoch from '2026-07-07 12:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.397835 -2.748937)', '2026-07-07 12:22:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397851 -2.748929)'), GeomFromEWKT('SRID=4674;POINT (-40.397835 -2.748937)'))) / (select extract(epoch from '2026-07-07 12:22:12'::timestamp) - extract(epoch from '2026-07-07 12:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397851 -2.748929)'), GeomFromEWKT('SRID=4674;POINT (-40.397835 -2.748937)'))) / (select extract(epoch from '2026-07-07 12:22:12'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397826 -2.74898)', '2026-07-07 12:22:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397835 -2.748937)'), GeomFromEWKT('SRID=4674;POINT (-40.397826 -2.74898)'))) / (select extract(epoch from '2026-07-07 12:22:21'::timestamp) - extract(epoch from '2026-07-07 12:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397835 -2.748937)'), GeomFromEWKT('SRID=4674;POINT (-40.397826 -2.74898)'))) / (select extract(epoch from '2026-07-07 12:22:21'::timestamp) - extract(epoch from '2026-07-07 12:22: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'), 47829, 'SRID=4674;POINT (-40.397827 -2.74902)', '2026-07-07 12:22:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397826 -2.74898)'), GeomFromEWKT('SRID=4674;POINT (-40.397827 -2.74902)'))) / (select extract(epoch from '2026-07-07 12:22:26'::timestamp) - extract(epoch from '2026-07-07 12:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397826 -2.74898)'), GeomFromEWKT('SRID=4674;POINT (-40.397827 -2.74902)'))) / (select extract(epoch from '2026-07-07 12:22:26'::timestamp) - extract(epoch from '2026-07-07 12:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.397828 -2.749033)', '2026-07-07 12:22:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397827 -2.74902)'), GeomFromEWKT('SRID=4674;POINT (-40.397828 -2.749033)'))) / (select extract(epoch from '2026-07-07 12:22:28'::timestamp) - extract(epoch from '2026-07-07 12:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397827 -2.74902)'), GeomFromEWKT('SRID=4674;POINT (-40.397828 -2.749033)'))) / (select extract(epoch from '2026-07-07 12:22:28'::timestamp) - extract(epoch from '2026-07-07 12:22: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'), 47829, 'SRID=4674;POINT (-40.397829 -2.749047)', '2026-07-07 12:22:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397828 -2.749033)'), GeomFromEWKT('SRID=4674;POINT (-40.397829 -2.749047)'))) / (select extract(epoch from '2026-07-07 12:22:30'::timestamp) - extract(epoch from '2026-07-07 12:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397828 -2.749033)'), GeomFromEWKT('SRID=4674;POINT (-40.397829 -2.749047)'))) / (select extract(epoch from '2026-07-07 12:22:30'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397834 -2.749085)', '2026-07-07 12:22:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397829 -2.749047)'), GeomFromEWKT('SRID=4674;POINT (-40.397834 -2.749085)'))) / (select extract(epoch from '2026-07-07 12:22:35'::timestamp) - extract(epoch from '2026-07-07 12:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397829 -2.749047)'), GeomFromEWKT('SRID=4674;POINT (-40.397834 -2.749085)'))) / (select extract(epoch from '2026-07-07 12:22:35'::timestamp) - extract(epoch from '2026-07-07 12:22: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'), 47829, 'SRID=4674;POINT (-40.397847 -2.749154)', '2026-07-07 12:22:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397834 -2.749085)'), GeomFromEWKT('SRID=4674;POINT (-40.397847 -2.749154)'))) / (select extract(epoch from '2026-07-07 12:22:43'::timestamp) - extract(epoch from '2026-07-07 12:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397834 -2.749085)'), GeomFromEWKT('SRID=4674;POINT (-40.397847 -2.749154)'))) / (select extract(epoch from '2026-07-07 12:22:43'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397843 -2.749191)', '2026-07-07 12:22:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397847 -2.749154)'), GeomFromEWKT('SRID=4674;POINT (-40.397843 -2.749191)'))) / (select extract(epoch from '2026-07-07 12:22:52'::timestamp) - extract(epoch from '2026-07-07 12:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397847 -2.749154)'), GeomFromEWKT('SRID=4674;POINT (-40.397843 -2.749191)'))) / (select extract(epoch from '2026-07-07 12:22:52'::timestamp) - extract(epoch from '2026-07-07 12:22: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'), 47829, 'SRID=4674;POINT (-40.397831 -2.74922)', '2026-07-07 12:23:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397843 -2.749191)'), GeomFromEWKT('SRID=4674;POINT (-40.397831 -2.74922)'))) / (select extract(epoch from '2026-07-07 12:23:01'::timestamp) - extract(epoch from '2026-07-07 12:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397843 -2.749191)'), GeomFromEWKT('SRID=4674;POINT (-40.397831 -2.74922)'))) / (select extract(epoch from '2026-07-07 12:23:01'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397846 -2.749251)', '2026-07-07 12:23:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397831 -2.74922)'), GeomFromEWKT('SRID=4674;POINT (-40.397846 -2.749251)'))) / (select extract(epoch from '2026-07-07 12:23:06'::timestamp) - extract(epoch from '2026-07-07 12:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397831 -2.74922)'), GeomFromEWKT('SRID=4674;POINT (-40.397846 -2.749251)'))) / (select extract(epoch from '2026-07-07 12:23:06'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.397855 -2.749259)', '2026-07-07 12:23:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397846 -2.749251)'), GeomFromEWKT('SRID=4674;POINT (-40.397855 -2.749259)'))) / (select extract(epoch from '2026-07-07 12:23:07'::timestamp) - extract(epoch from '2026-07-07 12:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397846 -2.749251)'), GeomFromEWKT('SRID=4674;POINT (-40.397855 -2.749259)'))) / (select extract(epoch from '2026-07-07 12:23:07'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.397885 -2.749277)', '2026-07-07 12:23:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397855 -2.749259)'), GeomFromEWKT('SRID=4674;POINT (-40.397885 -2.749277)'))) / (select extract(epoch from '2026-07-07 12:23:11'::timestamp) - extract(epoch from '2026-07-07 12:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397855 -2.749259)'), GeomFromEWKT('SRID=4674;POINT (-40.397885 -2.749277)'))) / (select extract(epoch from '2026-07-07 12:23:11'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.397934 -2.74929)', '2026-07-07 12:23:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397885 -2.749277)'), GeomFromEWKT('SRID=4674;POINT (-40.397934 -2.74929)'))) / (select extract(epoch from '2026-07-07 12:23:16'::timestamp) - extract(epoch from '2026-07-07 12:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397885 -2.749277)'), GeomFromEWKT('SRID=4674;POINT (-40.397934 -2.74929)'))) / (select extract(epoch from '2026-07-07 12:23:16'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.397982 -2.749285)', '2026-07-07 12:23:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397934 -2.74929)'), GeomFromEWKT('SRID=4674;POINT (-40.397982 -2.749285)'))) / (select extract(epoch from '2026-07-07 12:23:21'::timestamp) - extract(epoch from '2026-07-07 12:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397934 -2.74929)'), GeomFromEWKT('SRID=4674;POINT (-40.397982 -2.749285)'))) / (select extract(epoch from '2026-07-07 12:23:21'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397997 -2.749273)', '2026-07-07 12:23:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397982 -2.749285)'), GeomFromEWKT('SRID=4674;POINT (-40.397997 -2.749273)'))) / (select extract(epoch from '2026-07-07 12:23:23'::timestamp) - extract(epoch from '2026-07-07 12:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397982 -2.749285)'), GeomFromEWKT('SRID=4674;POINT (-40.397997 -2.749273)'))) / (select extract(epoch from '2026-07-07 12:23:23'::timestamp) - extract(epoch from '2026-07-07 12:23:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.398006 -2.74927)', '2026-07-07 12:23:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397997 -2.749273)'), GeomFromEWKT('SRID=4674;POINT (-40.398006 -2.74927)'))) / (select extract(epoch from '2026-07-07 12:23:24'::timestamp) - extract(epoch from '2026-07-07 12:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397997 -2.749273)'), GeomFromEWKT('SRID=4674;POINT (-40.398006 -2.74927)'))) / (select extract(epoch from '2026-07-07 12:23:24'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.398022 -2.749261)', '2026-07-07 12:23:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398006 -2.74927)'), GeomFromEWKT('SRID=4674;POINT (-40.398022 -2.749261)'))) / (select extract(epoch from '2026-07-07 12:23:26'::timestamp) - extract(epoch from '2026-07-07 12:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398006 -2.74927)'), GeomFromEWKT('SRID=4674;POINT (-40.398022 -2.749261)'))) / (select extract(epoch from '2026-07-07 12:23:26'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.398041 -2.749243)', '2026-07-07 12:23:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398022 -2.749261)'), GeomFromEWKT('SRID=4674;POINT (-40.398041 -2.749243)'))) / (select extract(epoch from '2026-07-07 12:23:29'::timestamp) - extract(epoch from '2026-07-07 12:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398022 -2.749261)'), GeomFromEWKT('SRID=4674;POINT (-40.398041 -2.749243)'))) / (select extract(epoch from '2026-07-07 12:23:29'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.398063 -2.74921)', '2026-07-07 12:23:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398041 -2.749243)'), GeomFromEWKT('SRID=4674;POINT (-40.398063 -2.74921)'))) / (select extract(epoch from '2026-07-07 12:23:35'::timestamp) - extract(epoch from '2026-07-07 12:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398041 -2.749243)'), GeomFromEWKT('SRID=4674;POINT (-40.398063 -2.74921)'))) / (select extract(epoch from '2026-07-07 12:23:35'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398078 -2.749146)', '2026-07-07 12:23:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398063 -2.74921)'), GeomFromEWKT('SRID=4674;POINT (-40.398078 -2.749146)'))) / (select extract(epoch from '2026-07-07 12:23:44'::timestamp) - extract(epoch from '2026-07-07 12:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398063 -2.74921)'), GeomFromEWKT('SRID=4674;POINT (-40.398078 -2.749146)'))) / (select extract(epoch from '2026-07-07 12:23:44'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.3981 -2.749085)', '2026-07-07 12:23:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398078 -2.749146)'), GeomFromEWKT('SRID=4674;POINT (-40.3981 -2.749085)'))) / (select extract(epoch from '2026-07-07 12:23:52'::timestamp) - extract(epoch from '2026-07-07 12:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398078 -2.749146)'), GeomFromEWKT('SRID=4674;POINT (-40.3981 -2.749085)'))) / (select extract(epoch from '2026-07-07 12:23:52'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.398105 -2.749078)', '2026-07-07 12:23:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3981 -2.749085)'), GeomFromEWKT('SRID=4674;POINT (-40.398105 -2.749078)'))) / (select extract(epoch from '2026-07-07 12:23:53'::timestamp) - extract(epoch from '2026-07-07 12:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3981 -2.749085)'), GeomFromEWKT('SRID=4674;POINT (-40.398105 -2.749078)'))) / (select extract(epoch from '2026-07-07 12:23:53'::timestamp) - extract(epoch from '2026-07-07 12:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.39812 -2.749051)', '2026-07-07 12:23:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398105 -2.749078)'), GeomFromEWKT('SRID=4674;POINT (-40.39812 -2.749051)'))) / (select extract(epoch from '2026-07-07 12:23:56'::timestamp) - extract(epoch from '2026-07-07 12:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398105 -2.749078)'), GeomFromEWKT('SRID=4674;POINT (-40.39812 -2.749051)'))) / (select extract(epoch from '2026-07-07 12:23:56'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.398122 -2.749045)', '2026-07-07 12:23:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39812 -2.749051)'), GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.749045)'))) / (select extract(epoch from '2026-07-07 12:23:57'::timestamp) - extract(epoch from '2026-07-07 12:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39812 -2.749051)'), GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.749045)'))) / (select extract(epoch from '2026-07-07 12:23:57'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.398137 -2.748995)', '2026-07-07 12:24:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.749045)'), GeomFromEWKT('SRID=4674;POINT (-40.398137 -2.748995)'))) / (select extract(epoch from '2026-07-07 12:24:06'::timestamp) - extract(epoch from '2026-07-07 12:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.749045)'), GeomFromEWKT('SRID=4674;POINT (-40.398137 -2.748995)'))) / (select extract(epoch from '2026-07-07 12:24:06'::timestamp) - extract(epoch from '2026-07-07 12:23: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'), 47829, 'SRID=4674;POINT (-40.398133 -2.748962)', '2026-07-07 12:24:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398137 -2.748995)'), GeomFromEWKT('SRID=4674;POINT (-40.398133 -2.748962)'))) / (select extract(epoch from '2026-07-07 12:24:13'::timestamp) - extract(epoch from '2026-07-07 12:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398137 -2.748995)'), GeomFromEWKT('SRID=4674;POINT (-40.398133 -2.748962)'))) / (select extract(epoch from '2026-07-07 12:24:13'::timestamp) - extract(epoch from '2026-07-07 12:24: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'), 47829, 'SRID=4674;POINT (-40.398129 -2.748943)', '2026-07-07 12:24:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398133 -2.748962)'), GeomFromEWKT('SRID=4674;POINT (-40.398129 -2.748943)'))) / (select extract(epoch from '2026-07-07 12:24:21'::timestamp) - extract(epoch from '2026-07-07 12:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398133 -2.748962)'), GeomFromEWKT('SRID=4674;POINT (-40.398129 -2.748943)'))) / (select extract(epoch from '2026-07-07 12:24:21'::timestamp) - extract(epoch from '2026-07-07 12:24: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'), 47829, 'SRID=4674;POINT (-40.398122 -2.748934)', '2026-07-07 12:24:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398129 -2.748943)'), GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.748934)'))) / (select extract(epoch from '2026-07-07 12:24:29'::timestamp) - extract(epoch from '2026-07-07 12:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398129 -2.748943)'), GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.748934)'))) / (select extract(epoch from '2026-07-07 12:24:29'::timestamp) - extract(epoch from '2026-07-07 12:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.398122 -2.748941)', '2026-07-07 12:24:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.748934)'), GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.748941)'))) / (select extract(epoch from '2026-07-07 12:24:35'::timestamp) - extract(epoch from '2026-07-07 12:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.748934)'), GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.748941)'))) / (select extract(epoch from '2026-07-07 12:24:35'::timestamp) - extract(epoch from '2026-07-07 12:24: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'), 47829, 'SRID=4674;POINT (-40.39813 -2.748971)', '2026-07-07 12:24:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.748941)'), GeomFromEWKT('SRID=4674;POINT (-40.39813 -2.748971)'))) / (select extract(epoch from '2026-07-07 12:24:41'::timestamp) - extract(epoch from '2026-07-07 12:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398122 -2.748941)'), GeomFromEWKT('SRID=4674;POINT (-40.39813 -2.748971)'))) / (select extract(epoch from '2026-07-07 12:24:41'::timestamp) - extract(epoch from '2026-07-07 12:24: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'), 47829, 'SRID=4674;POINT (-40.39815 -2.749007)', '2026-07-07 12:24:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39813 -2.748971)'), GeomFromEWKT('SRID=4674;POINT (-40.39815 -2.749007)'))) / (select extract(epoch from '2026-07-07 12:24:48'::timestamp) - extract(epoch from '2026-07-07 12:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39813 -2.748971)'), GeomFromEWKT('SRID=4674;POINT (-40.39815 -2.749007)'))) / (select extract(epoch from '2026-07-07 12:24:48'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.39816 -2.749033)', '2026-07-07 12:24:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39815 -2.749007)'), GeomFromEWKT('SRID=4674;POINT (-40.39816 -2.749033)'))) / (select extract(epoch from '2026-07-07 12:24:53'::timestamp) - extract(epoch from '2026-07-07 12:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39815 -2.749007)'), GeomFromEWKT('SRID=4674;POINT (-40.39816 -2.749033)'))) / (select extract(epoch from '2026-07-07 12:24:53'::timestamp) - extract(epoch from '2026-07-07 12:24: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'), 47829, 'SRID=4674;POINT (-40.39816 -2.749063)', '2026-07-07 12:25:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39816 -2.749033)'), GeomFromEWKT('SRID=4674;POINT (-40.39816 -2.749063)'))) / (select extract(epoch from '2026-07-07 12:25:01'::timestamp) - extract(epoch from '2026-07-07 12:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39816 -2.749033)'), GeomFromEWKT('SRID=4674;POINT (-40.39816 -2.749063)'))) / (select extract(epoch from '2026-07-07 12:25:01'::timestamp) - extract(epoch from '2026-07-07 12:24: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'), 47829, 'SRID=4674;POINT (-40.398143 -2.749117)', '2026-07-07 12:25:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39816 -2.749063)'), GeomFromEWKT('SRID=4674;POINT (-40.398143 -2.749117)'))) / (select extract(epoch from '2026-07-07 12:25:08'::timestamp) - extract(epoch from '2026-07-07 12:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39816 -2.749063)'), GeomFromEWKT('SRID=4674;POINT (-40.398143 -2.749117)'))) / (select extract(epoch from '2026-07-07 12:25:08'::timestamp) - extract(epoch from '2026-07-07 12:25: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'), 47829, 'SRID=4674;POINT (-40.398098 -2.749129)', '2026-07-07 12:25:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398143 -2.749117)'), GeomFromEWKT('SRID=4674;POINT (-40.398098 -2.749129)'))) / (select extract(epoch from '2026-07-07 12:25:16'::timestamp) - extract(epoch from '2026-07-07 12:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398143 -2.749117)'), GeomFromEWKT('SRID=4674;POINT (-40.398098 -2.749129)'))) / (select extract(epoch from '2026-07-07 12:25:16'::timestamp) - extract(epoch from '2026-07-07 12:25: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'), 47829, 'SRID=4674;POINT (-40.398041 -2.749075)', '2026-07-07 12:25:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398098 -2.749129)'), GeomFromEWKT('SRID=4674;POINT (-40.398041 -2.749075)'))) / (select extract(epoch from '2026-07-07 12:25:29'::timestamp) - extract(epoch from '2026-07-07 12:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398098 -2.749129)'), GeomFromEWKT('SRID=4674;POINT (-40.398041 -2.749075)'))) / (select extract(epoch from '2026-07-07 12:25:29'::timestamp) - extract(epoch from '2026-07-07 12:25: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'), 47829, 'SRID=4674;POINT (-40.398017 -2.749042)', '2026-07-07 12:25:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398041 -2.749075)'), GeomFromEWKT('SRID=4674;POINT (-40.398017 -2.749042)'))) / (select extract(epoch from '2026-07-07 12:25:38'::timestamp) - extract(epoch from '2026-07-07 12:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398041 -2.749075)'), GeomFromEWKT('SRID=4674;POINT (-40.398017 -2.749042)'))) / (select extract(epoch from '2026-07-07 12:25:38'::timestamp) - extract(epoch from '2026-07-07 12:25: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'), 47829, 'SRID=4674;POINT (-40.398007 -2.749022)', '2026-07-07 12:25:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398017 -2.749042)'), GeomFromEWKT('SRID=4674;POINT (-40.398007 -2.749022)'))) / (select extract(epoch from '2026-07-07 12:25:45'::timestamp) - extract(epoch from '2026-07-07 12:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398017 -2.749042)'), GeomFromEWKT('SRID=4674;POINT (-40.398007 -2.749022)'))) / (select extract(epoch from '2026-07-07 12:25:45'::timestamp) - extract(epoch from '2026-07-07 12:25: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'), 47829, 'SRID=4674;POINT (-40.397985 -2.749001)', '2026-07-07 12:25:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398007 -2.749022)'), GeomFromEWKT('SRID=4674;POINT (-40.397985 -2.749001)'))) / (select extract(epoch from '2026-07-07 12:25:53'::timestamp) - extract(epoch from '2026-07-07 12:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398007 -2.749022)'), GeomFromEWKT('SRID=4674;POINT (-40.397985 -2.749001)'))) / (select extract(epoch from '2026-07-07 12:25:53'::timestamp) - extract(epoch from '2026-07-07 12:25: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'), 47829, 'SRID=4674;POINT (-40.397972 -2.748974)', '2026-07-07 12:26:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397985 -2.749001)'), GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.748974)'))) / (select extract(epoch from '2026-07-07 12:26:00'::timestamp) - extract(epoch from '2026-07-07 12:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397985 -2.749001)'), GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.748974)'))) / (select extract(epoch from '2026-07-07 12:26:00'::timestamp) - extract(epoch from '2026-07-07 12:25: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'), 47829, 'SRID=4674;POINT (-40.397953 -2.748952)', '2026-07-07 12:26:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.748974)'), GeomFromEWKT('SRID=4674;POINT (-40.397953 -2.748952)'))) / (select extract(epoch from '2026-07-07 12:26:07'::timestamp) - extract(epoch from '2026-07-07 12:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397972 -2.748974)'), GeomFromEWKT('SRID=4674;POINT (-40.397953 -2.748952)'))) / (select extract(epoch from '2026-07-07 12:26:07'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.397927 -2.748972)', '2026-07-07 12:26:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397953 -2.748952)'), GeomFromEWKT('SRID=4674;POINT (-40.397927 -2.748972)'))) / (select extract(epoch from '2026-07-07 12:26:16'::timestamp) - extract(epoch from '2026-07-07 12:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397953 -2.748952)'), GeomFromEWKT('SRID=4674;POINT (-40.397927 -2.748972)'))) / (select extract(epoch from '2026-07-07 12:26:16'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.397922 -2.749)', '2026-07-07 12:26:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397927 -2.748972)'), GeomFromEWKT('SRID=4674;POINT (-40.397922 -2.749)'))) / (select extract(epoch from '2026-07-07 12:26:20'::timestamp) - extract(epoch from '2026-07-07 12:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397927 -2.748972)'), GeomFromEWKT('SRID=4674;POINT (-40.397922 -2.749)'))) / (select extract(epoch from '2026-07-07 12:26:20'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.397917 -2.749006)', '2026-07-07 12:26:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397922 -2.749)'), GeomFromEWKT('SRID=4674;POINT (-40.397917 -2.749006)'))) / (select extract(epoch from '2026-07-07 12:26:21'::timestamp) - extract(epoch from '2026-07-07 12:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397922 -2.749)'), GeomFromEWKT('SRID=4674;POINT (-40.397917 -2.749006)'))) / (select extract(epoch from '2026-07-07 12:26:21'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397905 -2.749027)', '2026-07-07 12:26:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397917 -2.749006)'), GeomFromEWKT('SRID=4674;POINT (-40.397905 -2.749027)'))) / (select extract(epoch from '2026-07-07 12:26:24'::timestamp) - extract(epoch from '2026-07-07 12:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397917 -2.749006)'), GeomFromEWKT('SRID=4674;POINT (-40.397905 -2.749027)'))) / (select extract(epoch from '2026-07-07 12:26:24'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.397898 -2.749032)', '2026-07-07 12:26:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397905 -2.749027)'), GeomFromEWKT('SRID=4674;POINT (-40.397898 -2.749032)'))) / (select extract(epoch from '2026-07-07 12:26:25'::timestamp) - extract(epoch from '2026-07-07 12:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397905 -2.749027)'), GeomFromEWKT('SRID=4674;POINT (-40.397898 -2.749032)'))) / (select extract(epoch from '2026-07-07 12:26:25'::timestamp) - extract(epoch from '2026-07-07 12:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.397851 -2.749055)', '2026-07-07 12:26:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397898 -2.749032)'), GeomFromEWKT('SRID=4674;POINT (-40.397851 -2.749055)'))) / (select extract(epoch from '2026-07-07 12:26:33'::timestamp) - extract(epoch from '2026-07-07 12:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397898 -2.749032)'), GeomFromEWKT('SRID=4674;POINT (-40.397851 -2.749055)'))) / (select extract(epoch from '2026-07-07 12:26:33'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.397789 -2.749026)', '2026-07-07 12:26:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397851 -2.749055)'), GeomFromEWKT('SRID=4674;POINT (-40.397789 -2.749026)'))) / (select extract(epoch from '2026-07-07 12:26:42'::timestamp) - extract(epoch from '2026-07-07 12:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397851 -2.749055)'), GeomFromEWKT('SRID=4674;POINT (-40.397789 -2.749026)'))) / (select extract(epoch from '2026-07-07 12:26:42'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.397777 -2.748959)', '2026-07-07 12:26:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397789 -2.749026)'), GeomFromEWKT('SRID=4674;POINT (-40.397777 -2.748959)'))) / (select extract(epoch from '2026-07-07 12:26:50'::timestamp) - extract(epoch from '2026-07-07 12:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397789 -2.749026)'), GeomFromEWKT('SRID=4674;POINT (-40.397777 -2.748959)'))) / (select extract(epoch from '2026-07-07 12:26:50'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.397777 -2.748942)', '2026-07-07 12:26:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397777 -2.748959)'), GeomFromEWKT('SRID=4674;POINT (-40.397777 -2.748942)'))) / (select extract(epoch from '2026-07-07 12:26:52'::timestamp) - extract(epoch from '2026-07-07 12:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397777 -2.748959)'), GeomFromEWKT('SRID=4674;POINT (-40.397777 -2.748942)'))) / (select extract(epoch from '2026-07-07 12:26:52'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.397785 -2.748918)', '2026-07-07 12:26:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397777 -2.748942)'), GeomFromEWKT('SRID=4674;POINT (-40.397785 -2.748918)'))) / (select extract(epoch from '2026-07-07 12:26:55'::timestamp) - extract(epoch from '2026-07-07 12:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397777 -2.748942)'), GeomFromEWKT('SRID=4674;POINT (-40.397785 -2.748918)'))) / (select extract(epoch from '2026-07-07 12:26:55'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.397805 -2.748872)', '2026-07-07 12:27:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397785 -2.748918)'), GeomFromEWKT('SRID=4674;POINT (-40.397805 -2.748872)'))) / (select extract(epoch from '2026-07-07 12:27:01'::timestamp) - extract(epoch from '2026-07-07 12:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397785 -2.748918)'), GeomFromEWKT('SRID=4674;POINT (-40.397805 -2.748872)'))) / (select extract(epoch from '2026-07-07 12:27:01'::timestamp) - extract(epoch from '2026-07-07 12:26: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'), 47829, 'SRID=4674;POINT (-40.39782 -2.748822)', '2026-07-07 12:27:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397805 -2.748872)'), GeomFromEWKT('SRID=4674;POINT (-40.39782 -2.748822)'))) / (select extract(epoch from '2026-07-07 12:27:08'::timestamp) - extract(epoch from '2026-07-07 12:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397805 -2.748872)'), GeomFromEWKT('SRID=4674;POINT (-40.39782 -2.748822)'))) / (select extract(epoch from '2026-07-07 12:27:08'::timestamp) - extract(epoch from '2026-07-07 12:27: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'), 47829, 'SRID=4674;POINT (-40.397826 -2.748786)', '2026-07-07 12:27:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39782 -2.748822)'), GeomFromEWKT('SRID=4674;POINT (-40.397826 -2.748786)'))) / (select extract(epoch from '2026-07-07 12:27:15'::timestamp) - extract(epoch from '2026-07-07 12:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39782 -2.748822)'), GeomFromEWKT('SRID=4674;POINT (-40.397826 -2.748786)'))) / (select extract(epoch from '2026-07-07 12:27:15'::timestamp) - extract(epoch from '2026-07-07 12:27: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'), 47829, 'SRID=4674;POINT (-40.397828 -2.748777)', '2026-07-07 12:27:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397826 -2.748786)'), GeomFromEWKT('SRID=4674;POINT (-40.397828 -2.748777)'))) / (select extract(epoch from '2026-07-07 12:27:24'::timestamp) - extract(epoch from '2026-07-07 12:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397826 -2.748786)'), GeomFromEWKT('SRID=4674;POINT (-40.397828 -2.748777)'))) / (select extract(epoch from '2026-07-07 12:27:24'::timestamp) - extract(epoch from '2026-07-07 12:27: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'), 47829, 'SRID=4674;POINT (-40.397824 -2.748818)', '2026-07-07 12:27:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397828 -2.748777)'), GeomFromEWKT('SRID=4674;POINT (-40.397824 -2.748818)'))) / (select extract(epoch from '2026-07-07 12:27:33'::timestamp) - extract(epoch from '2026-07-07 12:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397828 -2.748777)'), GeomFromEWKT('SRID=4674;POINT (-40.397824 -2.748818)'))) / (select extract(epoch from '2026-07-07 12:27:33'::timestamp) - extract(epoch from '2026-07-07 12:27: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'), 47829, 'SRID=4674;POINT (-40.397784 -2.748871)', '2026-07-07 12:27:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397824 -2.748818)'), GeomFromEWKT('SRID=4674;POINT (-40.397784 -2.748871)'))) / (select extract(epoch from '2026-07-07 12:27:43'::timestamp) - extract(epoch from '2026-07-07 12:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397824 -2.748818)'), GeomFromEWKT('SRID=4674;POINT (-40.397784 -2.748871)'))) / (select extract(epoch from '2026-07-07 12:27:43'::timestamp) - extract(epoch from '2026-07-07 12:27: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'), 47829, 'SRID=4674;POINT (-40.397754 -2.748923)', '2026-07-07 12:27:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397784 -2.748871)'), GeomFromEWKT('SRID=4674;POINT (-40.397754 -2.748923)'))) / (select extract(epoch from '2026-07-07 12:27:49'::timestamp) - extract(epoch from '2026-07-07 12:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397784 -2.748871)'), GeomFromEWKT('SRID=4674;POINT (-40.397754 -2.748923)'))) / (select extract(epoch from '2026-07-07 12:27:49'::timestamp) - extract(epoch from '2026-07-07 12:27: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'), 47829, 'SRID=4674;POINT (-40.397755 -2.748933)', '2026-07-07 12:27:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397754 -2.748923)'), GeomFromEWKT('SRID=4674;POINT (-40.397755 -2.748933)'))) / (select extract(epoch from '2026-07-07 12:27:50'::timestamp) - extract(epoch from '2026-07-07 12:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397754 -2.748923)'), GeomFromEWKT('SRID=4674;POINT (-40.397755 -2.748933)'))) / (select extract(epoch from '2026-07-07 12:27:50'::timestamp) - extract(epoch from '2026-07-07 12:27: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'), 47829, 'SRID=4674;POINT (-40.397737 -2.748951)', '2026-07-07 12:27:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397755 -2.748933)'), GeomFromEWKT('SRID=4674;POINT (-40.397737 -2.748951)'))) / (select extract(epoch from '2026-07-07 12:27:55'::timestamp) - extract(epoch from '2026-07-07 12:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397755 -2.748933)'), GeomFromEWKT('SRID=4674;POINT (-40.397737 -2.748951)'))) / (select extract(epoch from '2026-07-07 12:27:55'::timestamp) - extract(epoch from '2026-07-07 12:27: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'), 47829, 'SRID=4674;POINT (-40.397732 -2.748957)', '2026-07-07 12:28:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397737 -2.748951)'), GeomFromEWKT('SRID=4674;POINT (-40.397732 -2.748957)'))) / (select extract(epoch from '2026-07-07 12:28:05'::timestamp) - extract(epoch from '2026-07-07 12:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397737 -2.748951)'), GeomFromEWKT('SRID=4674;POINT (-40.397732 -2.748957)'))) / (select extract(epoch from '2026-07-07 12:28:05'::timestamp) - extract(epoch from '2026-07-07 12:27: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'), 47829, 'SRID=4674;POINT (-40.397768 -2.748968)', '2026-07-07 12:28:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397732 -2.748957)'), GeomFromEWKT('SRID=4674;POINT (-40.397768 -2.748968)'))) / (select extract(epoch from '2026-07-07 12:28:16'::timestamp) - extract(epoch from '2026-07-07 12:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397732 -2.748957)'), GeomFromEWKT('SRID=4674;POINT (-40.397768 -2.748968)'))) / (select extract(epoch from '2026-07-07 12:28:16'::timestamp) - extract(epoch from '2026-07-07 12:28: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'), 47829, 'SRID=4674;POINT (-40.397789 -2.748975)', '2026-07-07 12:28:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397768 -2.748968)'), GeomFromEWKT('SRID=4674;POINT (-40.397789 -2.748975)'))) / (select extract(epoch from '2026-07-07 12:28:24'::timestamp) - extract(epoch from '2026-07-07 12:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397768 -2.748968)'), GeomFromEWKT('SRID=4674;POINT (-40.397789 -2.748975)'))) / (select extract(epoch from '2026-07-07 12:28:24'::timestamp) - extract(epoch from '2026-07-07 12:28: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'), 47829, 'SRID=4674;POINT (-40.397831 -2.748967)', '2026-07-07 12:28:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397789 -2.748975)'), GeomFromEWKT('SRID=4674;POINT (-40.397831 -2.748967)'))) / (select extract(epoch from '2026-07-07 12:28:37'::timestamp) - extract(epoch from '2026-07-07 12:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397789 -2.748975)'), GeomFromEWKT('SRID=4674;POINT (-40.397831 -2.748967)'))) / (select extract(epoch from '2026-07-07 12:28:37'::timestamp) - extract(epoch from '2026-07-07 12:28: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'), 47829, 'SRID=4674;POINT (-40.397906 -2.748946)', '2026-07-07 12:28:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397831 -2.748967)'), GeomFromEWKT('SRID=4674;POINT (-40.397906 -2.748946)'))) / (select extract(epoch from '2026-07-07 12:28:53'::timestamp) - extract(epoch from '2026-07-07 12:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397831 -2.748967)'), GeomFromEWKT('SRID=4674;POINT (-40.397906 -2.748946)'))) / (select extract(epoch from '2026-07-07 12:28:53'::timestamp) - extract(epoch from '2026-07-07 12:28: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'), 47829, 'SRID=4674;POINT (-40.397928 -2.748942)', '2026-07-07 12:28:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397906 -2.748946)'), GeomFromEWKT('SRID=4674;POINT (-40.397928 -2.748942)'))) / (select extract(epoch from '2026-07-07 12:28:59'::timestamp) - extract(epoch from '2026-07-07 12:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397906 -2.748946)'), GeomFromEWKT('SRID=4674;POINT (-40.397928 -2.748942)'))) / (select extract(epoch from '2026-07-07 12:28:59'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397944 -2.748936)', '2026-07-07 12:29:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397928 -2.748942)'), GeomFromEWKT('SRID=4674;POINT (-40.397944 -2.748936)'))) / (select extract(epoch from '2026-07-07 12:29:03'::timestamp) - extract(epoch from '2026-07-07 12:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397928 -2.748942)'), GeomFromEWKT('SRID=4674;POINT (-40.397944 -2.748936)'))) / (select extract(epoch from '2026-07-07 12:29:03'::timestamp) - extract(epoch from '2026-07-07 12:28: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'), 47829, 'SRID=4674;POINT (-40.397958 -2.748934)', '2026-07-07 12:29:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397944 -2.748936)'), GeomFromEWKT('SRID=4674;POINT (-40.397958 -2.748934)'))) / (select extract(epoch from '2026-07-07 12:29:06'::timestamp) - extract(epoch from '2026-07-07 12:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397944 -2.748936)'), GeomFromEWKT('SRID=4674;POINT (-40.397958 -2.748934)'))) / (select extract(epoch from '2026-07-07 12:29:06'::timestamp) - extract(epoch from '2026-07-07 12:29: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'), 47829, 'SRID=4674;POINT (-40.397975 -2.748927)', '2026-07-07 12:29:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397958 -2.748934)'), GeomFromEWKT('SRID=4674;POINT (-40.397975 -2.748927)'))) / (select extract(epoch from '2026-07-07 12:29:11'::timestamp) - extract(epoch from '2026-07-07 12:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397958 -2.748934)'), GeomFromEWKT('SRID=4674;POINT (-40.397975 -2.748927)'))) / (select extract(epoch from '2026-07-07 12:29:11'::timestamp) - extract(epoch from '2026-07-07 12:29: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'), 47829, 'SRID=4674;POINT (-40.398001 -2.748922)', '2026-07-07 12:29:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397975 -2.748927)'), GeomFromEWKT('SRID=4674;POINT (-40.398001 -2.748922)'))) / (select extract(epoch from '2026-07-07 12:29:18'::timestamp) - extract(epoch from '2026-07-07 12:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397975 -2.748927)'), GeomFromEWKT('SRID=4674;POINT (-40.398001 -2.748922)'))) / (select extract(epoch from '2026-07-07 12:29:18'::timestamp) - extract(epoch from '2026-07-07 12:29: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'), 47829, 'SRID=4674;POINT (-40.39801 -2.748922)', '2026-07-07 12:29:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398001 -2.748922)'), GeomFromEWKT('SRID=4674;POINT (-40.39801 -2.748922)'))) / (select extract(epoch from '2026-07-07 12:29:20'::timestamp) - extract(epoch from '2026-07-07 12:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398001 -2.748922)'), GeomFromEWKT('SRID=4674;POINT (-40.39801 -2.748922)'))) / (select extract(epoch from '2026-07-07 12:29:20'::timestamp) - extract(epoch from '2026-07-07 12:29: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'), 47829, 'SRID=4674;POINT (-40.398026 -2.748921)', '2026-07-07 12:29:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39801 -2.748922)'), GeomFromEWKT('SRID=4674;POINT (-40.398026 -2.748921)'))) / (select extract(epoch from '2026-07-07 12:29:23'::timestamp) - extract(epoch from '2026-07-07 12:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39801 -2.748922)'), GeomFromEWKT('SRID=4674;POINT (-40.398026 -2.748921)'))) / (select extract(epoch from '2026-07-07 12:29:23'::timestamp) - extract(epoch from '2026-07-07 12:29: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'), 47829, 'SRID=4674;POINT (-40.398056 -2.748913)', '2026-07-07 12:29:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398026 -2.748921)'), GeomFromEWKT('SRID=4674;POINT (-40.398056 -2.748913)'))) / (select extract(epoch from '2026-07-07 12:29:31'::timestamp) - extract(epoch from '2026-07-07 12:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398026 -2.748921)'), GeomFromEWKT('SRID=4674;POINT (-40.398056 -2.748913)'))) / (select extract(epoch from '2026-07-07 12:29:31'::timestamp) - extract(epoch from '2026-07-07 12:29: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'), 47829, 'SRID=4674;POINT (-40.398103 -2.748907)', '2026-07-07 12:29:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398056 -2.748913)'), GeomFromEWKT('SRID=4674;POINT (-40.398103 -2.748907)'))) / (select extract(epoch from '2026-07-07 12:29:42'::timestamp) - extract(epoch from '2026-07-07 12:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398056 -2.748913)'), GeomFromEWKT('SRID=4674;POINT (-40.398103 -2.748907)'))) / (select extract(epoch from '2026-07-07 12:29:42'::timestamp) - extract(epoch from '2026-07-07 12:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.398133 -2.7489)', '2026-07-07 12:29:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398103 -2.748907)'), GeomFromEWKT('SRID=4674;POINT (-40.398133 -2.7489)'))) / (select extract(epoch from '2026-07-07 12:29:49'::timestamp) - extract(epoch from '2026-07-07 12:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398103 -2.748907)'), GeomFromEWKT('SRID=4674;POINT (-40.398133 -2.7489)'))) / (select extract(epoch from '2026-07-07 12:29:49'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398173 -2.748883)', '2026-07-07 12:29:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398133 -2.7489)'), GeomFromEWKT('SRID=4674;POINT (-40.398173 -2.748883)'))) / (select extract(epoch from '2026-07-07 12:29:58'::timestamp) - extract(epoch from '2026-07-07 12:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398133 -2.7489)'), GeomFromEWKT('SRID=4674;POINT (-40.398173 -2.748883)'))) / (select extract(epoch from '2026-07-07 12:29:58'::timestamp) - extract(epoch from '2026-07-07 12:29: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'), 47829, 'SRID=4674;POINT (-40.398219 -2.74887)', '2026-07-07 12:30:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398173 -2.748883)'), GeomFromEWKT('SRID=4674;POINT (-40.398219 -2.74887)'))) / (select extract(epoch from '2026-07-07 12:30:09'::timestamp) - extract(epoch from '2026-07-07 12:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398173 -2.748883)'), GeomFromEWKT('SRID=4674;POINT (-40.398219 -2.74887)'))) / (select extract(epoch from '2026-07-07 12:30:09'::timestamp) - extract(epoch from '2026-07-07 12:29: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'), 47829, 'SRID=4674;POINT (-40.398247 -2.748856)', '2026-07-07 12:30:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398219 -2.74887)'), GeomFromEWKT('SRID=4674;POINT (-40.398247 -2.748856)'))) / (select extract(epoch from '2026-07-07 12:30:15'::timestamp) - extract(epoch from '2026-07-07 12:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398219 -2.74887)'), GeomFromEWKT('SRID=4674;POINT (-40.398247 -2.748856)'))) / (select extract(epoch from '2026-07-07 12:30:15'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.398303 -2.748795)', '2026-07-07 12:30:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398247 -2.748856)'), GeomFromEWKT('SRID=4674;POINT (-40.398303 -2.748795)'))) / (select extract(epoch from '2026-07-07 12:30:23'::timestamp) - extract(epoch from '2026-07-07 12:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398247 -2.748856)'), GeomFromEWKT('SRID=4674;POINT (-40.398303 -2.748795)'))) / (select extract(epoch from '2026-07-07 12:30:23'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.398308 -2.748784)', '2026-07-07 12:30:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398303 -2.748795)'), GeomFromEWKT('SRID=4674;POINT (-40.398308 -2.748784)'))) / (select extract(epoch from '2026-07-07 12:30:24'::timestamp) - extract(epoch from '2026-07-07 12:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398303 -2.748795)'), GeomFromEWKT('SRID=4674;POINT (-40.398308 -2.748784)'))) / (select extract(epoch from '2026-07-07 12:30:24'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.398317 -2.748764)', '2026-07-07 12:30:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398308 -2.748784)'), GeomFromEWKT('SRID=4674;POINT (-40.398317 -2.748764)'))) / (select extract(epoch from '2026-07-07 12:30:26'::timestamp) - extract(epoch from '2026-07-07 12:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398308 -2.748784)'), GeomFromEWKT('SRID=4674;POINT (-40.398317 -2.748764)'))) / (select extract(epoch from '2026-07-07 12:30:26'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.398322 -2.748724)', '2026-07-07 12:30:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398317 -2.748764)'), GeomFromEWKT('SRID=4674;POINT (-40.398322 -2.748724)'))) / (select extract(epoch from '2026-07-07 12:30:30'::timestamp) - extract(epoch from '2026-07-07 12:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398317 -2.748764)'), GeomFromEWKT('SRID=4674;POINT (-40.398322 -2.748724)'))) / (select extract(epoch from '2026-07-07 12:30:30'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.398319 -2.748715)', '2026-07-07 12:30:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398322 -2.748724)'), GeomFromEWKT('SRID=4674;POINT (-40.398319 -2.748715)'))) / (select extract(epoch from '2026-07-07 12:30:31'::timestamp) - extract(epoch from '2026-07-07 12:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398322 -2.748724)'), GeomFromEWKT('SRID=4674;POINT (-40.398319 -2.748715)'))) / (select extract(epoch from '2026-07-07 12:30:31'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.398316 -2.748689)', '2026-07-07 12:30:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398319 -2.748715)'), GeomFromEWKT('SRID=4674;POINT (-40.398316 -2.748689)'))) / (select extract(epoch from '2026-07-07 12:30:34'::timestamp) - extract(epoch from '2026-07-07 12:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398319 -2.748715)'), GeomFromEWKT('SRID=4674;POINT (-40.398316 -2.748689)'))) / (select extract(epoch from '2026-07-07 12:30:34'::timestamp) - extract(epoch from '2026-07-07 12:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.3983 -2.748659)', '2026-07-07 12:30:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398316 -2.748689)'), GeomFromEWKT('SRID=4674;POINT (-40.3983 -2.748659)'))) / (select extract(epoch from '2026-07-07 12:30:38'::timestamp) - extract(epoch from '2026-07-07 12:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398316 -2.748689)'), GeomFromEWKT('SRID=4674;POINT (-40.3983 -2.748659)'))) / (select extract(epoch from '2026-07-07 12:30:38'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398268 -2.748654)', '2026-07-07 12:30:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3983 -2.748659)'), GeomFromEWKT('SRID=4674;POINT (-40.398268 -2.748654)'))) / (select extract(epoch from '2026-07-07 12:30:43'::timestamp) - extract(epoch from '2026-07-07 12:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3983 -2.748659)'), GeomFromEWKT('SRID=4674;POINT (-40.398268 -2.748654)'))) / (select extract(epoch from '2026-07-07 12:30:43'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.398213 -2.748681)', '2026-07-07 12:30:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398268 -2.748654)'), GeomFromEWKT('SRID=4674;POINT (-40.398213 -2.748681)'))) / (select extract(epoch from '2026-07-07 12:30:50'::timestamp) - extract(epoch from '2026-07-07 12:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398268 -2.748654)'), GeomFromEWKT('SRID=4674;POINT (-40.398213 -2.748681)'))) / (select extract(epoch from '2026-07-07 12:30:50'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.3982 -2.748694)', '2026-07-07 12:30:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398213 -2.748681)'), GeomFromEWKT('SRID=4674;POINT (-40.3982 -2.748694)'))) / (select extract(epoch from '2026-07-07 12:30:52'::timestamp) - extract(epoch from '2026-07-07 12:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398213 -2.748681)'), GeomFromEWKT('SRID=4674;POINT (-40.3982 -2.748694)'))) / (select extract(epoch from '2026-07-07 12:30:52'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.398157 -2.74873)', '2026-07-07 12:30:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3982 -2.748694)'), GeomFromEWKT('SRID=4674;POINT (-40.398157 -2.74873)'))) / (select extract(epoch from '2026-07-07 12:30:57'::timestamp) - extract(epoch from '2026-07-07 12:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3982 -2.748694)'), GeomFromEWKT('SRID=4674;POINT (-40.398157 -2.74873)'))) / (select extract(epoch from '2026-07-07 12:30:57'::timestamp) - extract(epoch from '2026-07-07 12:30: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'), 47829, 'SRID=4674;POINT (-40.398119 -2.748767)', '2026-07-07 12:31:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398157 -2.74873)'), GeomFromEWKT('SRID=4674;POINT (-40.398119 -2.748767)'))) / (select extract(epoch from '2026-07-07 12:31:03'::timestamp) - extract(epoch from '2026-07-07 12:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398157 -2.74873)'), GeomFromEWKT('SRID=4674;POINT (-40.398119 -2.748767)'))) / (select extract(epoch from '2026-07-07 12:31:03'::timestamp) - extract(epoch from '2026-07-07 12:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.398116 -2.748777)', '2026-07-07 12:31:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398119 -2.748767)'), GeomFromEWKT('SRID=4674;POINT (-40.398116 -2.748777)'))) / (select extract(epoch from '2026-07-07 12:31:04'::timestamp) - extract(epoch from '2026-07-07 12:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398119 -2.748767)'), GeomFromEWKT('SRID=4674;POINT (-40.398116 -2.748777)'))) / (select extract(epoch from '2026-07-07 12:31:04'::timestamp) - extract(epoch from '2026-07-07 12:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.398097 -2.748798)', '2026-07-07 12:31:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398116 -2.748777)'), GeomFromEWKT('SRID=4674;POINT (-40.398097 -2.748798)'))) / (select extract(epoch from '2026-07-07 12:31:07'::timestamp) - extract(epoch from '2026-07-07 12:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398116 -2.748777)'), GeomFromEWKT('SRID=4674;POINT (-40.398097 -2.748798)'))) / (select extract(epoch from '2026-07-07 12:31:07'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.398047 -2.74884)', '2026-07-07 12:31:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398097 -2.748798)'), GeomFromEWKT('SRID=4674;POINT (-40.398047 -2.74884)'))) / (select extract(epoch from '2026-07-07 12:31:14'::timestamp) - extract(epoch from '2026-07-07 12:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398097 -2.748798)'), GeomFromEWKT('SRID=4674;POINT (-40.398047 -2.74884)'))) / (select extract(epoch from '2026-07-07 12:31:14'::timestamp) - extract(epoch from '2026-07-07 12:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.398019 -2.748856)', '2026-07-07 12:31:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398047 -2.74884)'), GeomFromEWKT('SRID=4674;POINT (-40.398019 -2.748856)'))) / (select extract(epoch from '2026-07-07 12:31:17'::timestamp) - extract(epoch from '2026-07-07 12:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398047 -2.74884)'), GeomFromEWKT('SRID=4674;POINT (-40.398019 -2.748856)'))) / (select extract(epoch from '2026-07-07 12:31:17'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.39799 -2.748865)', '2026-07-07 12:31:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398019 -2.748856)'), GeomFromEWKT('SRID=4674;POINT (-40.39799 -2.748865)'))) / (select extract(epoch from '2026-07-07 12:31:20'::timestamp) - extract(epoch from '2026-07-07 12:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398019 -2.748856)'), GeomFromEWKT('SRID=4674;POINT (-40.39799 -2.748865)'))) / (select extract(epoch from '2026-07-07 12:31:20'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.397979 -2.748869)', '2026-07-07 12:31:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39799 -2.748865)'), GeomFromEWKT('SRID=4674;POINT (-40.397979 -2.748869)'))) / (select extract(epoch from '2026-07-07 12:31:21'::timestamp) - extract(epoch from '2026-07-07 12:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39799 -2.748865)'), GeomFromEWKT('SRID=4674;POINT (-40.397979 -2.748869)'))) / (select extract(epoch from '2026-07-07 12:31:21'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.397927 -2.748872)', '2026-07-07 12:31:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397979 -2.748869)'), GeomFromEWKT('SRID=4674;POINT (-40.397927 -2.748872)'))) / (select extract(epoch from '2026-07-07 12:31:26'::timestamp) - extract(epoch from '2026-07-07 12:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397979 -2.748869)'), GeomFromEWKT('SRID=4674;POINT (-40.397927 -2.748872)'))) / (select extract(epoch from '2026-07-07 12:31:26'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.397874 -2.748885)', '2026-07-07 12:31:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397927 -2.748872)'), GeomFromEWKT('SRID=4674;POINT (-40.397874 -2.748885)'))) / (select extract(epoch from '2026-07-07 12:31:33'::timestamp) - extract(epoch from '2026-07-07 12:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397927 -2.748872)'), GeomFromEWKT('SRID=4674;POINT (-40.397874 -2.748885)'))) / (select extract(epoch from '2026-07-07 12:31:33'::timestamp) - extract(epoch from '2026-07-07 12:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.397852 -2.748892)', '2026-07-07 12:31:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397874 -2.748885)'), GeomFromEWKT('SRID=4674;POINT (-40.397852 -2.748892)'))) / (select extract(epoch from '2026-07-07 12:31:35'::timestamp) - extract(epoch from '2026-07-07 12:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397874 -2.748885)'), GeomFromEWKT('SRID=4674;POINT (-40.397852 -2.748892)'))) / (select extract(epoch from '2026-07-07 12:31:35'::timestamp) - extract(epoch from '2026-07-07 12:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.397835 -2.748895)', '2026-07-07 12:31:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397852 -2.748892)'), GeomFromEWKT('SRID=4674;POINT (-40.397835 -2.748895)'))) / (select extract(epoch from '2026-07-07 12:31:37'::timestamp) - extract(epoch from '2026-07-07 12:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397852 -2.748892)'), GeomFromEWKT('SRID=4674;POINT (-40.397835 -2.748895)'))) / (select extract(epoch from '2026-07-07 12:31:37'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.397825 -2.748898)', '2026-07-07 12:31:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397835 -2.748895)'), GeomFromEWKT('SRID=4674;POINT (-40.397825 -2.748898)'))) / (select extract(epoch from '2026-07-07 12:31:38'::timestamp) - extract(epoch from '2026-07-07 12:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397835 -2.748895)'), GeomFromEWKT('SRID=4674;POINT (-40.397825 -2.748898)'))) / (select extract(epoch from '2026-07-07 12:31:38'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397786 -2.748909)', '2026-07-07 12:31:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397825 -2.748898)'), GeomFromEWKT('SRID=4674;POINT (-40.397786 -2.748909)'))) / (select extract(epoch from '2026-07-07 12:31:42'::timestamp) - extract(epoch from '2026-07-07 12:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397825 -2.748898)'), GeomFromEWKT('SRID=4674;POINT (-40.397786 -2.748909)'))) / (select extract(epoch from '2026-07-07 12:31:42'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.39774 -2.748906)', '2026-07-07 12:31:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397786 -2.748909)'), GeomFromEWKT('SRID=4674;POINT (-40.39774 -2.748906)'))) / (select extract(epoch from '2026-07-07 12:31:47'::timestamp) - extract(epoch from '2026-07-07 12:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397786 -2.748909)'), GeomFromEWKT('SRID=4674;POINT (-40.39774 -2.748906)'))) / (select extract(epoch from '2026-07-07 12:31:47'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.397719 -2.74891)', '2026-07-07 12:31:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39774 -2.748906)'), GeomFromEWKT('SRID=4674;POINT (-40.397719 -2.74891)'))) / (select extract(epoch from '2026-07-07 12:31:49'::timestamp) - extract(epoch from '2026-07-07 12:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39774 -2.748906)'), GeomFromEWKT('SRID=4674;POINT (-40.397719 -2.74891)'))) / (select extract(epoch from '2026-07-07 12:31:49'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.397707 -2.748911)', '2026-07-07 12:31:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397719 -2.74891)'), GeomFromEWKT('SRID=4674;POINT (-40.397707 -2.748911)'))) / (select extract(epoch from '2026-07-07 12:31:50'::timestamp) - extract(epoch from '2026-07-07 12:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397719 -2.74891)'), GeomFromEWKT('SRID=4674;POINT (-40.397707 -2.748911)'))) / (select extract(epoch from '2026-07-07 12:31:50'::timestamp) - extract(epoch from '2026-07-07 12:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47829, 'SRID=4674;POINT (-40.397684 -2.748915)', '2026-07-07 12:31:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397707 -2.748911)'), GeomFromEWKT('SRID=4674;POINT (-40.397684 -2.748915)'))) / (select extract(epoch from '2026-07-07 12:31:52'::timestamp) - extract(epoch from '2026-07-07 12:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397707 -2.748911)'), GeomFromEWKT('SRID=4674;POINT (-40.397684 -2.748915)'))) / (select extract(epoch from '2026-07-07 12:31:52'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.397656 -2.748932)', '2026-07-07 12:31:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397684 -2.748915)'), GeomFromEWKT('SRID=4674;POINT (-40.397656 -2.748932)'))) / (select extract(epoch from '2026-07-07 12:31:55'::timestamp) - extract(epoch from '2026-07-07 12:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397684 -2.748915)'), GeomFromEWKT('SRID=4674;POINT (-40.397656 -2.748932)'))) / (select extract(epoch from '2026-07-07 12:31:55'::timestamp) - extract(epoch from '2026-07-07 12:31: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'), 47829, 'SRID=4674;POINT (-40.397648 -2.74894)', '2026-07-07 12:31:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397656 -2.748932)'), GeomFromEWKT('SRID=4674;POINT (-40.397648 -2.74894)'))) / (select extract(epoch from '2026-07-07 12:31:56'::timestamp) - extract(epoch from '2026-07-07 12:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397656 -2.748932)'), GeomFromEWKT('SRID=4674;POINT (-40.397648 -2.74894)'))) / (select extract(epoch from '2026-07-07 12:31:56'::timestamp) - extract(epoch from '2026-07-07 12: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'), 47829, 'SRID=4674;POINT (-40.397632 -2.748956)', '2026-07-07 12:31:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397648 -2.74894)'), GeomFromEWKT('SRID=4674;POINT (-40.397632 -2.748956)'))) / (select extract(epoch from '2026-07-07 12:31:58'::timestamp) - extract(epoch from '2026-07-07 12:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397648 -2.74894)'), GeomFromEWKT('SRID=4674;POINT (-40.397632 -2.748956)'))) / (select extract(epoch from '2026-07-07 12:31:58'::timestamp) - extract(epoch from '2026-07-07 12:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
