 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409743 -2.755955)', '2026-07-17 07:53:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409808 -2.756039)'), GeomFromEWKT('SRID=4674;POINT (-40.409743 -2.755955)'))) / (select extract(epoch from '2026-07-17 07:53:17'::timestamp) - extract(epoch from '2026-07-17 07:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409808 -2.756039)'), GeomFromEWKT('SRID=4674;POINT (-40.409743 -2.755955)'))) / (select extract(epoch from '2026-07-17 07:53:17'::timestamp) - extract(epoch from '2026-07-17 07:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409656 -2.755863)', '2026-07-17 07:53:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409743 -2.755955)'), GeomFromEWKT('SRID=4674;POINT (-40.409656 -2.755863)'))) / (select extract(epoch from '2026-07-17 07:53:24'::timestamp) - extract(epoch from '2026-07-17 07:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409743 -2.755955)'), GeomFromEWKT('SRID=4674;POINT (-40.409656 -2.755863)'))) / (select extract(epoch from '2026-07-17 07:53:24'::timestamp) - extract(epoch from '2026-07-17 07:53:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409569 -2.755746)', '2026-07-17 07:53:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409656 -2.755863)'), GeomFromEWKT('SRID=4674;POINT (-40.409569 -2.755746)'))) / (select extract(epoch from '2026-07-17 07:53:32'::timestamp) - extract(epoch from '2026-07-17 07:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409656 -2.755863)'), GeomFromEWKT('SRID=4674;POINT (-40.409569 -2.755746)'))) / (select extract(epoch from '2026-07-17 07:53:32'::timestamp) - extract(epoch from '2026-07-17 07:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409501 -2.755632)', '2026-07-17 07:53:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409569 -2.755746)'), GeomFromEWKT('SRID=4674;POINT (-40.409501 -2.755632)'))) / (select extract(epoch from '2026-07-17 07:53:39'::timestamp) - extract(epoch from '2026-07-17 07:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409569 -2.755746)'), GeomFromEWKT('SRID=4674;POINT (-40.409501 -2.755632)'))) / (select extract(epoch from '2026-07-17 07:53:39'::timestamp) - extract(epoch from '2026-07-17 07:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409438 -2.75549)', '2026-07-17 07:53:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409501 -2.755632)'), GeomFromEWKT('SRID=4674;POINT (-40.409438 -2.75549)'))) / (select extract(epoch from '2026-07-17 07:53:47'::timestamp) - extract(epoch from '2026-07-17 07:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409501 -2.755632)'), GeomFromEWKT('SRID=4674;POINT (-40.409438 -2.75549)'))) / (select extract(epoch from '2026-07-17 07:53:47'::timestamp) - extract(epoch from '2026-07-17 07:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409381 -2.755347)', '2026-07-17 07:53:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409438 -2.75549)'), GeomFromEWKT('SRID=4674;POINT (-40.409381 -2.755347)'))) / (select extract(epoch from '2026-07-17 07:53:55'::timestamp) - extract(epoch from '2026-07-17 07:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409438 -2.75549)'), GeomFromEWKT('SRID=4674;POINT (-40.409381 -2.755347)'))) / (select extract(epoch from '2026-07-17 07:53:55'::timestamp) - extract(epoch from '2026-07-17 07:53:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409338 -2.755226)', '2026-07-17 07:54:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409381 -2.755347)'), GeomFromEWKT('SRID=4674;POINT (-40.409338 -2.755226)'))) / (select extract(epoch from '2026-07-17 07:54:02'::timestamp) - extract(epoch from '2026-07-17 07:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409381 -2.755347)'), GeomFromEWKT('SRID=4674;POINT (-40.409338 -2.755226)'))) / (select extract(epoch from '2026-07-17 07:54:02'::timestamp) - extract(epoch from '2026-07-17 07:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409313 -2.755116)', '2026-07-17 07:54:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409338 -2.755226)'), GeomFromEWKT('SRID=4674;POINT (-40.409313 -2.755116)'))) / (select extract(epoch from '2026-07-17 07:54:08'::timestamp) - extract(epoch from '2026-07-17 07:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409338 -2.755226)'), GeomFromEWKT('SRID=4674;POINT (-40.409313 -2.755116)'))) / (select extract(epoch from '2026-07-17 07:54:08'::timestamp) - extract(epoch from '2026-07-17 07:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409272 -2.754986)', '2026-07-17 07:54:15', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409313 -2.755116)'), GeomFromEWKT('SRID=4674;POINT (-40.409272 -2.754986)'))) / (select extract(epoch from '2026-07-17 07:54:15'::timestamp) - extract(epoch from '2026-07-17 07:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409313 -2.755116)'), GeomFromEWKT('SRID=4674;POINT (-40.409272 -2.754986)'))) / (select extract(epoch from '2026-07-17 07:54:15'::timestamp) - extract(epoch from '2026-07-17 07:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409235 -2.75486)', '2026-07-17 07:54:21', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409272 -2.754986)'), GeomFromEWKT('SRID=4674;POINT (-40.409235 -2.75486)'))) / (select extract(epoch from '2026-07-17 07:54:21'::timestamp) - extract(epoch from '2026-07-17 07:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409272 -2.754986)'), GeomFromEWKT('SRID=4674;POINT (-40.409235 -2.75486)'))) / (select extract(epoch from '2026-07-17 07:54:21'::timestamp) - extract(epoch from '2026-07-17 07:54:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409213 -2.754758)', '2026-07-17 07:54:27', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409235 -2.75486)'), GeomFromEWKT('SRID=4674;POINT (-40.409213 -2.754758)'))) / (select extract(epoch from '2026-07-17 07:54:27'::timestamp) - extract(epoch from '2026-07-17 07:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409235 -2.75486)'), GeomFromEWKT('SRID=4674;POINT (-40.409213 -2.754758)'))) / (select extract(epoch from '2026-07-17 07:54:27'::timestamp) - extract(epoch from '2026-07-17 07:54:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409141 -2.754567)', '2026-07-17 07:54:37', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409213 -2.754758)'), GeomFromEWKT('SRID=4674;POINT (-40.409141 -2.754567)'))) / (select extract(epoch from '2026-07-17 07:54:37'::timestamp) - extract(epoch from '2026-07-17 07:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409213 -2.754758)'), GeomFromEWKT('SRID=4674;POINT (-40.409141 -2.754567)'))) / (select extract(epoch from '2026-07-17 07:54:37'::timestamp) - extract(epoch from '2026-07-17 07:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409095 -2.754443)', '2026-07-17 07:54:44', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409141 -2.754567)'), GeomFromEWKT('SRID=4674;POINT (-40.409095 -2.754443)'))) / (select extract(epoch from '2026-07-17 07:54:44'::timestamp) - extract(epoch from '2026-07-17 07:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409141 -2.754567)'), GeomFromEWKT('SRID=4674;POINT (-40.409095 -2.754443)'))) / (select extract(epoch from '2026-07-17 07:54:44'::timestamp) - extract(epoch from '2026-07-17 07:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409076 -2.754326)', '2026-07-17 07:54:50', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409095 -2.754443)'), GeomFromEWKT('SRID=4674;POINT (-40.409076 -2.754326)'))) / (select extract(epoch from '2026-07-17 07:54:50'::timestamp) - extract(epoch from '2026-07-17 07:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409095 -2.754443)'), GeomFromEWKT('SRID=4674;POINT (-40.409076 -2.754326)'))) / (select extract(epoch from '2026-07-17 07:54:50'::timestamp) - extract(epoch from '2026-07-17 07:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409047 -2.754182)', '2026-07-17 07:54:57', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409076 -2.754326)'), GeomFromEWKT('SRID=4674;POINT (-40.409047 -2.754182)'))) / (select extract(epoch from '2026-07-17 07:54:57'::timestamp) - extract(epoch from '2026-07-17 07:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409076 -2.754326)'), GeomFromEWKT('SRID=4674;POINT (-40.409047 -2.754182)'))) / (select extract(epoch from '2026-07-17 07:54:57'::timestamp) - extract(epoch from '2026-07-17 07:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408993 -2.754034)', '2026-07-17 07:55:05', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409047 -2.754182)'), GeomFromEWKT('SRID=4674;POINT (-40.408993 -2.754034)'))) / (select extract(epoch from '2026-07-17 07:55:05'::timestamp) - extract(epoch from '2026-07-17 07:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409047 -2.754182)'), GeomFromEWKT('SRID=4674;POINT (-40.408993 -2.754034)'))) / (select extract(epoch from '2026-07-17 07:55:05'::timestamp) - extract(epoch from '2026-07-17 07:54:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409002 -2.753855)', '2026-07-17 07:55:14', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408993 -2.754034)'), GeomFromEWKT('SRID=4674;POINT (-40.409002 -2.753855)'))) / (select extract(epoch from '2026-07-17 07:55:14'::timestamp) - extract(epoch from '2026-07-17 07:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408993 -2.754034)'), GeomFromEWKT('SRID=4674;POINT (-40.409002 -2.753855)'))) / (select extract(epoch from '2026-07-17 07:55:14'::timestamp) - extract(epoch from '2026-07-17 07:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409072 -2.75373)', '2026-07-17 07:55:21', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409002 -2.753855)'), GeomFromEWKT('SRID=4674;POINT (-40.409072 -2.75373)'))) / (select extract(epoch from '2026-07-17 07:55:21'::timestamp) - extract(epoch from '2026-07-17 07:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409002 -2.753855)'), GeomFromEWKT('SRID=4674;POINT (-40.409072 -2.75373)'))) / (select extract(epoch from '2026-07-17 07:55:21'::timestamp) - extract(epoch from '2026-07-17 07:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409103 -2.753606)', '2026-07-17 07:55:28', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409072 -2.75373)'), GeomFromEWKT('SRID=4674;POINT (-40.409103 -2.753606)'))) / (select extract(epoch from '2026-07-17 07:55:28'::timestamp) - extract(epoch from '2026-07-17 07:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409072 -2.75373)'), GeomFromEWKT('SRID=4674;POINT (-40.409103 -2.753606)'))) / (select extract(epoch from '2026-07-17 07:55:28'::timestamp) - extract(epoch from '2026-07-17 07:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409165 -2.753427)', '2026-07-17 07:55:37', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409103 -2.753606)'), GeomFromEWKT('SRID=4674;POINT (-40.409165 -2.753427)'))) / (select extract(epoch from '2026-07-17 07:55:37'::timestamp) - extract(epoch from '2026-07-17 07:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409103 -2.753606)'), GeomFromEWKT('SRID=4674;POINT (-40.409165 -2.753427)'))) / (select extract(epoch from '2026-07-17 07:55:37'::timestamp) - extract(epoch from '2026-07-17 07:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409216 -2.753284)', '2026-07-17 07:55:44', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409165 -2.753427)'), GeomFromEWKT('SRID=4674;POINT (-40.409216 -2.753284)'))) / (select extract(epoch from '2026-07-17 07:55:44'::timestamp) - extract(epoch from '2026-07-17 07:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409165 -2.753427)'), GeomFromEWKT('SRID=4674;POINT (-40.409216 -2.753284)'))) / (select extract(epoch from '2026-07-17 07:55:44'::timestamp) - extract(epoch from '2026-07-17 07:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409234 -2.753147)', '2026-07-17 07:55:51', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409216 -2.753284)'), GeomFromEWKT('SRID=4674;POINT (-40.409234 -2.753147)'))) / (select extract(epoch from '2026-07-17 07:55:51'::timestamp) - extract(epoch from '2026-07-17 07:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409216 -2.753284)'), GeomFromEWKT('SRID=4674;POINT (-40.409234 -2.753147)'))) / (select extract(epoch from '2026-07-17 07:55:51'::timestamp) - extract(epoch from '2026-07-17 07:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409204 -2.752992)', '2026-07-17 07:55:59', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409234 -2.753147)'), GeomFromEWKT('SRID=4674;POINT (-40.409204 -2.752992)'))) / (select extract(epoch from '2026-07-17 07:55:59'::timestamp) - extract(epoch from '2026-07-17 07:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409234 -2.753147)'), GeomFromEWKT('SRID=4674;POINT (-40.409204 -2.752992)'))) / (select extract(epoch from '2026-07-17 07:55:59'::timestamp) - extract(epoch from '2026-07-17 07:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409193 -2.752819)', '2026-07-17 07:56:07', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409204 -2.752992)'), GeomFromEWKT('SRID=4674;POINT (-40.409193 -2.752819)'))) / (select extract(epoch from '2026-07-17 07:56:07'::timestamp) - extract(epoch from '2026-07-17 07:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409204 -2.752992)'), GeomFromEWKT('SRID=4674;POINT (-40.409193 -2.752819)'))) / (select extract(epoch from '2026-07-17 07:56:07'::timestamp) - extract(epoch from '2026-07-17 07:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409206 -2.752645)', '2026-07-17 07:56:15', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409193 -2.752819)'), GeomFromEWKT('SRID=4674;POINT (-40.409206 -2.752645)'))) / (select extract(epoch from '2026-07-17 07:56:15'::timestamp) - extract(epoch from '2026-07-17 07:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409193 -2.752819)'), GeomFromEWKT('SRID=4674;POINT (-40.409206 -2.752645)'))) / (select extract(epoch from '2026-07-17 07:56:15'::timestamp) - extract(epoch from '2026-07-17 07:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409213 -2.752478)', '2026-07-17 07:56:23', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409206 -2.752645)'), GeomFromEWKT('SRID=4674;POINT (-40.409213 -2.752478)'))) / (select extract(epoch from '2026-07-17 07:56:23'::timestamp) - extract(epoch from '2026-07-17 07:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409206 -2.752645)'), GeomFromEWKT('SRID=4674;POINT (-40.409213 -2.752478)'))) / (select extract(epoch from '2026-07-17 07:56:23'::timestamp) - extract(epoch from '2026-07-17 07:56:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409194 -2.752359)', '2026-07-17 07:56:29', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409213 -2.752478)'), GeomFromEWKT('SRID=4674;POINT (-40.409194 -2.752359)'))) / (select extract(epoch from '2026-07-17 07:56:29'::timestamp) - extract(epoch from '2026-07-17 07:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409213 -2.752478)'), GeomFromEWKT('SRID=4674;POINT (-40.409194 -2.752359)'))) / (select extract(epoch from '2026-07-17 07:56:29'::timestamp) - extract(epoch from '2026-07-17 07:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409159 -2.752259)', '2026-07-17 07:56:36', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409194 -2.752359)'), GeomFromEWKT('SRID=4674;POINT (-40.409159 -2.752259)'))) / (select extract(epoch from '2026-07-17 07:56:36'::timestamp) - extract(epoch from '2026-07-17 07:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409194 -2.752359)'), GeomFromEWKT('SRID=4674;POINT (-40.409159 -2.752259)'))) / (select extract(epoch from '2026-07-17 07:56:36'::timestamp) - extract(epoch from '2026-07-17 07:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409122 -2.752179)', '2026-07-17 07:56:42', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409159 -2.752259)'), GeomFromEWKT('SRID=4674;POINT (-40.409122 -2.752179)'))) / (select extract(epoch from '2026-07-17 07:56:42'::timestamp) - extract(epoch from '2026-07-17 07:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409159 -2.752259)'), GeomFromEWKT('SRID=4674;POINT (-40.409122 -2.752179)'))) / (select extract(epoch from '2026-07-17 07:56:42'::timestamp) - extract(epoch from '2026-07-17 07:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409076 -2.752087)', '2026-07-17 07:56:49', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409122 -2.752179)'), GeomFromEWKT('SRID=4674;POINT (-40.409076 -2.752087)'))) / (select extract(epoch from '2026-07-17 07:56:49'::timestamp) - extract(epoch from '2026-07-17 07:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409122 -2.752179)'), GeomFromEWKT('SRID=4674;POINT (-40.409076 -2.752087)'))) / (select extract(epoch from '2026-07-17 07:56:49'::timestamp) - extract(epoch from '2026-07-17 07:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409054 -2.752034)', '2026-07-17 07:56:53', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409076 -2.752087)'), GeomFromEWKT('SRID=4674;POINT (-40.409054 -2.752034)'))) / (select extract(epoch from '2026-07-17 07:56:53'::timestamp) - extract(epoch from '2026-07-17 07:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409076 -2.752087)'), GeomFromEWKT('SRID=4674;POINT (-40.409054 -2.752034)'))) / (select extract(epoch from '2026-07-17 07:56:53'::timestamp) - extract(epoch from '2026-07-17 07:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409044 -2.752006)', '2026-07-17 07:56:56', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409054 -2.752034)'), GeomFromEWKT('SRID=4674;POINT (-40.409044 -2.752006)'))) / (select extract(epoch from '2026-07-17 07:56:56'::timestamp) - extract(epoch from '2026-07-17 07:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409054 -2.752034)'), GeomFromEWKT('SRID=4674;POINT (-40.409044 -2.752006)'))) / (select extract(epoch from '2026-07-17 07:56:56'::timestamp) - extract(epoch from '2026-07-17 07:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40903 -2.751906)', '2026-07-17 07:57:03', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409044 -2.752006)'), GeomFromEWKT('SRID=4674;POINT (-40.40903 -2.751906)'))) / (select extract(epoch from '2026-07-17 07:57:03'::timestamp) - extract(epoch from '2026-07-17 07:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409044 -2.752006)'), GeomFromEWKT('SRID=4674;POINT (-40.40903 -2.751906)'))) / (select extract(epoch from '2026-07-17 07:57:03'::timestamp) - extract(epoch from '2026-07-17 07:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409043 -2.751773)', '2026-07-17 07:57:11', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40903 -2.751906)'), GeomFromEWKT('SRID=4674;POINT (-40.409043 -2.751773)'))) / (select extract(epoch from '2026-07-17 07:57:11'::timestamp) - extract(epoch from '2026-07-17 07:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40903 -2.751906)'), GeomFromEWKT('SRID=4674;POINT (-40.409043 -2.751773)'))) / (select extract(epoch from '2026-07-17 07:57:11'::timestamp) - extract(epoch from '2026-07-17 07:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409096 -2.751623)', '2026-07-17 07:57:20', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409043 -2.751773)'), GeomFromEWKT('SRID=4674;POINT (-40.409096 -2.751623)'))) / (select extract(epoch from '2026-07-17 07:57:20'::timestamp) - extract(epoch from '2026-07-17 07:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409043 -2.751773)'), GeomFromEWKT('SRID=4674;POINT (-40.409096 -2.751623)'))) / (select extract(epoch from '2026-07-17 07:57:20'::timestamp) - extract(epoch from '2026-07-17 07:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409135 -2.751519)', '2026-07-17 07:57:27', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409096 -2.751623)'), GeomFromEWKT('SRID=4674;POINT (-40.409135 -2.751519)'))) / (select extract(epoch from '2026-07-17 07:57:27'::timestamp) - extract(epoch from '2026-07-17 07:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409096 -2.751623)'), GeomFromEWKT('SRID=4674;POINT (-40.409135 -2.751519)'))) / (select extract(epoch from '2026-07-17 07:57:27'::timestamp) - extract(epoch from '2026-07-17 07:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409155 -2.751441)', '2026-07-17 07:57:33', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409135 -2.751519)'), GeomFromEWKT('SRID=4674;POINT (-40.409155 -2.751441)'))) / (select extract(epoch from '2026-07-17 07:57:33'::timestamp) - extract(epoch from '2026-07-17 07:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409135 -2.751519)'), GeomFromEWKT('SRID=4674;POINT (-40.409155 -2.751441)'))) / (select extract(epoch from '2026-07-17 07:57:33'::timestamp) - extract(epoch from '2026-07-17 07:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409167 -2.751359)', '2026-07-17 07:57:39', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409155 -2.751441)'), GeomFromEWKT('SRID=4674;POINT (-40.409167 -2.751359)'))) / (select extract(epoch from '2026-07-17 07:57:39'::timestamp) - extract(epoch from '2026-07-17 07:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409155 -2.751441)'), GeomFromEWKT('SRID=4674;POINT (-40.409167 -2.751359)'))) / (select extract(epoch from '2026-07-17 07:57:39'::timestamp) - extract(epoch from '2026-07-17 07:57:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409161 -2.751256)', '2026-07-17 07:57:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409167 -2.751359)'), GeomFromEWKT('SRID=4674;POINT (-40.409161 -2.751256)'))) / (select extract(epoch from '2026-07-17 07:57:46'::timestamp) - extract(epoch from '2026-07-17 07:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409167 -2.751359)'), GeomFromEWKT('SRID=4674;POINT (-40.409161 -2.751256)'))) / (select extract(epoch from '2026-07-17 07:57:46'::timestamp) - extract(epoch from '2026-07-17 07:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409156 -2.751196)', '2026-07-17 07:57:50', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409161 -2.751256)'), GeomFromEWKT('SRID=4674;POINT (-40.409156 -2.751196)'))) / (select extract(epoch from '2026-07-17 07:57:50'::timestamp) - extract(epoch from '2026-07-17 07:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409161 -2.751256)'), GeomFromEWKT('SRID=4674;POINT (-40.409156 -2.751196)'))) / (select extract(epoch from '2026-07-17 07:57:50'::timestamp) - extract(epoch from '2026-07-17 07:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40915 -2.751158)', '2026-07-17 07:57:52', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409156 -2.751196)'), GeomFromEWKT('SRID=4674;POINT (-40.40915 -2.751158)'))) / (select extract(epoch from '2026-07-17 07:57:52'::timestamp) - extract(epoch from '2026-07-17 07:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409156 -2.751196)'), GeomFromEWKT('SRID=4674;POINT (-40.40915 -2.751158)'))) / (select extract(epoch from '2026-07-17 07:57:52'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.409128 -2.751059)', '2026-07-17 07:57:59', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40915 -2.751158)'), GeomFromEWKT('SRID=4674;POINT (-40.409128 -2.751059)'))) / (select extract(epoch from '2026-07-17 07:57:59'::timestamp) - extract(epoch from '2026-07-17 07:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40915 -2.751158)'), GeomFromEWKT('SRID=4674;POINT (-40.409128 -2.751059)'))) / (select extract(epoch from '2026-07-17 07:57:59'::timestamp) - extract(epoch from '2026-07-17 07:57:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409118 -2.751028)', '2026-07-17 07:58:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409128 -2.751059)'), GeomFromEWKT('SRID=4674;POINT (-40.409118 -2.751028)'))) / (select extract(epoch from '2026-07-17 07:58:02'::timestamp) - extract(epoch from '2026-07-17 07:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409128 -2.751059)'), GeomFromEWKT('SRID=4674;POINT (-40.409118 -2.751028)'))) / (select extract(epoch from '2026-07-17 07:58:02'::timestamp) - extract(epoch from '2026-07-17 07:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409106 -2.750989)', '2026-07-17 07:58:05', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409118 -2.751028)'), GeomFromEWKT('SRID=4674;POINT (-40.409106 -2.750989)'))) / (select extract(epoch from '2026-07-17 07:58:05'::timestamp) - extract(epoch from '2026-07-17 07:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409118 -2.751028)'), GeomFromEWKT('SRID=4674;POINT (-40.409106 -2.750989)'))) / (select extract(epoch from '2026-07-17 07:58:05'::timestamp) - extract(epoch from '2026-07-17 07:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409087 -2.750912)', '2026-07-17 07:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409106 -2.750989)'), GeomFromEWKT('SRID=4674;POINT (-40.409087 -2.750912)'))) / (select extract(epoch from '2026-07-17 07:58:12'::timestamp) - extract(epoch from '2026-07-17 07:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409106 -2.750989)'), GeomFromEWKT('SRID=4674;POINT (-40.409087 -2.750912)'))) / (select extract(epoch from '2026-07-17 07:58:12'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.409068 -2.750882)', '2026-07-17 07:58:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409087 -2.750912)'), GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.750882)'))) / (select extract(epoch from '2026-07-17 07:58:16'::timestamp) - extract(epoch from '2026-07-17 07:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409087 -2.750912)'), GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.750882)'))) / (select extract(epoch from '2026-07-17 07:58:16'::timestamp) - extract(epoch from '2026-07-17 07:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409056 -2.75088)', '2026-07-17 07:58:18', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.750882)'), GeomFromEWKT('SRID=4674;POINT (-40.409056 -2.75088)'))) / (select extract(epoch from '2026-07-17 07:58:18'::timestamp) - extract(epoch from '2026-07-17 07:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409068 -2.750882)'), GeomFromEWKT('SRID=4674;POINT (-40.409056 -2.75088)'))) / (select extract(epoch from '2026-07-17 07:58:18'::timestamp) - extract(epoch from '2026-07-17 07:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409013 -2.750881)', '2026-07-17 07:58:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409056 -2.75088)'), GeomFromEWKT('SRID=4674;POINT (-40.409013 -2.750881)'))) / (select extract(epoch from '2026-07-17 07:58:26'::timestamp) - extract(epoch from '2026-07-17 07:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409056 -2.75088)'), GeomFromEWKT('SRID=4674;POINT (-40.409013 -2.750881)'))) / (select extract(epoch from '2026-07-17 07:58:26'::timestamp) - extract(epoch from '2026-07-17 07:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408971 -2.750832)', '2026-07-17 07:58:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409013 -2.750881)'), GeomFromEWKT('SRID=4674;POINT (-40.408971 -2.750832)'))) / (select extract(epoch from '2026-07-17 07:58:35'::timestamp) - extract(epoch from '2026-07-17 07:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409013 -2.750881)'), GeomFromEWKT('SRID=4674;POINT (-40.408971 -2.750832)'))) / (select extract(epoch from '2026-07-17 07:58:35'::timestamp) - extract(epoch from '2026-07-17 07:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408934 -2.750762)', '2026-07-17 07:58:45', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408971 -2.750832)'), GeomFromEWKT('SRID=4674;POINT (-40.408934 -2.750762)'))) / (select extract(epoch from '2026-07-17 07:58:45'::timestamp) - extract(epoch from '2026-07-17 07:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408971 -2.750832)'), GeomFromEWKT('SRID=4674;POINT (-40.408934 -2.750762)'))) / (select extract(epoch from '2026-07-17 07:58:45'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.408927 -2.750722)', '2026-07-17 07:58:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408934 -2.750762)'), GeomFromEWKT('SRID=4674;POINT (-40.408927 -2.750722)'))) / (select extract(epoch from '2026-07-17 07:58:49'::timestamp) - extract(epoch from '2026-07-17 07:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408934 -2.750762)'), GeomFromEWKT('SRID=4674;POINT (-40.408927 -2.750722)'))) / (select extract(epoch from '2026-07-17 07:58:49'::timestamp) - extract(epoch from '2026-07-17 07:58:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408921 -2.750706)', '2026-07-17 07:58:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408927 -2.750722)'), GeomFromEWKT('SRID=4674;POINT (-40.408921 -2.750706)'))) / (select extract(epoch from '2026-07-17 07:58:51'::timestamp) - extract(epoch from '2026-07-17 07:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408927 -2.750722)'), GeomFromEWKT('SRID=4674;POINT (-40.408921 -2.750706)'))) / (select extract(epoch from '2026-07-17 07:58:51'::timestamp) - extract(epoch from '2026-07-17 07:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408881 -2.750656)', '2026-07-17 07:58:58', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408921 -2.750706)'), GeomFromEWKT('SRID=4674;POINT (-40.408881 -2.750656)'))) / (select extract(epoch from '2026-07-17 07:58:58'::timestamp) - extract(epoch from '2026-07-17 07:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408921 -2.750706)'), GeomFromEWKT('SRID=4674;POINT (-40.408881 -2.750656)'))) / (select extract(epoch from '2026-07-17 07:58:58'::timestamp) - extract(epoch from '2026-07-17 07:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408844 -2.750638)', '2026-07-17 07:59:05', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408881 -2.750656)'), GeomFromEWKT('SRID=4674;POINT (-40.408844 -2.750638)'))) / (select extract(epoch from '2026-07-17 07:59:05'::timestamp) - extract(epoch from '2026-07-17 07:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408881 -2.750656)'), GeomFromEWKT('SRID=4674;POINT (-40.408844 -2.750638)'))) / (select extract(epoch from '2026-07-17 07:59:05'::timestamp) - extract(epoch from '2026-07-17 07:58:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408825 -2.750605)', '2026-07-17 07:59:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408844 -2.750638)'), GeomFromEWKT('SRID=4674;POINT (-40.408825 -2.750605)'))) / (select extract(epoch from '2026-07-17 07:59:11'::timestamp) - extract(epoch from '2026-07-17 07:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408844 -2.750638)'), GeomFromEWKT('SRID=4674;POINT (-40.408825 -2.750605)'))) / (select extract(epoch from '2026-07-17 07:59:11'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.408793 -2.750504)', '2026-07-17 07:59:23', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408825 -2.750605)'), GeomFromEWKT('SRID=4674;POINT (-40.408793 -2.750504)'))) / (select extract(epoch from '2026-07-17 07:59:23'::timestamp) - extract(epoch from '2026-07-17 07:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408825 -2.750605)'), GeomFromEWKT('SRID=4674;POINT (-40.408793 -2.750504)'))) / (select extract(epoch from '2026-07-17 07:59:23'::timestamp) - extract(epoch from '2026-07-17 07:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408791 -2.750434)', '2026-07-17 07:59:29', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408793 -2.750504)'), GeomFromEWKT('SRID=4674;POINT (-40.408791 -2.750434)'))) / (select extract(epoch from '2026-07-17 07:59:29'::timestamp) - extract(epoch from '2026-07-17 07:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408793 -2.750504)'), GeomFromEWKT('SRID=4674;POINT (-40.408791 -2.750434)'))) / (select extract(epoch from '2026-07-17 07:59:29'::timestamp) - extract(epoch from '2026-07-17 07:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408793 -2.750408)', '2026-07-17 07:59:31', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408791 -2.750434)'), GeomFromEWKT('SRID=4674;POINT (-40.408793 -2.750408)'))) / (select extract(epoch from '2026-07-17 07:59:31'::timestamp) - extract(epoch from '2026-07-17 07:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408791 -2.750434)'), GeomFromEWKT('SRID=4674;POINT (-40.408793 -2.750408)'))) / (select extract(epoch from '2026-07-17 07:59:31'::timestamp) - extract(epoch from '2026-07-17 07:59:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408804 -2.750333)', '2026-07-17 07:59:37', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408793 -2.750408)'), GeomFromEWKT('SRID=4674;POINT (-40.408804 -2.750333)'))) / (select extract(epoch from '2026-07-17 07:59:37'::timestamp) - extract(epoch from '2026-07-17 07:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408793 -2.750408)'), GeomFromEWKT('SRID=4674;POINT (-40.408804 -2.750333)'))) / (select extract(epoch from '2026-07-17 07:59:37'::timestamp) - extract(epoch from '2026-07-17 07:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408838 -2.750241)', '2026-07-17 07:59:45', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408804 -2.750333)'), GeomFromEWKT('SRID=4674;POINT (-40.408838 -2.750241)'))) / (select extract(epoch from '2026-07-17 07:59:45'::timestamp) - extract(epoch from '2026-07-17 07:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408804 -2.750333)'), GeomFromEWKT('SRID=4674;POINT (-40.408838 -2.750241)'))) / (select extract(epoch from '2026-07-17 07:59:45'::timestamp) - extract(epoch from '2026-07-17 07:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408844 -2.75023)', '2026-07-17 07:59:46', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408838 -2.750241)'), GeomFromEWKT('SRID=4674;POINT (-40.408844 -2.75023)'))) / (select extract(epoch from '2026-07-17 07:59:46'::timestamp) - extract(epoch from '2026-07-17 07:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408838 -2.750241)'), GeomFromEWKT('SRID=4674;POINT (-40.408844 -2.75023)'))) / (select extract(epoch from '2026-07-17 07:59:46'::timestamp) - extract(epoch from '2026-07-17 07:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408874 -2.750169)', '2026-07-17 07:59:51', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408844 -2.75023)'), GeomFromEWKT('SRID=4674;POINT (-40.408874 -2.750169)'))) / (select extract(epoch from '2026-07-17 07:59:51'::timestamp) - extract(epoch from '2026-07-17 07:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408844 -2.75023)'), GeomFromEWKT('SRID=4674;POINT (-40.408874 -2.750169)'))) / (select extract(epoch from '2026-07-17 07:59:51'::timestamp) - extract(epoch from '2026-07-17 07: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'), 47831, 'SRID=4674;POINT (-40.408908 -2.750092)', '2026-07-17 07:59:57', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408874 -2.750169)'), GeomFromEWKT('SRID=4674;POINT (-40.408908 -2.750092)'))) / (select extract(epoch from '2026-07-17 07:59:57'::timestamp) - extract(epoch from '2026-07-17 07:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408874 -2.750169)'), GeomFromEWKT('SRID=4674;POINT (-40.408908 -2.750092)'))) / (select extract(epoch from '2026-07-17 07:59:57'::timestamp) - extract(epoch from '2026-07-17 07:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40891 -2.750065)', '2026-07-17 07:59:59', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408908 -2.750092)'), GeomFromEWKT('SRID=4674;POINT (-40.40891 -2.750065)'))) / (select extract(epoch from '2026-07-17 07:59:59'::timestamp) - extract(epoch from '2026-07-17 07:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408908 -2.750092)'), GeomFromEWKT('SRID=4674;POINT (-40.40891 -2.750065)'))) / (select extract(epoch from '2026-07-17 07:59:59'::timestamp) - extract(epoch from '2026-07-17 07:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408936 -2.749998)', '2026-07-17 08:00:04', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40891 -2.750065)'), GeomFromEWKT('SRID=4674;POINT (-40.408936 -2.749998)'))) / (select extract(epoch from '2026-07-17 08:00:04'::timestamp) - extract(epoch from '2026-07-17 07:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40891 -2.750065)'), GeomFromEWKT('SRID=4674;POINT (-40.408936 -2.749998)'))) / (select extract(epoch from '2026-07-17 08:00:04'::timestamp) - extract(epoch from '2026-07-17 07:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408963 -2.749916)', '2026-07-17 08:00:09', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408936 -2.749998)'), GeomFromEWKT('SRID=4674;POINT (-40.408963 -2.749916)'))) / (select extract(epoch from '2026-07-17 08:00:09'::timestamp) - extract(epoch from '2026-07-17 08:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408936 -2.749998)'), GeomFromEWKT('SRID=4674;POINT (-40.408963 -2.749916)'))) / (select extract(epoch from '2026-07-17 08:00:09'::timestamp) - extract(epoch from '2026-07-17 08:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408975 -2.749835)', '2026-07-17 08:00:16', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408963 -2.749916)'), GeomFromEWKT('SRID=4674;POINT (-40.408975 -2.749835)'))) / (select extract(epoch from '2026-07-17 08:00:16'::timestamp) - extract(epoch from '2026-07-17 08:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408963 -2.749916)'), GeomFromEWKT('SRID=4674;POINT (-40.408975 -2.749835)'))) / (select extract(epoch from '2026-07-17 08:00:16'::timestamp) - extract(epoch from '2026-07-17 08:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409007 -2.749761)', '2026-07-17 08:00:24', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408975 -2.749835)'), GeomFromEWKT('SRID=4674;POINT (-40.409007 -2.749761)'))) / (select extract(epoch from '2026-07-17 08:00:24'::timestamp) - extract(epoch from '2026-07-17 08:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408975 -2.749835)'), GeomFromEWKT('SRID=4674;POINT (-40.409007 -2.749761)'))) / (select extract(epoch from '2026-07-17 08:00:24'::timestamp) - extract(epoch from '2026-07-17 08:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409035 -2.749686)', '2026-07-17 08:00:31', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409007 -2.749761)'), GeomFromEWKT('SRID=4674;POINT (-40.409035 -2.749686)'))) / (select extract(epoch from '2026-07-17 08:00:31'::timestamp) - extract(epoch from '2026-07-17 08:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409007 -2.749761)'), GeomFromEWKT('SRID=4674;POINT (-40.409035 -2.749686)'))) / (select extract(epoch from '2026-07-17 08:00:31'::timestamp) - extract(epoch from '2026-07-17 08:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40903 -2.749611)', '2026-07-17 08:00:38', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409035 -2.749686)'), GeomFromEWKT('SRID=4674;POINT (-40.40903 -2.749611)'))) / (select extract(epoch from '2026-07-17 08:00:38'::timestamp) - extract(epoch from '2026-07-17 08:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409035 -2.749686)'), GeomFromEWKT('SRID=4674;POINT (-40.40903 -2.749611)'))) / (select extract(epoch from '2026-07-17 08:00:38'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409012 -2.749533)', '2026-07-17 08:00:45', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40903 -2.749611)'), GeomFromEWKT('SRID=4674;POINT (-40.409012 -2.749533)'))) / (select extract(epoch from '2026-07-17 08:00:45'::timestamp) - extract(epoch from '2026-07-17 08:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40903 -2.749611)'), GeomFromEWKT('SRID=4674;POINT (-40.409012 -2.749533)'))) / (select extract(epoch from '2026-07-17 08:00:45'::timestamp) - extract(epoch from '2026-07-17 08:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40901 -2.749524)', '2026-07-17 08:00:46', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409012 -2.749533)'), GeomFromEWKT('SRID=4674;POINT (-40.40901 -2.749524)'))) / (select extract(epoch from '2026-07-17 08:00:46'::timestamp) - extract(epoch from '2026-07-17 08:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409012 -2.749533)'), GeomFromEWKT('SRID=4674;POINT (-40.40901 -2.749524)'))) / (select extract(epoch from '2026-07-17 08:00:46'::timestamp) - extract(epoch from '2026-07-17 08:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409007 -2.749505)', '2026-07-17 08:00:48', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40901 -2.749524)'), GeomFromEWKT('SRID=4674;POINT (-40.409007 -2.749505)'))) / (select extract(epoch from '2026-07-17 08:00:48'::timestamp) - extract(epoch from '2026-07-17 08:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40901 -2.749524)'), GeomFromEWKT('SRID=4674;POINT (-40.409007 -2.749505)'))) / (select extract(epoch from '2026-07-17 08:00:48'::timestamp) - extract(epoch from '2026-07-17 08:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409 -2.749494)', '2026-07-17 08:00:50', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409007 -2.749505)'), GeomFromEWKT('SRID=4674;POINT (-40.409 -2.749494)'))) / (select extract(epoch from '2026-07-17 08:00:50'::timestamp) - extract(epoch from '2026-07-17 08:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409007 -2.749505)'), GeomFromEWKT('SRID=4674;POINT (-40.409 -2.749494)'))) / (select extract(epoch from '2026-07-17 08:00:50'::timestamp) - extract(epoch from '2026-07-17 08:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408994 -2.749462)', '2026-07-17 08:00:53', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409 -2.749494)'), GeomFromEWKT('SRID=4674;POINT (-40.408994 -2.749462)'))) / (select extract(epoch from '2026-07-17 08:00:53'::timestamp) - extract(epoch from '2026-07-17 08:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409 -2.749494)'), GeomFromEWKT('SRID=4674;POINT (-40.408994 -2.749462)'))) / (select extract(epoch from '2026-07-17 08:00:53'::timestamp) - extract(epoch from '2026-07-17 08:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408954 -2.749413)', '2026-07-17 08:00:58', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408994 -2.749462)'), GeomFromEWKT('SRID=4674;POINT (-40.408954 -2.749413)'))) / (select extract(epoch from '2026-07-17 08:00:58'::timestamp) - extract(epoch from '2026-07-17 08:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408994 -2.749462)'), GeomFromEWKT('SRID=4674;POINT (-40.408954 -2.749413)'))) / (select extract(epoch from '2026-07-17 08:00:58'::timestamp) - extract(epoch from '2026-07-17 08:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408944 -2.749391)', '2026-07-17 08:01:00', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408954 -2.749413)'), GeomFromEWKT('SRID=4674;POINT (-40.408944 -2.749391)'))) / (select extract(epoch from '2026-07-17 08:01:00'::timestamp) - extract(epoch from '2026-07-17 08:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408954 -2.749413)'), GeomFromEWKT('SRID=4674;POINT (-40.408944 -2.749391)'))) / (select extract(epoch from '2026-07-17 08:01:00'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408931 -2.749317)', '2026-07-17 08:01:07', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408944 -2.749391)'), GeomFromEWKT('SRID=4674;POINT (-40.408931 -2.749317)'))) / (select extract(epoch from '2026-07-17 08:01:07'::timestamp) - extract(epoch from '2026-07-17 08:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408944 -2.749391)'), GeomFromEWKT('SRID=4674;POINT (-40.408931 -2.749317)'))) / (select extract(epoch from '2026-07-17 08:01:07'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408942 -2.749283)', '2026-07-17 08:01:11', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408931 -2.749317)'), GeomFromEWKT('SRID=4674;POINT (-40.408942 -2.749283)'))) / (select extract(epoch from '2026-07-17 08:01:11'::timestamp) - extract(epoch from '2026-07-17 08:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408931 -2.749317)'), GeomFromEWKT('SRID=4674;POINT (-40.408942 -2.749283)'))) / (select extract(epoch from '2026-07-17 08:01:11'::timestamp) - extract(epoch from '2026-07-17 08:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408948 -2.749268)', '2026-07-17 08:01:13', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408942 -2.749283)'), GeomFromEWKT('SRID=4674;POINT (-40.408948 -2.749268)'))) / (select extract(epoch from '2026-07-17 08:01:13'::timestamp) - extract(epoch from '2026-07-17 08:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408942 -2.749283)'), GeomFromEWKT('SRID=4674;POINT (-40.408948 -2.749268)'))) / (select extract(epoch from '2026-07-17 08:01:13'::timestamp) - extract(epoch from '2026-07-17 08:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408951 -2.749264)', '2026-07-17 08:01:14', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408948 -2.749268)'), GeomFromEWKT('SRID=4674;POINT (-40.408951 -2.749264)'))) / (select extract(epoch from '2026-07-17 08:01:14'::timestamp) - extract(epoch from '2026-07-17 08:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408948 -2.749268)'), GeomFromEWKT('SRID=4674;POINT (-40.408951 -2.749264)'))) / (select extract(epoch from '2026-07-17 08:01:14'::timestamp) - extract(epoch from '2026-07-17 08:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408957 -2.749193)', '2026-07-17 08:01:21', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408951 -2.749264)'), GeomFromEWKT('SRID=4674;POINT (-40.408957 -2.749193)'))) / (select extract(epoch from '2026-07-17 08:01:21'::timestamp) - extract(epoch from '2026-07-17 08:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408951 -2.749264)'), GeomFromEWKT('SRID=4674;POINT (-40.408957 -2.749193)'))) / (select extract(epoch from '2026-07-17 08:01:21'::timestamp) - extract(epoch from '2026-07-17 08:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408945 -2.74912)', '2026-07-17 08:01:28', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408957 -2.749193)'), GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.74912)'))) / (select extract(epoch from '2026-07-17 08:01:28'::timestamp) - extract(epoch from '2026-07-17 08:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408957 -2.749193)'), GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.74912)'))) / (select extract(epoch from '2026-07-17 08:01:28'::timestamp) - extract(epoch from '2026-07-17 08:01:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408926 -2.749016)', '2026-07-17 08:01:36', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.74912)'), GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.749016)'))) / (select extract(epoch from '2026-07-17 08:01:36'::timestamp) - extract(epoch from '2026-07-17 08:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.74912)'), GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.749016)'))) / (select extract(epoch from '2026-07-17 08:01:36'::timestamp) - extract(epoch from '2026-07-17 08:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408921 -2.749006)', '2026-07-17 08:01:37', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.749016)'), GeomFromEWKT('SRID=4674;POINT (-40.408921 -2.749006)'))) / (select extract(epoch from '2026-07-17 08:01:37'::timestamp) - extract(epoch from '2026-07-17 08:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408926 -2.749016)'), GeomFromEWKT('SRID=4674;POINT (-40.408921 -2.749006)'))) / (select extract(epoch from '2026-07-17 08:01:37'::timestamp) - extract(epoch from '2026-07-17 08:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408919 -2.748948)', '2026-07-17 08:01:42', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408921 -2.749006)'), GeomFromEWKT('SRID=4674;POINT (-40.408919 -2.748948)'))) / (select extract(epoch from '2026-07-17 08:01:42'::timestamp) - extract(epoch from '2026-07-17 08:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408921 -2.749006)'), GeomFromEWKT('SRID=4674;POINT (-40.408919 -2.748948)'))) / (select extract(epoch from '2026-07-17 08:01:42'::timestamp) - extract(epoch from '2026-07-17 08:01:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408945 -2.748858)', '2026-07-17 08:01:50', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408919 -2.748948)'), GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.748858)'))) / (select extract(epoch from '2026-07-17 08:01:50'::timestamp) - extract(epoch from '2026-07-17 08:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408919 -2.748948)'), GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.748858)'))) / (select extract(epoch from '2026-07-17 08:01:50'::timestamp) - extract(epoch from '2026-07-17 08:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408957 -2.748772)', '2026-07-17 08:01:57', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.748858)'), GeomFromEWKT('SRID=4674;POINT (-40.408957 -2.748772)'))) / (select extract(epoch from '2026-07-17 08:01:57'::timestamp) - extract(epoch from '2026-07-17 08:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.748858)'), GeomFromEWKT('SRID=4674;POINT (-40.408957 -2.748772)'))) / (select extract(epoch from '2026-07-17 08:01:57'::timestamp) - extract(epoch from '2026-07-17 08:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408945 -2.748673)', '2026-07-17 08:02:05', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408957 -2.748772)'), GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.748673)'))) / (select extract(epoch from '2026-07-17 08:02:05'::timestamp) - extract(epoch from '2026-07-17 08:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408957 -2.748772)'), GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.748673)'))) / (select extract(epoch from '2026-07-17 08:02:05'::timestamp) - extract(epoch from '2026-07-17 08:01:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408912 -2.748615)', '2026-07-17 08:02:11', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.748673)'), GeomFromEWKT('SRID=4674;POINT (-40.408912 -2.748615)'))) / (select extract(epoch from '2026-07-17 08:02:11'::timestamp) - extract(epoch from '2026-07-17 08:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408945 -2.748673)'), GeomFromEWKT('SRID=4674;POINT (-40.408912 -2.748615)'))) / (select extract(epoch from '2026-07-17 08:02:11'::timestamp) - extract(epoch from '2026-07-17 08:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408912 -2.748554)', '2026-07-17 08:02:17', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408912 -2.748615)'), GeomFromEWKT('SRID=4674;POINT (-40.408912 -2.748554)'))) / (select extract(epoch from '2026-07-17 08:02:17'::timestamp) - extract(epoch from '2026-07-17 08:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408912 -2.748615)'), GeomFromEWKT('SRID=4674;POINT (-40.408912 -2.748554)'))) / (select extract(epoch from '2026-07-17 08:02:17'::timestamp) - extract(epoch from '2026-07-17 08:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408966 -2.748459)', '2026-07-17 08:02:25', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408912 -2.748554)'), GeomFromEWKT('SRID=4674;POINT (-40.408966 -2.748459)'))) / (select extract(epoch from '2026-07-17 08:02:25'::timestamp) - extract(epoch from '2026-07-17 08:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408912 -2.748554)'), GeomFromEWKT('SRID=4674;POINT (-40.408966 -2.748459)'))) / (select extract(epoch from '2026-07-17 08:02:25'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408993 -2.748418)', '2026-07-17 08:02:29', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408966 -2.748459)'), GeomFromEWKT('SRID=4674;POINT (-40.408993 -2.748418)'))) / (select extract(epoch from '2026-07-17 08:02:29'::timestamp) - extract(epoch from '2026-07-17 08:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408966 -2.748459)'), GeomFromEWKT('SRID=4674;POINT (-40.408993 -2.748418)'))) / (select extract(epoch from '2026-07-17 08:02:29'::timestamp) - extract(epoch from '2026-07-17 08:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408997 -2.748401)', '2026-07-17 08:02:30', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408993 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.408997 -2.748401)'))) / (select extract(epoch from '2026-07-17 08:02:30'::timestamp) - extract(epoch from '2026-07-17 08:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408993 -2.748418)'), GeomFromEWKT('SRID=4674;POINT (-40.408997 -2.748401)'))) / (select extract(epoch from '2026-07-17 08:02:30'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409008 -2.748375)', '2026-07-17 08:02:33', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408997 -2.748401)'), GeomFromEWKT('SRID=4674;POINT (-40.409008 -2.748375)'))) / (select extract(epoch from '2026-07-17 08:02:33'::timestamp) - extract(epoch from '2026-07-17 08:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408997 -2.748401)'), GeomFromEWKT('SRID=4674;POINT (-40.409008 -2.748375)'))) / (select extract(epoch from '2026-07-17 08:02:33'::timestamp) - extract(epoch from '2026-07-17 08:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409012 -2.748343)', '2026-07-17 08:02:36', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409008 -2.748375)'), GeomFromEWKT('SRID=4674;POINT (-40.409012 -2.748343)'))) / (select extract(epoch from '2026-07-17 08:02:36'::timestamp) - extract(epoch from '2026-07-17 08:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409008 -2.748375)'), GeomFromEWKT('SRID=4674;POINT (-40.409012 -2.748343)'))) / (select extract(epoch from '2026-07-17 08:02:36'::timestamp) - extract(epoch from '2026-07-17 08:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408998 -2.748248)', '2026-07-17 08:02:43', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409012 -2.748343)'), GeomFromEWKT('SRID=4674;POINT (-40.408998 -2.748248)'))) / (select extract(epoch from '2026-07-17 08:02:43'::timestamp) - extract(epoch from '2026-07-17 08:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409012 -2.748343)'), GeomFromEWKT('SRID=4674;POINT (-40.408998 -2.748248)'))) / (select extract(epoch from '2026-07-17 08:02:43'::timestamp) - extract(epoch from '2026-07-17 08:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408952 -2.748201)', '2026-07-17 08:02:49', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408998 -2.748248)'), GeomFromEWKT('SRID=4674;POINT (-40.408952 -2.748201)'))) / (select extract(epoch from '2026-07-17 08:02:49'::timestamp) - extract(epoch from '2026-07-17 08:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408998 -2.748248)'), GeomFromEWKT('SRID=4674;POINT (-40.408952 -2.748201)'))) / (select extract(epoch from '2026-07-17 08:02:49'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408836 -2.748146)', '2026-07-17 08:02:57', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408952 -2.748201)'), GeomFromEWKT('SRID=4674;POINT (-40.408836 -2.748146)'))) / (select extract(epoch from '2026-07-17 08:02:57'::timestamp) - extract(epoch from '2026-07-17 08:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408952 -2.748201)'), GeomFromEWKT('SRID=4674;POINT (-40.408836 -2.748146)'))) / (select extract(epoch from '2026-07-17 08:02:57'::timestamp) - extract(epoch from '2026-07-17 08:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40871 -2.748116)', '2026-07-17 08:03:06', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408836 -2.748146)'), GeomFromEWKT('SRID=4674;POINT (-40.40871 -2.748116)'))) / (select extract(epoch from '2026-07-17 08:03:06'::timestamp) - extract(epoch from '2026-07-17 08:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408836 -2.748146)'), GeomFromEWKT('SRID=4674;POINT (-40.40871 -2.748116)'))) / (select extract(epoch from '2026-07-17 08:03:06'::timestamp) - extract(epoch from '2026-07-17 08:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408602 -2.748085)', '2026-07-17 08:03:13', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40871 -2.748116)'), GeomFromEWKT('SRID=4674;POINT (-40.408602 -2.748085)'))) / (select extract(epoch from '2026-07-17 08:03:13'::timestamp) - extract(epoch from '2026-07-17 08:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40871 -2.748116)'), GeomFromEWKT('SRID=4674;POINT (-40.408602 -2.748085)'))) / (select extract(epoch from '2026-07-17 08:03:13'::timestamp) - extract(epoch from '2026-07-17 08:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408501 -2.748028)', '2026-07-17 08:03:21', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408602 -2.748085)'), GeomFromEWKT('SRID=4674;POINT (-40.408501 -2.748028)'))) / (select extract(epoch from '2026-07-17 08:03:21'::timestamp) - extract(epoch from '2026-07-17 08:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408602 -2.748085)'), GeomFromEWKT('SRID=4674;POINT (-40.408501 -2.748028)'))) / (select extract(epoch from '2026-07-17 08:03:21'::timestamp) - extract(epoch from '2026-07-17 08:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408399 -2.74793)', '2026-07-17 08:03:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408501 -2.748028)'), GeomFromEWKT('SRID=4674;POINT (-40.408399 -2.74793)'))) / (select extract(epoch from '2026-07-17 08:03:31'::timestamp) - extract(epoch from '2026-07-17 08:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408501 -2.748028)'), GeomFromEWKT('SRID=4674;POINT (-40.408399 -2.74793)'))) / (select extract(epoch from '2026-07-17 08:03:31'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408314 -2.74781)', '2026-07-17 08:03:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408399 -2.74793)'), GeomFromEWKT('SRID=4674;POINT (-40.408314 -2.74781)'))) / (select extract(epoch from '2026-07-17 08:03:39'::timestamp) - extract(epoch from '2026-07-17 08:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408399 -2.74793)'), GeomFromEWKT('SRID=4674;POINT (-40.408314 -2.74781)'))) / (select extract(epoch from '2026-07-17 08:03:39'::timestamp) - extract(epoch from '2026-07-17 08:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408257 -2.747712)', '2026-07-17 08:03:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408314 -2.74781)'), GeomFromEWKT('SRID=4674;POINT (-40.408257 -2.747712)'))) / (select extract(epoch from '2026-07-17 08:03:47'::timestamp) - extract(epoch from '2026-07-17 08:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408314 -2.74781)'), GeomFromEWKT('SRID=4674;POINT (-40.408257 -2.747712)'))) / (select extract(epoch from '2026-07-17 08:03:47'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408235 -2.747623)', '2026-07-17 08:03:53', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408257 -2.747712)'), GeomFromEWKT('SRID=4674;POINT (-40.408235 -2.747623)'))) / (select extract(epoch from '2026-07-17 08:03:53'::timestamp) - extract(epoch from '2026-07-17 08:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408257 -2.747712)'), GeomFromEWKT('SRID=4674;POINT (-40.408235 -2.747623)'))) / (select extract(epoch from '2026-07-17 08:03:53'::timestamp) - extract(epoch from '2026-07-17 08:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408245 -2.747518)', '2026-07-17 08:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408235 -2.747623)'), GeomFromEWKT('SRID=4674;POINT (-40.408245 -2.747518)'))) / (select extract(epoch from '2026-07-17 08:04:00'::timestamp) - extract(epoch from '2026-07-17 08:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408235 -2.747623)'), GeomFromEWKT('SRID=4674;POINT (-40.408245 -2.747518)'))) / (select extract(epoch from '2026-07-17 08:04:00'::timestamp) - extract(epoch from '2026-07-17 08:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408238 -2.74739)', '2026-07-17 08:04:08', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408245 -2.747518)'), GeomFromEWKT('SRID=4674;POINT (-40.408238 -2.74739)'))) / (select extract(epoch from '2026-07-17 08:04:08'::timestamp) - extract(epoch from '2026-07-17 08:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408245 -2.747518)'), GeomFromEWKT('SRID=4674;POINT (-40.408238 -2.74739)'))) / (select extract(epoch from '2026-07-17 08:04:08'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408219 -2.747336)', '2026-07-17 08:04:15', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408238 -2.74739)'), GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.747336)'))) / (select extract(epoch from '2026-07-17 08:04:15'::timestamp) - extract(epoch from '2026-07-17 08:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408238 -2.74739)'), GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.747336)'))) / (select extract(epoch from '2026-07-17 08:04:15'::timestamp) - extract(epoch from '2026-07-17 08:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40819 -2.747325)', '2026-07-17 08:04:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.747336)'), GeomFromEWKT('SRID=4674;POINT (-40.40819 -2.747325)'))) / (select extract(epoch from '2026-07-17 08:04:22'::timestamp) - extract(epoch from '2026-07-17 08:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408219 -2.747336)'), GeomFromEWKT('SRID=4674;POINT (-40.40819 -2.747325)'))) / (select extract(epoch from '2026-07-17 08:04:22'::timestamp) - extract(epoch from '2026-07-17 08:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408137 -2.747289)', '2026-07-17 08:05:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40819 -2.747325)'), GeomFromEWKT('SRID=4674;POINT (-40.408137 -2.747289)'))) / (select extract(epoch from '2026-07-17 08:05:04'::timestamp) - extract(epoch from '2026-07-17 08:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40819 -2.747325)'), GeomFromEWKT('SRID=4674;POINT (-40.408137 -2.747289)'))) / (select extract(epoch from '2026-07-17 08:05:04'::timestamp) - extract(epoch from '2026-07-17 08:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408114 -2.747306)', '2026-07-17 08:05:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408137 -2.747289)'), GeomFromEWKT('SRID=4674;POINT (-40.408114 -2.747306)'))) / (select extract(epoch from '2026-07-17 08:05:15'::timestamp) - extract(epoch from '2026-07-17 08:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408137 -2.747289)'), GeomFromEWKT('SRID=4674;POINT (-40.408114 -2.747306)'))) / (select extract(epoch from '2026-07-17 08:05:15'::timestamp) - extract(epoch from '2026-07-17 08:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408155 -2.747354)', '2026-07-17 08:05:24', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408114 -2.747306)'), GeomFromEWKT('SRID=4674;POINT (-40.408155 -2.747354)'))) / (select extract(epoch from '2026-07-17 08:05:24'::timestamp) - extract(epoch from '2026-07-17 08:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408114 -2.747306)'), GeomFromEWKT('SRID=4674;POINT (-40.408155 -2.747354)'))) / (select extract(epoch from '2026-07-17 08:05:24'::timestamp) - extract(epoch from '2026-07-17 08:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408196 -2.747369)', '2026-07-17 08:05:29', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408155 -2.747354)'), GeomFromEWKT('SRID=4674;POINT (-40.408196 -2.747369)'))) / (select extract(epoch from '2026-07-17 08:05:29'::timestamp) - extract(epoch from '2026-07-17 08:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408155 -2.747354)'), GeomFromEWKT('SRID=4674;POINT (-40.408196 -2.747369)'))) / (select extract(epoch from '2026-07-17 08:05:29'::timestamp) - extract(epoch from '2026-07-17 08:05:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408216 -2.747381)', '2026-07-17 08:05:31', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408196 -2.747369)'), GeomFromEWKT('SRID=4674;POINT (-40.408216 -2.747381)'))) / (select extract(epoch from '2026-07-17 08:05:31'::timestamp) - extract(epoch from '2026-07-17 08:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408196 -2.747369)'), GeomFromEWKT('SRID=4674;POINT (-40.408216 -2.747381)'))) / (select extract(epoch from '2026-07-17 08:05:31'::timestamp) - extract(epoch from '2026-07-17 08:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408239 -2.747387)', '2026-07-17 08:05:33', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408216 -2.747381)'), GeomFromEWKT('SRID=4674;POINT (-40.408239 -2.747387)'))) / (select extract(epoch from '2026-07-17 08:05:33'::timestamp) - extract(epoch from '2026-07-17 08:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408216 -2.747381)'), GeomFromEWKT('SRID=4674;POINT (-40.408239 -2.747387)'))) / (select extract(epoch from '2026-07-17 08:05:33'::timestamp) - extract(epoch from '2026-07-17 08:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408288 -2.747387)', '2026-07-17 08:05:37', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408239 -2.747387)'), GeomFromEWKT('SRID=4674;POINT (-40.408288 -2.747387)'))) / (select extract(epoch from '2026-07-17 08:05:37'::timestamp) - extract(epoch from '2026-07-17 08:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408239 -2.747387)'), GeomFromEWKT('SRID=4674;POINT (-40.408288 -2.747387)'))) / (select extract(epoch from '2026-07-17 08:05:37'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408372 -2.747391)', '2026-07-17 08:05:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408288 -2.747387)'), GeomFromEWKT('SRID=4674;POINT (-40.408372 -2.747391)'))) / (select extract(epoch from '2026-07-17 08:05:44'::timestamp) - extract(epoch from '2026-07-17 08:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408288 -2.747387)'), GeomFromEWKT('SRID=4674;POINT (-40.408372 -2.747391)'))) / (select extract(epoch from '2026-07-17 08:05:44'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408434 -2.747398)', '2026-07-17 08:05:51', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408372 -2.747391)'), GeomFromEWKT('SRID=4674;POINT (-40.408434 -2.747398)'))) / (select extract(epoch from '2026-07-17 08:05:51'::timestamp) - extract(epoch from '2026-07-17 08:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408372 -2.747391)'), GeomFromEWKT('SRID=4674;POINT (-40.408434 -2.747398)'))) / (select extract(epoch from '2026-07-17 08:05:51'::timestamp) - extract(epoch from '2026-07-17 08:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40848 -2.74739)', '2026-07-17 08:05:58', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408434 -2.747398)'), GeomFromEWKT('SRID=4674;POINT (-40.40848 -2.74739)'))) / (select extract(epoch from '2026-07-17 08:05:58'::timestamp) - extract(epoch from '2026-07-17 08:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408434 -2.747398)'), GeomFromEWKT('SRID=4674;POINT (-40.40848 -2.74739)'))) / (select extract(epoch from '2026-07-17 08:05:58'::timestamp) - extract(epoch from '2026-07-17 08:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40854 -2.747387)', '2026-07-17 08:06:07', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40848 -2.74739)'), GeomFromEWKT('SRID=4674;POINT (-40.40854 -2.747387)'))) / (select extract(epoch from '2026-07-17 08:06:07'::timestamp) - extract(epoch from '2026-07-17 08:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40848 -2.74739)'), GeomFromEWKT('SRID=4674;POINT (-40.40854 -2.747387)'))) / (select extract(epoch from '2026-07-17 08:06:07'::timestamp) - extract(epoch from '2026-07-17 08:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408598 -2.747387)', '2026-07-17 08:06:15', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40854 -2.747387)'), GeomFromEWKT('SRID=4674;POINT (-40.408598 -2.747387)'))) / (select extract(epoch from '2026-07-17 08:06:15'::timestamp) - extract(epoch from '2026-07-17 08:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40854 -2.747387)'), GeomFromEWKT('SRID=4674;POINT (-40.408598 -2.747387)'))) / (select extract(epoch from '2026-07-17 08:06:15'::timestamp) - extract(epoch from '2026-07-17 08:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408672 -2.747374)', '2026-07-17 08:06:25', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408598 -2.747387)'), GeomFromEWKT('SRID=4674;POINT (-40.408672 -2.747374)'))) / (select extract(epoch from '2026-07-17 08:06:25'::timestamp) - extract(epoch from '2026-07-17 08:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408598 -2.747387)'), GeomFromEWKT('SRID=4674;POINT (-40.408672 -2.747374)'))) / (select extract(epoch from '2026-07-17 08:06:25'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408724 -2.747359)', '2026-07-17 08:06:34', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408672 -2.747374)'), GeomFromEWKT('SRID=4674;POINT (-40.408724 -2.747359)'))) / (select extract(epoch from '2026-07-17 08:06:34'::timestamp) - extract(epoch from '2026-07-17 08:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408672 -2.747374)'), GeomFromEWKT('SRID=4674;POINT (-40.408724 -2.747359)'))) / (select extract(epoch from '2026-07-17 08:06:34'::timestamp) - extract(epoch from '2026-07-17 08:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408769 -2.74733)', '2026-07-17 08:06:42', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408724 -2.747359)'), GeomFromEWKT('SRID=4674;POINT (-40.408769 -2.74733)'))) / (select extract(epoch from '2026-07-17 08:06:42'::timestamp) - extract(epoch from '2026-07-17 08:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408724 -2.747359)'), GeomFromEWKT('SRID=4674;POINT (-40.408769 -2.74733)'))) / (select extract(epoch from '2026-07-17 08:06:42'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.408779 -2.74731)', '2026-07-17 08:06:52', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408769 -2.74733)'), GeomFromEWKT('SRID=4674;POINT (-40.408779 -2.74731)'))) / (select extract(epoch from '2026-07-17 08:06:52'::timestamp) - extract(epoch from '2026-07-17 08:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408769 -2.74733)'), GeomFromEWKT('SRID=4674;POINT (-40.408779 -2.74731)'))) / (select extract(epoch from '2026-07-17 08:06:52'::timestamp) - extract(epoch from '2026-07-17 08:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40883 -2.747305)', '2026-07-17 08:07:01', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408779 -2.74731)'), GeomFromEWKT('SRID=4674;POINT (-40.40883 -2.747305)'))) / (select extract(epoch from '2026-07-17 08:07:01'::timestamp) - extract(epoch from '2026-07-17 08:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408779 -2.74731)'), GeomFromEWKT('SRID=4674;POINT (-40.40883 -2.747305)'))) / (select extract(epoch from '2026-07-17 08:07:01'::timestamp) - extract(epoch from '2026-07-17 08:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408856 -2.747303)', '2026-07-17 08:07:07', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40883 -2.747305)'), GeomFromEWKT('SRID=4674;POINT (-40.408856 -2.747303)'))) / (select extract(epoch from '2026-07-17 08:07:07'::timestamp) - extract(epoch from '2026-07-17 08:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40883 -2.747305)'), GeomFromEWKT('SRID=4674;POINT (-40.408856 -2.747303)'))) / (select extract(epoch from '2026-07-17 08:07:07'::timestamp) - extract(epoch from '2026-07-17 08:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408886 -2.747298)', '2026-07-17 08:07:17', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408856 -2.747303)'), GeomFromEWKT('SRID=4674;POINT (-40.408886 -2.747298)'))) / (select extract(epoch from '2026-07-17 08:07:17'::timestamp) - extract(epoch from '2026-07-17 08:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408856 -2.747303)'), GeomFromEWKT('SRID=4674;POINT (-40.408886 -2.747298)'))) / (select extract(epoch from '2026-07-17 08:07:17'::timestamp) - extract(epoch from '2026-07-17 08:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.408963 -2.747327)', '2026-07-17 08:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408886 -2.747298)'), GeomFromEWKT('SRID=4674;POINT (-40.408963 -2.747327)'))) / (select extract(epoch from '2026-07-17 08:07:32'::timestamp) - extract(epoch from '2026-07-17 08:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408886 -2.747298)'), GeomFromEWKT('SRID=4674;POINT (-40.408963 -2.747327)'))) / (select extract(epoch from '2026-07-17 08:07:32'::timestamp) - extract(epoch from '2026-07-17 08:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409027 -2.74735)', '2026-07-17 08:07:39', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408963 -2.747327)'), GeomFromEWKT('SRID=4674;POINT (-40.409027 -2.74735)'))) / (select extract(epoch from '2026-07-17 08:07:39'::timestamp) - extract(epoch from '2026-07-17 08:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408963 -2.747327)'), GeomFromEWKT('SRID=4674;POINT (-40.409027 -2.74735)'))) / (select extract(epoch from '2026-07-17 08:07:39'::timestamp) - extract(epoch from '2026-07-17 08:07:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40909 -2.747382)', '2026-07-17 08:07:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409027 -2.74735)'), GeomFromEWKT('SRID=4674;POINT (-40.40909 -2.747382)'))) / (select extract(epoch from '2026-07-17 08:07:46'::timestamp) - extract(epoch from '2026-07-17 08:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409027 -2.74735)'), GeomFromEWKT('SRID=4674;POINT (-40.40909 -2.747382)'))) / (select extract(epoch from '2026-07-17 08:07:46'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409154 -2.74736)', '2026-07-17 08:07:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40909 -2.747382)'), GeomFromEWKT('SRID=4674;POINT (-40.409154 -2.74736)'))) / (select extract(epoch from '2026-07-17 08:07:55'::timestamp) - extract(epoch from '2026-07-17 08:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40909 -2.747382)'), GeomFromEWKT('SRID=4674;POINT (-40.409154 -2.74736)'))) / (select extract(epoch from '2026-07-17 08:07:55'::timestamp) - extract(epoch from '2026-07-17 08:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409217 -2.747347)', '2026-07-17 08:08:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409154 -2.74736)'), GeomFromEWKT('SRID=4674;POINT (-40.409217 -2.747347)'))) / (select extract(epoch from '2026-07-17 08:08:02'::timestamp) - extract(epoch from '2026-07-17 08:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409154 -2.74736)'), GeomFromEWKT('SRID=4674;POINT (-40.409217 -2.747347)'))) / (select extract(epoch from '2026-07-17 08:08:02'::timestamp) - extract(epoch from '2026-07-17 08:07:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.4093 -2.747346)', '2026-07-17 08:08:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409217 -2.747347)'), GeomFromEWKT('SRID=4674;POINT (-40.4093 -2.747346)'))) / (select extract(epoch from '2026-07-17 08:08:11'::timestamp) - extract(epoch from '2026-07-17 08:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409217 -2.747347)'), GeomFromEWKT('SRID=4674;POINT (-40.4093 -2.747346)'))) / (select extract(epoch from '2026-07-17 08:08:11'::timestamp) - extract(epoch from '2026-07-17 08:08:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409351 -2.747322)', '2026-07-17 08:08:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4093 -2.747346)'), GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.747322)'))) / (select extract(epoch from '2026-07-17 08:08:18'::timestamp) - extract(epoch from '2026-07-17 08:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4093 -2.747346)'), GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.747322)'))) / (select extract(epoch from '2026-07-17 08:08:18'::timestamp) - extract(epoch from '2026-07-17 08:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409401 -2.747311)', '2026-07-17 08:08:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.747322)'), GeomFromEWKT('SRID=4674;POINT (-40.409401 -2.747311)'))) / (select extract(epoch from '2026-07-17 08:08:27'::timestamp) - extract(epoch from '2026-07-17 08:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409351 -2.747322)'), GeomFromEWKT('SRID=4674;POINT (-40.409401 -2.747311)'))) / (select extract(epoch from '2026-07-17 08:08:27'::timestamp) - extract(epoch from '2026-07-17 08:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409451 -2.747329)', '2026-07-17 08:08:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409401 -2.747311)'), GeomFromEWKT('SRID=4674;POINT (-40.409451 -2.747329)'))) / (select extract(epoch from '2026-07-17 08:08:35'::timestamp) - extract(epoch from '2026-07-17 08:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409401 -2.747311)'), GeomFromEWKT('SRID=4674;POINT (-40.409451 -2.747329)'))) / (select extract(epoch from '2026-07-17 08:08:35'::timestamp) - extract(epoch from '2026-07-17 08:08:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409509 -2.747328)', '2026-07-17 08:08:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409451 -2.747329)'), GeomFromEWKT('SRID=4674;POINT (-40.409509 -2.747328)'))) / (select extract(epoch from '2026-07-17 08:08:41'::timestamp) - extract(epoch from '2026-07-17 08:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409451 -2.747329)'), GeomFromEWKT('SRID=4674;POINT (-40.409509 -2.747328)'))) / (select extract(epoch from '2026-07-17 08:08:41'::timestamp) - extract(epoch from '2026-07-17 08:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40954 -2.747292)', '2026-07-17 08:08:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409509 -2.747328)'), GeomFromEWKT('SRID=4674;POINT (-40.40954 -2.747292)'))) / (select extract(epoch from '2026-07-17 08:08:46'::timestamp) - extract(epoch from '2026-07-17 08:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409509 -2.747328)'), GeomFromEWKT('SRID=4674;POINT (-40.40954 -2.747292)'))) / (select extract(epoch from '2026-07-17 08:08:46'::timestamp) - extract(epoch from '2026-07-17 08:08:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409542 -2.747279)', '2026-07-17 08:08:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40954 -2.747292)'), GeomFromEWKT('SRID=4674;POINT (-40.409542 -2.747279)'))) / (select extract(epoch from '2026-07-17 08:08:47'::timestamp) - extract(epoch from '2026-07-17 08:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40954 -2.747292)'), GeomFromEWKT('SRID=4674;POINT (-40.409542 -2.747279)'))) / (select extract(epoch from '2026-07-17 08:08:47'::timestamp) - extract(epoch from '2026-07-17 08:08:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409519 -2.747196)', '2026-07-17 08:08:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409542 -2.747279)'), GeomFromEWKT('SRID=4674;POINT (-40.409519 -2.747196)'))) / (select extract(epoch from '2026-07-17 08:08:54'::timestamp) - extract(epoch from '2026-07-17 08:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409542 -2.747279)'), GeomFromEWKT('SRID=4674;POINT (-40.409519 -2.747196)'))) / (select extract(epoch from '2026-07-17 08:08:54'::timestamp) - extract(epoch from '2026-07-17 08:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409449 -2.747124)', '2026-07-17 08:09:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409519 -2.747196)'), GeomFromEWKT('SRID=4674;POINT (-40.409449 -2.747124)'))) / (select extract(epoch from '2026-07-17 08:09:03'::timestamp) - extract(epoch from '2026-07-17 08:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409519 -2.747196)'), GeomFromEWKT('SRID=4674;POINT (-40.409449 -2.747124)'))) / (select extract(epoch from '2026-07-17 08:09:03'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409376 -2.747114)', '2026-07-17 08:09:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409449 -2.747124)'), GeomFromEWKT('SRID=4674;POINT (-40.409376 -2.747114)'))) / (select extract(epoch from '2026-07-17 08:09:10'::timestamp) - extract(epoch from '2026-07-17 08:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409449 -2.747124)'), GeomFromEWKT('SRID=4674;POINT (-40.409376 -2.747114)'))) / (select extract(epoch from '2026-07-17 08:09:10'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409302 -2.747133)', '2026-07-17 08:09:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409376 -2.747114)'), GeomFromEWKT('SRID=4674;POINT (-40.409302 -2.747133)'))) / (select extract(epoch from '2026-07-17 08:09:17'::timestamp) - extract(epoch from '2026-07-17 08:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409376 -2.747114)'), GeomFromEWKT('SRID=4674;POINT (-40.409302 -2.747133)'))) / (select extract(epoch from '2026-07-17 08:09:17'::timestamp) - extract(epoch from '2026-07-17 08:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409231 -2.747155)', '2026-07-17 08:09:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409302 -2.747133)'), GeomFromEWKT('SRID=4674;POINT (-40.409231 -2.747155)'))) / (select extract(epoch from '2026-07-17 08:09:25'::timestamp) - extract(epoch from '2026-07-17 08:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409302 -2.747133)'), GeomFromEWKT('SRID=4674;POINT (-40.409231 -2.747155)'))) / (select extract(epoch from '2026-07-17 08:09:25'::timestamp) - extract(epoch from '2026-07-17 08:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409231 -2.747123)', '2026-07-17 08:09:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409231 -2.747155)'), GeomFromEWKT('SRID=4674;POINT (-40.409231 -2.747123)'))) / (select extract(epoch from '2026-07-17 08:09:53'::timestamp) - extract(epoch from '2026-07-17 08:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409231 -2.747155)'), GeomFromEWKT('SRID=4674;POINT (-40.409231 -2.747123)'))) / (select extract(epoch from '2026-07-17 08:09:53'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409236 -2.747096)', '2026-07-17 08:09:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409231 -2.747123)'), GeomFromEWKT('SRID=4674;POINT (-40.409236 -2.747096)'))) / (select extract(epoch from '2026-07-17 08:09:58'::timestamp) - extract(epoch from '2026-07-17 08:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409231 -2.747123)'), GeomFromEWKT('SRID=4674;POINT (-40.409236 -2.747096)'))) / (select extract(epoch from '2026-07-17 08:09:58'::timestamp) - extract(epoch from '2026-07-17 08:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409268 -2.747062)', '2026-07-17 08:10:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409236 -2.747096)'), GeomFromEWKT('SRID=4674;POINT (-40.409268 -2.747062)'))) / (select extract(epoch from '2026-07-17 08:10:07'::timestamp) - extract(epoch from '2026-07-17 08:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409236 -2.747096)'), GeomFromEWKT('SRID=4674;POINT (-40.409268 -2.747062)'))) / (select extract(epoch from '2026-07-17 08:10:07'::timestamp) - extract(epoch from '2026-07-17 08:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409274 -2.747056)', '2026-07-17 08:10:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409268 -2.747062)'), GeomFromEWKT('SRID=4674;POINT (-40.409274 -2.747056)'))) / (select extract(epoch from '2026-07-17 08:10:16'::timestamp) - extract(epoch from '2026-07-17 08:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409268 -2.747062)'), GeomFromEWKT('SRID=4674;POINT (-40.409274 -2.747056)'))) / (select extract(epoch from '2026-07-17 08:10:16'::timestamp) - extract(epoch from '2026-07-17 08:10:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409294 -2.747035)', '2026-07-17 08:10:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409274 -2.747056)'), GeomFromEWKT('SRID=4674;POINT (-40.409294 -2.747035)'))) / (select extract(epoch from '2026-07-17 08:10:22'::timestamp) - extract(epoch from '2026-07-17 08:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409274 -2.747056)'), GeomFromEWKT('SRID=4674;POINT (-40.409294 -2.747035)'))) / (select extract(epoch from '2026-07-17 08:10:22'::timestamp) - extract(epoch from '2026-07-17 08:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409316 -2.747024)', '2026-07-17 08:10:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409294 -2.747035)'), GeomFromEWKT('SRID=4674;POINT (-40.409316 -2.747024)'))) / (select extract(epoch from '2026-07-17 08:10:32'::timestamp) - extract(epoch from '2026-07-17 08:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409294 -2.747035)'), GeomFromEWKT('SRID=4674;POINT (-40.409316 -2.747024)'))) / (select extract(epoch from '2026-07-17 08:10:32'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409329 -2.747022)', '2026-07-17 08:10:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409316 -2.747024)'), GeomFromEWKT('SRID=4674;POINT (-40.409329 -2.747022)'))) / (select extract(epoch from '2026-07-17 08:10:39'::timestamp) - extract(epoch from '2026-07-17 08:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409316 -2.747024)'), GeomFromEWKT('SRID=4674;POINT (-40.409329 -2.747022)'))) / (select extract(epoch from '2026-07-17 08:10:39'::timestamp) - extract(epoch from '2026-07-17 08:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409354 -2.746973)', '2026-07-17 08:10:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409329 -2.747022)'), GeomFromEWKT('SRID=4674;POINT (-40.409354 -2.746973)'))) / (select extract(epoch from '2026-07-17 08:10:58'::timestamp) - extract(epoch from '2026-07-17 08:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409329 -2.747022)'), GeomFromEWKT('SRID=4674;POINT (-40.409354 -2.746973)'))) / (select extract(epoch from '2026-07-17 08:10:58'::timestamp) - extract(epoch from '2026-07-17 08:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409354 -2.746936)', '2026-07-17 08:11:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409354 -2.746973)'), GeomFromEWKT('SRID=4674;POINT (-40.409354 -2.746936)'))) / (select extract(epoch from '2026-07-17 08:11:02'::timestamp) - extract(epoch from '2026-07-17 08:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409354 -2.746973)'), GeomFromEWKT('SRID=4674;POINT (-40.409354 -2.746936)'))) / (select extract(epoch from '2026-07-17 08:11:02'::timestamp) - extract(epoch from '2026-07-17 08:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409356 -2.746917)', '2026-07-17 08:11:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409354 -2.746936)'), GeomFromEWKT('SRID=4674;POINT (-40.409356 -2.746917)'))) / (select extract(epoch from '2026-07-17 08:11:04'::timestamp) - extract(epoch from '2026-07-17 08:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409354 -2.746936)'), GeomFromEWKT('SRID=4674;POINT (-40.409356 -2.746917)'))) / (select extract(epoch from '2026-07-17 08:11:04'::timestamp) - extract(epoch from '2026-07-17 08:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409359 -2.746905)', '2026-07-17 08:11:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409356 -2.746917)'), GeomFromEWKT('SRID=4674;POINT (-40.409359 -2.746905)'))) / (select extract(epoch from '2026-07-17 08:11:05'::timestamp) - extract(epoch from '2026-07-17 08:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409356 -2.746917)'), GeomFromEWKT('SRID=4674;POINT (-40.409359 -2.746905)'))) / (select extract(epoch from '2026-07-17 08:11:05'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409371 -2.746822)', '2026-07-17 08:11:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409359 -2.746905)'), GeomFromEWKT('SRID=4674;POINT (-40.409371 -2.746822)'))) / (select extract(epoch from '2026-07-17 08:11:13'::timestamp) - extract(epoch from '2026-07-17 08:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409359 -2.746905)'), GeomFromEWKT('SRID=4674;POINT (-40.409371 -2.746822)'))) / (select extract(epoch from '2026-07-17 08:11:13'::timestamp) - extract(epoch from '2026-07-17 08:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409396 -2.746736)', '2026-07-17 08:11:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409371 -2.746822)'), GeomFromEWKT('SRID=4674;POINT (-40.409396 -2.746736)'))) / (select extract(epoch from '2026-07-17 08:11:22'::timestamp) - extract(epoch from '2026-07-17 08:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409371 -2.746822)'), GeomFromEWKT('SRID=4674;POINT (-40.409396 -2.746736)'))) / (select extract(epoch from '2026-07-17 08:11:22'::timestamp) - extract(epoch from '2026-07-17 08:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409391 -2.746648)', '2026-07-17 08:11:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409396 -2.746736)'), GeomFromEWKT('SRID=4674;POINT (-40.409391 -2.746648)'))) / (select extract(epoch from '2026-07-17 08:11:30'::timestamp) - extract(epoch from '2026-07-17 08:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409396 -2.746736)'), GeomFromEWKT('SRID=4674;POINT (-40.409391 -2.746648)'))) / (select extract(epoch from '2026-07-17 08:11:30'::timestamp) - extract(epoch from '2026-07-17 08:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409413 -2.746583)', '2026-07-17 08:11:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409391 -2.746648)'), GeomFromEWKT('SRID=4674;POINT (-40.409413 -2.746583)'))) / (select extract(epoch from '2026-07-17 08:11:37'::timestamp) - extract(epoch from '2026-07-17 08:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409391 -2.746648)'), GeomFromEWKT('SRID=4674;POINT (-40.409413 -2.746583)'))) / (select extract(epoch from '2026-07-17 08:11:37'::timestamp) - extract(epoch from '2026-07-17 08:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409461 -2.746511)', '2026-07-17 08:11:44', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409413 -2.746583)'), GeomFromEWKT('SRID=4674;POINT (-40.409461 -2.746511)'))) / (select extract(epoch from '2026-07-17 08:11:44'::timestamp) - extract(epoch from '2026-07-17 08:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409413 -2.746583)'), GeomFromEWKT('SRID=4674;POINT (-40.409461 -2.746511)'))) / (select extract(epoch from '2026-07-17 08:11:44'::timestamp) - extract(epoch from '2026-07-17 08:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409499 -2.746405)', '2026-07-17 08:11:51', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409461 -2.746511)'), GeomFromEWKT('SRID=4674;POINT (-40.409499 -2.746405)'))) / (select extract(epoch from '2026-07-17 08:11:51'::timestamp) - extract(epoch from '2026-07-17 08:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409461 -2.746511)'), GeomFromEWKT('SRID=4674;POINT (-40.409499 -2.746405)'))) / (select extract(epoch from '2026-07-17 08:11:51'::timestamp) - extract(epoch from '2026-07-17 08:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40951 -2.746332)', '2026-07-17 08:11:58', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409499 -2.746405)'), GeomFromEWKT('SRID=4674;POINT (-40.40951 -2.746332)'))) / (select extract(epoch from '2026-07-17 08:11:58'::timestamp) - extract(epoch from '2026-07-17 08:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409499 -2.746405)'), GeomFromEWKT('SRID=4674;POINT (-40.40951 -2.746332)'))) / (select extract(epoch from '2026-07-17 08:11:58'::timestamp) - extract(epoch from '2026-07-17 08:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409507 -2.746264)', '2026-07-17 08:12:05', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40951 -2.746332)'), GeomFromEWKT('SRID=4674;POINT (-40.409507 -2.746264)'))) / (select extract(epoch from '2026-07-17 08:12:05'::timestamp) - extract(epoch from '2026-07-17 08:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40951 -2.746332)'), GeomFromEWKT('SRID=4674;POINT (-40.409507 -2.746264)'))) / (select extract(epoch from '2026-07-17 08:12:05'::timestamp) - extract(epoch from '2026-07-17 08:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409517 -2.746168)', '2026-07-17 08:12:12', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409507 -2.746264)'), GeomFromEWKT('SRID=4674;POINT (-40.409517 -2.746168)'))) / (select extract(epoch from '2026-07-17 08:12:12'::timestamp) - extract(epoch from '2026-07-17 08:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409507 -2.746264)'), GeomFromEWKT('SRID=4674;POINT (-40.409517 -2.746168)'))) / (select extract(epoch from '2026-07-17 08:12:12'::timestamp) - extract(epoch from '2026-07-17 08:12:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409518 -2.746144)', '2026-07-17 08:12:15', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409517 -2.746168)'), GeomFromEWKT('SRID=4674;POINT (-40.409518 -2.746144)'))) / (select extract(epoch from '2026-07-17 08:12:15'::timestamp) - extract(epoch from '2026-07-17 08:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409517 -2.746168)'), GeomFromEWKT('SRID=4674;POINT (-40.409518 -2.746144)'))) / (select extract(epoch from '2026-07-17 08:12:15'::timestamp) - extract(epoch from '2026-07-17 08:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409522 -2.746111)', '2026-07-17 08:12:19', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409518 -2.746144)'), GeomFromEWKT('SRID=4674;POINT (-40.409522 -2.746111)'))) / (select extract(epoch from '2026-07-17 08:12:19'::timestamp) - extract(epoch from '2026-07-17 08:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409518 -2.746144)'), GeomFromEWKT('SRID=4674;POINT (-40.409522 -2.746111)'))) / (select extract(epoch from '2026-07-17 08:12:19'::timestamp) - extract(epoch from '2026-07-17 08:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40953 -2.746042)', '2026-07-17 08:12:28', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409522 -2.746111)'), GeomFromEWKT('SRID=4674;POINT (-40.40953 -2.746042)'))) / (select extract(epoch from '2026-07-17 08:12:28'::timestamp) - extract(epoch from '2026-07-17 08:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409522 -2.746111)'), GeomFromEWKT('SRID=4674;POINT (-40.40953 -2.746042)'))) / (select extract(epoch from '2026-07-17 08:12:28'::timestamp) - extract(epoch from '2026-07-17 08:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409554 -2.745991)', '2026-07-17 08:12:36', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40953 -2.746042)'), GeomFromEWKT('SRID=4674;POINT (-40.409554 -2.745991)'))) / (select extract(epoch from '2026-07-17 08:12:36'::timestamp) - extract(epoch from '2026-07-17 08:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40953 -2.746042)'), GeomFromEWKT('SRID=4674;POINT (-40.409554 -2.745991)'))) / (select extract(epoch from '2026-07-17 08:12:36'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409562 -2.745965)', '2026-07-17 08:12:39', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409554 -2.745991)'), GeomFromEWKT('SRID=4674;POINT (-40.409562 -2.745965)'))) / (select extract(epoch from '2026-07-17 08:12:39'::timestamp) - extract(epoch from '2026-07-17 08:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409554 -2.745991)'), GeomFromEWKT('SRID=4674;POINT (-40.409562 -2.745965)'))) / (select extract(epoch from '2026-07-17 08:12:39'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409574 -2.74593)', '2026-07-17 08:12:42', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409562 -2.745965)'), GeomFromEWKT('SRID=4674;POINT (-40.409574 -2.74593)'))) / (select extract(epoch from '2026-07-17 08:12:42'::timestamp) - extract(epoch from '2026-07-17 08:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409562 -2.745965)'), GeomFromEWKT('SRID=4674;POINT (-40.409574 -2.74593)'))) / (select extract(epoch from '2026-07-17 08:12:42'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.4096 -2.745844)', '2026-07-17 08:12:50', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409574 -2.74593)'), GeomFromEWKT('SRID=4674;POINT (-40.4096 -2.745844)'))) / (select extract(epoch from '2026-07-17 08:12:50'::timestamp) - extract(epoch from '2026-07-17 08:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409574 -2.74593)'), GeomFromEWKT('SRID=4674;POINT (-40.4096 -2.745844)'))) / (select extract(epoch from '2026-07-17 08:12:50'::timestamp) - extract(epoch from '2026-07-17 08:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409604 -2.745784)', '2026-07-17 08:12:57', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4096 -2.745844)'), GeomFromEWKT('SRID=4674;POINT (-40.409604 -2.745784)'))) / (select extract(epoch from '2026-07-17 08:12:57'::timestamp) - extract(epoch from '2026-07-17 08:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4096 -2.745844)'), GeomFromEWKT('SRID=4674;POINT (-40.409604 -2.745784)'))) / (select extract(epoch from '2026-07-17 08:12:57'::timestamp) - extract(epoch from '2026-07-17 08:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409591 -2.74573)', '2026-07-17 08:13:05', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409604 -2.745784)'), GeomFromEWKT('SRID=4674;POINT (-40.409591 -2.74573)'))) / (select extract(epoch from '2026-07-17 08:13:05'::timestamp) - extract(epoch from '2026-07-17 08:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409604 -2.745784)'), GeomFromEWKT('SRID=4674;POINT (-40.409591 -2.74573)'))) / (select extract(epoch from '2026-07-17 08:13:05'::timestamp) - extract(epoch from '2026-07-17 08:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409565 -2.745715)', '2026-07-17 08:13:12', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409591 -2.74573)'), GeomFromEWKT('SRID=4674;POINT (-40.409565 -2.745715)'))) / (select extract(epoch from '2026-07-17 08:13:12'::timestamp) - extract(epoch from '2026-07-17 08:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409591 -2.74573)'), GeomFromEWKT('SRID=4674;POINT (-40.409565 -2.745715)'))) / (select extract(epoch from '2026-07-17 08:13:12'::timestamp) - extract(epoch from '2026-07-17 08:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409523 -2.745709)', '2026-07-17 08:13:20', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409565 -2.745715)'), GeomFromEWKT('SRID=4674;POINT (-40.409523 -2.745709)'))) / (select extract(epoch from '2026-07-17 08:13:20'::timestamp) - extract(epoch from '2026-07-17 08:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409565 -2.745715)'), GeomFromEWKT('SRID=4674;POINT (-40.409523 -2.745709)'))) / (select extract(epoch from '2026-07-17 08:13:20'::timestamp) - extract(epoch from '2026-07-17 08:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409512 -2.745726)', '2026-07-17 08:13:26', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409523 -2.745709)'), GeomFromEWKT('SRID=4674;POINT (-40.409512 -2.745726)'))) / (select extract(epoch from '2026-07-17 08:13:26'::timestamp) - extract(epoch from '2026-07-17 08:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409523 -2.745709)'), GeomFromEWKT('SRID=4674;POINT (-40.409512 -2.745726)'))) / (select extract(epoch from '2026-07-17 08:13:26'::timestamp) - extract(epoch from '2026-07-17 08:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409489 -2.745743)', '2026-07-17 08:13:32', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409512 -2.745726)'), GeomFromEWKT('SRID=4674;POINT (-40.409489 -2.745743)'))) / (select extract(epoch from '2026-07-17 08:13:32'::timestamp) - extract(epoch from '2026-07-17 08:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409512 -2.745726)'), GeomFromEWKT('SRID=4674;POINT (-40.409489 -2.745743)'))) / (select extract(epoch from '2026-07-17 08:13:32'::timestamp) - extract(epoch from '2026-07-17 08:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409477 -2.745776)', '2026-07-17 08:13:39', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409489 -2.745743)'), GeomFromEWKT('SRID=4674;POINT (-40.409477 -2.745776)'))) / (select extract(epoch from '2026-07-17 08:13:39'::timestamp) - extract(epoch from '2026-07-17 08:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409489 -2.745743)'), GeomFromEWKT('SRID=4674;POINT (-40.409477 -2.745776)'))) / (select extract(epoch from '2026-07-17 08:13:39'::timestamp) - extract(epoch from '2026-07-17 08:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409528 -2.745811)', '2026-07-17 08:13:47', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409477 -2.745776)'), GeomFromEWKT('SRID=4674;POINT (-40.409528 -2.745811)'))) / (select extract(epoch from '2026-07-17 08:13:47'::timestamp) - extract(epoch from '2026-07-17 08:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409477 -2.745776)'), GeomFromEWKT('SRID=4674;POINT (-40.409528 -2.745811)'))) / (select extract(epoch from '2026-07-17 08:13:47'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409587 -2.74583)', '2026-07-17 08:13:54', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409528 -2.745811)'), GeomFromEWKT('SRID=4674;POINT (-40.409587 -2.74583)'))) / (select extract(epoch from '2026-07-17 08:13:54'::timestamp) - extract(epoch from '2026-07-17 08:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409528 -2.745811)'), GeomFromEWKT('SRID=4674;POINT (-40.409587 -2.74583)'))) / (select extract(epoch from '2026-07-17 08:13:54'::timestamp) - extract(epoch from '2026-07-17 08:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409639 -2.745804)', '2026-07-17 08:14:01', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409587 -2.74583)'), GeomFromEWKT('SRID=4674;POINT (-40.409639 -2.745804)'))) / (select extract(epoch from '2026-07-17 08:14:01'::timestamp) - extract(epoch from '2026-07-17 08:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409587 -2.74583)'), GeomFromEWKT('SRID=4674;POINT (-40.409639 -2.745804)'))) / (select extract(epoch from '2026-07-17 08:14:01'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.40969 -2.745785)', '2026-07-17 08:14:08', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409639 -2.745804)'), GeomFromEWKT('SRID=4674;POINT (-40.40969 -2.745785)'))) / (select extract(epoch from '2026-07-17 08:14:08'::timestamp) - extract(epoch from '2026-07-17 08:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409639 -2.745804)'), GeomFromEWKT('SRID=4674;POINT (-40.40969 -2.745785)'))) / (select extract(epoch from '2026-07-17 08:14:08'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.409742 -2.745749)', '2026-07-17 08:14:19', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40969 -2.745785)'), GeomFromEWKT('SRID=4674;POINT (-40.409742 -2.745749)'))) / (select extract(epoch from '2026-07-17 08:14:19'::timestamp) - extract(epoch from '2026-07-17 08:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40969 -2.745785)'), GeomFromEWKT('SRID=4674;POINT (-40.409742 -2.745749)'))) / (select extract(epoch from '2026-07-17 08:14:19'::timestamp) - extract(epoch from '2026-07-17 08:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409771 -2.745693)', '2026-07-17 08:14:32', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409742 -2.745749)'), GeomFromEWKT('SRID=4674;POINT (-40.409771 -2.745693)'))) / (select extract(epoch from '2026-07-17 08:14:32'::timestamp) - extract(epoch from '2026-07-17 08:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409742 -2.745749)'), GeomFromEWKT('SRID=4674;POINT (-40.409771 -2.745693)'))) / (select extract(epoch from '2026-07-17 08:14:32'::timestamp) - extract(epoch from '2026-07-17 08:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409791 -2.745658)', '2026-07-17 08:14:39', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409771 -2.745693)'), GeomFromEWKT('SRID=4674;POINT (-40.409791 -2.745658)'))) / (select extract(epoch from '2026-07-17 08:14:39'::timestamp) - extract(epoch from '2026-07-17 08:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409771 -2.745693)'), GeomFromEWKT('SRID=4674;POINT (-40.409791 -2.745658)'))) / (select extract(epoch from '2026-07-17 08:14:39'::timestamp) - extract(epoch from '2026-07-17 08:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409803 -2.745637)', '2026-07-17 08:14:45', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409791 -2.745658)'), GeomFromEWKT('SRID=4674;POINT (-40.409803 -2.745637)'))) / (select extract(epoch from '2026-07-17 08:14:45'::timestamp) - extract(epoch from '2026-07-17 08:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409791 -2.745658)'), GeomFromEWKT('SRID=4674;POINT (-40.409803 -2.745637)'))) / (select extract(epoch from '2026-07-17 08:14:45'::timestamp) - extract(epoch from '2026-07-17 08:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409819 -2.745624)', '2026-07-17 08:14:54', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409803 -2.745637)'), GeomFromEWKT('SRID=4674;POINT (-40.409819 -2.745624)'))) / (select extract(epoch from '2026-07-17 08:14:54'::timestamp) - extract(epoch from '2026-07-17 08:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409803 -2.745637)'), GeomFromEWKT('SRID=4674;POINT (-40.409819 -2.745624)'))) / (select extract(epoch from '2026-07-17 08:14:54'::timestamp) - extract(epoch from '2026-07-17 08:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409837 -2.745587)', '2026-07-17 08:15:02', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409819 -2.745624)'), GeomFromEWKT('SRID=4674;POINT (-40.409837 -2.745587)'))) / (select extract(epoch from '2026-07-17 08:15:02'::timestamp) - extract(epoch from '2026-07-17 08:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409819 -2.745624)'), GeomFromEWKT('SRID=4674;POINT (-40.409837 -2.745587)'))) / (select extract(epoch from '2026-07-17 08:15:02'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.40986 -2.745562)', '2026-07-17 08:15:09', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409837 -2.745587)'), GeomFromEWKT('SRID=4674;POINT (-40.40986 -2.745562)'))) / (select extract(epoch from '2026-07-17 08:15:09'::timestamp) - extract(epoch from '2026-07-17 08:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409837 -2.745587)'), GeomFromEWKT('SRID=4674;POINT (-40.40986 -2.745562)'))) / (select extract(epoch from '2026-07-17 08:15:09'::timestamp) - extract(epoch from '2026-07-17 08:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409879 -2.745525)', '2026-07-17 08:15:17', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40986 -2.745562)'), GeomFromEWKT('SRID=4674;POINT (-40.409879 -2.745525)'))) / (select extract(epoch from '2026-07-17 08:15:17'::timestamp) - extract(epoch from '2026-07-17 08:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40986 -2.745562)'), GeomFromEWKT('SRID=4674;POINT (-40.409879 -2.745525)'))) / (select extract(epoch from '2026-07-17 08:15:17'::timestamp) - extract(epoch from '2026-07-17 08:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409896 -2.745505)', '2026-07-17 08:15:25', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409879 -2.745525)'), GeomFromEWKT('SRID=4674;POINT (-40.409896 -2.745505)'))) / (select extract(epoch from '2026-07-17 08:15:25'::timestamp) - extract(epoch from '2026-07-17 08:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409879 -2.745525)'), GeomFromEWKT('SRID=4674;POINT (-40.409896 -2.745505)'))) / (select extract(epoch from '2026-07-17 08:15:25'::timestamp) - extract(epoch from '2026-07-17 08:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409904 -2.7455)', '2026-07-17 08:15:40', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409896 -2.745505)'), GeomFromEWKT('SRID=4674;POINT (-40.409904 -2.7455)'))) / (select extract(epoch from '2026-07-17 08:15:40'::timestamp) - extract(epoch from '2026-07-17 08:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409896 -2.745505)'), GeomFromEWKT('SRID=4674;POINT (-40.409904 -2.7455)'))) / (select extract(epoch from '2026-07-17 08:15:40'::timestamp) - extract(epoch from '2026-07-17 08:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409925 -2.745465)', '2026-07-17 08:15:59', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409904 -2.7455)'), GeomFromEWKT('SRID=4674;POINT (-40.409925 -2.745465)'))) / (select extract(epoch from '2026-07-17 08:15:59'::timestamp) - extract(epoch from '2026-07-17 08:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409904 -2.7455)'), GeomFromEWKT('SRID=4674;POINT (-40.409925 -2.745465)'))) / (select extract(epoch from '2026-07-17 08:15:59'::timestamp) - extract(epoch from '2026-07-17 08:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409931 -2.745444)', '2026-07-17 08:16:01', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409925 -2.745465)'), GeomFromEWKT('SRID=4674;POINT (-40.409931 -2.745444)'))) / (select extract(epoch from '2026-07-17 08:16:01'::timestamp) - extract(epoch from '2026-07-17 08:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409925 -2.745465)'), GeomFromEWKT('SRID=4674;POINT (-40.409931 -2.745444)'))) / (select extract(epoch from '2026-07-17 08:16:01'::timestamp) - extract(epoch from '2026-07-17 08:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.40994 -2.745332)', '2026-07-17 08:16:09', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409931 -2.745444)'), GeomFromEWKT('SRID=4674;POINT (-40.40994 -2.745332)'))) / (select extract(epoch from '2026-07-17 08:16:09'::timestamp) - extract(epoch from '2026-07-17 08:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409931 -2.745444)'), GeomFromEWKT('SRID=4674;POINT (-40.40994 -2.745332)'))) / (select extract(epoch from '2026-07-17 08:16:09'::timestamp) - extract(epoch from '2026-07-17 08:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409907 -2.745219)', '2026-07-17 08:16:18', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40994 -2.745332)'), GeomFromEWKT('SRID=4674;POINT (-40.409907 -2.745219)'))) / (select extract(epoch from '2026-07-17 08:16:18'::timestamp) - extract(epoch from '2026-07-17 08:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40994 -2.745332)'), GeomFromEWKT('SRID=4674;POINT (-40.409907 -2.745219)'))) / (select extract(epoch from '2026-07-17 08:16:18'::timestamp) - extract(epoch from '2026-07-17 08:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409891 -2.745128)', '2026-07-17 08:16:25', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409907 -2.745219)'), GeomFromEWKT('SRID=4674;POINT (-40.409891 -2.745128)'))) / (select extract(epoch from '2026-07-17 08:16:25'::timestamp) - extract(epoch from '2026-07-17 08:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409907 -2.745219)'), GeomFromEWKT('SRID=4674;POINT (-40.409891 -2.745128)'))) / (select extract(epoch from '2026-07-17 08:16:25'::timestamp) - extract(epoch from '2026-07-17 08:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.409932 -2.745042)', '2026-07-17 08:16:33', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409891 -2.745128)'), GeomFromEWKT('SRID=4674;POINT (-40.409932 -2.745042)'))) / (select extract(epoch from '2026-07-17 08:16:33'::timestamp) - extract(epoch from '2026-07-17 08:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409891 -2.745128)'), GeomFromEWKT('SRID=4674;POINT (-40.409932 -2.745042)'))) / (select extract(epoch from '2026-07-17 08:16:33'::timestamp) - extract(epoch from '2026-07-17 08:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410002 -2.744944)', '2026-07-17 08:16:41', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409932 -2.745042)'), GeomFromEWKT('SRID=4674;POINT (-40.410002 -2.744944)'))) / (select extract(epoch from '2026-07-17 08:16:41'::timestamp) - extract(epoch from '2026-07-17 08:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409932 -2.745042)'), GeomFromEWKT('SRID=4674;POINT (-40.410002 -2.744944)'))) / (select extract(epoch from '2026-07-17 08:16:41'::timestamp) - extract(epoch from '2026-07-17 08:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410068 -2.744833)', '2026-07-17 08:16:49', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410002 -2.744944)'), GeomFromEWKT('SRID=4674;POINT (-40.410068 -2.744833)'))) / (select extract(epoch from '2026-07-17 08:16:49'::timestamp) - extract(epoch from '2026-07-17 08:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410002 -2.744944)'), GeomFromEWKT('SRID=4674;POINT (-40.410068 -2.744833)'))) / (select extract(epoch from '2026-07-17 08:16:49'::timestamp) - extract(epoch from '2026-07-17 08:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410142 -2.744781)', '2026-07-17 08:16:57', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410068 -2.744833)'), GeomFromEWKT('SRID=4674;POINT (-40.410142 -2.744781)'))) / (select extract(epoch from '2026-07-17 08:16:57'::timestamp) - extract(epoch from '2026-07-17 08:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410068 -2.744833)'), GeomFromEWKT('SRID=4674;POINT (-40.410142 -2.744781)'))) / (select extract(epoch from '2026-07-17 08:16:57'::timestamp) - extract(epoch from '2026-07-17 08:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410205 -2.744717)', '2026-07-17 08:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410142 -2.744781)'), GeomFromEWKT('SRID=4674;POINT (-40.410205 -2.744717)'))) / (select extract(epoch from '2026-07-17 08:17:05'::timestamp) - extract(epoch from '2026-07-17 08:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410142 -2.744781)'), GeomFromEWKT('SRID=4674;POINT (-40.410205 -2.744717)'))) / (select extract(epoch from '2026-07-17 08:17:05'::timestamp) - extract(epoch from '2026-07-17 08:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410217 -2.744648)', '2026-07-17 08:17:14', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410205 -2.744717)'), GeomFromEWKT('SRID=4674;POINT (-40.410217 -2.744648)'))) / (select extract(epoch from '2026-07-17 08:17:14'::timestamp) - extract(epoch from '2026-07-17 08:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410205 -2.744717)'), GeomFromEWKT('SRID=4674;POINT (-40.410217 -2.744648)'))) / (select extract(epoch from '2026-07-17 08:17:14'::timestamp) - extract(epoch from '2026-07-17 08:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410203 -2.744559)', '2026-07-17 08:17:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410217 -2.744648)'), GeomFromEWKT('SRID=4674;POINT (-40.410203 -2.744559)'))) / (select extract(epoch from '2026-07-17 08:17:22'::timestamp) - extract(epoch from '2026-07-17 08:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410217 -2.744648)'), GeomFromEWKT('SRID=4674;POINT (-40.410203 -2.744559)'))) / (select extract(epoch from '2026-07-17 08:17:22'::timestamp) - extract(epoch from '2026-07-17 08:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410168 -2.744533)', '2026-07-17 08:17:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410203 -2.744559)'), GeomFromEWKT('SRID=4674;POINT (-40.410168 -2.744533)'))) / (select extract(epoch from '2026-07-17 08:17:31'::timestamp) - extract(epoch from '2026-07-17 08:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410203 -2.744559)'), GeomFromEWKT('SRID=4674;POINT (-40.410168 -2.744533)'))) / (select extract(epoch from '2026-07-17 08:17:31'::timestamp) - extract(epoch from '2026-07-17 08:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410141 -2.744534)', '2026-07-17 08:17:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410168 -2.744533)'), GeomFromEWKT('SRID=4674;POINT (-40.410141 -2.744534)'))) / (select extract(epoch from '2026-07-17 08:17:38'::timestamp) - extract(epoch from '2026-07-17 08:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410168 -2.744533)'), GeomFromEWKT('SRID=4674;POINT (-40.410141 -2.744534)'))) / (select extract(epoch from '2026-07-17 08:17:38'::timestamp) - extract(epoch from '2026-07-17 08:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410094 -2.744538)', '2026-07-17 08:17:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410141 -2.744534)'), GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.744538)'))) / (select extract(epoch from '2026-07-17 08:17:45'::timestamp) - extract(epoch from '2026-07-17 08:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410141 -2.744534)'), GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.744538)'))) / (select extract(epoch from '2026-07-17 08:17:45'::timestamp) - extract(epoch from '2026-07-17 08:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410061 -2.744569)', '2026-07-17 08:17:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.744538)'), GeomFromEWKT('SRID=4674;POINT (-40.410061 -2.744569)'))) / (select extract(epoch from '2026-07-17 08:17:52'::timestamp) - extract(epoch from '2026-07-17 08:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410094 -2.744538)'), GeomFromEWKT('SRID=4674;POINT (-40.410061 -2.744569)'))) / (select extract(epoch from '2026-07-17 08:17:52'::timestamp) - extract(epoch from '2026-07-17 08:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410072 -2.744597)', '2026-07-17 08:17:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410061 -2.744569)'), GeomFromEWKT('SRID=4674;POINT (-40.410072 -2.744597)'))) / (select extract(epoch from '2026-07-17 08:17:57'::timestamp) - extract(epoch from '2026-07-17 08:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410061 -2.744569)'), GeomFromEWKT('SRID=4674;POINT (-40.410072 -2.744597)'))) / (select extract(epoch from '2026-07-17 08:17:57'::timestamp) - extract(epoch from '2026-07-17 08:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.4101 -2.744668)', '2026-07-17 08:18:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410072 -2.744597)'), GeomFromEWKT('SRID=4674;POINT (-40.4101 -2.744668)'))) / (select extract(epoch from '2026-07-17 08:18:05'::timestamp) - extract(epoch from '2026-07-17 08:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410072 -2.744597)'), GeomFromEWKT('SRID=4674;POINT (-40.4101 -2.744668)'))) / (select extract(epoch from '2026-07-17 08:18:05'::timestamp) - extract(epoch from '2026-07-17 08:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410151 -2.74471)', '2026-07-17 08:18:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4101 -2.744668)'), GeomFromEWKT('SRID=4674;POINT (-40.410151 -2.74471)'))) / (select extract(epoch from '2026-07-17 08:18:15'::timestamp) - extract(epoch from '2026-07-17 08:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4101 -2.744668)'), GeomFromEWKT('SRID=4674;POINT (-40.410151 -2.74471)'))) / (select extract(epoch from '2026-07-17 08:18:15'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.410208 -2.744701)', '2026-07-17 08:18:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410151 -2.74471)'), GeomFromEWKT('SRID=4674;POINT (-40.410208 -2.744701)'))) / (select extract(epoch from '2026-07-17 08:18:24'::timestamp) - extract(epoch from '2026-07-17 08:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410151 -2.74471)'), GeomFromEWKT('SRID=4674;POINT (-40.410208 -2.744701)'))) / (select extract(epoch from '2026-07-17 08:18:24'::timestamp) - extract(epoch from '2026-07-17 08:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410256 -2.744677)', '2026-07-17 08:18:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410208 -2.744701)'), GeomFromEWKT('SRID=4674;POINT (-40.410256 -2.744677)'))) / (select extract(epoch from '2026-07-17 08:18:32'::timestamp) - extract(epoch from '2026-07-17 08:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410208 -2.744701)'), GeomFromEWKT('SRID=4674;POINT (-40.410256 -2.744677)'))) / (select extract(epoch from '2026-07-17 08:18:32'::timestamp) - extract(epoch from '2026-07-17 08:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410277 -2.744655)', '2026-07-17 08:18:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410256 -2.744677)'), GeomFromEWKT('SRID=4674;POINT (-40.410277 -2.744655)'))) / (select extract(epoch from '2026-07-17 08:18:40'::timestamp) - extract(epoch from '2026-07-17 08:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410256 -2.744677)'), GeomFromEWKT('SRID=4674;POINT (-40.410277 -2.744655)'))) / (select extract(epoch from '2026-07-17 08:18:40'::timestamp) - extract(epoch from '2026-07-17 08:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410286 -2.744628)', '2026-07-17 08:18:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410277 -2.744655)'), GeomFromEWKT('SRID=4674;POINT (-40.410286 -2.744628)'))) / (select extract(epoch from '2026-07-17 08:18:47'::timestamp) - extract(epoch from '2026-07-17 08:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410277 -2.744655)'), GeomFromEWKT('SRID=4674;POINT (-40.410286 -2.744628)'))) / (select extract(epoch from '2026-07-17 08:18:47'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.410299 -2.744602)', '2026-07-17 08:18:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410286 -2.744628)'), GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.744602)'))) / (select extract(epoch from '2026-07-17 08:18:54'::timestamp) - extract(epoch from '2026-07-17 08:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410286 -2.744628)'), GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.744602)'))) / (select extract(epoch from '2026-07-17 08:18:54'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.410301 -2.744585)', '2026-07-17 08:18:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.744602)'), GeomFromEWKT('SRID=4674;POINT (-40.410301 -2.744585)'))) / (select extract(epoch from '2026-07-17 08:18:59'::timestamp) - extract(epoch from '2026-07-17 08:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410299 -2.744602)'), GeomFromEWKT('SRID=4674;POINT (-40.410301 -2.744585)'))) / (select extract(epoch from '2026-07-17 08:18:59'::timestamp) - extract(epoch from '2026-07-17 08:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410316 -2.744548)', '2026-07-17 08:19:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410301 -2.744585)'), GeomFromEWKT('SRID=4674;POINT (-40.410316 -2.744548)'))) / (select extract(epoch from '2026-07-17 08:19:07'::timestamp) - extract(epoch from '2026-07-17 08:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410301 -2.744585)'), GeomFromEWKT('SRID=4674;POINT (-40.410316 -2.744548)'))) / (select extract(epoch from '2026-07-17 08:19:07'::timestamp) - extract(epoch from '2026-07-17 08:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410326 -2.744536)', '2026-07-17 08:19:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410316 -2.744548)'), GeomFromEWKT('SRID=4674;POINT (-40.410326 -2.744536)'))) / (select extract(epoch from '2026-07-17 08:19:13'::timestamp) - extract(epoch from '2026-07-17 08:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410316 -2.744548)'), GeomFromEWKT('SRID=4674;POINT (-40.410326 -2.744536)'))) / (select extract(epoch from '2026-07-17 08:19:13'::timestamp) - extract(epoch from '2026-07-17 08:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410336 -2.744519)', '2026-07-17 08:19:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410326 -2.744536)'), GeomFromEWKT('SRID=4674;POINT (-40.410336 -2.744519)'))) / (select extract(epoch from '2026-07-17 08:19:19'::timestamp) - extract(epoch from '2026-07-17 08:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410326 -2.744536)'), GeomFromEWKT('SRID=4674;POINT (-40.410336 -2.744519)'))) / (select extract(epoch from '2026-07-17 08:19:19'::timestamp) - extract(epoch from '2026-07-17 08:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410393 -2.74443)', '2026-07-17 08:20:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410336 -2.744519)'), GeomFromEWKT('SRID=4674;POINT (-40.410393 -2.74443)'))) / (select extract(epoch from '2026-07-17 08:20:00'::timestamp) - extract(epoch from '2026-07-17 08:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410336 -2.744519)'), GeomFromEWKT('SRID=4674;POINT (-40.410393 -2.74443)'))) / (select extract(epoch from '2026-07-17 08:20:00'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.410381 -2.744325)', '2026-07-17 08:20:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410393 -2.74443)'), GeomFromEWKT('SRID=4674;POINT (-40.410381 -2.744325)'))) / (select extract(epoch from '2026-07-17 08:20:12'::timestamp) - extract(epoch from '2026-07-17 08:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410393 -2.74443)'), GeomFromEWKT('SRID=4674;POINT (-40.410381 -2.744325)'))) / (select extract(epoch from '2026-07-17 08:20:12'::timestamp) - extract(epoch from '2026-07-17 08:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410422 -2.744177)', '2026-07-17 08:20:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410381 -2.744325)'), GeomFromEWKT('SRID=4674;POINT (-40.410422 -2.744177)'))) / (select extract(epoch from '2026-07-17 08:20:25'::timestamp) - extract(epoch from '2026-07-17 08:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410381 -2.744325)'), GeomFromEWKT('SRID=4674;POINT (-40.410422 -2.744177)'))) / (select extract(epoch from '2026-07-17 08:20:25'::timestamp) - extract(epoch from '2026-07-17 08:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410499 -2.74404)', '2026-07-17 08:20:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410422 -2.744177)'), GeomFromEWKT('SRID=4674;POINT (-40.410499 -2.74404)'))) / (select extract(epoch from '2026-07-17 08:20:37'::timestamp) - extract(epoch from '2026-07-17 08:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410422 -2.744177)'), GeomFromEWKT('SRID=4674;POINT (-40.410499 -2.74404)'))) / (select extract(epoch from '2026-07-17 08:20:37'::timestamp) - extract(epoch from '2026-07-17 08:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410566 -2.743956)', '2026-07-17 08:20:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410499 -2.74404)'), GeomFromEWKT('SRID=4674;POINT (-40.410566 -2.743956)'))) / (select extract(epoch from '2026-07-17 08:20:45'::timestamp) - extract(epoch from '2026-07-17 08:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410499 -2.74404)'), GeomFromEWKT('SRID=4674;POINT (-40.410566 -2.743956)'))) / (select extract(epoch from '2026-07-17 08:20:45'::timestamp) - extract(epoch from '2026-07-17 08:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410608 -2.743868)', '2026-07-17 08:20:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410566 -2.743956)'), GeomFromEWKT('SRID=4674;POINT (-40.410608 -2.743868)'))) / (select extract(epoch from '2026-07-17 08:20:52'::timestamp) - extract(epoch from '2026-07-17 08:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410566 -2.743956)'), GeomFromEWKT('SRID=4674;POINT (-40.410608 -2.743868)'))) / (select extract(epoch from '2026-07-17 08:20:52'::timestamp) - extract(epoch from '2026-07-17 08:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410631 -2.743837)', '2026-07-17 08:20:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410608 -2.743868)'), GeomFromEWKT('SRID=4674;POINT (-40.410631 -2.743837)'))) / (select extract(epoch from '2026-07-17 08:20:56'::timestamp) - extract(epoch from '2026-07-17 08:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410608 -2.743868)'), GeomFromEWKT('SRID=4674;POINT (-40.410631 -2.743837)'))) / (select extract(epoch from '2026-07-17 08:20:56'::timestamp) - extract(epoch from '2026-07-17 08:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410644 -2.743822)', '2026-07-17 08:20:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410631 -2.743837)'), GeomFromEWKT('SRID=4674;POINT (-40.410644 -2.743822)'))) / (select extract(epoch from '2026-07-17 08:20:59'::timestamp) - extract(epoch from '2026-07-17 08:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410631 -2.743837)'), GeomFromEWKT('SRID=4674;POINT (-40.410644 -2.743822)'))) / (select extract(epoch from '2026-07-17 08:20:59'::timestamp) - extract(epoch from '2026-07-17 08:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410685 -2.743766)', '2026-07-17 08:21:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410644 -2.743822)'), GeomFromEWKT('SRID=4674;POINT (-40.410685 -2.743766)'))) / (select extract(epoch from '2026-07-17 08:21:07'::timestamp) - extract(epoch from '2026-07-17 08:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410644 -2.743822)'), GeomFromEWKT('SRID=4674;POINT (-40.410685 -2.743766)'))) / (select extract(epoch from '2026-07-17 08:21:07'::timestamp) - extract(epoch from '2026-07-17 08:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410732 -2.74372)', '2026-07-17 08:21:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410685 -2.743766)'), GeomFromEWKT('SRID=4674;POINT (-40.410732 -2.74372)'))) / (select extract(epoch from '2026-07-17 08:21:16'::timestamp) - extract(epoch from '2026-07-17 08:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410685 -2.743766)'), GeomFromEWKT('SRID=4674;POINT (-40.410732 -2.74372)'))) / (select extract(epoch from '2026-07-17 08:21:16'::timestamp) - extract(epoch from '2026-07-17 08:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410772 -2.743678)', '2026-07-17 08:21:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410732 -2.74372)'), GeomFromEWKT('SRID=4674;POINT (-40.410772 -2.743678)'))) / (select extract(epoch from '2026-07-17 08:21:25'::timestamp) - extract(epoch from '2026-07-17 08:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410732 -2.74372)'), GeomFromEWKT('SRID=4674;POINT (-40.410772 -2.743678)'))) / (select extract(epoch from '2026-07-17 08:21:25'::timestamp) - extract(epoch from '2026-07-17 08:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410807 -2.743613)', '2026-07-17 08:21:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410772 -2.743678)'), GeomFromEWKT('SRID=4674;POINT (-40.410807 -2.743613)'))) / (select extract(epoch from '2026-07-17 08:21:34'::timestamp) - extract(epoch from '2026-07-17 08:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410772 -2.743678)'), GeomFromEWKT('SRID=4674;POINT (-40.410807 -2.743613)'))) / (select extract(epoch from '2026-07-17 08:21:34'::timestamp) - extract(epoch from '2026-07-17 08:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410838 -2.743538)', '2026-07-17 08:21:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410807 -2.743613)'), GeomFromEWKT('SRID=4674;POINT (-40.410838 -2.743538)'))) / (select extract(epoch from '2026-07-17 08:21:42'::timestamp) - extract(epoch from '2026-07-17 08:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410807 -2.743613)'), GeomFromEWKT('SRID=4674;POINT (-40.410838 -2.743538)'))) / (select extract(epoch from '2026-07-17 08:21:42'::timestamp) - extract(epoch from '2026-07-17 08:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410785 -2.743529)', '2026-07-17 08:21:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410838 -2.743538)'), GeomFromEWKT('SRID=4674;POINT (-40.410785 -2.743529)'))) / (select extract(epoch from '2026-07-17 08:21:50'::timestamp) - extract(epoch from '2026-07-17 08:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410838 -2.743538)'), GeomFromEWKT('SRID=4674;POINT (-40.410785 -2.743529)'))) / (select extract(epoch from '2026-07-17 08:21:50'::timestamp) - extract(epoch from '2026-07-17 08:21:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410718 -2.743488)', '2026-07-17 08:21:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410785 -2.743529)'), GeomFromEWKT('SRID=4674;POINT (-40.410718 -2.743488)'))) / (select extract(epoch from '2026-07-17 08:21:57'::timestamp) - extract(epoch from '2026-07-17 08:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410785 -2.743529)'), GeomFromEWKT('SRID=4674;POINT (-40.410718 -2.743488)'))) / (select extract(epoch from '2026-07-17 08:21:57'::timestamp) - extract(epoch from '2026-07-17 08:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410702 -2.74348)', '2026-07-17 08:22:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410718 -2.743488)'), GeomFromEWKT('SRID=4674;POINT (-40.410702 -2.74348)'))) / (select extract(epoch from '2026-07-17 08:22:04'::timestamp) - extract(epoch from '2026-07-17 08:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410718 -2.743488)'), GeomFromEWKT('SRID=4674;POINT (-40.410702 -2.74348)'))) / (select extract(epoch from '2026-07-17 08:22:04'::timestamp) - extract(epoch from '2026-07-17 08:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410642 -2.743499)', '2026-07-17 08:22:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410702 -2.74348)'), GeomFromEWKT('SRID=4674;POINT (-40.410642 -2.743499)'))) / (select extract(epoch from '2026-07-17 08:22:12'::timestamp) - extract(epoch from '2026-07-17 08:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410702 -2.74348)'), GeomFromEWKT('SRID=4674;POINT (-40.410642 -2.743499)'))) / (select extract(epoch from '2026-07-17 08:22:12'::timestamp) - extract(epoch from '2026-07-17 08:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410633 -2.743505)', '2026-07-17 08:22:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410642 -2.743499)'), GeomFromEWKT('SRID=4674;POINT (-40.410633 -2.743505)'))) / (select extract(epoch from '2026-07-17 08:22:13'::timestamp) - extract(epoch from '2026-07-17 08:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410642 -2.743499)'), GeomFromEWKT('SRID=4674;POINT (-40.410633 -2.743505)'))) / (select extract(epoch from '2026-07-17 08:22:13'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.41062 -2.743517)', '2026-07-17 08:22:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410633 -2.743505)'), GeomFromEWKT('SRID=4674;POINT (-40.41062 -2.743517)'))) / (select extract(epoch from '2026-07-17 08:22:18'::timestamp) - extract(epoch from '2026-07-17 08:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410633 -2.743505)'), GeomFromEWKT('SRID=4674;POINT (-40.41062 -2.743517)'))) / (select extract(epoch from '2026-07-17 08:22:18'::timestamp) - extract(epoch from '2026-07-17 08:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410648 -2.743533)', '2026-07-17 08:22:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41062 -2.743517)'), GeomFromEWKT('SRID=4674;POINT (-40.410648 -2.743533)'))) / (select extract(epoch from '2026-07-17 08:22:25'::timestamp) - extract(epoch from '2026-07-17 08:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41062 -2.743517)'), GeomFromEWKT('SRID=4674;POINT (-40.410648 -2.743533)'))) / (select extract(epoch from '2026-07-17 08:22:25'::timestamp) - extract(epoch from '2026-07-17 08:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410689 -2.743574)', '2026-07-17 08:22:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410648 -2.743533)'), GeomFromEWKT('SRID=4674;POINT (-40.410689 -2.743574)'))) / (select extract(epoch from '2026-07-17 08:22:32'::timestamp) - extract(epoch from '2026-07-17 08:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410648 -2.743533)'), GeomFromEWKT('SRID=4674;POINT (-40.410689 -2.743574)'))) / (select extract(epoch from '2026-07-17 08:22:32'::timestamp) - extract(epoch from '2026-07-17 08:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41074 -2.743628)', '2026-07-17 08:22:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410689 -2.743574)'), GeomFromEWKT('SRID=4674;POINT (-40.41074 -2.743628)'))) / (select extract(epoch from '2026-07-17 08:22:41'::timestamp) - extract(epoch from '2026-07-17 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410689 -2.743574)'), GeomFromEWKT('SRID=4674;POINT (-40.41074 -2.743628)'))) / (select extract(epoch from '2026-07-17 08:22:41'::timestamp) - extract(epoch from '2026-07-17 08:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410814 -2.743601)', '2026-07-17 08:22:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41074 -2.743628)'), GeomFromEWKT('SRID=4674;POINT (-40.410814 -2.743601)'))) / (select extract(epoch from '2026-07-17 08:22:48'::timestamp) - extract(epoch from '2026-07-17 08:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41074 -2.743628)'), GeomFromEWKT('SRID=4674;POINT (-40.410814 -2.743601)'))) / (select extract(epoch from '2026-07-17 08:22:48'::timestamp) - extract(epoch from '2026-07-17 08:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41084 -2.743595)', '2026-07-17 08:22:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410814 -2.743601)'), GeomFromEWKT('SRID=4674;POINT (-40.41084 -2.743595)'))) / (select extract(epoch from '2026-07-17 08:22:50'::timestamp) - extract(epoch from '2026-07-17 08:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410814 -2.743601)'), GeomFromEWKT('SRID=4674;POINT (-40.41084 -2.743595)'))) / (select extract(epoch from '2026-07-17 08:22:50'::timestamp) - extract(epoch from '2026-07-17 08:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410884 -2.743596)', '2026-07-17 08:22:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41084 -2.743595)'), GeomFromEWKT('SRID=4674;POINT (-40.410884 -2.743596)'))) / (select extract(epoch from '2026-07-17 08:22:53'::timestamp) - extract(epoch from '2026-07-17 08:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41084 -2.743595)'), GeomFromEWKT('SRID=4674;POINT (-40.410884 -2.743596)'))) / (select extract(epoch from '2026-07-17 08:22:53'::timestamp) - extract(epoch from '2026-07-17 08:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.410993 -2.7436)', '2026-07-17 08:23:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410884 -2.743596)'), GeomFromEWKT('SRID=4674;POINT (-40.410993 -2.7436)'))) / (select extract(epoch from '2026-07-17 08:23:01'::timestamp) - extract(epoch from '2026-07-17 08:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410884 -2.743596)'), GeomFromEWKT('SRID=4674;POINT (-40.410993 -2.7436)'))) / (select extract(epoch from '2026-07-17 08:23:01'::timestamp) - extract(epoch from '2026-07-17 08:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411063 -2.743577)', '2026-07-17 08:23:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410993 -2.7436)'), GeomFromEWKT('SRID=4674;POINT (-40.411063 -2.743577)'))) / (select extract(epoch from '2026-07-17 08:23:09'::timestamp) - extract(epoch from '2026-07-17 08:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410993 -2.7436)'), GeomFromEWKT('SRID=4674;POINT (-40.411063 -2.743577)'))) / (select extract(epoch from '2026-07-17 08:23:09'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411147 -2.743545)', '2026-07-17 08:23:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411063 -2.743577)'), GeomFromEWKT('SRID=4674;POINT (-40.411147 -2.743545)'))) / (select extract(epoch from '2026-07-17 08:23:17'::timestamp) - extract(epoch from '2026-07-17 08:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411063 -2.743577)'), GeomFromEWKT('SRID=4674;POINT (-40.411147 -2.743545)'))) / (select extract(epoch from '2026-07-17 08:23:17'::timestamp) - extract(epoch from '2026-07-17 08:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411202 -2.74352)', '2026-07-17 08:23:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411147 -2.743545)'), GeomFromEWKT('SRID=4674;POINT (-40.411202 -2.74352)'))) / (select extract(epoch from '2026-07-17 08:23:24'::timestamp) - extract(epoch from '2026-07-17 08:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411147 -2.743545)'), GeomFromEWKT('SRID=4674;POINT (-40.411202 -2.74352)'))) / (select extract(epoch from '2026-07-17 08:23:24'::timestamp) - extract(epoch from '2026-07-17 08:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411252 -2.743499)', '2026-07-17 08:23:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411202 -2.74352)'), GeomFromEWKT('SRID=4674;POINT (-40.411252 -2.743499)'))) / (select extract(epoch from '2026-07-17 08:23:30'::timestamp) - extract(epoch from '2026-07-17 08:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411202 -2.74352)'), GeomFromEWKT('SRID=4674;POINT (-40.411252 -2.743499)'))) / (select extract(epoch from '2026-07-17 08:23:30'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411289 -2.743471)', '2026-07-17 08:23:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411252 -2.743499)'), GeomFromEWKT('SRID=4674;POINT (-40.411289 -2.743471)'))) / (select extract(epoch from '2026-07-17 08:23:38'::timestamp) - extract(epoch from '2026-07-17 08:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411252 -2.743499)'), GeomFromEWKT('SRID=4674;POINT (-40.411289 -2.743471)'))) / (select extract(epoch from '2026-07-17 08:23:38'::timestamp) - extract(epoch from '2026-07-17 08:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41133 -2.743441)', '2026-07-17 08:23:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411289 -2.743471)'), GeomFromEWKT('SRID=4674;POINT (-40.41133 -2.743441)'))) / (select extract(epoch from '2026-07-17 08:23:46'::timestamp) - extract(epoch from '2026-07-17 08:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411289 -2.743471)'), GeomFromEWKT('SRID=4674;POINT (-40.41133 -2.743441)'))) / (select extract(epoch from '2026-07-17 08:23:46'::timestamp) - extract(epoch from '2026-07-17 08:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411369 -2.743409)', '2026-07-17 08:23:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41133 -2.743441)'), GeomFromEWKT('SRID=4674;POINT (-40.411369 -2.743409)'))) / (select extract(epoch from '2026-07-17 08:23:52'::timestamp) - extract(epoch from '2026-07-17 08:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41133 -2.743441)'), GeomFromEWKT('SRID=4674;POINT (-40.411369 -2.743409)'))) / (select extract(epoch from '2026-07-17 08:23:52'::timestamp) - extract(epoch from '2026-07-17 08:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411476 -2.74333)', '2026-07-17 08:24:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411369 -2.743409)'), GeomFromEWKT('SRID=4674;POINT (-40.411476 -2.74333)'))) / (select extract(epoch from '2026-07-17 08:24:07'::timestamp) - extract(epoch from '2026-07-17 08:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411369 -2.743409)'), GeomFromEWKT('SRID=4674;POINT (-40.411476 -2.74333)'))) / (select extract(epoch from '2026-07-17 08:24:07'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411506 -2.743216)', '2026-07-17 08:24:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411476 -2.74333)'), GeomFromEWKT('SRID=4674;POINT (-40.411506 -2.743216)'))) / (select extract(epoch from '2026-07-17 08:24:19'::timestamp) - extract(epoch from '2026-07-17 08:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411476 -2.74333)'), GeomFromEWKT('SRID=4674;POINT (-40.411506 -2.743216)'))) / (select extract(epoch from '2026-07-17 08:24:19'::timestamp) - extract(epoch from '2026-07-17 08:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411433 -2.743186)', '2026-07-17 08:24:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411506 -2.743216)'), GeomFromEWKT('SRID=4674;POINT (-40.411433 -2.743186)'))) / (select extract(epoch from '2026-07-17 08:24:29'::timestamp) - extract(epoch from '2026-07-17 08:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411506 -2.743216)'), GeomFromEWKT('SRID=4674;POINT (-40.411433 -2.743186)'))) / (select extract(epoch from '2026-07-17 08:24:29'::timestamp) - extract(epoch from '2026-07-17 08:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411288 -2.743185)', '2026-07-17 08:24:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411433 -2.743186)'), GeomFromEWKT('SRID=4674;POINT (-40.411288 -2.743185)'))) / (select extract(epoch from '2026-07-17 08:24:41'::timestamp) - extract(epoch from '2026-07-17 08:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411433 -2.743186)'), GeomFromEWKT('SRID=4674;POINT (-40.411288 -2.743185)'))) / (select extract(epoch from '2026-07-17 08:24:41'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411262 -2.743204)', '2026-07-17 08:24:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411288 -2.743185)'), GeomFromEWKT('SRID=4674;POINT (-40.411262 -2.743204)'))) / (select extract(epoch from '2026-07-17 08:24:51'::timestamp) - extract(epoch from '2026-07-17 08:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411288 -2.743185)'), GeomFromEWKT('SRID=4674;POINT (-40.411262 -2.743204)'))) / (select extract(epoch from '2026-07-17 08:24:51'::timestamp) - extract(epoch from '2026-07-17 08:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411265 -2.74316)', '2026-07-17 08:25:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411262 -2.743204)'), GeomFromEWKT('SRID=4674;POINT (-40.411265 -2.74316)'))) / (select extract(epoch from '2026-07-17 08:25:16'::timestamp) - extract(epoch from '2026-07-17 08:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411262 -2.743204)'), GeomFromEWKT('SRID=4674;POINT (-40.411265 -2.74316)'))) / (select extract(epoch from '2026-07-17 08:25:16'::timestamp) - extract(epoch from '2026-07-17 08:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41128 -2.743126)', '2026-07-17 08:25:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411265 -2.74316)'), GeomFromEWKT('SRID=4674;POINT (-40.41128 -2.743126)'))) / (select extract(epoch from '2026-07-17 08:25:24'::timestamp) - extract(epoch from '2026-07-17 08:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411265 -2.74316)'), GeomFromEWKT('SRID=4674;POINT (-40.41128 -2.743126)'))) / (select extract(epoch from '2026-07-17 08:25:24'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411291 -2.743113)', '2026-07-17 08:25:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41128 -2.743126)'), GeomFromEWKT('SRID=4674;POINT (-40.411291 -2.743113)'))) / (select extract(epoch from '2026-07-17 08:25:30'::timestamp) - extract(epoch from '2026-07-17 08:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41128 -2.743126)'), GeomFromEWKT('SRID=4674;POINT (-40.411291 -2.743113)'))) / (select extract(epoch from '2026-07-17 08:25:30'::timestamp) - extract(epoch from '2026-07-17 08:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411304 -2.743088)', '2026-07-17 08:25:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411291 -2.743113)'), GeomFromEWKT('SRID=4674;POINT (-40.411304 -2.743088)'))) / (select extract(epoch from '2026-07-17 08:25:37'::timestamp) - extract(epoch from '2026-07-17 08:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411291 -2.743113)'), GeomFromEWKT('SRID=4674;POINT (-40.411304 -2.743088)'))) / (select extract(epoch from '2026-07-17 08:25:37'::timestamp) - extract(epoch from '2026-07-17 08:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411325 -2.74305)', '2026-07-17 08:25:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411304 -2.743088)'), GeomFromEWKT('SRID=4674;POINT (-40.411325 -2.74305)'))) / (select extract(epoch from '2026-07-17 08:25:46'::timestamp) - extract(epoch from '2026-07-17 08:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411304 -2.743088)'), GeomFromEWKT('SRID=4674;POINT (-40.411325 -2.74305)'))) / (select extract(epoch from '2026-07-17 08:25:46'::timestamp) - extract(epoch from '2026-07-17 08:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411352 -2.743027)', '2026-07-17 08:25:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411325 -2.74305)'), GeomFromEWKT('SRID=4674;POINT (-40.411352 -2.743027)'))) / (select extract(epoch from '2026-07-17 08:25:54'::timestamp) - extract(epoch from '2026-07-17 08:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411325 -2.74305)'), GeomFromEWKT('SRID=4674;POINT (-40.411352 -2.743027)'))) / (select extract(epoch from '2026-07-17 08:25:54'::timestamp) - extract(epoch from '2026-07-17 08:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411366 -2.743014)', '2026-07-17 08:26:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411352 -2.743027)'), GeomFromEWKT('SRID=4674;POINT (-40.411366 -2.743014)'))) / (select extract(epoch from '2026-07-17 08:26:02'::timestamp) - extract(epoch from '2026-07-17 08:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411352 -2.743027)'), GeomFromEWKT('SRID=4674;POINT (-40.411366 -2.743014)'))) / (select extract(epoch from '2026-07-17 08:26:02'::timestamp) - extract(epoch from '2026-07-17 08:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41139 -2.742969)', '2026-07-17 08:26:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411366 -2.743014)'), GeomFromEWKT('SRID=4674;POINT (-40.41139 -2.742969)'))) / (select extract(epoch from '2026-07-17 08:26:11'::timestamp) - extract(epoch from '2026-07-17 08:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411366 -2.743014)'), GeomFromEWKT('SRID=4674;POINT (-40.41139 -2.742969)'))) / (select extract(epoch from '2026-07-17 08:26:11'::timestamp) - extract(epoch from '2026-07-17 08:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411403 -2.742974)', '2026-07-17 08:26:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41139 -2.742969)'), GeomFromEWKT('SRID=4674;POINT (-40.411403 -2.742974)'))) / (select extract(epoch from '2026-07-17 08:26:19'::timestamp) - extract(epoch from '2026-07-17 08:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41139 -2.742969)'), GeomFromEWKT('SRID=4674;POINT (-40.411403 -2.742974)'))) / (select extract(epoch from '2026-07-17 08:26:19'::timestamp) - extract(epoch from '2026-07-17 08:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411425 -2.74295)', '2026-07-17 08:26:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411403 -2.742974)'), GeomFromEWKT('SRID=4674;POINT (-40.411425 -2.74295)'))) / (select extract(epoch from '2026-07-17 08:26:40'::timestamp) - extract(epoch from '2026-07-17 08:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411403 -2.742974)'), GeomFromEWKT('SRID=4674;POINT (-40.411425 -2.74295)'))) / (select extract(epoch from '2026-07-17 08:26:40'::timestamp) - extract(epoch from '2026-07-17 08:26:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411442 -2.742931)', '2026-07-17 08:26:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411425 -2.74295)'), GeomFromEWKT('SRID=4674;POINT (-40.411442 -2.742931)'))) / (select extract(epoch from '2026-07-17 08:26:48'::timestamp) - extract(epoch from '2026-07-17 08:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411425 -2.74295)'), GeomFromEWKT('SRID=4674;POINT (-40.411442 -2.742931)'))) / (select extract(epoch from '2026-07-17 08:26:48'::timestamp) - extract(epoch from '2026-07-17 08:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41146 -2.74292)', '2026-07-17 08:26:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411442 -2.742931)'), GeomFromEWKT('SRID=4674;POINT (-40.41146 -2.74292)'))) / (select extract(epoch from '2026-07-17 08:26:55'::timestamp) - extract(epoch from '2026-07-17 08:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411442 -2.742931)'), GeomFromEWKT('SRID=4674;POINT (-40.41146 -2.74292)'))) / (select extract(epoch from '2026-07-17 08:26:55'::timestamp) - extract(epoch from '2026-07-17 08:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411469 -2.742918)', '2026-07-17 08:27:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41146 -2.74292)'), GeomFromEWKT('SRID=4674;POINT (-40.411469 -2.742918)'))) / (select extract(epoch from '2026-07-17 08:27:02'::timestamp) - extract(epoch from '2026-07-17 08:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41146 -2.74292)'), GeomFromEWKT('SRID=4674;POINT (-40.411469 -2.742918)'))) / (select extract(epoch from '2026-07-17 08:27:02'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411482 -2.742903)', '2026-07-17 08:27:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411469 -2.742918)'), GeomFromEWKT('SRID=4674;POINT (-40.411482 -2.742903)'))) / (select extract(epoch from '2026-07-17 08:27:09'::timestamp) - extract(epoch from '2026-07-17 08:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411469 -2.742918)'), GeomFromEWKT('SRID=4674;POINT (-40.411482 -2.742903)'))) / (select extract(epoch from '2026-07-17 08:27:09'::timestamp) - extract(epoch from '2026-07-17 08:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411492 -2.742892)', '2026-07-17 08:27:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411482 -2.742903)'), GeomFromEWKT('SRID=4674;POINT (-40.411492 -2.742892)'))) / (select extract(epoch from '2026-07-17 08:27:15'::timestamp) - extract(epoch from '2026-07-17 08:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411482 -2.742903)'), GeomFromEWKT('SRID=4674;POINT (-40.411492 -2.742892)'))) / (select extract(epoch from '2026-07-17 08:27:15'::timestamp) - extract(epoch from '2026-07-17 08:27:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411516 -2.742857)', '2026-07-17 08:27:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411492 -2.742892)'), GeomFromEWKT('SRID=4674;POINT (-40.411516 -2.742857)'))) / (select extract(epoch from '2026-07-17 08:27:24'::timestamp) - extract(epoch from '2026-07-17 08:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411492 -2.742892)'), GeomFromEWKT('SRID=4674;POINT (-40.411516 -2.742857)'))) / (select extract(epoch from '2026-07-17 08:27:24'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411557 -2.742814)', '2026-07-17 08:27:35', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411516 -2.742857)'), GeomFromEWKT('SRID=4674;POINT (-40.411557 -2.742814)'))) / (select extract(epoch from '2026-07-17 08:27:35'::timestamp) - extract(epoch from '2026-07-17 08:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411516 -2.742857)'), GeomFromEWKT('SRID=4674;POINT (-40.411557 -2.742814)'))) / (select extract(epoch from '2026-07-17 08:27:35'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411568 -2.74279)', '2026-07-17 08:27:50', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411557 -2.742814)'), GeomFromEWKT('SRID=4674;POINT (-40.411568 -2.74279)'))) / (select extract(epoch from '2026-07-17 08:27:50'::timestamp) - extract(epoch from '2026-07-17 08:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411557 -2.742814)'), GeomFromEWKT('SRID=4674;POINT (-40.411568 -2.74279)'))) / (select extract(epoch from '2026-07-17 08:27:50'::timestamp) - extract(epoch from '2026-07-17 08:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411574 -2.742754)', '2026-07-17 08:28:01', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411568 -2.74279)'), GeomFromEWKT('SRID=4674;POINT (-40.411574 -2.742754)'))) / (select extract(epoch from '2026-07-17 08:28:01'::timestamp) - extract(epoch from '2026-07-17 08:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411568 -2.74279)'), GeomFromEWKT('SRID=4674;POINT (-40.411574 -2.742754)'))) / (select extract(epoch from '2026-07-17 08:28:01'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411575 -2.742717)', '2026-07-17 08:28:07', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411574 -2.742754)'), GeomFromEWKT('SRID=4674;POINT (-40.411575 -2.742717)'))) / (select extract(epoch from '2026-07-17 08:28:07'::timestamp) - extract(epoch from '2026-07-17 08:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411574 -2.742754)'), GeomFromEWKT('SRID=4674;POINT (-40.411575 -2.742717)'))) / (select extract(epoch from '2026-07-17 08:28:07'::timestamp) - extract(epoch from '2026-07-17 08:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411574 -2.742709)', '2026-07-17 08:28:08', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411575 -2.742717)'), GeomFromEWKT('SRID=4674;POINT (-40.411574 -2.742709)'))) / (select extract(epoch from '2026-07-17 08:28:08'::timestamp) - extract(epoch from '2026-07-17 08:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411575 -2.742717)'), GeomFromEWKT('SRID=4674;POINT (-40.411574 -2.742709)'))) / (select extract(epoch from '2026-07-17 08:28:08'::timestamp) - extract(epoch from '2026-07-17 08:28:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411577 -2.742596)', '2026-07-17 08:28:21', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411574 -2.742709)'), GeomFromEWKT('SRID=4674;POINT (-40.411577 -2.742596)'))) / (select extract(epoch from '2026-07-17 08:28:21'::timestamp) - extract(epoch from '2026-07-17 08:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411574 -2.742709)'), GeomFromEWKT('SRID=4674;POINT (-40.411577 -2.742596)'))) / (select extract(epoch from '2026-07-17 08:28:21'::timestamp) - extract(epoch from '2026-07-17 08:28:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41159 -2.742438)', '2026-07-17 08:28:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411577 -2.742596)'), GeomFromEWKT('SRID=4674;POINT (-40.41159 -2.742438)'))) / (select extract(epoch from '2026-07-17 08:28:33'::timestamp) - extract(epoch from '2026-07-17 08:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411577 -2.742596)'), GeomFromEWKT('SRID=4674;POINT (-40.41159 -2.742438)'))) / (select extract(epoch from '2026-07-17 08:28:33'::timestamp) - extract(epoch from '2026-07-17 08:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411614 -2.74237)', '2026-07-17 08:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41159 -2.742438)'), GeomFromEWKT('SRID=4674;POINT (-40.411614 -2.74237)'))) / (select extract(epoch from '2026-07-17 08:28:39'::timestamp) - extract(epoch from '2026-07-17 08:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41159 -2.742438)'), GeomFromEWKT('SRID=4674;POINT (-40.411614 -2.74237)'))) / (select extract(epoch from '2026-07-17 08:28:39'::timestamp) - extract(epoch from '2026-07-17 08:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411621 -2.742361)', '2026-07-17 08:28:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411614 -2.74237)'), GeomFromEWKT('SRID=4674;POINT (-40.411621 -2.742361)'))) / (select extract(epoch from '2026-07-17 08:28:40'::timestamp) - extract(epoch from '2026-07-17 08:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411614 -2.74237)'), GeomFromEWKT('SRID=4674;POINT (-40.411621 -2.742361)'))) / (select extract(epoch from '2026-07-17 08:28:40'::timestamp) - extract(epoch from '2026-07-17 08:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411717 -2.742288)', '2026-07-17 08:28:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411621 -2.742361)'), GeomFromEWKT('SRID=4674;POINT (-40.411717 -2.742288)'))) / (select extract(epoch from '2026-07-17 08:28:49'::timestamp) - extract(epoch from '2026-07-17 08:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411621 -2.742361)'), GeomFromEWKT('SRID=4674;POINT (-40.411717 -2.742288)'))) / (select extract(epoch from '2026-07-17 08:28:49'::timestamp) - extract(epoch from '2026-07-17 08:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41177 -2.742246)', '2026-07-17 08:28:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411717 -2.742288)'), GeomFromEWKT('SRID=4674;POINT (-40.41177 -2.742246)'))) / (select extract(epoch from '2026-07-17 08:28:56'::timestamp) - extract(epoch from '2026-07-17 08:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411717 -2.742288)'), GeomFromEWKT('SRID=4674;POINT (-40.41177 -2.742246)'))) / (select extract(epoch from '2026-07-17 08:28:56'::timestamp) - extract(epoch from '2026-07-17 08:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411789 -2.742235)', '2026-07-17 08:28:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41177 -2.742246)'), GeomFromEWKT('SRID=4674;POINT (-40.411789 -2.742235)'))) / (select extract(epoch from '2026-07-17 08:28:58'::timestamp) - extract(epoch from '2026-07-17 08:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41177 -2.742246)'), GeomFromEWKT('SRID=4674;POINT (-40.411789 -2.742235)'))) / (select extract(epoch from '2026-07-17 08:28:58'::timestamp) - extract(epoch from '2026-07-17 08:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411828 -2.742188)', '2026-07-17 08:29:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411789 -2.742235)'), GeomFromEWKT('SRID=4674;POINT (-40.411828 -2.742188)'))) / (select extract(epoch from '2026-07-17 08:29:03'::timestamp) - extract(epoch from '2026-07-17 08:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411789 -2.742235)'), GeomFromEWKT('SRID=4674;POINT (-40.411828 -2.742188)'))) / (select extract(epoch from '2026-07-17 08:29:03'::timestamp) - extract(epoch from '2026-07-17 08:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411863 -2.742113)', '2026-07-17 08:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411828 -2.742188)'), GeomFromEWKT('SRID=4674;POINT (-40.411863 -2.742113)'))) / (select extract(epoch from '2026-07-17 08:29:10'::timestamp) - extract(epoch from '2026-07-17 08:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411828 -2.742188)'), GeomFromEWKT('SRID=4674;POINT (-40.411863 -2.742113)'))) / (select extract(epoch from '2026-07-17 08:29:10'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411867 -2.74203)', '2026-07-17 08:29:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411863 -2.742113)'), GeomFromEWKT('SRID=4674;POINT (-40.411867 -2.74203)'))) / (select extract(epoch from '2026-07-17 08:29:18'::timestamp) - extract(epoch from '2026-07-17 08:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411863 -2.742113)'), GeomFromEWKT('SRID=4674;POINT (-40.411867 -2.74203)'))) / (select extract(epoch from '2026-07-17 08:29:18'::timestamp) - extract(epoch from '2026-07-17 08:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411834 -2.741991)', '2026-07-17 08:29:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411867 -2.74203)'), GeomFromEWKT('SRID=4674;POINT (-40.411834 -2.741991)'))) / (select extract(epoch from '2026-07-17 08:29:26'::timestamp) - extract(epoch from '2026-07-17 08:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411867 -2.74203)'), GeomFromEWKT('SRID=4674;POINT (-40.411834 -2.741991)'))) / (select extract(epoch from '2026-07-17 08:29:26'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411786 -2.741971)', '2026-07-17 08:29:34', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411834 -2.741991)'), GeomFromEWKT('SRID=4674;POINT (-40.411786 -2.741971)'))) / (select extract(epoch from '2026-07-17 08:29:34'::timestamp) - extract(epoch from '2026-07-17 08:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411834 -2.741991)'), GeomFromEWKT('SRID=4674;POINT (-40.411786 -2.741971)'))) / (select extract(epoch from '2026-07-17 08:29:34'::timestamp) - extract(epoch from '2026-07-17 08:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411755 -2.741967)', '2026-07-17 08:29:40', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411786 -2.741971)'), GeomFromEWKT('SRID=4674;POINT (-40.411755 -2.741967)'))) / (select extract(epoch from '2026-07-17 08:29:40'::timestamp) - extract(epoch from '2026-07-17 08:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411786 -2.741971)'), GeomFromEWKT('SRID=4674;POINT (-40.411755 -2.741967)'))) / (select extract(epoch from '2026-07-17 08:29:40'::timestamp) - extract(epoch from '2026-07-17 08:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411701 -2.742)', '2026-07-17 08:29:48', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411755 -2.741967)'), GeomFromEWKT('SRID=4674;POINT (-40.411701 -2.742)'))) / (select extract(epoch from '2026-07-17 08:29:48'::timestamp) - extract(epoch from '2026-07-17 08:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411755 -2.741967)'), GeomFromEWKT('SRID=4674;POINT (-40.411701 -2.742)'))) / (select extract(epoch from '2026-07-17 08:29:48'::timestamp) - extract(epoch from '2026-07-17 08:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411696 -2.742024)', '2026-07-17 08:29:52', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411701 -2.742)'), GeomFromEWKT('SRID=4674;POINT (-40.411696 -2.742024)'))) / (select extract(epoch from '2026-07-17 08:29:52'::timestamp) - extract(epoch from '2026-07-17 08:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411701 -2.742)'), GeomFromEWKT('SRID=4674;POINT (-40.411696 -2.742024)'))) / (select extract(epoch from '2026-07-17 08:29:52'::timestamp) - extract(epoch from '2026-07-17 08:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411697 -2.74203)', '2026-07-17 08:29:54', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411696 -2.742024)'), GeomFromEWKT('SRID=4674;POINT (-40.411697 -2.74203)'))) / (select extract(epoch from '2026-07-17 08:29:54'::timestamp) - extract(epoch from '2026-07-17 08:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411696 -2.742024)'), GeomFromEWKT('SRID=4674;POINT (-40.411697 -2.74203)'))) / (select extract(epoch from '2026-07-17 08:29:54'::timestamp) - extract(epoch from '2026-07-17 08:29:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41169 -2.742082)', '2026-07-17 08:30:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411697 -2.74203)'), GeomFromEWKT('SRID=4674;POINT (-40.41169 -2.742082)'))) / (select extract(epoch from '2026-07-17 08:30:01'::timestamp) - extract(epoch from '2026-07-17 08:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411697 -2.74203)'), GeomFromEWKT('SRID=4674;POINT (-40.41169 -2.742082)'))) / (select extract(epoch from '2026-07-17 08:30:01'::timestamp) - extract(epoch from '2026-07-17 08:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411754 -2.742077)', '2026-07-17 08:30:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41169 -2.742082)'), GeomFromEWKT('SRID=4674;POINT (-40.411754 -2.742077)'))) / (select extract(epoch from '2026-07-17 08:30:07'::timestamp) - extract(epoch from '2026-07-17 08:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41169 -2.742082)'), GeomFromEWKT('SRID=4674;POINT (-40.411754 -2.742077)'))) / (select extract(epoch from '2026-07-17 08:30:07'::timestamp) - extract(epoch from '2026-07-17 08:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411815 -2.742081)', '2026-07-17 08:30:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411754 -2.742077)'), GeomFromEWKT('SRID=4674;POINT (-40.411815 -2.742081)'))) / (select extract(epoch from '2026-07-17 08:30:12'::timestamp) - extract(epoch from '2026-07-17 08:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411754 -2.742077)'), GeomFromEWKT('SRID=4674;POINT (-40.411815 -2.742081)'))) / (select extract(epoch from '2026-07-17 08:30:12'::timestamp) - extract(epoch from '2026-07-17 08:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411862 -2.742123)', '2026-07-17 08:30:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411815 -2.742081)'), GeomFromEWKT('SRID=4674;POINT (-40.411862 -2.742123)'))) / (select extract(epoch from '2026-07-17 08:30:20'::timestamp) - extract(epoch from '2026-07-17 08:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411815 -2.742081)'), GeomFromEWKT('SRID=4674;POINT (-40.411862 -2.742123)'))) / (select extract(epoch from '2026-07-17 08:30:20'::timestamp) - extract(epoch from '2026-07-17 08:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411912 -2.742159)', '2026-07-17 08:30:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411862 -2.742123)'), GeomFromEWKT('SRID=4674;POINT (-40.411912 -2.742159)'))) / (select extract(epoch from '2026-07-17 08:30:25'::timestamp) - extract(epoch from '2026-07-17 08:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411862 -2.742123)'), GeomFromEWKT('SRID=4674;POINT (-40.411912 -2.742159)'))) / (select extract(epoch from '2026-07-17 08:30:25'::timestamp) - extract(epoch from '2026-07-17 08:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411944 -2.742165)', '2026-07-17 08:30:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411912 -2.742159)'), GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.742165)'))) / (select extract(epoch from '2026-07-17 08:30:28'::timestamp) - extract(epoch from '2026-07-17 08:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411912 -2.742159)'), GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.742165)'))) / (select extract(epoch from '2026-07-17 08:30:28'::timestamp) - extract(epoch from '2026-07-17 08:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411984 -2.74215)', '2026-07-17 08:30:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.742165)'), GeomFromEWKT('SRID=4674;POINT (-40.411984 -2.74215)'))) / (select extract(epoch from '2026-07-17 08:30:36'::timestamp) - extract(epoch from '2026-07-17 08:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.742165)'), GeomFromEWKT('SRID=4674;POINT (-40.411984 -2.74215)'))) / (select extract(epoch from '2026-07-17 08:30:36'::timestamp) - extract(epoch from '2026-07-17 08:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412027 -2.742121)', '2026-07-17 08:30:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411984 -2.74215)'), GeomFromEWKT('SRID=4674;POINT (-40.412027 -2.742121)'))) / (select extract(epoch from '2026-07-17 08:30:45'::timestamp) - extract(epoch from '2026-07-17 08:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411984 -2.74215)'), GeomFromEWKT('SRID=4674;POINT (-40.412027 -2.742121)'))) / (select extract(epoch from '2026-07-17 08:30:45'::timestamp) - extract(epoch from '2026-07-17 08:30:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412069 -2.742104)', '2026-07-17 08:30:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412027 -2.742121)'), GeomFromEWKT('SRID=4674;POINT (-40.412069 -2.742104)'))) / (select extract(epoch from '2026-07-17 08:30:50'::timestamp) - extract(epoch from '2026-07-17 08:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412027 -2.742121)'), GeomFromEWKT('SRID=4674;POINT (-40.412069 -2.742104)'))) / (select extract(epoch from '2026-07-17 08:30:50'::timestamp) - extract(epoch from '2026-07-17 08:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412092 -2.742074)', '2026-07-17 08:30:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412069 -2.742104)'), GeomFromEWKT('SRID=4674;POINT (-40.412092 -2.742074)'))) / (select extract(epoch from '2026-07-17 08:30:53'::timestamp) - extract(epoch from '2026-07-17 08:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412069 -2.742104)'), GeomFromEWKT('SRID=4674;POINT (-40.412092 -2.742074)'))) / (select extract(epoch from '2026-07-17 08:30:53'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.412093 -2.742043)', '2026-07-17 08:30:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412092 -2.742074)'), GeomFromEWKT('SRID=4674;POINT (-40.412093 -2.742043)'))) / (select extract(epoch from '2026-07-17 08:30:56'::timestamp) - extract(epoch from '2026-07-17 08:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412092 -2.742074)'), GeomFromEWKT('SRID=4674;POINT (-40.412093 -2.742043)'))) / (select extract(epoch from '2026-07-17 08:30:56'::timestamp) - extract(epoch from '2026-07-17 08:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412088 -2.74201)', '2026-07-17 08:30:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412093 -2.742043)'), GeomFromEWKT('SRID=4674;POINT (-40.412088 -2.74201)'))) / (select extract(epoch from '2026-07-17 08:30:59'::timestamp) - extract(epoch from '2026-07-17 08:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412093 -2.742043)'), GeomFromEWKT('SRID=4674;POINT (-40.412088 -2.74201)'))) / (select extract(epoch from '2026-07-17 08:30:59'::timestamp) - extract(epoch from '2026-07-17 08:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412076 -2.741996)', '2026-07-17 08:31:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412088 -2.74201)'), GeomFromEWKT('SRID=4674;POINT (-40.412076 -2.741996)'))) / (select extract(epoch from '2026-07-17 08:31:01'::timestamp) - extract(epoch from '2026-07-17 08:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412088 -2.74201)'), GeomFromEWKT('SRID=4674;POINT (-40.412076 -2.741996)'))) / (select extract(epoch from '2026-07-17 08:31:01'::timestamp) - extract(epoch from '2026-07-17 08:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412042 -2.741964)', '2026-07-17 08:31:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412076 -2.741996)'), GeomFromEWKT('SRID=4674;POINT (-40.412042 -2.741964)'))) / (select extract(epoch from '2026-07-17 08:31:06'::timestamp) - extract(epoch from '2026-07-17 08:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412076 -2.741996)'), GeomFromEWKT('SRID=4674;POINT (-40.412042 -2.741964)'))) / (select extract(epoch from '2026-07-17 08:31:06'::timestamp) - extract(epoch from '2026-07-17 08:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412009 -2.741924)', '2026-07-17 08:31:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412042 -2.741964)'), GeomFromEWKT('SRID=4674;POINT (-40.412009 -2.741924)'))) / (select extract(epoch from '2026-07-17 08:31:12'::timestamp) - extract(epoch from '2026-07-17 08:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412042 -2.741964)'), GeomFromEWKT('SRID=4674;POINT (-40.412009 -2.741924)'))) / (select extract(epoch from '2026-07-17 08:31:12'::timestamp) - extract(epoch from '2026-07-17 08:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41196 -2.741906)', '2026-07-17 08:31:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412009 -2.741924)'), GeomFromEWKT('SRID=4674;POINT (-40.41196 -2.741906)'))) / (select extract(epoch from '2026-07-17 08:31:20'::timestamp) - extract(epoch from '2026-07-17 08:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412009 -2.741924)'), GeomFromEWKT('SRID=4674;POINT (-40.41196 -2.741906)'))) / (select extract(epoch from '2026-07-17 08:31:20'::timestamp) - extract(epoch from '2026-07-17 08:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411952 -2.741902)', '2026-07-17 08:31:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41196 -2.741906)'), GeomFromEWKT('SRID=4674;POINT (-40.411952 -2.741902)'))) / (select extract(epoch from '2026-07-17 08:31:30'::timestamp) - extract(epoch from '2026-07-17 08:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41196 -2.741906)'), GeomFromEWKT('SRID=4674;POINT (-40.411952 -2.741902)'))) / (select extract(epoch from '2026-07-17 08:31:30'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411944 -2.74184)', '2026-07-17 08:31:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411952 -2.741902)'), GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.74184)'))) / (select extract(epoch from '2026-07-17 08:31:50'::timestamp) - extract(epoch from '2026-07-17 08:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411952 -2.741902)'), GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.74184)'))) / (select extract(epoch from '2026-07-17 08:31:50'::timestamp) - extract(epoch from '2026-07-17 08:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411953 -2.741812)', '2026-07-17 08:31:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.74184)'), GeomFromEWKT('SRID=4674;POINT (-40.411953 -2.741812)'))) / (select extract(epoch from '2026-07-17 08:31:56'::timestamp) - extract(epoch from '2026-07-17 08:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411944 -2.74184)'), GeomFromEWKT('SRID=4674;POINT (-40.411953 -2.741812)'))) / (select extract(epoch from '2026-07-17 08:31:56'::timestamp) - extract(epoch from '2026-07-17 08: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'), 47831, 'SRID=4674;POINT (-40.411954 -2.741783)', '2026-07-17 08:32:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411953 -2.741812)'), GeomFromEWKT('SRID=4674;POINT (-40.411954 -2.741783)'))) / (select extract(epoch from '2026-07-17 08:32:04'::timestamp) - extract(epoch from '2026-07-17 08:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411953 -2.741812)'), GeomFromEWKT('SRID=4674;POINT (-40.411954 -2.741783)'))) / (select extract(epoch from '2026-07-17 08:32:04'::timestamp) - extract(epoch from '2026-07-17 08:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.411978 -2.741769)', '2026-07-17 08:32:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411954 -2.741783)'), GeomFromEWKT('SRID=4674;POINT (-40.411978 -2.741769)'))) / (select extract(epoch from '2026-07-17 08:32:10'::timestamp) - extract(epoch from '2026-07-17 08:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411954 -2.741783)'), GeomFromEWKT('SRID=4674;POINT (-40.411978 -2.741769)'))) / (select extract(epoch from '2026-07-17 08:32:10'::timestamp) - extract(epoch from '2026-07-17 08:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412015 -2.741753)', '2026-07-17 08:32:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411978 -2.741769)'), GeomFromEWKT('SRID=4674;POINT (-40.412015 -2.741753)'))) / (select extract(epoch from '2026-07-17 08:32:19'::timestamp) - extract(epoch from '2026-07-17 08:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411978 -2.741769)'), GeomFromEWKT('SRID=4674;POINT (-40.412015 -2.741753)'))) / (select extract(epoch from '2026-07-17 08:32:19'::timestamp) - extract(epoch from '2026-07-17 08:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412028 -2.741717)', '2026-07-17 08:32:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412015 -2.741753)'), GeomFromEWKT('SRID=4674;POINT (-40.412028 -2.741717)'))) / (select extract(epoch from '2026-07-17 08:32:27'::timestamp) - extract(epoch from '2026-07-17 08:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412015 -2.741753)'), GeomFromEWKT('SRID=4674;POINT (-40.412028 -2.741717)'))) / (select extract(epoch from '2026-07-17 08:32:27'::timestamp) - extract(epoch from '2026-07-17 08:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412029 -2.741718)', '2026-07-17 08:32:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412028 -2.741717)'), GeomFromEWKT('SRID=4674;POINT (-40.412029 -2.741718)'))) / (select extract(epoch from '2026-07-17 08:32:35'::timestamp) - extract(epoch from '2026-07-17 08:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412028 -2.741717)'), GeomFromEWKT('SRID=4674;POINT (-40.412029 -2.741718)'))) / (select extract(epoch from '2026-07-17 08:32:35'::timestamp) - extract(epoch from '2026-07-17 08:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412039 -2.741717)', '2026-07-17 08:32:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412029 -2.741718)'), GeomFromEWKT('SRID=4674;POINT (-40.412039 -2.741717)'))) / (select extract(epoch from '2026-07-17 08:32:42'::timestamp) - extract(epoch from '2026-07-17 08:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412029 -2.741718)'), GeomFromEWKT('SRID=4674;POINT (-40.412039 -2.741717)'))) / (select extract(epoch from '2026-07-17 08:32:42'::timestamp) - extract(epoch from '2026-07-17 08:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412058 -2.741699)', '2026-07-17 08:32:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412039 -2.741717)'), GeomFromEWKT('SRID=4674;POINT (-40.412058 -2.741699)'))) / (select extract(epoch from '2026-07-17 08:32:49'::timestamp) - extract(epoch from '2026-07-17 08:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412039 -2.741717)'), GeomFromEWKT('SRID=4674;POINT (-40.412058 -2.741699)'))) / (select extract(epoch from '2026-07-17 08:32:49'::timestamp) - extract(epoch from '2026-07-17 08:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412062 -2.741695)', '2026-07-17 08:32:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412058 -2.741699)'), GeomFromEWKT('SRID=4674;POINT (-40.412062 -2.741695)'))) / (select extract(epoch from '2026-07-17 08:32:58'::timestamp) - extract(epoch from '2026-07-17 08:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412058 -2.741699)'), GeomFromEWKT('SRID=4674;POINT (-40.412062 -2.741695)'))) / (select extract(epoch from '2026-07-17 08:32:58'::timestamp) - extract(epoch from '2026-07-17 08:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412045 -2.741653)', '2026-07-17 08:33:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412062 -2.741695)'), GeomFromEWKT('SRID=4674;POINT (-40.412045 -2.741653)'))) / (select extract(epoch from '2026-07-17 08:33:09'::timestamp) - extract(epoch from '2026-07-17 08:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412062 -2.741695)'), GeomFromEWKT('SRID=4674;POINT (-40.412045 -2.741653)'))) / (select extract(epoch from '2026-07-17 08:33:09'::timestamp) - extract(epoch from '2026-07-17 08:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412055 -2.741607)', '2026-07-17 08:33:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412045 -2.741653)'), GeomFromEWKT('SRID=4674;POINT (-40.412055 -2.741607)'))) / (select extract(epoch from '2026-07-17 08:33:15'::timestamp) - extract(epoch from '2026-07-17 08:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412045 -2.741653)'), GeomFromEWKT('SRID=4674;POINT (-40.412055 -2.741607)'))) / (select extract(epoch from '2026-07-17 08:33:15'::timestamp) - extract(epoch from '2026-07-17 08:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412037 -2.741538)', '2026-07-17 08:33:23', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412055 -2.741607)'), GeomFromEWKT('SRID=4674;POINT (-40.412037 -2.741538)'))) / (select extract(epoch from '2026-07-17 08:33:23'::timestamp) - extract(epoch from '2026-07-17 08:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412055 -2.741607)'), GeomFromEWKT('SRID=4674;POINT (-40.412037 -2.741538)'))) / (select extract(epoch from '2026-07-17 08:33:23'::timestamp) - extract(epoch from '2026-07-17 08:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412042 -2.741437)', '2026-07-17 08:33:30', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412037 -2.741538)'), GeomFromEWKT('SRID=4674;POINT (-40.412042 -2.741437)'))) / (select extract(epoch from '2026-07-17 08:33:30'::timestamp) - extract(epoch from '2026-07-17 08:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412037 -2.741538)'), GeomFromEWKT('SRID=4674;POINT (-40.412042 -2.741437)'))) / (select extract(epoch from '2026-07-17 08:33:30'::timestamp) - extract(epoch from '2026-07-17 08:33:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412063 -2.741343)', '2026-07-17 08:33:38', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412042 -2.741437)'), GeomFromEWKT('SRID=4674;POINT (-40.412063 -2.741343)'))) / (select extract(epoch from '2026-07-17 08:33:38'::timestamp) - extract(epoch from '2026-07-17 08:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412042 -2.741437)'), GeomFromEWKT('SRID=4674;POINT (-40.412063 -2.741343)'))) / (select extract(epoch from '2026-07-17 08:33:38'::timestamp) - extract(epoch from '2026-07-17 08:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412082 -2.741284)', '2026-07-17 08:33:45', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412063 -2.741343)'), GeomFromEWKT('SRID=4674;POINT (-40.412082 -2.741284)'))) / (select extract(epoch from '2026-07-17 08:33:45'::timestamp) - extract(epoch from '2026-07-17 08:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412063 -2.741343)'), GeomFromEWKT('SRID=4674;POINT (-40.412082 -2.741284)'))) / (select extract(epoch from '2026-07-17 08:33:45'::timestamp) - extract(epoch from '2026-07-17 08:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412143 -2.741164)', '2026-07-17 08:33:55', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412082 -2.741284)'), GeomFromEWKT('SRID=4674;POINT (-40.412143 -2.741164)'))) / (select extract(epoch from '2026-07-17 08:33:55'::timestamp) - extract(epoch from '2026-07-17 08:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412082 -2.741284)'), GeomFromEWKT('SRID=4674;POINT (-40.412143 -2.741164)'))) / (select extract(epoch from '2026-07-17 08:33:55'::timestamp) - extract(epoch from '2026-07-17 08:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41216 -2.741088)', '2026-07-17 08:34:01', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412143 -2.741164)'), GeomFromEWKT('SRID=4674;POINT (-40.41216 -2.741088)'))) / (select extract(epoch from '2026-07-17 08:34:01'::timestamp) - extract(epoch from '2026-07-17 08:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412143 -2.741164)'), GeomFromEWKT('SRID=4674;POINT (-40.41216 -2.741088)'))) / (select extract(epoch from '2026-07-17 08:34:01'::timestamp) - extract(epoch from '2026-07-17 08:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41219 -2.740958)', '2026-07-17 08:34:13', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41216 -2.741088)'), GeomFromEWKT('SRID=4674;POINT (-40.41219 -2.740958)'))) / (select extract(epoch from '2026-07-17 08:34:13'::timestamp) - extract(epoch from '2026-07-17 08:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41216 -2.741088)'), GeomFromEWKT('SRID=4674;POINT (-40.41219 -2.740958)'))) / (select extract(epoch from '2026-07-17 08:34:13'::timestamp) - extract(epoch from '2026-07-17 08:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412192 -2.740919)', '2026-07-17 08:34:21', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41219 -2.740958)'), GeomFromEWKT('SRID=4674;POINT (-40.412192 -2.740919)'))) / (select extract(epoch from '2026-07-17 08:34:21'::timestamp) - extract(epoch from '2026-07-17 08:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41219 -2.740958)'), GeomFromEWKT('SRID=4674;POINT (-40.412192 -2.740919)'))) / (select extract(epoch from '2026-07-17 08:34:21'::timestamp) - extract(epoch from '2026-07-17 08:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412171 -2.740912)', '2026-07-17 08:34:27', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412192 -2.740919)'), GeomFromEWKT('SRID=4674;POINT (-40.412171 -2.740912)'))) / (select extract(epoch from '2026-07-17 08:34:27'::timestamp) - extract(epoch from '2026-07-17 08:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412192 -2.740919)'), GeomFromEWKT('SRID=4674;POINT (-40.412171 -2.740912)'))) / (select extract(epoch from '2026-07-17 08:34:27'::timestamp) - extract(epoch from '2026-07-17 08:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412162 -2.740877)', '2026-07-17 08:34:37', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412171 -2.740912)'), GeomFromEWKT('SRID=4674;POINT (-40.412162 -2.740877)'))) / (select extract(epoch from '2026-07-17 08:34:37'::timestamp) - extract(epoch from '2026-07-17 08:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412171 -2.740912)'), GeomFromEWKT('SRID=4674;POINT (-40.412162 -2.740877)'))) / (select extract(epoch from '2026-07-17 08:34:37'::timestamp) - extract(epoch from '2026-07-17 08:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412204 -2.740799)', '2026-07-17 08:34:46', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412162 -2.740877)'), GeomFromEWKT('SRID=4674;POINT (-40.412204 -2.740799)'))) / (select extract(epoch from '2026-07-17 08:34:46'::timestamp) - extract(epoch from '2026-07-17 08:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412162 -2.740877)'), GeomFromEWKT('SRID=4674;POINT (-40.412204 -2.740799)'))) / (select extract(epoch from '2026-07-17 08:34:46'::timestamp) - extract(epoch from '2026-07-17 08:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412219 -2.740776)', '2026-07-17 08:34:53', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412204 -2.740799)'), GeomFromEWKT('SRID=4674;POINT (-40.412219 -2.740776)'))) / (select extract(epoch from '2026-07-17 08:34:53'::timestamp) - extract(epoch from '2026-07-17 08:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412204 -2.740799)'), GeomFromEWKT('SRID=4674;POINT (-40.412219 -2.740776)'))) / (select extract(epoch from '2026-07-17 08:34:53'::timestamp) - extract(epoch from '2026-07-17 08:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412241 -2.740766)', '2026-07-17 08:35:01', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412219 -2.740776)'), GeomFromEWKT('SRID=4674;POINT (-40.412241 -2.740766)'))) / (select extract(epoch from '2026-07-17 08:35:01'::timestamp) - extract(epoch from '2026-07-17 08:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412219 -2.740776)'), GeomFromEWKT('SRID=4674;POINT (-40.412241 -2.740766)'))) / (select extract(epoch from '2026-07-17 08:35:01'::timestamp) - extract(epoch from '2026-07-17 08:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412269 -2.740759)', '2026-07-17 08:35:11', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412241 -2.740766)'), GeomFromEWKT('SRID=4674;POINT (-40.412269 -2.740759)'))) / (select extract(epoch from '2026-07-17 08:35:11'::timestamp) - extract(epoch from '2026-07-17 08:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412241 -2.740766)'), GeomFromEWKT('SRID=4674;POINT (-40.412269 -2.740759)'))) / (select extract(epoch from '2026-07-17 08:35:11'::timestamp) - extract(epoch from '2026-07-17 08:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412277 -2.740763)', '2026-07-17 08:35:13', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412269 -2.740759)'), GeomFromEWKT('SRID=4674;POINT (-40.412277 -2.740763)'))) / (select extract(epoch from '2026-07-17 08:35:13'::timestamp) - extract(epoch from '2026-07-17 08:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412269 -2.740759)'), GeomFromEWKT('SRID=4674;POINT (-40.412277 -2.740763)'))) / (select extract(epoch from '2026-07-17 08:35:13'::timestamp) - extract(epoch from '2026-07-17 08:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412293 -2.740748)', '2026-07-17 08:35:18', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412277 -2.740763)'), GeomFromEWKT('SRID=4674;POINT (-40.412293 -2.740748)'))) / (select extract(epoch from '2026-07-17 08:35:18'::timestamp) - extract(epoch from '2026-07-17 08:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412277 -2.740763)'), GeomFromEWKT('SRID=4674;POINT (-40.412293 -2.740748)'))) / (select extract(epoch from '2026-07-17 08:35:18'::timestamp) - extract(epoch from '2026-07-17 08:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412317 -2.74072)', '2026-07-17 08:35:28', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412293 -2.740748)'), GeomFromEWKT('SRID=4674;POINT (-40.412317 -2.74072)'))) / (select extract(epoch from '2026-07-17 08:35:28'::timestamp) - extract(epoch from '2026-07-17 08:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412293 -2.740748)'), GeomFromEWKT('SRID=4674;POINT (-40.412317 -2.74072)'))) / (select extract(epoch from '2026-07-17 08:35:28'::timestamp) - extract(epoch from '2026-07-17 08:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412339 -2.740733)', '2026-07-17 08:35:37', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412317 -2.74072)'), GeomFromEWKT('SRID=4674;POINT (-40.412339 -2.740733)'))) / (select extract(epoch from '2026-07-17 08:35:37'::timestamp) - extract(epoch from '2026-07-17 08:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412317 -2.74072)'), GeomFromEWKT('SRID=4674;POINT (-40.412339 -2.740733)'))) / (select extract(epoch from '2026-07-17 08:35:37'::timestamp) - extract(epoch from '2026-07-17 08:35:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412342 -2.740722)', '2026-07-17 08:35:42', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412339 -2.740733)'), GeomFromEWKT('SRID=4674;POINT (-40.412342 -2.740722)'))) / (select extract(epoch from '2026-07-17 08:35:42'::timestamp) - extract(epoch from '2026-07-17 08:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412339 -2.740733)'), GeomFromEWKT('SRID=4674;POINT (-40.412342 -2.740722)'))) / (select extract(epoch from '2026-07-17 08:35:42'::timestamp) - extract(epoch from '2026-07-17 08:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41235 -2.740692)', '2026-07-17 08:35:48', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412342 -2.740722)'), GeomFromEWKT('SRID=4674;POINT (-40.41235 -2.740692)'))) / (select extract(epoch from '2026-07-17 08:35:48'::timestamp) - extract(epoch from '2026-07-17 08:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412342 -2.740722)'), GeomFromEWKT('SRID=4674;POINT (-40.41235 -2.740692)'))) / (select extract(epoch from '2026-07-17 08:35:48'::timestamp) - extract(epoch from '2026-07-17 08:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412406 -2.740643)', '2026-07-17 08:36:04', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41235 -2.740692)'), GeomFromEWKT('SRID=4674;POINT (-40.412406 -2.740643)'))) / (select extract(epoch from '2026-07-17 08:36:04'::timestamp) - extract(epoch from '2026-07-17 08:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41235 -2.740692)'), GeomFromEWKT('SRID=4674;POINT (-40.412406 -2.740643)'))) / (select extract(epoch from '2026-07-17 08:36:04'::timestamp) - extract(epoch from '2026-07-17 08:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412432 -2.740643)', '2026-07-17 08:36:10', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412406 -2.740643)'), GeomFromEWKT('SRID=4674;POINT (-40.412432 -2.740643)'))) / (select extract(epoch from '2026-07-17 08:36:10'::timestamp) - extract(epoch from '2026-07-17 08:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412406 -2.740643)'), GeomFromEWKT('SRID=4674;POINT (-40.412432 -2.740643)'))) / (select extract(epoch from '2026-07-17 08:36:10'::timestamp) - extract(epoch from '2026-07-17 08:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412447 -2.74062)', '2026-07-17 08:36:21', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412432 -2.740643)'), GeomFromEWKT('SRID=4674;POINT (-40.412447 -2.74062)'))) / (select extract(epoch from '2026-07-17 08:36:21'::timestamp) - extract(epoch from '2026-07-17 08:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412432 -2.740643)'), GeomFromEWKT('SRID=4674;POINT (-40.412447 -2.74062)'))) / (select extract(epoch from '2026-07-17 08:36:21'::timestamp) - extract(epoch from '2026-07-17 08:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412484 -2.74062)', '2026-07-17 08:36:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412447 -2.74062)'), GeomFromEWKT('SRID=4674;POINT (-40.412484 -2.74062)'))) / (select extract(epoch from '2026-07-17 08:36:37'::timestamp) - extract(epoch from '2026-07-17 08:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412447 -2.74062)'), GeomFromEWKT('SRID=4674;POINT (-40.412484 -2.74062)'))) / (select extract(epoch from '2026-07-17 08:36:37'::timestamp) - extract(epoch from '2026-07-17 08:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412484 -2.740626)', '2026-07-17 08:36:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412484 -2.74062)'), GeomFromEWKT('SRID=4674;POINT (-40.412484 -2.740626)'))) / (select extract(epoch from '2026-07-17 08:36:45'::timestamp) - extract(epoch from '2026-07-17 08:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412484 -2.74062)'), GeomFromEWKT('SRID=4674;POINT (-40.412484 -2.740626)'))) / (select extract(epoch from '2026-07-17 08:36:45'::timestamp) - extract(epoch from '2026-07-17 08:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412522 -2.740566)', '2026-07-17 08:37:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412484 -2.740626)'), GeomFromEWKT('SRID=4674;POINT (-40.412522 -2.740566)'))) / (select extract(epoch from '2026-07-17 08:37:10'::timestamp) - extract(epoch from '2026-07-17 08:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412484 -2.740626)'), GeomFromEWKT('SRID=4674;POINT (-40.412522 -2.740566)'))) / (select extract(epoch from '2026-07-17 08:37:10'::timestamp) - extract(epoch from '2026-07-17 08:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412524 -2.740537)', '2026-07-17 08:37:21', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412522 -2.740566)'), GeomFromEWKT('SRID=4674;POINT (-40.412524 -2.740537)'))) / (select extract(epoch from '2026-07-17 08:37:21'::timestamp) - extract(epoch from '2026-07-17 08:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412522 -2.740566)'), GeomFromEWKT('SRID=4674;POINT (-40.412524 -2.740537)'))) / (select extract(epoch from '2026-07-17 08:37:21'::timestamp) - extract(epoch from '2026-07-17 08:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412546 -2.740519)', '2026-07-17 08:37:28', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412524 -2.740537)'), GeomFromEWKT('SRID=4674;POINT (-40.412546 -2.740519)'))) / (select extract(epoch from '2026-07-17 08:37:28'::timestamp) - extract(epoch from '2026-07-17 08:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412524 -2.740537)'), GeomFromEWKT('SRID=4674;POINT (-40.412546 -2.740519)'))) / (select extract(epoch from '2026-07-17 08:37:28'::timestamp) - extract(epoch from '2026-07-17 08:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41257 -2.740465)', '2026-07-17 08:37:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412546 -2.740519)'), GeomFromEWKT('SRID=4674;POINT (-40.41257 -2.740465)'))) / (select extract(epoch from '2026-07-17 08:37:38'::timestamp) - extract(epoch from '2026-07-17 08:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412546 -2.740519)'), GeomFromEWKT('SRID=4674;POINT (-40.41257 -2.740465)'))) / (select extract(epoch from '2026-07-17 08:37:38'::timestamp) - extract(epoch from '2026-07-17 08:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412593 -2.74042)', '2026-07-17 08:37:45', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41257 -2.740465)'), GeomFromEWKT('SRID=4674;POINT (-40.412593 -2.74042)'))) / (select extract(epoch from '2026-07-17 08:37:45'::timestamp) - extract(epoch from '2026-07-17 08:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41257 -2.740465)'), GeomFromEWKT('SRID=4674;POINT (-40.412593 -2.74042)'))) / (select extract(epoch from '2026-07-17 08:37:45'::timestamp) - extract(epoch from '2026-07-17 08:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41263 -2.740379)', '2026-07-17 08:37:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412593 -2.74042)'), GeomFromEWKT('SRID=4674;POINT (-40.41263 -2.740379)'))) / (select extract(epoch from '2026-07-17 08:37:53'::timestamp) - extract(epoch from '2026-07-17 08:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412593 -2.74042)'), GeomFromEWKT('SRID=4674;POINT (-40.41263 -2.740379)'))) / (select extract(epoch from '2026-07-17 08:37:53'::timestamp) - extract(epoch from '2026-07-17 08:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412645 -2.74035)', '2026-07-17 08:38:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41263 -2.740379)'), GeomFromEWKT('SRID=4674;POINT (-40.412645 -2.74035)'))) / (select extract(epoch from '2026-07-17 08:38:00'::timestamp) - extract(epoch from '2026-07-17 08:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41263 -2.740379)'), GeomFromEWKT('SRID=4674;POINT (-40.412645 -2.74035)'))) / (select extract(epoch from '2026-07-17 08:38:00'::timestamp) - extract(epoch from '2026-07-17 08:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412637 -2.740326)', '2026-07-17 08:38:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412645 -2.74035)'), GeomFromEWKT('SRID=4674;POINT (-40.412637 -2.740326)'))) / (select extract(epoch from '2026-07-17 08:38:10'::timestamp) - extract(epoch from '2026-07-17 08:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412645 -2.74035)'), GeomFromEWKT('SRID=4674;POINT (-40.412637 -2.740326)'))) / (select extract(epoch from '2026-07-17 08:38:10'::timestamp) - extract(epoch from '2026-07-17 08:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412653 -2.740295)', '2026-07-17 08:38:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412637 -2.740326)'), GeomFromEWKT('SRID=4674;POINT (-40.412653 -2.740295)'))) / (select extract(epoch from '2026-07-17 08:38:21'::timestamp) - extract(epoch from '2026-07-17 08:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412637 -2.740326)'), GeomFromEWKT('SRID=4674;POINT (-40.412653 -2.740295)'))) / (select extract(epoch from '2026-07-17 08:38:21'::timestamp) - extract(epoch from '2026-07-17 08:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412676 -2.740276)', '2026-07-17 08:38:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412653 -2.740295)'), GeomFromEWKT('SRID=4674;POINT (-40.412676 -2.740276)'))) / (select extract(epoch from '2026-07-17 08:38:29'::timestamp) - extract(epoch from '2026-07-17 08:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412653 -2.740295)'), GeomFromEWKT('SRID=4674;POINT (-40.412676 -2.740276)'))) / (select extract(epoch from '2026-07-17 08:38:29'::timestamp) - extract(epoch from '2026-07-17 08:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412681 -2.740223)', '2026-07-17 08:38:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412676 -2.740276)'), GeomFromEWKT('SRID=4674;POINT (-40.412681 -2.740223)'))) / (select extract(epoch from '2026-07-17 08:38:38'::timestamp) - extract(epoch from '2026-07-17 08:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412676 -2.740276)'), GeomFromEWKT('SRID=4674;POINT (-40.412681 -2.740223)'))) / (select extract(epoch from '2026-07-17 08:38:38'::timestamp) - extract(epoch from '2026-07-17 08:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412647 -2.740186)', '2026-07-17 08:38:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412681 -2.740223)'), GeomFromEWKT('SRID=4674;POINT (-40.412647 -2.740186)'))) / (select extract(epoch from '2026-07-17 08:38:44'::timestamp) - extract(epoch from '2026-07-17 08:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412681 -2.740223)'), GeomFromEWKT('SRID=4674;POINT (-40.412647 -2.740186)'))) / (select extract(epoch from '2026-07-17 08:38:44'::timestamp) - extract(epoch from '2026-07-17 08:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412579 -2.74013)', '2026-07-17 08:38:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412647 -2.740186)'), GeomFromEWKT('SRID=4674;POINT (-40.412579 -2.74013)'))) / (select extract(epoch from '2026-07-17 08:38:51'::timestamp) - extract(epoch from '2026-07-17 08:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412647 -2.740186)'), GeomFromEWKT('SRID=4674;POINT (-40.412579 -2.74013)'))) / (select extract(epoch from '2026-07-17 08:38:51'::timestamp) - extract(epoch from '2026-07-17 08:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412583 -2.740054)', '2026-07-17 08:39:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412579 -2.74013)'), GeomFromEWKT('SRID=4674;POINT (-40.412583 -2.740054)'))) / (select extract(epoch from '2026-07-17 08:39:00'::timestamp) - extract(epoch from '2026-07-17 08:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412579 -2.74013)'), GeomFromEWKT('SRID=4674;POINT (-40.412583 -2.740054)'))) / (select extract(epoch from '2026-07-17 08:39:00'::timestamp) - extract(epoch from '2026-07-17 08:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412613 -2.740015)', '2026-07-17 08:39:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412583 -2.740054)'), GeomFromEWKT('SRID=4674;POINT (-40.412613 -2.740015)'))) / (select extract(epoch from '2026-07-17 08:39:07'::timestamp) - extract(epoch from '2026-07-17 08:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412583 -2.740054)'), GeomFromEWKT('SRID=4674;POINT (-40.412613 -2.740015)'))) / (select extract(epoch from '2026-07-17 08:39:07'::timestamp) - extract(epoch from '2026-07-17 08:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412686 -2.739954)', '2026-07-17 08:39:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412613 -2.740015)'), GeomFromEWKT('SRID=4674;POINT (-40.412686 -2.739954)'))) / (select extract(epoch from '2026-07-17 08:39:17'::timestamp) - extract(epoch from '2026-07-17 08:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412613 -2.740015)'), GeomFromEWKT('SRID=4674;POINT (-40.412686 -2.739954)'))) / (select extract(epoch from '2026-07-17 08:39:17'::timestamp) - extract(epoch from '2026-07-17 08:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412759 -2.739833)', '2026-07-17 08:39:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412686 -2.739954)'), GeomFromEWKT('SRID=4674;POINT (-40.412759 -2.739833)'))) / (select extract(epoch from '2026-07-17 08:39:24'::timestamp) - extract(epoch from '2026-07-17 08:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412686 -2.739954)'), GeomFromEWKT('SRID=4674;POINT (-40.412759 -2.739833)'))) / (select extract(epoch from '2026-07-17 08:39:24'::timestamp) - extract(epoch from '2026-07-17 08:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412717 -2.739815)', '2026-07-17 08:39:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412759 -2.739833)'), GeomFromEWKT('SRID=4674;POINT (-40.412717 -2.739815)'))) / (select extract(epoch from '2026-07-17 08:39:32'::timestamp) - extract(epoch from '2026-07-17 08:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412759 -2.739833)'), GeomFromEWKT('SRID=4674;POINT (-40.412717 -2.739815)'))) / (select extract(epoch from '2026-07-17 08:39:32'::timestamp) - extract(epoch from '2026-07-17 08:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412656 -2.739812)', '2026-07-17 08:39:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412717 -2.739815)'), GeomFromEWKT('SRID=4674;POINT (-40.412656 -2.739812)'))) / (select extract(epoch from '2026-07-17 08:39:38'::timestamp) - extract(epoch from '2026-07-17 08:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412717 -2.739815)'), GeomFromEWKT('SRID=4674;POINT (-40.412656 -2.739812)'))) / (select extract(epoch from '2026-07-17 08:39:38'::timestamp) - extract(epoch from '2026-07-17 08:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412591 -2.739845)', '2026-07-17 08:39:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412656 -2.739812)'), GeomFromEWKT('SRID=4674;POINT (-40.412591 -2.739845)'))) / (select extract(epoch from '2026-07-17 08:39:44'::timestamp) - extract(epoch from '2026-07-17 08:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412656 -2.739812)'), GeomFromEWKT('SRID=4674;POINT (-40.412591 -2.739845)'))) / (select extract(epoch from '2026-07-17 08:39:44'::timestamp) - extract(epoch from '2026-07-17 08:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412585 -2.739851)', '2026-07-17 08:39:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412591 -2.739845)'), GeomFromEWKT('SRID=4674;POINT (-40.412585 -2.739851)'))) / (select extract(epoch from '2026-07-17 08:39:45'::timestamp) - extract(epoch from '2026-07-17 08:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412591 -2.739845)'), GeomFromEWKT('SRID=4674;POINT (-40.412585 -2.739851)'))) / (select extract(epoch from '2026-07-17 08:39:45'::timestamp) - extract(epoch from '2026-07-17 08:39:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41257 -2.739909)', '2026-07-17 08:39:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412585 -2.739851)'), GeomFromEWKT('SRID=4674;POINT (-40.41257 -2.739909)'))) / (select extract(epoch from '2026-07-17 08:39:53'::timestamp) - extract(epoch from '2026-07-17 08:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412585 -2.739851)'), GeomFromEWKT('SRID=4674;POINT (-40.41257 -2.739909)'))) / (select extract(epoch from '2026-07-17 08:39:53'::timestamp) - extract(epoch from '2026-07-17 08:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412567 -2.739935)', '2026-07-17 08:40:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41257 -2.739909)'), GeomFromEWKT('SRID=4674;POINT (-40.412567 -2.739935)'))) / (select extract(epoch from '2026-07-17 08:40:02'::timestamp) - extract(epoch from '2026-07-17 08:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41257 -2.739909)'), GeomFromEWKT('SRID=4674;POINT (-40.412567 -2.739935)'))) / (select extract(epoch from '2026-07-17 08:40:02'::timestamp) - extract(epoch from '2026-07-17 08:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412572 -2.739939)', '2026-07-17 08:40:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412567 -2.739935)'), GeomFromEWKT('SRID=4674;POINT (-40.412572 -2.739939)'))) / (select extract(epoch from '2026-07-17 08:40:12'::timestamp) - extract(epoch from '2026-07-17 08:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412567 -2.739935)'), GeomFromEWKT('SRID=4674;POINT (-40.412572 -2.739939)'))) / (select extract(epoch from '2026-07-17 08:40:12'::timestamp) - extract(epoch from '2026-07-17 08:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412595 -2.739939)', '2026-07-17 08:40:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412572 -2.739939)'), GeomFromEWKT('SRID=4674;POINT (-40.412595 -2.739939)'))) / (select extract(epoch from '2026-07-17 08:40:33'::timestamp) - extract(epoch from '2026-07-17 08:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412572 -2.739939)'), GeomFromEWKT('SRID=4674;POINT (-40.412595 -2.739939)'))) / (select extract(epoch from '2026-07-17 08:40:33'::timestamp) - extract(epoch from '2026-07-17 08:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412642 -2.739929)', '2026-07-17 08:40:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412595 -2.739939)'), GeomFromEWKT('SRID=4674;POINT (-40.412642 -2.739929)'))) / (select extract(epoch from '2026-07-17 08:40:42'::timestamp) - extract(epoch from '2026-07-17 08:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412595 -2.739939)'), GeomFromEWKT('SRID=4674;POINT (-40.412642 -2.739929)'))) / (select extract(epoch from '2026-07-17 08:40:42'::timestamp) - extract(epoch from '2026-07-17 08:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41267 -2.739913)', '2026-07-17 08:40:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412642 -2.739929)'), GeomFromEWKT('SRID=4674;POINT (-40.41267 -2.739913)'))) / (select extract(epoch from '2026-07-17 08:40:48'::timestamp) - extract(epoch from '2026-07-17 08:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412642 -2.739929)'), GeomFromEWKT('SRID=4674;POINT (-40.41267 -2.739913)'))) / (select extract(epoch from '2026-07-17 08:40:48'::timestamp) - extract(epoch from '2026-07-17 08:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412689 -2.739903)', '2026-07-17 08:40:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41267 -2.739913)'), GeomFromEWKT('SRID=4674;POINT (-40.412689 -2.739903)'))) / (select extract(epoch from '2026-07-17 08:40:55'::timestamp) - extract(epoch from '2026-07-17 08:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41267 -2.739913)'), GeomFromEWKT('SRID=4674;POINT (-40.412689 -2.739903)'))) / (select extract(epoch from '2026-07-17 08:40:55'::timestamp) - extract(epoch from '2026-07-17 08:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41271 -2.7399)', '2026-07-17 08:41:07', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412689 -2.739903)'), GeomFromEWKT('SRID=4674;POINT (-40.41271 -2.7399)'))) / (select extract(epoch from '2026-07-17 08:41:07'::timestamp) - extract(epoch from '2026-07-17 08:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412689 -2.739903)'), GeomFromEWKT('SRID=4674;POINT (-40.41271 -2.7399)'))) / (select extract(epoch from '2026-07-17 08:41:07'::timestamp) - extract(epoch from '2026-07-17 08:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41272 -2.739872)', '2026-07-17 08:41:17', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41271 -2.7399)'), GeomFromEWKT('SRID=4674;POINT (-40.41272 -2.739872)'))) / (select extract(epoch from '2026-07-17 08:41:17'::timestamp) - extract(epoch from '2026-07-17 08:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41271 -2.7399)'), GeomFromEWKT('SRID=4674;POINT (-40.41272 -2.739872)'))) / (select extract(epoch from '2026-07-17 08:41:17'::timestamp) - extract(epoch from '2026-07-17 08:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412751 -2.739841)', '2026-07-17 08:41:25', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41272 -2.739872)'), GeomFromEWKT('SRID=4674;POINT (-40.412751 -2.739841)'))) / (select extract(epoch from '2026-07-17 08:41:25'::timestamp) - extract(epoch from '2026-07-17 08:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41272 -2.739872)'), GeomFromEWKT('SRID=4674;POINT (-40.412751 -2.739841)'))) / (select extract(epoch from '2026-07-17 08:41:25'::timestamp) - extract(epoch from '2026-07-17 08:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412765 -2.739822)', '2026-07-17 08:41:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412751 -2.739841)'), GeomFromEWKT('SRID=4674;POINT (-40.412765 -2.739822)'))) / (select extract(epoch from '2026-07-17 08:41:33'::timestamp) - extract(epoch from '2026-07-17 08:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412751 -2.739841)'), GeomFromEWKT('SRID=4674;POINT (-40.412765 -2.739822)'))) / (select extract(epoch from '2026-07-17 08:41:33'::timestamp) - extract(epoch from '2026-07-17 08:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412799 -2.739786)', '2026-07-17 08:41:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412765 -2.739822)'), GeomFromEWKT('SRID=4674;POINT (-40.412799 -2.739786)'))) / (select extract(epoch from '2026-07-17 08:41:39'::timestamp) - extract(epoch from '2026-07-17 08:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412765 -2.739822)'), GeomFromEWKT('SRID=4674;POINT (-40.412799 -2.739786)'))) / (select extract(epoch from '2026-07-17 08:41:39'::timestamp) - extract(epoch from '2026-07-17 08:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412826 -2.739771)', '2026-07-17 08:41:45', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412799 -2.739786)'), GeomFromEWKT('SRID=4674;POINT (-40.412826 -2.739771)'))) / (select extract(epoch from '2026-07-17 08:41:45'::timestamp) - extract(epoch from '2026-07-17 08:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412799 -2.739786)'), GeomFromEWKT('SRID=4674;POINT (-40.412826 -2.739771)'))) / (select extract(epoch from '2026-07-17 08:41:45'::timestamp) - extract(epoch from '2026-07-17 08:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412839 -2.739769)', '2026-07-17 08:41:53', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412826 -2.739771)'), GeomFromEWKT('SRID=4674;POINT (-40.412839 -2.739769)'))) / (select extract(epoch from '2026-07-17 08:41:53'::timestamp) - extract(epoch from '2026-07-17 08:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412826 -2.739771)'), GeomFromEWKT('SRID=4674;POINT (-40.412839 -2.739769)'))) / (select extract(epoch from '2026-07-17 08:41:53'::timestamp) - extract(epoch from '2026-07-17 08:41:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412889 -2.739756)', '2026-07-17 08:42:09', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412839 -2.739769)'), GeomFromEWKT('SRID=4674;POINT (-40.412889 -2.739756)'))) / (select extract(epoch from '2026-07-17 08:42:09'::timestamp) - extract(epoch from '2026-07-17 08:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412839 -2.739769)'), GeomFromEWKT('SRID=4674;POINT (-40.412889 -2.739756)'))) / (select extract(epoch from '2026-07-17 08:42:09'::timestamp) - extract(epoch from '2026-07-17 08:41:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.412951 -2.73974)', '2026-07-17 08:42:16', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412889 -2.739756)'), GeomFromEWKT('SRID=4674;POINT (-40.412951 -2.73974)'))) / (select extract(epoch from '2026-07-17 08:42:16'::timestamp) - extract(epoch from '2026-07-17 08:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412889 -2.739756)'), GeomFromEWKT('SRID=4674;POINT (-40.412951 -2.73974)'))) / (select extract(epoch from '2026-07-17 08:42:16'::timestamp) - extract(epoch from '2026-07-17 08:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413017 -2.739693)', '2026-07-17 08:42:22', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412951 -2.73974)'), GeomFromEWKT('SRID=4674;POINT (-40.413017 -2.739693)'))) / (select extract(epoch from '2026-07-17 08:42:22'::timestamp) - extract(epoch from '2026-07-17 08:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412951 -2.73974)'), GeomFromEWKT('SRID=4674;POINT (-40.413017 -2.739693)'))) / (select extract(epoch from '2026-07-17 08:42:22'::timestamp) - extract(epoch from '2026-07-17 08:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413032 -2.73967)', '2026-07-17 08:42:24', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413017 -2.739693)'), GeomFromEWKT('SRID=4674;POINT (-40.413032 -2.73967)'))) / (select extract(epoch from '2026-07-17 08:42:24'::timestamp) - extract(epoch from '2026-07-17 08:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413017 -2.739693)'), GeomFromEWKT('SRID=4674;POINT (-40.413032 -2.73967)'))) / (select extract(epoch from '2026-07-17 08:42:24'::timestamp) - extract(epoch from '2026-07-17 08:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413071 -2.739528)', '2026-07-17 08:42:31', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413032 -2.73967)'), GeomFromEWKT('SRID=4674;POINT (-40.413071 -2.739528)'))) / (select extract(epoch from '2026-07-17 08:42:31'::timestamp) - extract(epoch from '2026-07-17 08:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413032 -2.73967)'), GeomFromEWKT('SRID=4674;POINT (-40.413071 -2.739528)'))) / (select extract(epoch from '2026-07-17 08:42:31'::timestamp) - extract(epoch from '2026-07-17 08:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413093 -2.739405)', '2026-07-17 08:42:38', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413071 -2.739528)'), GeomFromEWKT('SRID=4674;POINT (-40.413093 -2.739405)'))) / (select extract(epoch from '2026-07-17 08:42:38'::timestamp) - extract(epoch from '2026-07-17 08:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413071 -2.739528)'), GeomFromEWKT('SRID=4674;POINT (-40.413093 -2.739405)'))) / (select extract(epoch from '2026-07-17 08:42:38'::timestamp) - extract(epoch from '2026-07-17 08:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413131 -2.739337)', '2026-07-17 08:42:44', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413093 -2.739405)'), GeomFromEWKT('SRID=4674;POINT (-40.413131 -2.739337)'))) / (select extract(epoch from '2026-07-17 08:42:44'::timestamp) - extract(epoch from '2026-07-17 08:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413093 -2.739405)'), GeomFromEWKT('SRID=4674;POINT (-40.413131 -2.739337)'))) / (select extract(epoch from '2026-07-17 08:42:44'::timestamp) - extract(epoch from '2026-07-17 08:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413179 -2.739279)', '2026-07-17 08:42:52', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413131 -2.739337)'), GeomFromEWKT('SRID=4674;POINT (-40.413179 -2.739279)'))) / (select extract(epoch from '2026-07-17 08:42:52'::timestamp) - extract(epoch from '2026-07-17 08:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413131 -2.739337)'), GeomFromEWKT('SRID=4674;POINT (-40.413179 -2.739279)'))) / (select extract(epoch from '2026-07-17 08:42:52'::timestamp) - extract(epoch from '2026-07-17 08:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413237 -2.739247)', '2026-07-17 08:43:00', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413179 -2.739279)'), GeomFromEWKT('SRID=4674;POINT (-40.413237 -2.739247)'))) / (select extract(epoch from '2026-07-17 08:43:00'::timestamp) - extract(epoch from '2026-07-17 08:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413179 -2.739279)'), GeomFromEWKT('SRID=4674;POINT (-40.413237 -2.739247)'))) / (select extract(epoch from '2026-07-17 08:43:00'::timestamp) - extract(epoch from '2026-07-17 08:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413293 -2.739217)', '2026-07-17 08:43:08', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413237 -2.739247)'), GeomFromEWKT('SRID=4674;POINT (-40.413293 -2.739217)'))) / (select extract(epoch from '2026-07-17 08:43:08'::timestamp) - extract(epoch from '2026-07-17 08:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413237 -2.739247)'), GeomFromEWKT('SRID=4674;POINT (-40.413293 -2.739217)'))) / (select extract(epoch from '2026-07-17 08:43:08'::timestamp) - extract(epoch from '2026-07-17 08:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413318 -2.739206)', '2026-07-17 08:43:15', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413293 -2.739217)'), GeomFromEWKT('SRID=4674;POINT (-40.413318 -2.739206)'))) / (select extract(epoch from '2026-07-17 08:43:15'::timestamp) - extract(epoch from '2026-07-17 08:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413293 -2.739217)'), GeomFromEWKT('SRID=4674;POINT (-40.413318 -2.739206)'))) / (select extract(epoch from '2026-07-17 08:43:15'::timestamp) - extract(epoch from '2026-07-17 08:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413385 -2.739183)', '2026-07-17 08:43:23', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413318 -2.739206)'), GeomFromEWKT('SRID=4674;POINT (-40.413385 -2.739183)'))) / (select extract(epoch from '2026-07-17 08:43:23'::timestamp) - extract(epoch from '2026-07-17 08:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413318 -2.739206)'), GeomFromEWKT('SRID=4674;POINT (-40.413385 -2.739183)'))) / (select extract(epoch from '2026-07-17 08:43:23'::timestamp) - extract(epoch from '2026-07-17 08:43:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413418 -2.739148)', '2026-07-17 08:43:30', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413385 -2.739183)'), GeomFromEWKT('SRID=4674;POINT (-40.413418 -2.739148)'))) / (select extract(epoch from '2026-07-17 08:43:30'::timestamp) - extract(epoch from '2026-07-17 08:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413385 -2.739183)'), GeomFromEWKT('SRID=4674;POINT (-40.413418 -2.739148)'))) / (select extract(epoch from '2026-07-17 08:43:30'::timestamp) - extract(epoch from '2026-07-17 08:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413445 -2.739093)', '2026-07-17 08:43:38', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413418 -2.739148)'), GeomFromEWKT('SRID=4674;POINT (-40.413445 -2.739093)'))) / (select extract(epoch from '2026-07-17 08:43:38'::timestamp) - extract(epoch from '2026-07-17 08:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413418 -2.739148)'), GeomFromEWKT('SRID=4674;POINT (-40.413445 -2.739093)'))) / (select extract(epoch from '2026-07-17 08:43:38'::timestamp) - extract(epoch from '2026-07-17 08:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413424 -2.739036)', '2026-07-17 08:43:45', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413445 -2.739093)'), GeomFromEWKT('SRID=4674;POINT (-40.413424 -2.739036)'))) / (select extract(epoch from '2026-07-17 08:43:45'::timestamp) - extract(epoch from '2026-07-17 08:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413445 -2.739093)'), GeomFromEWKT('SRID=4674;POINT (-40.413424 -2.739036)'))) / (select extract(epoch from '2026-07-17 08:43:45'::timestamp) - extract(epoch from '2026-07-17 08:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413377 -2.739039)', '2026-07-17 08:43:51', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413424 -2.739036)'), GeomFromEWKT('SRID=4674;POINT (-40.413377 -2.739039)'))) / (select extract(epoch from '2026-07-17 08:43:51'::timestamp) - extract(epoch from '2026-07-17 08:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413424 -2.739036)'), GeomFromEWKT('SRID=4674;POINT (-40.413377 -2.739039)'))) / (select extract(epoch from '2026-07-17 08:43:51'::timestamp) - extract(epoch from '2026-07-17 08:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413368 -2.739047)', '2026-07-17 08:43:52', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413377 -2.739039)'), GeomFromEWKT('SRID=4674;POINT (-40.413368 -2.739047)'))) / (select extract(epoch from '2026-07-17 08:43:52'::timestamp) - extract(epoch from '2026-07-17 08:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413377 -2.739039)'), GeomFromEWKT('SRID=4674;POINT (-40.413368 -2.739047)'))) / (select extract(epoch from '2026-07-17 08:43:52'::timestamp) - extract(epoch from '2026-07-17 08:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413329 -2.739092)', '2026-07-17 08:43:59', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413368 -2.739047)'), GeomFromEWKT('SRID=4674;POINT (-40.413329 -2.739092)'))) / (select extract(epoch from '2026-07-17 08:43:59'::timestamp) - extract(epoch from '2026-07-17 08:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413368 -2.739047)'), GeomFromEWKT('SRID=4674;POINT (-40.413329 -2.739092)'))) / (select extract(epoch from '2026-07-17 08:43:59'::timestamp) - extract(epoch from '2026-07-17 08:43:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413275 -2.739142)', '2026-07-17 08:44:05', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413329 -2.739092)'), GeomFromEWKT('SRID=4674;POINT (-40.413275 -2.739142)'))) / (select extract(epoch from '2026-07-17 08:44:05'::timestamp) - extract(epoch from '2026-07-17 08:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413329 -2.739092)'), GeomFromEWKT('SRID=4674;POINT (-40.413275 -2.739142)'))) / (select extract(epoch from '2026-07-17 08:44:05'::timestamp) - extract(epoch from '2026-07-17 08:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413231 -2.739221)', '2026-07-17 08:44:12', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413275 -2.739142)'), GeomFromEWKT('SRID=4674;POINT (-40.413231 -2.739221)'))) / (select extract(epoch from '2026-07-17 08:44:12'::timestamp) - extract(epoch from '2026-07-17 08:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413275 -2.739142)'), GeomFromEWKT('SRID=4674;POINT (-40.413231 -2.739221)'))) / (select extract(epoch from '2026-07-17 08:44:12'::timestamp) - extract(epoch from '2026-07-17 08:44:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413205 -2.739271)', '2026-07-17 08:44:19', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413231 -2.739221)'), GeomFromEWKT('SRID=4674;POINT (-40.413205 -2.739271)'))) / (select extract(epoch from '2026-07-17 08:44:19'::timestamp) - extract(epoch from '2026-07-17 08:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413231 -2.739221)'), GeomFromEWKT('SRID=4674;POINT (-40.413205 -2.739271)'))) / (select extract(epoch from '2026-07-17 08:44:19'::timestamp) - extract(epoch from '2026-07-17 08:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413172 -2.739271)', '2026-07-17 08:44:27', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413205 -2.739271)'), GeomFromEWKT('SRID=4674;POINT (-40.413172 -2.739271)'))) / (select extract(epoch from '2026-07-17 08:44:27'::timestamp) - extract(epoch from '2026-07-17 08:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413205 -2.739271)'), GeomFromEWKT('SRID=4674;POINT (-40.413172 -2.739271)'))) / (select extract(epoch from '2026-07-17 08:44:27'::timestamp) - extract(epoch from '2026-07-17 08:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413154 -2.739254)', '2026-07-17 08:44:33', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413172 -2.739271)'), GeomFromEWKT('SRID=4674;POINT (-40.413154 -2.739254)'))) / (select extract(epoch from '2026-07-17 08:44:33'::timestamp) - extract(epoch from '2026-07-17 08:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413172 -2.739271)'), GeomFromEWKT('SRID=4674;POINT (-40.413154 -2.739254)'))) / (select extract(epoch from '2026-07-17 08:44:33'::timestamp) - extract(epoch from '2026-07-17 08:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413163 -2.739217)', '2026-07-17 08:44:55', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413154 -2.739254)'), GeomFromEWKT('SRID=4674;POINT (-40.413163 -2.739217)'))) / (select extract(epoch from '2026-07-17 08:44:55'::timestamp) - extract(epoch from '2026-07-17 08:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413154 -2.739254)'), GeomFromEWKT('SRID=4674;POINT (-40.413163 -2.739217)'))) / (select extract(epoch from '2026-07-17 08:44:55'::timestamp) - extract(epoch from '2026-07-17 08:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413144 -2.739193)', '2026-07-17 08:45:03', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413163 -2.739217)'), GeomFromEWKT('SRID=4674;POINT (-40.413144 -2.739193)'))) / (select extract(epoch from '2026-07-17 08:45:03'::timestamp) - extract(epoch from '2026-07-17 08:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413163 -2.739217)'), GeomFromEWKT('SRID=4674;POINT (-40.413144 -2.739193)'))) / (select extract(epoch from '2026-07-17 08:45:03'::timestamp) - extract(epoch from '2026-07-17 08:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413148 -2.739192)', '2026-07-17 08:45:12', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413144 -2.739193)'), GeomFromEWKT('SRID=4674;POINT (-40.413148 -2.739192)'))) / (select extract(epoch from '2026-07-17 08:45:12'::timestamp) - extract(epoch from '2026-07-17 08:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413144 -2.739193)'), GeomFromEWKT('SRID=4674;POINT (-40.413148 -2.739192)'))) / (select extract(epoch from '2026-07-17 08:45:12'::timestamp) - extract(epoch from '2026-07-17 08:45:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413173 -2.739145)', '2026-07-17 08:45:19', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413148 -2.739192)'), GeomFromEWKT('SRID=4674;POINT (-40.413173 -2.739145)'))) / (select extract(epoch from '2026-07-17 08:45:19'::timestamp) - extract(epoch from '2026-07-17 08:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413148 -2.739192)'), GeomFromEWKT('SRID=4674;POINT (-40.413173 -2.739145)'))) / (select extract(epoch from '2026-07-17 08:45:19'::timestamp) - extract(epoch from '2026-07-17 08:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413196 -2.739117)', '2026-07-17 08:45:25', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413173 -2.739145)'), GeomFromEWKT('SRID=4674;POINT (-40.413196 -2.739117)'))) / (select extract(epoch from '2026-07-17 08:45:25'::timestamp) - extract(epoch from '2026-07-17 08:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413173 -2.739145)'), GeomFromEWKT('SRID=4674;POINT (-40.413196 -2.739117)'))) / (select extract(epoch from '2026-07-17 08:45:25'::timestamp) - extract(epoch from '2026-07-17 08:45:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413218 -2.739109)', '2026-07-17 08:45:37', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413196 -2.739117)'), GeomFromEWKT('SRID=4674;POINT (-40.413218 -2.739109)'))) / (select extract(epoch from '2026-07-17 08:45:37'::timestamp) - extract(epoch from '2026-07-17 08:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413196 -2.739117)'), GeomFromEWKT('SRID=4674;POINT (-40.413218 -2.739109)'))) / (select extract(epoch from '2026-07-17 08:45:37'::timestamp) - extract(epoch from '2026-07-17 08:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413217 -2.739091)', '2026-07-17 08:45:46', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413218 -2.739109)'), GeomFromEWKT('SRID=4674;POINT (-40.413217 -2.739091)'))) / (select extract(epoch from '2026-07-17 08:45:46'::timestamp) - extract(epoch from '2026-07-17 08:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413218 -2.739109)'), GeomFromEWKT('SRID=4674;POINT (-40.413217 -2.739091)'))) / (select extract(epoch from '2026-07-17 08:45:46'::timestamp) - extract(epoch from '2026-07-17 08:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413259 -2.739036)', '2026-07-17 08:46:04', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413217 -2.739091)'), GeomFromEWKT('SRID=4674;POINT (-40.413259 -2.739036)'))) / (select extract(epoch from '2026-07-17 08:46:04'::timestamp) - extract(epoch from '2026-07-17 08:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413217 -2.739091)'), GeomFromEWKT('SRID=4674;POINT (-40.413259 -2.739036)'))) / (select extract(epoch from '2026-07-17 08:46:04'::timestamp) - extract(epoch from '2026-07-17 08:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413283 -2.739001)', '2026-07-17 08:46:12', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413259 -2.739036)'), GeomFromEWKT('SRID=4674;POINT (-40.413283 -2.739001)'))) / (select extract(epoch from '2026-07-17 08:46:12'::timestamp) - extract(epoch from '2026-07-17 08:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413259 -2.739036)'), GeomFromEWKT('SRID=4674;POINT (-40.413283 -2.739001)'))) / (select extract(epoch from '2026-07-17 08:46:12'::timestamp) - extract(epoch from '2026-07-17 08:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413311 -2.73896)', '2026-07-17 08:46:25', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413283 -2.739001)'), GeomFromEWKT('SRID=4674;POINT (-40.413311 -2.73896)'))) / (select extract(epoch from '2026-07-17 08:46:25'::timestamp) - extract(epoch from '2026-07-17 08:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413283 -2.739001)'), GeomFromEWKT('SRID=4674;POINT (-40.413311 -2.73896)'))) / (select extract(epoch from '2026-07-17 08:46:25'::timestamp) - extract(epoch from '2026-07-17 08:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413333 -2.738912)', '2026-07-17 08:46:33', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413311 -2.73896)'), GeomFromEWKT('SRID=4674;POINT (-40.413333 -2.738912)'))) / (select extract(epoch from '2026-07-17 08:46:33'::timestamp) - extract(epoch from '2026-07-17 08:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413311 -2.73896)'), GeomFromEWKT('SRID=4674;POINT (-40.413333 -2.738912)'))) / (select extract(epoch from '2026-07-17 08:46:33'::timestamp) - extract(epoch from '2026-07-17 08:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413363 -2.738875)', '2026-07-17 08:46:40', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413333 -2.738912)'), GeomFromEWKT('SRID=4674;POINT (-40.413363 -2.738875)'))) / (select extract(epoch from '2026-07-17 08:46:40'::timestamp) - extract(epoch from '2026-07-17 08:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413333 -2.738912)'), GeomFromEWKT('SRID=4674;POINT (-40.413363 -2.738875)'))) / (select extract(epoch from '2026-07-17 08:46:40'::timestamp) - extract(epoch from '2026-07-17 08:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413384 -2.73886)', '2026-07-17 08:46:46', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413363 -2.738875)'), GeomFromEWKT('SRID=4674;POINT (-40.413384 -2.73886)'))) / (select extract(epoch from '2026-07-17 08:46:46'::timestamp) - extract(epoch from '2026-07-17 08:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413363 -2.738875)'), GeomFromEWKT('SRID=4674;POINT (-40.413384 -2.73886)'))) / (select extract(epoch from '2026-07-17 08:46:46'::timestamp) - extract(epoch from '2026-07-17 08:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413412 -2.738841)', '2026-07-17 08:46:52', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413384 -2.73886)'), GeomFromEWKT('SRID=4674;POINT (-40.413412 -2.738841)'))) / (select extract(epoch from '2026-07-17 08:46:52'::timestamp) - extract(epoch from '2026-07-17 08:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413384 -2.73886)'), GeomFromEWKT('SRID=4674;POINT (-40.413412 -2.738841)'))) / (select extract(epoch from '2026-07-17 08:46:52'::timestamp) - extract(epoch from '2026-07-17 08:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413445 -2.738811)', '2026-07-17 08:47:00', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413412 -2.738841)'), GeomFromEWKT('SRID=4674;POINT (-40.413445 -2.738811)'))) / (select extract(epoch from '2026-07-17 08:47:00'::timestamp) - extract(epoch from '2026-07-17 08:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413412 -2.738841)'), GeomFromEWKT('SRID=4674;POINT (-40.413445 -2.738811)'))) / (select extract(epoch from '2026-07-17 08:47:00'::timestamp) - extract(epoch from '2026-07-17 08:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413461 -2.738785)', '2026-07-17 08:47:08', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413445 -2.738811)'), GeomFromEWKT('SRID=4674;POINT (-40.413461 -2.738785)'))) / (select extract(epoch from '2026-07-17 08:47:08'::timestamp) - extract(epoch from '2026-07-17 08:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413445 -2.738811)'), GeomFromEWKT('SRID=4674;POINT (-40.413461 -2.738785)'))) / (select extract(epoch from '2026-07-17 08:47:08'::timestamp) - extract(epoch from '2026-07-17 08:47:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413501 -2.738786)', '2026-07-17 08:47:14', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413461 -2.738785)'), GeomFromEWKT('SRID=4674;POINT (-40.413501 -2.738786)'))) / (select extract(epoch from '2026-07-17 08:47:14'::timestamp) - extract(epoch from '2026-07-17 08:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413461 -2.738785)'), GeomFromEWKT('SRID=4674;POINT (-40.413501 -2.738786)'))) / (select extract(epoch from '2026-07-17 08:47:14'::timestamp) - extract(epoch from '2026-07-17 08:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413524 -2.738788)', '2026-07-17 08:47:20', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413501 -2.738786)'), GeomFromEWKT('SRID=4674;POINT (-40.413524 -2.738788)'))) / (select extract(epoch from '2026-07-17 08:47:20'::timestamp) - extract(epoch from '2026-07-17 08:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413501 -2.738786)'), GeomFromEWKT('SRID=4674;POINT (-40.413524 -2.738788)'))) / (select extract(epoch from '2026-07-17 08:47:20'::timestamp) - extract(epoch from '2026-07-17 08:47:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413528 -2.73875)', '2026-07-17 08:47:28', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413524 -2.738788)'), GeomFromEWKT('SRID=4674;POINT (-40.413528 -2.73875)'))) / (select extract(epoch from '2026-07-17 08:47:28'::timestamp) - extract(epoch from '2026-07-17 08:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413524 -2.738788)'), GeomFromEWKT('SRID=4674;POINT (-40.413528 -2.73875)'))) / (select extract(epoch from '2026-07-17 08:47:28'::timestamp) - extract(epoch from '2026-07-17 08:47:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413533 -2.738731)', '2026-07-17 08:47:35', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413528 -2.73875)'), GeomFromEWKT('SRID=4674;POINT (-40.413533 -2.738731)'))) / (select extract(epoch from '2026-07-17 08:47:35'::timestamp) - extract(epoch from '2026-07-17 08:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413528 -2.73875)'), GeomFromEWKT('SRID=4674;POINT (-40.413533 -2.738731)'))) / (select extract(epoch from '2026-07-17 08:47:35'::timestamp) - extract(epoch from '2026-07-17 08:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41355 -2.738711)', '2026-07-17 08:47:45', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413533 -2.738731)'), GeomFromEWKT('SRID=4674;POINT (-40.41355 -2.738711)'))) / (select extract(epoch from '2026-07-17 08:47:45'::timestamp) - extract(epoch from '2026-07-17 08:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413533 -2.738731)'), GeomFromEWKT('SRID=4674;POINT (-40.41355 -2.738711)'))) / (select extract(epoch from '2026-07-17 08:47:45'::timestamp) - extract(epoch from '2026-07-17 08:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413558 -2.738696)', '2026-07-17 08:47:51', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41355 -2.738711)'), GeomFromEWKT('SRID=4674;POINT (-40.413558 -2.738696)'))) / (select extract(epoch from '2026-07-17 08:47:51'::timestamp) - extract(epoch from '2026-07-17 08:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41355 -2.738711)'), GeomFromEWKT('SRID=4674;POINT (-40.413558 -2.738696)'))) / (select extract(epoch from '2026-07-17 08:47:51'::timestamp) - extract(epoch from '2026-07-17 08:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413593 -2.7387)', '2026-07-17 08:48:00', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413558 -2.738696)'), GeomFromEWKT('SRID=4674;POINT (-40.413593 -2.7387)'))) / (select extract(epoch from '2026-07-17 08:48:00'::timestamp) - extract(epoch from '2026-07-17 08:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413558 -2.738696)'), GeomFromEWKT('SRID=4674;POINT (-40.413593 -2.7387)'))) / (select extract(epoch from '2026-07-17 08:48:00'::timestamp) - extract(epoch from '2026-07-17 08:47:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413595 -2.738685)', '2026-07-17 08:48:10', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413593 -2.7387)'), GeomFromEWKT('SRID=4674;POINT (-40.413595 -2.738685)'))) / (select extract(epoch from '2026-07-17 08:48:10'::timestamp) - extract(epoch from '2026-07-17 08:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413593 -2.7387)'), GeomFromEWKT('SRID=4674;POINT (-40.413595 -2.738685)'))) / (select extract(epoch from '2026-07-17 08:48:10'::timestamp) - extract(epoch from '2026-07-17 08:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413612 -2.738655)', '2026-07-17 08:48:20', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413595 -2.738685)'), GeomFromEWKT('SRID=4674;POINT (-40.413612 -2.738655)'))) / (select extract(epoch from '2026-07-17 08:48:20'::timestamp) - extract(epoch from '2026-07-17 08:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413595 -2.738685)'), GeomFromEWKT('SRID=4674;POINT (-40.413612 -2.738655)'))) / (select extract(epoch from '2026-07-17 08:48:20'::timestamp) - extract(epoch from '2026-07-17 08:48:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413636 -2.738645)', '2026-07-17 08:48:28', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413612 -2.738655)'), GeomFromEWKT('SRID=4674;POINT (-40.413636 -2.738645)'))) / (select extract(epoch from '2026-07-17 08:48:28'::timestamp) - extract(epoch from '2026-07-17 08:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413612 -2.738655)'), GeomFromEWKT('SRID=4674;POINT (-40.413636 -2.738645)'))) / (select extract(epoch from '2026-07-17 08:48:28'::timestamp) - extract(epoch from '2026-07-17 08:48:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413647 -2.738636)', '2026-07-17 08:48:39', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413636 -2.738645)'), GeomFromEWKT('SRID=4674;POINT (-40.413647 -2.738636)'))) / (select extract(epoch from '2026-07-17 08:48:39'::timestamp) - extract(epoch from '2026-07-17 08:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413636 -2.738645)'), GeomFromEWKT('SRID=4674;POINT (-40.413647 -2.738636)'))) / (select extract(epoch from '2026-07-17 08:48:39'::timestamp) - extract(epoch from '2026-07-17 08:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413667 -2.738624)', '2026-07-17 08:48:45', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413647 -2.738636)'), GeomFromEWKT('SRID=4674;POINT (-40.413667 -2.738624)'))) / (select extract(epoch from '2026-07-17 08:48:45'::timestamp) - extract(epoch from '2026-07-17 08:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413647 -2.738636)'), GeomFromEWKT('SRID=4674;POINT (-40.413667 -2.738624)'))) / (select extract(epoch from '2026-07-17 08:48:45'::timestamp) - extract(epoch from '2026-07-17 08:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413665 -2.738587)', '2026-07-17 08:48:53', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413667 -2.738624)'), GeomFromEWKT('SRID=4674;POINT (-40.413665 -2.738587)'))) / (select extract(epoch from '2026-07-17 08:48:53'::timestamp) - extract(epoch from '2026-07-17 08:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413667 -2.738624)'), GeomFromEWKT('SRID=4674;POINT (-40.413665 -2.738587)'))) / (select extract(epoch from '2026-07-17 08:48:53'::timestamp) - extract(epoch from '2026-07-17 08:48:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413665 -2.738566)', '2026-07-17 08:49:00', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413665 -2.738587)'), GeomFromEWKT('SRID=4674;POINT (-40.413665 -2.738566)'))) / (select extract(epoch from '2026-07-17 08:49:00'::timestamp) - extract(epoch from '2026-07-17 08:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413665 -2.738587)'), GeomFromEWKT('SRID=4674;POINT (-40.413665 -2.738566)'))) / (select extract(epoch from '2026-07-17 08:49:00'::timestamp) - extract(epoch from '2026-07-17 08:48:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413646 -2.7385)', '2026-07-17 08:49:06', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413665 -2.738566)'), GeomFromEWKT('SRID=4674;POINT (-40.413646 -2.7385)'))) / (select extract(epoch from '2026-07-17 08:49:06'::timestamp) - extract(epoch from '2026-07-17 08:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413665 -2.738566)'), GeomFromEWKT('SRID=4674;POINT (-40.413646 -2.7385)'))) / (select extract(epoch from '2026-07-17 08:49:06'::timestamp) - extract(epoch from '2026-07-17 08:49:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413638 -2.738438)', '2026-07-17 08:49:11', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413646 -2.7385)'), GeomFromEWKT('SRID=4674;POINT (-40.413638 -2.738438)'))) / (select extract(epoch from '2026-07-17 08:49:11'::timestamp) - extract(epoch from '2026-07-17 08:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413646 -2.7385)'), GeomFromEWKT('SRID=4674;POINT (-40.413638 -2.738438)'))) / (select extract(epoch from '2026-07-17 08:49:11'::timestamp) - extract(epoch from '2026-07-17 08:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413671 -2.738361)', '2026-07-17 08:49:16', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413638 -2.738438)'), GeomFromEWKT('SRID=4674;POINT (-40.413671 -2.738361)'))) / (select extract(epoch from '2026-07-17 08:49:16'::timestamp) - extract(epoch from '2026-07-17 08:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413638 -2.738438)'), GeomFromEWKT('SRID=4674;POINT (-40.413671 -2.738361)'))) / (select extract(epoch from '2026-07-17 08:49:16'::timestamp) - extract(epoch from '2026-07-17 08:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413741 -2.738254)', '2026-07-17 08:49:24', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413671 -2.738361)'), GeomFromEWKT('SRID=4674;POINT (-40.413741 -2.738254)'))) / (select extract(epoch from '2026-07-17 08:49:24'::timestamp) - extract(epoch from '2026-07-17 08:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413671 -2.738361)'), GeomFromEWKT('SRID=4674;POINT (-40.413741 -2.738254)'))) / (select extract(epoch from '2026-07-17 08:49:24'::timestamp) - extract(epoch from '2026-07-17 08:49:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413763 -2.738154)', '2026-07-17 08:49:33', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413741 -2.738254)'), GeomFromEWKT('SRID=4674;POINT (-40.413763 -2.738154)'))) / (select extract(epoch from '2026-07-17 08:49:33'::timestamp) - extract(epoch from '2026-07-17 08:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413741 -2.738254)'), GeomFromEWKT('SRID=4674;POINT (-40.413763 -2.738154)'))) / (select extract(epoch from '2026-07-17 08:49:33'::timestamp) - extract(epoch from '2026-07-17 08:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413764 -2.738042)', '2026-07-17 08:49:41', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413763 -2.738154)'), GeomFromEWKT('SRID=4674;POINT (-40.413764 -2.738042)'))) / (select extract(epoch from '2026-07-17 08:49:41'::timestamp) - extract(epoch from '2026-07-17 08:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413763 -2.738154)'), GeomFromEWKT('SRID=4674;POINT (-40.413764 -2.738042)'))) / (select extract(epoch from '2026-07-17 08:49:41'::timestamp) - extract(epoch from '2026-07-17 08:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413776 -2.737994)', '2026-07-17 08:49:49', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413764 -2.738042)'), GeomFromEWKT('SRID=4674;POINT (-40.413776 -2.737994)'))) / (select extract(epoch from '2026-07-17 08:49:49'::timestamp) - extract(epoch from '2026-07-17 08:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413764 -2.738042)'), GeomFromEWKT('SRID=4674;POINT (-40.413776 -2.737994)'))) / (select extract(epoch from '2026-07-17 08:49:49'::timestamp) - extract(epoch from '2026-07-17 08:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413759 -2.737969)', '2026-07-17 08:49:58', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413776 -2.737994)'), GeomFromEWKT('SRID=4674;POINT (-40.413759 -2.737969)'))) / (select extract(epoch from '2026-07-17 08:49:58'::timestamp) - extract(epoch from '2026-07-17 08:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413776 -2.737994)'), GeomFromEWKT('SRID=4674;POINT (-40.413759 -2.737969)'))) / (select extract(epoch from '2026-07-17 08:49:58'::timestamp) - extract(epoch from '2026-07-17 08:49:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413741 -2.737942)', '2026-07-17 08:50:05', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413759 -2.737969)'), GeomFromEWKT('SRID=4674;POINT (-40.413741 -2.737942)'))) / (select extract(epoch from '2026-07-17 08:50:05'::timestamp) - extract(epoch from '2026-07-17 08:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413759 -2.737969)'), GeomFromEWKT('SRID=4674;POINT (-40.413741 -2.737942)'))) / (select extract(epoch from '2026-07-17 08:50:05'::timestamp) - extract(epoch from '2026-07-17 08:49:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413707 -2.737925)', '2026-07-17 08:50:14', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413741 -2.737942)'), GeomFromEWKT('SRID=4674;POINT (-40.413707 -2.737925)'))) / (select extract(epoch from '2026-07-17 08:50:14'::timestamp) - extract(epoch from '2026-07-17 08:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413741 -2.737942)'), GeomFromEWKT('SRID=4674;POINT (-40.413707 -2.737925)'))) / (select extract(epoch from '2026-07-17 08:50:14'::timestamp) - extract(epoch from '2026-07-17 08:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413687 -2.73793)', '2026-07-17 08:50:22', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413707 -2.737925)'), GeomFromEWKT('SRID=4674;POINT (-40.413687 -2.73793)'))) / (select extract(epoch from '2026-07-17 08:50:22'::timestamp) - extract(epoch from '2026-07-17 08:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413707 -2.737925)'), GeomFromEWKT('SRID=4674;POINT (-40.413687 -2.73793)'))) / (select extract(epoch from '2026-07-17 08:50:22'::timestamp) - extract(epoch from '2026-07-17 08:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413732 -2.737983)', '2026-07-17 08:50:30', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413687 -2.73793)'), GeomFromEWKT('SRID=4674;POINT (-40.413732 -2.737983)'))) / (select extract(epoch from '2026-07-17 08:50:30'::timestamp) - extract(epoch from '2026-07-17 08:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413687 -2.73793)'), GeomFromEWKT('SRID=4674;POINT (-40.413732 -2.737983)'))) / (select extract(epoch from '2026-07-17 08:50:30'::timestamp) - extract(epoch from '2026-07-17 08:50:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413787 -2.738034)', '2026-07-17 08:50:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413732 -2.737983)'), GeomFromEWKT('SRID=4674;POINT (-40.413787 -2.738034)'))) / (select extract(epoch from '2026-07-17 08:50:38'::timestamp) - extract(epoch from '2026-07-17 08:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413732 -2.737983)'), GeomFromEWKT('SRID=4674;POINT (-40.413787 -2.738034)'))) / (select extract(epoch from '2026-07-17 08:50:38'::timestamp) - extract(epoch from '2026-07-17 08:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413801 -2.738044)', '2026-07-17 08:50:48', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413787 -2.738034)'), GeomFromEWKT('SRID=4674;POINT (-40.413801 -2.738044)'))) / (select extract(epoch from '2026-07-17 08:50:48'::timestamp) - extract(epoch from '2026-07-17 08:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413787 -2.738034)'), GeomFromEWKT('SRID=4674;POINT (-40.413801 -2.738044)'))) / (select extract(epoch from '2026-07-17 08:50:48'::timestamp) - extract(epoch from '2026-07-17 08:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413831 -2.738022)', '2026-07-17 08:50:55', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413801 -2.738044)'), GeomFromEWKT('SRID=4674;POINT (-40.413831 -2.738022)'))) / (select extract(epoch from '2026-07-17 08:50:55'::timestamp) - extract(epoch from '2026-07-17 08:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413801 -2.738044)'), GeomFromEWKT('SRID=4674;POINT (-40.413831 -2.738022)'))) / (select extract(epoch from '2026-07-17 08:50:55'::timestamp) - extract(epoch from '2026-07-17 08:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413861 -2.737965)', '2026-07-17 08:51:04', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413831 -2.738022)'), GeomFromEWKT('SRID=4674;POINT (-40.413861 -2.737965)'))) / (select extract(epoch from '2026-07-17 08:51:04'::timestamp) - extract(epoch from '2026-07-17 08:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413831 -2.738022)'), GeomFromEWKT('SRID=4674;POINT (-40.413861 -2.737965)'))) / (select extract(epoch from '2026-07-17 08:51:04'::timestamp) - extract(epoch from '2026-07-17 08:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413919 -2.737903)', '2026-07-17 08:51:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413861 -2.737965)'), GeomFromEWKT('SRID=4674;POINT (-40.413919 -2.737903)'))) / (select extract(epoch from '2026-07-17 08:51:12'::timestamp) - extract(epoch from '2026-07-17 08:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413861 -2.737965)'), GeomFromEWKT('SRID=4674;POINT (-40.413919 -2.737903)'))) / (select extract(epoch from '2026-07-17 08:51:12'::timestamp) - extract(epoch from '2026-07-17 08:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413932 -2.737859)', '2026-07-17 08:51:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413919 -2.737903)'), GeomFromEWKT('SRID=4674;POINT (-40.413932 -2.737859)'))) / (select extract(epoch from '2026-07-17 08:51:19'::timestamp) - extract(epoch from '2026-07-17 08:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413919 -2.737903)'), GeomFromEWKT('SRID=4674;POINT (-40.413932 -2.737859)'))) / (select extract(epoch from '2026-07-17 08:51:19'::timestamp) - extract(epoch from '2026-07-17 08:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413955 -2.737792)', '2026-07-17 08:51:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413932 -2.737859)'), GeomFromEWKT('SRID=4674;POINT (-40.413955 -2.737792)'))) / (select extract(epoch from '2026-07-17 08:51:27'::timestamp) - extract(epoch from '2026-07-17 08:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413932 -2.737859)'), GeomFromEWKT('SRID=4674;POINT (-40.413955 -2.737792)'))) / (select extract(epoch from '2026-07-17 08:51:27'::timestamp) - extract(epoch from '2026-07-17 08:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.413991 -2.737758)', '2026-07-17 08:51:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413955 -2.737792)'), GeomFromEWKT('SRID=4674;POINT (-40.413991 -2.737758)'))) / (select extract(epoch from '2026-07-17 08:51:33'::timestamp) - extract(epoch from '2026-07-17 08:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413955 -2.737792)'), GeomFromEWKT('SRID=4674;POINT (-40.413991 -2.737758)'))) / (select extract(epoch from '2026-07-17 08:51:33'::timestamp) - extract(epoch from '2026-07-17 08:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414046 -2.737718)', '2026-07-17 08:51:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413991 -2.737758)'), GeomFromEWKT('SRID=4674;POINT (-40.414046 -2.737718)'))) / (select extract(epoch from '2026-07-17 08:51:40'::timestamp) - extract(epoch from '2026-07-17 08:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413991 -2.737758)'), GeomFromEWKT('SRID=4674;POINT (-40.414046 -2.737718)'))) / (select extract(epoch from '2026-07-17 08:51:40'::timestamp) - extract(epoch from '2026-07-17 08:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414158 -2.737692)', '2026-07-17 08:51:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414046 -2.737718)'), GeomFromEWKT('SRID=4674;POINT (-40.414158 -2.737692)'))) / (select extract(epoch from '2026-07-17 08:51:49'::timestamp) - extract(epoch from '2026-07-17 08:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414046 -2.737718)'), GeomFromEWKT('SRID=4674;POINT (-40.414158 -2.737692)'))) / (select extract(epoch from '2026-07-17 08:51:49'::timestamp) - extract(epoch from '2026-07-17 08:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414288 -2.737729)', '2026-07-17 08:51:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414158 -2.737692)'), GeomFromEWKT('SRID=4674;POINT (-40.414288 -2.737729)'))) / (select extract(epoch from '2026-07-17 08:51:57'::timestamp) - extract(epoch from '2026-07-17 08:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414158 -2.737692)'), GeomFromEWKT('SRID=4674;POINT (-40.414288 -2.737729)'))) / (select extract(epoch from '2026-07-17 08:51:57'::timestamp) - extract(epoch from '2026-07-17 08:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414354 -2.737717)', '2026-07-17 08:52:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414288 -2.737729)'), GeomFromEWKT('SRID=4674;POINT (-40.414354 -2.737717)'))) / (select extract(epoch from '2026-07-17 08:52:05'::timestamp) - extract(epoch from '2026-07-17 08:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414288 -2.737729)'), GeomFromEWKT('SRID=4674;POINT (-40.414354 -2.737717)'))) / (select extract(epoch from '2026-07-17 08:52:05'::timestamp) - extract(epoch from '2026-07-17 08:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414334 -2.737673)', '2026-07-17 08:52:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414354 -2.737717)'), GeomFromEWKT('SRID=4674;POINT (-40.414334 -2.737673)'))) / (select extract(epoch from '2026-07-17 08:52:12'::timestamp) - extract(epoch from '2026-07-17 08:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414354 -2.737717)'), GeomFromEWKT('SRID=4674;POINT (-40.414334 -2.737673)'))) / (select extract(epoch from '2026-07-17 08:52:12'::timestamp) - extract(epoch from '2026-07-17 08:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414267 -2.737614)', '2026-07-17 08:52:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414334 -2.737673)'), GeomFromEWKT('SRID=4674;POINT (-40.414267 -2.737614)'))) / (select extract(epoch from '2026-07-17 08:52:20'::timestamp) - extract(epoch from '2026-07-17 08:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414334 -2.737673)'), GeomFromEWKT('SRID=4674;POINT (-40.414267 -2.737614)'))) / (select extract(epoch from '2026-07-17 08:52:20'::timestamp) - extract(epoch from '2026-07-17 08:52:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414256 -2.737611)', '2026-07-17 08:52:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414267 -2.737614)'), GeomFromEWKT('SRID=4674;POINT (-40.414256 -2.737611)'))) / (select extract(epoch from '2026-07-17 08:52:21'::timestamp) - extract(epoch from '2026-07-17 08:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414267 -2.737614)'), GeomFromEWKT('SRID=4674;POINT (-40.414256 -2.737611)'))) / (select extract(epoch from '2026-07-17 08:52:21'::timestamp) - extract(epoch from '2026-07-17 08:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414209 -2.737608)', '2026-07-17 08:52:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414256 -2.737611)'), GeomFromEWKT('SRID=4674;POINT (-40.414209 -2.737608)'))) / (select extract(epoch from '2026-07-17 08:52:25'::timestamp) - extract(epoch from '2026-07-17 08:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414256 -2.737611)'), GeomFromEWKT('SRID=4674;POINT (-40.414209 -2.737608)'))) / (select extract(epoch from '2026-07-17 08:52:25'::timestamp) - extract(epoch from '2026-07-17 08:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414189 -2.737616)', '2026-07-17 08:52:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414209 -2.737608)'), GeomFromEWKT('SRID=4674;POINT (-40.414189 -2.737616)'))) / (select extract(epoch from '2026-07-17 08:52:27'::timestamp) - extract(epoch from '2026-07-17 08:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414209 -2.737608)'), GeomFromEWKT('SRID=4674;POINT (-40.414189 -2.737616)'))) / (select extract(epoch from '2026-07-17 08:52:27'::timestamp) - extract(epoch from '2026-07-17 08:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414158 -2.737627)', '2026-07-17 08:52:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414189 -2.737616)'), GeomFromEWKT('SRID=4674;POINT (-40.414158 -2.737627)'))) / (select extract(epoch from '2026-07-17 08:52:34'::timestamp) - extract(epoch from '2026-07-17 08:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414189 -2.737616)'), GeomFromEWKT('SRID=4674;POINT (-40.414158 -2.737627)'))) / (select extract(epoch from '2026-07-17 08:52:34'::timestamp) - extract(epoch from '2026-07-17 08:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414103 -2.737667)', '2026-07-17 08:52:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414158 -2.737627)'), GeomFromEWKT('SRID=4674;POINT (-40.414103 -2.737667)'))) / (select extract(epoch from '2026-07-17 08:52:42'::timestamp) - extract(epoch from '2026-07-17 08:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414158 -2.737627)'), GeomFromEWKT('SRID=4674;POINT (-40.414103 -2.737667)'))) / (select extract(epoch from '2026-07-17 08:52:42'::timestamp) - extract(epoch from '2026-07-17 08:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.414077 -2.737685)', '2026-07-17 08:52:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414103 -2.737667)'), GeomFromEWKT('SRID=4674;POINT (-40.414077 -2.737685)'))) / (select extract(epoch from '2026-07-17 08:52:47'::timestamp) - extract(epoch from '2026-07-17 08:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414103 -2.737667)'), GeomFromEWKT('SRID=4674;POINT (-40.414077 -2.737685)'))) / (select extract(epoch from '2026-07-17 08:52:47'::timestamp) - extract(epoch from '2026-07-17 08:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47831, 'SRID=4674;POINT (-40.41407 -2.737701)', '2026-07-17 08:52:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414077 -2.737685)'), GeomFromEWKT('SRID=4674;POINT (-40.41407 -2.737701)'))) / (select extract(epoch from '2026-07-17 08:52:57'::timestamp) - extract(epoch from '2026-07-17 08:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414077 -2.737685)'), GeomFromEWKT('SRID=4674;POINT (-40.41407 -2.737701)'))) / (select extract(epoch from '2026-07-17 08:52:57'::timestamp) - extract(epoch from '2026-07-17 08:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
