 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.307814 -2.792898)', '2026-07-23 04:13:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307698 -2.792906)'), GeomFromEWKT('SRID=4674;POINT (-40.307814 -2.792898)'))) / (select extract(epoch from '2026-07-23 04:13:03'::timestamp) - extract(epoch from '2026-07-23 04:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307698 -2.792906)'), GeomFromEWKT('SRID=4674;POINT (-40.307814 -2.792898)'))) / (select extract(epoch from '2026-07-23 04:13:03'::timestamp) - extract(epoch from '2026-07-23 04:12:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.307938 -2.792876)', '2026-07-23 04:13:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307814 -2.792898)'), GeomFromEWKT('SRID=4674;POINT (-40.307938 -2.792876)'))) / (select extract(epoch from '2026-07-23 04:13:24'::timestamp) - extract(epoch from '2026-07-23 04:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307814 -2.792898)'), GeomFromEWKT('SRID=4674;POINT (-40.307938 -2.792876)'))) / (select extract(epoch from '2026-07-23 04:13:24'::timestamp) - extract(epoch from '2026-07-23 04:13: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'), 47640, 'SRID=4674;POINT (-40.308053 -2.792868)', '2026-07-23 04:13:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307938 -2.792876)'), GeomFromEWKT('SRID=4674;POINT (-40.308053 -2.792868)'))) / (select extract(epoch from '2026-07-23 04:13:44'::timestamp) - extract(epoch from '2026-07-23 04:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307938 -2.792876)'), GeomFromEWKT('SRID=4674;POINT (-40.308053 -2.792868)'))) / (select extract(epoch from '2026-07-23 04:13:44'::timestamp) - extract(epoch from '2026-07-23 04:13: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'), 47640, 'SRID=4674;POINT (-40.308176 -2.792863)', '2026-07-23 04:14:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308053 -2.792868)'), GeomFromEWKT('SRID=4674;POINT (-40.308176 -2.792863)'))) / (select extract(epoch from '2026-07-23 04:14:04'::timestamp) - extract(epoch from '2026-07-23 04:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308053 -2.792868)'), GeomFromEWKT('SRID=4674;POINT (-40.308176 -2.792863)'))) / (select extract(epoch from '2026-07-23 04:14:04'::timestamp) - extract(epoch from '2026-07-23 04:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.308277 -2.792859)', '2026-07-23 04:14:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308176 -2.792863)'), GeomFromEWKT('SRID=4674;POINT (-40.308277 -2.792859)'))) / (select extract(epoch from '2026-07-23 04:14:22'::timestamp) - extract(epoch from '2026-07-23 04:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308176 -2.792863)'), GeomFromEWKT('SRID=4674;POINT (-40.308277 -2.792859)'))) / (select extract(epoch from '2026-07-23 04:14:22'::timestamp) - extract(epoch from '2026-07-23 04:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.308367 -2.792854)', '2026-07-23 04:14:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308277 -2.792859)'), GeomFromEWKT('SRID=4674;POINT (-40.308367 -2.792854)'))) / (select extract(epoch from '2026-07-23 04:14:38'::timestamp) - extract(epoch from '2026-07-23 04:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308277 -2.792859)'), GeomFromEWKT('SRID=4674;POINT (-40.308367 -2.792854)'))) / (select extract(epoch from '2026-07-23 04:14:38'::timestamp) - extract(epoch from '2026-07-23 04:14: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'), 47640, 'SRID=4674;POINT (-40.308472 -2.792843)', '2026-07-23 04:15:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308367 -2.792854)'), GeomFromEWKT('SRID=4674;POINT (-40.308472 -2.792843)'))) / (select extract(epoch from '2026-07-23 04:15:00'::timestamp) - extract(epoch from '2026-07-23 04:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308367 -2.792854)'), GeomFromEWKT('SRID=4674;POINT (-40.308472 -2.792843)'))) / (select extract(epoch from '2026-07-23 04:15:00'::timestamp) - extract(epoch from '2026-07-23 04:14: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'), 47640, 'SRID=4674;POINT (-40.308566 -2.792815)', '2026-07-23 04:15:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308472 -2.792843)'), GeomFromEWKT('SRID=4674;POINT (-40.308566 -2.792815)'))) / (select extract(epoch from '2026-07-23 04:15:19'::timestamp) - extract(epoch from '2026-07-23 04:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308472 -2.792843)'), GeomFromEWKT('SRID=4674;POINT (-40.308566 -2.792815)'))) / (select extract(epoch from '2026-07-23 04:15:19'::timestamp) - extract(epoch from '2026-07-23 04:15: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'), 47640, 'SRID=4674;POINT (-40.308662 -2.792816)', '2026-07-23 04:15:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308566 -2.792815)'), GeomFromEWKT('SRID=4674;POINT (-40.308662 -2.792816)'))) / (select extract(epoch from '2026-07-23 04:15:37'::timestamp) - extract(epoch from '2026-07-23 04:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308566 -2.792815)'), GeomFromEWKT('SRID=4674;POINT (-40.308662 -2.792816)'))) / (select extract(epoch from '2026-07-23 04:15:37'::timestamp) - extract(epoch from '2026-07-23 04:15: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'), 47640, 'SRID=4674;POINT (-40.308741 -2.792814)', '2026-07-23 04:15:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308662 -2.792816)'), GeomFromEWKT('SRID=4674;POINT (-40.308741 -2.792814)'))) / (select extract(epoch from '2026-07-23 04:15:54'::timestamp) - extract(epoch from '2026-07-23 04:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308662 -2.792816)'), GeomFromEWKT('SRID=4674;POINT (-40.308741 -2.792814)'))) / (select extract(epoch from '2026-07-23 04:15:54'::timestamp) - extract(epoch from '2026-07-23 04:15: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'), 47640, 'SRID=4674;POINT (-40.308822 -2.792804)', '2026-07-23 04:16:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308741 -2.792814)'), GeomFromEWKT('SRID=4674;POINT (-40.308822 -2.792804)'))) / (select extract(epoch from '2026-07-23 04:16:10'::timestamp) - extract(epoch from '2026-07-23 04:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308741 -2.792814)'), GeomFromEWKT('SRID=4674;POINT (-40.308822 -2.792804)'))) / (select extract(epoch from '2026-07-23 04:16:10'::timestamp) - extract(epoch from '2026-07-23 04:15: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'), 47640, 'SRID=4674;POINT (-40.308955 -2.792804)', '2026-07-23 04:16:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308822 -2.792804)'), GeomFromEWKT('SRID=4674;POINT (-40.308955 -2.792804)'))) / (select extract(epoch from '2026-07-23 04:16:32'::timestamp) - extract(epoch from '2026-07-23 04:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308822 -2.792804)'), GeomFromEWKT('SRID=4674;POINT (-40.308955 -2.792804)'))) / (select extract(epoch from '2026-07-23 04:16:32'::timestamp) - extract(epoch from '2026-07-23 04:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309068 -2.792798)', '2026-07-23 04:16:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308955 -2.792804)'), GeomFromEWKT('SRID=4674;POINT (-40.309068 -2.792798)'))) / (select extract(epoch from '2026-07-23 04:16:52'::timestamp) - extract(epoch from '2026-07-23 04:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308955 -2.792804)'), GeomFromEWKT('SRID=4674;POINT (-40.309068 -2.792798)'))) / (select extract(epoch from '2026-07-23 04:16:52'::timestamp) - extract(epoch from '2026-07-23 04:16: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'), 47640, 'SRID=4674;POINT (-40.309159 -2.7928)', '2026-07-23 04:17:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309068 -2.792798)'), GeomFromEWKT('SRID=4674;POINT (-40.309159 -2.7928)'))) / (select extract(epoch from '2026-07-23 04:17:08'::timestamp) - extract(epoch from '2026-07-23 04:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309068 -2.792798)'), GeomFromEWKT('SRID=4674;POINT (-40.309159 -2.7928)'))) / (select extract(epoch from '2026-07-23 04:17:08'::timestamp) - extract(epoch from '2026-07-23 04:16: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'), 47640, 'SRID=4674;POINT (-40.309269 -2.792791)', '2026-07-23 04:17:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309159 -2.7928)'), GeomFromEWKT('SRID=4674;POINT (-40.309269 -2.792791)'))) / (select extract(epoch from '2026-07-23 04:17:27'::timestamp) - extract(epoch from '2026-07-23 04:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309159 -2.7928)'), GeomFromEWKT('SRID=4674;POINT (-40.309269 -2.792791)'))) / (select extract(epoch from '2026-07-23 04:17:27'::timestamp) - extract(epoch from '2026-07-23 04:17: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'), 47640, 'SRID=4674;POINT (-40.309369 -2.792785)', '2026-07-23 04:17:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309269 -2.792791)'), GeomFromEWKT('SRID=4674;POINT (-40.309369 -2.792785)'))) / (select extract(epoch from '2026-07-23 04:17:45'::timestamp) - extract(epoch from '2026-07-23 04:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309269 -2.792791)'), GeomFromEWKT('SRID=4674;POINT (-40.309369 -2.792785)'))) / (select extract(epoch from '2026-07-23 04:17:45'::timestamp) - extract(epoch from '2026-07-23 04:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309466 -2.792772)', '2026-07-23 04:18:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309369 -2.792785)'), GeomFromEWKT('SRID=4674;POINT (-40.309466 -2.792772)'))) / (select extract(epoch from '2026-07-23 04:18:01'::timestamp) - extract(epoch from '2026-07-23 04:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309369 -2.792785)'), GeomFromEWKT('SRID=4674;POINT (-40.309466 -2.792772)'))) / (select extract(epoch from '2026-07-23 04:18:01'::timestamp) - extract(epoch from '2026-07-23 04:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309572 -2.792753)', '2026-07-23 04:18:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309466 -2.792772)'), GeomFromEWKT('SRID=4674;POINT (-40.309572 -2.792753)'))) / (select extract(epoch from '2026-07-23 04:18:19'::timestamp) - extract(epoch from '2026-07-23 04:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309466 -2.792772)'), GeomFromEWKT('SRID=4674;POINT (-40.309572 -2.792753)'))) / (select extract(epoch from '2026-07-23 04:18:19'::timestamp) - extract(epoch from '2026-07-23 04:18: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'), 47640, 'SRID=4674;POINT (-40.309701 -2.792725)', '2026-07-23 04:18:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309572 -2.792753)'), GeomFromEWKT('SRID=4674;POINT (-40.309701 -2.792725)'))) / (select extract(epoch from '2026-07-23 04:18:38'::timestamp) - extract(epoch from '2026-07-23 04:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309572 -2.792753)'), GeomFromEWKT('SRID=4674;POINT (-40.309701 -2.792725)'))) / (select extract(epoch from '2026-07-23 04:18:38'::timestamp) - extract(epoch from '2026-07-23 04:18: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'), 47640, 'SRID=4674;POINT (-40.309835 -2.792706)', '2026-07-23 04:18:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309701 -2.792725)'), GeomFromEWKT('SRID=4674;POINT (-40.309835 -2.792706)'))) / (select extract(epoch from '2026-07-23 04:18:57'::timestamp) - extract(epoch from '2026-07-23 04:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309701 -2.792725)'), GeomFromEWKT('SRID=4674;POINT (-40.309835 -2.792706)'))) / (select extract(epoch from '2026-07-23 04:18:57'::timestamp) - extract(epoch from '2026-07-23 04:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309956 -2.792686)', '2026-07-23 04:19:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309835 -2.792706)'), GeomFromEWKT('SRID=4674;POINT (-40.309956 -2.792686)'))) / (select extract(epoch from '2026-07-23 04:19:15'::timestamp) - extract(epoch from '2026-07-23 04:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309835 -2.792706)'), GeomFromEWKT('SRID=4674;POINT (-40.309956 -2.792686)'))) / (select extract(epoch from '2026-07-23 04:19:15'::timestamp) - extract(epoch from '2026-07-23 04:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310072 -2.792673)', '2026-07-23 04:19:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309956 -2.792686)'), GeomFromEWKT('SRID=4674;POINT (-40.310072 -2.792673)'))) / (select extract(epoch from '2026-07-23 04:19:33'::timestamp) - extract(epoch from '2026-07-23 04:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309956 -2.792686)'), GeomFromEWKT('SRID=4674;POINT (-40.310072 -2.792673)'))) / (select extract(epoch from '2026-07-23 04:19:33'::timestamp) - extract(epoch from '2026-07-23 04:19: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'), 47640, 'SRID=4674;POINT (-40.310175 -2.792654)', '2026-07-23 04:19:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310072 -2.792673)'), GeomFromEWKT('SRID=4674;POINT (-40.310175 -2.792654)'))) / (select extract(epoch from '2026-07-23 04:19:48'::timestamp) - extract(epoch from '2026-07-23 04:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310072 -2.792673)'), GeomFromEWKT('SRID=4674;POINT (-40.310175 -2.792654)'))) / (select extract(epoch from '2026-07-23 04:19:48'::timestamp) - extract(epoch from '2026-07-23 04:19: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'), 47640, 'SRID=4674;POINT (-40.310286 -2.792631)', '2026-07-23 04:20:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310175 -2.792654)'), GeomFromEWKT('SRID=4674;POINT (-40.310286 -2.792631)'))) / (select extract(epoch from '2026-07-23 04:20:06'::timestamp) - extract(epoch from '2026-07-23 04:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310175 -2.792654)'), GeomFromEWKT('SRID=4674;POINT (-40.310286 -2.792631)'))) / (select extract(epoch from '2026-07-23 04:20:06'::timestamp) - extract(epoch from '2026-07-23 04:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310389 -2.792612)', '2026-07-23 04:20:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310286 -2.792631)'), GeomFromEWKT('SRID=4674;POINT (-40.310389 -2.792612)'))) / (select extract(epoch from '2026-07-23 04:20:23'::timestamp) - extract(epoch from '2026-07-23 04:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310286 -2.792631)'), GeomFromEWKT('SRID=4674;POINT (-40.310389 -2.792612)'))) / (select extract(epoch from '2026-07-23 04:20:23'::timestamp) - extract(epoch from '2026-07-23 04:20: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'), 47640, 'SRID=4674;POINT (-40.310502 -2.792594)', '2026-07-23 04:20:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310389 -2.792612)'), GeomFromEWKT('SRID=4674;POINT (-40.310502 -2.792594)'))) / (select extract(epoch from '2026-07-23 04:20:41'::timestamp) - extract(epoch from '2026-07-23 04:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310389 -2.792612)'), GeomFromEWKT('SRID=4674;POINT (-40.310502 -2.792594)'))) / (select extract(epoch from '2026-07-23 04:20:41'::timestamp) - extract(epoch from '2026-07-23 04:20: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'), 47640, 'SRID=4674;POINT (-40.310648 -2.792576)', '2026-07-23 04:21:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310502 -2.792594)'), GeomFromEWKT('SRID=4674;POINT (-40.310648 -2.792576)'))) / (select extract(epoch from '2026-07-23 04:21:06'::timestamp) - extract(epoch from '2026-07-23 04:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310502 -2.792594)'), GeomFromEWKT('SRID=4674;POINT (-40.310648 -2.792576)'))) / (select extract(epoch from '2026-07-23 04:21:06'::timestamp) - extract(epoch from '2026-07-23 04:20: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'), 47640, 'SRID=4674;POINT (-40.310749 -2.792569)', '2026-07-23 04:21:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310648 -2.792576)'), GeomFromEWKT('SRID=4674;POINT (-40.310749 -2.792569)'))) / (select extract(epoch from '2026-07-23 04:21:24'::timestamp) - extract(epoch from '2026-07-23 04:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310648 -2.792576)'), GeomFromEWKT('SRID=4674;POINT (-40.310749 -2.792569)'))) / (select extract(epoch from '2026-07-23 04:21:24'::timestamp) - extract(epoch from '2026-07-23 04:21: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'), 47640, 'SRID=4674;POINT (-40.310878 -2.792566)', '2026-07-23 04:21:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310749 -2.792569)'), GeomFromEWKT('SRID=4674;POINT (-40.310878 -2.792566)'))) / (select extract(epoch from '2026-07-23 04:21:46'::timestamp) - extract(epoch from '2026-07-23 04:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310749 -2.792569)'), GeomFromEWKT('SRID=4674;POINT (-40.310878 -2.792566)'))) / (select extract(epoch from '2026-07-23 04:21:46'::timestamp) - extract(epoch from '2026-07-23 04:21: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'), 47640, 'SRID=4674;POINT (-40.310996 -2.792564)', '2026-07-23 04:22:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310878 -2.792566)'), GeomFromEWKT('SRID=4674;POINT (-40.310996 -2.792564)'))) / (select extract(epoch from '2026-07-23 04:22:06'::timestamp) - extract(epoch from '2026-07-23 04:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310878 -2.792566)'), GeomFromEWKT('SRID=4674;POINT (-40.310996 -2.792564)'))) / (select extract(epoch from '2026-07-23 04:22:06'::timestamp) - extract(epoch from '2026-07-23 04:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.311107 -2.792546)', '2026-07-23 04:22:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310996 -2.792564)'), GeomFromEWKT('SRID=4674;POINT (-40.311107 -2.792546)'))) / (select extract(epoch from '2026-07-23 04:22:24'::timestamp) - extract(epoch from '2026-07-23 04:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310996 -2.792564)'), GeomFromEWKT('SRID=4674;POINT (-40.311107 -2.792546)'))) / (select extract(epoch from '2026-07-23 04:22:24'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.311216 -2.792531)', '2026-07-23 04:22:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311107 -2.792546)'), GeomFromEWKT('SRID=4674;POINT (-40.311216 -2.792531)'))) / (select extract(epoch from '2026-07-23 04:22:41'::timestamp) - extract(epoch from '2026-07-23 04:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311107 -2.792546)'), GeomFromEWKT('SRID=4674;POINT (-40.311216 -2.792531)'))) / (select extract(epoch from '2026-07-23 04:22:41'::timestamp) - extract(epoch from '2026-07-23 04:22: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'), 47640, 'SRID=4674;POINT (-40.311314 -2.79252)', '2026-07-23 04:22:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311216 -2.792531)'), GeomFromEWKT('SRID=4674;POINT (-40.311314 -2.79252)'))) / (select extract(epoch from '2026-07-23 04:22:56'::timestamp) - extract(epoch from '2026-07-23 04:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311216 -2.792531)'), GeomFromEWKT('SRID=4674;POINT (-40.311314 -2.79252)'))) / (select extract(epoch from '2026-07-23 04:22:56'::timestamp) - extract(epoch from '2026-07-23 04:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.311407 -2.792517)', '2026-07-23 04:23:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311314 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.311407 -2.792517)'))) / (select extract(epoch from '2026-07-23 04:23:13'::timestamp) - extract(epoch from '2026-07-23 04:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311314 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.311407 -2.792517)'))) / (select extract(epoch from '2026-07-23 04:23:13'::timestamp) - extract(epoch from '2026-07-23 04:22: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'), 47640, 'SRID=4674;POINT (-40.311513 -2.792509)', '2026-07-23 04:23:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311407 -2.792517)'), GeomFromEWKT('SRID=4674;POINT (-40.311513 -2.792509)'))) / (select extract(epoch from '2026-07-23 04:23:32'::timestamp) - extract(epoch from '2026-07-23 04:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311407 -2.792517)'), GeomFromEWKT('SRID=4674;POINT (-40.311513 -2.792509)'))) / (select extract(epoch from '2026-07-23 04:23:32'::timestamp) - extract(epoch from '2026-07-23 04:23: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'), 47640, 'SRID=4674;POINT (-40.311593 -2.792494)', '2026-07-23 04:23:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311513 -2.792509)'), GeomFromEWKT('SRID=4674;POINT (-40.311593 -2.792494)'))) / (select extract(epoch from '2026-07-23 04:23:46'::timestamp) - extract(epoch from '2026-07-23 04:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311513 -2.792509)'), GeomFromEWKT('SRID=4674;POINT (-40.311593 -2.792494)'))) / (select extract(epoch from '2026-07-23 04:23:46'::timestamp) - extract(epoch from '2026-07-23 04:23: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'), 47640, 'SRID=4674;POINT (-40.31173 -2.79246)', '2026-07-23 04:24:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311593 -2.792494)'), GeomFromEWKT('SRID=4674;POINT (-40.31173 -2.79246)'))) / (select extract(epoch from '2026-07-23 04:24:07'::timestamp) - extract(epoch from '2026-07-23 04:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311593 -2.792494)'), GeomFromEWKT('SRID=4674;POINT (-40.31173 -2.79246)'))) / (select extract(epoch from '2026-07-23 04:24:07'::timestamp) - extract(epoch from '2026-07-23 04:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.311831 -2.792444)', '2026-07-23 04:24:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31173 -2.79246)'), GeomFromEWKT('SRID=4674;POINT (-40.311831 -2.792444)'))) / (select extract(epoch from '2026-07-23 04:24:22'::timestamp) - extract(epoch from '2026-07-23 04:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31173 -2.79246)'), GeomFromEWKT('SRID=4674;POINT (-40.311831 -2.792444)'))) / (select extract(epoch from '2026-07-23 04:24:22'::timestamp) - extract(epoch from '2026-07-23 04:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31195 -2.792412)', '2026-07-23 04:24:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311831 -2.792444)'), GeomFromEWKT('SRID=4674;POINT (-40.31195 -2.792412)'))) / (select extract(epoch from '2026-07-23 04:24:42'::timestamp) - extract(epoch from '2026-07-23 04:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311831 -2.792444)'), GeomFromEWKT('SRID=4674;POINT (-40.31195 -2.792412)'))) / (select extract(epoch from '2026-07-23 04:24:42'::timestamp) - extract(epoch from '2026-07-23 04:24: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'), 47640, 'SRID=4674;POINT (-40.312045 -2.792391)', '2026-07-23 04:24:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31195 -2.792412)'), GeomFromEWKT('SRID=4674;POINT (-40.312045 -2.792391)'))) / (select extract(epoch from '2026-07-23 04:24:59'::timestamp) - extract(epoch from '2026-07-23 04:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31195 -2.792412)'), GeomFromEWKT('SRID=4674;POINT (-40.312045 -2.792391)'))) / (select extract(epoch from '2026-07-23 04:24:59'::timestamp) - extract(epoch from '2026-07-23 04:24: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'), 47640, 'SRID=4674;POINT (-40.312176 -2.792384)', '2026-07-23 04:25:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312045 -2.792391)'), GeomFromEWKT('SRID=4674;POINT (-40.312176 -2.792384)'))) / (select extract(epoch from '2026-07-23 04:25:19'::timestamp) - extract(epoch from '2026-07-23 04:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312045 -2.792391)'), GeomFromEWKT('SRID=4674;POINT (-40.312176 -2.792384)'))) / (select extract(epoch from '2026-07-23 04:25:19'::timestamp) - extract(epoch from '2026-07-23 04:24: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'), 47640, 'SRID=4674;POINT (-40.312257 -2.79238)', '2026-07-23 04:25:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312176 -2.792384)'), GeomFromEWKT('SRID=4674;POINT (-40.312257 -2.79238)'))) / (select extract(epoch from '2026-07-23 04:25:34'::timestamp) - extract(epoch from '2026-07-23 04:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312176 -2.792384)'), GeomFromEWKT('SRID=4674;POINT (-40.312257 -2.79238)'))) / (select extract(epoch from '2026-07-23 04:25:34'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.312372 -2.792371)', '2026-07-23 04:25:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312257 -2.79238)'), GeomFromEWKT('SRID=4674;POINT (-40.312372 -2.792371)'))) / (select extract(epoch from '2026-07-23 04:25:52'::timestamp) - extract(epoch from '2026-07-23 04:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312257 -2.79238)'), GeomFromEWKT('SRID=4674;POINT (-40.312372 -2.792371)'))) / (select extract(epoch from '2026-07-23 04:25:52'::timestamp) - extract(epoch from '2026-07-23 04:25: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'), 47640, 'SRID=4674;POINT (-40.312473 -2.792354)', '2026-07-23 04:26:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312372 -2.792371)'), GeomFromEWKT('SRID=4674;POINT (-40.312473 -2.792354)'))) / (select extract(epoch from '2026-07-23 04:26:09'::timestamp) - extract(epoch from '2026-07-23 04:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312372 -2.792371)'), GeomFromEWKT('SRID=4674;POINT (-40.312473 -2.792354)'))) / (select extract(epoch from '2026-07-23 04:26:09'::timestamp) - extract(epoch from '2026-07-23 04:25: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'), 47640, 'SRID=4674;POINT (-40.31258 -2.79234)', '2026-07-23 04:26:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312473 -2.792354)'), GeomFromEWKT('SRID=4674;POINT (-40.31258 -2.79234)'))) / (select extract(epoch from '2026-07-23 04:26:26'::timestamp) - extract(epoch from '2026-07-23 04:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312473 -2.792354)'), GeomFromEWKT('SRID=4674;POINT (-40.31258 -2.79234)'))) / (select extract(epoch from '2026-07-23 04:26:26'::timestamp) - extract(epoch from '2026-07-23 04:26: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'), 47640, 'SRID=4674;POINT (-40.312704 -2.792328)', '2026-07-23 04:26:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31258 -2.79234)'), GeomFromEWKT('SRID=4674;POINT (-40.312704 -2.792328)'))) / (select extract(epoch from '2026-07-23 04:26:45'::timestamp) - extract(epoch from '2026-07-23 04:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31258 -2.79234)'), GeomFromEWKT('SRID=4674;POINT (-40.312704 -2.792328)'))) / (select extract(epoch from '2026-07-23 04:26:45'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.31283 -2.792324)', '2026-07-23 04:27:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312704 -2.792328)'), GeomFromEWKT('SRID=4674;POINT (-40.31283 -2.792324)'))) / (select extract(epoch from '2026-07-23 04:27:08'::timestamp) - extract(epoch from '2026-07-23 04:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312704 -2.792328)'), GeomFromEWKT('SRID=4674;POINT (-40.31283 -2.792324)'))) / (select extract(epoch from '2026-07-23 04:27:08'::timestamp) - extract(epoch from '2026-07-23 04:26: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'), 47640, 'SRID=4674;POINT (-40.312907 -2.79231)', '2026-07-23 04:27:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31283 -2.792324)'), GeomFromEWKT('SRID=4674;POINT (-40.312907 -2.79231)'))) / (select extract(epoch from '2026-07-23 04:27:23'::timestamp) - extract(epoch from '2026-07-23 04:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31283 -2.792324)'), GeomFromEWKT('SRID=4674;POINT (-40.312907 -2.79231)'))) / (select extract(epoch from '2026-07-23 04:27:23'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.313013 -2.792299)', '2026-07-23 04:27:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312907 -2.79231)'), GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.792299)'))) / (select extract(epoch from '2026-07-23 04:27:41'::timestamp) - extract(epoch from '2026-07-23 04:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312907 -2.79231)'), GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.792299)'))) / (select extract(epoch from '2026-07-23 04:27:41'::timestamp) - extract(epoch from '2026-07-23 04:27: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'), 47640, 'SRID=4674;POINT (-40.313141 -2.792286)', '2026-07-23 04:28:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.792299)'), GeomFromEWKT('SRID=4674;POINT (-40.313141 -2.792286)'))) / (select extract(epoch from '2026-07-23 04:28:02'::timestamp) - extract(epoch from '2026-07-23 04:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313013 -2.792299)'), GeomFromEWKT('SRID=4674;POINT (-40.313141 -2.792286)'))) / (select extract(epoch from '2026-07-23 04:28:02'::timestamp) - extract(epoch from '2026-07-23 04:27: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'), 47640, 'SRID=4674;POINT (-40.313249 -2.792271)', '2026-07-23 04:28:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313141 -2.792286)'), GeomFromEWKT('SRID=4674;POINT (-40.313249 -2.792271)'))) / (select extract(epoch from '2026-07-23 04:28:19'::timestamp) - extract(epoch from '2026-07-23 04:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313141 -2.792286)'), GeomFromEWKT('SRID=4674;POINT (-40.313249 -2.792271)'))) / (select extract(epoch from '2026-07-23 04:28:19'::timestamp) - extract(epoch from '2026-07-23 04:28: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'), 47640, 'SRID=4674;POINT (-40.313399 -2.792254)', '2026-07-23 04:28:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313249 -2.792271)'), GeomFromEWKT('SRID=4674;POINT (-40.313399 -2.792254)'))) / (select extract(epoch from '2026-07-23 04:28:42'::timestamp) - extract(epoch from '2026-07-23 04:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313249 -2.792271)'), GeomFromEWKT('SRID=4674;POINT (-40.313399 -2.792254)'))) / (select extract(epoch from '2026-07-23 04:28:42'::timestamp) - extract(epoch from '2026-07-23 04:28: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'), 47640, 'SRID=4674;POINT (-40.31351 -2.792233)', '2026-07-23 04:29:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313399 -2.792254)'), GeomFromEWKT('SRID=4674;POINT (-40.31351 -2.792233)'))) / (select extract(epoch from '2026-07-23 04:29:00'::timestamp) - extract(epoch from '2026-07-23 04:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313399 -2.792254)'), GeomFromEWKT('SRID=4674;POINT (-40.31351 -2.792233)'))) / (select extract(epoch from '2026-07-23 04:29:00'::timestamp) - extract(epoch from '2026-07-23 04:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313637 -2.792227)', '2026-07-23 04:29:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31351 -2.792233)'), GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.792227)'))) / (select extract(epoch from '2026-07-23 04:29:19'::timestamp) - extract(epoch from '2026-07-23 04:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31351 -2.792233)'), GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.792227)'))) / (select extract(epoch from '2026-07-23 04:29:19'::timestamp) - extract(epoch from '2026-07-23 04:29: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'), 47640, 'SRID=4674;POINT (-40.313758 -2.792207)', '2026-07-23 04:29:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.792227)'), GeomFromEWKT('SRID=4674;POINT (-40.313758 -2.792207)'))) / (select extract(epoch from '2026-07-23 04:29:40'::timestamp) - extract(epoch from '2026-07-23 04:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313637 -2.792227)'), GeomFromEWKT('SRID=4674;POINT (-40.313758 -2.792207)'))) / (select extract(epoch from '2026-07-23 04:29:40'::timestamp) - extract(epoch from '2026-07-23 04:29: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'), 47640, 'SRID=4674;POINT (-40.313859 -2.792195)', '2026-07-23 04:29:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313758 -2.792207)'), GeomFromEWKT('SRID=4674;POINT (-40.313859 -2.792195)'))) / (select extract(epoch from '2026-07-23 04:29:58'::timestamp) - extract(epoch from '2026-07-23 04:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313758 -2.792207)'), GeomFromEWKT('SRID=4674;POINT (-40.313859 -2.792195)'))) / (select extract(epoch from '2026-07-23 04:29:58'::timestamp) - extract(epoch from '2026-07-23 04:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313972 -2.792177)', '2026-07-23 04:30:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313859 -2.792195)'), GeomFromEWKT('SRID=4674;POINT (-40.313972 -2.792177)'))) / (select extract(epoch from '2026-07-23 04:30:19'::timestamp) - extract(epoch from '2026-07-23 04:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313859 -2.792195)'), GeomFromEWKT('SRID=4674;POINT (-40.313972 -2.792177)'))) / (select extract(epoch from '2026-07-23 04:30:19'::timestamp) - extract(epoch from '2026-07-23 04:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314069 -2.79217)', '2026-07-23 04:30:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313972 -2.792177)'), GeomFromEWKT('SRID=4674;POINT (-40.314069 -2.79217)'))) / (select extract(epoch from '2026-07-23 04:30:38'::timestamp) - extract(epoch from '2026-07-23 04:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313972 -2.792177)'), GeomFromEWKT('SRID=4674;POINT (-40.314069 -2.79217)'))) / (select extract(epoch from '2026-07-23 04:30:38'::timestamp) - extract(epoch from '2026-07-23 04:30: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'), 47640, 'SRID=4674;POINT (-40.314164 -2.792153)', '2026-07-23 04:30:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314069 -2.79217)'), GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.792153)'))) / (select extract(epoch from '2026-07-23 04:30:58'::timestamp) - extract(epoch from '2026-07-23 04:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314069 -2.79217)'), GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.792153)'))) / (select extract(epoch from '2026-07-23 04:30:58'::timestamp) - extract(epoch from '2026-07-23 04:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31424 -2.792154)', '2026-07-23 04:31:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.792153)'), GeomFromEWKT('SRID=4674;POINT (-40.31424 -2.792154)'))) / (select extract(epoch from '2026-07-23 04:31:17'::timestamp) - extract(epoch from '2026-07-23 04:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314164 -2.792153)'), GeomFromEWKT('SRID=4674;POINT (-40.31424 -2.792154)'))) / (select extract(epoch from '2026-07-23 04:31:17'::timestamp) - extract(epoch from '2026-07-23 04:30: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'), 47640, 'SRID=4674;POINT (-40.31428 -2.792163)', '2026-07-23 04:31:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31424 -2.792154)'), GeomFromEWKT('SRID=4674;POINT (-40.31428 -2.792163)'))) / (select extract(epoch from '2026-07-23 04:31:34'::timestamp) - extract(epoch from '2026-07-23 04:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31424 -2.792154)'), GeomFromEWKT('SRID=4674;POINT (-40.31428 -2.792163)'))) / (select extract(epoch from '2026-07-23 04:31:34'::timestamp) - extract(epoch from '2026-07-23 04:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314306 -2.792152)', '2026-07-23 04:31:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31428 -2.792163)'), GeomFromEWKT('SRID=4674;POINT (-40.314306 -2.792152)'))) / (select extract(epoch from '2026-07-23 04:31:46'::timestamp) - extract(epoch from '2026-07-23 04:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31428 -2.792163)'), GeomFromEWKT('SRID=4674;POINT (-40.314306 -2.792152)'))) / (select extract(epoch from '2026-07-23 04:31:46'::timestamp) - extract(epoch from '2026-07-23 04:31: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'), 47640, 'SRID=4674;POINT (-40.31435 -2.792132)', '2026-07-23 04:32:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314306 -2.792152)'), GeomFromEWKT('SRID=4674;POINT (-40.31435 -2.792132)'))) / (select extract(epoch from '2026-07-23 04:32:05'::timestamp) - extract(epoch from '2026-07-23 04:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314306 -2.792152)'), GeomFromEWKT('SRID=4674;POINT (-40.31435 -2.792132)'))) / (select extract(epoch from '2026-07-23 04:32:05'::timestamp) - extract(epoch from '2026-07-23 04:31: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'), 47640, 'SRID=4674;POINT (-40.31439 -2.792101)', '2026-07-23 04:32:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31435 -2.792132)'), GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.792101)'))) / (select extract(epoch from '2026-07-23 04:32:25'::timestamp) - extract(epoch from '2026-07-23 04:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31435 -2.792132)'), GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.792101)'))) / (select extract(epoch from '2026-07-23 04:32:25'::timestamp) - extract(epoch from '2026-07-23 04:32: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'), 47640, 'SRID=4674;POINT (-40.314408 -2.792091)', '2026-07-23 04:32:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.792101)'), GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.792091)'))) / (select extract(epoch from '2026-07-23 04:32:38'::timestamp) - extract(epoch from '2026-07-23 04:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31439 -2.792101)'), GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.792091)'))) / (select extract(epoch from '2026-07-23 04:32:38'::timestamp) - extract(epoch from '2026-07-23 04:32: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'), 47640, 'SRID=4674;POINT (-40.314452 -2.792082)', '2026-07-23 04:32:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.792091)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792082)'))) / (select extract(epoch from '2026-07-23 04:32:57'::timestamp) - extract(epoch from '2026-07-23 04:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314408 -2.792091)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792082)'))) / (select extract(epoch from '2026-07-23 04:32:57'::timestamp) - extract(epoch from '2026-07-23 04:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314454 -2.79208)', '2026-07-23 04:33:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792082)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79208)'))) / (select extract(epoch from '2026-07-23 04:33:15'::timestamp) - extract(epoch from '2026-07-23 04:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792082)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79208)'))) / (select extract(epoch from '2026-07-23 04:33:15'::timestamp) - extract(epoch from '2026-07-23 04:32: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'), 47640, 'SRID=4674;POINT (-40.314452 -2.792058)', '2026-07-23 04:33:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792058)'))) / (select extract(epoch from '2026-07-23 04:33:36'::timestamp) - extract(epoch from '2026-07-23 04:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792058)'))) / (select extract(epoch from '2026-07-23 04:33:36'::timestamp) - extract(epoch from '2026-07-23 04:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314455 -2.792042)', '2026-07-23 04:34:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792058)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792042)'))) / (select extract(epoch from '2026-07-23 04:34:01'::timestamp) - extract(epoch from '2026-07-23 04:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792058)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792042)'))) / (select extract(epoch from '2026-07-23 04:34:01'::timestamp) - extract(epoch from '2026-07-23 04:33: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'), 47640, 'SRID=4674;POINT (-40.314464 -2.792055)', '2026-07-23 04:34:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792055)'))) / (select extract(epoch from '2026-07-23 04:34:25'::timestamp) - extract(epoch from '2026-07-23 04:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792055)'))) / (select extract(epoch from '2026-07-23 04:34:25'::timestamp) - extract(epoch from '2026-07-23 04:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314465 -2.792052)', '2026-07-23 04:34:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792055)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792052)'))) / (select extract(epoch from '2026-07-23 04:34:42'::timestamp) - extract(epoch from '2026-07-23 04:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792055)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792052)'))) / (select extract(epoch from '2026-07-23 04:34:42'::timestamp) - extract(epoch from '2026-07-23 04:34: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'), 47640, 'SRID=4674;POINT (-40.31446 -2.792044)', '2026-07-23 04:35:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792052)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792044)'))) / (select extract(epoch from '2026-07-23 04:35:08'::timestamp) - extract(epoch from '2026-07-23 04:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792052)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792044)'))) / (select extract(epoch from '2026-07-23 04:35:08'::timestamp) - extract(epoch from '2026-07-23 04:34: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'), 47640, 'SRID=4674;POINT (-40.31447 -2.792036)', '2026-07-23 04:35:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792036)'))) / (select extract(epoch from '2026-07-23 04:35:30'::timestamp) - extract(epoch from '2026-07-23 04:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792036)'))) / (select extract(epoch from '2026-07-23 04:35:30'::timestamp) - extract(epoch from '2026-07-23 04:35: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'), 47640, 'SRID=4674;POINT (-40.314469 -2.792045)', '2026-07-23 04:35:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792036)'), GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792045)'))) / (select extract(epoch from '2026-07-23 04:35:47'::timestamp) - extract(epoch from '2026-07-23 04:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792036)'), GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792045)'))) / (select extract(epoch from '2026-07-23 04:35:47'::timestamp) - extract(epoch from '2026-07-23 04:35: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'), 47640, 'SRID=4674;POINT (-40.314487 -2.792057)', '2026-07-23 04:36:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792045)'), GeomFromEWKT('SRID=4674;POINT (-40.314487 -2.792057)'))) / (select extract(epoch from '2026-07-23 04:36:05'::timestamp) - extract(epoch from '2026-07-23 04:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792045)'), GeomFromEWKT('SRID=4674;POINT (-40.314487 -2.792057)'))) / (select extract(epoch from '2026-07-23 04:36:05'::timestamp) - extract(epoch from '2026-07-23 04:35: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'), 47640, 'SRID=4674;POINT (-40.314495 -2.792058)', '2026-07-23 04:36:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314487 -2.792057)'), GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.792058)'))) / (select extract(epoch from '2026-07-23 04:36:24'::timestamp) - extract(epoch from '2026-07-23 04:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314487 -2.792057)'), GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.792058)'))) / (select extract(epoch from '2026-07-23 04:36:24'::timestamp) - extract(epoch from '2026-07-23 04:36: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'), 47640, 'SRID=4674;POINT (-40.314512 -2.79208)', '2026-07-23 04:36:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.792058)'), GeomFromEWKT('SRID=4674;POINT (-40.314512 -2.79208)'))) / (select extract(epoch from '2026-07-23 04:36:49'::timestamp) - extract(epoch from '2026-07-23 04:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.792058)'), GeomFromEWKT('SRID=4674;POINT (-40.314512 -2.79208)'))) / (select extract(epoch from '2026-07-23 04:36:49'::timestamp) - extract(epoch from '2026-07-23 04:36: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'), 47640, 'SRID=4674;POINT (-40.314509 -2.792089)', '2026-07-23 04:37:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314512 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.314509 -2.792089)'))) / (select extract(epoch from '2026-07-23 04:37:12'::timestamp) - extract(epoch from '2026-07-23 04:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314512 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.314509 -2.792089)'))) / (select extract(epoch from '2026-07-23 04:37:12'::timestamp) - extract(epoch from '2026-07-23 04:36: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'), 47640, 'SRID=4674;POINT (-40.314508 -2.792081)', '2026-07-23 04:37:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314509 -2.792089)'), GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.792081)'))) / (select extract(epoch from '2026-07-23 04:37:28'::timestamp) - extract(epoch from '2026-07-23 04:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314509 -2.792089)'), GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.792081)'))) / (select extract(epoch from '2026-07-23 04:37:28'::timestamp) - extract(epoch from '2026-07-23 04:37: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'), 47640, 'SRID=4674;POINT (-40.314495 -2.792064)', '2026-07-23 04:37:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.792081)'), GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.792064)'))) / (select extract(epoch from '2026-07-23 04:37:47'::timestamp) - extract(epoch from '2026-07-23 04:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314508 -2.792081)'), GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.792064)'))) / (select extract(epoch from '2026-07-23 04:37:47'::timestamp) - extract(epoch from '2026-07-23 04:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314482 -2.792047)', '2026-07-23 04:38:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.792064)'), GeomFromEWKT('SRID=4674;POINT (-40.314482 -2.792047)'))) / (select extract(epoch from '2026-07-23 04:38:05'::timestamp) - extract(epoch from '2026-07-23 04:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314495 -2.792064)'), GeomFromEWKT('SRID=4674;POINT (-40.314482 -2.792047)'))) / (select extract(epoch from '2026-07-23 04:38:05'::timestamp) - extract(epoch from '2026-07-23 04:37: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'), 47640, 'SRID=4674;POINT (-40.314473 -2.792049)', '2026-07-23 04:38:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314482 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314473 -2.792049)'))) / (select extract(epoch from '2026-07-23 04:38:23'::timestamp) - extract(epoch from '2026-07-23 04:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314482 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314473 -2.792049)'))) / (select extract(epoch from '2026-07-23 04:38:23'::timestamp) - extract(epoch from '2026-07-23 04:38: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'), 47640, 'SRID=4674;POINT (-40.314466 -2.792042)', '2026-07-23 04:38:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314473 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792042)'))) / (select extract(epoch from '2026-07-23 04:38:48'::timestamp) - extract(epoch from '2026-07-23 04:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314473 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792042)'))) / (select extract(epoch from '2026-07-23 04:38:48'::timestamp) - extract(epoch from '2026-07-23 04:38: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'), 47640, 'SRID=4674;POINT (-40.314451 -2.792035)', '2026-07-23 04:39:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792035)'))) / (select extract(epoch from '2026-07-23 04:39:14'::timestamp) - extract(epoch from '2026-07-23 04:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792035)'))) / (select extract(epoch from '2026-07-23 04:39:14'::timestamp) - extract(epoch from '2026-07-23 04:38: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'), 47640, 'SRID=4674;POINT (-40.314452 -2.792044)', '2026-07-23 04:39:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792035)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792044)'))) / (select extract(epoch from '2026-07-23 04:39:31'::timestamp) - extract(epoch from '2026-07-23 04:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792035)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792044)'))) / (select extract(epoch from '2026-07-23 04:39:31'::timestamp) - extract(epoch from '2026-07-23 04:39: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'), 47640, 'SRID=4674;POINT (-40.314456 -2.792047)', '2026-07-23 04:39:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792047)'))) / (select extract(epoch from '2026-07-23 04:39:56'::timestamp) - extract(epoch from '2026-07-23 04:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792047)'))) / (select extract(epoch from '2026-07-23 04:39:56'::timestamp) - extract(epoch from '2026-07-23 04:39: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'), 47640, 'SRID=4674;POINT (-40.314448 -2.792037)', '2026-07-23 04:40:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792037)'))) / (select extract(epoch from '2026-07-23 04:40:21'::timestamp) - extract(epoch from '2026-07-23 04:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792037)'))) / (select extract(epoch from '2026-07-23 04:40:21'::timestamp) - extract(epoch from '2026-07-23 04:39: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'), 47640, 'SRID=4674;POINT (-40.314439 -2.792028)', '2026-07-23 04:40:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792037)'), GeomFromEWKT('SRID=4674;POINT (-40.314439 -2.792028)'))) / (select extract(epoch from '2026-07-23 04:40:48'::timestamp) - extract(epoch from '2026-07-23 04:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792037)'), GeomFromEWKT('SRID=4674;POINT (-40.314439 -2.792028)'))) / (select extract(epoch from '2026-07-23 04:40:48'::timestamp) - extract(epoch from '2026-07-23 04:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314441 -2.79203)', '2026-07-23 04:41:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314439 -2.792028)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.79203)'))) / (select extract(epoch from '2026-07-23 04:41:11'::timestamp) - extract(epoch from '2026-07-23 04:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314439 -2.792028)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.79203)'))) / (select extract(epoch from '2026-07-23 04:41:11'::timestamp) - extract(epoch from '2026-07-23 04:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314439 -2.792034)', '2026-07-23 04:41:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.79203)'), GeomFromEWKT('SRID=4674;POINT (-40.314439 -2.792034)'))) / (select extract(epoch from '2026-07-23 04:41:33'::timestamp) - extract(epoch from '2026-07-23 04:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.79203)'), GeomFromEWKT('SRID=4674;POINT (-40.314439 -2.792034)'))) / (select extract(epoch from '2026-07-23 04:41:33'::timestamp) - extract(epoch from '2026-07-23 04:41: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'), 47640, 'SRID=4674;POINT (-40.314433 -2.792019)', '2026-07-23 04:42:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314439 -2.792034)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:42:00'::timestamp) - extract(epoch from '2026-07-23 04:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314439 -2.792034)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:42:00'::timestamp) - extract(epoch from '2026-07-23 04:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314441 -2.792022)', '2026-07-23 04:42:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.792022)'))) / (select extract(epoch from '2026-07-23 04:42:20'::timestamp) - extract(epoch from '2026-07-23 04:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.792022)'))) / (select extract(epoch from '2026-07-23 04:42:20'::timestamp) - extract(epoch from '2026-07-23 04:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314435 -2.792018)', '2026-07-23 04:42:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.792022)'), GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.792018)'))) / (select extract(epoch from '2026-07-23 04:42:50'::timestamp) - extract(epoch from '2026-07-23 04:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.792022)'), GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.792018)'))) / (select extract(epoch from '2026-07-23 04:42:50'::timestamp) - extract(epoch from '2026-07-23 04:42: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'), 47640, 'SRID=4674;POINT (-40.314433 -2.792021)', '2026-07-23 04:43:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.792018)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792021)'))) / (select extract(epoch from '2026-07-23 04:43:17'::timestamp) - extract(epoch from '2026-07-23 04:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.792018)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792021)'))) / (select extract(epoch from '2026-07-23 04:43:17'::timestamp) - extract(epoch from '2026-07-23 04:42: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'), 47640, 'SRID=4674;POINT (-40.314425 -2.792009)', '2026-07-23 04:43:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792021)'), GeomFromEWKT('SRID=4674;POINT (-40.314425 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:43:48'::timestamp) - extract(epoch from '2026-07-23 04:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792021)'), GeomFromEWKT('SRID=4674;POINT (-40.314425 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:43:48'::timestamp) - extract(epoch from '2026-07-23 04:43: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'), 47640, 'SRID=4674;POINT (-40.314424 -2.792009)', '2026-07-23 04:44:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314425 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314424 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:44:08'::timestamp) - extract(epoch from '2026-07-23 04:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314425 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314424 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:44:08'::timestamp) - extract(epoch from '2026-07-23 04:43: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'), 47640, 'SRID=4674;POINT (-40.314426 -2.792015)', '2026-07-23 04:44:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314424 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314426 -2.792015)'))) / (select extract(epoch from '2026-07-23 04:44:23'::timestamp) - extract(epoch from '2026-07-23 04:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314424 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314426 -2.792015)'))) / (select extract(epoch from '2026-07-23 04:44:23'::timestamp) - extract(epoch from '2026-07-23 04:44: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'), 47640, 'SRID=4674;POINT (-40.31444 -2.792019)', '2026-07-23 04:44:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314426 -2.792015)'), GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:44:43'::timestamp) - extract(epoch from '2026-07-23 04:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314426 -2.792015)'), GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:44:43'::timestamp) - extract(epoch from '2026-07-23 04:44: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'), 47640, 'SRID=4674;POINT (-40.314437 -2.792021)', '2026-07-23 04:45:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314437 -2.792021)'))) / (select extract(epoch from '2026-07-23 04:45:04'::timestamp) - extract(epoch from '2026-07-23 04:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314437 -2.792021)'))) / (select extract(epoch from '2026-07-23 04:45:04'::timestamp) - extract(epoch from '2026-07-23 04:44: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'), 47640, 'SRID=4674;POINT (-40.314423 -2.792008)', '2026-07-23 04:45:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314437 -2.792021)'), GeomFromEWKT('SRID=4674;POINT (-40.314423 -2.792008)'))) / (select extract(epoch from '2026-07-23 04:45:32'::timestamp) - extract(epoch from '2026-07-23 04:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314437 -2.792021)'), GeomFromEWKT('SRID=4674;POINT (-40.314423 -2.792008)'))) / (select extract(epoch from '2026-07-23 04:45:32'::timestamp) - extract(epoch from '2026-07-23 04:45: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'), 47640, 'SRID=4674;POINT (-40.314429 -2.792017)', '2026-07-23 04:45:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314423 -2.792008)'), GeomFromEWKT('SRID=4674;POINT (-40.314429 -2.792017)'))) / (select extract(epoch from '2026-07-23 04:45:56'::timestamp) - extract(epoch from '2026-07-23 04:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314423 -2.792008)'), GeomFromEWKT('SRID=4674;POINT (-40.314429 -2.792017)'))) / (select extract(epoch from '2026-07-23 04:45:56'::timestamp) - extract(epoch from '2026-07-23 04:45: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'), 47640, 'SRID=4674;POINT (-40.314431 -2.792024)', '2026-07-23 04:46:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314429 -2.792017)'), GeomFromEWKT('SRID=4674;POINT (-40.314431 -2.792024)'))) / (select extract(epoch from '2026-07-23 04:46:21'::timestamp) - extract(epoch from '2026-07-23 04:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314429 -2.792017)'), GeomFromEWKT('SRID=4674;POINT (-40.314431 -2.792024)'))) / (select extract(epoch from '2026-07-23 04:46:21'::timestamp) - extract(epoch from '2026-07-23 04:45: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'), 47640, 'SRID=4674;POINT (-40.314433 -2.79202)', '2026-07-23 04:46:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314431 -2.792024)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.79202)'))) / (select extract(epoch from '2026-07-23 04:46:44'::timestamp) - extract(epoch from '2026-07-23 04:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314431 -2.792024)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.79202)'))) / (select extract(epoch from '2026-07-23 04:46:44'::timestamp) - extract(epoch from '2026-07-23 04:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314435 -2.792015)', '2026-07-23 04:47:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.79202)'), GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.792015)'))) / (select extract(epoch from '2026-07-23 04:47:11'::timestamp) - extract(epoch from '2026-07-23 04:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.79202)'), GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.792015)'))) / (select extract(epoch from '2026-07-23 04:47:11'::timestamp) - extract(epoch from '2026-07-23 04:46: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'), 47640, 'SRID=4674;POINT (-40.314432 -2.792016)', '2026-07-23 04:47:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.792015)'), GeomFromEWKT('SRID=4674;POINT (-40.314432 -2.792016)'))) / (select extract(epoch from '2026-07-23 04:47:45'::timestamp) - extract(epoch from '2026-07-23 04:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314435 -2.792015)'), GeomFromEWKT('SRID=4674;POINT (-40.314432 -2.792016)'))) / (select extract(epoch from '2026-07-23 04:47:45'::timestamp) - extract(epoch from '2026-07-23 04:47: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'), 47640, 'SRID=4674;POINT (-40.314433 -2.792014)', '2026-07-23 04:48:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314432 -2.792016)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792014)'))) / (select extract(epoch from '2026-07-23 04:48:12'::timestamp) - extract(epoch from '2026-07-23 04:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314432 -2.792016)'), GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792014)'))) / (select extract(epoch from '2026-07-23 04:48:12'::timestamp) - extract(epoch from '2026-07-23 04:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314427 -2.792009)', '2026-07-23 04:48:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792014)'), GeomFromEWKT('SRID=4674;POINT (-40.314427 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:48:36'::timestamp) - extract(epoch from '2026-07-23 04:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314433 -2.792014)'), GeomFromEWKT('SRID=4674;POINT (-40.314427 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:48:36'::timestamp) - extract(epoch from '2026-07-23 04:48: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'), 47640, 'SRID=4674;POINT (-40.314419 -2.792)', '2026-07-23 04:49:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314427 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314419 -2.792)'))) / (select extract(epoch from '2026-07-23 04:49:05'::timestamp) - extract(epoch from '2026-07-23 04:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314427 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314419 -2.792)'))) / (select extract(epoch from '2026-07-23 04:49:05'::timestamp) - extract(epoch from '2026-07-23 04:48: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'), 47640, 'SRID=4674;POINT (-40.31443 -2.792005)', '2026-07-23 04:49:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314419 -2.792)'), GeomFromEWKT('SRID=4674;POINT (-40.31443 -2.792005)'))) / (select extract(epoch from '2026-07-23 04:49:25'::timestamp) - extract(epoch from '2026-07-23 04:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314419 -2.792)'), GeomFromEWKT('SRID=4674;POINT (-40.31443 -2.792005)'))) / (select extract(epoch from '2026-07-23 04:49:25'::timestamp) - extract(epoch from '2026-07-23 04:49: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'), 47640, 'SRID=4674;POINT (-40.314443 -2.792009)', '2026-07-23 04:49:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31443 -2.792005)'), GeomFromEWKT('SRID=4674;POINT (-40.314443 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:49:45'::timestamp) - extract(epoch from '2026-07-23 04:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31443 -2.792005)'), GeomFromEWKT('SRID=4674;POINT (-40.314443 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:49:45'::timestamp) - extract(epoch from '2026-07-23 04:49: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'), 47640, 'SRID=4674;POINT (-40.314438 -2.792016)', '2026-07-23 04:50:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314443 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.792016)'))) / (select extract(epoch from '2026-07-23 04:50:06'::timestamp) - extract(epoch from '2026-07-23 04:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314443 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.792016)'))) / (select extract(epoch from '2026-07-23 04:50:06'::timestamp) - extract(epoch from '2026-07-23 04:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314432 -2.79201)', '2026-07-23 04:50:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.792016)'), GeomFromEWKT('SRID=4674;POINT (-40.314432 -2.79201)'))) / (select extract(epoch from '2026-07-23 04:50:34'::timestamp) - extract(epoch from '2026-07-23 04:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.792016)'), GeomFromEWKT('SRID=4674;POINT (-40.314432 -2.79201)'))) / (select extract(epoch from '2026-07-23 04:50:34'::timestamp) - extract(epoch from '2026-07-23 04:50: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'), 47640, 'SRID=4674;POINT (-40.31444 -2.792019)', '2026-07-23 04:51:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314432 -2.79201)'), GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:51:03'::timestamp) - extract(epoch from '2026-07-23 04:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314432 -2.79201)'), GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:51:03'::timestamp) - extract(epoch from '2026-07-23 04:50: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'), 47640, 'SRID=4674;POINT (-40.314434 -2.79201)', '2026-07-23 04:51:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314434 -2.79201)'))) / (select extract(epoch from '2026-07-23 04:51:30'::timestamp) - extract(epoch from '2026-07-23 04:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314434 -2.79201)'))) / (select extract(epoch from '2026-07-23 04:51:30'::timestamp) - extract(epoch from '2026-07-23 04:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31444 -2.792019)', '2026-07-23 04:51:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314434 -2.79201)'), GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:51:52'::timestamp) - extract(epoch from '2026-07-23 04:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314434 -2.79201)'), GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:51:52'::timestamp) - extract(epoch from '2026-07-23 04:51: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'), 47640, 'SRID=4674;POINT (-40.314438 -2.792019)', '2026-07-23 04:52:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:52:14'::timestamp) - extract(epoch from '2026-07-23 04:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31444 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.792019)'))) / (select extract(epoch from '2026-07-23 04:52:14'::timestamp) - extract(epoch from '2026-07-23 04:51: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'), 47640, 'SRID=4674;POINT (-40.314446 -2.792023)', '2026-07-23 04:52:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792023)'))) / (select extract(epoch from '2026-07-23 04:52:42'::timestamp) - extract(epoch from '2026-07-23 04:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314438 -2.792019)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792023)'))) / (select extract(epoch from '2026-07-23 04:52:42'::timestamp) - extract(epoch from '2026-07-23 04:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314448 -2.792026)', '2026-07-23 04:52:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792023)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792026)'))) / (select extract(epoch from '2026-07-23 04:52:54'::timestamp) - extract(epoch from '2026-07-23 04:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792023)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792026)'))) / (select extract(epoch from '2026-07-23 04:52:54'::timestamp) - extract(epoch from '2026-07-23 04:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314453 -2.792024)', '2026-07-23 04:53:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792026)'), GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792024)'))) / (select extract(epoch from '2026-07-23 04:53:22'::timestamp) - extract(epoch from '2026-07-23 04:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792026)'), GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792024)'))) / (select extract(epoch from '2026-07-23 04:53:22'::timestamp) - extract(epoch from '2026-07-23 04:52: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'), 47640, 'SRID=4674;POINT (-40.314452 -2.792027)', '2026-07-23 04:53:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792024)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792027)'))) / (select extract(epoch from '2026-07-23 04:53:50'::timestamp) - extract(epoch from '2026-07-23 04:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792024)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792027)'))) / (select extract(epoch from '2026-07-23 04:53:50'::timestamp) - extract(epoch from '2026-07-23 04:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314453 -2.792026)', '2026-07-23 04:54:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792026)'))) / (select extract(epoch from '2026-07-23 04:54:18'::timestamp) - extract(epoch from '2026-07-23 04:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792026)'))) / (select extract(epoch from '2026-07-23 04:54:18'::timestamp) - extract(epoch from '2026-07-23 04:53: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'), 47640, 'SRID=4674;POINT (-40.314442 -2.792009)', '2026-07-23 04:54:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792026)'), GeomFromEWKT('SRID=4674;POINT (-40.314442 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:54:47'::timestamp) - extract(epoch from '2026-07-23 04:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792026)'), GeomFromEWKT('SRID=4674;POINT (-40.314442 -2.792009)'))) / (select extract(epoch from '2026-07-23 04:54:47'::timestamp) - extract(epoch from '2026-07-23 04:54: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'), 47640, 'SRID=4674;POINT (-40.314448 -2.792016)', '2026-07-23 04:55:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314442 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792016)'))) / (select extract(epoch from '2026-07-23 04:55:07'::timestamp) - extract(epoch from '2026-07-23 04:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314442 -2.792009)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792016)'))) / (select extract(epoch from '2026-07-23 04:55:07'::timestamp) - extract(epoch from '2026-07-23 04:54: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'), 47640, 'SRID=4674;POINT (-40.314455 -2.79203)', '2026-07-23 04:55:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792016)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.79203)'))) / (select extract(epoch from '2026-07-23 04:55:27'::timestamp) - extract(epoch from '2026-07-23 04:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792016)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.79203)'))) / (select extract(epoch from '2026-07-23 04:55:27'::timestamp) - extract(epoch from '2026-07-23 04:55: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'), 47640, 'SRID=4674;POINT (-40.314454 -2.79203)', '2026-07-23 04:55:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.79203)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79203)'))) / (select extract(epoch from '2026-07-23 04:55:47'::timestamp) - extract(epoch from '2026-07-23 04:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.79203)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79203)'))) / (select extract(epoch from '2026-07-23 04:55:47'::timestamp) - extract(epoch from '2026-07-23 04:55: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'), 47640, 'SRID=4674;POINT (-40.31445 -2.792023)', '2026-07-23 04:56:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79203)'), GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.792023)'))) / (select extract(epoch from '2026-07-23 04:56:06'::timestamp) - extract(epoch from '2026-07-23 04:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79203)'), GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.792023)'))) / (select extract(epoch from '2026-07-23 04:56:06'::timestamp) - extract(epoch from '2026-07-23 04:55: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'), 47640, 'SRID=4674;POINT (-40.314449 -2.792027)', '2026-07-23 04:56:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.792023)'), GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792027)'))) / (select extract(epoch from '2026-07-23 04:56:27'::timestamp) - extract(epoch from '2026-07-23 04:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.792023)'), GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792027)'))) / (select extract(epoch from '2026-07-23 04:56:27'::timestamp) - extract(epoch from '2026-07-23 04:56: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'), 47640, 'SRID=4674;POINT (-40.314449 -2.792032)', '2026-07-23 04:56:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792032)'))) / (select extract(epoch from '2026-07-23 04:56:53'::timestamp) - extract(epoch from '2026-07-23 04:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792032)'))) / (select extract(epoch from '2026-07-23 04:56:53'::timestamp) - extract(epoch from '2026-07-23 04:56: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'), 47640, 'SRID=4674;POINT (-40.314449 -2.792026)', '2026-07-23 04:57:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792032)'), GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792026)'))) / (select extract(epoch from '2026-07-23 04:57:21'::timestamp) - extract(epoch from '2026-07-23 04:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792032)'), GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792026)'))) / (select extract(epoch from '2026-07-23 04:57:21'::timestamp) - extract(epoch from '2026-07-23 04:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314455 -2.792038)', '2026-07-23 04:57:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792026)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792038)'))) / (select extract(epoch from '2026-07-23 04:57:49'::timestamp) - extract(epoch from '2026-07-23 04:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314449 -2.792026)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792038)'))) / (select extract(epoch from '2026-07-23 04:57:49'::timestamp) - extract(epoch from '2026-07-23 04:57: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'), 47640, 'SRID=4674;POINT (-40.314446 -2.79204)', '2026-07-23 04:58:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792038)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.79204)'))) / (select extract(epoch from '2026-07-23 04:58:14'::timestamp) - extract(epoch from '2026-07-23 04:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792038)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.79204)'))) / (select extract(epoch from '2026-07-23 04:58:14'::timestamp) - extract(epoch from '2026-07-23 04:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314447 -2.792024)', '2026-07-23 04:58:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.79204)'), GeomFromEWKT('SRID=4674;POINT (-40.314447 -2.792024)'))) / (select extract(epoch from '2026-07-23 04:58:35'::timestamp) - extract(epoch from '2026-07-23 04:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.79204)'), GeomFromEWKT('SRID=4674;POINT (-40.314447 -2.792024)'))) / (select extract(epoch from '2026-07-23 04:58:35'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.314441 -2.792018)', '2026-07-23 04:58:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314447 -2.792024)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.792018)'))) / (select extract(epoch from '2026-07-23 04:58:56'::timestamp) - extract(epoch from '2026-07-23 04:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314447 -2.792024)'), GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.792018)'))) / (select extract(epoch from '2026-07-23 04:58:56'::timestamp) - extract(epoch from '2026-07-23 04:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314446 -2.792031)', '2026-07-23 04:59:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.792018)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792031)'))) / (select extract(epoch from '2026-07-23 04:59:18'::timestamp) - extract(epoch from '2026-07-23 04:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314441 -2.792018)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792031)'))) / (select extract(epoch from '2026-07-23 04:59:18'::timestamp) - extract(epoch from '2026-07-23 04:58:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314454 -2.792046)', '2026-07-23 04:59:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.792046)'))) / (select extract(epoch from '2026-07-23 04:59:36'::timestamp) - extract(epoch from '2026-07-23 04:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.792046)'))) / (select extract(epoch from '2026-07-23 04:59:36'::timestamp) - extract(epoch from '2026-07-23 04: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'), 47640, 'SRID=4674;POINT (-40.314459 -2.792049)', '2026-07-23 04:59:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792049)'))) / (select extract(epoch from '2026-07-23 04:59:57'::timestamp) - extract(epoch from '2026-07-23 04:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792049)'))) / (select extract(epoch from '2026-07-23 04:59:57'::timestamp) - extract(epoch from '2026-07-23 04:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314457 -2.792044)', '2026-07-23 05:00:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:00:23'::timestamp) - extract(epoch from '2026-07-23 04:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:00:23'::timestamp) - extract(epoch from '2026-07-23 04:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314454 -2.79204)', '2026-07-23 05:00:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79204)'))) / (select extract(epoch from '2026-07-23 05:00:45'::timestamp) - extract(epoch from '2026-07-23 05:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79204)'))) / (select extract(epoch from '2026-07-23 05:00:45'::timestamp) - extract(epoch from '2026-07-23 05:00: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'), 47640, 'SRID=4674;POINT (-40.314453 -2.792053)', '2026-07-23 05:01:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79204)'), GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792053)'))) / (select extract(epoch from '2026-07-23 05:01:11'::timestamp) - extract(epoch from '2026-07-23 05:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.79204)'), GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792053)'))) / (select extract(epoch from '2026-07-23 05:01:11'::timestamp) - extract(epoch from '2026-07-23 05:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314456 -2.79205)', '2026-07-23 05:01:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792053)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:01:38'::timestamp) - extract(epoch from '2026-07-23 05:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792053)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:01:38'::timestamp) - extract(epoch from '2026-07-23 05:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314457 -2.792046)', '2026-07-23 05:02:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:02:02'::timestamp) - extract(epoch from '2026-07-23 05:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:02:02'::timestamp) - extract(epoch from '2026-07-23 05:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314462 -2.792053)', '2026-07-23 05:02:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314462 -2.792053)'))) / (select extract(epoch from '2026-07-23 05:02:24'::timestamp) - extract(epoch from '2026-07-23 05:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314462 -2.792053)'))) / (select extract(epoch from '2026-07-23 05:02:24'::timestamp) - extract(epoch from '2026-07-23 05:02: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'), 47640, 'SRID=4674;POINT (-40.314471 -2.79206)', '2026-07-23 05:02:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314462 -2.792053)'), GeomFromEWKT('SRID=4674;POINT (-40.314471 -2.79206)'))) / (select extract(epoch from '2026-07-23 05:02:47'::timestamp) - extract(epoch from '2026-07-23 05:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314462 -2.792053)'), GeomFromEWKT('SRID=4674;POINT (-40.314471 -2.79206)'))) / (select extract(epoch from '2026-07-23 05:02:47'::timestamp) - extract(epoch from '2026-07-23 05:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314463 -2.792045)', '2026-07-23 05:03:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314471 -2.79206)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792045)'))) / (select extract(epoch from '2026-07-23 05:03:16'::timestamp) - extract(epoch from '2026-07-23 05:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314471 -2.79206)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792045)'))) / (select extract(epoch from '2026-07-23 05:03:16'::timestamp) - extract(epoch from '2026-07-23 05:02: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'), 47640, 'SRID=4674;POINT (-40.314459 -2.792042)', '2026-07-23 05:03:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792045)'), GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:03:40'::timestamp) - extract(epoch from '2026-07-23 05:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792045)'), GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:03:40'::timestamp) - extract(epoch from '2026-07-23 05:03: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'), 47640, 'SRID=4674;POINT (-40.314461 -2.79205)', '2026-07-23 05:04:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314461 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:04:10'::timestamp) - extract(epoch from '2026-07-23 05:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314461 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:04:10'::timestamp) - extract(epoch from '2026-07-23 05:03: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'), 47640, 'SRID=4674;POINT (-40.314466 -2.792054)', '2026-07-23 05:04:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314461 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792054)'))) / (select extract(epoch from '2026-07-23 05:04:28'::timestamp) - extract(epoch from '2026-07-23 05:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314461 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792054)'))) / (select extract(epoch from '2026-07-23 05:04:28'::timestamp) - extract(epoch from '2026-07-23 05:04: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'), 47640, 'SRID=4674;POINT (-40.31446 -2.792059)', '2026-07-23 05:04:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792054)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792059)'))) / (select extract(epoch from '2026-07-23 05:04:59'::timestamp) - extract(epoch from '2026-07-23 05:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792054)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792059)'))) / (select extract(epoch from '2026-07-23 05:04:59'::timestamp) - extract(epoch from '2026-07-23 05:04:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314457 -2.792046)', '2026-07-23 05:05:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792059)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:05:17'::timestamp) - extract(epoch from '2026-07-23 05:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792059)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:05:17'::timestamp) - extract(epoch from '2026-07-23 05:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314455 -2.792033)', '2026-07-23 05:05:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792033)'))) / (select extract(epoch from '2026-07-23 05:05:39'::timestamp) - extract(epoch from '2026-07-23 05:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792033)'))) / (select extract(epoch from '2026-07-23 05:05:39'::timestamp) - extract(epoch from '2026-07-23 05: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'), 47640, 'SRID=4674;POINT (-40.314468 -2.792057)', '2026-07-23 05:06:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792033)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792057)'))) / (select extract(epoch from '2026-07-23 05:06:04'::timestamp) - extract(epoch from '2026-07-23 05:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792033)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792057)'))) / (select extract(epoch from '2026-07-23 05:06:04'::timestamp) - extract(epoch from '2026-07-23 05:05: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'), 47640, 'SRID=4674;POINT (-40.31446 -2.792055)', '2026-07-23 05:06:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792057)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792055)'))) / (select extract(epoch from '2026-07-23 05:06:28'::timestamp) - extract(epoch from '2026-07-23 05:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792057)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792055)'))) / (select extract(epoch from '2026-07-23 05:06:28'::timestamp) - extract(epoch from '2026-07-23 05:06: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'), 47640, 'SRID=4674;POINT (-40.314464 -2.792043)', '2026-07-23 05:06:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792055)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792043)'))) / (select extract(epoch from '2026-07-23 05:06:57'::timestamp) - extract(epoch from '2026-07-23 05:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792055)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792043)'))) / (select extract(epoch from '2026-07-23 05:06:57'::timestamp) - extract(epoch from '2026-07-23 05:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314458 -2.792037)', '2026-07-23 05:07:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792043)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792037)'))) / (select extract(epoch from '2026-07-23 05:07:26'::timestamp) - extract(epoch from '2026-07-23 05:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792043)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792037)'))) / (select extract(epoch from '2026-07-23 05:07:26'::timestamp) - extract(epoch from '2026-07-23 05:06: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'), 47640, 'SRID=4674;POINT (-40.314448 -2.792036)', '2026-07-23 05:07:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792037)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792036)'))) / (select extract(epoch from '2026-07-23 05:07:42'::timestamp) - extract(epoch from '2026-07-23 05:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792037)'), GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792036)'))) / (select extract(epoch from '2026-07-23 05:07:42'::timestamp) - extract(epoch from '2026-07-23 05:07: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'), 47640, 'SRID=4674;POINT (-40.314457 -2.792042)', '2026-07-23 05:08:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792036)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:08:08'::timestamp) - extract(epoch from '2026-07-23 05:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314448 -2.792036)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:08:08'::timestamp) - extract(epoch from '2026-07-23 05:07: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'), 47640, 'SRID=4674;POINT (-40.314467 -2.792051)', '2026-07-23 05:08:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:08:23'::timestamp) - extract(epoch from '2026-07-23 05:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:08:23'::timestamp) - extract(epoch from '2026-07-23 05:08:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314465 -2.792044)', '2026-07-23 05:08:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:08:43'::timestamp) - extract(epoch from '2026-07-23 05:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:08:43'::timestamp) - extract(epoch from '2026-07-23 05:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314455 -2.792029)', '2026-07-23 05:09:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792029)'))) / (select extract(epoch from '2026-07-23 05:09:04'::timestamp) - extract(epoch from '2026-07-23 05:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792029)'))) / (select extract(epoch from '2026-07-23 05:09:04'::timestamp) - extract(epoch from '2026-07-23 05:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314456 -2.792034)', '2026-07-23 05:09:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792029)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792034)'))) / (select extract(epoch from '2026-07-23 05:09:25'::timestamp) - extract(epoch from '2026-07-23 05:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792029)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792034)'))) / (select extract(epoch from '2026-07-23 05:09:25'::timestamp) - extract(epoch from '2026-07-23 05:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314467 -2.792042)', '2026-07-23 05:09:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792034)'), GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:09:49'::timestamp) - extract(epoch from '2026-07-23 05:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792034)'), GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:09:49'::timestamp) - extract(epoch from '2026-07-23 05:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314463 -2.792044)', '2026-07-23 05:10:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:10:10'::timestamp) - extract(epoch from '2026-07-23 05:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:10:10'::timestamp) - extract(epoch from '2026-07-23 05:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314456 -2.792042)', '2026-07-23 05:10:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:10:29'::timestamp) - extract(epoch from '2026-07-23 05:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:10:29'::timestamp) - extract(epoch from '2026-07-23 05:10: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'), 47640, 'SRID=4674;POINT (-40.31446 -2.792039)', '2026-07-23 05:10:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792039)'))) / (select extract(epoch from '2026-07-23 05:10:54'::timestamp) - extract(epoch from '2026-07-23 05:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792039)'))) / (select extract(epoch from '2026-07-23 05:10:54'::timestamp) - extract(epoch from '2026-07-23 05:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314455 -2.792033)', '2026-07-23 05:11:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792039)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792033)'))) / (select extract(epoch from '2026-07-23 05:11:27'::timestamp) - extract(epoch from '2026-07-23 05:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792039)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792033)'))) / (select extract(epoch from '2026-07-23 05:11:27'::timestamp) - extract(epoch from '2026-07-23 05:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314459 -2.792025)', '2026-07-23 05:11:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792033)'), GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792025)'))) / (select extract(epoch from '2026-07-23 05:11:58'::timestamp) - extract(epoch from '2026-07-23 05:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792033)'), GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792025)'))) / (select extract(epoch from '2026-07-23 05:11:58'::timestamp) - extract(epoch from '2026-07-23 05:11: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'), 47640, 'SRID=4674;POINT (-40.314457 -2.792041)', '2026-07-23 05:12:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792025)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792041)'))) / (select extract(epoch from '2026-07-23 05:12:20'::timestamp) - extract(epoch from '2026-07-23 05:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792025)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792041)'))) / (select extract(epoch from '2026-07-23 05:12:20'::timestamp) - extract(epoch from '2026-07-23 05:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314458 -2.792036)', '2026-07-23 05:12:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792036)'))) / (select extract(epoch from '2026-07-23 05:12:54'::timestamp) - extract(epoch from '2026-07-23 05:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792036)'))) / (select extract(epoch from '2026-07-23 05:12:54'::timestamp) - extract(epoch from '2026-07-23 05:12: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'), 47640, 'SRID=4674;POINT (-40.314455 -2.792039)', '2026-07-23 05:13:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792036)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792039)'))) / (select extract(epoch from '2026-07-23 05:13:17'::timestamp) - extract(epoch from '2026-07-23 05:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792036)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792039)'))) / (select extract(epoch from '2026-07-23 05:13:17'::timestamp) - extract(epoch from '2026-07-23 05:12:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314446 -2.792034)', '2026-07-23 05:13:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792039)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792034)'))) / (select extract(epoch from '2026-07-23 05:13:45'::timestamp) - extract(epoch from '2026-07-23 05:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792039)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792034)'))) / (select extract(epoch from '2026-07-23 05:13:45'::timestamp) - extract(epoch from '2026-07-23 05: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'), 47640, 'SRID=4674;POINT (-40.314451 -2.792031)', '2026-07-23 05:14:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792034)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792031)'))) / (select extract(epoch from '2026-07-23 05:14:12'::timestamp) - extract(epoch from '2026-07-23 05:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792034)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792031)'))) / (select extract(epoch from '2026-07-23 05:14:12'::timestamp) - extract(epoch from '2026-07-23 05:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31446 -2.792041)', '2026-07-23 05:14:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792041)'))) / (select extract(epoch from '2026-07-23 05:14:30'::timestamp) - extract(epoch from '2026-07-23 05:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792041)'))) / (select extract(epoch from '2026-07-23 05:14:30'::timestamp) - extract(epoch from '2026-07-23 05:14: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'), 47640, 'SRID=4674;POINT (-40.314464 -2.792047)', '2026-07-23 05:14:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:14:50'::timestamp) - extract(epoch from '2026-07-23 05:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31446 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:14:50'::timestamp) - extract(epoch from '2026-07-23 05:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314456 -2.792047)', '2026-07-23 05:15:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:15:20'::timestamp) - extract(epoch from '2026-07-23 05:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:15:20'::timestamp) - extract(epoch from '2026-07-23 05:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314455 -2.792047)', '2026-07-23 05:15:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:15:44'::timestamp) - extract(epoch from '2026-07-23 05:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:15:44'::timestamp) - extract(epoch from '2026-07-23 05:15: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'), 47640, 'SRID=4674;POINT (-40.314458 -2.792049)', '2026-07-23 05:15:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:15:59'::timestamp) - extract(epoch from '2026-07-23 05:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:15:59'::timestamp) - extract(epoch from '2026-07-23 05:15: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'), 47640, 'SRID=4674;POINT (-40.314455 -2.792046)', '2026-07-23 05:16:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:16:25'::timestamp) - extract(epoch from '2026-07-23 05:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:16:25'::timestamp) - extract(epoch from '2026-07-23 05:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314452 -2.792042)', '2026-07-23 05:16:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:16:54'::timestamp) - extract(epoch from '2026-07-23 05:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:16:54'::timestamp) - extract(epoch from '2026-07-23 05:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314457 -2.792052)', '2026-07-23 05:17:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792052)'))) / (select extract(epoch from '2026-07-23 05:17:08'::timestamp) - extract(epoch from '2026-07-23 05:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792052)'))) / (select extract(epoch from '2026-07-23 05:17:08'::timestamp) - extract(epoch from '2026-07-23 05:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314459 -2.792065)', '2026-07-23 05:17:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792052)'), GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792065)'))) / (select extract(epoch from '2026-07-23 05:17:24'::timestamp) - extract(epoch from '2026-07-23 05:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792052)'), GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792065)'))) / (select extract(epoch from '2026-07-23 05:17:24'::timestamp) - extract(epoch from '2026-07-23 05:17: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'), 47640, 'SRID=4674;POINT (-40.314455 -2.792051)', '2026-07-23 05:17:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:17:53'::timestamp) - extract(epoch from '2026-07-23 05:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314459 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:17:53'::timestamp) - extract(epoch from '2026-07-23 05:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314456 -2.79205)', '2026-07-23 05:18:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:18:11'::timestamp) - extract(epoch from '2026-07-23 05:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:18:11'::timestamp) - extract(epoch from '2026-07-23 05:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314452 -2.792046)', '2026-07-23 05:18:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:18:30'::timestamp) - extract(epoch from '2026-07-23 05:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314456 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:18:30'::timestamp) - extract(epoch from '2026-07-23 05:18: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'), 47640, 'SRID=4674;POINT (-40.314458 -2.792046)', '2026-07-23 05:18:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:18:53'::timestamp) - extract(epoch from '2026-07-23 05:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314452 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792046)'))) / (select extract(epoch from '2026-07-23 05:18:53'::timestamp) - extract(epoch from '2026-07-23 05:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314453 -2.792056)', '2026-07-23 05:19:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792056)'))) / (select extract(epoch from '2026-07-23 05:19:13'::timestamp) - extract(epoch from '2026-07-23 05:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792046)'), GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792056)'))) / (select extract(epoch from '2026-07-23 05:19:13'::timestamp) - extract(epoch from '2026-07-23 05:18: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'), 47640, 'SRID=4674;POINT (-40.314457 -2.792051)', '2026-07-23 05:19:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792056)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:19:29'::timestamp) - extract(epoch from '2026-07-23 05:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314453 -2.792056)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:19:29'::timestamp) - extract(epoch from '2026-07-23 05:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314455 -2.792053)', '2026-07-23 05:19:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792053)'))) / (select extract(epoch from '2026-07-23 05:19:51'::timestamp) - extract(epoch from '2026-07-23 05:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792053)'))) / (select extract(epoch from '2026-07-23 05:19:51'::timestamp) - extract(epoch from '2026-07-23 05:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314455 -2.792059)', '2026-07-23 05:20:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792053)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792059)'))) / (select extract(epoch from '2026-07-23 05:20:10'::timestamp) - extract(epoch from '2026-07-23 05:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792053)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792059)'))) / (select extract(epoch from '2026-07-23 05:20:10'::timestamp) - extract(epoch from '2026-07-23 05:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314463 -2.792062)', '2026-07-23 05:20:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792059)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792062)'))) / (select extract(epoch from '2026-07-23 05:20:34'::timestamp) - extract(epoch from '2026-07-23 05:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792059)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792062)'))) / (select extract(epoch from '2026-07-23 05:20:34'::timestamp) - extract(epoch from '2026-07-23 05:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31447 -2.792065)', '2026-07-23 05:20:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792062)'), GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792065)'))) / (select extract(epoch from '2026-07-23 05:20:49'::timestamp) - extract(epoch from '2026-07-23 05:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792062)'), GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792065)'))) / (select extract(epoch from '2026-07-23 05:20:49'::timestamp) - extract(epoch from '2026-07-23 05:20:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314472 -2.792075)', '2026-07-23 05:21:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792075)'))) / (select extract(epoch from '2026-07-23 05:21:13'::timestamp) - extract(epoch from '2026-07-23 05:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792075)'))) / (select extract(epoch from '2026-07-23 05:21:13'::timestamp) - extract(epoch from '2026-07-23 05:20: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'), 47640, 'SRID=4674;POINT (-40.314474 -2.79207)', '2026-07-23 05:21:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792075)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.79207)'))) / (select extract(epoch from '2026-07-23 05:21:36'::timestamp) - extract(epoch from '2026-07-23 05:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792075)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.79207)'))) / (select extract(epoch from '2026-07-23 05:21:36'::timestamp) - extract(epoch from '2026-07-23 05:21: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'), 47640, 'SRID=4674;POINT (-40.314464 -2.792057)', '2026-07-23 05:22:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.79207)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792057)'))) / (select extract(epoch from '2026-07-23 05:22:02'::timestamp) - extract(epoch from '2026-07-23 05:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.79207)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792057)'))) / (select extract(epoch from '2026-07-23 05:22:02'::timestamp) - extract(epoch from '2026-07-23 05:21: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'), 47640, 'SRID=4674;POINT (-40.314466 -2.792049)', '2026-07-23 05:22:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792057)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:22:20'::timestamp) - extract(epoch from '2026-07-23 05:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792057)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:22:20'::timestamp) - extract(epoch from '2026-07-23 05:22:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31447 -2.792059)', '2026-07-23 05:22:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792059)'))) / (select extract(epoch from '2026-07-23 05:22:36'::timestamp) - extract(epoch from '2026-07-23 05:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792059)'))) / (select extract(epoch from '2026-07-23 05:22:36'::timestamp) - extract(epoch from '2026-07-23 05:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314474 -2.792071)', '2026-07-23 05:22:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792059)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.792071)'))) / (select extract(epoch from '2026-07-23 05:22:54'::timestamp) - extract(epoch from '2026-07-23 05:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31447 -2.792059)'), GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.792071)'))) / (select extract(epoch from '2026-07-23 05:22:54'::timestamp) - extract(epoch from '2026-07-23 05:22: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'), 47640, 'SRID=4674;POINT (-40.314479 -2.792078)', '2026-07-23 05:23:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.792071)'), GeomFromEWKT('SRID=4674;POINT (-40.314479 -2.792078)'))) / (select extract(epoch from '2026-07-23 05:23:23'::timestamp) - extract(epoch from '2026-07-23 05:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314474 -2.792071)'), GeomFromEWKT('SRID=4674;POINT (-40.314479 -2.792078)'))) / (select extract(epoch from '2026-07-23 05:23:23'::timestamp) - extract(epoch from '2026-07-23 05:22: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'), 47640, 'SRID=4674;POINT (-40.314477 -2.792075)', '2026-07-23 05:23:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314479 -2.792078)'), GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.792075)'))) / (select extract(epoch from '2026-07-23 05:23:44'::timestamp) - extract(epoch from '2026-07-23 05:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314479 -2.792078)'), GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.792075)'))) / (select extract(epoch from '2026-07-23 05:23:44'::timestamp) - extract(epoch from '2026-07-23 05:23:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314468 -2.792063)', '2026-07-23 05:24:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.792075)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792063)'))) / (select extract(epoch from '2026-07-23 05:24:04'::timestamp) - extract(epoch from '2026-07-23 05:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.792075)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792063)'))) / (select extract(epoch from '2026-07-23 05:24:04'::timestamp) - extract(epoch from '2026-07-23 05:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314465 -2.792051)', '2026-07-23 05:24:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792063)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:24:21'::timestamp) - extract(epoch from '2026-07-23 05:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792063)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:24:21'::timestamp) - extract(epoch from '2026-07-23 05:24: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'), 47640, 'SRID=4674;POINT (-40.314465 -2.792047)', '2026-07-23 05:24:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:24:30'::timestamp) - extract(epoch from '2026-07-23 05:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:24:30'::timestamp) - extract(epoch from '2026-07-23 05:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314469 -2.792062)', '2026-07-23 05:24:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792062)'))) / (select extract(epoch from '2026-07-23 05:24:51'::timestamp) - extract(epoch from '2026-07-23 05:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314465 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792062)'))) / (select extract(epoch from '2026-07-23 05:24:51'::timestamp) - extract(epoch from '2026-07-23 05:24: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'), 47640, 'SRID=4674;POINT (-40.314472 -2.792064)', '2026-07-23 05:25:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792062)'), GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792064)'))) / (select extract(epoch from '2026-07-23 05:25:13'::timestamp) - extract(epoch from '2026-07-23 05:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792062)'), GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792064)'))) / (select extract(epoch from '2026-07-23 05:25:13'::timestamp) - extract(epoch from '2026-07-23 05:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314475 -2.792062)', '2026-07-23 05:25:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792064)'), GeomFromEWKT('SRID=4674;POINT (-40.314475 -2.792062)'))) / (select extract(epoch from '2026-07-23 05:25:40'::timestamp) - extract(epoch from '2026-07-23 05:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792064)'), GeomFromEWKT('SRID=4674;POINT (-40.314475 -2.792062)'))) / (select extract(epoch from '2026-07-23 05:25:40'::timestamp) - extract(epoch from '2026-07-23 05:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314477 -2.792065)', '2026-07-23 05:26:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314475 -2.792062)'), GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.792065)'))) / (select extract(epoch from '2026-07-23 05:26:01'::timestamp) - extract(epoch from '2026-07-23 05:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314475 -2.792062)'), GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.792065)'))) / (select extract(epoch from '2026-07-23 05:26:01'::timestamp) - extract(epoch from '2026-07-23 05:25: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'), 47640, 'SRID=4674;POINT (-40.314475 -2.792049)', '2026-07-23 05:26:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.314475 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:26:28'::timestamp) - extract(epoch from '2026-07-23 05:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314477 -2.792065)'), GeomFromEWKT('SRID=4674;POINT (-40.314475 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:26:28'::timestamp) - extract(epoch from '2026-07-23 05:26: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'), 47640, 'SRID=4674;POINT (-40.314468 -2.792047)', '2026-07-23 05:27:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314475 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:27:03'::timestamp) - extract(epoch from '2026-07-23 05:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314475 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792047)'))) / (select extract(epoch from '2026-07-23 05:27:03'::timestamp) - extract(epoch from '2026-07-23 05:26: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'), 47640, 'SRID=4674;POINT (-40.314469 -2.792054)', '2026-07-23 05:27:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792054)'))) / (select extract(epoch from '2026-07-23 05:27:14'::timestamp) - extract(epoch from '2026-07-23 05:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792054)'))) / (select extract(epoch from '2026-07-23 05:27:14'::timestamp) - extract(epoch from '2026-07-23 05: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'), 47640, 'SRID=4674;POINT (-40.314466 -2.792044)', '2026-07-23 05:27:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792054)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:27:43'::timestamp) - extract(epoch from '2026-07-23 05:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314469 -2.792054)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:27:43'::timestamp) - extract(epoch from '2026-07-23 05:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314468 -2.792058)', '2026-07-23 05:28:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792058)'))) / (select extract(epoch from '2026-07-23 05:28:03'::timestamp) - extract(epoch from '2026-07-23 05:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792058)'))) / (select extract(epoch from '2026-07-23 05:28:03'::timestamp) - extract(epoch from '2026-07-23 05:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314473 -2.792049)', '2026-07-23 05:28:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792058)'), GeomFromEWKT('SRID=4674;POINT (-40.314473 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:28:27'::timestamp) - extract(epoch from '2026-07-23 05:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.792058)'), GeomFromEWKT('SRID=4674;POINT (-40.314473 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:28:27'::timestamp) - extract(epoch from '2026-07-23 05:28: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'), 47640, 'SRID=4674;POINT (-40.314464 -2.79205)', '2026-07-23 05:28:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314473 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:28:55'::timestamp) - extract(epoch from '2026-07-23 05:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314473 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:28:55'::timestamp) - extract(epoch from '2026-07-23 05:28: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'), 47640, 'SRID=4674;POINT (-40.314468 -2.79205)', '2026-07-23 05:29:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:29:08'::timestamp) - extract(epoch from '2026-07-23 05:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:29:08'::timestamp) - extract(epoch from '2026-07-23 05:28: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'), 47640, 'SRID=4674;POINT (-40.314466 -2.792054)', '2026-07-23 05:29:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792054)'))) / (select extract(epoch from '2026-07-23 05:29:26'::timestamp) - extract(epoch from '2026-07-23 05:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314468 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792054)'))) / (select extract(epoch from '2026-07-23 05:29:26'::timestamp) - extract(epoch from '2026-07-23 05:29: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'), 47640, 'SRID=4674;POINT (-40.314467 -2.79206)', '2026-07-23 05:29:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792054)'), GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.79206)'))) / (select extract(epoch from '2026-07-23 05:29:53'::timestamp) - extract(epoch from '2026-07-23 05:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314466 -2.792054)'), GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.79206)'))) / (select extract(epoch from '2026-07-23 05:29:53'::timestamp) - extract(epoch from '2026-07-23 05:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314472 -2.792051)', '2026-07-23 05:30:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.79206)'), GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:30:19'::timestamp) - extract(epoch from '2026-07-23 05:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314467 -2.79206)'), GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:30:19'::timestamp) - extract(epoch from '2026-07-23 05:29: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'), 47640, 'SRID=4674;POINT (-40.314471 -2.792041)', '2026-07-23 05:30:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314471 -2.792041)'))) / (select extract(epoch from '2026-07-23 05:30:36'::timestamp) - extract(epoch from '2026-07-23 05:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314471 -2.792041)'))) / (select extract(epoch from '2026-07-23 05:30:36'::timestamp) - extract(epoch from '2026-07-23 05:30: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'), 47640, 'SRID=4674;POINT (-40.314478 -2.792044)', '2026-07-23 05:30:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314471 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.314478 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:30:55'::timestamp) - extract(epoch from '2026-07-23 05:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314471 -2.792041)'), GeomFromEWKT('SRID=4674;POINT (-40.314478 -2.792044)'))) / (select extract(epoch from '2026-07-23 05:30:55'::timestamp) - extract(epoch from '2026-07-23 05:30:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314481 -2.79205)', '2026-07-23 05:31:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314478 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314481 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:31:14'::timestamp) - extract(epoch from '2026-07-23 05:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314478 -2.792044)'), GeomFromEWKT('SRID=4674;POINT (-40.314481 -2.79205)'))) / (select extract(epoch from '2026-07-23 05:31:14'::timestamp) - extract(epoch from '2026-07-23 05:30: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'), 47640, 'SRID=4674;POINT (-40.314472 -2.792042)', '2026-07-23 05:31:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314481 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:31:30'::timestamp) - extract(epoch from '2026-07-23 05:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314481 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792042)'))) / (select extract(epoch from '2026-07-23 05:31:30'::timestamp) - extract(epoch from '2026-07-23 05:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314463 -2.792037)', '2026-07-23 05:31:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792037)'))) / (select extract(epoch from '2026-07-23 05:31:49'::timestamp) - extract(epoch from '2026-07-23 05:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314472 -2.792042)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792037)'))) / (select extract(epoch from '2026-07-23 05:31:49'::timestamp) - extract(epoch from '2026-07-23 05:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314458 -2.792049)', '2026-07-23 05:32:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792037)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:32:07'::timestamp) - extract(epoch from '2026-07-23 05:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792037)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792049)'))) / (select extract(epoch from '2026-07-23 05:32:07'::timestamp) - extract(epoch from '2026-07-23 05:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314464 -2.792067)', '2026-07-23 05:32:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792067)'))) / (select extract(epoch from '2026-07-23 05:32:24'::timestamp) - extract(epoch from '2026-07-23 05:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792067)'))) / (select extract(epoch from '2026-07-23 05:32:24'::timestamp) - extract(epoch from '2026-07-23 05:32: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'), 47640, 'SRID=4674;POINT (-40.314464 -2.792064)', '2026-07-23 05:32:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792067)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792064)'))) / (select extract(epoch from '2026-07-23 05:32:51'::timestamp) - extract(epoch from '2026-07-23 05:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792067)'), GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792064)'))) / (select extract(epoch from '2026-07-23 05:32:51'::timestamp) - extract(epoch from '2026-07-23 05:32: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'), 47640, 'SRID=4674;POINT (-40.314463 -2.792051)', '2026-07-23 05:33:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792064)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:33:13'::timestamp) - extract(epoch from '2026-07-23 05:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314464 -2.792064)'), GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792051)'))) / (select extract(epoch from '2026-07-23 05:33:13'::timestamp) - extract(epoch from '2026-07-23 05:32: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'), 47640, 'SRID=4674;POINT (-40.314457 -2.792067)', '2026-07-23 05:33:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792067)'))) / (select extract(epoch from '2026-07-23 05:33:41'::timestamp) - extract(epoch from '2026-07-23 05:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314463 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792067)'))) / (select extract(epoch from '2026-07-23 05:33:41'::timestamp) - extract(epoch from '2026-07-23 05:33: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'), 47640, 'SRID=4674;POINT (-40.314458 -2.792064)', '2026-07-23 05:34:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792067)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792064)'))) / (select extract(epoch from '2026-07-23 05:34:06'::timestamp) - extract(epoch from '2026-07-23 05:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.792067)'), GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792064)'))) / (select extract(epoch from '2026-07-23 05:34:06'::timestamp) - extract(epoch from '2026-07-23 05:33: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'), 47640, 'SRID=4674;POINT (-40.314457 -2.79208)', '2026-07-23 05:34:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792064)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.79208)'))) / (select extract(epoch from '2026-07-23 05:34:37'::timestamp) - extract(epoch from '2026-07-23 05:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314458 -2.792064)'), GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.79208)'))) / (select extract(epoch from '2026-07-23 05:34:37'::timestamp) - extract(epoch from '2026-07-23 05:34: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'), 47640, 'SRID=4674;POINT (-40.314451 -2.792087)', '2026-07-23 05:35:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792087)'))) / (select extract(epoch from '2026-07-23 05:35:00'::timestamp) - extract(epoch from '2026-07-23 05:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314457 -2.79208)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792087)'))) / (select extract(epoch from '2026-07-23 05:35:00'::timestamp) - extract(epoch from '2026-07-23 05:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314454 -2.792084)', '2026-07-23 05:35:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792087)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.792084)'))) / (select extract(epoch from '2026-07-23 05:35:24'::timestamp) - extract(epoch from '2026-07-23 05:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792087)'), GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.792084)'))) / (select extract(epoch from '2026-07-23 05:35:24'::timestamp) - extract(epoch from '2026-07-23 05:35: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'), 47640, 'SRID=4674;POINT (-40.314446 -2.792078)', '2026-07-23 05:35:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.792084)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792078)'))) / (select extract(epoch from '2026-07-23 05:35:50'::timestamp) - extract(epoch from '2026-07-23 05:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314454 -2.792084)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792078)'))) / (select extract(epoch from '2026-07-23 05:35:50'::timestamp) - extract(epoch from '2026-07-23 05:35: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'), 47640, 'SRID=4674;POINT (-40.314451 -2.792084)', '2026-07-23 05:36:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792078)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792084)'))) / (select extract(epoch from '2026-07-23 05:36:06'::timestamp) - extract(epoch from '2026-07-23 05:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792078)'), GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792084)'))) / (select extract(epoch from '2026-07-23 05:36:06'::timestamp) - extract(epoch from '2026-07-23 05:35: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'), 47640, 'SRID=4674;POINT (-40.314455 -2.792088)', '2026-07-23 05:36:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792084)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792088)'))) / (select extract(epoch from '2026-07-23 05:36:29'::timestamp) - extract(epoch from '2026-07-23 05:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314451 -2.792084)'), GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792088)'))) / (select extract(epoch from '2026-07-23 05:36:29'::timestamp) - extract(epoch from '2026-07-23 05:36: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'), 47640, 'SRID=4674;POINT (-40.31445 -2.792071)', '2026-07-23 05:36:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792088)'), GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.792071)'))) / (select extract(epoch from '2026-07-23 05:36:54'::timestamp) - extract(epoch from '2026-07-23 05:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314455 -2.792088)'), GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.792071)'))) / (select extract(epoch from '2026-07-23 05:36:54'::timestamp) - extract(epoch from '2026-07-23 05:36:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314445 -2.792075)', '2026-07-23 05:37:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.792071)'), GeomFromEWKT('SRID=4674;POINT (-40.314445 -2.792075)'))) / (select extract(epoch from '2026-07-23 05:37:13'::timestamp) - extract(epoch from '2026-07-23 05:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31445 -2.792071)'), GeomFromEWKT('SRID=4674;POINT (-40.314445 -2.792075)'))) / (select extract(epoch from '2026-07-23 05:37:13'::timestamp) - extract(epoch from '2026-07-23 05:36: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'), 47640, 'SRID=4674;POINT (-40.314446 -2.792081)', '2026-07-23 05:37:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314445 -2.792075)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792081)'))) / (select extract(epoch from '2026-07-23 05:37:37'::timestamp) - extract(epoch from '2026-07-23 05:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314445 -2.792075)'), GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792081)'))) / (select extract(epoch from '2026-07-23 05:37:37'::timestamp) - extract(epoch from '2026-07-23 05:37: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'), 47640, 'SRID=4674;POINT (-40.314406 -2.792088)', '2026-07-23 05:37:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792081)'), GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.792088)'))) / (select extract(epoch from '2026-07-23 05:37:53'::timestamp) - extract(epoch from '2026-07-23 05:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314446 -2.792081)'), GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.792088)'))) / (select extract(epoch from '2026-07-23 05:37:53'::timestamp) - extract(epoch from '2026-07-23 05:37: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'), 47640, 'SRID=4674;POINT (-40.314335 -2.792108)', '2026-07-23 05:38:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.792088)'), GeomFromEWKT('SRID=4674;POINT (-40.314335 -2.792108)'))) / (select extract(epoch from '2026-07-23 05:38:08'::timestamp) - extract(epoch from '2026-07-23 05:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314406 -2.792088)'), GeomFromEWKT('SRID=4674;POINT (-40.314335 -2.792108)'))) / (select extract(epoch from '2026-07-23 05:38:08'::timestamp) - extract(epoch from '2026-07-23 05:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.314292 -2.792148)', '2026-07-23 05:38:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314335 -2.792108)'), GeomFromEWKT('SRID=4674;POINT (-40.314292 -2.792148)'))) / (select extract(epoch from '2026-07-23 05:38:26'::timestamp) - extract(epoch from '2026-07-23 05:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314335 -2.792108)'), GeomFromEWKT('SRID=4674;POINT (-40.314292 -2.792148)'))) / (select extract(epoch from '2026-07-23 05:38:26'::timestamp) - extract(epoch from '2026-07-23 05:38: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'), 47640, 'SRID=4674;POINT (-40.314289 -2.792166)', '2026-07-23 05:38:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314292 -2.792148)'), GeomFromEWKT('SRID=4674;POINT (-40.314289 -2.792166)'))) / (select extract(epoch from '2026-07-23 05:38:49'::timestamp) - extract(epoch from '2026-07-23 05:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314292 -2.792148)'), GeomFromEWKT('SRID=4674;POINT (-40.314289 -2.792166)'))) / (select extract(epoch from '2026-07-23 05:38:49'::timestamp) - extract(epoch from '2026-07-23 05:38: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'), 47640, 'SRID=4674;POINT (-40.314315 -2.792158)', '2026-07-23 05:39:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314289 -2.792166)'), GeomFromEWKT('SRID=4674;POINT (-40.314315 -2.792158)'))) / (select extract(epoch from '2026-07-23 05:39:11'::timestamp) - extract(epoch from '2026-07-23 05:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314289 -2.792166)'), GeomFromEWKT('SRID=4674;POINT (-40.314315 -2.792158)'))) / (select extract(epoch from '2026-07-23 05:39:11'::timestamp) - extract(epoch from '2026-07-23 05:38: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'), 47640, 'SRID=4674;POINT (-40.314271 -2.792141)', '2026-07-23 05:39:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314315 -2.792158)'), GeomFromEWKT('SRID=4674;POINT (-40.314271 -2.792141)'))) / (select extract(epoch from '2026-07-23 05:39:23'::timestamp) - extract(epoch from '2026-07-23 05:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314315 -2.792158)'), GeomFromEWKT('SRID=4674;POINT (-40.314271 -2.792141)'))) / (select extract(epoch from '2026-07-23 05:39:23'::timestamp) - extract(epoch from '2026-07-23 05:39: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'), 47640, 'SRID=4674;POINT (-40.314143 -2.792153)', '2026-07-23 05:39:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314271 -2.792141)'), GeomFromEWKT('SRID=4674;POINT (-40.314143 -2.792153)'))) / (select extract(epoch from '2026-07-23 05:39:41'::timestamp) - extract(epoch from '2026-07-23 05:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314271 -2.792141)'), GeomFromEWKT('SRID=4674;POINT (-40.314143 -2.792153)'))) / (select extract(epoch from '2026-07-23 05:39:41'::timestamp) - extract(epoch from '2026-07-23 05:39: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'), 47640, 'SRID=4674;POINT (-40.314039 -2.792141)', '2026-07-23 05:40:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314143 -2.792153)'), GeomFromEWKT('SRID=4674;POINT (-40.314039 -2.792141)'))) / (select extract(epoch from '2026-07-23 05:40:01'::timestamp) - extract(epoch from '2026-07-23 05:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314143 -2.792153)'), GeomFromEWKT('SRID=4674;POINT (-40.314039 -2.792141)'))) / (select extract(epoch from '2026-07-23 05:40:01'::timestamp) - extract(epoch from '2026-07-23 05:39: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'), 47640, 'SRID=4674;POINT (-40.313988 -2.792146)', '2026-07-23 05:40:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314039 -2.792141)'), GeomFromEWKT('SRID=4674;POINT (-40.313988 -2.792146)'))) / (select extract(epoch from '2026-07-23 05:40:15'::timestamp) - extract(epoch from '2026-07-23 05:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314039 -2.792141)'), GeomFromEWKT('SRID=4674;POINT (-40.313988 -2.792146)'))) / (select extract(epoch from '2026-07-23 05:40:15'::timestamp) - extract(epoch from '2026-07-23 05:40: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'), 47640, 'SRID=4674;POINT (-40.313989 -2.792132)', '2026-07-23 05:40:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313988 -2.792146)'), GeomFromEWKT('SRID=4674;POINT (-40.313989 -2.792132)'))) / (select extract(epoch from '2026-07-23 05:40:32'::timestamp) - extract(epoch from '2026-07-23 05:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313988 -2.792146)'), GeomFromEWKT('SRID=4674;POINT (-40.313989 -2.792132)'))) / (select extract(epoch from '2026-07-23 05:40:32'::timestamp) - extract(epoch from '2026-07-23 05:40: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'), 47640, 'SRID=4674;POINT (-40.313958 -2.792135)', '2026-07-23 05:40:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313989 -2.792132)'), GeomFromEWKT('SRID=4674;POINT (-40.313958 -2.792135)'))) / (select extract(epoch from '2026-07-23 05:40:46'::timestamp) - extract(epoch from '2026-07-23 05:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313989 -2.792132)'), GeomFromEWKT('SRID=4674;POINT (-40.313958 -2.792135)'))) / (select extract(epoch from '2026-07-23 05:40:46'::timestamp) - extract(epoch from '2026-07-23 05:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31385 -2.792148)', '2026-07-23 05:41:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313958 -2.792135)'), GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.792148)'))) / (select extract(epoch from '2026-07-23 05:41:05'::timestamp) - extract(epoch from '2026-07-23 05:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313958 -2.792135)'), GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.792148)'))) / (select extract(epoch from '2026-07-23 05:41:05'::timestamp) - extract(epoch from '2026-07-23 05:40: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'), 47640, 'SRID=4674;POINT (-40.313752 -2.792149)', '2026-07-23 05:41:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.792148)'), GeomFromEWKT('SRID=4674;POINT (-40.313752 -2.792149)'))) / (select extract(epoch from '2026-07-23 05:41:22'::timestamp) - extract(epoch from '2026-07-23 05:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31385 -2.792148)'), GeomFromEWKT('SRID=4674;POINT (-40.313752 -2.792149)'))) / (select extract(epoch from '2026-07-23 05:41:22'::timestamp) - extract(epoch from '2026-07-23 05:41: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'), 47640, 'SRID=4674;POINT (-40.313698 -2.792147)', '2026-07-23 05:41:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313752 -2.792149)'), GeomFromEWKT('SRID=4674;POINT (-40.313698 -2.792147)'))) / (select extract(epoch from '2026-07-23 05:41:37'::timestamp) - extract(epoch from '2026-07-23 05:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313752 -2.792149)'), GeomFromEWKT('SRID=4674;POINT (-40.313698 -2.792147)'))) / (select extract(epoch from '2026-07-23 05:41:37'::timestamp) - extract(epoch from '2026-07-23 05:41: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'), 47640, 'SRID=4674;POINT (-40.313626 -2.792165)', '2026-07-23 05:41:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313698 -2.792147)'), GeomFromEWKT('SRID=4674;POINT (-40.313626 -2.792165)'))) / (select extract(epoch from '2026-07-23 05:41:52'::timestamp) - extract(epoch from '2026-07-23 05:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313698 -2.792147)'), GeomFromEWKT('SRID=4674;POINT (-40.313626 -2.792165)'))) / (select extract(epoch from '2026-07-23 05:41:52'::timestamp) - extract(epoch from '2026-07-23 05:41: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'), 47640, 'SRID=4674;POINT (-40.313574 -2.792169)', '2026-07-23 05:42:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313626 -2.792165)'), GeomFromEWKT('SRID=4674;POINT (-40.313574 -2.792169)'))) / (select extract(epoch from '2026-07-23 05:42:09'::timestamp) - extract(epoch from '2026-07-23 05:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313626 -2.792165)'), GeomFromEWKT('SRID=4674;POINT (-40.313574 -2.792169)'))) / (select extract(epoch from '2026-07-23 05:42:09'::timestamp) - extract(epoch from '2026-07-23 05:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313493 -2.792199)', '2026-07-23 05:42:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313574 -2.792169)'), GeomFromEWKT('SRID=4674;POINT (-40.313493 -2.792199)'))) / (select extract(epoch from '2026-07-23 05:42:24'::timestamp) - extract(epoch from '2026-07-23 05:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313574 -2.792169)'), GeomFromEWKT('SRID=4674;POINT (-40.313493 -2.792199)'))) / (select extract(epoch from '2026-07-23 05:42:24'::timestamp) - extract(epoch from '2026-07-23 05:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313469 -2.792211)', '2026-07-23 05:42:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313493 -2.792199)'), GeomFromEWKT('SRID=4674;POINT (-40.313469 -2.792211)'))) / (select extract(epoch from '2026-07-23 05:42:38'::timestamp) - extract(epoch from '2026-07-23 05:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313493 -2.792199)'), GeomFromEWKT('SRID=4674;POINT (-40.313469 -2.792211)'))) / (select extract(epoch from '2026-07-23 05:42:38'::timestamp) - extract(epoch from '2026-07-23 05:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31343 -2.792198)', '2026-07-23 05:42:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313469 -2.792211)'), GeomFromEWKT('SRID=4674;POINT (-40.31343 -2.792198)'))) / (select extract(epoch from '2026-07-23 05:42:53'::timestamp) - extract(epoch from '2026-07-23 05:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313469 -2.792211)'), GeomFromEWKT('SRID=4674;POINT (-40.31343 -2.792198)'))) / (select extract(epoch from '2026-07-23 05:42:53'::timestamp) - extract(epoch from '2026-07-23 05:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313373 -2.792203)', '2026-07-23 05:43:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31343 -2.792198)'), GeomFromEWKT('SRID=4674;POINT (-40.313373 -2.792203)'))) / (select extract(epoch from '2026-07-23 05:43:08'::timestamp) - extract(epoch from '2026-07-23 05:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31343 -2.792198)'), GeomFromEWKT('SRID=4674;POINT (-40.313373 -2.792203)'))) / (select extract(epoch from '2026-07-23 05:43:08'::timestamp) - extract(epoch from '2026-07-23 05:42: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'), 47640, 'SRID=4674;POINT (-40.3133 -2.792214)', '2026-07-23 05:43:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313373 -2.792203)'), GeomFromEWKT('SRID=4674;POINT (-40.3133 -2.792214)'))) / (select extract(epoch from '2026-07-23 05:43:24'::timestamp) - extract(epoch from '2026-07-23 05:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313373 -2.792203)'), GeomFromEWKT('SRID=4674;POINT (-40.3133 -2.792214)'))) / (select extract(epoch from '2026-07-23 05:43:24'::timestamp) - extract(epoch from '2026-07-23 05:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313271 -2.792212)', '2026-07-23 05:43:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3133 -2.792214)'), GeomFromEWKT('SRID=4674;POINT (-40.313271 -2.792212)'))) / (select extract(epoch from '2026-07-23 05:43:38'::timestamp) - extract(epoch from '2026-07-23 05:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3133 -2.792214)'), GeomFromEWKT('SRID=4674;POINT (-40.313271 -2.792212)'))) / (select extract(epoch from '2026-07-23 05:43:38'::timestamp) - extract(epoch from '2026-07-23 05:43: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'), 47640, 'SRID=4674;POINT (-40.313237 -2.792194)', '2026-07-23 05:43:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313271 -2.792212)'), GeomFromEWKT('SRID=4674;POINT (-40.313237 -2.792194)'))) / (select extract(epoch from '2026-07-23 05:43:53'::timestamp) - extract(epoch from '2026-07-23 05:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313271 -2.792212)'), GeomFromEWKT('SRID=4674;POINT (-40.313237 -2.792194)'))) / (select extract(epoch from '2026-07-23 05:43:53'::timestamp) - extract(epoch from '2026-07-23 05:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313204 -2.792208)', '2026-07-23 05:44:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313237 -2.792194)'), GeomFromEWKT('SRID=4674;POINT (-40.313204 -2.792208)'))) / (select extract(epoch from '2026-07-23 05:44:05'::timestamp) - extract(epoch from '2026-07-23 05:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313237 -2.792194)'), GeomFromEWKT('SRID=4674;POINT (-40.313204 -2.792208)'))) / (select extract(epoch from '2026-07-23 05:44:05'::timestamp) - extract(epoch from '2026-07-23 05:43: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'), 47640, 'SRID=4674;POINT (-40.313105 -2.792218)', '2026-07-23 05:44:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313204 -2.792208)'), GeomFromEWKT('SRID=4674;POINT (-40.313105 -2.792218)'))) / (select extract(epoch from '2026-07-23 05:44:22'::timestamp) - extract(epoch from '2026-07-23 05:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313204 -2.792208)'), GeomFromEWKT('SRID=4674;POINT (-40.313105 -2.792218)'))) / (select extract(epoch from '2026-07-23 05:44:22'::timestamp) - extract(epoch from '2026-07-23 05:44:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.313012 -2.792212)', '2026-07-23 05:44:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313105 -2.792218)'), GeomFromEWKT('SRID=4674;POINT (-40.313012 -2.792212)'))) / (select extract(epoch from '2026-07-23 05:44:38'::timestamp) - extract(epoch from '2026-07-23 05:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313105 -2.792218)'), GeomFromEWKT('SRID=4674;POINT (-40.313012 -2.792212)'))) / (select extract(epoch from '2026-07-23 05:44:38'::timestamp) - extract(epoch from '2026-07-23 05:44: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'), 47640, 'SRID=4674;POINT (-40.31297 -2.792219)', '2026-07-23 05:44:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313012 -2.792212)'), GeomFromEWKT('SRID=4674;POINT (-40.31297 -2.792219)'))) / (select extract(epoch from '2026-07-23 05:44:55'::timestamp) - extract(epoch from '2026-07-23 05:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313012 -2.792212)'), GeomFromEWKT('SRID=4674;POINT (-40.31297 -2.792219)'))) / (select extract(epoch from '2026-07-23 05:44:55'::timestamp) - extract(epoch from '2026-07-23 05:44: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'), 47640, 'SRID=4674;POINT (-40.312939 -2.792234)', '2026-07-23 05:45:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31297 -2.792219)'), GeomFromEWKT('SRID=4674;POINT (-40.312939 -2.792234)'))) / (select extract(epoch from '2026-07-23 05:45:09'::timestamp) - extract(epoch from '2026-07-23 05:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31297 -2.792219)'), GeomFromEWKT('SRID=4674;POINT (-40.312939 -2.792234)'))) / (select extract(epoch from '2026-07-23 05:45:09'::timestamp) - extract(epoch from '2026-07-23 05:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.312846 -2.792249)', '2026-07-23 05:45:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312939 -2.792234)'), GeomFromEWKT('SRID=4674;POINT (-40.312846 -2.792249)'))) / (select extract(epoch from '2026-07-23 05:45:26'::timestamp) - extract(epoch from '2026-07-23 05:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312939 -2.792234)'), GeomFromEWKT('SRID=4674;POINT (-40.312846 -2.792249)'))) / (select extract(epoch from '2026-07-23 05:45:26'::timestamp) - extract(epoch from '2026-07-23 05:45: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'), 47640, 'SRID=4674;POINT (-40.312801 -2.792247)', '2026-07-23 05:45:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312846 -2.792249)'), GeomFromEWKT('SRID=4674;POINT (-40.312801 -2.792247)'))) / (select extract(epoch from '2026-07-23 05:45:42'::timestamp) - extract(epoch from '2026-07-23 05:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312846 -2.792249)'), GeomFromEWKT('SRID=4674;POINT (-40.312801 -2.792247)'))) / (select extract(epoch from '2026-07-23 05:45:42'::timestamp) - extract(epoch from '2026-07-23 05:45: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'), 47640, 'SRID=4674;POINT (-40.312703 -2.792272)', '2026-07-23 05:45:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312801 -2.792247)'), GeomFromEWKT('SRID=4674;POINT (-40.312703 -2.792272)'))) / (select extract(epoch from '2026-07-23 05:45:56'::timestamp) - extract(epoch from '2026-07-23 05:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312801 -2.792247)'), GeomFromEWKT('SRID=4674;POINT (-40.312703 -2.792272)'))) / (select extract(epoch from '2026-07-23 05:45:56'::timestamp) - extract(epoch from '2026-07-23 05:45: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'), 47640, 'SRID=4674;POINT (-40.312607 -2.792266)', '2026-07-23 05:46:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312703 -2.792272)'), GeomFromEWKT('SRID=4674;POINT (-40.312607 -2.792266)'))) / (select extract(epoch from '2026-07-23 05:46:13'::timestamp) - extract(epoch from '2026-07-23 05:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312703 -2.792272)'), GeomFromEWKT('SRID=4674;POINT (-40.312607 -2.792266)'))) / (select extract(epoch from '2026-07-23 05:46:13'::timestamp) - extract(epoch from '2026-07-23 05:45: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'), 47640, 'SRID=4674;POINT (-40.312528 -2.792306)', '2026-07-23 05:46:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312607 -2.792266)'), GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.792306)'))) / (select extract(epoch from '2026-07-23 05:46:30'::timestamp) - extract(epoch from '2026-07-23 05:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312607 -2.792266)'), GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.792306)'))) / (select extract(epoch from '2026-07-23 05:46:30'::timestamp) - extract(epoch from '2026-07-23 05:46: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'), 47640, 'SRID=4674;POINT (-40.312463 -2.79232)', '2026-07-23 05:46:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.792306)'), GeomFromEWKT('SRID=4674;POINT (-40.312463 -2.79232)'))) / (select extract(epoch from '2026-07-23 05:46:44'::timestamp) - extract(epoch from '2026-07-23 05:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312528 -2.792306)'), GeomFromEWKT('SRID=4674;POINT (-40.312463 -2.79232)'))) / (select extract(epoch from '2026-07-23 05:46:44'::timestamp) - extract(epoch from '2026-07-23 05:46: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'), 47640, 'SRID=4674;POINT (-40.312381 -2.792314)', '2026-07-23 05:47:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312463 -2.79232)'), GeomFromEWKT('SRID=4674;POINT (-40.312381 -2.792314)'))) / (select extract(epoch from '2026-07-23 05:47:01'::timestamp) - extract(epoch from '2026-07-23 05:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312463 -2.79232)'), GeomFromEWKT('SRID=4674;POINT (-40.312381 -2.792314)'))) / (select extract(epoch from '2026-07-23 05:47:01'::timestamp) - extract(epoch from '2026-07-23 05:46: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'), 47640, 'SRID=4674;POINT (-40.312332 -2.79232)', '2026-07-23 05:47:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312381 -2.792314)'), GeomFromEWKT('SRID=4674;POINT (-40.312332 -2.79232)'))) / (select extract(epoch from '2026-07-23 05:47:19'::timestamp) - extract(epoch from '2026-07-23 05:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312381 -2.792314)'), GeomFromEWKT('SRID=4674;POINT (-40.312332 -2.79232)'))) / (select extract(epoch from '2026-07-23 05:47:19'::timestamp) - extract(epoch from '2026-07-23 05:47: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'), 47640, 'SRID=4674;POINT (-40.312288 -2.792312)', '2026-07-23 05:47:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312332 -2.79232)'), GeomFromEWKT('SRID=4674;POINT (-40.312288 -2.792312)'))) / (select extract(epoch from '2026-07-23 05:47:38'::timestamp) - extract(epoch from '2026-07-23 05:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312332 -2.79232)'), GeomFromEWKT('SRID=4674;POINT (-40.312288 -2.792312)'))) / (select extract(epoch from '2026-07-23 05:47:38'::timestamp) - extract(epoch from '2026-07-23 05:47: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'), 47640, 'SRID=4674;POINT (-40.312239 -2.792332)', '2026-07-23 05:47:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312288 -2.792312)'), GeomFromEWKT('SRID=4674;POINT (-40.312239 -2.792332)'))) / (select extract(epoch from '2026-07-23 05:47:50'::timestamp) - extract(epoch from '2026-07-23 05:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312288 -2.792312)'), GeomFromEWKT('SRID=4674;POINT (-40.312239 -2.792332)'))) / (select extract(epoch from '2026-07-23 05:47:50'::timestamp) - extract(epoch from '2026-07-23 05: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'), 47640, 'SRID=4674;POINT (-40.312148 -2.792346)', '2026-07-23 05:48:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312239 -2.792332)'), GeomFromEWKT('SRID=4674;POINT (-40.312148 -2.792346)'))) / (select extract(epoch from '2026-07-23 05:48:05'::timestamp) - extract(epoch from '2026-07-23 05:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312239 -2.792332)'), GeomFromEWKT('SRID=4674;POINT (-40.312148 -2.792346)'))) / (select extract(epoch from '2026-07-23 05:48:05'::timestamp) - extract(epoch from '2026-07-23 05:47: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'), 47640, 'SRID=4674;POINT (-40.312088 -2.792351)', '2026-07-23 05:48:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312148 -2.792346)'), GeomFromEWKT('SRID=4674;POINT (-40.312088 -2.792351)'))) / (select extract(epoch from '2026-07-23 05:48:21'::timestamp) - extract(epoch from '2026-07-23 05:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312148 -2.792346)'), GeomFromEWKT('SRID=4674;POINT (-40.312088 -2.792351)'))) / (select extract(epoch from '2026-07-23 05:48:21'::timestamp) - extract(epoch from '2026-07-23 05: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'), 47640, 'SRID=4674;POINT (-40.31201 -2.792375)', '2026-07-23 05:48:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312088 -2.792351)'), GeomFromEWKT('SRID=4674;POINT (-40.31201 -2.792375)'))) / (select extract(epoch from '2026-07-23 05:48:35'::timestamp) - extract(epoch from '2026-07-23 05:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312088 -2.792351)'), GeomFromEWKT('SRID=4674;POINT (-40.31201 -2.792375)'))) / (select extract(epoch from '2026-07-23 05:48:35'::timestamp) - extract(epoch from '2026-07-23 05: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'), 47640, 'SRID=4674;POINT (-40.311952 -2.792392)', '2026-07-23 05:48:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31201 -2.792375)'), GeomFromEWKT('SRID=4674;POINT (-40.311952 -2.792392)'))) / (select extract(epoch from '2026-07-23 05:48:50'::timestamp) - extract(epoch from '2026-07-23 05:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31201 -2.792375)'), GeomFromEWKT('SRID=4674;POINT (-40.311952 -2.792392)'))) / (select extract(epoch from '2026-07-23 05:48:50'::timestamp) - extract(epoch from '2026-07-23 05:48: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'), 47640, 'SRID=4674;POINT (-40.311883 -2.792409)', '2026-07-23 05:49:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311952 -2.792392)'), GeomFromEWKT('SRID=4674;POINT (-40.311883 -2.792409)'))) / (select extract(epoch from '2026-07-23 05:49:05'::timestamp) - extract(epoch from '2026-07-23 05:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311952 -2.792392)'), GeomFromEWKT('SRID=4674;POINT (-40.311883 -2.792409)'))) / (select extract(epoch from '2026-07-23 05:49:05'::timestamp) - extract(epoch from '2026-07-23 05:48: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'), 47640, 'SRID=4674;POINT (-40.311821 -2.792417)', '2026-07-23 05:49:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311883 -2.792409)'), GeomFromEWKT('SRID=4674;POINT (-40.311821 -2.792417)'))) / (select extract(epoch from '2026-07-23 05:49:22'::timestamp) - extract(epoch from '2026-07-23 05:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311883 -2.792409)'), GeomFromEWKT('SRID=4674;POINT (-40.311821 -2.792417)'))) / (select extract(epoch from '2026-07-23 05:49:22'::timestamp) - extract(epoch from '2026-07-23 05:49: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'), 47640, 'SRID=4674;POINT (-40.311781 -2.792412)', '2026-07-23 05:49:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311821 -2.792417)'), GeomFromEWKT('SRID=4674;POINT (-40.311781 -2.792412)'))) / (select extract(epoch from '2026-07-23 05:49:38'::timestamp) - extract(epoch from '2026-07-23 05:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311821 -2.792417)'), GeomFromEWKT('SRID=4674;POINT (-40.311781 -2.792412)'))) / (select extract(epoch from '2026-07-23 05:49:38'::timestamp) - extract(epoch from '2026-07-23 05:49: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'), 47640, 'SRID=4674;POINT (-40.311703 -2.79243)', '2026-07-23 05:49:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311781 -2.792412)'), GeomFromEWKT('SRID=4674;POINT (-40.311703 -2.79243)'))) / (select extract(epoch from '2026-07-23 05:49:52'::timestamp) - extract(epoch from '2026-07-23 05:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311781 -2.792412)'), GeomFromEWKT('SRID=4674;POINT (-40.311703 -2.79243)'))) / (select extract(epoch from '2026-07-23 05:49:52'::timestamp) - extract(epoch from '2026-07-23 05:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.311621 -2.79246)', '2026-07-23 05:50:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311703 -2.79243)'), GeomFromEWKT('SRID=4674;POINT (-40.311621 -2.79246)'))) / (select extract(epoch from '2026-07-23 05:50:07'::timestamp) - extract(epoch from '2026-07-23 05:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311703 -2.79243)'), GeomFromEWKT('SRID=4674;POINT (-40.311621 -2.79246)'))) / (select extract(epoch from '2026-07-23 05:50:07'::timestamp) - extract(epoch from '2026-07-23 05:49: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'), 47640, 'SRID=4674;POINT (-40.311583 -2.792506)', '2026-07-23 05:50:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311621 -2.79246)'), GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792506)'))) / (select extract(epoch from '2026-07-23 05:50:22'::timestamp) - extract(epoch from '2026-07-23 05:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311621 -2.79246)'), GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792506)'))) / (select extract(epoch from '2026-07-23 05:50:22'::timestamp) - extract(epoch from '2026-07-23 05:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.311519 -2.792498)', '2026-07-23 05:50:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792506)'), GeomFromEWKT('SRID=4674;POINT (-40.311519 -2.792498)'))) / (select extract(epoch from '2026-07-23 05:50:36'::timestamp) - extract(epoch from '2026-07-23 05:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311583 -2.792506)'), GeomFromEWKT('SRID=4674;POINT (-40.311519 -2.792498)'))) / (select extract(epoch from '2026-07-23 05:50:36'::timestamp) - extract(epoch from '2026-07-23 05:50:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.311406 -2.792495)', '2026-07-23 05:50:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311519 -2.792498)'), GeomFromEWKT('SRID=4674;POINT (-40.311406 -2.792495)'))) / (select extract(epoch from '2026-07-23 05:50:55'::timestamp) - extract(epoch from '2026-07-23 05:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311519 -2.792498)'), GeomFromEWKT('SRID=4674;POINT (-40.311406 -2.792495)'))) / (select extract(epoch from '2026-07-23 05:50:55'::timestamp) - extract(epoch from '2026-07-23 05:50: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'), 47640, 'SRID=4674;POINT (-40.311314 -2.792489)', '2026-07-23 05:51:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311406 -2.792495)'), GeomFromEWKT('SRID=4674;POINT (-40.311314 -2.792489)'))) / (select extract(epoch from '2026-07-23 05:51:12'::timestamp) - extract(epoch from '2026-07-23 05:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311406 -2.792495)'), GeomFromEWKT('SRID=4674;POINT (-40.311314 -2.792489)'))) / (select extract(epoch from '2026-07-23 05:51:12'::timestamp) - extract(epoch from '2026-07-23 05:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.311264 -2.792489)', '2026-07-23 05:51:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311314 -2.792489)'), GeomFromEWKT('SRID=4674;POINT (-40.311264 -2.792489)'))) / (select extract(epoch from '2026-07-23 05:51:30'::timestamp) - extract(epoch from '2026-07-23 05:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311314 -2.792489)'), GeomFromEWKT('SRID=4674;POINT (-40.311264 -2.792489)'))) / (select extract(epoch from '2026-07-23 05:51:30'::timestamp) - extract(epoch from '2026-07-23 05:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.31119 -2.7925)', '2026-07-23 05:51:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311264 -2.792489)'), GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.7925)'))) / (select extract(epoch from '2026-07-23 05:51:50'::timestamp) - extract(epoch from '2026-07-23 05:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311264 -2.792489)'), GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.7925)'))) / (select extract(epoch from '2026-07-23 05:51:50'::timestamp) - extract(epoch from '2026-07-23 05:51: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'), 47640, 'SRID=4674;POINT (-40.311137 -2.792486)', '2026-07-23 05:52:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.7925)'), GeomFromEWKT('SRID=4674;POINT (-40.311137 -2.792486)'))) / (select extract(epoch from '2026-07-23 05:52:07'::timestamp) - extract(epoch from '2026-07-23 05:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31119 -2.7925)'), GeomFromEWKT('SRID=4674;POINT (-40.311137 -2.792486)'))) / (select extract(epoch from '2026-07-23 05:52:07'::timestamp) - extract(epoch from '2026-07-23 05: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'), 47640, 'SRID=4674;POINT (-40.311059 -2.792497)', '2026-07-23 05:52:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311137 -2.792486)'), GeomFromEWKT('SRID=4674;POINT (-40.311059 -2.792497)'))) / (select extract(epoch from '2026-07-23 05:52:21'::timestamp) - extract(epoch from '2026-07-23 05:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311137 -2.792486)'), GeomFromEWKT('SRID=4674;POINT (-40.311059 -2.792497)'))) / (select extract(epoch from '2026-07-23 05:52:21'::timestamp) - extract(epoch from '2026-07-23 05: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'), 47640, 'SRID=4674;POINT (-40.311027 -2.79249)', '2026-07-23 05:52:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311059 -2.792497)'), GeomFromEWKT('SRID=4674;POINT (-40.311027 -2.79249)'))) / (select extract(epoch from '2026-07-23 05:52:37'::timestamp) - extract(epoch from '2026-07-23 05:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311059 -2.792497)'), GeomFromEWKT('SRID=4674;POINT (-40.311027 -2.79249)'))) / (select extract(epoch from '2026-07-23 05:52:37'::timestamp) - extract(epoch from '2026-07-23 05:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310961 -2.79252)', '2026-07-23 05:52:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311027 -2.79249)'), GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.79252)'))) / (select extract(epoch from '2026-07-23 05:52:52'::timestamp) - extract(epoch from '2026-07-23 05:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311027 -2.79249)'), GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.79252)'))) / (select extract(epoch from '2026-07-23 05:52:52'::timestamp) - extract(epoch from '2026-07-23 05:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310918 -2.792513)', '2026-07-23 05:53:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.310918 -2.792513)'))) / (select extract(epoch from '2026-07-23 05:53:06'::timestamp) - extract(epoch from '2026-07-23 05:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310961 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.310918 -2.792513)'))) / (select extract(epoch from '2026-07-23 05:53:06'::timestamp) - extract(epoch from '2026-07-23 05:52: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'), 47640, 'SRID=4674;POINT (-40.310846 -2.792538)', '2026-07-23 05:53:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310918 -2.792513)'), GeomFromEWKT('SRID=4674;POINT (-40.310846 -2.792538)'))) / (select extract(epoch from '2026-07-23 05:53:22'::timestamp) - extract(epoch from '2026-07-23 05:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310918 -2.792513)'), GeomFromEWKT('SRID=4674;POINT (-40.310846 -2.792538)'))) / (select extract(epoch from '2026-07-23 05:53:22'::timestamp) - extract(epoch from '2026-07-23 05:53: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'), 47640, 'SRID=4674;POINT (-40.310819 -2.792556)', '2026-07-23 05:53:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310846 -2.792538)'), GeomFromEWKT('SRID=4674;POINT (-40.310819 -2.792556)'))) / (select extract(epoch from '2026-07-23 05:53:38'::timestamp) - extract(epoch from '2026-07-23 05:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310846 -2.792538)'), GeomFromEWKT('SRID=4674;POINT (-40.310819 -2.792556)'))) / (select extract(epoch from '2026-07-23 05:53:38'::timestamp) - extract(epoch from '2026-07-23 05:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310767 -2.792557)', '2026-07-23 05:53:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310819 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-40.310767 -2.792557)'))) / (select extract(epoch from '2026-07-23 05:53:51'::timestamp) - extract(epoch from '2026-07-23 05:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310819 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-40.310767 -2.792557)'))) / (select extract(epoch from '2026-07-23 05:53:51'::timestamp) - extract(epoch from '2026-07-23 05:53: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'), 47640, 'SRID=4674;POINT (-40.310649 -2.792561)', '2026-07-23 05:54:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310767 -2.792557)'), GeomFromEWKT('SRID=4674;POINT (-40.310649 -2.792561)'))) / (select extract(epoch from '2026-07-23 05:54:11'::timestamp) - extract(epoch from '2026-07-23 05:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310767 -2.792557)'), GeomFromEWKT('SRID=4674;POINT (-40.310649 -2.792561)'))) / (select extract(epoch from '2026-07-23 05:54:11'::timestamp) - extract(epoch from '2026-07-23 05:53: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'), 47640, 'SRID=4674;POINT (-40.310561 -2.79256)', '2026-07-23 05:54:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310649 -2.792561)'), GeomFromEWKT('SRID=4674;POINT (-40.310561 -2.79256)'))) / (select extract(epoch from '2026-07-23 05:54:27'::timestamp) - extract(epoch from '2026-07-23 05:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310649 -2.792561)'), GeomFromEWKT('SRID=4674;POINT (-40.310561 -2.79256)'))) / (select extract(epoch from '2026-07-23 05:54:27'::timestamp) - extract(epoch from '2026-07-23 05:54: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'), 47640, 'SRID=4674;POINT (-40.310534 -2.792567)', '2026-07-23 05:54:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310561 -2.79256)'), GeomFromEWKT('SRID=4674;POINT (-40.310534 -2.792567)'))) / (select extract(epoch from '2026-07-23 05:54:42'::timestamp) - extract(epoch from '2026-07-23 05:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310561 -2.79256)'), GeomFromEWKT('SRID=4674;POINT (-40.310534 -2.792567)'))) / (select extract(epoch from '2026-07-23 05:54:42'::timestamp) - extract(epoch from '2026-07-23 05:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310472 -2.792593)', '2026-07-23 05:54:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310534 -2.792567)'), GeomFromEWKT('SRID=4674;POINT (-40.310472 -2.792593)'))) / (select extract(epoch from '2026-07-23 05:54:59'::timestamp) - extract(epoch from '2026-07-23 05:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310534 -2.792567)'), GeomFromEWKT('SRID=4674;POINT (-40.310472 -2.792593)'))) / (select extract(epoch from '2026-07-23 05:54:59'::timestamp) - extract(epoch from '2026-07-23 05:54: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'), 47640, 'SRID=4674;POINT (-40.310434 -2.792595)', '2026-07-23 05:55:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310472 -2.792593)'), GeomFromEWKT('SRID=4674;POINT (-40.310434 -2.792595)'))) / (select extract(epoch from '2026-07-23 05:55:16'::timestamp) - extract(epoch from '2026-07-23 05:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310472 -2.792593)'), GeomFromEWKT('SRID=4674;POINT (-40.310434 -2.792595)'))) / (select extract(epoch from '2026-07-23 05:55:16'::timestamp) - extract(epoch from '2026-07-23 05:54:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.310412 -2.79259)', '2026-07-23 05:55:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310434 -2.792595)'), GeomFromEWKT('SRID=4674;POINT (-40.310412 -2.79259)'))) / (select extract(epoch from '2026-07-23 05:55:31'::timestamp) - extract(epoch from '2026-07-23 05:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310434 -2.792595)'), GeomFromEWKT('SRID=4674;POINT (-40.310412 -2.79259)'))) / (select extract(epoch from '2026-07-23 05:55:31'::timestamp) - extract(epoch from '2026-07-23 05:55: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'), 47640, 'SRID=4674;POINT (-40.310344 -2.792604)', '2026-07-23 05:55:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310412 -2.79259)'), GeomFromEWKT('SRID=4674;POINT (-40.310344 -2.792604)'))) / (select extract(epoch from '2026-07-23 05:55:46'::timestamp) - extract(epoch from '2026-07-23 05:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310412 -2.79259)'), GeomFromEWKT('SRID=4674;POINT (-40.310344 -2.792604)'))) / (select extract(epoch from '2026-07-23 05:55:46'::timestamp) - extract(epoch from '2026-07-23 05:55: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'), 47640, 'SRID=4674;POINT (-40.310293 -2.792623)', '2026-07-23 05:56:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310344 -2.792604)'), GeomFromEWKT('SRID=4674;POINT (-40.310293 -2.792623)'))) / (select extract(epoch from '2026-07-23 05:56:02'::timestamp) - extract(epoch from '2026-07-23 05:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310344 -2.792604)'), GeomFromEWKT('SRID=4674;POINT (-40.310293 -2.792623)'))) / (select extract(epoch from '2026-07-23 05:56:02'::timestamp) - extract(epoch from '2026-07-23 05:55: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'), 47640, 'SRID=4674;POINT (-40.310277 -2.792643)', '2026-07-23 05:56:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310293 -2.792623)'), GeomFromEWKT('SRID=4674;POINT (-40.310277 -2.792643)'))) / (select extract(epoch from '2026-07-23 05:56:19'::timestamp) - extract(epoch from '2026-07-23 05:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310293 -2.792623)'), GeomFromEWKT('SRID=4674;POINT (-40.310277 -2.792643)'))) / (select extract(epoch from '2026-07-23 05:56:19'::timestamp) - extract(epoch from '2026-07-23 05:56: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'), 47640, 'SRID=4674;POINT (-40.3102 -2.79265)', '2026-07-23 05:56:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310277 -2.792643)'), GeomFromEWKT('SRID=4674;POINT (-40.3102 -2.79265)'))) / (select extract(epoch from '2026-07-23 05:56:31'::timestamp) - extract(epoch from '2026-07-23 05:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310277 -2.792643)'), GeomFromEWKT('SRID=4674;POINT (-40.3102 -2.79265)'))) / (select extract(epoch from '2026-07-23 05:56:31'::timestamp) - extract(epoch from '2026-07-23 05:56: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'), 47640, 'SRID=4674;POINT (-40.310087 -2.792654)', '2026-07-23 05:56:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3102 -2.79265)'), GeomFromEWKT('SRID=4674;POINT (-40.310087 -2.792654)'))) / (select extract(epoch from '2026-07-23 05:56:48'::timestamp) - extract(epoch from '2026-07-23 05:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3102 -2.79265)'), GeomFromEWKT('SRID=4674;POINT (-40.310087 -2.792654)'))) / (select extract(epoch from '2026-07-23 05:56:48'::timestamp) - extract(epoch from '2026-07-23 05:56: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'), 47640, 'SRID=4674;POINT (-40.30998 -2.792689)', '2026-07-23 05:57:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310087 -2.792654)'), GeomFromEWKT('SRID=4674;POINT (-40.30998 -2.792689)'))) / (select extract(epoch from '2026-07-23 05:57:07'::timestamp) - extract(epoch from '2026-07-23 05:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310087 -2.792654)'), GeomFromEWKT('SRID=4674;POINT (-40.30998 -2.792689)'))) / (select extract(epoch from '2026-07-23 05:57:07'::timestamp) - extract(epoch from '2026-07-23 05:56: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'), 47640, 'SRID=4674;POINT (-40.309883 -2.792693)', '2026-07-23 05:57:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30998 -2.792689)'), GeomFromEWKT('SRID=4674;POINT (-40.309883 -2.792693)'))) / (select extract(epoch from '2026-07-23 05:57:23'::timestamp) - extract(epoch from '2026-07-23 05:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30998 -2.792689)'), GeomFromEWKT('SRID=4674;POINT (-40.309883 -2.792693)'))) / (select extract(epoch from '2026-07-23 05:57:23'::timestamp) - extract(epoch from '2026-07-23 05:57: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'), 47640, 'SRID=4674;POINT (-40.309805 -2.792713)', '2026-07-23 05:57:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309883 -2.792693)'), GeomFromEWKT('SRID=4674;POINT (-40.309805 -2.792713)'))) / (select extract(epoch from '2026-07-23 05:57:40'::timestamp) - extract(epoch from '2026-07-23 05:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309883 -2.792693)'), GeomFromEWKT('SRID=4674;POINT (-40.309805 -2.792713)'))) / (select extract(epoch from '2026-07-23 05:57:40'::timestamp) - extract(epoch from '2026-07-23 05:57: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'), 47640, 'SRID=4674;POINT (-40.309715 -2.792713)', '2026-07-23 05:58:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309805 -2.792713)'), GeomFromEWKT('SRID=4674;POINT (-40.309715 -2.792713)'))) / (select extract(epoch from '2026-07-23 05:58:00'::timestamp) - extract(epoch from '2026-07-23 05:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309805 -2.792713)'), GeomFromEWKT('SRID=4674;POINT (-40.309715 -2.792713)'))) / (select extract(epoch from '2026-07-23 05:58:00'::timestamp) - extract(epoch from '2026-07-23 05:57:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309686 -2.792718)', '2026-07-23 05:58:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309715 -2.792713)'), GeomFromEWKT('SRID=4674;POINT (-40.309686 -2.792718)'))) / (select extract(epoch from '2026-07-23 05:58:17'::timestamp) - extract(epoch from '2026-07-23 05:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309715 -2.792713)'), GeomFromEWKT('SRID=4674;POINT (-40.309686 -2.792718)'))) / (select extract(epoch from '2026-07-23 05:58:17'::timestamp) - extract(epoch from '2026-07-23 05:58: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'), 47640, 'SRID=4674;POINT (-40.309662 -2.792722)', '2026-07-23 05:58:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309686 -2.792718)'), GeomFromEWKT('SRID=4674;POINT (-40.309662 -2.792722)'))) / (select extract(epoch from '2026-07-23 05:58:28'::timestamp) - extract(epoch from '2026-07-23 05:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309686 -2.792718)'), GeomFromEWKT('SRID=4674;POINT (-40.309662 -2.792722)'))) / (select extract(epoch from '2026-07-23 05:58:28'::timestamp) - extract(epoch from '2026-07-23 05:58:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309644 -2.79271)', '2026-07-23 05:58:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309662 -2.792722)'), GeomFromEWKT('SRID=4674;POINT (-40.309644 -2.79271)'))) / (select extract(epoch from '2026-07-23 05:58:44'::timestamp) - extract(epoch from '2026-07-23 05:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309662 -2.792722)'), GeomFromEWKT('SRID=4674;POINT (-40.309644 -2.79271)'))) / (select extract(epoch from '2026-07-23 05:58:44'::timestamp) - extract(epoch from '2026-07-23 05:58: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'), 47640, 'SRID=4674;POINT (-40.309607 -2.792697)', '2026-07-23 05:59:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309644 -2.79271)'), GeomFromEWKT('SRID=4674;POINT (-40.309607 -2.792697)'))) / (select extract(epoch from '2026-07-23 05:59:05'::timestamp) - extract(epoch from '2026-07-23 05:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309644 -2.79271)'), GeomFromEWKT('SRID=4674;POINT (-40.309607 -2.792697)'))) / (select extract(epoch from '2026-07-23 05:59:05'::timestamp) - extract(epoch from '2026-07-23 05:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309578 -2.792712)', '2026-07-23 05:59:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309607 -2.792697)'), GeomFromEWKT('SRID=4674;POINT (-40.309578 -2.792712)'))) / (select extract(epoch from '2026-07-23 05:59:22'::timestamp) - extract(epoch from '2026-07-23 05:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309607 -2.792697)'), GeomFromEWKT('SRID=4674;POINT (-40.309578 -2.792712)'))) / (select extract(epoch from '2026-07-23 05:59:22'::timestamp) - extract(epoch from '2026-07-23 05:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.30956 -2.792709)', '2026-07-23 05:59:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309578 -2.792712)'), GeomFromEWKT('SRID=4674;POINT (-40.30956 -2.792709)'))) / (select extract(epoch from '2026-07-23 05:59:41'::timestamp) - extract(epoch from '2026-07-23 05:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309578 -2.792712)'), GeomFromEWKT('SRID=4674;POINT (-40.30956 -2.792709)'))) / (select extract(epoch from '2026-07-23 05:59:41'::timestamp) - extract(epoch from '2026-07-23 05:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309528 -2.792701)', '2026-07-23 06:00:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30956 -2.792709)'), GeomFromEWKT('SRID=4674;POINT (-40.309528 -2.792701)'))) / (select extract(epoch from '2026-07-23 06:00:01'::timestamp) - extract(epoch from '2026-07-23 05:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30956 -2.792709)'), GeomFromEWKT('SRID=4674;POINT (-40.309528 -2.792701)'))) / (select extract(epoch from '2026-07-23 06:00:01'::timestamp) - extract(epoch from '2026-07-23 05:59: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'), 47640, 'SRID=4674;POINT (-40.309446 -2.792707)', '2026-07-23 06:00:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309528 -2.792701)'), GeomFromEWKT('SRID=4674;POINT (-40.309446 -2.792707)'))) / (select extract(epoch from '2026-07-23 06:00:18'::timestamp) - extract(epoch from '2026-07-23 06:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309528 -2.792701)'), GeomFromEWKT('SRID=4674;POINT (-40.309446 -2.792707)'))) / (select extract(epoch from '2026-07-23 06:00:18'::timestamp) - extract(epoch from '2026-07-23 06:00: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'), 47640, 'SRID=4674;POINT (-40.309392 -2.792708)', '2026-07-23 06:00:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309446 -2.792707)'), GeomFromEWKT('SRID=4674;POINT (-40.309392 -2.792708)'))) / (select extract(epoch from '2026-07-23 06:00:34'::timestamp) - extract(epoch from '2026-07-23 06:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309446 -2.792707)'), GeomFromEWKT('SRID=4674;POINT (-40.309392 -2.792708)'))) / (select extract(epoch from '2026-07-23 06:00:34'::timestamp) - extract(epoch from '2026-07-23 06:00:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309333 -2.79272)', '2026-07-23 06:00:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309392 -2.792708)'), GeomFromEWKT('SRID=4674;POINT (-40.309333 -2.79272)'))) / (select extract(epoch from '2026-07-23 06:00:52'::timestamp) - extract(epoch from '2026-07-23 06:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309392 -2.792708)'), GeomFromEWKT('SRID=4674;POINT (-40.309333 -2.79272)'))) / (select extract(epoch from '2026-07-23 06:00:52'::timestamp) - extract(epoch from '2026-07-23 06:00:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309275 -2.792709)', '2026-07-23 06:01:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309333 -2.79272)'), GeomFromEWKT('SRID=4674;POINT (-40.309275 -2.792709)'))) / (select extract(epoch from '2026-07-23 06:01:08'::timestamp) - extract(epoch from '2026-07-23 06:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309333 -2.79272)'), GeomFromEWKT('SRID=4674;POINT (-40.309275 -2.792709)'))) / (select extract(epoch from '2026-07-23 06:01:08'::timestamp) - extract(epoch from '2026-07-23 06:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.309189 -2.792742)', '2026-07-23 06:01:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309275 -2.792709)'), GeomFromEWKT('SRID=4674;POINT (-40.309189 -2.792742)'))) / (select extract(epoch from '2026-07-23 06:01:24'::timestamp) - extract(epoch from '2026-07-23 06:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309275 -2.792709)'), GeomFromEWKT('SRID=4674;POINT (-40.309189 -2.792742)'))) / (select extract(epoch from '2026-07-23 06:01:24'::timestamp) - extract(epoch from '2026-07-23 06:01: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'), 47640, 'SRID=4674;POINT (-40.309098 -2.792756)', '2026-07-23 06:01:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309189 -2.792742)'), GeomFromEWKT('SRID=4674;POINT (-40.309098 -2.792756)'))) / (select extract(epoch from '2026-07-23 06:01:43'::timestamp) - extract(epoch from '2026-07-23 06:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309189 -2.792742)'), GeomFromEWKT('SRID=4674;POINT (-40.309098 -2.792756)'))) / (select extract(epoch from '2026-07-23 06:01:43'::timestamp) - extract(epoch from '2026-07-23 06:01: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'), 47640, 'SRID=4674;POINT (-40.308986 -2.792757)', '2026-07-23 06:02:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309098 -2.792756)'), GeomFromEWKT('SRID=4674;POINT (-40.308986 -2.792757)'))) / (select extract(epoch from '2026-07-23 06:02:02'::timestamp) - extract(epoch from '2026-07-23 06:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309098 -2.792756)'), GeomFromEWKT('SRID=4674;POINT (-40.308986 -2.792757)'))) / (select extract(epoch from '2026-07-23 06:02:02'::timestamp) - extract(epoch from '2026-07-23 06:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.308876 -2.792775)', '2026-07-23 06:02:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308986 -2.792757)'), GeomFromEWKT('SRID=4674;POINT (-40.308876 -2.792775)'))) / (select extract(epoch from '2026-07-23 06:02:19'::timestamp) - extract(epoch from '2026-07-23 06:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308986 -2.792757)'), GeomFromEWKT('SRID=4674;POINT (-40.308876 -2.792775)'))) / (select extract(epoch from '2026-07-23 06:02:19'::timestamp) - extract(epoch from '2026-07-23 06:02: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'), 47640, 'SRID=4674;POINT (-40.308796 -2.792792)', '2026-07-23 06:02:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308876 -2.792775)'), GeomFromEWKT('SRID=4674;POINT (-40.308796 -2.792792)'))) / (select extract(epoch from '2026-07-23 06:02:35'::timestamp) - extract(epoch from '2026-07-23 06:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308876 -2.792775)'), GeomFromEWKT('SRID=4674;POINT (-40.308796 -2.792792)'))) / (select extract(epoch from '2026-07-23 06:02:35'::timestamp) - extract(epoch from '2026-07-23 06:02:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.308715 -2.792796)', '2026-07-23 06:02:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308796 -2.792792)'), GeomFromEWKT('SRID=4674;POINT (-40.308715 -2.792796)'))) / (select extract(epoch from '2026-07-23 06:02:52'::timestamp) - extract(epoch from '2026-07-23 06:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308796 -2.792792)'), GeomFromEWKT('SRID=4674;POINT (-40.308715 -2.792796)'))) / (select extract(epoch from '2026-07-23 06:02:52'::timestamp) - extract(epoch from '2026-07-23 06:02: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'), 47640, 'SRID=4674;POINT (-40.30866 -2.792792)', '2026-07-23 06:03:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308715 -2.792796)'), GeomFromEWKT('SRID=4674;POINT (-40.30866 -2.792792)'))) / (select extract(epoch from '2026-07-23 06:03:09'::timestamp) - extract(epoch from '2026-07-23 06:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308715 -2.792796)'), GeomFromEWKT('SRID=4674;POINT (-40.30866 -2.792792)'))) / (select extract(epoch from '2026-07-23 06:03:09'::timestamp) - extract(epoch from '2026-07-23 06:02: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'), 47640, 'SRID=4674;POINT (-40.308623 -2.7928)', '2026-07-23 06:03:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30866 -2.792792)'), GeomFromEWKT('SRID=4674;POINT (-40.308623 -2.7928)'))) / (select extract(epoch from '2026-07-23 06:03:22'::timestamp) - extract(epoch from '2026-07-23 06:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30866 -2.792792)'), GeomFromEWKT('SRID=4674;POINT (-40.308623 -2.7928)'))) / (select extract(epoch from '2026-07-23 06:03:22'::timestamp) - extract(epoch from '2026-07-23 06:03: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'), 47640, 'SRID=4674;POINT (-40.308564 -2.792798)', '2026-07-23 06:03:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308623 -2.7928)'), GeomFromEWKT('SRID=4674;POINT (-40.308564 -2.792798)'))) / (select extract(epoch from '2026-07-23 06:03:40'::timestamp) - extract(epoch from '2026-07-23 06:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308623 -2.7928)'), GeomFromEWKT('SRID=4674;POINT (-40.308564 -2.792798)'))) / (select extract(epoch from '2026-07-23 06:03:40'::timestamp) - extract(epoch from '2026-07-23 06:03: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'), 47640, 'SRID=4674;POINT (-40.308492 -2.79281)', '2026-07-23 06:03:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308564 -2.792798)'), GeomFromEWKT('SRID=4674;POINT (-40.308492 -2.79281)'))) / (select extract(epoch from '2026-07-23 06:03:57'::timestamp) - extract(epoch from '2026-07-23 06:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308564 -2.792798)'), GeomFromEWKT('SRID=4674;POINT (-40.308492 -2.79281)'))) / (select extract(epoch from '2026-07-23 06:03:57'::timestamp) - extract(epoch from '2026-07-23 06:03: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'), 47640, 'SRID=4674;POINT (-40.308381 -2.792832)', '2026-07-23 06:04:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308492 -2.79281)'), GeomFromEWKT('SRID=4674;POINT (-40.308381 -2.792832)'))) / (select extract(epoch from '2026-07-23 06:04:16'::timestamp) - extract(epoch from '2026-07-23 06:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308492 -2.79281)'), GeomFromEWKT('SRID=4674;POINT (-40.308381 -2.792832)'))) / (select extract(epoch from '2026-07-23 06:04:16'::timestamp) - extract(epoch from '2026-07-23 06:03: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'), 47640, 'SRID=4674;POINT (-40.308337 -2.792836)', '2026-07-23 06:04:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308381 -2.792832)'), GeomFromEWKT('SRID=4674;POINT (-40.308337 -2.792836)'))) / (select extract(epoch from '2026-07-23 06:04:33'::timestamp) - extract(epoch from '2026-07-23 06:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308381 -2.792832)'), GeomFromEWKT('SRID=4674;POINT (-40.308337 -2.792836)'))) / (select extract(epoch from '2026-07-23 06:04:33'::timestamp) - extract(epoch from '2026-07-23 06:04: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'), 47640, 'SRID=4674;POINT (-40.308289 -2.792826)', '2026-07-23 06:04:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308337 -2.792836)'), GeomFromEWKT('SRID=4674;POINT (-40.308289 -2.792826)'))) / (select extract(epoch from '2026-07-23 06:04:50'::timestamp) - extract(epoch from '2026-07-23 06:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308337 -2.792836)'), GeomFromEWKT('SRID=4674;POINT (-40.308289 -2.792826)'))) / (select extract(epoch from '2026-07-23 06:04:50'::timestamp) - extract(epoch from '2026-07-23 06:04: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'), 47640, 'SRID=4674;POINT (-40.308198 -2.792823)', '2026-07-23 06:05:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308289 -2.792826)'), GeomFromEWKT('SRID=4674;POINT (-40.308198 -2.792823)'))) / (select extract(epoch from '2026-07-23 06:05:08'::timestamp) - extract(epoch from '2026-07-23 06:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308289 -2.792826)'), GeomFromEWKT('SRID=4674;POINT (-40.308198 -2.792823)'))) / (select extract(epoch from '2026-07-23 06:05:08'::timestamp) - extract(epoch from '2026-07-23 06:04: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'), 47640, 'SRID=4674;POINT (-40.308099 -2.792834)', '2026-07-23 06:05:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308198 -2.792823)'), GeomFromEWKT('SRID=4674;POINT (-40.308099 -2.792834)'))) / (select extract(epoch from '2026-07-23 06:05:26'::timestamp) - extract(epoch from '2026-07-23 06:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308198 -2.792823)'), GeomFromEWKT('SRID=4674;POINT (-40.308099 -2.792834)'))) / (select extract(epoch from '2026-07-23 06:05:26'::timestamp) - extract(epoch from '2026-07-23 06:05: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'), 47640, 'SRID=4674;POINT (-40.307997 -2.792848)', '2026-07-23 06:05:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308099 -2.792834)'), GeomFromEWKT('SRID=4674;POINT (-40.307997 -2.792848)'))) / (select extract(epoch from '2026-07-23 06:05:44'::timestamp) - extract(epoch from '2026-07-23 06:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.308099 -2.792834)'), GeomFromEWKT('SRID=4674;POINT (-40.307997 -2.792848)'))) / (select extract(epoch from '2026-07-23 06:05:44'::timestamp) - extract(epoch from '2026-07-23 06:05: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'), 47640, 'SRID=4674;POINT (-40.307892 -2.792862)', '2026-07-23 06:06:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307997 -2.792848)'), GeomFromEWKT('SRID=4674;POINT (-40.307892 -2.792862)'))) / (select extract(epoch from '2026-07-23 06:06:02'::timestamp) - extract(epoch from '2026-07-23 06:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307997 -2.792848)'), GeomFromEWKT('SRID=4674;POINT (-40.307892 -2.792862)'))) / (select extract(epoch from '2026-07-23 06:06:02'::timestamp) - extract(epoch from '2026-07-23 06:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.307775 -2.792881)', '2026-07-23 06:06:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307892 -2.792862)'), GeomFromEWKT('SRID=4674;POINT (-40.307775 -2.792881)'))) / (select extract(epoch from '2026-07-23 06:06:20'::timestamp) - extract(epoch from '2026-07-23 06:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307892 -2.792862)'), GeomFromEWKT('SRID=4674;POINT (-40.307775 -2.792881)'))) / (select extract(epoch from '2026-07-23 06:06:20'::timestamp) - extract(epoch from '2026-07-23 06:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.307662 -2.792903)', '2026-07-23 06:06:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307775 -2.792881)'), GeomFromEWKT('SRID=4674;POINT (-40.307662 -2.792903)'))) / (select extract(epoch from '2026-07-23 06:06:38'::timestamp) - extract(epoch from '2026-07-23 06:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307775 -2.792881)'), GeomFromEWKT('SRID=4674;POINT (-40.307662 -2.792903)'))) / (select extract(epoch from '2026-07-23 06:06:38'::timestamp) - extract(epoch from '2026-07-23 06:06: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'), 47640, 'SRID=4674;POINT (-40.3076 -2.792906)', '2026-07-23 06:06:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307662 -2.792903)'), GeomFromEWKT('SRID=4674;POINT (-40.3076 -2.792906)'))) / (select extract(epoch from '2026-07-23 06:06:55'::timestamp) - extract(epoch from '2026-07-23 06:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307662 -2.792903)'), GeomFromEWKT('SRID=4674;POINT (-40.3076 -2.792906)'))) / (select extract(epoch from '2026-07-23 06:06:55'::timestamp) - extract(epoch from '2026-07-23 06:06: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'), 47640, 'SRID=4674;POINT (-40.307515 -2.792923)', '2026-07-23 06:07:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3076 -2.792906)'), GeomFromEWKT('SRID=4674;POINT (-40.307515 -2.792923)'))) / (select extract(epoch from '2026-07-23 06:07:14'::timestamp) - extract(epoch from '2026-07-23 06:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3076 -2.792906)'), GeomFromEWKT('SRID=4674;POINT (-40.307515 -2.792923)'))) / (select extract(epoch from '2026-07-23 06:07:14'::timestamp) - extract(epoch from '2026-07-23 06:06: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'), 47640, 'SRID=4674;POINT (-40.307433 -2.792907)', '2026-07-23 06:07:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307515 -2.792923)'), GeomFromEWKT('SRID=4674;POINT (-40.307433 -2.792907)'))) / (select extract(epoch from '2026-07-23 06:07:35'::timestamp) - extract(epoch from '2026-07-23 06:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307515 -2.792923)'), GeomFromEWKT('SRID=4674;POINT (-40.307433 -2.792907)'))) / (select extract(epoch from '2026-07-23 06:07:35'::timestamp) - extract(epoch from '2026-07-23 06:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.307401 -2.792892)', '2026-07-23 06:07:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307433 -2.792907)'), GeomFromEWKT('SRID=4674;POINT (-40.307401 -2.792892)'))) / (select extract(epoch from '2026-07-23 06:07:56'::timestamp) - extract(epoch from '2026-07-23 06:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307433 -2.792907)'), GeomFromEWKT('SRID=4674;POINT (-40.307401 -2.792892)'))) / (select extract(epoch from '2026-07-23 06:07:56'::timestamp) - extract(epoch from '2026-07-23 06:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.307345 -2.792908)', '2026-07-23 06:08:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307401 -2.792892)'), GeomFromEWKT('SRID=4674;POINT (-40.307345 -2.792908)'))) / (select extract(epoch from '2026-07-23 06:08:09'::timestamp) - extract(epoch from '2026-07-23 06:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307401 -2.792892)'), GeomFromEWKT('SRID=4674;POINT (-40.307345 -2.792908)'))) / (select extract(epoch from '2026-07-23 06:08:09'::timestamp) - extract(epoch from '2026-07-23 06: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'), 47640, 'SRID=4674;POINT (-40.30725 -2.792916)', '2026-07-23 06:08:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307345 -2.792908)'), GeomFromEWKT('SRID=4674;POINT (-40.30725 -2.792916)'))) / (select extract(epoch from '2026-07-23 06:08:26'::timestamp) - extract(epoch from '2026-07-23 06:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307345 -2.792908)'), GeomFromEWKT('SRID=4674;POINT (-40.30725 -2.792916)'))) / (select extract(epoch from '2026-07-23 06:08:26'::timestamp) - extract(epoch from '2026-07-23 06:08:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.30719 -2.792935)', '2026-07-23 06:08:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30725 -2.792916)'), GeomFromEWKT('SRID=4674;POINT (-40.30719 -2.792935)'))) / (select extract(epoch from '2026-07-23 06:08:40'::timestamp) - extract(epoch from '2026-07-23 06:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30725 -2.792916)'), GeomFromEWKT('SRID=4674;POINT (-40.30719 -2.792935)'))) / (select extract(epoch from '2026-07-23 06:08:40'::timestamp) - extract(epoch from '2026-07-23 06:08: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'), 47640, 'SRID=4674;POINT (-40.307111 -2.792957)', '2026-07-23 06:08:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30719 -2.792935)'), GeomFromEWKT('SRID=4674;POINT (-40.307111 -2.792957)'))) / (select extract(epoch from '2026-07-23 06:08:58'::timestamp) - extract(epoch from '2026-07-23 06:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30719 -2.792935)'), GeomFromEWKT('SRID=4674;POINT (-40.307111 -2.792957)'))) / (select extract(epoch from '2026-07-23 06:08:58'::timestamp) - extract(epoch from '2026-07-23 06:08: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'), 47640, 'SRID=4674;POINT (-40.307021 -2.792963)', '2026-07-23 06:09:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307111 -2.792957)'), GeomFromEWKT('SRID=4674;POINT (-40.307021 -2.792963)'))) / (select extract(epoch from '2026-07-23 06:09:16'::timestamp) - extract(epoch from '2026-07-23 06:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307111 -2.792957)'), GeomFromEWKT('SRID=4674;POINT (-40.307021 -2.792963)'))) / (select extract(epoch from '2026-07-23 06:09:16'::timestamp) - extract(epoch from '2026-07-23 06:08: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'), 47640, 'SRID=4674;POINT (-40.306987 -2.79297)', '2026-07-23 06:09:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307021 -2.792963)'), GeomFromEWKT('SRID=4674;POINT (-40.306987 -2.79297)'))) / (select extract(epoch from '2026-07-23 06:09:29'::timestamp) - extract(epoch from '2026-07-23 06:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.307021 -2.792963)'), GeomFromEWKT('SRID=4674;POINT (-40.306987 -2.79297)'))) / (select extract(epoch from '2026-07-23 06:09:29'::timestamp) - extract(epoch from '2026-07-23 06:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306972 -2.792969)', '2026-07-23 06:09:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306987 -2.79297)'), GeomFromEWKT('SRID=4674;POINT (-40.306972 -2.792969)'))) / (select extract(epoch from '2026-07-23 06:09:46'::timestamp) - extract(epoch from '2026-07-23 06:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306987 -2.79297)'), GeomFromEWKT('SRID=4674;POINT (-40.306972 -2.792969)'))) / (select extract(epoch from '2026-07-23 06:09:46'::timestamp) - extract(epoch from '2026-07-23 06:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306935 -2.792979)', '2026-07-23 06:10:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306972 -2.792969)'), GeomFromEWKT('SRID=4674;POINT (-40.306935 -2.792979)'))) / (select extract(epoch from '2026-07-23 06:10:01'::timestamp) - extract(epoch from '2026-07-23 06:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306972 -2.792969)'), GeomFromEWKT('SRID=4674;POINT (-40.306935 -2.792979)'))) / (select extract(epoch from '2026-07-23 06:10:01'::timestamp) - extract(epoch from '2026-07-23 06:09: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'), 47640, 'SRID=4674;POINT (-40.306898 -2.792986)', '2026-07-23 06:10:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306935 -2.792979)'), GeomFromEWKT('SRID=4674;POINT (-40.306898 -2.792986)'))) / (select extract(epoch from '2026-07-23 06:10:13'::timestamp) - extract(epoch from '2026-07-23 06:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306935 -2.792979)'), GeomFromEWKT('SRID=4674;POINT (-40.306898 -2.792986)'))) / (select extract(epoch from '2026-07-23 06:10:13'::timestamp) - extract(epoch from '2026-07-23 06:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306811 -2.793004)', '2026-07-23 06:10:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306898 -2.792986)'), GeomFromEWKT('SRID=4674;POINT (-40.306811 -2.793004)'))) / (select extract(epoch from '2026-07-23 06:10:31'::timestamp) - extract(epoch from '2026-07-23 06:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306898 -2.792986)'), GeomFromEWKT('SRID=4674;POINT (-40.306811 -2.793004)'))) / (select extract(epoch from '2026-07-23 06:10:31'::timestamp) - extract(epoch from '2026-07-23 06:10: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'), 47640, 'SRID=4674;POINT (-40.306697 -2.793032)', '2026-07-23 06:10:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306811 -2.793004)'), GeomFromEWKT('SRID=4674;POINT (-40.306697 -2.793032)'))) / (select extract(epoch from '2026-07-23 06:10:50'::timestamp) - extract(epoch from '2026-07-23 06:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306811 -2.793004)'), GeomFromEWKT('SRID=4674;POINT (-40.306697 -2.793032)'))) / (select extract(epoch from '2026-07-23 06:10:50'::timestamp) - extract(epoch from '2026-07-23 06:10: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'), 47640, 'SRID=4674;POINT (-40.306631 -2.793015)', '2026-07-23 06:11:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306697 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.306631 -2.793015)'))) / (select extract(epoch from '2026-07-23 06:11:05'::timestamp) - extract(epoch from '2026-07-23 06:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306697 -2.793032)'), GeomFromEWKT('SRID=4674;POINT (-40.306631 -2.793015)'))) / (select extract(epoch from '2026-07-23 06:11:05'::timestamp) - extract(epoch from '2026-07-23 06:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306615 -2.793006)', '2026-07-23 06:11:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306631 -2.793015)'), GeomFromEWKT('SRID=4674;POINT (-40.306615 -2.793006)'))) / (select extract(epoch from '2026-07-23 06:11:22'::timestamp) - extract(epoch from '2026-07-23 06:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306631 -2.793015)'), GeomFromEWKT('SRID=4674;POINT (-40.306615 -2.793006)'))) / (select extract(epoch from '2026-07-23 06:11:22'::timestamp) - extract(epoch from '2026-07-23 06:11:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306559 -2.793023)', '2026-07-23 06:11:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306615 -2.793006)'), GeomFromEWKT('SRID=4674;POINT (-40.306559 -2.793023)'))) / (select extract(epoch from '2026-07-23 06:11:37'::timestamp) - extract(epoch from '2026-07-23 06:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306615 -2.793006)'), GeomFromEWKT('SRID=4674;POINT (-40.306559 -2.793023)'))) / (select extract(epoch from '2026-07-23 06:11:37'::timestamp) - extract(epoch from '2026-07-23 06:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306493 -2.793047)', '2026-07-23 06:11:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306559 -2.793023)'), GeomFromEWKT('SRID=4674;POINT (-40.306493 -2.793047)'))) / (select extract(epoch from '2026-07-23 06:11:55'::timestamp) - extract(epoch from '2026-07-23 06:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306559 -2.793023)'), GeomFromEWKT('SRID=4674;POINT (-40.306493 -2.793047)'))) / (select extract(epoch from '2026-07-23 06:11:55'::timestamp) - extract(epoch from '2026-07-23 06:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.30649 -2.79303)', '2026-07-23 06:12:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306493 -2.793047)'), GeomFromEWKT('SRID=4674;POINT (-40.30649 -2.79303)'))) / (select extract(epoch from '2026-07-23 06:12:16'::timestamp) - extract(epoch from '2026-07-23 06:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306493 -2.793047)'), GeomFromEWKT('SRID=4674;POINT (-40.30649 -2.79303)'))) / (select extract(epoch from '2026-07-23 06:12:16'::timestamp) - extract(epoch from '2026-07-23 06:11: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'), 47640, 'SRID=4674;POINT (-40.306428 -2.793063)', '2026-07-23 06:12:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30649 -2.79303)'), GeomFromEWKT('SRID=4674;POINT (-40.306428 -2.793063)'))) / (select extract(epoch from '2026-07-23 06:12:32'::timestamp) - extract(epoch from '2026-07-23 06:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30649 -2.79303)'), GeomFromEWKT('SRID=4674;POINT (-40.306428 -2.793063)'))) / (select extract(epoch from '2026-07-23 06:12:32'::timestamp) - extract(epoch from '2026-07-23 06:12: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'), 47640, 'SRID=4674;POINT (-40.306406 -2.79307)', '2026-07-23 06:12:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306428 -2.793063)'), GeomFromEWKT('SRID=4674;POINT (-40.306406 -2.79307)'))) / (select extract(epoch from '2026-07-23 06:12:46'::timestamp) - extract(epoch from '2026-07-23 06:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306428 -2.793063)'), GeomFromEWKT('SRID=4674;POINT (-40.306406 -2.79307)'))) / (select extract(epoch from '2026-07-23 06:12:46'::timestamp) - extract(epoch from '2026-07-23 06:12: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'), 47640, 'SRID=4674;POINT (-40.306368 -2.793074)', '2026-07-23 06:13:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306406 -2.79307)'), GeomFromEWKT('SRID=4674;POINT (-40.306368 -2.793074)'))) / (select extract(epoch from '2026-07-23 06:13:02'::timestamp) - extract(epoch from '2026-07-23 06:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306406 -2.79307)'), GeomFromEWKT('SRID=4674;POINT (-40.306368 -2.793074)'))) / (select extract(epoch from '2026-07-23 06:13:02'::timestamp) - extract(epoch from '2026-07-23 06:12: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'), 47640, 'SRID=4674;POINT (-40.3063 -2.793115)', '2026-07-23 06:13:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306368 -2.793074)'), GeomFromEWKT('SRID=4674;POINT (-40.3063 -2.793115)'))) / (select extract(epoch from '2026-07-23 06:13:17'::timestamp) - extract(epoch from '2026-07-23 06:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306368 -2.793074)'), GeomFromEWKT('SRID=4674;POINT (-40.3063 -2.793115)'))) / (select extract(epoch from '2026-07-23 06:13:17'::timestamp) - extract(epoch from '2026-07-23 06:13: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'), 47640, 'SRID=4674;POINT (-40.306279 -2.79313)', '2026-07-23 06:13:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3063 -2.793115)'), GeomFromEWKT('SRID=4674;POINT (-40.306279 -2.79313)'))) / (select extract(epoch from '2026-07-23 06:13:31'::timestamp) - extract(epoch from '2026-07-23 06:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3063 -2.793115)'), GeomFromEWKT('SRID=4674;POINT (-40.306279 -2.79313)'))) / (select extract(epoch from '2026-07-23 06:13:31'::timestamp) - extract(epoch from '2026-07-23 06: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'), 47640, 'SRID=4674;POINT (-40.306308 -2.793136)', '2026-07-23 06:13:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306279 -2.79313)'), GeomFromEWKT('SRID=4674;POINT (-40.306308 -2.793136)'))) / (select extract(epoch from '2026-07-23 06:13:55'::timestamp) - extract(epoch from '2026-07-23 06:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306279 -2.79313)'), GeomFromEWKT('SRID=4674;POINT (-40.306308 -2.793136)'))) / (select extract(epoch from '2026-07-23 06:13:55'::timestamp) - extract(epoch from '2026-07-23 06:13:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306295 -2.793141)', '2026-07-23 06:14:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306308 -2.793136)'), GeomFromEWKT('SRID=4674;POINT (-40.306295 -2.793141)'))) / (select extract(epoch from '2026-07-23 06:14:12'::timestamp) - extract(epoch from '2026-07-23 06:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306308 -2.793136)'), GeomFromEWKT('SRID=4674;POINT (-40.306295 -2.793141)'))) / (select extract(epoch from '2026-07-23 06:14:12'::timestamp) - extract(epoch from '2026-07-23 06:13: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'), 47640, 'SRID=4674;POINT (-40.306291 -2.793188)', '2026-07-23 06:14:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306295 -2.793141)'), GeomFromEWKT('SRID=4674;POINT (-40.306291 -2.793188)'))) / (select extract(epoch from '2026-07-23 06:14:33'::timestamp) - extract(epoch from '2026-07-23 06:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306295 -2.793141)'), GeomFromEWKT('SRID=4674;POINT (-40.306291 -2.793188)'))) / (select extract(epoch from '2026-07-23 06:14:33'::timestamp) - extract(epoch from '2026-07-23 06:14: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'), 47640, 'SRID=4674;POINT (-40.30626 -2.793166)', '2026-07-23 06:14:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306291 -2.793188)'), GeomFromEWKT('SRID=4674;POINT (-40.30626 -2.793166)'))) / (select extract(epoch from '2026-07-23 06:14:45'::timestamp) - extract(epoch from '2026-07-23 06:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306291 -2.793188)'), GeomFromEWKT('SRID=4674;POINT (-40.30626 -2.793166)'))) / (select extract(epoch from '2026-07-23 06:14:45'::timestamp) - extract(epoch from '2026-07-23 06:14: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'), 47640, 'SRID=4674;POINT (-40.306246 -2.793127)', '2026-07-23 06:15:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30626 -2.793166)'), GeomFromEWKT('SRID=4674;POINT (-40.306246 -2.793127)'))) / (select extract(epoch from '2026-07-23 06:15:01'::timestamp) - extract(epoch from '2026-07-23 06:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30626 -2.793166)'), GeomFromEWKT('SRID=4674;POINT (-40.306246 -2.793127)'))) / (select extract(epoch from '2026-07-23 06:15:01'::timestamp) - extract(epoch from '2026-07-23 06:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.306194 -2.793124)', '2026-07-23 06:15:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306246 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.306194 -2.793124)'))) / (select extract(epoch from '2026-07-23 06:15:13'::timestamp) - extract(epoch from '2026-07-23 06:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306246 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.306194 -2.793124)'))) / (select extract(epoch from '2026-07-23 06:15:13'::timestamp) - extract(epoch from '2026-07-23 06:15: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'), 47640, 'SRID=4674;POINT (-40.30612 -2.793135)', '2026-07-23 06:15:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306194 -2.793124)'), GeomFromEWKT('SRID=4674;POINT (-40.30612 -2.793135)'))) / (select extract(epoch from '2026-07-23 06:15:27'::timestamp) - extract(epoch from '2026-07-23 06:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306194 -2.793124)'), GeomFromEWKT('SRID=4674;POINT (-40.30612 -2.793135)'))) / (select extract(epoch from '2026-07-23 06:15:27'::timestamp) - extract(epoch from '2026-07-23 06:15: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'), 47640, 'SRID=4674;POINT (-40.306109 -2.793127)', '2026-07-23 06:15:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30612 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.306109 -2.793127)'))) / (select extract(epoch from '2026-07-23 06:15:43'::timestamp) - extract(epoch from '2026-07-23 06:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30612 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.306109 -2.793127)'))) / (select extract(epoch from '2026-07-23 06:15:43'::timestamp) - extract(epoch from '2026-07-23 06:15: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'), 47640, 'SRID=4674;POINT (-40.306085 -2.793136)', '2026-07-23 06:15:57', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306109 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.306085 -2.793136)'))) / (select extract(epoch from '2026-07-23 06:15:57'::timestamp) - extract(epoch from '2026-07-23 06:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306109 -2.793127)'), GeomFromEWKT('SRID=4674;POINT (-40.306085 -2.793136)'))) / (select extract(epoch from '2026-07-23 06:15:57'::timestamp) - extract(epoch from '2026-07-23 06:15: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'), 47640, 'SRID=4674;POINT (-40.305993 -2.793135)', '2026-07-23 06:16:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306085 -2.793136)'), GeomFromEWKT('SRID=4674;POINT (-40.305993 -2.793135)'))) / (select extract(epoch from '2026-07-23 06:16:15'::timestamp) - extract(epoch from '2026-07-23 06:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.306085 -2.793136)'), GeomFromEWKT('SRID=4674;POINT (-40.305993 -2.793135)'))) / (select extract(epoch from '2026-07-23 06:16:15'::timestamp) - extract(epoch from '2026-07-23 06:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305936 -2.793139)', '2026-07-23 06:16:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305993 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.305936 -2.793139)'))) / (select extract(epoch from '2026-07-23 06:16:31'::timestamp) - extract(epoch from '2026-07-23 06:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305993 -2.793135)'), GeomFromEWKT('SRID=4674;POINT (-40.305936 -2.793139)'))) / (select extract(epoch from '2026-07-23 06:16:31'::timestamp) - extract(epoch from '2026-07-23 06:16: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'), 47640, 'SRID=4674;POINT (-40.305853 -2.793163)', '2026-07-23 06:16:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305936 -2.793139)'), GeomFromEWKT('SRID=4674;POINT (-40.305853 -2.793163)'))) / (select extract(epoch from '2026-07-23 06:16:48'::timestamp) - extract(epoch from '2026-07-23 06:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305936 -2.793139)'), GeomFromEWKT('SRID=4674;POINT (-40.305853 -2.793163)'))) / (select extract(epoch from '2026-07-23 06:16:48'::timestamp) - extract(epoch from '2026-07-23 06:16: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'), 47640, 'SRID=4674;POINT (-40.305858 -2.793144)', '2026-07-23 06:17:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305853 -2.793163)'), GeomFromEWKT('SRID=4674;POINT (-40.305858 -2.793144)'))) / (select extract(epoch from '2026-07-23 06:17:00'::timestamp) - extract(epoch from '2026-07-23 06:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305853 -2.793163)'), GeomFromEWKT('SRID=4674;POINT (-40.305858 -2.793144)'))) / (select extract(epoch from '2026-07-23 06:17:00'::timestamp) - extract(epoch from '2026-07-23 06:16: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'), 47640, 'SRID=4674;POINT (-40.30586 -2.793126)', '2026-07-23 06:17:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305858 -2.793144)'), GeomFromEWKT('SRID=4674;POINT (-40.30586 -2.793126)'))) / (select extract(epoch from '2026-07-23 06:17:13'::timestamp) - extract(epoch from '2026-07-23 06:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305858 -2.793144)'), GeomFromEWKT('SRID=4674;POINT (-40.30586 -2.793126)'))) / (select extract(epoch from '2026-07-23 06:17:13'::timestamp) - extract(epoch from '2026-07-23 06:17: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'), 47640, 'SRID=4674;POINT (-40.305821 -2.793138)', '2026-07-23 06:17:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30586 -2.793126)'), GeomFromEWKT('SRID=4674;POINT (-40.305821 -2.793138)'))) / (select extract(epoch from '2026-07-23 06:17:27'::timestamp) - extract(epoch from '2026-07-23 06:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30586 -2.793126)'), GeomFromEWKT('SRID=4674;POINT (-40.305821 -2.793138)'))) / (select extract(epoch from '2026-07-23 06:17:27'::timestamp) - extract(epoch from '2026-07-23 06:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305773 -2.793153)', '2026-07-23 06:17:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305821 -2.793138)'), GeomFromEWKT('SRID=4674;POINT (-40.305773 -2.793153)'))) / (select extract(epoch from '2026-07-23 06:17:42'::timestamp) - extract(epoch from '2026-07-23 06:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305821 -2.793138)'), GeomFromEWKT('SRID=4674;POINT (-40.305773 -2.793153)'))) / (select extract(epoch from '2026-07-23 06:17:42'::timestamp) - extract(epoch from '2026-07-23 06:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305758 -2.793142)', '2026-07-23 06:17:59', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305773 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.305758 -2.793142)'))) / (select extract(epoch from '2026-07-23 06:17:59'::timestamp) - extract(epoch from '2026-07-23 06:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305773 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.305758 -2.793142)'))) / (select extract(epoch from '2026-07-23 06:17:59'::timestamp) - extract(epoch from '2026-07-23 06:17: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'), 47640, 'SRID=4674;POINT (-40.305756 -2.793125)', '2026-07-23 06:18:21', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305758 -2.793142)'), GeomFromEWKT('SRID=4674;POINT (-40.305756 -2.793125)'))) / (select extract(epoch from '2026-07-23 06:18:21'::timestamp) - extract(epoch from '2026-07-23 06:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305758 -2.793142)'), GeomFromEWKT('SRID=4674;POINT (-40.305756 -2.793125)'))) / (select extract(epoch from '2026-07-23 06:18:21'::timestamp) - extract(epoch from '2026-07-23 06:17: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'), 47640, 'SRID=4674;POINT (-40.305724 -2.793123)', '2026-07-23 06:18:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305756 -2.793125)'), GeomFromEWKT('SRID=4674;POINT (-40.305724 -2.793123)'))) / (select extract(epoch from '2026-07-23 06:18:41'::timestamp) - extract(epoch from '2026-07-23 06:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305756 -2.793125)'), GeomFromEWKT('SRID=4674;POINT (-40.305724 -2.793123)'))) / (select extract(epoch from '2026-07-23 06:18:41'::timestamp) - extract(epoch from '2026-07-23 06:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305628 -2.793168)', '2026-07-23 06:19:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305724 -2.793123)'), GeomFromEWKT('SRID=4674;POINT (-40.305628 -2.793168)'))) / (select extract(epoch from '2026-07-23 06:19:00'::timestamp) - extract(epoch from '2026-07-23 06:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305724 -2.793123)'), GeomFromEWKT('SRID=4674;POINT (-40.305628 -2.793168)'))) / (select extract(epoch from '2026-07-23 06:19:00'::timestamp) - extract(epoch from '2026-07-23 06:18: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'), 47640, 'SRID=4674;POINT (-40.305552 -2.793168)', '2026-07-23 06:19:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305628 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.305552 -2.793168)'))) / (select extract(epoch from '2026-07-23 06:19:18'::timestamp) - extract(epoch from '2026-07-23 06:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305628 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.305552 -2.793168)'))) / (select extract(epoch from '2026-07-23 06:19:18'::timestamp) - extract(epoch from '2026-07-23 06:19: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'), 47640, 'SRID=4674;POINT (-40.305546 -2.793153)', '2026-07-23 06:19:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305552 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.305546 -2.793153)'))) / (select extract(epoch from '2026-07-23 06:19:33'::timestamp) - extract(epoch from '2026-07-23 06:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305552 -2.793168)'), GeomFromEWKT('SRID=4674;POINT (-40.305546 -2.793153)'))) / (select extract(epoch from '2026-07-23 06:19:33'::timestamp) - extract(epoch from '2026-07-23 06:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305499 -2.793171)', '2026-07-23 06:19:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305546 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.305499 -2.793171)'))) / (select extract(epoch from '2026-07-23 06:19:50'::timestamp) - extract(epoch from '2026-07-23 06:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305546 -2.793153)'), GeomFromEWKT('SRID=4674;POINT (-40.305499 -2.793171)'))) / (select extract(epoch from '2026-07-23 06:19:50'::timestamp) - extract(epoch from '2026-07-23 06:19: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'), 47640, 'SRID=4674;POINT (-40.305476 -2.793178)', '2026-07-23 06:20:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305499 -2.793171)'), GeomFromEWKT('SRID=4674;POINT (-40.305476 -2.793178)'))) / (select extract(epoch from '2026-07-23 06:20:05'::timestamp) - extract(epoch from '2026-07-23 06:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305499 -2.793171)'), GeomFromEWKT('SRID=4674;POINT (-40.305476 -2.793178)'))) / (select extract(epoch from '2026-07-23 06:20:05'::timestamp) - extract(epoch from '2026-07-23 06:19: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'), 47640, 'SRID=4674;POINT (-40.305434 -2.793185)', '2026-07-23 06:20:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305476 -2.793178)'), GeomFromEWKT('SRID=4674;POINT (-40.305434 -2.793185)'))) / (select extract(epoch from '2026-07-23 06:20:20'::timestamp) - extract(epoch from '2026-07-23 06:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305476 -2.793178)'), GeomFromEWKT('SRID=4674;POINT (-40.305434 -2.793185)'))) / (select extract(epoch from '2026-07-23 06:20:20'::timestamp) - extract(epoch from '2026-07-23 06:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305358 -2.793235)', '2026-07-23 06:20:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305434 -2.793185)'), GeomFromEWKT('SRID=4674;POINT (-40.305358 -2.793235)'))) / (select extract(epoch from '2026-07-23 06:20:36'::timestamp) - extract(epoch from '2026-07-23 06:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305434 -2.793185)'), GeomFromEWKT('SRID=4674;POINT (-40.305358 -2.793235)'))) / (select extract(epoch from '2026-07-23 06:20:36'::timestamp) - extract(epoch from '2026-07-23 06:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305288 -2.793261)', '2026-07-23 06:20:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305358 -2.793235)'), GeomFromEWKT('SRID=4674;POINT (-40.305288 -2.793261)'))) / (select extract(epoch from '2026-07-23 06:20:54'::timestamp) - extract(epoch from '2026-07-23 06:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305358 -2.793235)'), GeomFromEWKT('SRID=4674;POINT (-40.305288 -2.793261)'))) / (select extract(epoch from '2026-07-23 06:20:54'::timestamp) - extract(epoch from '2026-07-23 06:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305272 -2.793278)', '2026-07-23 06:21:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305288 -2.793261)'), GeomFromEWKT('SRID=4674;POINT (-40.305272 -2.793278)'))) / (select extract(epoch from '2026-07-23 06:21:12'::timestamp) - extract(epoch from '2026-07-23 06:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305288 -2.793261)'), GeomFromEWKT('SRID=4674;POINT (-40.305272 -2.793278)'))) / (select extract(epoch from '2026-07-23 06:21:12'::timestamp) - extract(epoch from '2026-07-23 06:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305273 -2.793295)', '2026-07-23 06:21:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305272 -2.793278)'), GeomFromEWKT('SRID=4674;POINT (-40.305273 -2.793295)'))) / (select extract(epoch from '2026-07-23 06:21:28'::timestamp) - extract(epoch from '2026-07-23 06:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305272 -2.793278)'), GeomFromEWKT('SRID=4674;POINT (-40.305273 -2.793295)'))) / (select extract(epoch from '2026-07-23 06:21:28'::timestamp) - extract(epoch from '2026-07-23 06:21: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'), 47640, 'SRID=4674;POINT (-40.305211 -2.793268)', '2026-07-23 06:21:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305273 -2.793295)'), GeomFromEWKT('SRID=4674;POINT (-40.305211 -2.793268)'))) / (select extract(epoch from '2026-07-23 06:21:42'::timestamp) - extract(epoch from '2026-07-23 06:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305273 -2.793295)'), GeomFromEWKT('SRID=4674;POINT (-40.305211 -2.793268)'))) / (select extract(epoch from '2026-07-23 06:21:42'::timestamp) - extract(epoch from '2026-07-23 06:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305131 -2.793271)', '2026-07-23 06:22:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305211 -2.793268)'), GeomFromEWKT('SRID=4674;POINT (-40.305131 -2.793271)'))) / (select extract(epoch from '2026-07-23 06:22:00'::timestamp) - extract(epoch from '2026-07-23 06:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305211 -2.793268)'), GeomFromEWKT('SRID=4674;POINT (-40.305131 -2.793271)'))) / (select extract(epoch from '2026-07-23 06:22:00'::timestamp) - extract(epoch from '2026-07-23 06:21:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.305053 -2.79326)', '2026-07-23 06:22:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305131 -2.793271)'), GeomFromEWKT('SRID=4674;POINT (-40.305053 -2.79326)'))) / (select extract(epoch from '2026-07-23 06:22:18'::timestamp) - extract(epoch from '2026-07-23 06:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305131 -2.793271)'), GeomFromEWKT('SRID=4674;POINT (-40.305053 -2.79326)'))) / (select extract(epoch from '2026-07-23 06:22:18'::timestamp) - extract(epoch from '2026-07-23 06:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304981 -2.793269)', '2026-07-23 06:22:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305053 -2.79326)'), GeomFromEWKT('SRID=4674;POINT (-40.304981 -2.793269)'))) / (select extract(epoch from '2026-07-23 06:22:33'::timestamp) - extract(epoch from '2026-07-23 06:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.305053 -2.79326)'), GeomFromEWKT('SRID=4674;POINT (-40.304981 -2.793269)'))) / (select extract(epoch from '2026-07-23 06:22:33'::timestamp) - extract(epoch from '2026-07-23 06:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304892 -2.793281)', '2026-07-23 06:22:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304981 -2.793269)'), GeomFromEWKT('SRID=4674;POINT (-40.304892 -2.793281)'))) / (select extract(epoch from '2026-07-23 06:22:50'::timestamp) - extract(epoch from '2026-07-23 06:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304981 -2.793269)'), GeomFromEWKT('SRID=4674;POINT (-40.304892 -2.793281)'))) / (select extract(epoch from '2026-07-23 06:22:50'::timestamp) - extract(epoch from '2026-07-23 06:22: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'), 47640, 'SRID=4674;POINT (-40.304815 -2.793276)', '2026-07-23 06:23:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304892 -2.793281)'), GeomFromEWKT('SRID=4674;POINT (-40.304815 -2.793276)'))) / (select extract(epoch from '2026-07-23 06:23:07'::timestamp) - extract(epoch from '2026-07-23 06:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304892 -2.793281)'), GeomFromEWKT('SRID=4674;POINT (-40.304815 -2.793276)'))) / (select extract(epoch from '2026-07-23 06:23:07'::timestamp) - extract(epoch from '2026-07-23 06:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304784 -2.793285)', '2026-07-23 06:23:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304815 -2.793276)'), GeomFromEWKT('SRID=4674;POINT (-40.304784 -2.793285)'))) / (select extract(epoch from '2026-07-23 06:23:25'::timestamp) - extract(epoch from '2026-07-23 06:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304815 -2.793276)'), GeomFromEWKT('SRID=4674;POINT (-40.304784 -2.793285)'))) / (select extract(epoch from '2026-07-23 06:23:25'::timestamp) - extract(epoch from '2026-07-23 06:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304763 -2.793281)', '2026-07-23 06:23:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304784 -2.793285)'), GeomFromEWKT('SRID=4674;POINT (-40.304763 -2.793281)'))) / (select extract(epoch from '2026-07-23 06:23:45'::timestamp) - extract(epoch from '2026-07-23 06:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304784 -2.793285)'), GeomFromEWKT('SRID=4674;POINT (-40.304763 -2.793281)'))) / (select extract(epoch from '2026-07-23 06:23:45'::timestamp) - extract(epoch from '2026-07-23 06:23: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'), 47640, 'SRID=4674;POINT (-40.304713 -2.793263)', '2026-07-23 06:24:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304763 -2.793281)'), GeomFromEWKT('SRID=4674;POINT (-40.304713 -2.793263)'))) / (select extract(epoch from '2026-07-23 06:24:04'::timestamp) - extract(epoch from '2026-07-23 06:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304763 -2.793281)'), GeomFromEWKT('SRID=4674;POINT (-40.304713 -2.793263)'))) / (select extract(epoch from '2026-07-23 06:24:04'::timestamp) - extract(epoch from '2026-07-23 06:23: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'), 47640, 'SRID=4674;POINT (-40.304685 -2.793274)', '2026-07-23 06:24:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304713 -2.793263)'), GeomFromEWKT('SRID=4674;POINT (-40.304685 -2.793274)'))) / (select extract(epoch from '2026-07-23 06:24:22'::timestamp) - extract(epoch from '2026-07-23 06:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304713 -2.793263)'), GeomFromEWKT('SRID=4674;POINT (-40.304685 -2.793274)'))) / (select extract(epoch from '2026-07-23 06:24:22'::timestamp) - extract(epoch from '2026-07-23 06:24: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'), 47640, 'SRID=4674;POINT (-40.304595 -2.793275)', '2026-07-23 06:24:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304685 -2.793274)'), GeomFromEWKT('SRID=4674;POINT (-40.304595 -2.793275)'))) / (select extract(epoch from '2026-07-23 06:24:40'::timestamp) - extract(epoch from '2026-07-23 06:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304685 -2.793274)'), GeomFromEWKT('SRID=4674;POINT (-40.304595 -2.793275)'))) / (select extract(epoch from '2026-07-23 06:24:40'::timestamp) - extract(epoch from '2026-07-23 06:24: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'), 47640, 'SRID=4674;POINT (-40.304527 -2.793301)', '2026-07-23 06:24:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304595 -2.793275)'), GeomFromEWKT('SRID=4674;POINT (-40.304527 -2.793301)'))) / (select extract(epoch from '2026-07-23 06:24:57'::timestamp) - extract(epoch from '2026-07-23 06:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304595 -2.793275)'), GeomFromEWKT('SRID=4674;POINT (-40.304527 -2.793301)'))) / (select extract(epoch from '2026-07-23 06:24:57'::timestamp) - extract(epoch from '2026-07-23 06:24: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'), 47640, 'SRID=4674;POINT (-40.304482 -2.793296)', '2026-07-23 06:25:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304527 -2.793301)'), GeomFromEWKT('SRID=4674;POINT (-40.304482 -2.793296)'))) / (select extract(epoch from '2026-07-23 06:25:16'::timestamp) - extract(epoch from '2026-07-23 06:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304527 -2.793301)'), GeomFromEWKT('SRID=4674;POINT (-40.304482 -2.793296)'))) / (select extract(epoch from '2026-07-23 06:25:16'::timestamp) - extract(epoch from '2026-07-23 06:24: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'), 47640, 'SRID=4674;POINT (-40.304445 -2.793313)', '2026-07-23 06:25:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304482 -2.793296)'), GeomFromEWKT('SRID=4674;POINT (-40.304445 -2.793313)'))) / (select extract(epoch from '2026-07-23 06:25:30'::timestamp) - extract(epoch from '2026-07-23 06:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304482 -2.793296)'), GeomFromEWKT('SRID=4674;POINT (-40.304445 -2.793313)'))) / (select extract(epoch from '2026-07-23 06:25:30'::timestamp) - extract(epoch from '2026-07-23 06:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304378 -2.793314)', '2026-07-23 06:25:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304445 -2.793313)'), GeomFromEWKT('SRID=4674;POINT (-40.304378 -2.793314)'))) / (select extract(epoch from '2026-07-23 06:25:46'::timestamp) - extract(epoch from '2026-07-23 06:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304445 -2.793313)'), GeomFromEWKT('SRID=4674;POINT (-40.304378 -2.793314)'))) / (select extract(epoch from '2026-07-23 06:25:46'::timestamp) - extract(epoch from '2026-07-23 06:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304333 -2.793325)', '2026-07-23 06:26:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304378 -2.793314)'), GeomFromEWKT('SRID=4674;POINT (-40.304333 -2.793325)'))) / (select extract(epoch from '2026-07-23 06:26:04'::timestamp) - extract(epoch from '2026-07-23 06:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304378 -2.793314)'), GeomFromEWKT('SRID=4674;POINT (-40.304333 -2.793325)'))) / (select extract(epoch from '2026-07-23 06:26:04'::timestamp) - extract(epoch from '2026-07-23 06:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304294 -2.793337)', '2026-07-23 06:26:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304333 -2.793325)'), GeomFromEWKT('SRID=4674;POINT (-40.304294 -2.793337)'))) / (select extract(epoch from '2026-07-23 06:26:18'::timestamp) - extract(epoch from '2026-07-23 06:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304333 -2.793325)'), GeomFromEWKT('SRID=4674;POINT (-40.304294 -2.793337)'))) / (select extract(epoch from '2026-07-23 06:26:18'::timestamp) - extract(epoch from '2026-07-23 06:26: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'), 47640, 'SRID=4674;POINT (-40.304264 -2.793353)', '2026-07-23 06:26:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304294 -2.793337)'), GeomFromEWKT('SRID=4674;POINT (-40.304264 -2.793353)'))) / (select extract(epoch from '2026-07-23 06:26:34'::timestamp) - extract(epoch from '2026-07-23 06:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304294 -2.793337)'), GeomFromEWKT('SRID=4674;POINT (-40.304264 -2.793353)'))) / (select extract(epoch from '2026-07-23 06:26:34'::timestamp) - extract(epoch from '2026-07-23 06:26: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'), 47640, 'SRID=4674;POINT (-40.304262 -2.793363)', '2026-07-23 06:26:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304264 -2.793353)'), GeomFromEWKT('SRID=4674;POINT (-40.304262 -2.793363)'))) / (select extract(epoch from '2026-07-23 06:26:56'::timestamp) - extract(epoch from '2026-07-23 06:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304264 -2.793353)'), GeomFromEWKT('SRID=4674;POINT (-40.304262 -2.793363)'))) / (select extract(epoch from '2026-07-23 06:26:56'::timestamp) - extract(epoch from '2026-07-23 06:26: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'), 47640, 'SRID=4674;POINT (-40.304235 -2.793379)', '2026-07-23 06:27:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304262 -2.793363)'), GeomFromEWKT('SRID=4674;POINT (-40.304235 -2.793379)'))) / (select extract(epoch from '2026-07-23 06:27:14'::timestamp) - extract(epoch from '2026-07-23 06:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304262 -2.793363)'), GeomFromEWKT('SRID=4674;POINT (-40.304235 -2.793379)'))) / (select extract(epoch from '2026-07-23 06:27:14'::timestamp) - extract(epoch from '2026-07-23 06:26: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'), 47640, 'SRID=4674;POINT (-40.304234 -2.793415)', '2026-07-23 06:27:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304235 -2.793379)'), GeomFromEWKT('SRID=4674;POINT (-40.304234 -2.793415)'))) / (select extract(epoch from '2026-07-23 06:27:32'::timestamp) - extract(epoch from '2026-07-23 06:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304235 -2.793379)'), GeomFromEWKT('SRID=4674;POINT (-40.304234 -2.793415)'))) / (select extract(epoch from '2026-07-23 06:27:32'::timestamp) - extract(epoch from '2026-07-23 06:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.30423 -2.79342)', '2026-07-23 06:27:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304234 -2.793415)'), GeomFromEWKT('SRID=4674;POINT (-40.30423 -2.79342)'))) / (select extract(epoch from '2026-07-23 06:27:44'::timestamp) - extract(epoch from '2026-07-23 06:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304234 -2.793415)'), GeomFromEWKT('SRID=4674;POINT (-40.30423 -2.79342)'))) / (select extract(epoch from '2026-07-23 06:27:44'::timestamp) - extract(epoch from '2026-07-23 06:27: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'), 47640, 'SRID=4674;POINT (-40.304201 -2.793394)', '2026-07-23 06:27:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30423 -2.79342)'), GeomFromEWKT('SRID=4674;POINT (-40.304201 -2.793394)'))) / (select extract(epoch from '2026-07-23 06:27:55'::timestamp) - extract(epoch from '2026-07-23 06:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30423 -2.79342)'), GeomFromEWKT('SRID=4674;POINT (-40.304201 -2.793394)'))) / (select extract(epoch from '2026-07-23 06:27:55'::timestamp) - extract(epoch from '2026-07-23 06:27: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'), 47640, 'SRID=4674;POINT (-40.304166 -2.793359)', '2026-07-23 06:28:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304201 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.304166 -2.793359)'))) / (select extract(epoch from '2026-07-23 06:28:13'::timestamp) - extract(epoch from '2026-07-23 06:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304201 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.304166 -2.793359)'))) / (select extract(epoch from '2026-07-23 06:28:13'::timestamp) - extract(epoch from '2026-07-23 06:27:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304173 -2.793337)', '2026-07-23 06:28:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304166 -2.793359)'), GeomFromEWKT('SRID=4674;POINT (-40.304173 -2.793337)'))) / (select extract(epoch from '2026-07-23 06:28:34'::timestamp) - extract(epoch from '2026-07-23 06:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304166 -2.793359)'), GeomFromEWKT('SRID=4674;POINT (-40.304173 -2.793337)'))) / (select extract(epoch from '2026-07-23 06:28:34'::timestamp) - extract(epoch from '2026-07-23 06:28: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'), 47640, 'SRID=4674;POINT (-40.304134 -2.79333)', '2026-07-23 06:28:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304173 -2.793337)'), GeomFromEWKT('SRID=4674;POINT (-40.304134 -2.79333)'))) / (select extract(epoch from '2026-07-23 06:28:55'::timestamp) - extract(epoch from '2026-07-23 06:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304173 -2.793337)'), GeomFromEWKT('SRID=4674;POINT (-40.304134 -2.79333)'))) / (select extract(epoch from '2026-07-23 06:28:55'::timestamp) - extract(epoch from '2026-07-23 06:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304087 -2.793315)', '2026-07-23 06:29:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304134 -2.79333)'), GeomFromEWKT('SRID=4674;POINT (-40.304087 -2.793315)'))) / (select extract(epoch from '2026-07-23 06:29:11'::timestamp) - extract(epoch from '2026-07-23 06:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304134 -2.79333)'), GeomFromEWKT('SRID=4674;POINT (-40.304087 -2.793315)'))) / (select extract(epoch from '2026-07-23 06:29:11'::timestamp) - extract(epoch from '2026-07-23 06:28: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'), 47640, 'SRID=4674;POINT (-40.30408 -2.793294)', '2026-07-23 06:29:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304087 -2.793315)'), GeomFromEWKT('SRID=4674;POINT (-40.30408 -2.793294)'))) / (select extract(epoch from '2026-07-23 06:29:27'::timestamp) - extract(epoch from '2026-07-23 06:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304087 -2.793315)'), GeomFromEWKT('SRID=4674;POINT (-40.30408 -2.793294)'))) / (select extract(epoch from '2026-07-23 06:29:27'::timestamp) - extract(epoch from '2026-07-23 06:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.304018 -2.793297)', '2026-07-23 06:29:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30408 -2.793294)'), GeomFromEWKT('SRID=4674;POINT (-40.304018 -2.793297)'))) / (select extract(epoch from '2026-07-23 06:29:40'::timestamp) - extract(epoch from '2026-07-23 06:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30408 -2.793294)'), GeomFromEWKT('SRID=4674;POINT (-40.304018 -2.793297)'))) / (select extract(epoch from '2026-07-23 06:29:40'::timestamp) - extract(epoch from '2026-07-23 06:29: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'), 47640, 'SRID=4674;POINT (-40.303942 -2.793303)', '2026-07-23 06:29:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304018 -2.793297)'), GeomFromEWKT('SRID=4674;POINT (-40.303942 -2.793303)'))) / (select extract(epoch from '2026-07-23 06:29:55'::timestamp) - extract(epoch from '2026-07-23 06:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.304018 -2.793297)'), GeomFromEWKT('SRID=4674;POINT (-40.303942 -2.793303)'))) / (select extract(epoch from '2026-07-23 06:29:55'::timestamp) - extract(epoch from '2026-07-23 06:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.303876 -2.793331)', '2026-07-23 06:30:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303942 -2.793303)'), GeomFromEWKT('SRID=4674;POINT (-40.303876 -2.793331)'))) / (select extract(epoch from '2026-07-23 06:30:15'::timestamp) - extract(epoch from '2026-07-23 06:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303942 -2.793303)'), GeomFromEWKT('SRID=4674;POINT (-40.303876 -2.793331)'))) / (select extract(epoch from '2026-07-23 06:30:15'::timestamp) - extract(epoch from '2026-07-23 06:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.303869 -2.793336)', '2026-07-23 06:30:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303876 -2.793331)'), GeomFromEWKT('SRID=4674;POINT (-40.303869 -2.793336)'))) / (select extract(epoch from '2026-07-23 06:30:34'::timestamp) - extract(epoch from '2026-07-23 06:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303876 -2.793331)'), GeomFromEWKT('SRID=4674;POINT (-40.303869 -2.793336)'))) / (select extract(epoch from '2026-07-23 06:30:34'::timestamp) - extract(epoch from '2026-07-23 06:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.303845 -2.793333)', '2026-07-23 06:30:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303869 -2.793336)'), GeomFromEWKT('SRID=4674;POINT (-40.303845 -2.793333)'))) / (select extract(epoch from '2026-07-23 06:30:48'::timestamp) - extract(epoch from '2026-07-23 06:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303869 -2.793336)'), GeomFromEWKT('SRID=4674;POINT (-40.303845 -2.793333)'))) / (select extract(epoch from '2026-07-23 06:30:48'::timestamp) - extract(epoch from '2026-07-23 06:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.303784 -2.793368)', '2026-07-23 06:31:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303845 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.303784 -2.793368)'))) / (select extract(epoch from '2026-07-23 06:31:05'::timestamp) - extract(epoch from '2026-07-23 06:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303845 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.303784 -2.793368)'))) / (select extract(epoch from '2026-07-23 06:31:05'::timestamp) - extract(epoch from '2026-07-23 06:30: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'), 47640, 'SRID=4674;POINT (-40.303739 -2.793387)', '2026-07-23 06:31:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303784 -2.793368)'), GeomFromEWKT('SRID=4674;POINT (-40.303739 -2.793387)'))) / (select extract(epoch from '2026-07-23 06:31:20'::timestamp) - extract(epoch from '2026-07-23 06:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303784 -2.793368)'), GeomFromEWKT('SRID=4674;POINT (-40.303739 -2.793387)'))) / (select extract(epoch from '2026-07-23 06:31:20'::timestamp) - extract(epoch from '2026-07-23 06:31: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'), 47640, 'SRID=4674;POINT (-40.303724 -2.793399)', '2026-07-23 06:31:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303739 -2.793387)'), GeomFromEWKT('SRID=4674;POINT (-40.303724 -2.793399)'))) / (select extract(epoch from '2026-07-23 06:31:44'::timestamp) - extract(epoch from '2026-07-23 06:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303739 -2.793387)'), GeomFromEWKT('SRID=4674;POINT (-40.303724 -2.793399)'))) / (select extract(epoch from '2026-07-23 06:31:44'::timestamp) - extract(epoch from '2026-07-23 06:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.303705 -2.793418)', '2026-07-23 06:31:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303724 -2.793399)'), GeomFromEWKT('SRID=4674;POINT (-40.303705 -2.793418)'))) / (select extract(epoch from '2026-07-23 06:31:59'::timestamp) - extract(epoch from '2026-07-23 06:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303724 -2.793399)'), GeomFromEWKT('SRID=4674;POINT (-40.303705 -2.793418)'))) / (select extract(epoch from '2026-07-23 06:31:59'::timestamp) - extract(epoch from '2026-07-23 06:31: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'), 47640, 'SRID=4674;POINT (-40.303696 -2.793393)', '2026-07-23 06:32:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303705 -2.793418)'), GeomFromEWKT('SRID=4674;POINT (-40.303696 -2.793393)'))) / (select extract(epoch from '2026-07-23 06:32:12'::timestamp) - extract(epoch from '2026-07-23 06:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303705 -2.793418)'), GeomFromEWKT('SRID=4674;POINT (-40.303696 -2.793393)'))) / (select extract(epoch from '2026-07-23 06:32:12'::timestamp) - extract(epoch from '2026-07-23 06:31: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'), 47640, 'SRID=4674;POINT (-40.303702 -2.793387)', '2026-07-23 06:32:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303696 -2.793393)'), GeomFromEWKT('SRID=4674;POINT (-40.303702 -2.793387)'))) / (select extract(epoch from '2026-07-23 06:32:33'::timestamp) - extract(epoch from '2026-07-23 06:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303696 -2.793393)'), GeomFromEWKT('SRID=4674;POINT (-40.303702 -2.793387)'))) / (select extract(epoch from '2026-07-23 06:32:33'::timestamp) - extract(epoch from '2026-07-23 06:32: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'), 47640, 'SRID=4674;POINT (-40.303697 -2.793393)', '2026-07-23 06:32:50', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303702 -2.793387)'), GeomFromEWKT('SRID=4674;POINT (-40.303697 -2.793393)'))) / (select extract(epoch from '2026-07-23 06:32:50'::timestamp) - extract(epoch from '2026-07-23 06:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303702 -2.793387)'), GeomFromEWKT('SRID=4674;POINT (-40.303697 -2.793393)'))) / (select extract(epoch from '2026-07-23 06:32:50'::timestamp) - extract(epoch from '2026-07-23 06:32: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'), 47640, 'SRID=4674;POINT (-40.30366 -2.793393)', '2026-07-23 06:32:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303697 -2.793393)'), GeomFromEWKT('SRID=4674;POINT (-40.30366 -2.793393)'))) / (select extract(epoch from '2026-07-23 06:32:58'::timestamp) - extract(epoch from '2026-07-23 06:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303697 -2.793393)'), GeomFromEWKT('SRID=4674;POINT (-40.30366 -2.793393)'))) / (select extract(epoch from '2026-07-23 06:32:58'::timestamp) - extract(epoch from '2026-07-23 06:32: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'), 47640, 'SRID=4674;POINT (-40.303546 -2.793378)', '2026-07-23 06:33:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30366 -2.793393)'), GeomFromEWKT('SRID=4674;POINT (-40.303546 -2.793378)'))) / (select extract(epoch from '2026-07-23 06:33:17'::timestamp) - extract(epoch from '2026-07-23 06:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30366 -2.793393)'), GeomFromEWKT('SRID=4674;POINT (-40.303546 -2.793378)'))) / (select extract(epoch from '2026-07-23 06:33:17'::timestamp) - extract(epoch from '2026-07-23 06:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.303402 -2.793389)', '2026-07-23 06:33:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303546 -2.793378)'), GeomFromEWKT('SRID=4674;POINT (-40.303402 -2.793389)'))) / (select extract(epoch from '2026-07-23 06:33:38'::timestamp) - extract(epoch from '2026-07-23 06:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303546 -2.793378)'), GeomFromEWKT('SRID=4674;POINT (-40.303402 -2.793389)'))) / (select extract(epoch from '2026-07-23 06:33:38'::timestamp) - extract(epoch from '2026-07-23 06:33: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'), 47640, 'SRID=4674;POINT (-40.303308 -2.793394)', '2026-07-23 06:33:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303402 -2.793389)'), GeomFromEWKT('SRID=4674;POINT (-40.303308 -2.793394)'))) / (select extract(epoch from '2026-07-23 06:33:57'::timestamp) - extract(epoch from '2026-07-23 06:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303402 -2.793389)'), GeomFromEWKT('SRID=4674;POINT (-40.303308 -2.793394)'))) / (select extract(epoch from '2026-07-23 06:33:57'::timestamp) - extract(epoch from '2026-07-23 06:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.30328 -2.793391)', '2026-07-23 06:34:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303308 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.30328 -2.793391)'))) / (select extract(epoch from '2026-07-23 06:34:13'::timestamp) - extract(epoch from '2026-07-23 06:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303308 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.30328 -2.793391)'))) / (select extract(epoch from '2026-07-23 06:34:13'::timestamp) - extract(epoch from '2026-07-23 06:33: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'), 47640, 'SRID=4674;POINT (-40.303215 -2.793383)', '2026-07-23 06:34:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30328 -2.793391)'), GeomFromEWKT('SRID=4674;POINT (-40.303215 -2.793383)'))) / (select extract(epoch from '2026-07-23 06:34:31'::timestamp) - extract(epoch from '2026-07-23 06:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30328 -2.793391)'), GeomFromEWKT('SRID=4674;POINT (-40.303215 -2.793383)'))) / (select extract(epoch from '2026-07-23 06:34:31'::timestamp) - extract(epoch from '2026-07-23 06:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.303111 -2.793391)', '2026-07-23 06:34:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303215 -2.793383)'), GeomFromEWKT('SRID=4674;POINT (-40.303111 -2.793391)'))) / (select extract(epoch from '2026-07-23 06:34:53'::timestamp) - extract(epoch from '2026-07-23 06:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303215 -2.793383)'), GeomFromEWKT('SRID=4674;POINT (-40.303111 -2.793391)'))) / (select extract(epoch from '2026-07-23 06:34:53'::timestamp) - extract(epoch from '2026-07-23 06:34: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'), 47640, 'SRID=4674;POINT (-40.303071 -2.793397)', '2026-07-23 06:35:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303111 -2.793391)'), GeomFromEWKT('SRID=4674;POINT (-40.303071 -2.793397)'))) / (select extract(epoch from '2026-07-23 06:35:06'::timestamp) - extract(epoch from '2026-07-23 06:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303111 -2.793391)'), GeomFromEWKT('SRID=4674;POINT (-40.303071 -2.793397)'))) / (select extract(epoch from '2026-07-23 06:35:06'::timestamp) - extract(epoch from '2026-07-23 06:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.302992 -2.793413)', '2026-07-23 06:35:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303071 -2.793397)'), GeomFromEWKT('SRID=4674;POINT (-40.302992 -2.793413)'))) / (select extract(epoch from '2026-07-23 06:35:20'::timestamp) - extract(epoch from '2026-07-23 06:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.303071 -2.793397)'), GeomFromEWKT('SRID=4674;POINT (-40.302992 -2.793413)'))) / (select extract(epoch from '2026-07-23 06:35:20'::timestamp) - extract(epoch from '2026-07-23 06:35: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'), 47640, 'SRID=4674;POINT (-40.302957 -2.793419)', '2026-07-23 06:35:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302992 -2.793413)'), GeomFromEWKT('SRID=4674;POINT (-40.302957 -2.793419)'))) / (select extract(epoch from '2026-07-23 06:35:35'::timestamp) - extract(epoch from '2026-07-23 06:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302992 -2.793413)'), GeomFromEWKT('SRID=4674;POINT (-40.302957 -2.793419)'))) / (select extract(epoch from '2026-07-23 06:35:35'::timestamp) - extract(epoch from '2026-07-23 06:35: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'), 47640, 'SRID=4674;POINT (-40.302915 -2.793428)', '2026-07-23 06:36:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302957 -2.793419)'), GeomFromEWKT('SRID=4674;POINT (-40.302915 -2.793428)'))) / (select extract(epoch from '2026-07-23 06:36:03'::timestamp) - extract(epoch from '2026-07-23 06:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302957 -2.793419)'), GeomFromEWKT('SRID=4674;POINT (-40.302915 -2.793428)'))) / (select extract(epoch from '2026-07-23 06:36:03'::timestamp) - extract(epoch from '2026-07-23 06:35: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'), 47640, 'SRID=4674;POINT (-40.302872 -2.793453)', '2026-07-23 06:36:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302915 -2.793428)'), GeomFromEWKT('SRID=4674;POINT (-40.302872 -2.793453)'))) / (select extract(epoch from '2026-07-23 06:36:21'::timestamp) - extract(epoch from '2026-07-23 06:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302915 -2.793428)'), GeomFromEWKT('SRID=4674;POINT (-40.302872 -2.793453)'))) / (select extract(epoch from '2026-07-23 06:36:21'::timestamp) - extract(epoch from '2026-07-23 06:36: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'), 47640, 'SRID=4674;POINT (-40.302812 -2.793472)', '2026-07-23 06:36:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302872 -2.793453)'), GeomFromEWKT('SRID=4674;POINT (-40.302812 -2.793472)'))) / (select extract(epoch from '2026-07-23 06:36:38'::timestamp) - extract(epoch from '2026-07-23 06:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302872 -2.793453)'), GeomFromEWKT('SRID=4674;POINT (-40.302812 -2.793472)'))) / (select extract(epoch from '2026-07-23 06:36:38'::timestamp) - extract(epoch from '2026-07-23 06:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.3028 -2.793474)', '2026-07-23 06:36:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302812 -2.793472)'), GeomFromEWKT('SRID=4674;POINT (-40.3028 -2.793474)'))) / (select extract(epoch from '2026-07-23 06:36:54'::timestamp) - extract(epoch from '2026-07-23 06:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302812 -2.793472)'), GeomFromEWKT('SRID=4674;POINT (-40.3028 -2.793474)'))) / (select extract(epoch from '2026-07-23 06:36:54'::timestamp) - extract(epoch from '2026-07-23 06:36: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'), 47640, 'SRID=4674;POINT (-40.302816 -2.793469)', '2026-07-23 06:37:19', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3028 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.302816 -2.793469)'))) / (select extract(epoch from '2026-07-23 06:37:19'::timestamp) - extract(epoch from '2026-07-23 06:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3028 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.302816 -2.793469)'))) / (select extract(epoch from '2026-07-23 06:37:19'::timestamp) - extract(epoch from '2026-07-23 06:36: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'), 47640, 'SRID=4674;POINT (-40.302792 -2.79344)', '2026-07-23 06:37:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302816 -2.793469)'), GeomFromEWKT('SRID=4674;POINT (-40.302792 -2.79344)'))) / (select extract(epoch from '2026-07-23 06:37:38'::timestamp) - extract(epoch from '2026-07-23 06:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302816 -2.793469)'), GeomFromEWKT('SRID=4674;POINT (-40.302792 -2.79344)'))) / (select extract(epoch from '2026-07-23 06:37:38'::timestamp) - extract(epoch from '2026-07-23 06:37: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'), 47640, 'SRID=4674;POINT (-40.302785 -2.793427)', '2026-07-23 06:37:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302792 -2.79344)'), GeomFromEWKT('SRID=4674;POINT (-40.302785 -2.793427)'))) / (select extract(epoch from '2026-07-23 06:37:50'::timestamp) - extract(epoch from '2026-07-23 06:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302792 -2.79344)'), GeomFromEWKT('SRID=4674;POINT (-40.302785 -2.793427)'))) / (select extract(epoch from '2026-07-23 06:37:50'::timestamp) - extract(epoch from '2026-07-23 06:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.302756 -2.793431)', '2026-07-23 06:38:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302785 -2.793427)'), GeomFromEWKT('SRID=4674;POINT (-40.302756 -2.793431)'))) / (select extract(epoch from '2026-07-23 06:38:03'::timestamp) - extract(epoch from '2026-07-23 06:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302785 -2.793427)'), GeomFromEWKT('SRID=4674;POINT (-40.302756 -2.793431)'))) / (select extract(epoch from '2026-07-23 06:38:03'::timestamp) - extract(epoch from '2026-07-23 06:37: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'), 47640, 'SRID=4674;POINT (-40.302734 -2.79345)', '2026-07-23 06:38:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302756 -2.793431)'), GeomFromEWKT('SRID=4674;POINT (-40.302734 -2.79345)'))) / (select extract(epoch from '2026-07-23 06:38:17'::timestamp) - extract(epoch from '2026-07-23 06:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302756 -2.793431)'), GeomFromEWKT('SRID=4674;POINT (-40.302734 -2.79345)'))) / (select extract(epoch from '2026-07-23 06:38:17'::timestamp) - extract(epoch from '2026-07-23 06:38: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'), 47640, 'SRID=4674;POINT (-40.30269 -2.793459)', '2026-07-23 06:38:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302734 -2.79345)'), GeomFromEWKT('SRID=4674;POINT (-40.30269 -2.793459)'))) / (select extract(epoch from '2026-07-23 06:38:39'::timestamp) - extract(epoch from '2026-07-23 06:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302734 -2.79345)'), GeomFromEWKT('SRID=4674;POINT (-40.30269 -2.793459)'))) / (select extract(epoch from '2026-07-23 06:38:39'::timestamp) - extract(epoch from '2026-07-23 06:38: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'), 47640, 'SRID=4674;POINT (-40.302653 -2.793421)', '2026-07-23 06:38:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30269 -2.793459)'), GeomFromEWKT('SRID=4674;POINT (-40.302653 -2.793421)'))) / (select extract(epoch from '2026-07-23 06:38:55'::timestamp) - extract(epoch from '2026-07-23 06:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30269 -2.793459)'), GeomFromEWKT('SRID=4674;POINT (-40.302653 -2.793421)'))) / (select extract(epoch from '2026-07-23 06:38:55'::timestamp) - extract(epoch from '2026-07-23 06:38: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'), 47640, 'SRID=4674;POINT (-40.302582 -2.793416)', '2026-07-23 06:39:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302653 -2.793421)'), GeomFromEWKT('SRID=4674;POINT (-40.302582 -2.793416)'))) / (select extract(epoch from '2026-07-23 06:39:12'::timestamp) - extract(epoch from '2026-07-23 06:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302653 -2.793421)'), GeomFromEWKT('SRID=4674;POINT (-40.302582 -2.793416)'))) / (select extract(epoch from '2026-07-23 06:39:12'::timestamp) - extract(epoch from '2026-07-23 06:38: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'), 47640, 'SRID=4674;POINT (-40.302511 -2.793412)', '2026-07-23 06:39:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302582 -2.793416)'), GeomFromEWKT('SRID=4674;POINT (-40.302511 -2.793412)'))) / (select extract(epoch from '2026-07-23 06:39:29'::timestamp) - extract(epoch from '2026-07-23 06:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302582 -2.793416)'), GeomFromEWKT('SRID=4674;POINT (-40.302511 -2.793412)'))) / (select extract(epoch from '2026-07-23 06:39:29'::timestamp) - extract(epoch from '2026-07-23 06:39: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'), 47640, 'SRID=4674;POINT (-40.302474 -2.793416)', '2026-07-23 06:39:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302511 -2.793412)'), GeomFromEWKT('SRID=4674;POINT (-40.302474 -2.793416)'))) / (select extract(epoch from '2026-07-23 06:39:43'::timestamp) - extract(epoch from '2026-07-23 06:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302511 -2.793412)'), GeomFromEWKT('SRID=4674;POINT (-40.302474 -2.793416)'))) / (select extract(epoch from '2026-07-23 06:39:43'::timestamp) - extract(epoch from '2026-07-23 06:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.302443 -2.793394)', '2026-07-23 06:40:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302474 -2.793416)'), GeomFromEWKT('SRID=4674;POINT (-40.302443 -2.793394)'))) / (select extract(epoch from '2026-07-23 06:40:06'::timestamp) - extract(epoch from '2026-07-23 06:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302474 -2.793416)'), GeomFromEWKT('SRID=4674;POINT (-40.302443 -2.793394)'))) / (select extract(epoch from '2026-07-23 06:40:06'::timestamp) - extract(epoch from '2026-07-23 06:39: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'), 47640, 'SRID=4674;POINT (-40.302435 -2.793375)', '2026-07-23 06:40:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302443 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.302435 -2.793375)'))) / (select extract(epoch from '2026-07-23 06:40:20'::timestamp) - extract(epoch from '2026-07-23 06:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302443 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.302435 -2.793375)'))) / (select extract(epoch from '2026-07-23 06:40:20'::timestamp) - extract(epoch from '2026-07-23 06:40: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'), 47640, 'SRID=4674;POINT (-40.30239 -2.793371)', '2026-07-23 06:40:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302435 -2.793375)'), GeomFromEWKT('SRID=4674;POINT (-40.30239 -2.793371)'))) / (select extract(epoch from '2026-07-23 06:40:35'::timestamp) - extract(epoch from '2026-07-23 06:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302435 -2.793375)'), GeomFromEWKT('SRID=4674;POINT (-40.30239 -2.793371)'))) / (select extract(epoch from '2026-07-23 06:40:35'::timestamp) - extract(epoch from '2026-07-23 06:40: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'), 47640, 'SRID=4674;POINT (-40.30233 -2.793362)', '2026-07-23 06:40:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30239 -2.793371)'), GeomFromEWKT('SRID=4674;POINT (-40.30233 -2.793362)'))) / (select extract(epoch from '2026-07-23 06:40:54'::timestamp) - extract(epoch from '2026-07-23 06:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30239 -2.793371)'), GeomFromEWKT('SRID=4674;POINT (-40.30233 -2.793362)'))) / (select extract(epoch from '2026-07-23 06:40:54'::timestamp) - extract(epoch from '2026-07-23 06:40: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'), 47640, 'SRID=4674;POINT (-40.302282 -2.793363)', '2026-07-23 06:41:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30233 -2.793362)'), GeomFromEWKT('SRID=4674;POINT (-40.302282 -2.793363)'))) / (select extract(epoch from '2026-07-23 06:41:10'::timestamp) - extract(epoch from '2026-07-23 06:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30233 -2.793362)'), GeomFromEWKT('SRID=4674;POINT (-40.302282 -2.793363)'))) / (select extract(epoch from '2026-07-23 06:41:10'::timestamp) - extract(epoch from '2026-07-23 06:40: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'), 47640, 'SRID=4674;POINT (-40.302233 -2.793371)', '2026-07-23 06:41:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302282 -2.793363)'), GeomFromEWKT('SRID=4674;POINT (-40.302233 -2.793371)'))) / (select extract(epoch from '2026-07-23 06:41:26'::timestamp) - extract(epoch from '2026-07-23 06:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302282 -2.793363)'), GeomFromEWKT('SRID=4674;POINT (-40.302233 -2.793371)'))) / (select extract(epoch from '2026-07-23 06:41:26'::timestamp) - extract(epoch from '2026-07-23 06:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.302177 -2.793377)', '2026-07-23 06:41:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302233 -2.793371)'), GeomFromEWKT('SRID=4674;POINT (-40.302177 -2.793377)'))) / (select extract(epoch from '2026-07-23 06:41:40'::timestamp) - extract(epoch from '2026-07-23 06:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302233 -2.793371)'), GeomFromEWKT('SRID=4674;POINT (-40.302177 -2.793377)'))) / (select extract(epoch from '2026-07-23 06:41:40'::timestamp) - extract(epoch from '2026-07-23 06:41: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'), 47640, 'SRID=4674;POINT (-40.302166 -2.793373)', '2026-07-23 06:41:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302177 -2.793377)'), GeomFromEWKT('SRID=4674;POINT (-40.302166 -2.793373)'))) / (select extract(epoch from '2026-07-23 06:41:54'::timestamp) - extract(epoch from '2026-07-23 06:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302177 -2.793377)'), GeomFromEWKT('SRID=4674;POINT (-40.302166 -2.793373)'))) / (select extract(epoch from '2026-07-23 06:41:54'::timestamp) - extract(epoch from '2026-07-23 06:41: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'), 47640, 'SRID=4674;POINT (-40.302145 -2.793381)', '2026-07-23 06:42:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302166 -2.793373)'), GeomFromEWKT('SRID=4674;POINT (-40.302145 -2.793381)'))) / (select extract(epoch from '2026-07-23 06:42:11'::timestamp) - extract(epoch from '2026-07-23 06:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302166 -2.793373)'), GeomFromEWKT('SRID=4674;POINT (-40.302145 -2.793381)'))) / (select extract(epoch from '2026-07-23 06:42:11'::timestamp) - extract(epoch from '2026-07-23 06:41: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'), 47640, 'SRID=4674;POINT (-40.30208 -2.793396)', '2026-07-23 06:42:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302145 -2.793381)'), GeomFromEWKT('SRID=4674;POINT (-40.30208 -2.793396)'))) / (select extract(epoch from '2026-07-23 06:42:29'::timestamp) - extract(epoch from '2026-07-23 06:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302145 -2.793381)'), GeomFromEWKT('SRID=4674;POINT (-40.30208 -2.793396)'))) / (select extract(epoch from '2026-07-23 06:42:29'::timestamp) - extract(epoch from '2026-07-23 06:42:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.302047 -2.793426)', '2026-07-23 06:42:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30208 -2.793396)'), GeomFromEWKT('SRID=4674;POINT (-40.302047 -2.793426)'))) / (select extract(epoch from '2026-07-23 06:42:44'::timestamp) - extract(epoch from '2026-07-23 06:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.30208 -2.793396)'), GeomFromEWKT('SRID=4674;POINT (-40.302047 -2.793426)'))) / (select extract(epoch from '2026-07-23 06:42:44'::timestamp) - extract(epoch from '2026-07-23 06:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47640, 'SRID=4674;POINT (-40.302065 -2.79342)', '2026-07-23 06:43:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302047 -2.793426)'), GeomFromEWKT('SRID=4674;POINT (-40.302065 -2.79342)'))) / (select extract(epoch from '2026-07-23 06:43:01'::timestamp) - extract(epoch from '2026-07-23 06:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.302047 -2.793426)'), GeomFromEWKT('SRID=4674;POINT (-40.302065 -2.79342)'))) / (select extract(epoch from '2026-07-23 06:43:01'::timestamp) - extract(epoch from '2026-07-23 06:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
