 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.325696580112 -2.7972229756415)', '2026-07-23 08:47:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325539251789 -2.7972072176635)'), GeomFromEWKT('SRID=4674;POINT (-40.325696580112 -2.7972229756415)'))) / (select extract(epoch from '2026-07-23 08:47:22'::timestamp) - extract(epoch from '2026-07-23 08:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325539251789 -2.7972072176635)'), GeomFromEWKT('SRID=4674;POINT (-40.325696580112 -2.7972229756415)'))) / (select extract(epoch from '2026-07-23 08:47:22'::timestamp) - extract(epoch from '2026-07-23 08:47: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'), 47842, 'SRID=4674;POINT (-40.325908474624 -2.797264046967)', '2026-07-23 08:47:31', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325696580112 -2.7972229756415)'), GeomFromEWKT('SRID=4674;POINT (-40.325908474624 -2.797264046967)'))) / (select extract(epoch from '2026-07-23 08:47:31'::timestamp) - extract(epoch from '2026-07-23 08:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325696580112 -2.7972229756415)'), GeomFromEWKT('SRID=4674;POINT (-40.325908474624 -2.797264046967)'))) / (select extract(epoch from '2026-07-23 08:47:31'::timestamp) - extract(epoch from '2026-07-23 08:47: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'), 47842, 'SRID=4674;POINT (-40.326067563146 -2.7972914557904)', '2026-07-23 08:47:38', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325908474624 -2.797264046967)'), GeomFromEWKT('SRID=4674;POINT (-40.326067563146 -2.7972914557904)'))) / (select extract(epoch from '2026-07-23 08:47:38'::timestamp) - extract(epoch from '2026-07-23 08:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325908474624 -2.797264046967)'), GeomFromEWKT('SRID=4674;POINT (-40.326067563146 -2.7972914557904)'))) / (select extract(epoch from '2026-07-23 08:47:38'::timestamp) - extract(epoch from '2026-07-23 08:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.326300747693 -2.7973253186792)', '2026-07-23 08:47:48', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326067563146 -2.7972914557904)'), GeomFromEWKT('SRID=4674;POINT (-40.326300747693 -2.7973253186792)'))) / (select extract(epoch from '2026-07-23 08:47:48'::timestamp) - extract(epoch from '2026-07-23 08:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326067563146 -2.7972914557904)'), GeomFromEWKT('SRID=4674;POINT (-40.326300747693 -2.7973253186792)'))) / (select extract(epoch from '2026-07-23 08:47:48'::timestamp) - extract(epoch from '2026-07-23 08:47: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'), 47842, 'SRID=4674;POINT (-40.326491938904 -2.7973690722138)', '2026-07-23 08:47:57', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326300747693 -2.7973253186792)'), GeomFromEWKT('SRID=4674;POINT (-40.326491938904 -2.7973690722138)'))) / (select extract(epoch from '2026-07-23 08:47:57'::timestamp) - extract(epoch from '2026-07-23 08:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326300747693 -2.7973253186792)'), GeomFromEWKT('SRID=4674;POINT (-40.326491938904 -2.7973690722138)'))) / (select extract(epoch from '2026-07-23 08:47:57'::timestamp) - extract(epoch from '2026-07-23 08:47: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'), 47842, 'SRID=4674;POINT (-40.326692853123 -2.7974373847246)', '2026-07-23 08:48:05', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326491938904 -2.7973690722138)'), GeomFromEWKT('SRID=4674;POINT (-40.326692853123 -2.7974373847246)'))) / (select extract(epoch from '2026-07-23 08:48:05'::timestamp) - extract(epoch from '2026-07-23 08:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326491938904 -2.7973690722138)'), GeomFromEWKT('SRID=4674;POINT (-40.326692853123 -2.7974373847246)'))) / (select extract(epoch from '2026-07-23 08:48:05'::timestamp) - extract(epoch from '2026-07-23 08:47: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'), 47842, 'SRID=4674;POINT (-40.326922349632 -2.7975258976221)', '2026-07-23 08:48:14', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326692853123 -2.7974373847246)'), GeomFromEWKT('SRID=4674;POINT (-40.326922349632 -2.7975258976221)'))) / (select extract(epoch from '2026-07-23 08:48:14'::timestamp) - extract(epoch from '2026-07-23 08:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326692853123 -2.7974373847246)'), GeomFromEWKT('SRID=4674;POINT (-40.326922349632 -2.7975258976221)'))) / (select extract(epoch from '2026-07-23 08:48:14'::timestamp) - extract(epoch from '2026-07-23 08:48: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'), 47842, 'SRID=4674;POINT (-40.327087054029 -2.7975788712502)', '2026-07-23 08:48:21', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326922349632 -2.7975258976221)'), GeomFromEWKT('SRID=4674;POINT (-40.327087054029 -2.7975788712502)'))) / (select extract(epoch from '2026-07-23 08:48:21'::timestamp) - extract(epoch from '2026-07-23 08:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326922349632 -2.7975258976221)'), GeomFromEWKT('SRID=4674;POINT (-40.327087054029 -2.7975788712502)'))) / (select extract(epoch from '2026-07-23 08:48:21'::timestamp) - extract(epoch from '2026-07-23 08:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.327239688486 -2.7976119797677)', '2026-07-23 08:48:27', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327087054029 -2.7975788712502)'), GeomFromEWKT('SRID=4674;POINT (-40.327239688486 -2.7976119797677)'))) / (select extract(epoch from '2026-07-23 08:48:27'::timestamp) - extract(epoch from '2026-07-23 08:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327087054029 -2.7975788712502)'), GeomFromEWKT('SRID=4674;POINT (-40.327239688486 -2.7976119797677)'))) / (select extract(epoch from '2026-07-23 08:48:27'::timestamp) - extract(epoch from '2026-07-23 08:48: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'), 47842, 'SRID=4674;POINT (-40.32740556635 -2.7976542245597)', '2026-07-23 08:48:34', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327239688486 -2.7976119797677)'), GeomFromEWKT('SRID=4674;POINT (-40.32740556635 -2.7976542245597)'))) / (select extract(epoch from '2026-07-23 08:48:34'::timestamp) - extract(epoch from '2026-07-23 08:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327239688486 -2.7976119797677)'), GeomFromEWKT('SRID=4674;POINT (-40.32740556635 -2.7976542245597)'))) / (select extract(epoch from '2026-07-23 08:48:34'::timestamp) - extract(epoch from '2026-07-23 08:48: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'), 47842, 'SRID=4674;POINT (-40.327593069524 -2.7976826392114)', '2026-07-23 08:48:42', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32740556635 -2.7976542245597)'), GeomFromEWKT('SRID=4674;POINT (-40.327593069524 -2.7976826392114)'))) / (select extract(epoch from '2026-07-23 08:48:42'::timestamp) - extract(epoch from '2026-07-23 08:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32740556635 -2.7976542245597)'), GeomFromEWKT('SRID=4674;POINT (-40.327593069524 -2.7976826392114)'))) / (select extract(epoch from '2026-07-23 08:48:42'::timestamp) - extract(epoch from '2026-07-23 08:48: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'), 47842, 'SRID=4674;POINT (-40.32780722715 -2.7977292425931)', '2026-07-23 08:48:51', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327593069524 -2.7976826392114)'), GeomFromEWKT('SRID=4674;POINT (-40.32780722715 -2.7977292425931)'))) / (select extract(epoch from '2026-07-23 08:48:51'::timestamp) - extract(epoch from '2026-07-23 08:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327593069524 -2.7976826392114)'), GeomFromEWKT('SRID=4674;POINT (-40.32780722715 -2.7977292425931)'))) / (select extract(epoch from '2026-07-23 08:48:51'::timestamp) - extract(epoch from '2026-07-23 08:48: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'), 47842, 'SRID=4674;POINT (-40.328059522435 -2.7977904304862)', '2026-07-23 08:49:01', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32780722715 -2.7977292425931)'), GeomFromEWKT('SRID=4674;POINT (-40.328059522435 -2.7977904304862)'))) / (select extract(epoch from '2026-07-23 08:49:01'::timestamp) - extract(epoch from '2026-07-23 08:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32780722715 -2.7977292425931)'), GeomFromEWKT('SRID=4674;POINT (-40.328059522435 -2.7977904304862)'))) / (select extract(epoch from '2026-07-23 08:49:01'::timestamp) - extract(epoch from '2026-07-23 08:48:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.328285330907 -2.7978277299553)', '2026-07-23 08:49:10', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328059522435 -2.7977904304862)'), GeomFromEWKT('SRID=4674;POINT (-40.328285330907 -2.7978277299553)'))) / (select extract(epoch from '2026-07-23 08:49:10'::timestamp) - extract(epoch from '2026-07-23 08:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328059522435 -2.7977904304862)'), GeomFromEWKT('SRID=4674;POINT (-40.328285330907 -2.7978277299553)'))) / (select extract(epoch from '2026-07-23 08:49:10'::timestamp) - extract(epoch from '2026-07-23 08:49: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'), 47842, 'SRID=4674;POINT (-40.328470487148 -2.7978603355587)', '2026-07-23 08:49:17', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328285330907 -2.7978277299553)'), GeomFromEWKT('SRID=4674;POINT (-40.328470487148 -2.7978603355587)'))) / (select extract(epoch from '2026-07-23 08:49:17'::timestamp) - extract(epoch from '2026-07-23 08:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328285330907 -2.7978277299553)'), GeomFromEWKT('SRID=4674;POINT (-40.328470487148 -2.7978603355587)'))) / (select extract(epoch from '2026-07-23 08:49:17'::timestamp) - extract(epoch from '2026-07-23 08:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.32865296118 -2.7978873252869)', '2026-07-23 08:49:24', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328470487148 -2.7978603355587)'), GeomFromEWKT('SRID=4674;POINT (-40.32865296118 -2.7978873252869)'))) / (select extract(epoch from '2026-07-23 08:49:24'::timestamp) - extract(epoch from '2026-07-23 08:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328470487148 -2.7978603355587)'), GeomFromEWKT('SRID=4674;POINT (-40.32865296118 -2.7978873252869)'))) / (select extract(epoch from '2026-07-23 08:49:24'::timestamp) - extract(epoch from '2026-07-23 08:49: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'), 47842, 'SRID=4674;POINT (-40.328941550106 -2.7979481779039)', '2026-07-23 08:49:35', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32865296118 -2.7978873252869)'), GeomFromEWKT('SRID=4674;POINT (-40.328941550106 -2.7979481779039)'))) / (select extract(epoch from '2026-07-23 08:49:35'::timestamp) - extract(epoch from '2026-07-23 08:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32865296118 -2.7978873252869)'), GeomFromEWKT('SRID=4674;POINT (-40.328941550106 -2.7979481779039)'))) / (select extract(epoch from '2026-07-23 08:49:35'::timestamp) - extract(epoch from '2026-07-23 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'), 47842, 'SRID=4674;POINT (-40.329112960026 -2.7979866508394)', '2026-07-23 08:49:42', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328941550106 -2.7979481779039)'), GeomFromEWKT('SRID=4674;POINT (-40.329112960026 -2.7979866508394)'))) / (select extract(epoch from '2026-07-23 08:49:42'::timestamp) - extract(epoch from '2026-07-23 08:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328941550106 -2.7979481779039)'), GeomFromEWKT('SRID=4674;POINT (-40.329112960026 -2.7979866508394)'))) / (select extract(epoch from '2026-07-23 08:49:42'::timestamp) - extract(epoch from '2026-07-23 08:49: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'), 47842, 'SRID=4674;POINT (-40.329290740192 -2.7980389539152)', '2026-07-23 08:49:49', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329112960026 -2.7979866508394)'), GeomFromEWKT('SRID=4674;POINT (-40.329290740192 -2.7980389539152)'))) / (select extract(epoch from '2026-07-23 08:49:49'::timestamp) - extract(epoch from '2026-07-23 08:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329112960026 -2.7979866508394)'), GeomFromEWKT('SRID=4674;POINT (-40.329290740192 -2.7980389539152)'))) / (select extract(epoch from '2026-07-23 08:49:49'::timestamp) - extract(epoch from '2026-07-23 08:49: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'), 47842, 'SRID=4674;POINT (-40.32947698608 -2.7980905864388)', '2026-07-23 08:49:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329290740192 -2.7980389539152)'), GeomFromEWKT('SRID=4674;POINT (-40.32947698608 -2.7980905864388)'))) / (select extract(epoch from '2026-07-23 08:49:56'::timestamp) - extract(epoch from '2026-07-23 08:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329290740192 -2.7980389539152)'), GeomFromEWKT('SRID=4674;POINT (-40.32947698608 -2.7980905864388)'))) / (select extract(epoch from '2026-07-23 08:49:56'::timestamp) - extract(epoch from '2026-07-23 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'), 47842, 'SRID=4674;POINT (-40.329689634964 -2.7981476671994)', '2026-07-23 08:50:04', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32947698608 -2.7980905864388)'), GeomFromEWKT('SRID=4674;POINT (-40.329689634964 -2.7981476671994)'))) / (select extract(epoch from '2026-07-23 08:50:04'::timestamp) - extract(epoch from '2026-07-23 08:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32947698608 -2.7980905864388)'), GeomFromEWKT('SRID=4674;POINT (-40.329689634964 -2.7981476671994)'))) / (select extract(epoch from '2026-07-23 08:50:04'::timestamp) - extract(epoch from '2026-07-23 08:49:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.329887699336 -2.7981913369149)', '2026-07-23 08:50:12', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329689634964 -2.7981476671994)'), GeomFromEWKT('SRID=4674;POINT (-40.329887699336 -2.7981913369149)'))) / (select extract(epoch from '2026-07-23 08:50:12'::timestamp) - extract(epoch from '2026-07-23 08:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329689634964 -2.7981476671994)'), GeomFromEWKT('SRID=4674;POINT (-40.329887699336 -2.7981913369149)'))) / (select extract(epoch from '2026-07-23 08:50:12'::timestamp) - extract(epoch from '2026-07-23 08:50: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'), 47842, 'SRID=4674;POINT (-40.330051733181 -2.7982310671359)', '2026-07-23 08:50:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329887699336 -2.7981913369149)'), GeomFromEWKT('SRID=4674;POINT (-40.330051733181 -2.7982310671359)'))) / (select extract(epoch from '2026-07-23 08:50:18'::timestamp) - extract(epoch from '2026-07-23 08:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329887699336 -2.7981913369149)'), GeomFromEWKT('SRID=4674;POINT (-40.330051733181 -2.7982310671359)'))) / (select extract(epoch from '2026-07-23 08:50:18'::timestamp) - extract(epoch from '2026-07-23 08:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.330277038738 -2.7982752397656)', '2026-07-23 08:50:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330051733181 -2.7982310671359)'), GeomFromEWKT('SRID=4674;POINT (-40.330277038738 -2.7982752397656)'))) / (select extract(epoch from '2026-07-23 08:50:27'::timestamp) - extract(epoch from '2026-07-23 08:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330051733181 -2.7982310671359)'), GeomFromEWKT('SRID=4674;POINT (-40.330277038738 -2.7982752397656)'))) / (select extract(epoch from '2026-07-23 08:50:27'::timestamp) - extract(epoch from '2026-07-23 08:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.330491196364 -2.7983197476715)', '2026-07-23 08:50:35', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330277038738 -2.7982752397656)'), GeomFromEWKT('SRID=4674;POINT (-40.330491196364 -2.7983197476715)'))) / (select extract(epoch from '2026-07-23 08:50:35'::timestamp) - extract(epoch from '2026-07-23 08:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330277038738 -2.7982752397656)'), GeomFromEWKT('SRID=4674;POINT (-40.330491196364 -2.7983197476715)'))) / (select extract(epoch from '2026-07-23 08:50:35'::timestamp) - extract(epoch from '2026-07-23 08:50: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'), 47842, 'SRID=4674;POINT (-40.330702168867 -2.7983521856368)', '2026-07-23 08:50:43', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330491196364 -2.7983197476715)'), GeomFromEWKT('SRID=4674;POINT (-40.330702168867 -2.7983521856368)'))) / (select extract(epoch from '2026-07-23 08:50:43'::timestamp) - extract(epoch from '2026-07-23 08:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330491196364 -2.7983197476715)'), GeomFromEWKT('SRID=4674;POINT (-40.330702168867 -2.7983521856368)'))) / (select extract(epoch from '2026-07-23 08:50:43'::timestamp) - extract(epoch from '2026-07-23 08:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.330920265988 -2.7983805164695)', '2026-07-23 08:50:52', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330702168867 -2.7983521856368)'), GeomFromEWKT('SRID=4674;POINT (-40.330920265988 -2.7983805164695)'))) / (select extract(epoch from '2026-07-23 08:50:52'::timestamp) - extract(epoch from '2026-07-23 08:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330702168867 -2.7983521856368)'), GeomFromEWKT('SRID=4674;POINT (-40.330920265988 -2.7983805164695)'))) / (select extract(epoch from '2026-07-23 08:50:52'::timestamp) - extract(epoch from '2026-07-23 08:50: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'), 47842, 'SRID=4674;POINT (-40.331087317318 -2.7983986213803)', '2026-07-23 08:50:59', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330920265988 -2.7983805164695)'), GeomFromEWKT('SRID=4674;POINT (-40.331087317318 -2.7983986213803)'))) / (select extract(epoch from '2026-07-23 08:50:59'::timestamp) - extract(epoch from '2026-07-23 08:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330920265988 -2.7983805164695)'), GeomFromEWKT('SRID=4674;POINT (-40.331087317318 -2.7983986213803)'))) / (select extract(epoch from '2026-07-23 08:50:59'::timestamp) - extract(epoch from '2026-07-23 08:50: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'), 47842, 'SRID=4674;POINT (-40.331320082769 -2.7984240185469)', '2026-07-23 08:51:08', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331087317318 -2.7983986213803)'), GeomFromEWKT('SRID=4674;POINT (-40.331320082769 -2.7984240185469)'))) / (select extract(epoch from '2026-07-23 08:51:08'::timestamp) - extract(epoch from '2026-07-23 08:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331087317318 -2.7983986213803)'), GeomFromEWKT('SRID=4674;POINT (-40.331320082769 -2.7984240185469)'))) / (select extract(epoch from '2026-07-23 08:51:08'::timestamp) - extract(epoch from '2026-07-23 08:50: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'), 47842, 'SRID=4674;POINT (-40.331509429961 -2.7984486613423)', '2026-07-23 08:51:16', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331320082769 -2.7984240185469)'), GeomFromEWKT('SRID=4674;POINT (-40.331509429961 -2.7984486613423)'))) / (select extract(epoch from '2026-07-23 08:51:16'::timestamp) - extract(epoch from '2026-07-23 08:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331320082769 -2.7984240185469)'), GeomFromEWKT('SRID=4674;POINT (-40.331509429961 -2.7984486613423)'))) / (select extract(epoch from '2026-07-23 08:51:16'::timestamp) - extract(epoch from '2026-07-23 08:51: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'), 47842, 'SRID=4674;POINT (-40.331688048318 -2.798477075994)', '2026-07-23 08:51:24', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331509429961 -2.7984486613423)'), GeomFromEWKT('SRID=4674;POINT (-40.331688048318 -2.798477075994)'))) / (select extract(epoch from '2026-07-23 08:51:24'::timestamp) - extract(epoch from '2026-07-23 08:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331509429961 -2.7984486613423)'), GeomFromEWKT('SRID=4674;POINT (-40.331688048318 -2.798477075994)'))) / (select extract(epoch from '2026-07-23 08:51:24'::timestamp) - extract(epoch from '2026-07-23 08:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.331900361925 -2.7985127829015)', '2026-07-23 08:51:33', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331688048318 -2.798477075994)'), GeomFromEWKT('SRID=4674;POINT (-40.331900361925 -2.7985127829015)'))) / (select extract(epoch from '2026-07-23 08:51:33'::timestamp) - extract(epoch from '2026-07-23 08:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331688048318 -2.798477075994)'), GeomFromEWKT('SRID=4674;POINT (-40.331900361925 -2.7985127829015)'))) / (select extract(epoch from '2026-07-23 08:51:33'::timestamp) - extract(epoch from '2026-07-23 08:51: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'), 47842, 'SRID=4674;POINT (-40.332064563408 -2.7985856216401)', '2026-07-23 08:51:40', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331900361925 -2.7985127829015)'), GeomFromEWKT('SRID=4674;POINT (-40.332064563408 -2.7985856216401)'))) / (select extract(epoch from '2026-07-23 08:51:40'::timestamp) - extract(epoch from '2026-07-23 08:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331900361925 -2.7985127829015)'), GeomFromEWKT('SRID=4674;POINT (-40.332064563408 -2.7985856216401)'))) / (select extract(epoch from '2026-07-23 08:51:40'::timestamp) - extract(epoch from '2026-07-23 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'), 47842, 'SRID=4674;POINT (-40.33230252564 -2.7986877970397)', '2026-07-23 08:51:50', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332064563408 -2.7985856216401)'), GeomFromEWKT('SRID=4674;POINT (-40.33230252564 -2.7986877970397)'))) / (select extract(epoch from '2026-07-23 08:51:50'::timestamp) - extract(epoch from '2026-07-23 08:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332064563408 -2.7985856216401)'), GeomFromEWKT('SRID=4674;POINT (-40.33230252564 -2.7986877970397)'))) / (select extract(epoch from '2026-07-23 08:51:50'::timestamp) - extract(epoch from '2026-07-23 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'), 47842, 'SRID=4674;POINT (-40.332508888096 -2.7987555228174)', '2026-07-23 08:51:58', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33230252564 -2.7986877970397)'), GeomFromEWKT('SRID=4674;POINT (-40.332508888096 -2.7987555228174)'))) / (select extract(epoch from '2026-07-23 08:51:58'::timestamp) - extract(epoch from '2026-07-23 08:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33230252564 -2.7986877970397)'), GeomFromEWKT('SRID=4674;POINT (-40.332508888096 -2.7987555228174)'))) / (select extract(epoch from '2026-07-23 08:51:58'::timestamp) - extract(epoch from '2026-07-23 08:51: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'), 47842, 'SRID=4674;POINT (-40.33272488974 -2.7988139446825)', '2026-07-23 08:52:07', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332508888096 -2.7987555228174)'), GeomFromEWKT('SRID=4674;POINT (-40.33272488974 -2.7988139446825)'))) / (select extract(epoch from '2026-07-23 08:52:07'::timestamp) - extract(epoch from '2026-07-23 08:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332508888096 -2.7987555228174)'), GeomFromEWKT('SRID=4674;POINT (-40.33272488974 -2.7988139446825)'))) / (select extract(epoch from '2026-07-23 08:52:07'::timestamp) - extract(epoch from '2026-07-23 08:51: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'), 47842, 'SRID=4674;POINT (-40.332972323522 -2.7988664992154)', '2026-07-23 08:52:17', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33272488974 -2.7988139446825)'), GeomFromEWKT('SRID=4674;POINT (-40.332972323522 -2.7988664992154)'))) / (select extract(epoch from '2026-07-23 08:52:17'::timestamp) - extract(epoch from '2026-07-23 08:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33272488974 -2.7988139446825)'), GeomFromEWKT('SRID=4674;POINT (-40.332972323522 -2.7988664992154)'))) / (select extract(epoch from '2026-07-23 08:52:17'::timestamp) - extract(epoch from '2026-07-23 08:52: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'), 47842, 'SRID=4674;POINT (-40.333170639351 -2.7988906390965)', '2026-07-23 08:52:25', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332972323522 -2.7988664992154)'), GeomFromEWKT('SRID=4674;POINT (-40.333170639351 -2.7988906390965)'))) / (select extract(epoch from '2026-07-23 08:52:25'::timestamp) - extract(epoch from '2026-07-23 08:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332972323522 -2.7988664992154)'), GeomFromEWKT('SRID=4674;POINT (-40.333170639351 -2.7988906390965)'))) / (select extract(epoch from '2026-07-23 08:52:25'::timestamp) - extract(epoch from '2026-07-23 08:52: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'), 47842, 'SRID=4674;POINT (-40.333353448659 -2.7989241667092)', '2026-07-23 08:52:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333170639351 -2.7988906390965)'), GeomFromEWKT('SRID=4674;POINT (-40.333353448659 -2.7989241667092)'))) / (select extract(epoch from '2026-07-23 08:52:32'::timestamp) - extract(epoch from '2026-07-23 08:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333170639351 -2.7988906390965)'), GeomFromEWKT('SRID=4674;POINT (-40.333353448659 -2.7989241667092)'))) / (select extract(epoch from '2026-07-23 08:52:32'::timestamp) - extract(epoch from '2026-07-23 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'), 47842, 'SRID=4674;POINT (-40.33355159685 -2.7989615499973)', '2026-07-23 08:52:40', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333353448659 -2.7989241667092)'), GeomFromEWKT('SRID=4674;POINT (-40.33355159685 -2.7989615499973)'))) / (select extract(epoch from '2026-07-23 08:52:40'::timestamp) - extract(epoch from '2026-07-23 08:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333353448659 -2.7989241667092)'), GeomFromEWKT('SRID=4674;POINT (-40.33355159685 -2.7989615499973)'))) / (select extract(epoch from '2026-07-23 08:52:40'::timestamp) - extract(epoch from '2026-07-23 08:52: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'), 47842, 'SRID=4674;POINT (-40.333783440292 -2.79899247922)', '2026-07-23 08:52:49', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33355159685 -2.7989615499973)'), GeomFromEWKT('SRID=4674;POINT (-40.333783440292 -2.79899247922)'))) / (select extract(epoch from '2026-07-23 08:52:49'::timestamp) - extract(epoch from '2026-07-23 08:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33355159685 -2.7989615499973)'), GeomFromEWKT('SRID=4674;POINT (-40.333783440292 -2.79899247922)'))) / (select extract(epoch from '2026-07-23 08:52:49'::timestamp) - extract(epoch from '2026-07-23 08:52: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'), 47842, 'SRID=4674;POINT (-40.333966165781 -2.7990338858217)', '2026-07-23 08:52:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333783440292 -2.79899247922)'), GeomFromEWKT('SRID=4674;POINT (-40.333966165781 -2.7990338858217)'))) / (select extract(epoch from '2026-07-23 08:52:56'::timestamp) - extract(epoch from '2026-07-23 08:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333783440292 -2.79899247922)'), GeomFromEWKT('SRID=4674;POINT (-40.333966165781 -2.7990338858217)'))) / (select extract(epoch from '2026-07-23 08:52:56'::timestamp) - extract(epoch from '2026-07-23 08:52: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'), 47842, 'SRID=4674;POINT (-40.334196919575 -2.7990855183452)', '2026-07-23 08:53:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333966165781 -2.7990338858217)'), GeomFromEWKT('SRID=4674;POINT (-40.334196919575 -2.7990855183452)'))) / (select extract(epoch from '2026-07-23 08:53:04'::timestamp) - extract(epoch from '2026-07-23 08:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333966165781 -2.7990338858217)'), GeomFromEWKT('SRID=4674;POINT (-40.334196919575 -2.7990855183452)'))) / (select extract(epoch from '2026-07-23 08:53:04'::timestamp) - extract(epoch from '2026-07-23 08:52: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'), 47842, 'SRID=4674;POINT (-40.334417782724 -2.7991617936641)', '2026-07-23 08:53:12', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334196919575 -2.7990855183452)'), GeomFromEWKT('SRID=4674;POINT (-40.334417782724 -2.7991617936641)'))) / (select extract(epoch from '2026-07-23 08:53:12'::timestamp) - extract(epoch from '2026-07-23 08:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334196919575 -2.7990855183452)'), GeomFromEWKT('SRID=4674;POINT (-40.334417782724 -2.7991617936641)'))) / (select extract(epoch from '2026-07-23 08:53:12'::timestamp) - extract(epoch from '2026-07-23 08:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.334705617279 -2.7992341294885)', '2026-07-23 08:53:23', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334417782724 -2.7991617936641)'), GeomFromEWKT('SRID=4674;POINT (-40.334705617279 -2.7992341294885)'))) / (select extract(epoch from '2026-07-23 08:53:23'::timestamp) - extract(epoch from '2026-07-23 08:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334417782724 -2.7991617936641)'), GeomFromEWKT('SRID=4674;POINT (-40.334705617279 -2.7992341294885)'))) / (select extract(epoch from '2026-07-23 08:53:23'::timestamp) - extract(epoch from '2026-07-23 08:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.334952129051 -2.7992852590978)', '2026-07-23 08:53:32', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334705617279 -2.7992341294885)'), GeomFromEWKT('SRID=4674;POINT (-40.334952129051 -2.7992852590978)'))) / (select extract(epoch from '2026-07-23 08:53:32'::timestamp) - extract(epoch from '2026-07-23 08:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334705617279 -2.7992341294885)'), GeomFromEWKT('SRID=4674;POINT (-40.334952129051 -2.7992852590978)'))) / (select extract(epoch from '2026-07-23 08:53:32'::timestamp) - extract(epoch from '2026-07-23 08:53: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'), 47842, 'SRID=4674;POINT (-40.335169387981 -2.7993242349476)', '2026-07-23 08:53:40', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334952129051 -2.7992852590978)'), GeomFromEWKT('SRID=4674;POINT (-40.335169387981 -2.7993242349476)'))) / (select extract(epoch from '2026-07-23 08:53:40'::timestamp) - extract(epoch from '2026-07-23 08:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334952129051 -2.7992852590978)'), GeomFromEWKT('SRID=4674;POINT (-40.335169387981 -2.7993242349476)'))) / (select extract(epoch from '2026-07-23 08:53:40'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.335372565314 -2.7993898652494)', '2026-07-23 08:53:48', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335169387981 -2.7993242349476)'), GeomFromEWKT('SRID=4674;POINT (-40.335372565314 -2.7993898652494)'))) / (select extract(epoch from '2026-07-23 08:53:48'::timestamp) - extract(epoch from '2026-07-23 08:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335169387981 -2.7993242349476)'), GeomFromEWKT('SRID=4674;POINT (-40.335372565314 -2.7993898652494)'))) / (select extract(epoch from '2026-07-23 08:53:48'::timestamp) - extract(epoch from '2026-07-23 08:53:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.335544645786 -2.7994607761502)', '2026-07-23 08:53:55', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335372565314 -2.7993898652494)'), GeomFromEWKT('SRID=4674;POINT (-40.335544645786 -2.7994607761502)'))) / (select extract(epoch from '2026-07-23 08:53:55'::timestamp) - extract(epoch from '2026-07-23 08:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335372565314 -2.7993898652494)'), GeomFromEWKT('SRID=4674;POINT (-40.335544645786 -2.7994607761502)'))) / (select extract(epoch from '2026-07-23 08:53:55'::timestamp) - extract(epoch from '2026-07-23 08:53: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'), 47842, 'SRID=4674;POINT (-40.33578495495 -2.7995255682617)', '2026-07-23 08:54:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335544645786 -2.7994607761502)'), GeomFromEWKT('SRID=4674;POINT (-40.33578495495 -2.7995255682617)'))) / (select extract(epoch from '2026-07-23 08:54:04'::timestamp) - extract(epoch from '2026-07-23 08:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335544645786 -2.7994607761502)'), GeomFromEWKT('SRID=4674;POINT (-40.33578495495 -2.7995255682617)'))) / (select extract(epoch from '2026-07-23 08:54:04'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.336084188893 -2.7996068727225)', '2026-07-23 08:54:15', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33578495495 -2.7995255682617)'), GeomFromEWKT('SRID=4674;POINT (-40.336084188893 -2.7996068727225)'))) / (select extract(epoch from '2026-07-23 08:54:15'::timestamp) - extract(epoch from '2026-07-23 08:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33578495495 -2.7995255682617)'), GeomFromEWKT('SRID=4674;POINT (-40.336084188893 -2.7996068727225)'))) / (select extract(epoch from '2026-07-23 08:54:15'::timestamp) - extract(epoch from '2026-07-23 08:54:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.33634067513 -2.7996628638357)', '2026-07-23 08:54:24', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336084188893 -2.7996068727225)'), GeomFromEWKT('SRID=4674;POINT (-40.33634067513 -2.7996628638357)'))) / (select extract(epoch from '2026-07-23 08:54:24'::timestamp) - extract(epoch from '2026-07-23 08:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336084188893 -2.7996068727225)'), GeomFromEWKT('SRID=4674;POINT (-40.33634067513 -2.7996628638357)'))) / (select extract(epoch from '2026-07-23 08:54:24'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.336528345942 -2.7997173462063)', '2026-07-23 08:54:31', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33634067513 -2.7996628638357)'), GeomFromEWKT('SRID=4674;POINT (-40.336528345942 -2.7997173462063)'))) / (select extract(epoch from '2026-07-23 08:54:31'::timestamp) - extract(epoch from '2026-07-23 08:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33634067513 -2.7996628638357)'), GeomFromEWKT('SRID=4674;POINT (-40.336528345942 -2.7997173462063)'))) / (select extract(epoch from '2026-07-23 08:54:31'::timestamp) - extract(epoch from '2026-07-23 08:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.336709730327 -2.7998095471412)', '2026-07-23 08:54:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336528345942 -2.7997173462063)'), GeomFromEWKT('SRID=4674;POINT (-40.336709730327 -2.7998095471412)'))) / (select extract(epoch from '2026-07-23 08:54:38'::timestamp) - extract(epoch from '2026-07-23 08:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336528345942 -2.7997173462063)'), GeomFromEWKT('SRID=4674;POINT (-40.336709730327 -2.7998095471412)'))) / (select extract(epoch from '2026-07-23 08:54:38'::timestamp) - extract(epoch from '2026-07-23 08:54: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'), 47842, 'SRID=4674;POINT (-40.336907878518 -2.7999091241509)', '2026-07-23 08:54:46', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336709730327 -2.7998095471412)'), GeomFromEWKT('SRID=4674;POINT (-40.336907878518 -2.7999091241509)'))) / (select extract(epoch from '2026-07-23 08:54:46'::timestamp) - extract(epoch from '2026-07-23 08:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336709730327 -2.7998095471412)'), GeomFromEWKT('SRID=4674;POINT (-40.336907878518 -2.7999091241509)'))) / (select extract(epoch from '2026-07-23 08:54:46'::timestamp) - extract(epoch from '2026-07-23 08:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.337103260681 -2.8000220283866)', '2026-07-23 08:54:54', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336907878518 -2.7999091241509)'), GeomFromEWKT('SRID=4674;POINT (-40.337103260681 -2.8000220283866)'))) / (select extract(epoch from '2026-07-23 08:54:54'::timestamp) - extract(epoch from '2026-07-23 08:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336907878518 -2.7999091241509)'), GeomFromEWKT('SRID=4674;POINT (-40.337103260681 -2.8000220283866)'))) / (select extract(epoch from '2026-07-23 08:54:54'::timestamp) - extract(epoch from '2026-07-23 08:54: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'), 47842, 'SRID=4674;POINT (-40.337298559025 -2.8000977169722)', '2026-07-23 08:55:02', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337103260681 -2.8000220283866)'), GeomFromEWKT('SRID=4674;POINT (-40.337298559025 -2.8000977169722)'))) / (select extract(epoch from '2026-07-23 08:55:02'::timestamp) - extract(epoch from '2026-07-23 08:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337103260681 -2.8000220283866)'), GeomFromEWKT('SRID=4674;POINT (-40.337298559025 -2.8000977169722)'))) / (select extract(epoch from '2026-07-23 08:55:02'::timestamp) - extract(epoch from '2026-07-23 08:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.337516991422 -2.8001562226564)', '2026-07-23 08:55:11', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337298559025 -2.8000977169722)'), GeomFromEWKT('SRID=4674;POINT (-40.337516991422 -2.8001562226564)'))) / (select extract(epoch from '2026-07-23 08:55:11'::timestamp) - extract(epoch from '2026-07-23 08:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337298559025 -2.8000977169722)'), GeomFromEWKT('SRID=4674;POINT (-40.337516991422 -2.8001562226564)'))) / (select extract(epoch from '2026-07-23 08:55:11'::timestamp) - extract(epoch from '2026-07-23 08:55: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'), 47842, 'SRID=4674;POINT (-40.337731484324 -2.8002244513482)', '2026-07-23 08:55:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337516991422 -2.8001562226564)'), GeomFromEWKT('SRID=4674;POINT (-40.337731484324 -2.8002244513482)'))) / (select extract(epoch from '2026-07-23 08:55:19'::timestamp) - extract(epoch from '2026-07-23 08:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337516991422 -2.8001562226564)'), GeomFromEWKT('SRID=4674;POINT (-40.337731484324 -2.8002244513482)'))) / (select extract(epoch from '2026-07-23 08:55:19'::timestamp) - extract(epoch from '2026-07-23 08:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.337975565344 -2.8002784308046)', '2026-07-23 08:55:28', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337731484324 -2.8002244513482)'), GeomFromEWKT('SRID=4674;POINT (-40.337975565344 -2.8002784308046)'))) / (select extract(epoch from '2026-07-23 08:55:28'::timestamp) - extract(epoch from '2026-07-23 08:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337731484324 -2.8002244513482)'), GeomFromEWKT('SRID=4674;POINT (-40.337975565344 -2.8002784308046)'))) / (select extract(epoch from '2026-07-23 08:55:28'::timestamp) - extract(epoch from '2026-07-23 08:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.338204223663 -2.8003342542797)', '2026-07-23 08:55:37', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337975565344 -2.8002784308046)'), GeomFromEWKT('SRID=4674;POINT (-40.338204223663 -2.8003342542797)'))) / (select extract(epoch from '2026-07-23 08:55:37'::timestamp) - extract(epoch from '2026-07-23 08:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337975565344 -2.8002784308046)'), GeomFromEWKT('SRID=4674;POINT (-40.338204223663 -2.8003342542797)'))) / (select extract(epoch from '2026-07-23 08:55:37'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.338494069874 -2.8003924246877)', '2026-07-23 08:55:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338204223663 -2.8003342542797)'), GeomFromEWKT('SRID=4674;POINT (-40.338494069874 -2.8003924246877)'))) / (select extract(epoch from '2026-07-23 08:55:48'::timestamp) - extract(epoch from '2026-07-23 08:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338204223663 -2.8003342542797)'), GeomFromEWKT('SRID=4674;POINT (-40.338494069874 -2.8003924246877)'))) / (select extract(epoch from '2026-07-23 08:55:48'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.338735217229 -2.8004480805248)', '2026-07-23 08:55:57', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338494069874 -2.8003924246877)'), GeomFromEWKT('SRID=4674;POINT (-40.338735217229 -2.8004480805248)'))) / (select extract(epoch from '2026-07-23 08:55:57'::timestamp) - extract(epoch from '2026-07-23 08:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338494069874 -2.8003924246877)'), GeomFromEWKT('SRID=4674;POINT (-40.338735217229 -2.8004480805248)'))) / (select extract(epoch from '2026-07-23 08:55:57'::timestamp) - extract(epoch from '2026-07-23 08:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.339043755084 -2.8005249425769)', '2026-07-23 08:56:08', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338735217229 -2.8004480805248)'), GeomFromEWKT('SRID=4674;POINT (-40.339043755084 -2.8005249425769)'))) / (select extract(epoch from '2026-07-23 08:56:08'::timestamp) - extract(epoch from '2026-07-23 08:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338735217229 -2.8004480805248)'), GeomFromEWKT('SRID=4674;POINT (-40.339043755084 -2.8005249425769)'))) / (select extract(epoch from '2026-07-23 08:56:08'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.339263780043 -2.8005772456527)', '2026-07-23 08:56:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339043755084 -2.8005249425769)'), GeomFromEWKT('SRID=4674;POINT (-40.339263780043 -2.8005772456527)'))) / (select extract(epoch from '2026-07-23 08:56:17'::timestamp) - extract(epoch from '2026-07-23 08:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339043755084 -2.8005249425769)'), GeomFromEWKT('SRID=4674;POINT (-40.339263780043 -2.8005772456527)'))) / (select extract(epoch from '2026-07-23 08:56:17'::timestamp) - extract(epoch from '2026-07-23 08:56: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'), 47842, 'SRID=4674;POINT (-40.339465197176 -2.8006186522543)', '2026-07-23 08:56:25', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339263780043 -2.8005772456527)'), GeomFromEWKT('SRID=4674;POINT (-40.339465197176 -2.8006186522543)'))) / (select extract(epoch from '2026-07-23 08:56:25'::timestamp) - extract(epoch from '2026-07-23 08:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339263780043 -2.8005772456527)'), GeomFromEWKT('SRID=4674;POINT (-40.339465197176 -2.8006186522543)'))) / (select extract(epoch from '2026-07-23 08:56:25'::timestamp) - extract(epoch from '2026-07-23 08:56: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'), 47842, 'SRID=4674;POINT (-40.339663177729 -2.8006648365408)', '2026-07-23 08:56:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339465197176 -2.8006186522543)'), GeomFromEWKT('SRID=4674;POINT (-40.339663177729 -2.8006648365408)'))) / (select extract(epoch from '2026-07-23 08:56:33'::timestamp) - extract(epoch from '2026-07-23 08:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339465197176 -2.8006186522543)'), GeomFromEWKT('SRID=4674;POINT (-40.339663177729 -2.8006648365408)'))) / (select extract(epoch from '2026-07-23 08:56:33'::timestamp) - extract(epoch from '2026-07-23 08:56: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'), 47842, 'SRID=4674;POINT (-40.339886471629 -2.8007227554917)', '2026-07-23 08:56:42', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339663177729 -2.8006648365408)'), GeomFromEWKT('SRID=4674;POINT (-40.339886471629 -2.8007227554917)'))) / (select extract(epoch from '2026-07-23 08:56:42'::timestamp) - extract(epoch from '2026-07-23 08:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339663177729 -2.8006648365408)'), GeomFromEWKT('SRID=4674;POINT (-40.339886471629 -2.8007227554917)'))) / (select extract(epoch from '2026-07-23 08:56:42'::timestamp) - extract(epoch from '2026-07-23 08:56: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'), 47842, 'SRID=4674;POINT (-40.340127199888 -2.8007620666176)', '2026-07-23 08:56:52', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339886471629 -2.8007227554917)'), GeomFromEWKT('SRID=4674;POINT (-40.340127199888 -2.8007620666176)'))) / (select extract(epoch from '2026-07-23 08:56:52'::timestamp) - extract(epoch from '2026-07-23 08:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339886471629 -2.8007227554917)'), GeomFromEWKT('SRID=4674;POINT (-40.340127199888 -2.8007620666176)'))) / (select extract(epoch from '2026-07-23 08:56:52'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.340370442718 -2.8008120227605)', '2026-07-23 08:57:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340127199888 -2.8007620666176)'), GeomFromEWKT('SRID=4674;POINT (-40.340370442718 -2.8008120227605)'))) / (select extract(epoch from '2026-07-23 08:57:01'::timestamp) - extract(epoch from '2026-07-23 08:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340127199888 -2.8007620666176)'), GeomFromEWKT('SRID=4674;POINT (-40.340370442718 -2.8008120227605)'))) / (select extract(epoch from '2026-07-23 08:57:01'::timestamp) - extract(epoch from '2026-07-23 08:56: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'), 47842, 'SRID=4674;POINT (-40.340640088543 -2.8008836880326)', '2026-07-23 08:57:11', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340370442718 -2.8008120227605)'), GeomFromEWKT('SRID=4674;POINT (-40.340640088543 -2.8008836880326)'))) / (select extract(epoch from '2026-07-23 08:57:11'::timestamp) - extract(epoch from '2026-07-23 08:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340370442718 -2.8008120227605)'), GeomFromEWKT('SRID=4674;POINT (-40.340640088543 -2.8008836880326)'))) / (select extract(epoch from '2026-07-23 08:57:11'::timestamp) - extract(epoch from '2026-07-23 08:57: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'), 47842, 'SRID=4674;POINT (-40.340857766569 -2.8009252622724)', '2026-07-23 08:57:19', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340640088543 -2.8008836880326)'), GeomFromEWKT('SRID=4674;POINT (-40.340857766569 -2.8009252622724)'))) / (select extract(epoch from '2026-07-23 08:57:19'::timestamp) - extract(epoch from '2026-07-23 08:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340640088543 -2.8008836880326)'), GeomFromEWKT('SRID=4674;POINT (-40.340857766569 -2.8009252622724)'))) / (select extract(epoch from '2026-07-23 08:57:19'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.341090783477 -2.8009535931051)', '2026-07-23 08:57:28', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340857766569 -2.8009252622724)'), GeomFromEWKT('SRID=4674;POINT (-40.341090783477 -2.8009535931051)'))) / (select extract(epoch from '2026-07-23 08:57:28'::timestamp) - extract(epoch from '2026-07-23 08:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340857766569 -2.8009252622724)'), GeomFromEWKT('SRID=4674;POINT (-40.341090783477 -2.8009535931051)'))) / (select extract(epoch from '2026-07-23 08:57:28'::timestamp) - extract(epoch from '2026-07-23 08:57: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'), 47842, 'SRID=4674;POINT (-40.341363446787 -2.8010109253228)', '2026-07-23 08:57:38', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341090783477 -2.8009535931051)'), GeomFromEWKT('SRID=4674;POINT (-40.341363446787 -2.8010109253228)'))) / (select extract(epoch from '2026-07-23 08:57:38'::timestamp) - extract(epoch from '2026-07-23 08:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341090783477 -2.8009535931051)'), GeomFromEWKT('SRID=4674;POINT (-40.341363446787 -2.8010109253228)'))) / (select extract(epoch from '2026-07-23 08:57:38'::timestamp) - extract(epoch from '2026-07-23 08:57: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'), 47842, 'SRID=4674;POINT (-40.341596379876 -2.801056439057)', '2026-07-23 08:57:47', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341363446787 -2.8010109253228)'), GeomFromEWKT('SRID=4674;POINT (-40.341596379876 -2.801056439057)'))) / (select extract(epoch from '2026-07-23 08:57:47'::timestamp) - extract(epoch from '2026-07-23 08:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341363446787 -2.8010109253228)'), GeomFromEWKT('SRID=4674;POINT (-40.341596379876 -2.801056439057)'))) / (select extract(epoch from '2026-07-23 08:57:47'::timestamp) - extract(epoch from '2026-07-23 08:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.341824367642 -2.8010813333094)', '2026-07-23 08:57:56', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341596379876 -2.801056439057)'), GeomFromEWKT('SRID=4674;POINT (-40.341824367642 -2.8010813333094)'))) / (select extract(epoch from '2026-07-23 08:57:56'::timestamp) - extract(epoch from '2026-07-23 08:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341596379876 -2.801056439057)'), GeomFromEWKT('SRID=4674;POINT (-40.341824367642 -2.8010813333094)'))) / (select extract(epoch from '2026-07-23 08:57:56'::timestamp) - extract(epoch from '2026-07-23 08:57: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'), 47842, 'SRID=4674;POINT (-40.342030059546 -2.8011054731905)', '2026-07-23 08:58:05', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341824367642 -2.8010813333094)'), GeomFromEWKT('SRID=4674;POINT (-40.342030059546 -2.8011054731905)'))) / (select extract(epoch from '2026-07-23 08:58:05'::timestamp) - extract(epoch from '2026-07-23 08:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341824367642 -2.8010813333094)'), GeomFromEWKT('SRID=4674;POINT (-40.342030059546 -2.8011054731905)'))) / (select extract(epoch from '2026-07-23 08:58:05'::timestamp) - extract(epoch from '2026-07-23 08:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.342240445316 -2.8011338878423)', '2026-07-23 08:58:14', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342030059546 -2.8011054731905)'), GeomFromEWKT('SRID=4674;POINT (-40.342240445316 -2.8011338878423)'))) / (select extract(epoch from '2026-07-23 08:58:14'::timestamp) - extract(epoch from '2026-07-23 08:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342030059546 -2.8011054731905)'), GeomFromEWKT('SRID=4674;POINT (-40.342240445316 -2.8011338878423)'))) / (select extract(epoch from '2026-07-23 08:58:14'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.342477569357 -2.8011901304126)', '2026-07-23 08:58:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342240445316 -2.8011338878423)'), GeomFromEWKT('SRID=4674;POINT (-40.342477569357 -2.8011901304126)'))) / (select extract(epoch from '2026-07-23 08:58:24'::timestamp) - extract(epoch from '2026-07-23 08:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342240445316 -2.8011338878423)'), GeomFromEWKT('SRID=4674;POINT (-40.342477569357 -2.8011901304126)'))) / (select extract(epoch from '2026-07-23 08:58:24'::timestamp) - extract(epoch from '2026-07-23 08:58: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'), 47842, 'SRID=4674;POINT (-40.34263917245 -2.801223071292)', '2026-07-23 08:58:31', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342477569357 -2.8011901304126)'), GeomFromEWKT('SRID=4674;POINT (-40.34263917245 -2.801223071292)'))) / (select extract(epoch from '2026-07-23 08:58:31'::timestamp) - extract(epoch from '2026-07-23 08:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342477569357 -2.8011901304126)'), GeomFromEWKT('SRID=4674;POINT (-40.34263917245 -2.801223071292)'))) / (select extract(epoch from '2026-07-23 08:58:31'::timestamp) - extract(epoch from '2026-07-23 08:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.342857688665 -2.8012706805021)', '2026-07-23 08:58:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34263917245 -2.801223071292)'), GeomFromEWKT('SRID=4674;POINT (-40.342857688665 -2.8012706805021)'))) / (select extract(epoch from '2026-07-23 08:58:40'::timestamp) - extract(epoch from '2026-07-23 08:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34263917245 -2.801223071292)'), GeomFromEWKT('SRID=4674;POINT (-40.342857688665 -2.8012706805021)'))) / (select extract(epoch from '2026-07-23 08:58:40'::timestamp) - extract(epoch from '2026-07-23 08:58: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'), 47842, 'SRID=4674;POINT (-40.343081653118 -2.8013186249882)', '2026-07-23 08:58:49', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342857688665 -2.8012706805021)'), GeomFromEWKT('SRID=4674;POINT (-40.343081653118 -2.8013186249882)'))) / (select extract(epoch from '2026-07-23 08:58:49'::timestamp) - extract(epoch from '2026-07-23 08:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342857688665 -2.8012706805021)'), GeomFromEWKT('SRID=4674;POINT (-40.343081653118 -2.8013186249882)'))) / (select extract(epoch from '2026-07-23 08:58:49'::timestamp) - extract(epoch from '2026-07-23 08:58: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'), 47842, 'SRID=4674;POINT (-40.34328835085 -2.80134184286)', '2026-07-23 08:58:57', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343081653118 -2.8013186249882)'), GeomFromEWKT('SRID=4674;POINT (-40.34328835085 -2.80134184286)'))) / (select extract(epoch from '2026-07-23 08:58:57'::timestamp) - extract(epoch from '2026-07-23 08:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343081653118 -2.8013186249882)'), GeomFromEWKT('SRID=4674;POINT (-40.34328835085 -2.80134184286)'))) / (select extract(epoch from '2026-07-23 08:58:57'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.343454480171 -2.8013693355024)', '2026-07-23 08:59:04', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34328835085 -2.80134184286)'), GeomFromEWKT('SRID=4674;POINT (-40.343454480171 -2.8013693355024)'))) / (select extract(epoch from '2026-07-23 08:59:04'::timestamp) - extract(epoch from '2026-07-23 08:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34328835085 -2.80134184286)'), GeomFromEWKT('SRID=4674;POINT (-40.343454480171 -2.8013693355024)'))) / (select extract(epoch from '2026-07-23 08:59:04'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.343623878434 -2.8013915475458)', '2026-07-23 08:59:11', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343454480171 -2.8013693355024)'), GeomFromEWKT('SRID=4674;POINT (-40.343623878434 -2.8013915475458)'))) / (select extract(epoch from '2026-07-23 08:59:11'::timestamp) - extract(epoch from '2026-07-23 08:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343454480171 -2.8013693355024)'), GeomFromEWKT('SRID=4674;POINT (-40.343623878434 -2.8013915475458)'))) / (select extract(epoch from '2026-07-23 08:59:11'::timestamp) - extract(epoch from '2026-07-23 08:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.343792857602 -2.8014306910336)', '2026-07-23 08:59:18', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343623878434 -2.8013915475458)'), GeomFromEWKT('SRID=4674;POINT (-40.343792857602 -2.8014306910336)'))) / (select extract(epoch from '2026-07-23 08:59:18'::timestamp) - extract(epoch from '2026-07-23 08:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343623878434 -2.8013915475458)'), GeomFromEWKT('SRID=4674;POINT (-40.343792857602 -2.8014306910336)'))) / (select extract(epoch from '2026-07-23 08:59:18'::timestamp) - extract(epoch from '2026-07-23 08: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'), 47842, 'SRID=4674;POINT (-40.344005338848 -2.8014821559191)', '2026-07-23 08:59:27', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343792857602 -2.8014306910336)'), GeomFromEWKT('SRID=4674;POINT (-40.344005338848 -2.8014821559191)'))) / (select extract(epoch from '2026-07-23 08:59:27'::timestamp) - extract(epoch from '2026-07-23 08:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343792857602 -2.8014306910336)'), GeomFromEWKT('SRID=4674;POINT (-40.344005338848 -2.8014821559191)'))) / (select extract(epoch from '2026-07-23 08:59:27'::timestamp) - extract(epoch from '2026-07-23 08:59: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'), 47842, 'SRID=4674;POINT (-40.344196949154 -2.8015432599932)', '2026-07-23 08:59:35', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344005338848 -2.8014821559191)'), GeomFromEWKT('SRID=4674;POINT (-40.344196949154 -2.8015432599932)'))) / (select extract(epoch from '2026-07-23 08:59:35'::timestamp) - extract(epoch from '2026-07-23 08:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344005338848 -2.8014821559191)'), GeomFromEWKT('SRID=4674;POINT (-40.344196949154 -2.8015432599932)'))) / (select extract(epoch from '2026-07-23 08:59:35'::timestamp) - extract(epoch from '2026-07-23 08:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.3444094304 -2.8016045317054)', '2026-07-23 08:59:44', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344196949154 -2.8015432599932)'), GeomFromEWKT('SRID=4674;POINT (-40.3444094304 -2.8016045317054)'))) / (select extract(epoch from '2026-07-23 08:59:44'::timestamp) - extract(epoch from '2026-07-23 08:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344196949154 -2.8015432599932)'), GeomFromEWKT('SRID=4674;POINT (-40.3444094304 -2.8016045317054)'))) / (select extract(epoch from '2026-07-23 08:59:44'::timestamp) - extract(epoch from '2026-07-23 08:59: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'), 47842, 'SRID=4674;POINT (-40.344618391246 -2.8016912844032)', '2026-07-23 08:59:53', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3444094304 -2.8016045317054)'), GeomFromEWKT('SRID=4674;POINT (-40.344618391246 -2.8016912844032)'))) / (select extract(epoch from '2026-07-23 08:59:53'::timestamp) - extract(epoch from '2026-07-23 08:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3444094304 -2.8016045317054)'), GeomFromEWKT('SRID=4674;POINT (-40.344618391246 -2.8016912844032)'))) / (select extract(epoch from '2026-07-23 08:59:53'::timestamp) - extract(epoch from '2026-07-23 08:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.344792231917 -2.8017450962216)', '2026-07-23 09:00:00', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344618391246 -2.8016912844032)'), GeomFromEWKT('SRID=4674;POINT (-40.344792231917 -2.8017450962216)'))) / (select extract(epoch from '2026-07-23 09:00:00'::timestamp) - extract(epoch from '2026-07-23 08:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344618391246 -2.8016912844032)'), GeomFromEWKT('SRID=4674;POINT (-40.344792231917 -2.8017450962216)'))) / (select extract(epoch from '2026-07-23 09:00:00'::timestamp) - extract(epoch from '2026-07-23 08:59: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'), 47842, 'SRID=4674;POINT (-40.344932042062 -2.8018077928573)', '2026-07-23 09:00:06', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344792231917 -2.8017450962216)'), GeomFromEWKT('SRID=4674;POINT (-40.344932042062 -2.8018077928573)'))) / (select extract(epoch from '2026-07-23 09:00:06'::timestamp) - extract(epoch from '2026-07-23 09:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344792231917 -2.8017450962216)'), GeomFromEWKT('SRID=4674;POINT (-40.344932042062 -2.8018077928573)'))) / (select extract(epoch from '2026-07-23 09:00:06'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.345085095614 -2.8018883429468)', '2026-07-23 09:00:13', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344932042062 -2.8018077928573)'), GeomFromEWKT('SRID=4674;POINT (-40.345085095614 -2.8018883429468)'))) / (select extract(epoch from '2026-07-23 09:00:13'::timestamp) - extract(epoch from '2026-07-23 09:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344932042062 -2.8018077928573)'), GeomFromEWKT('SRID=4674;POINT (-40.345085095614 -2.8018883429468)'))) / (select extract(epoch from '2026-07-23 09:00:13'::timestamp) - extract(epoch from '2026-07-23 09:00: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'), 47842, 'SRID=4674;POINT (-40.345250135288 -2.8019959665835)', '2026-07-23 09:00:21', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345085095614 -2.8018883429468)'), GeomFromEWKT('SRID=4674;POINT (-40.345250135288 -2.8019959665835)'))) / (select extract(epoch from '2026-07-23 09:00:21'::timestamp) - extract(epoch from '2026-07-23 09:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345085095614 -2.8018883429468)'), GeomFromEWKT('SRID=4674;POINT (-40.345250135288 -2.8019959665835)'))) / (select extract(epoch from '2026-07-23 09:00:21'::timestamp) - extract(epoch from '2026-07-23 09:00: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'), 47842, 'SRID=4674;POINT (-40.345451720059 -2.8021211922169)', '2026-07-23 09:00:30', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345250135288 -2.8019959665835)'), GeomFromEWKT('SRID=4674;POINT (-40.345451720059 -2.8021211922169)'))) / (select extract(epoch from '2026-07-23 09:00:30'::timestamp) - extract(epoch from '2026-07-23 09:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345250135288 -2.8019959665835)'), GeomFromEWKT('SRID=4674;POINT (-40.345451720059 -2.8021211922169)'))) / (select extract(epoch from '2026-07-23 09:00:30'::timestamp) - extract(epoch from '2026-07-23 09:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.345651376992 -2.802219428122)', '2026-07-23 09:00:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345451720059 -2.8021211922169)'), GeomFromEWKT('SRID=4674;POINT (-40.345651376992 -2.802219428122)'))) / (select extract(epoch from '2026-07-23 09:00:39'::timestamp) - extract(epoch from '2026-07-23 09:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345451720059 -2.8021211922169)'), GeomFromEWKT('SRID=4674;POINT (-40.345651376992 -2.802219428122)'))) / (select extract(epoch from '2026-07-23 09:00:39'::timestamp) - extract(epoch from '2026-07-23 09:00:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.345901828259 -2.8023296501487)', '2026-07-23 09:00:49', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345651376992 -2.802219428122)'), GeomFromEWKT('SRID=4674;POINT (-40.345901828259 -2.8023296501487)'))) / (select extract(epoch from '2026-07-23 09:00:49'::timestamp) - extract(epoch from '2026-07-23 09:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345651376992 -2.802219428122)'), GeomFromEWKT('SRID=4674;POINT (-40.345901828259 -2.8023296501487)'))) / (select extract(epoch from '2026-07-23 09:00:49'::timestamp) - extract(epoch from '2026-07-23 09:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.3460887447 -2.8024589829147)', '2026-07-23 09:00:58', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345901828259 -2.8023296501487)'), GeomFromEWKT('SRID=4674;POINT (-40.3460887447 -2.8024589829147)'))) / (select extract(epoch from '2026-07-23 09:00:58'::timestamp) - extract(epoch from '2026-07-23 09:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345901828259 -2.8023296501487)'), GeomFromEWKT('SRID=4674;POINT (-40.3460887447 -2.8024589829147)'))) / (select extract(epoch from '2026-07-23 09:00:58'::timestamp) - extract(epoch from '2026-07-23 09:00: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'), 47842, 'SRID=4674;POINT (-40.346243055537 -2.8025691211224)', '2026-07-23 09:01:05', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3460887447 -2.8024589829147)'), GeomFromEWKT('SRID=4674;POINT (-40.346243055537 -2.8025691211224)'))) / (select extract(epoch from '2026-07-23 09:01:05'::timestamp) - extract(epoch from '2026-07-23 09:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3460887447 -2.8024589829147)'), GeomFromEWKT('SRID=4674;POINT (-40.346243055537 -2.8025691211224)'))) / (select extract(epoch from '2026-07-23 09:01:05'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.34641857259 -2.8026981186122)', '2026-07-23 09:01:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346243055537 -2.8025691211224)'), GeomFromEWKT('SRID=4674;POINT (-40.34641857259 -2.8026981186122)'))) / (select extract(epoch from '2026-07-23 09:01:14'::timestamp) - extract(epoch from '2026-07-23 09:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346243055537 -2.8025691211224)'), GeomFromEWKT('SRID=4674;POINT (-40.34641857259 -2.8026981186122)'))) / (select extract(epoch from '2026-07-23 09:01:14'::timestamp) - extract(epoch from '2026-07-23 09:01: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'), 47842, 'SRID=4674;POINT (-40.346626443788 -2.8028549440205)', '2026-07-23 09:01:23', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34641857259 -2.8026981186122)'), GeomFromEWKT('SRID=4674;POINT (-40.346626443788 -2.8028549440205)'))) / (select extract(epoch from '2026-07-23 09:01:23'::timestamp) - extract(epoch from '2026-07-23 09:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34641857259 -2.8026981186122)'), GeomFromEWKT('SRID=4674;POINT (-40.346626443788 -2.8028549440205)'))) / (select extract(epoch from '2026-07-23 09:01:23'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.346828699112 -2.8029735479504)', '2026-07-23 09:01:32', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346626443788 -2.8028549440205)'), GeomFromEWKT('SRID=4674;POINT (-40.346828699112 -2.8029735479504)'))) / (select extract(epoch from '2026-07-23 09:01:32'::timestamp) - extract(epoch from '2026-07-23 09:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346626443788 -2.8028549440205)'), GeomFromEWKT('SRID=4674;POINT (-40.346828699112 -2.8029735479504)'))) / (select extract(epoch from '2026-07-23 09:01:32'::timestamp) - extract(epoch from '2026-07-23 09:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.347049729899 -2.803094163537)', '2026-07-23 09:01:41', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346828699112 -2.8029735479504)'), GeomFromEWKT('SRID=4674;POINT (-40.347049729899 -2.803094163537)'))) / (select extract(epoch from '2026-07-23 09:01:41'::timestamp) - extract(epoch from '2026-07-23 09:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346828699112 -2.8029735479504)'), GeomFromEWKT('SRID=4674;POINT (-40.347049729899 -2.803094163537)'))) / (select extract(epoch from '2026-07-23 09:01:41'::timestamp) - extract(epoch from '2026-07-23 09:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.347282243893 -2.803234225139)', '2026-07-23 09:01:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347049729899 -2.803094163537)'), GeomFromEWKT('SRID=4674;POINT (-40.347282243893 -2.803234225139)'))) / (select extract(epoch from '2026-07-23 09:01:51'::timestamp) - extract(epoch from '2026-07-23 09:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347049729899 -2.803094163537)'), GeomFromEWKT('SRID=4674;POINT (-40.347282243893 -2.803234225139)'))) / (select extract(epoch from '2026-07-23 09:01:51'::timestamp) - extract(epoch from '2026-07-23 09:01: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'), 47842, 'SRID=4674;POINT (-40.347447535023 -2.8033671621233)', '2026-07-23 09:01:59', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347282243893 -2.803234225139)'), GeomFromEWKT('SRID=4674;POINT (-40.347447535023 -2.8033671621233)'))) / (select extract(epoch from '2026-07-23 09:01:59'::timestamp) - extract(epoch from '2026-07-23 09:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347282243893 -2.803234225139)'), GeomFromEWKT('SRID=4674;POINT (-40.347447535023 -2.8033671621233)'))) / (select extract(epoch from '2026-07-23 09:01:59'::timestamp) - extract(epoch from '2026-07-23 09:01: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'), 47842, 'SRID=4674;POINT (-40.347631266341 -2.8034875262529)', '2026-07-23 09:02:07', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347447535023 -2.8033671621233)'), GeomFromEWKT('SRID=4674;POINT (-40.347631266341 -2.8034875262529)'))) / (select extract(epoch from '2026-07-23 09:02:07'::timestamp) - extract(epoch from '2026-07-23 09:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347447535023 -2.8033671621233)'), GeomFromEWKT('SRID=4674;POINT (-40.347631266341 -2.8034875262529)'))) / (select extract(epoch from '2026-07-23 09:02:07'::timestamp) - extract(epoch from '2026-07-23 09:01: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'), 47842, 'SRID=4674;POINT (-40.347787337378 -2.8035812359303)', '2026-07-23 09:02:14', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347631266341 -2.8034875262529)'), GeomFromEWKT('SRID=4674;POINT (-40.347787337378 -2.8035812359303)'))) / (select extract(epoch from '2026-07-23 09:02:14'::timestamp) - extract(epoch from '2026-07-23 09:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347631266341 -2.8034875262529)'), GeomFromEWKT('SRID=4674;POINT (-40.347787337378 -2.8035812359303)'))) / (select extract(epoch from '2026-07-23 09:02:14'::timestamp) - extract(epoch from '2026-07-23 09:02: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'), 47842, 'SRID=4674;POINT (-40.347996549681 -2.8036922961473)', '2026-07-23 09:02:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347787337378 -2.8035812359303)'), GeomFromEWKT('SRID=4674;POINT (-40.347996549681 -2.8036922961473)'))) / (select extract(epoch from '2026-07-23 09:02:23'::timestamp) - extract(epoch from '2026-07-23 09:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347787337378 -2.8035812359303)'), GeomFromEWKT('SRID=4674;POINT (-40.347996549681 -2.8036922961473)'))) / (select extract(epoch from '2026-07-23 09:02:23'::timestamp) - extract(epoch from '2026-07-23 09:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.348250772804 -2.8038082178682)', '2026-07-23 09:02:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347996549681 -2.8036922961473)'), GeomFromEWKT('SRID=4674;POINT (-40.348250772804 -2.8038082178682)'))) / (select extract(epoch from '2026-07-23 09:02:33'::timestamp) - extract(epoch from '2026-07-23 09:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347996549681 -2.8036922961473)'), GeomFromEWKT('SRID=4674;POINT (-40.348250772804 -2.8038082178682)'))) / (select extract(epoch from '2026-07-23 09:02:33'::timestamp) - extract(epoch from '2026-07-23 09:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.348399467766 -2.8039097227156)', '2026-07-23 09:02:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348250772804 -2.8038082178682)'), GeomFromEWKT('SRID=4674;POINT (-40.348399467766 -2.8039097227156)'))) / (select extract(epoch from '2026-07-23 09:02:40'::timestamp) - extract(epoch from '2026-07-23 09:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348250772804 -2.8038082178682)'), GeomFromEWKT('SRID=4674;POINT (-40.348399467766 -2.8039097227156)'))) / (select extract(epoch from '2026-07-23 09:02:40'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.348508432508 -2.8039815556258)', '2026-07-23 09:02:45', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348399467766 -2.8039097227156)'), GeomFromEWKT('SRID=4674;POINT (-40.348508432508 -2.8039815556258)'))) / (select extract(epoch from '2026-07-23 09:02:45'::timestamp) - extract(epoch from '2026-07-23 09:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348399467766 -2.8039097227156)'), GeomFromEWKT('SRID=4674;POINT (-40.348508432508 -2.8039815556258)'))) / (select extract(epoch from '2026-07-23 09:02:45'::timestamp) - extract(epoch from '2026-07-23 09:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.348724350333 -2.8041238803416)', '2026-07-23 09:02:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348508432508 -2.8039815556258)'), GeomFromEWKT('SRID=4674;POINT (-40.348724350333 -2.8041238803416)'))) / (select extract(epoch from '2026-07-23 09:02:54'::timestamp) - extract(epoch from '2026-07-23 09:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348508432508 -2.8039815556258)'), GeomFromEWKT('SRID=4674;POINT (-40.348724350333 -2.8041238803416)'))) / (select extract(epoch from '2026-07-23 09:02:54'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.348885785788 -2.8042435739189)', '2026-07-23 09:03:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348724350333 -2.8041238803416)'), GeomFromEWKT('SRID=4674;POINT (-40.348885785788 -2.8042435739189)'))) / (select extract(epoch from '2026-07-23 09:03:02'::timestamp) - extract(epoch from '2026-07-23 09:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348724350333 -2.8041238803416)'), GeomFromEWKT('SRID=4674;POINT (-40.348885785788 -2.8042435739189)'))) / (select extract(epoch from '2026-07-23 09:03:02'::timestamp) - extract(epoch from '2026-07-23 09:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.349097093567 -2.8043813724071)', '2026-07-23 09:03:11', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348885785788 -2.8042435739189)'), GeomFromEWKT('SRID=4674;POINT (-40.349097093567 -2.8043813724071)'))) / (select extract(epoch from '2026-07-23 09:03:11'::timestamp) - extract(epoch from '2026-07-23 09:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348885785788 -2.8042435739189)'), GeomFromEWKT('SRID=4674;POINT (-40.349097093567 -2.8043813724071)'))) / (select extract(epoch from '2026-07-23 09:03:11'::timestamp) - extract(epoch from '2026-07-23 09:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.349310832098 -2.8044544626027)', '2026-07-23 09:03:19', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349097093567 -2.8043813724071)'), GeomFromEWKT('SRID=4674;POINT (-40.349310832098 -2.8044544626027)'))) / (select extract(epoch from '2026-07-23 09:03:19'::timestamp) - extract(epoch from '2026-07-23 09:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349097093567 -2.8043813724071)'), GeomFromEWKT('SRID=4674;POINT (-40.349310832098 -2.8044544626027)'))) / (select extract(epoch from '2026-07-23 09:03:19'::timestamp) - extract(epoch from '2026-07-23 09:03: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'), 47842, 'SRID=4674;POINT (-40.349534964189 -2.8045679535717)', '2026-07-23 09:03:28', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349310832098 -2.8044544626027)'), GeomFromEWKT('SRID=4674;POINT (-40.349534964189 -2.8045679535717)'))) / (select extract(epoch from '2026-07-23 09:03:28'::timestamp) - extract(epoch from '2026-07-23 09:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349310832098 -2.8044544626027)'), GeomFromEWKT('SRID=4674;POINT (-40.349534964189 -2.8045679535717)'))) / (select extract(epoch from '2026-07-23 09:03:28'::timestamp) - extract(epoch from '2026-07-23 09:03: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'), 47842, 'SRID=4674;POINT (-40.349720790982 -2.8046720568091)', '2026-07-23 09:03:36', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349534964189 -2.8045679535717)'), GeomFromEWKT('SRID=4674;POINT (-40.349720790982 -2.8046720568091)'))) / (select extract(epoch from '2026-07-23 09:03:36'::timestamp) - extract(epoch from '2026-07-23 09:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349534964189 -2.8045679535717)'), GeomFromEWKT('SRID=4674;POINT (-40.349720790982 -2.8046720568091)'))) / (select extract(epoch from '2026-07-23 09:03:36'::timestamp) - extract(epoch from '2026-07-23 09:03: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'), 47842, 'SRID=4674;POINT (-40.349907372147 -2.8047634195536)', '2026-07-23 09:03:43', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349720790982 -2.8046720568091)'), GeomFromEWKT('SRID=4674;POINT (-40.349907372147 -2.8047634195536)'))) / (select extract(epoch from '2026-07-23 09:03:43'::timestamp) - extract(epoch from '2026-07-23 09:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349720790982 -2.8046720568091)'), GeomFromEWKT('SRID=4674;POINT (-40.349907372147 -2.8047634195536)'))) / (select extract(epoch from '2026-07-23 09:03:43'::timestamp) - extract(epoch from '2026-07-23 09:03: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'), 47842, 'SRID=4674;POINT (-40.350121194497 -2.8048578836024)', '2026-07-23 09:03:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349907372147 -2.8047634195536)'), GeomFromEWKT('SRID=4674;POINT (-40.350121194497 -2.8048578836024)'))) / (select extract(epoch from '2026-07-23 09:03:53'::timestamp) - extract(epoch from '2026-07-23 09:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349907372147 -2.8047634195536)'), GeomFromEWKT('SRID=4674;POINT (-40.350121194497 -2.8048578836024)'))) / (select extract(epoch from '2026-07-23 09:03:53'::timestamp) - extract(epoch from '2026-07-23 09:03: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'), 47842, 'SRID=4674;POINT (-40.350258490071 -2.8049338236451)', '2026-07-23 09:03:59', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350121194497 -2.8048578836024)'), GeomFromEWKT('SRID=4674;POINT (-40.350258490071 -2.8049338236451)'))) / (select extract(epoch from '2026-07-23 09:03:59'::timestamp) - extract(epoch from '2026-07-23 09:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350121194497 -2.8048578836024)'), GeomFromEWKT('SRID=4674;POINT (-40.350258490071 -2.8049338236451)'))) / (select extract(epoch from '2026-07-23 09:03:59'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.350381787866 -2.8049954306334)', '2026-07-23 09:04:05', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350258490071 -2.8049338236451)'), GeomFromEWKT('SRID=4674;POINT (-40.350381787866 -2.8049954306334)'))) / (select extract(epoch from '2026-07-23 09:04:05'::timestamp) - extract(epoch from '2026-07-23 09:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350258490071 -2.8049338236451)'), GeomFromEWKT('SRID=4674;POINT (-40.350381787866 -2.8049954306334)'))) / (select extract(epoch from '2026-07-23 09:04:05'::timestamp) - extract(epoch from '2026-07-23 09:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.350527716801 -2.8050797525793)', '2026-07-23 09:04:12', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350381787866 -2.8049954306334)'), GeomFromEWKT('SRID=4674;POINT (-40.350527716801 -2.8050797525793)'))) / (select extract(epoch from '2026-07-23 09:04:12'::timestamp) - extract(epoch from '2026-07-23 09:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350381787866 -2.8049954306334)'), GeomFromEWKT('SRID=4674;POINT (-40.350527716801 -2.8050797525793)'))) / (select extract(epoch from '2026-07-23 09:04:12'::timestamp) - extract(epoch from '2026-07-23 09:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.350630646572 -2.8051530942321)', '2026-07-23 09:04:18', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350527716801 -2.8050797525793)'), GeomFromEWKT('SRID=4674;POINT (-40.350630646572 -2.8051530942321)'))) / (select extract(epoch from '2026-07-23 09:04:18'::timestamp) - extract(epoch from '2026-07-23 09:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350527716801 -2.8050797525793)'), GeomFromEWKT('SRID=4674;POINT (-40.350630646572 -2.8051530942321)'))) / (select extract(epoch from '2026-07-23 09:04:18'::timestamp) - extract(epoch from '2026-07-23 09:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.350796440616 -2.8052732907236)', '2026-07-23 09:04:27', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350630646572 -2.8051530942321)'), GeomFromEWKT('SRID=4674;POINT (-40.350796440616 -2.8052732907236)'))) / (select extract(epoch from '2026-07-23 09:04:27'::timestamp) - extract(epoch from '2026-07-23 09:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350630646572 -2.8051530942321)'), GeomFromEWKT('SRID=4674;POINT (-40.350796440616 -2.8052732907236)'))) / (select extract(epoch from '2026-07-23 09:04:27'::timestamp) - extract(epoch from '2026-07-23 09:04: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'), 47842, 'SRID=4674;POINT (-40.350941698998 -2.8053845185786)', '2026-07-23 09:04:35', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350796440616 -2.8052732907236)'), GeomFromEWKT('SRID=4674;POINT (-40.350941698998 -2.8053845185786)'))) / (select extract(epoch from '2026-07-23 09:04:35'::timestamp) - extract(epoch from '2026-07-23 09:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350796440616 -2.8052732907236)'), GeomFromEWKT('SRID=4674;POINT (-40.350941698998 -2.8053845185786)'))) / (select extract(epoch from '2026-07-23 09:04:35'::timestamp) - extract(epoch from '2026-07-23 09:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.351122748107 -2.8055075649172)', '2026-07-23 09:04:45', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350941698998 -2.8053845185786)'), GeomFromEWKT('SRID=4674;POINT (-40.351122748107 -2.8055075649172)'))) / (select extract(epoch from '2026-07-23 09:04:45'::timestamp) - extract(epoch from '2026-07-23 09:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350941698998 -2.8053845185786)'), GeomFromEWKT('SRID=4674;POINT (-40.351122748107 -2.8055075649172)'))) / (select extract(epoch from '2026-07-23 09:04:45'::timestamp) - extract(epoch from '2026-07-23 09:04: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'), 47842, 'SRID=4674;POINT (-40.351296169683 -2.8056217264384)', '2026-07-23 09:04:54', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351122748107 -2.8055075649172)'), GeomFromEWKT('SRID=4674;POINT (-40.351296169683 -2.8056217264384)'))) / (select extract(epoch from '2026-07-23 09:04:54'::timestamp) - extract(epoch from '2026-07-23 09:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351122748107 -2.8055075649172)'), GeomFromEWKT('SRID=4674;POINT (-40.351296169683 -2.8056217264384)'))) / (select extract(epoch from '2026-07-23 09:04:54'::timestamp) - extract(epoch from '2026-07-23 09:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.351434219629 -2.8057217225432)', '2026-07-23 09:05:01', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351296169683 -2.8056217264384)'), GeomFromEWKT('SRID=4674;POINT (-40.351434219629 -2.8057217225432)'))) / (select extract(epoch from '2026-07-23 09:05:01'::timestamp) - extract(epoch from '2026-07-23 09:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351296169683 -2.8056217264384)'), GeomFromEWKT('SRID=4674;POINT (-40.351434219629 -2.8057217225432)'))) / (select extract(epoch from '2026-07-23 09:05:01'::timestamp) - extract(epoch from '2026-07-23 09:04: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'), 47842, 'SRID=4674;POINT (-40.351589117199 -2.8058263286948)', '2026-07-23 09:05:09', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351434219629 -2.8057217225432)'), GeomFromEWKT('SRID=4674;POINT (-40.351589117199 -2.8058263286948)'))) / (select extract(epoch from '2026-07-23 09:05:09'::timestamp) - extract(epoch from '2026-07-23 09:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351434219629 -2.8057217225432)'), GeomFromEWKT('SRID=4674;POINT (-40.351589117199 -2.8058263286948)'))) / (select extract(epoch from '2026-07-23 09:05:09'::timestamp) - extract(epoch from '2026-07-23 09:05: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'), 47842, 'SRID=4674;POINT (-40.351750217378 -2.8059264924377)', '2026-07-23 09:05:17', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351589117199 -2.8058263286948)'), GeomFromEWKT('SRID=4674;POINT (-40.351750217378 -2.8059264924377)'))) / (select extract(epoch from '2026-07-23 09:05:17'::timestamp) - extract(epoch from '2026-07-23 09:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351589117199 -2.8058263286948)'), GeomFromEWKT('SRID=4674;POINT (-40.351750217378 -2.8059264924377)'))) / (select extract(epoch from '2026-07-23 09:05:17'::timestamp) - extract(epoch from '2026-07-23 09:05: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'), 47842, 'SRID=4674;POINT (-40.351878963411 -2.8060149215162)', '2026-07-23 09:05:24', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351750217378 -2.8059264924377)'), GeomFromEWKT('SRID=4674;POINT (-40.351878963411 -2.8060149215162)'))) / (select extract(epoch from '2026-07-23 09:05:24'::timestamp) - extract(epoch from '2026-07-23 09:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351750217378 -2.8059264924377)'), GeomFromEWKT('SRID=4674;POINT (-40.351878963411 -2.8060149215162)'))) / (select extract(epoch from '2026-07-23 09:05:24'::timestamp) - extract(epoch from '2026-07-23 09:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.352043332532 -2.8061292506754)', '2026-07-23 09:05:33', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351878963411 -2.8060149215162)'), GeomFromEWKT('SRID=4674;POINT (-40.352043332532 -2.8061292506754)'))) / (select extract(epoch from '2026-07-23 09:05:33'::timestamp) - extract(epoch from '2026-07-23 09:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351878963411 -2.8060149215162)'), GeomFromEWKT('SRID=4674;POINT (-40.352043332532 -2.8061292506754)'))) / (select extract(epoch from '2026-07-23 09:05:33'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.352209797129 -2.8062410652637)', '2026-07-23 09:05:42', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352043332532 -2.8061292506754)'), GeomFromEWKT('SRID=4674;POINT (-40.352209797129 -2.8062410652637)'))) / (select extract(epoch from '2026-07-23 09:05:42'::timestamp) - extract(epoch from '2026-07-23 09:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352043332532 -2.8061292506754)'), GeomFromEWKT('SRID=4674;POINT (-40.352209797129 -2.8062410652637)'))) / (select extract(epoch from '2026-07-23 09:05:42'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.352357067168 -2.8063470963389)', '2026-07-23 09:05:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352209797129 -2.8062410652637)'), GeomFromEWKT('SRID=4674;POINT (-40.352357067168 -2.8063470963389)'))) / (select extract(epoch from '2026-07-23 09:05:50'::timestamp) - extract(epoch from '2026-07-23 09:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352209797129 -2.8062410652637)'), GeomFromEWKT('SRID=4674;POINT (-40.352357067168 -2.8063470963389)'))) / (select extract(epoch from '2026-07-23 09:05:50'::timestamp) - extract(epoch from '2026-07-23 09:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.352537194267 -2.8065009880811)', '2026-07-23 09:06:01', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352357067168 -2.8063470963389)'), GeomFromEWKT('SRID=4674;POINT (-40.352537194267 -2.8065009880811)'))) / (select extract(epoch from '2026-07-23 09:06:01'::timestamp) - extract(epoch from '2026-07-23 09:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352357067168 -2.8063470963389)'), GeomFromEWKT('SRID=4674;POINT (-40.352537194267 -2.8065009880811)'))) / (select extract(epoch from '2026-07-23 09:06:01'::timestamp) - extract(epoch from '2026-07-23 09:05: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'), 47842, 'SRID=4674;POINT (-40.352655798197 -2.8066137246788)', '2026-07-23 09:06:09', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352537194267 -2.8065009880811)'), GeomFromEWKT('SRID=4674;POINT (-40.352655798197 -2.8066137246788)'))) / (select extract(epoch from '2026-07-23 09:06:09'::timestamp) - extract(epoch from '2026-07-23 09:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352537194267 -2.8065009880811)'), GeomFromEWKT('SRID=4674;POINT (-40.352655798197 -2.8066137246788)'))) / (select extract(epoch from '2026-07-23 09:06:09'::timestamp) - extract(epoch from '2026-07-23 09:06: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'), 47842, 'SRID=4674;POINT (-40.352765852585 -2.8067224379629)', '2026-07-23 09:06:18', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352655798197 -2.8066137246788)'), GeomFromEWKT('SRID=4674;POINT (-40.352765852585 -2.8067224379629)'))) / (select extract(epoch from '2026-07-23 09:06:18'::timestamp) - extract(epoch from '2026-07-23 09:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352655798197 -2.8066137246788)'), GeomFromEWKT('SRID=4674;POINT (-40.352765852585 -2.8067224379629)'))) / (select extract(epoch from '2026-07-23 09:06:18'::timestamp) - extract(epoch from '2026-07-23 09:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.352842798457 -2.8068315703422)', '2026-07-23 09:06:26', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352765852585 -2.8067224379629)'), GeomFromEWKT('SRID=4674;POINT (-40.352842798457 -2.8068315703422)'))) / (select extract(epoch from '2026-07-23 09:06:26'::timestamp) - extract(epoch from '2026-07-23 09:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352765852585 -2.8067224379629)'), GeomFromEWKT('SRID=4674;POINT (-40.352842798457 -2.8068315703422)'))) / (select extract(epoch from '2026-07-23 09:06:26'::timestamp) - extract(epoch from '2026-07-23 09:06: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'), 47842, 'SRID=4674;POINT (-40.352951679379 -2.8069531917572)', '2026-07-23 09:06:35', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352842798457 -2.8068315703422)'), GeomFromEWKT('SRID=4674;POINT (-40.352951679379 -2.8069531917572)'))) / (select extract(epoch from '2026-07-23 09:06:35'::timestamp) - extract(epoch from '2026-07-23 09:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352842798457 -2.8068315703422)'), GeomFromEWKT('SRID=4674;POINT (-40.352951679379 -2.8069531917572)'))) / (select extract(epoch from '2026-07-23 09:06:35'::timestamp) - extract(epoch from '2026-07-23 09:06: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'), 47842, 'SRID=4674;POINT (-40.353060225025 -2.8070493321866)', '2026-07-23 09:06:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352951679379 -2.8069531917572)'), GeomFromEWKT('SRID=4674;POINT (-40.353060225025 -2.8070493321866)'))) / (select extract(epoch from '2026-07-23 09:06:43'::timestamp) - extract(epoch from '2026-07-23 09:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352951679379 -2.8069531917572)'), GeomFromEWKT('SRID=4674;POINT (-40.353060225025 -2.8070493321866)'))) / (select extract(epoch from '2026-07-23 09:06:43'::timestamp) - extract(epoch from '2026-07-23 09:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.353198191151 -2.8071669302881)', '2026-07-23 09:06:52', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353060225025 -2.8070493321866)'), GeomFromEWKT('SRID=4674;POINT (-40.353198191151 -2.8071669302881)'))) / (select extract(epoch from '2026-07-23 09:06:52'::timestamp) - extract(epoch from '2026-07-23 09:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353060225025 -2.8070493321866)'), GeomFromEWKT('SRID=4674;POINT (-40.353198191151 -2.8071669302881)'))) / (select extract(epoch from '2026-07-23 09:06:52'::timestamp) - extract(epoch from '2026-07-23 09:06: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'), 47842, 'SRID=4674;POINT (-40.353267174214 -2.8072361648083)', '2026-07-23 09:06:58', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353198191151 -2.8071669302881)'), GeomFromEWKT('SRID=4674;POINT (-40.353267174214 -2.8072361648083)'))) / (select extract(epoch from '2026-07-23 09:06:58'::timestamp) - extract(epoch from '2026-07-23 09:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353198191151 -2.8071669302881)'), GeomFromEWKT('SRID=4674;POINT (-40.353267174214 -2.8072361648083)'))) / (select extract(epoch from '2026-07-23 09:06:58'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.353331798688 -2.8073091711849)', '2026-07-23 09:07:04', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353267174214 -2.8072361648083)'), GeomFromEWKT('SRID=4674;POINT (-40.353331798688 -2.8073091711849)'))) / (select extract(epoch from '2026-07-23 09:07:04'::timestamp) - extract(epoch from '2026-07-23 09:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353267174214 -2.8072361648083)'), GeomFromEWKT('SRID=4674;POINT (-40.353331798688 -2.8073091711849)'))) / (select extract(epoch from '2026-07-23 09:07:04'::timestamp) - extract(epoch from '2026-07-23 09:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.353399859741 -2.8073827642947)', '2026-07-23 09:07:11', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353331798688 -2.8073091711849)'), GeomFromEWKT('SRID=4674;POINT (-40.353399859741 -2.8073827642947)'))) / (select extract(epoch from '2026-07-23 09:07:11'::timestamp) - extract(epoch from '2026-07-23 09:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353331798688 -2.8073091711849)'), GeomFromEWKT('SRID=4674;POINT (-40.353399859741 -2.8073827642947)'))) / (select extract(epoch from '2026-07-23 09:07:11'::timestamp) - extract(epoch from '2026-07-23 09:07: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'), 47842, 'SRID=4674;POINT (-40.353461047634 -2.8074638172984)', '2026-07-23 09:07:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353399859741 -2.8073827642947)'), GeomFromEWKT('SRID=4674;POINT (-40.353461047634 -2.8074638172984)'))) / (select extract(epoch from '2026-07-23 09:07:19'::timestamp) - extract(epoch from '2026-07-23 09:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353399859741 -2.8073827642947)'), GeomFromEWKT('SRID=4674;POINT (-40.353461047634 -2.8074638172984)'))) / (select extract(epoch from '2026-07-23 09:07:19'::timestamp) - extract(epoch from '2026-07-23 09:07: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'), 47842, 'SRID=4674;POINT (-40.35351075232 -2.8075618855655)', '2026-07-23 09:07:28', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353461047634 -2.8074638172984)'), GeomFromEWKT('SRID=4674;POINT (-40.35351075232 -2.8075618855655)'))) / (select extract(epoch from '2026-07-23 09:07:28'::timestamp) - extract(epoch from '2026-07-23 09:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353461047634 -2.8074638172984)'), GeomFromEWKT('SRID=4674;POINT (-40.35351075232 -2.8075618855655)'))) / (select extract(epoch from '2026-07-23 09:07:28'::timestamp) - extract(epoch from '2026-07-23 09:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.35353153944 -2.8075878694654)', '2026-07-23 09:07:38', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35351075232 -2.8075618855655)'), GeomFromEWKT('SRID=4674;POINT (-40.35353153944 -2.8075878694654)'))) / (select extract(epoch from '2026-07-23 09:07:38'::timestamp) - extract(epoch from '2026-07-23 09:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35351075232 -2.8075618855655)'), GeomFromEWKT('SRID=4674;POINT (-40.35353153944 -2.8075878694654)'))) / (select extract(epoch from '2026-07-23 09:07:38'::timestamp) - extract(epoch from '2026-07-23 09:07: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'), 47842, 'SRID=4674;POINT (-40.353569258004 -2.807589629665)', '2026-07-23 09:07:56', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35353153944 -2.8075878694654)'), GeomFromEWKT('SRID=4674;POINT (-40.353569258004 -2.807589629665)'))) / (select extract(epoch from '2026-07-23 09:07:56'::timestamp) - extract(epoch from '2026-07-23 09:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35353153944 -2.8075878694654)'), GeomFromEWKT('SRID=4674;POINT (-40.353569258004 -2.807589629665)'))) / (select extract(epoch from '2026-07-23 09:07:56'::timestamp) - extract(epoch from '2026-07-23 09:07: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'), 47842, 'SRID=4674;POINT (-40.353589123115 -2.8075583651662)', '2026-07-23 09:08:20', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353569258004 -2.807589629665)'), GeomFromEWKT('SRID=4674;POINT (-40.353589123115 -2.8075583651662)'))) / (select extract(epoch from '2026-07-23 09:08:20'::timestamp) - extract(epoch from '2026-07-23 09:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353569258004 -2.807589629665)'), GeomFromEWKT('SRID=4674;POINT (-40.353589123115 -2.8075583651662)'))) / (select extract(epoch from '2026-07-23 09:08:20'::timestamp) - extract(epoch from '2026-07-23 09:07:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.353588452563 -2.8075653221458)', '2026-07-23 09:13:17', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353589123115 -2.8075583651662)'), GeomFromEWKT('SRID=4674;POINT (-40.353588452563 -2.8075653221458)'))) / (select extract(epoch from '2026-07-23 09:13:17'::timestamp) - extract(epoch from '2026-07-23 09:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353589123115 -2.8075583651662)'), GeomFromEWKT('SRID=4674;POINT (-40.353588452563 -2.8075653221458)'))) / (select extract(epoch from '2026-07-23 09:13:17'::timestamp) - extract(epoch from '2026-07-23 09:08: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'), 47842, 'SRID=4674;POINT (-40.353617370129 -2.8075306210667)', '2026-07-23 09:22:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353588452563 -2.8075653221458)'), GeomFromEWKT('SRID=4674;POINT (-40.353617370129 -2.8075306210667)'))) / (select extract(epoch from '2026-07-23 09:22:06'::timestamp) - extract(epoch from '2026-07-23 09:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353588452563 -2.8075653221458)'), GeomFromEWKT('SRID=4674;POINT (-40.353617370129 -2.8075306210667)'))) / (select extract(epoch from '2026-07-23 09:22:06'::timestamp) - extract(epoch from '2026-07-23 09:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.353655256331 -2.8075295314193)', '2026-07-23 09:23:09', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353617370129 -2.8075306210667)'), GeomFromEWKT('SRID=4674;POINT (-40.353655256331 -2.8075295314193)'))) / (select extract(epoch from '2026-07-23 09:23:09'::timestamp) - extract(epoch from '2026-07-23 09:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353617370129 -2.8075306210667)'), GeomFromEWKT('SRID=4674;POINT (-40.353655256331 -2.8075295314193)'))) / (select extract(epoch from '2026-07-23 09:23:09'::timestamp) - extract(epoch from '2026-07-23 09:22: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'), 47842, 'SRID=4674;POINT (-40.353557690978 -2.8075715247542)', '2026-07-23 09:24:41', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353655256331 -2.8075295314193)'), GeomFromEWKT('SRID=4674;POINT (-40.353557690978 -2.8075715247542)'))) / (select extract(epoch from '2026-07-23 09:24:41'::timestamp) - extract(epoch from '2026-07-23 09:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353655256331 -2.8075295314193)'), GeomFromEWKT('SRID=4674;POINT (-40.353557690978 -2.8075715247542)'))) / (select extract(epoch from '2026-07-23 09:24:41'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.353498850018 -2.8075934853405)', '2026-07-23 09:24:56', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353557690978 -2.8075715247542)'), GeomFromEWKT('SRID=4674;POINT (-40.353498850018 -2.8075934853405)'))) / (select extract(epoch from '2026-07-23 09:24:56'::timestamp) - extract(epoch from '2026-07-23 09:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353557690978 -2.8075715247542)'), GeomFromEWKT('SRID=4674;POINT (-40.353498850018 -2.8075934853405)'))) / (select extract(epoch from '2026-07-23 09:24:56'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.35350471735 -2.8076044656336)', '2026-07-23 09:25:10', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353498850018 -2.8075934853405)'), GeomFromEWKT('SRID=4674;POINT (-40.35350471735 -2.8076044656336)'))) / (select extract(epoch from '2026-07-23 09:25:10'::timestamp) - extract(epoch from '2026-07-23 09:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353498850018 -2.8075934853405)'), GeomFromEWKT('SRID=4674;POINT (-40.35350471735 -2.8076044656336)'))) / (select extract(epoch from '2026-07-23 09:25:10'::timestamp) - extract(epoch from '2026-07-23 09:24: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'), 47842, 'SRID=4674;POINT (-40.353526761755 -2.8076393343508)', '2026-07-23 09:25:19', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35350471735 -2.8076044656336)'), GeomFromEWKT('SRID=4674;POINT (-40.353526761755 -2.8076393343508)'))) / (select extract(epoch from '2026-07-23 09:25:19'::timestamp) - extract(epoch from '2026-07-23 09:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35350471735 -2.8076044656336)'), GeomFromEWKT('SRID=4674;POINT (-40.353526761755 -2.8076393343508)'))) / (select extract(epoch from '2026-07-23 09:25:19'::timestamp) - extract(epoch from '2026-07-23 09:25: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'), 47842, 'SRID=4674;POINT (-40.353540340438 -2.8077319543809)', '2026-07-23 09:25:38', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353526761755 -2.8076393343508)'), GeomFromEWKT('SRID=4674;POINT (-40.353540340438 -2.8077319543809)'))) / (select extract(epoch from '2026-07-23 09:25:38'::timestamp) - extract(epoch from '2026-07-23 09:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353526761755 -2.8076393343508)'), GeomFromEWKT('SRID=4674;POINT (-40.353540340438 -2.8077319543809)'))) / (select extract(epoch from '2026-07-23 09:25:38'::timestamp) - extract(epoch from '2026-07-23 09:25: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'), 47842, 'SRID=4674;POINT (-40.353521984071 -2.8077488858253)', '2026-07-23 09:25:50', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353540340438 -2.8077319543809)'), GeomFromEWKT('SRID=4674;POINT (-40.353521984071 -2.8077488858253)'))) / (select extract(epoch from '2026-07-23 09:25:50'::timestamp) - extract(epoch from '2026-07-23 09:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353540340438 -2.8077319543809)'), GeomFromEWKT('SRID=4674;POINT (-40.353521984071 -2.8077488858253)'))) / (select extract(epoch from '2026-07-23 09:25:50'::timestamp) - extract(epoch from '2026-07-23 09:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.353512596339 -2.8077860176563)', '2026-07-23 09:25:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353521984071 -2.8077488858253)'), GeomFromEWKT('SRID=4674;POINT (-40.353512596339 -2.8077860176563)'))) / (select extract(epoch from '2026-07-23 09:25:59'::timestamp) - extract(epoch from '2026-07-23 09:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353521984071 -2.8077488858253)'), GeomFromEWKT('SRID=4674;POINT (-40.353512596339 -2.8077860176563)'))) / (select extract(epoch from '2026-07-23 09:25:59'::timestamp) - extract(epoch from '2026-07-23 09:25: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'), 47842, 'SRID=4674;POINT (-40.353513183072 -2.8078414220363)', '2026-07-23 09:26:07', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353512596339 -2.8077860176563)'), GeomFromEWKT('SRID=4674;POINT (-40.353513183072 -2.8078414220363)'))) / (select extract(epoch from '2026-07-23 09:26:07'::timestamp) - extract(epoch from '2026-07-23 09:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353512596339 -2.8077860176563)'), GeomFromEWKT('SRID=4674;POINT (-40.353513183072 -2.8078414220363)'))) / (select extract(epoch from '2026-07-23 09:26:07'::timestamp) - extract(epoch from '2026-07-23 09:25: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'), 47842, 'SRID=4674;POINT (-40.353530365974 -2.8079008497298)', '2026-07-23 09:26:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353513183072 -2.8078414220363)'), GeomFromEWKT('SRID=4674;POINT (-40.353530365974 -2.8079008497298)'))) / (select extract(epoch from '2026-07-23 09:26:16'::timestamp) - extract(epoch from '2026-07-23 09:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353513183072 -2.8078414220363)'), GeomFromEWKT('SRID=4674;POINT (-40.353530365974 -2.8079008497298)'))) / (select extract(epoch from '2026-07-23 09:26:16'::timestamp) - extract(epoch from '2026-07-23 09:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.353553919122 -2.8079109918326)', '2026-07-23 09:26:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353530365974 -2.8079008497298)'), GeomFromEWKT('SRID=4674;POINT (-40.353553919122 -2.8079109918326)'))) / (select extract(epoch from '2026-07-23 09:26:26'::timestamp) - extract(epoch from '2026-07-23 09:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353530365974 -2.8079008497298)'), GeomFromEWKT('SRID=4674;POINT (-40.353553919122 -2.8079109918326)'))) / (select extract(epoch from '2026-07-23 09:26:26'::timestamp) - extract(epoch from '2026-07-23 09: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'), 47842, 'SRID=4674;POINT (-40.353545537218 -2.8079009335488)', '2026-07-23 09:27:03', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353553919122 -2.8079109918326)'), GeomFromEWKT('SRID=4674;POINT (-40.353545537218 -2.8079009335488)'))) / (select extract(epoch from '2026-07-23 09:27:03'::timestamp) - extract(epoch from '2026-07-23 09:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353553919122 -2.8079109918326)'), GeomFromEWKT('SRID=4674;POINT (-40.353545537218 -2.8079009335488)'))) / (select extract(epoch from '2026-07-23 09:27:03'::timestamp) - extract(epoch from '2026-07-23 09:26: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'), 47842, 'SRID=4674;POINT (-40.353542352095 -2.8079128358513)', '2026-07-23 09:27:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353545537218 -2.8079009335488)'), GeomFromEWKT('SRID=4674;POINT (-40.353542352095 -2.8079128358513)'))) / (select extract(epoch from '2026-07-23 09:27:08'::timestamp) - extract(epoch from '2026-07-23 09:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353545537218 -2.8079009335488)'), GeomFromEWKT('SRID=4674;POINT (-40.353542352095 -2.8079128358513)'))) / (select extract(epoch from '2026-07-23 09:27:08'::timestamp) - extract(epoch from '2026-07-23 09:27: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'), 47842, 'SRID=4674;POINT (-40.353535646573 -2.8079362213612)', '2026-07-23 09:27:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353542352095 -2.8079128358513)'), GeomFromEWKT('SRID=4674;POINT (-40.353535646573 -2.8079362213612)'))) / (select extract(epoch from '2026-07-23 09:27:10'::timestamp) - extract(epoch from '2026-07-23 09:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353542352095 -2.8079128358513)'), GeomFromEWKT('SRID=4674;POINT (-40.353535646573 -2.8079362213612)'))) / (select extract(epoch from '2026-07-23 09:27:10'::timestamp) - extract(epoch from '2026-07-23 09:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47842, 'SRID=4674;POINT (-40.35349868238 -2.8080507181585)', '2026-07-23 09:27:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353535646573 -2.8079362213612)'), GeomFromEWKT('SRID=4674;POINT (-40.35349868238 -2.8080507181585)'))) / (select extract(epoch from '2026-07-23 09:27:19'::timestamp) - extract(epoch from '2026-07-23 09:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353535646573 -2.8079362213612)'), GeomFromEWKT('SRID=4674;POINT (-40.35349868238 -2.8080507181585)'))) / (select extract(epoch from '2026-07-23 09:27:19'::timestamp) - extract(epoch from '2026-07-23 09:27: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'), 47842, 'SRID=4674;POINT (-40.353475967422 -2.8081522230059)', '2026-07-23 09:27:26', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35349868238 -2.8080507181585)'), GeomFromEWKT('SRID=4674;POINT (-40.353475967422 -2.8081522230059)'))) / (select extract(epoch from '2026-07-23 09:27:26'::timestamp) - extract(epoch from '2026-07-23 09:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35349868238 -2.8080507181585)'), GeomFromEWKT('SRID=4674;POINT (-40.353475967422 -2.8081522230059)'))) / (select extract(epoch from '2026-07-23 09:27:26'::timestamp) - extract(epoch from '2026-07-23 09:27: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'), 47842, 'SRID=4674;POINT (-40.353470267728 -2.8081785421818)', '2026-07-23 09:27:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353475967422 -2.8081522230059)'), GeomFromEWKT('SRID=4674;POINT (-40.353470267728 -2.8081785421818)'))) / (select extract(epoch from '2026-07-23 09:27:31'::timestamp) - extract(epoch from '2026-07-23 09:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353475967422 -2.8081522230059)'), GeomFromEWKT('SRID=4674;POINT (-40.353470267728 -2.8081785421818)'))) / (select extract(epoch from '2026-07-23 09:27:31'::timestamp) - extract(epoch from '2026-07-23 09:27: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'), 47842, 'SRID=4674;POINT (-40.353470267728 -2.8081785421818)', '2026-07-23 09:31:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353470267728 -2.8081785421818)'), GeomFromEWKT('SRID=4674;POINT (-40.353470267728 -2.8081785421818)'))) / (select extract(epoch from '2026-07-23 09:31:05'::timestamp) - extract(epoch from '2026-07-23 09:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353470267728 -2.8081785421818)'), GeomFromEWKT('SRID=4674;POINT (-40.353470267728 -2.8081785421818)'))) / (select extract(epoch from '2026-07-23 09:31:05'::timestamp) - extract(epoch from '2026-07-23 09:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
