BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1269531064 -2.8485870268)', '2026-07-04 06:53:20', -2.27, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1268886495 -2.8480567876)', '2026-07-04 06:53:44', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1269531064 -2.8485870268)'), GeomFromEWKT('SRID=4674;POINT (-40.1268886495 -2.8480567876)'))) / (select extract(epoch from '2026-07-04 06:53:44'::timestamp) - extract(epoch from '2026-07-04 06:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1269531064 -2.8485870268)'), GeomFromEWKT('SRID=4674;POINT (-40.1268886495 -2.8480567876)'))) / (select extract(epoch from '2026-07-04 06:53:44'::timestamp) - extract(epoch from '2026-07-04 06:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1269633323 -2.8473838046)', '2026-07-04 06:54:15', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1268886495 -2.8480567876)'), GeomFromEWKT('SRID=4674;POINT (-40.1269633323 -2.8473838046)'))) / (select extract(epoch from '2026-07-04 06:54:15'::timestamp) - extract(epoch from '2026-07-04 06:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1268886495 -2.8480567876)'), GeomFromEWKT('SRID=4674;POINT (-40.1269633323 -2.8473838046)'))) / (select extract(epoch from '2026-07-04 06:54:15'::timestamp) - extract(epoch from '2026-07-04 06:53: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'), 47629, 'SRID=4674;POINT (-40.1271230914 -2.8467870969)', '2026-07-04 06:54:41', 6.39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1269633323 -2.8473838046)'), GeomFromEWKT('SRID=4674;POINT (-40.1271230914 -2.8467870969)'))) / (select extract(epoch from '2026-07-04 06:54:41'::timestamp) - extract(epoch from '2026-07-04 06:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1269633323 -2.8473838046)'), GeomFromEWKT('SRID=4674;POINT (-40.1271230914 -2.8467870969)'))) / (select extract(epoch from '2026-07-04 06:54:41'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47629, 'SRID=4674;POINT (-40.1273195632 -2.8460364137)', '2026-07-04 06:55:13', 6.39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1271230914 -2.8467870969)'), GeomFromEWKT('SRID=4674;POINT (-40.1273195632 -2.8460364137)'))) / (select extract(epoch from '2026-07-04 06:55:13'::timestamp) - extract(epoch from '2026-07-04 06:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1271230914 -2.8467870969)'), GeomFromEWKT('SRID=4674;POINT (-40.1273195632 -2.8460364137)'))) / (select extract(epoch from '2026-07-04 06:55:13'::timestamp) - extract(epoch from '2026-07-04 06:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1274685934 -2.8456666041)', '2026-07-04 06:55:30', 6.39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1273195632 -2.8460364137)'), GeomFromEWKT('SRID=4674;POINT (-40.1274685934 -2.8456666041)'))) / (select extract(epoch from '2026-07-04 06:55:30'::timestamp) - extract(epoch from '2026-07-04 06:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1273195632 -2.8460364137)'), GeomFromEWKT('SRID=4674;POINT (-40.1274685934 -2.8456666041)'))) / (select extract(epoch from '2026-07-04 06:55:30'::timestamp) - extract(epoch from '2026-07-04 06:55:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1276969165 -2.845054809)', '2026-07-04 06:55:57', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1274685934 -2.8456666041)'), GeomFromEWKT('SRID=4674;POINT (-40.1276969165 -2.845054809)'))) / (select extract(epoch from '2026-07-04 06:55:57'::timestamp) - extract(epoch from '2026-07-04 06:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1274685934 -2.8456666041)'), GeomFromEWKT('SRID=4674;POINT (-40.1276969165 -2.845054809)'))) / (select extract(epoch from '2026-07-04 06:55:57'::timestamp) - extract(epoch from '2026-07-04 06:55: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'), 47629, 'SRID=4674;POINT (-40.1280223019 -2.84439574)', '2026-07-04 06:56:28', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1276969165 -2.845054809)'), GeomFromEWKT('SRID=4674;POINT (-40.1280223019 -2.84439574)'))) / (select extract(epoch from '2026-07-04 06:56:28'::timestamp) - extract(epoch from '2026-07-04 06:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1276969165 -2.845054809)'), GeomFromEWKT('SRID=4674;POINT (-40.1280223019 -2.84439574)'))) / (select extract(epoch from '2026-07-04 06:56:28'::timestamp) - extract(epoch from '2026-07-04 06:55:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1284035947 -2.8436529357)', '2026-07-04 06:57:03', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1280223019 -2.84439574)'), GeomFromEWKT('SRID=4674;POINT (-40.1284035947 -2.8436529357)'))) / (select extract(epoch from '2026-07-04 06:57:03'::timestamp) - extract(epoch from '2026-07-04 06:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1280223019 -2.84439574)'), GeomFromEWKT('SRID=4674;POINT (-40.1284035947 -2.8436529357)'))) / (select extract(epoch from '2026-07-04 06:57:03'::timestamp) - extract(epoch from '2026-07-04 06:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1287863962 -2.8428586666)', '2026-07-04 06:57:40', 9.75, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1284035947 -2.8436529357)'), GeomFromEWKT('SRID=4674;POINT (-40.1287863962 -2.8428586666)'))) / (select extract(epoch from '2026-07-04 06:57:40'::timestamp) - extract(epoch from '2026-07-04 06:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1284035947 -2.8436529357)'), GeomFromEWKT('SRID=4674;POINT (-40.1287863962 -2.8428586666)'))) / (select extract(epoch from '2026-07-04 06:57:40'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47629, 'SRID=4674;POINT (-40.1291747298 -2.8419453744)', '2026-07-04 06:58:22', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1287863962 -2.8428586666)'), GeomFromEWKT('SRID=4674;POINT (-40.1291747298 -2.8419453744)'))) / (select extract(epoch from '2026-07-04 06:58:22'::timestamp) - extract(epoch from '2026-07-04 06:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1287863962 -2.8428586666)'), GeomFromEWKT('SRID=4674;POINT (-40.1291747298 -2.8419453744)'))) / (select extract(epoch from '2026-07-04 06:58:22'::timestamp) - extract(epoch from '2026-07-04 06:57: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'), 47629, 'SRID=4674;POINT (-40.1295031328 -2.841182705)', '2026-07-04 06:58:57', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1291747298 -2.8419453744)'), GeomFromEWKT('SRID=4674;POINT (-40.1295031328 -2.841182705)'))) / (select extract(epoch from '2026-07-04 06:58:57'::timestamp) - extract(epoch from '2026-07-04 06:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1291747298 -2.8419453744)'), GeomFromEWKT('SRID=4674;POINT (-40.1295031328 -2.841182705)'))) / (select extract(epoch from '2026-07-04 06:58:57'::timestamp) - extract(epoch from '2026-07-04 06:58: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'), 47629, 'SRID=4674;POINT (-40.1298773848 -2.8403150104)', '2026-07-04 06:59:37', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1295031328 -2.841182705)'), GeomFromEWKT('SRID=4674;POINT (-40.1298773848 -2.8403150104)'))) / (select extract(epoch from '2026-07-04 06:59:37'::timestamp) - extract(epoch from '2026-07-04 06:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1295031328 -2.841182705)'), GeomFromEWKT('SRID=4674;POINT (-40.1298773848 -2.8403150104)'))) / (select extract(epoch from '2026-07-04 06:59:37'::timestamp) - extract(epoch from '2026-07-04 06:58: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'), 47629, 'SRID=4674;POINT (-40.1300228946 -2.8397900518)', '2026-07-04 07:00:00', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1298773848 -2.8403150104)'), GeomFromEWKT('SRID=4674;POINT (-40.1300228946 -2.8397900518)'))) / (select extract(epoch from '2026-07-04 07:00:00'::timestamp) - extract(epoch from '2026-07-04 06:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1298773848 -2.8403150104)'), GeomFromEWKT('SRID=4674;POINT (-40.1300228946 -2.8397900518)'))) / (select extract(epoch from '2026-07-04 07:00:00'::timestamp) - extract(epoch from '2026-07-04 06: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'), 47629, 'SRID=4674;POINT (-40.1301948074 -2.8389035817)', '2026-07-04 07:00:38', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1300228946 -2.8397900518)'), GeomFromEWKT('SRID=4674;POINT (-40.1301948074 -2.8389035817)'))) / (select extract(epoch from '2026-07-04 07:00:38'::timestamp) - extract(epoch from '2026-07-04 07:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1300228946 -2.8397900518)'), GeomFromEWKT('SRID=4674;POINT (-40.1301948074 -2.8389035817)'))) / (select extract(epoch from '2026-07-04 07:00:38'::timestamp) - extract(epoch from '2026-07-04 07:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1303209551 -2.8381073009)', '2026-07-04 07:01:12', 9.75, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1301948074 -2.8389035817)'), GeomFromEWKT('SRID=4674;POINT (-40.1303209551 -2.8381073009)'))) / (select extract(epoch from '2026-07-04 07:01:12'::timestamp) - extract(epoch from '2026-07-04 07:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1301948074 -2.8389035817)'), GeomFromEWKT('SRID=4674;POINT (-40.1303209551 -2.8381073009)'))) / (select extract(epoch from '2026-07-04 07:01:12'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.1304719131 -2.83738981)', '2026-07-04 07:01:43', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1303209551 -2.8381073009)'), GeomFromEWKT('SRID=4674;POINT (-40.1304719131 -2.83738981)'))) / (select extract(epoch from '2026-07-04 07:01:43'::timestamp) - extract(epoch from '2026-07-04 07:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1303209551 -2.8381073009)'), GeomFromEWKT('SRID=4674;POINT (-40.1304719131 -2.83738981)'))) / (select extract(epoch from '2026-07-04 07:01:43'::timestamp) - extract(epoch from '2026-07-04 07:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1306395512 -2.8366881609)', '2026-07-04 07:02:13', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1304719131 -2.83738981)'), GeomFromEWKT('SRID=4674;POINT (-40.1306395512 -2.8366881609)'))) / (select extract(epoch from '2026-07-04 07:02:13'::timestamp) - extract(epoch from '2026-07-04 07:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1304719131 -2.83738981)'), GeomFromEWKT('SRID=4674;POINT (-40.1306395512 -2.8366881609)'))) / (select extract(epoch from '2026-07-04 07:02:13'::timestamp) - extract(epoch from '2026-07-04 07:01: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'), 47629, 'SRID=4674;POINT (-40.1309138909 -2.8359787166)', '2026-07-04 07:02:45', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1306395512 -2.8366881609)'), GeomFromEWKT('SRID=4674;POINT (-40.1309138909 -2.8359787166)'))) / (select extract(epoch from '2026-07-04 07:02:45'::timestamp) - extract(epoch from '2026-07-04 07:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1306395512 -2.8366881609)'), GeomFromEWKT('SRID=4674;POINT (-40.1309138909 -2.8359787166)'))) / (select extract(epoch from '2026-07-04 07:02:45'::timestamp) - extract(epoch from '2026-07-04 07:02: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'), 47629, 'SRID=4674;POINT (-40.1312566269 -2.8350904863)', '2026-07-04 07:03:25', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1309138909 -2.8359787166)'), GeomFromEWKT('SRID=4674;POINT (-40.1312566269 -2.8350904863)'))) / (select extract(epoch from '2026-07-04 07:03:25'::timestamp) - extract(epoch from '2026-07-04 07:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1309138909 -2.8359787166)'), GeomFromEWKT('SRID=4674;POINT (-40.1312566269 -2.8350904863)'))) / (select extract(epoch from '2026-07-04 07:03:25'::timestamp) - extract(epoch from '2026-07-04 07:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1315663382 -2.8342882544)', '2026-07-04 07:04:01', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1312566269 -2.8350904863)'), GeomFromEWKT('SRID=4674;POINT (-40.1315663382 -2.8342882544)'))) / (select extract(epoch from '2026-07-04 07:04:01'::timestamp) - extract(epoch from '2026-07-04 07:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1312566269 -2.8350904863)'), GeomFromEWKT('SRID=4674;POINT (-40.1315663382 -2.8342882544)'))) / (select extract(epoch from '2026-07-04 07:04:01'::timestamp) - extract(epoch from '2026-07-04 07:03: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'), 47629, 'SRID=4674;POINT (-40.1318386663 -2.8336208872)', '2026-07-04 07:04:31', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1315663382 -2.8342882544)'), GeomFromEWKT('SRID=4674;POINT (-40.1318386663 -2.8336208872)'))) / (select extract(epoch from '2026-07-04 07:04:31'::timestamp) - extract(epoch from '2026-07-04 07:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1315663382 -2.8342882544)'), GeomFromEWKT('SRID=4674;POINT (-40.1318386663 -2.8336208872)'))) / (select extract(epoch from '2026-07-04 07:04:31'::timestamp) - extract(epoch from '2026-07-04 07:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1319986768 -2.8329835273)', '2026-07-04 07:04:59', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1318386663 -2.8336208872)'), GeomFromEWKT('SRID=4674;POINT (-40.1319986768 -2.8329835273)'))) / (select extract(epoch from '2026-07-04 07:04:59'::timestamp) - extract(epoch from '2026-07-04 07:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1318386663 -2.8336208872)'), GeomFromEWKT('SRID=4674;POINT (-40.1319986768 -2.8329835273)'))) / (select extract(epoch from '2026-07-04 07:04:59'::timestamp) - extract(epoch from '2026-07-04 07:04: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'), 47629, 'SRID=4674;POINT (-40.1321738586 -2.8324476723)', '2026-07-04 07:05:23', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1319986768 -2.8329835273)'), GeomFromEWKT('SRID=4674;POINT (-40.1321738586 -2.8324476723)'))) / (select extract(epoch from '2026-07-04 07:05:23'::timestamp) - extract(epoch from '2026-07-04 07:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1319986768 -2.8329835273)'), GeomFromEWKT('SRID=4674;POINT (-40.1321738586 -2.8324476723)'))) / (select extract(epoch from '2026-07-04 07:05:23'::timestamp) - extract(epoch from '2026-07-04 07:04: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'), 47629, 'SRID=4674;POINT (-40.1326870825 -2.8315442707)', '2026-07-04 07:06:07', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1321738586 -2.8324476723)'), GeomFromEWKT('SRID=4674;POINT (-40.1326870825 -2.8315442707)'))) / (select extract(epoch from '2026-07-04 07:06:07'::timestamp) - extract(epoch from '2026-07-04 07:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1321738586 -2.8324476723)'), GeomFromEWKT('SRID=4674;POINT (-40.1326870825 -2.8315442707)'))) / (select extract(epoch from '2026-07-04 07:06:07'::timestamp) - extract(epoch from '2026-07-04 07:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1332057547 -2.8306009714)', '2026-07-04 07:06:53', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1326870825 -2.8315442707)'), GeomFromEWKT('SRID=4674;POINT (-40.1332057547 -2.8306009714)'))) / (select extract(epoch from '2026-07-04 07:06:53'::timestamp) - extract(epoch from '2026-07-04 07:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1326870825 -2.8315442707)'), GeomFromEWKT('SRID=4674;POINT (-40.1332057547 -2.8306009714)'))) / (select extract(epoch from '2026-07-04 07:06:53'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.1338923164 -2.8296757769)', '2026-07-04 07:07:43', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1332057547 -2.8306009714)'), GeomFromEWKT('SRID=4674;POINT (-40.1338923164 -2.8296757769)'))) / (select extract(epoch from '2026-07-04 07:07:43'::timestamp) - extract(epoch from '2026-07-04 07:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1332057547 -2.8306009714)'), GeomFromEWKT('SRID=4674;POINT (-40.1338923164 -2.8296757769)'))) / (select extract(epoch from '2026-07-04 07:07:43'::timestamp) - extract(epoch from '2026-07-04 07:06: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'), 47629, 'SRID=4674;POINT (-40.1344553288 -2.829176886)', '2026-07-04 07:08:16', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1338923164 -2.8296757769)'), GeomFromEWKT('SRID=4674;POINT (-40.1344553288 -2.829176886)'))) / (select extract(epoch from '2026-07-04 07:08:16'::timestamp) - extract(epoch from '2026-07-04 07:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1338923164 -2.8296757769)'), GeomFromEWKT('SRID=4674;POINT (-40.1344553288 -2.829176886)'))) / (select extract(epoch from '2026-07-04 07:08:16'::timestamp) - extract(epoch from '2026-07-04 07:07: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'), 47629, 'SRID=4674;POINT (-40.1348506194 -2.8286347445)', '2026-07-04 07:08:46', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1344553288 -2.829176886)'), GeomFromEWKT('SRID=4674;POINT (-40.1348506194 -2.8286347445)'))) / (select extract(epoch from '2026-07-04 07:08:46'::timestamp) - extract(epoch from '2026-07-04 07:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1344553288 -2.829176886)'), GeomFromEWKT('SRID=4674;POINT (-40.1348506194 -2.8286347445)'))) / (select extract(epoch from '2026-07-04 07:08:46'::timestamp) - extract(epoch from '2026-07-04 07:08: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'), 47629, 'SRID=4674;POINT (-40.1353419665 -2.8281858936)', '2026-07-04 07:09:16', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1348506194 -2.8286347445)'), GeomFromEWKT('SRID=4674;POINT (-40.1353419665 -2.8281858936)'))) / (select extract(epoch from '2026-07-04 07:09:16'::timestamp) - extract(epoch from '2026-07-04 07:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1348506194 -2.8286347445)'), GeomFromEWKT('SRID=4674;POINT (-40.1353419665 -2.8281858936)'))) / (select extract(epoch from '2026-07-04 07:09:16'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.1360373292 -2.827673424)', '2026-07-04 07:09:54', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1353419665 -2.8281858936)'), GeomFromEWKT('SRID=4674;POINT (-40.1360373292 -2.827673424)'))) / (select extract(epoch from '2026-07-04 07:09:54'::timestamp) - extract(epoch from '2026-07-04 07:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1353419665 -2.8281858936)'), GeomFromEWKT('SRID=4674;POINT (-40.1360373292 -2.827673424)'))) / (select extract(epoch from '2026-07-04 07:09:54'::timestamp) - extract(epoch from '2026-07-04 07:09: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'), 47629, 'SRID=4674;POINT (-40.1368199475 -2.8272358887)', '2026-07-04 07:10:32', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1360373292 -2.827673424)'), GeomFromEWKT('SRID=4674;POINT (-40.1368199475 -2.8272358887)'))) / (select extract(epoch from '2026-07-04 07:10:32'::timestamp) - extract(epoch from '2026-07-04 07:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1360373292 -2.827673424)'), GeomFromEWKT('SRID=4674;POINT (-40.1368199475 -2.8272358887)'))) / (select extract(epoch from '2026-07-04 07:10:32'::timestamp) - extract(epoch from '2026-07-04 07:09: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'), 47629, 'SRID=4674;POINT (-40.137576079 -2.8269358166)', '2026-07-04 07:11:04', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1368199475 -2.8272358887)'), GeomFromEWKT('SRID=4674;POINT (-40.137576079 -2.8269358166)'))) / (select extract(epoch from '2026-07-04 07:11:04'::timestamp) - extract(epoch from '2026-07-04 07:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1368199475 -2.8272358887)'), GeomFromEWKT('SRID=4674;POINT (-40.137576079 -2.8269358166)'))) / (select extract(epoch from '2026-07-04 07:11:04'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.137987379 -2.826544717)', '2026-07-04 07:11:30', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137576079 -2.8269358166)'), GeomFromEWKT('SRID=4674;POINT (-40.137987379 -2.826544717)'))) / (select extract(epoch from '2026-07-04 07:11:30'::timestamp) - extract(epoch from '2026-07-04 07:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137576079 -2.8269358166)'), GeomFromEWKT('SRID=4674;POINT (-40.137987379 -2.826544717)'))) / (select extract(epoch from '2026-07-04 07:11:30'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.1379696093 -2.8260801919)', '2026-07-04 07:11:53', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137987379 -2.826544717)'), GeomFromEWKT('SRID=4674;POINT (-40.1379696093 -2.8260801919)'))) / (select extract(epoch from '2026-07-04 07:11:53'::timestamp) - extract(epoch from '2026-07-04 07:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137987379 -2.826544717)'), GeomFromEWKT('SRID=4674;POINT (-40.1379696093 -2.8260801919)'))) / (select extract(epoch from '2026-07-04 07:11:53'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.1377597265 -2.8255274892)', '2026-07-04 07:12:21', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1379696093 -2.8260801919)'), GeomFromEWKT('SRID=4674;POINT (-40.1377597265 -2.8255274892)'))) / (select extract(epoch from '2026-07-04 07:12:21'::timestamp) - extract(epoch from '2026-07-04 07:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1379696093 -2.8260801919)'), GeomFromEWKT('SRID=4674;POINT (-40.1377597265 -2.8255274892)'))) / (select extract(epoch from '2026-07-04 07:12:21'::timestamp) - extract(epoch from '2026-07-04 07:11:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1375834551 -2.8250496369)', '2026-07-04 07:12:45', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1377597265 -2.8255274892)'), GeomFromEWKT('SRID=4674;POINT (-40.1375834551 -2.8250496369)'))) / (select extract(epoch from '2026-07-04 07:12:45'::timestamp) - extract(epoch from '2026-07-04 07:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1377597265 -2.8255274892)'), GeomFromEWKT('SRID=4674;POINT (-40.1375834551 -2.8250496369)'))) / (select extract(epoch from '2026-07-04 07:12:45'::timestamp) - extract(epoch from '2026-07-04 07:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1374390349 -2.8244832717)', '2026-07-04 07:13:11', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1375834551 -2.8250496369)'), GeomFromEWKT('SRID=4674;POINT (-40.1374390349 -2.8244832717)'))) / (select extract(epoch from '2026-07-04 07:13:11'::timestamp) - extract(epoch from '2026-07-04 07:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1375834551 -2.8250496369)'), GeomFromEWKT('SRID=4674;POINT (-40.1374390349 -2.8244832717)'))) / (select extract(epoch from '2026-07-04 07:13:11'::timestamp) - extract(epoch from '2026-07-04 07:12: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'), 47629, 'SRID=4674;POINT (-40.1373071037 -2.8238439839)', '2026-07-04 07:13:36', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1374390349 -2.8244832717)'), GeomFromEWKT('SRID=4674;POINT (-40.1373071037 -2.8238439839)'))) / (select extract(epoch from '2026-07-04 07:13:36'::timestamp) - extract(epoch from '2026-07-04 07:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1374390349 -2.8244832717)'), GeomFromEWKT('SRID=4674;POINT (-40.1373071037 -2.8238439839)'))) / (select extract(epoch from '2026-07-04 07:13:36'::timestamp) - extract(epoch from '2026-07-04 07:13: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'), 47629, 'SRID=4674;POINT (-40.1371445786 -2.8231374733)', '2026-07-04 07:14:04', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1373071037 -2.8238439839)'), GeomFromEWKT('SRID=4674;POINT (-40.1371445786 -2.8231374733)'))) / (select extract(epoch from '2026-07-04 07:14:04'::timestamp) - extract(epoch from '2026-07-04 07:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1373071037 -2.8238439839)'), GeomFromEWKT('SRID=4674;POINT (-40.1371445786 -2.8231374733)'))) / (select extract(epoch from '2026-07-04 07:14:04'::timestamp) - extract(epoch from '2026-07-04 07:13: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'), 47629, 'SRID=4674;POINT (-40.1370409783 -2.8225511592)', '2026-07-04 07:14:27', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1371445786 -2.8231374733)'), GeomFromEWKT('SRID=4674;POINT (-40.1370409783 -2.8225511592)'))) / (select extract(epoch from '2026-07-04 07:14:27'::timestamp) - extract(epoch from '2026-07-04 07:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1371445786 -2.8231374733)'), GeomFromEWKT('SRID=4674;POINT (-40.1370409783 -2.8225511592)'))) / (select extract(epoch from '2026-07-04 07:14:27'::timestamp) - extract(epoch from '2026-07-04 07:14: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'), 47629, 'SRID=4674;POINT (-40.1369340252 -2.8220176511)', '2026-07-04 07:14:48', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1370409783 -2.8225511592)'), GeomFromEWKT('SRID=4674;POINT (-40.1369340252 -2.8220176511)'))) / (select extract(epoch from '2026-07-04 07:14:48'::timestamp) - extract(epoch from '2026-07-04 07:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1370409783 -2.8225511592)'), GeomFromEWKT('SRID=4674;POINT (-40.1369340252 -2.8220176511)'))) / (select extract(epoch from '2026-07-04 07:14:48'::timestamp) - extract(epoch from '2026-07-04 07:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1366639603 -2.8218014818)', '2026-07-04 07:15:04', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1369340252 -2.8220176511)'), GeomFromEWKT('SRID=4674;POINT (-40.1366639603 -2.8218014818)'))) / (select extract(epoch from '2026-07-04 07:15:04'::timestamp) - extract(epoch from '2026-07-04 07:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1369340252 -2.8220176511)'), GeomFromEWKT('SRID=4674;POINT (-40.1366639603 -2.8218014818)'))) / (select extract(epoch from '2026-07-04 07:15:04'::timestamp) - extract(epoch from '2026-07-04 07:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1365672331 -2.8220526036)', '2026-07-04 07:15:16', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1366639603 -2.8218014818)'), GeomFromEWKT('SRID=4674;POINT (-40.1365672331 -2.8220526036)'))) / (select extract(epoch from '2026-07-04 07:15:16'::timestamp) - extract(epoch from '2026-07-04 07:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1366639603 -2.8218014818)'), GeomFromEWKT('SRID=4674;POINT (-40.1365672331 -2.8220526036)'))) / (select extract(epoch from '2026-07-04 07:15:16'::timestamp) - extract(epoch from '2026-07-04 07:15: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'), 47629, 'SRID=4674;POINT (-40.1366948895 -2.8225731198)', '2026-07-04 07:15:36', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1365672331 -2.8220526036)'), GeomFromEWKT('SRID=4674;POINT (-40.1366948895 -2.8225731198)'))) / (select extract(epoch from '2026-07-04 07:15:36'::timestamp) - extract(epoch from '2026-07-04 07:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1365672331 -2.8220526036)'), GeomFromEWKT('SRID=4674;POINT (-40.1366948895 -2.8225731198)'))) / (select extract(epoch from '2026-07-04 07:15:36'::timestamp) - extract(epoch from '2026-07-04 07:15: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'), 47629, 'SRID=4674;POINT (-40.136821121 -2.8231896088)', '2026-07-04 07:15:59', 6.39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1366948895 -2.8225731198)'), GeomFromEWKT('SRID=4674;POINT (-40.136821121 -2.8231896088)'))) / (select extract(epoch from '2026-07-04 07:15:59'::timestamp) - extract(epoch from '2026-07-04 07:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1366948895 -2.8225731198)'), GeomFromEWKT('SRID=4674;POINT (-40.136821121 -2.8231896088)'))) / (select extract(epoch from '2026-07-04 07:15:59'::timestamp) - extract(epoch from '2026-07-04 07:15: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'), 47629, 'SRID=4674;POINT (-40.1369794551 -2.823860161)', '2026-07-04 07:16:24', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136821121 -2.8231896088)'), GeomFromEWKT('SRID=4674;POINT (-40.1369794551 -2.823860161)'))) / (select extract(epoch from '2026-07-04 07:16:24'::timestamp) - extract(epoch from '2026-07-04 07:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136821121 -2.8231896088)'), GeomFromEWKT('SRID=4674;POINT (-40.1369794551 -2.823860161)'))) / (select extract(epoch from '2026-07-04 07:16:24'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.137186069 -2.8245458007)', '2026-07-04 07:16:50', 6.39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1369794551 -2.823860161)'), GeomFromEWKT('SRID=4674;POINT (-40.137186069 -2.8245458007)'))) / (select extract(epoch from '2026-07-04 07:16:50'::timestamp) - extract(epoch from '2026-07-04 07:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1369794551 -2.823860161)'), GeomFromEWKT('SRID=4674;POINT (-40.137186069 -2.8245458007)'))) / (select extract(epoch from '2026-07-04 07:16:50'::timestamp) - extract(epoch from '2026-07-04 07:16: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'), 47629, 'SRID=4674;POINT (-40.1374538708 -2.8252206277)', '2026-07-04 07:17:16', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137186069 -2.8245458007)'), GeomFromEWKT('SRID=4674;POINT (-40.1374538708 -2.8252206277)'))) / (select extract(epoch from '2026-07-04 07:17:16'::timestamp) - extract(epoch from '2026-07-04 07:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137186069 -2.8245458007)'), GeomFromEWKT('SRID=4674;POINT (-40.1374538708 -2.8252206277)'))) / (select extract(epoch from '2026-07-04 07:17:16'::timestamp) - extract(epoch from '2026-07-04 07:16: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'), 47629, 'SRID=4674;POINT (-40.1377356704 -2.8257789463)', '2026-07-04 07:17:38', 6.39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1374538708 -2.8252206277)'), GeomFromEWKT('SRID=4674;POINT (-40.1377356704 -2.8257789463)'))) / (select extract(epoch from '2026-07-04 07:17:38'::timestamp) - extract(epoch from '2026-07-04 07:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1374538708 -2.8252206277)'), GeomFromEWKT('SRID=4674;POINT (-40.1377356704 -2.8257789463)'))) / (select extract(epoch from '2026-07-04 07:17:38'::timestamp) - extract(epoch from '2026-07-04 07:17: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'), 47629, 'SRID=4674;POINT (-40.1379453856 -2.8264772426)', '2026-07-04 07:18:04', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1377356704 -2.8257789463)'), GeomFromEWKT('SRID=4674;POINT (-40.1379453856 -2.8264772426)'))) / (select extract(epoch from '2026-07-04 07:18:04'::timestamp) - extract(epoch from '2026-07-04 07:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1377356704 -2.8257789463)'), GeomFromEWKT('SRID=4674;POINT (-40.1379453856 -2.8264772426)'))) / (select extract(epoch from '2026-07-04 07:18:04'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.1376568805 -2.8268662468)', '2026-07-04 07:18:23', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1379453856 -2.8264772426)'), GeomFromEWKT('SRID=4674;POINT (-40.1376568805 -2.8268662468)'))) / (select extract(epoch from '2026-07-04 07:18:23'::timestamp) - extract(epoch from '2026-07-04 07:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1379453856 -2.8264772426)'), GeomFromEWKT('SRID=4674;POINT (-40.1376568805 -2.8268662468)'))) / (select extract(epoch from '2026-07-04 07:18:23'::timestamp) - extract(epoch from '2026-07-04 07:18: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'), 47629, 'SRID=4674;POINT (-40.1370667946 -2.8271778859)', '2026-07-04 07:18:50', 6.39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1376568805 -2.8268662468)'), GeomFromEWKT('SRID=4674;POINT (-40.1370667946 -2.8271778859)'))) / (select extract(epoch from '2026-07-04 07:18:50'::timestamp) - extract(epoch from '2026-07-04 07:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1376568805 -2.8268662468)'), GeomFromEWKT('SRID=4674;POINT (-40.1370667946 -2.8271778859)'))) / (select extract(epoch from '2026-07-04 07:18:50'::timestamp) - extract(epoch from '2026-07-04 07:18: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'), 47629, 'SRID=4674;POINT (-40.1360922307 -2.8276236355)', '2026-07-04 07:19:30', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1370667946 -2.8271778859)'), GeomFromEWKT('SRID=4674;POINT (-40.1360922307 -2.8276236355)'))) / (select extract(epoch from '2026-07-04 07:19:30'::timestamp) - extract(epoch from '2026-07-04 07:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1370667946 -2.8271778859)'), GeomFromEWKT('SRID=4674;POINT (-40.1360922307 -2.8276236355)'))) / (select extract(epoch from '2026-07-04 07:19:30'::timestamp) - extract(epoch from '2026-07-04 07:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1353467442 -2.828100482)', '2026-07-04 07:20:04', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1360922307 -2.8276236355)'), GeomFromEWKT('SRID=4674;POINT (-40.1353467442 -2.828100482)'))) / (select extract(epoch from '2026-07-04 07:20:04'::timestamp) - extract(epoch from '2026-07-04 07:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1360922307 -2.8276236355)'), GeomFromEWKT('SRID=4674;POINT (-40.1353467442 -2.828100482)'))) / (select extract(epoch from '2026-07-04 07:20:04'::timestamp) - extract(epoch from '2026-07-04 07:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1346326899 -2.8285575472)', '2026-07-04 07:20:36', 0.14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1353467442 -2.828100482)'), GeomFromEWKT('SRID=4674;POINT (-40.1346326899 -2.8285575472)'))) / (select extract(epoch from '2026-07-04 07:20:36'::timestamp) - extract(epoch from '2026-07-04 07:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1353467442 -2.828100482)'), GeomFromEWKT('SRID=4674;POINT (-40.1346326899 -2.8285575472)'))) / (select extract(epoch from '2026-07-04 07:20:36'::timestamp) - extract(epoch from '2026-07-04 07:20: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'), 47629, 'SRID=4674;POINT (-40.1339721959 -2.8289064858)', '2026-07-04 07:21:04', 1.58, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1346326899 -2.8285575472)'), GeomFromEWKT('SRID=4674;POINT (-40.1339721959 -2.8289064858)'))) / (select extract(epoch from '2026-07-04 07:21:04'::timestamp) - extract(epoch from '2026-07-04 07:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1346326899 -2.8285575472)'), GeomFromEWKT('SRID=4674;POINT (-40.1339721959 -2.8289064858)'))) / (select extract(epoch from '2026-07-04 07:21:04'::timestamp) - extract(epoch from '2026-07-04 07:20: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'), 47629, 'SRID=4674;POINT (-40.1335584652 -2.8295792174)', '2026-07-04 07:21:33', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1339721959 -2.8289064858)'), GeomFromEWKT('SRID=4674;POINT (-40.1335584652 -2.8295792174)'))) / (select extract(epoch from '2026-07-04 07:21:33'::timestamp) - extract(epoch from '2026-07-04 07:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1339721959 -2.8289064858)'), GeomFromEWKT('SRID=4674;POINT (-40.1335584652 -2.8295792174)'))) / (select extract(epoch from '2026-07-04 07:21:33'::timestamp) - extract(epoch from '2026-07-04 07:21: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'), 47629, 'SRID=4674;POINT (-40.1330164075 -2.8307619877)', '2026-07-04 07:22:20', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1335584652 -2.8295792174)'), GeomFromEWKT('SRID=4674;POINT (-40.1330164075 -2.8307619877)'))) / (select extract(epoch from '2026-07-04 07:22:20'::timestamp) - extract(epoch from '2026-07-04 07:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1335584652 -2.8295792174)'), GeomFromEWKT('SRID=4674;POINT (-40.1330164075 -2.8307619877)'))) / (select extract(epoch from '2026-07-04 07:22:20'::timestamp) - extract(epoch from '2026-07-04 07:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.132406624 -2.8321740869)', '2026-07-04 07:23:15', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1330164075 -2.8307619877)'), GeomFromEWKT('SRID=4674;POINT (-40.132406624 -2.8321740869)'))) / (select extract(epoch from '2026-07-04 07:23:15'::timestamp) - extract(epoch from '2026-07-04 07:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1330164075 -2.8307619877)'), GeomFromEWKT('SRID=4674;POINT (-40.132406624 -2.8321740869)'))) / (select extract(epoch from '2026-07-04 07:23:15'::timestamp) - extract(epoch from '2026-07-04 07:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1318280213 -2.833489459)', '2026-07-04 07:24:07', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132406624 -2.8321740869)'), GeomFromEWKT('SRID=4674;POINT (-40.1318280213 -2.833489459)'))) / (select extract(epoch from '2026-07-04 07:24:07'::timestamp) - extract(epoch from '2026-07-04 07:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132406624 -2.8321740869)'), GeomFromEWKT('SRID=4674;POINT (-40.1318280213 -2.833489459)'))) / (select extract(epoch from '2026-07-04 07:24:07'::timestamp) - extract(epoch from '2026-07-04 07:23: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'), 47629, 'SRID=4674;POINT (-40.131311696 -2.8346418031)', '2026-07-04 07:24:53', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1318280213 -2.833489459)'), GeomFromEWKT('SRID=4674;POINT (-40.131311696 -2.8346418031)'))) / (select extract(epoch from '2026-07-04 07:24:53'::timestamp) - extract(epoch from '2026-07-04 07:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1318280213 -2.833489459)'), GeomFromEWKT('SRID=4674;POINT (-40.131311696 -2.8346418031)'))) / (select extract(epoch from '2026-07-04 07:24:53'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.1309455745 -2.8356202226)', '2026-07-04 07:25:31', 1.1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131311696 -2.8346418031)'), GeomFromEWKT('SRID=4674;POINT (-40.1309455745 -2.8356202226)'))) / (select extract(epoch from '2026-07-04 07:25:31'::timestamp) - extract(epoch from '2026-07-04 07:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131311696 -2.8346418031)'), GeomFromEWKT('SRID=4674;POINT (-40.1309455745 -2.8356202226)'))) / (select extract(epoch from '2026-07-04 07:25:31'::timestamp) - extract(epoch from '2026-07-04 07:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1305939537 -2.8368045855)', '2026-07-04 07:26:16', 2.06, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1309455745 -2.8356202226)'), GeomFromEWKT('SRID=4674;POINT (-40.1305939537 -2.8368045855)'))) / (select extract(epoch from '2026-07-04 07:26:16'::timestamp) - extract(epoch from '2026-07-04 07:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1309455745 -2.8356202226)'), GeomFromEWKT('SRID=4674;POINT (-40.1305939537 -2.8368045855)'))) / (select extract(epoch from '2026-07-04 07:26:16'::timestamp) - extract(epoch from '2026-07-04 07:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1303595956 -2.837850228)', '2026-07-04 07:26:55', 3.5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1305939537 -2.8368045855)'), GeomFromEWKT('SRID=4674;POINT (-40.1303595956 -2.837850228)'))) / (select extract(epoch from '2026-07-04 07:26:55'::timestamp) - extract(epoch from '2026-07-04 07:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1305939537 -2.8368045855)'), GeomFromEWKT('SRID=4674;POINT (-40.1303595956 -2.837850228)'))) / (select extract(epoch from '2026-07-04 07:26:55'::timestamp) - extract(epoch from '2026-07-04 07:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1302076317 -2.8389198426)', '2026-07-04 07:27:34', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1303595956 -2.837850228)'), GeomFromEWKT('SRID=4674;POINT (-40.1302076317 -2.8389198426)'))) / (select extract(epoch from '2026-07-04 07:27:34'::timestamp) - extract(epoch from '2026-07-04 07:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1303595956 -2.837850228)'), GeomFromEWKT('SRID=4674;POINT (-40.1302076317 -2.8389198426)'))) / (select extract(epoch from '2026-07-04 07:27:34'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.1300350484 -2.83972417)', '2026-07-04 07:28:04', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1302076317 -2.8389198426)'), GeomFromEWKT('SRID=4674;POINT (-40.1300350484 -2.83972417)'))) / (select extract(epoch from '2026-07-04 07:28:04'::timestamp) - extract(epoch from '2026-07-04 07:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1302076317 -2.8389198426)'), GeomFromEWKT('SRID=4674;POINT (-40.1300350484 -2.83972417)'))) / (select extract(epoch from '2026-07-04 07:28:04'::timestamp) - extract(epoch from '2026-07-04 07:27: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'), 47629, 'SRID=4674;POINT (-40.1296850201 -2.8406938724)', '2026-07-04 07:28:42', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1300350484 -2.83972417)'), GeomFromEWKT('SRID=4674;POINT (-40.1296850201 -2.8406938724)'))) / (select extract(epoch from '2026-07-04 07:28:42'::timestamp) - extract(epoch from '2026-07-04 07:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1300350484 -2.83972417)'), GeomFromEWKT('SRID=4674;POINT (-40.1296850201 -2.8406938724)'))) / (select extract(epoch from '2026-07-04 07:28:42'::timestamp) - extract(epoch from '2026-07-04 07:28: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'), 47629, 'SRID=4674;POINT (-40.1292928308 -2.8416744713)', '2026-07-04 07:29:21', 2.54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1296850201 -2.8406938724)'), GeomFromEWKT('SRID=4674;POINT (-40.1292928308 -2.8416744713)'))) / (select extract(epoch from '2026-07-04 07:29:21'::timestamp) - extract(epoch from '2026-07-04 07:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1296850201 -2.8406938724)'), GeomFromEWKT('SRID=4674;POINT (-40.1292928308 -2.8416744713)'))) / (select extract(epoch from '2026-07-04 07:29:21'::timestamp) - extract(epoch from '2026-07-04 07:28: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'), 47629, 'SRID=4674;POINT (-40.1288594026 -2.8426689841)', '2026-07-04 07:30:01', 3.02, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1292928308 -2.8416744713)'), GeomFromEWKT('SRID=4674;POINT (-40.1288594026 -2.8426689841)'))) / (select extract(epoch from '2026-07-04 07:30:01'::timestamp) - extract(epoch from '2026-07-04 07:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1292928308 -2.8416744713)'), GeomFromEWKT('SRID=4674;POINT (-40.1288594026 -2.8426689841)'))) / (select extract(epoch from '2026-07-04 07:30:01'::timestamp) - extract(epoch from '2026-07-04 07:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47629, 'SRID=4674;POINT (-40.1284475997 -2.8435562085)', '2026-07-04 07:30:37', 4.94, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1288594026 -2.8426689841)'), GeomFromEWKT('SRID=4674;POINT (-40.1284475997 -2.8435562085)'))) / (select extract(epoch from '2026-07-04 07:30:37'::timestamp) - extract(epoch from '2026-07-04 07:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1288594026 -2.8426689841)'), GeomFromEWKT('SRID=4674;POINT (-40.1284475997 -2.8435562085)'))) / (select extract(epoch from '2026-07-04 07:30:37'::timestamp) - extract(epoch from '2026-07-04 07: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'), 47629, 'SRID=4674;POINT (-40.1280177757 -2.8443806525)', '2026-07-04 07:31:11', 3.98, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1284475997 -2.8435562085)'), GeomFromEWKT('SRID=4674;POINT (-40.1280177757 -2.8443806525)'))) / (select extract(epoch from '2026-07-04 07:31:11'::timestamp) - extract(epoch from '2026-07-04 07:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1284475997 -2.8435562085)'), GeomFromEWKT('SRID=4674;POINT (-40.1280177757 -2.8443806525)'))) / (select extract(epoch from '2026-07-04 07:31:11'::timestamp) - extract(epoch from '2026-07-04 07:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
