 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579043 -2.827066)', '2026-07-09 17:10:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827066)'))) / (select extract(epoch from '2026-07-09 17:10:59'::timestamp) - extract(epoch from '2026-07-09 17:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827066)'))) / (select extract(epoch from '2026-07-09 17:10:59'::timestamp) - extract(epoch from '2026-07-09 17:10: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'), 47635, 'SRID=4674;POINT (-40.579046 -2.82705)', '2026-07-09 17:11:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.82705)'))) / (select extract(epoch from '2026-07-09 17:11:31'::timestamp) - extract(epoch from '2026-07-09 17:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579043 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.82705)'))) / (select extract(epoch from '2026-07-09 17:11:31'::timestamp) - extract(epoch from '2026-07-09 17:10: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'), 47635, 'SRID=4674;POINT (-40.579039 -2.827049)', '2026-07-09 17:11:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827049)'))) / (select extract(epoch from '2026-07-09 17:11:41'::timestamp) - extract(epoch from '2026-07-09 17:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827049)'))) / (select extract(epoch from '2026-07-09 17:11:41'::timestamp) - extract(epoch from '2026-07-09 17:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579037 -2.827048)', '2026-07-09 17:11:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827049)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827048)'))) / (select extract(epoch from '2026-07-09 17:11:56'::timestamp) - extract(epoch from '2026-07-09 17:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827049)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827048)'))) / (select extract(epoch from '2026-07-09 17:11:56'::timestamp) - extract(epoch from '2026-07-09 17:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579046 -2.827052)', '2026-07-09 17:12:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827048)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827052)'))) / (select extract(epoch from '2026-07-09 17:12:18'::timestamp) - extract(epoch from '2026-07-09 17:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827048)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827052)'))) / (select extract(epoch from '2026-07-09 17:12:18'::timestamp) - extract(epoch from '2026-07-09 17:11: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'), 47635, 'SRID=4674;POINT (-40.579047 -2.827057)', '2026-07-09 17:12:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827052)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827057)'))) / (select extract(epoch from '2026-07-09 17:12:38'::timestamp) - extract(epoch from '2026-07-09 17:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827052)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827057)'))) / (select extract(epoch from '2026-07-09 17:12:38'::timestamp) - extract(epoch from '2026-07-09 17:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579056 -2.827058)', '2026-07-09 17:13:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827058)'))) / (select extract(epoch from '2026-07-09 17:13:16'::timestamp) - extract(epoch from '2026-07-09 17:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827057)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827058)'))) / (select extract(epoch from '2026-07-09 17:13:16'::timestamp) - extract(epoch from '2026-07-09 17:12: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'), 47635, 'SRID=4674;POINT (-40.579064 -2.827051)', '2026-07-09 17:13:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579064 -2.827051)'))) / (select extract(epoch from '2026-07-09 17:13:53'::timestamp) - extract(epoch from '2026-07-09 17:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579064 -2.827051)'))) / (select extract(epoch from '2026-07-09 17:13:53'::timestamp) - extract(epoch from '2026-07-09 17:13: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'), 47635, 'SRID=4674;POINT (-40.579056 -2.827053)', '2026-07-09 17:13:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579064 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827053)'))) / (select extract(epoch from '2026-07-09 17:13:59'::timestamp) - extract(epoch from '2026-07-09 17:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579064 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827053)'))) / (select extract(epoch from '2026-07-09 17:13:59'::timestamp) - extract(epoch from '2026-07-09 17:13:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579062 -2.827056)', '2026-07-09 17:14:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827053)'), GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827056)'))) / (select extract(epoch from '2026-07-09 17:14:06'::timestamp) - extract(epoch from '2026-07-09 17:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827053)'), GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827056)'))) / (select extract(epoch from '2026-07-09 17:14:06'::timestamp) - extract(epoch from '2026-07-09 17:13: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'), 47635, 'SRID=4674;POINT (-40.579058 -2.82705)', '2026-07-09 17:14:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82705)'))) / (select extract(epoch from '2026-07-09 17:14:21'::timestamp) - extract(epoch from '2026-07-09 17:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579062 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82705)'))) / (select extract(epoch from '2026-07-09 17:14:21'::timestamp) - extract(epoch from '2026-07-09 17:14: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'), 47635, 'SRID=4674;POINT (-40.579046 -2.827058)', '2026-07-09 17:15:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827058)'))) / (select extract(epoch from '2026-07-09 17:15:42'::timestamp) - extract(epoch from '2026-07-09 17:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579058 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827058)'))) / (select extract(epoch from '2026-07-09 17:15:42'::timestamp) - extract(epoch from '2026-07-09 17:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579046 -2.827059)', '2026-07-09 17:15:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827059)'))) / (select extract(epoch from '2026-07-09 17:15:48'::timestamp) - extract(epoch from '2026-07-09 17:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827059)'))) / (select extract(epoch from '2026-07-09 17:15:48'::timestamp) - extract(epoch from '2026-07-09 17:15: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'), 47635, 'SRID=4674;POINT (-40.57904 -2.827052)', '2026-07-09 17:16:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827052)'))) / (select extract(epoch from '2026-07-09 17:16:52'::timestamp) - extract(epoch from '2026-07-09 17:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827059)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827052)'))) / (select extract(epoch from '2026-07-09 17:16:52'::timestamp) - extract(epoch from '2026-07-09 17:15: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'), 47635, 'SRID=4674;POINT (-40.579051 -2.827046)', '2026-07-09 17:16:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827052)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827046)'))) / (select extract(epoch from '2026-07-09 17:16:59'::timestamp) - extract(epoch from '2026-07-09 17:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827052)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827046)'))) / (select extract(epoch from '2026-07-09 17:16:59'::timestamp) - extract(epoch from '2026-07-09 17: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'), 47635, 'SRID=4674;POINT (-40.579042 -2.827058)', '2026-07-09 17:17:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827046)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827058)'))) / (select extract(epoch from '2026-07-09 17:17:18'::timestamp) - extract(epoch from '2026-07-09 17:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827046)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827058)'))) / (select extract(epoch from '2026-07-09 17:17:18'::timestamp) - extract(epoch from '2026-07-09 17:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579046 -2.827068)', '2026-07-09 17:19:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827068)'))) / (select extract(epoch from '2026-07-09 17:19:08'::timestamp) - extract(epoch from '2026-07-09 17:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827058)'), GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827068)'))) / (select extract(epoch from '2026-07-09 17:19:08'::timestamp) - extract(epoch from '2026-07-09 17:17: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'), 47635, 'SRID=4674;POINT (-40.579045 -2.82707)', '2026-07-09 17:19:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.82707)'))) / (select extract(epoch from '2026-07-09 17:19:14'::timestamp) - extract(epoch from '2026-07-09 17:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579046 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.82707)'))) / (select extract(epoch from '2026-07-09 17:19:14'::timestamp) - extract(epoch from '2026-07-09 17:19: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'), 47635, 'SRID=4674;POINT (-40.579042 -2.827056)', '2026-07-09 17:23:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827056)'))) / (select extract(epoch from '2026-07-09 17:23:21'::timestamp) - extract(epoch from '2026-07-09 17:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.82707)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827056)'))) / (select extract(epoch from '2026-07-09 17:23:21'::timestamp) - extract(epoch from '2026-07-09 17:19: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'), 47635, 'SRID=4674;POINT (-40.579031 -2.827083)', '2026-07-09 17:24:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827083)'))) / (select extract(epoch from '2026-07-09 17:24:38'::timestamp) - extract(epoch from '2026-07-09 17:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827056)'), GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827083)'))) / (select extract(epoch from '2026-07-09 17:24:38'::timestamp) - extract(epoch from '2026-07-09 17:23:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.57903 -2.82708)', '2026-07-09 17:24:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.57903 -2.82708)'))) / (select extract(epoch from '2026-07-09 17:24:57'::timestamp) - extract(epoch from '2026-07-09 17:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579031 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.57903 -2.82708)'))) / (select extract(epoch from '2026-07-09 17:24:57'::timestamp) - extract(epoch from '2026-07-09 17:24: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'), 47635, 'SRID=4674;POINT (-40.579025 -2.827072)', '2026-07-09 17:25:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57903 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827072)'))) / (select extract(epoch from '2026-07-09 17:25:28'::timestamp) - extract(epoch from '2026-07-09 17:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57903 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827072)'))) / (select extract(epoch from '2026-07-09 17:25:28'::timestamp) - extract(epoch from '2026-07-09 17: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'), 47635, 'SRID=4674;POINT (-40.579028 -2.827073)', '2026-07-09 17:25:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827072)'), GeomFromEWKT('SRID=4674;POINT (-40.579028 -2.827073)'))) / (select extract(epoch from '2026-07-09 17:25:31'::timestamp) - extract(epoch from '2026-07-09 17:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827072)'), GeomFromEWKT('SRID=4674;POINT (-40.579028 -2.827073)'))) / (select extract(epoch from '2026-07-09 17:25:31'::timestamp) - extract(epoch from '2026-07-09 17:25: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'), 47635, 'SRID=4674;POINT (-40.579029 -2.827073)', '2026-07-09 17:25:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579028 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827073)'))) / (select extract(epoch from '2026-07-09 17:25:43'::timestamp) - extract(epoch from '2026-07-09 17:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579028 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827073)'))) / (select extract(epoch from '2026-07-09 17:25:43'::timestamp) - extract(epoch from '2026-07-09 17:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579033 -2.827069)', '2026-07-09 17:26:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827069)'))) / (select extract(epoch from '2026-07-09 17:26:37'::timestamp) - extract(epoch from '2026-07-09 17:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827069)'))) / (select extract(epoch from '2026-07-09 17:26:37'::timestamp) - extract(epoch from '2026-07-09 17:25: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'), 47635, 'SRID=4674;POINT (-40.579029 -2.827081)', '2026-07-09 17:27:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827081)'))) / (select extract(epoch from '2026-07-09 17:27:20'::timestamp) - extract(epoch from '2026-07-09 17:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827081)'))) / (select extract(epoch from '2026-07-09 17:27:20'::timestamp) - extract(epoch from '2026-07-09 17:26: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'), 47635, 'SRID=4674;POINT (-40.579032 -2.827087)', '2026-07-09 17:27:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827087)'))) / (select extract(epoch from '2026-07-09 17:27:39'::timestamp) - extract(epoch from '2026-07-09 17:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827081)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827087)'))) / (select extract(epoch from '2026-07-09 17:27:39'::timestamp) - extract(epoch from '2026-07-09 17:27: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'), 47635, 'SRID=4674;POINT (-40.579036 -2.827069)', '2026-07-09 17:30:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827087)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827069)'))) / (select extract(epoch from '2026-07-09 17:30:00'::timestamp) - extract(epoch from '2026-07-09 17:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827087)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827069)'))) / (select extract(epoch from '2026-07-09 17:30:00'::timestamp) - extract(epoch from '2026-07-09 17:27: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'), 47635, 'SRID=4674;POINT (-40.579036 -2.827072)', '2026-07-09 17:30:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827072)'))) / (select extract(epoch from '2026-07-09 17:30:42'::timestamp) - extract(epoch from '2026-07-09 17:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827069)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827072)'))) / (select extract(epoch from '2026-07-09 17:30:42'::timestamp) - extract(epoch from '2026-07-09 17:30: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'), 47635, 'SRID=4674;POINT (-40.579038 -2.827075)', '2026-07-09 17:30:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827072)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827075)'))) / (select extract(epoch from '2026-07-09 17:30:47'::timestamp) - extract(epoch from '2026-07-09 17:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827072)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827075)'))) / (select extract(epoch from '2026-07-09 17:30:47'::timestamp) - extract(epoch from '2026-07-09 17:30: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'), 47635, 'SRID=4674;POINT (-40.57904 -2.82708)', '2026-07-09 17:31:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82708)'))) / (select extract(epoch from '2026-07-09 17:31:36'::timestamp) - extract(epoch from '2026-07-09 17:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82708)'))) / (select extract(epoch from '2026-07-09 17:31:36'::timestamp) - extract(epoch from '2026-07-09 17:30: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'), 47635, 'SRID=4674;POINT (-40.57902 -2.827092)', '2026-07-09 17:32:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.57902 -2.827092)'))) / (select extract(epoch from '2026-07-09 17:32:55'::timestamp) - extract(epoch from '2026-07-09 17:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.57902 -2.827092)'))) / (select extract(epoch from '2026-07-09 17:32:55'::timestamp) - extract(epoch from '2026-07-09 17:31: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'), 47635, 'SRID=4674;POINT (-40.579029 -2.827076)', '2026-07-09 17:33:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57902 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827076)'))) / (select extract(epoch from '2026-07-09 17:33:33'::timestamp) - extract(epoch from '2026-07-09 17:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57902 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827076)'))) / (select extract(epoch from '2026-07-09 17:33:33'::timestamp) - extract(epoch from '2026-07-09 17:32: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'), 47635, 'SRID=4674;POINT (-40.579021 -2.827089)', '2026-07-09 17:35:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.579021 -2.827089)'))) / (select extract(epoch from '2026-07-09 17:35:21'::timestamp) - extract(epoch from '2026-07-09 17:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.827076)'), GeomFromEWKT('SRID=4674;POINT (-40.579021 -2.827089)'))) / (select extract(epoch from '2026-07-09 17:35:21'::timestamp) - extract(epoch from '2026-07-09 17:33: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'), 47635, 'SRID=4674;POINT (-40.57902 -2.827098)', '2026-07-09 17:36:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579021 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.57902 -2.827098)'))) / (select extract(epoch from '2026-07-09 17:36:07'::timestamp) - extract(epoch from '2026-07-09 17:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579021 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.57902 -2.827098)'))) / (select extract(epoch from '2026-07-09 17:36:07'::timestamp) - extract(epoch from '2026-07-09 17:35: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'), 47635, 'SRID=4674;POINT (-40.579025 -2.827092)', '2026-07-09 17:36:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57902 -2.827098)'), GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827092)'))) / (select extract(epoch from '2026-07-09 17:36:24'::timestamp) - extract(epoch from '2026-07-09 17:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57902 -2.827098)'), GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827092)'))) / (select extract(epoch from '2026-07-09 17:36:24'::timestamp) - extract(epoch from '2026-07-09 17:36: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'), 47635, 'SRID=4674;POINT (-40.579021 -2.827101)', '2026-07-09 17:37:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579021 -2.827101)'))) / (select extract(epoch from '2026-07-09 17:37:19'::timestamp) - extract(epoch from '2026-07-09 17:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579025 -2.827092)'), GeomFromEWKT('SRID=4674;POINT (-40.579021 -2.827101)'))) / (select extract(epoch from '2026-07-09 17:37:19'::timestamp) - extract(epoch from '2026-07-09 17: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'), 47635, 'SRID=4674;POINT (-40.579012 -2.827089)', '2026-07-09 17:37:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579021 -2.827101)'), GeomFromEWKT('SRID=4674;POINT (-40.579012 -2.827089)'))) / (select extract(epoch from '2026-07-09 17:37:36'::timestamp) - extract(epoch from '2026-07-09 17:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579021 -2.827101)'), GeomFromEWKT('SRID=4674;POINT (-40.579012 -2.827089)'))) / (select extract(epoch from '2026-07-09 17:37:36'::timestamp) - extract(epoch from '2026-07-09 17: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'), 47635, 'SRID=4674;POINT (-40.579014 -2.827094)', '2026-07-09 17:37:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579012 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579014 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:37:49'::timestamp) - extract(epoch from '2026-07-09 17:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579012 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579014 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:37:49'::timestamp) - extract(epoch from '2026-07-09 17:37: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'), 47635, 'SRID=4674;POINT (-40.579011 -2.827091)', '2026-07-09 17:38:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579014 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579011 -2.827091)'))) / (select extract(epoch from '2026-07-09 17:38:00'::timestamp) - extract(epoch from '2026-07-09 17:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579014 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579011 -2.827091)'))) / (select extract(epoch from '2026-07-09 17:38:00'::timestamp) - extract(epoch from '2026-07-09 17:37: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'), 47635, 'SRID=4674;POINT (-40.579007 -2.827101)', '2026-07-09 17:38:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579011 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579007 -2.827101)'))) / (select extract(epoch from '2026-07-09 17:38:44'::timestamp) - extract(epoch from '2026-07-09 17:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579011 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579007 -2.827101)'))) / (select extract(epoch from '2026-07-09 17:38:44'::timestamp) - extract(epoch from '2026-07-09 17:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579022 -2.827096)', '2026-07-09 17:39:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579007 -2.827101)'), GeomFromEWKT('SRID=4674;POINT (-40.579022 -2.827096)'))) / (select extract(epoch from '2026-07-09 17:39:40'::timestamp) - extract(epoch from '2026-07-09 17:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579007 -2.827101)'), GeomFromEWKT('SRID=4674;POINT (-40.579022 -2.827096)'))) / (select extract(epoch from '2026-07-09 17:39:40'::timestamp) - extract(epoch from '2026-07-09 17:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579027 -2.827094)', '2026-07-09 17:41:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579022 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:41:09'::timestamp) - extract(epoch from '2026-07-09 17:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579022 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:41:09'::timestamp) - extract(epoch from '2026-07-09 17:39: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'), 47635, 'SRID=4674;POINT (-40.579033 -2.827097)', '2026-07-09 17:43:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827097)'))) / (select extract(epoch from '2026-07-09 17:43:32'::timestamp) - extract(epoch from '2026-07-09 17:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827097)'))) / (select extract(epoch from '2026-07-09 17:43:32'::timestamp) - extract(epoch from '2026-07-09 17:41: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'), 47635, 'SRID=4674;POINT (-40.579016 -2.827089)', '2026-07-09 17:44:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827089)'))) / (select extract(epoch from '2026-07-09 17:44:20'::timestamp) - extract(epoch from '2026-07-09 17:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827089)'))) / (select extract(epoch from '2026-07-09 17:44:20'::timestamp) - extract(epoch from '2026-07-09 17:43: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'), 47635, 'SRID=4674;POINT (-40.579037 -2.827096)', '2026-07-09 17:45:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827096)'))) / (select extract(epoch from '2026-07-09 17:45:42'::timestamp) - extract(epoch from '2026-07-09 17:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579016 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827096)'))) / (select extract(epoch from '2026-07-09 17:45:42'::timestamp) - extract(epoch from '2026-07-09 17:44: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'), 47635, 'SRID=4674;POINT (-40.579022 -2.827097)', '2026-07-09 17:46:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.579022 -2.827097)'))) / (select extract(epoch from '2026-07-09 17:46:01'::timestamp) - extract(epoch from '2026-07-09 17:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579037 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.579022 -2.827097)'))) / (select extract(epoch from '2026-07-09 17:46:01'::timestamp) - extract(epoch from '2026-07-09 17: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'), 47635, 'SRID=4674;POINT (-40.579018 -2.8271)', '2026-07-09 17:46:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579022 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579018 -2.8271)'))) / (select extract(epoch from '2026-07-09 17:46:07'::timestamp) - extract(epoch from '2026-07-09 17:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579022 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.579018 -2.8271)'))) / (select extract(epoch from '2026-07-09 17:46:07'::timestamp) - extract(epoch from '2026-07-09 17:46: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'), 47635, 'SRID=4674;POINT (-40.579029 -2.82708)', '2026-07-09 17:49:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579018 -2.8271)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.82708)'))) / (select extract(epoch from '2026-07-09 17:49:10'::timestamp) - extract(epoch from '2026-07-09 17:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579018 -2.8271)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.82708)'))) / (select extract(epoch from '2026-07-09 17:49:10'::timestamp) - extract(epoch from '2026-07-09 17:46: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'), 47635, 'SRID=4674;POINT (-40.579035 -2.827075)', '2026-07-09 17:49:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827075)'))) / (select extract(epoch from '2026-07-09 17:49:36'::timestamp) - extract(epoch from '2026-07-09 17:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827075)'))) / (select extract(epoch from '2026-07-09 17:49:36'::timestamp) - extract(epoch from '2026-07-09 17:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579045 -2.827079)', '2026-07-09 17:52:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827079)'))) / (select extract(epoch from '2026-07-09 17:52:16'::timestamp) - extract(epoch from '2026-07-09 17:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827079)'))) / (select extract(epoch from '2026-07-09 17:52:16'::timestamp) - extract(epoch from '2026-07-09 17:49: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'), 47635, 'SRID=4674;POINT (-40.579034 -2.827082)', '2026-07-09 17:53:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827082)'))) / (select extract(epoch from '2026-07-09 17:53:07'::timestamp) - extract(epoch from '2026-07-09 17:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827082)'))) / (select extract(epoch from '2026-07-09 17:53:07'::timestamp) - extract(epoch from '2026-07-09 17:52: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'), 47635, 'SRID=4674;POINT (-40.579036 -2.827088)', '2026-07-09 17:53:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827088)'))) / (select extract(epoch from '2026-07-09 17:53:20'::timestamp) - extract(epoch from '2026-07-09 17:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827082)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827088)'))) / (select extract(epoch from '2026-07-09 17:53:20'::timestamp) - extract(epoch from '2026-07-09 17:53: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'), 47635, 'SRID=4674;POINT (-40.57904 -2.82709)', '2026-07-09 17:53:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82709)'))) / (select extract(epoch from '2026-07-09 17:53:27'::timestamp) - extract(epoch from '2026-07-09 17:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82709)'))) / (select extract(epoch from '2026-07-09 17:53:27'::timestamp) - extract(epoch from '2026-07-09 17:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579042 -2.827094)', '2026-07-09 17:54:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:54:40'::timestamp) - extract(epoch from '2026-07-09 17:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:54:40'::timestamp) - extract(epoch from '2026-07-09 17:53: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'), 47635, 'SRID=4674;POINT (-40.579033 -2.827095)', '2026-07-09 17:54:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827095)'))) / (select extract(epoch from '2026-07-09 17:54:47'::timestamp) - extract(epoch from '2026-07-09 17:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827095)'))) / (select extract(epoch from '2026-07-09 17:54:47'::timestamp) - extract(epoch from '2026-07-09 17:54: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'), 47635, 'SRID=4674;POINT (-40.579036 -2.827086)', '2026-07-09 17:54:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827095)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827086)'))) / (select extract(epoch from '2026-07-09 17:54:54'::timestamp) - extract(epoch from '2026-07-09 17:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579033 -2.827095)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827086)'))) / (select extract(epoch from '2026-07-09 17:54:54'::timestamp) - extract(epoch from '2026-07-09 17: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'), 47635, 'SRID=4674;POINT (-40.57904 -2.827083)', '2026-07-09 17:55:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827083)'))) / (select extract(epoch from '2026-07-09 17:55:00'::timestamp) - extract(epoch from '2026-07-09 17:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827086)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827083)'))) / (select extract(epoch from '2026-07-09 17:55:00'::timestamp) - extract(epoch from '2026-07-09 17:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579041 -2.827083)', '2026-07-09 17:56:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827083)'))) / (select extract(epoch from '2026-07-09 17:56:16'::timestamp) - extract(epoch from '2026-07-09 17:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827083)'))) / (select extract(epoch from '2026-07-09 17:56:16'::timestamp) - extract(epoch from '2026-07-09 17:55: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'), 47635, 'SRID=4674;POINT (-40.579047 -2.827096)', '2026-07-09 17:56:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827096)'))) / (select extract(epoch from '2026-07-09 17:56:28'::timestamp) - extract(epoch from '2026-07-09 17:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579041 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827096)'))) / (select extract(epoch from '2026-07-09 17:56:28'::timestamp) - extract(epoch from '2026-07-09 17:56: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'), 47635, 'SRID=4674;POINT (-40.579038 -2.827094)', '2026-07-09 17:56:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:56:40'::timestamp) - extract(epoch from '2026-07-09 17:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:56:40'::timestamp) - extract(epoch from '2026-07-09 17:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579036 -2.827094)', '2026-07-09 17:58:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:58:39'::timestamp) - extract(epoch from '2026-07-09 17:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827094)'))) / (select extract(epoch from '2026-07-09 17:58:39'::timestamp) - extract(epoch from '2026-07-09 17:56: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'), 47635, 'SRID=4674;POINT (-40.579035 -2.827091)', '2026-07-09 17:59:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827091)'))) / (select extract(epoch from '2026-07-09 17:59:04'::timestamp) - extract(epoch from '2026-07-09 17:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827091)'))) / (select extract(epoch from '2026-07-09 17:59:04'::timestamp) - extract(epoch from '2026-07-09 17:58: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'), 47635, 'SRID=4674;POINT (-40.579027 -2.827085)', '2026-07-09 17:59:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827085)'))) / (select extract(epoch from '2026-07-09 17:59:18'::timestamp) - extract(epoch from '2026-07-09 17:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579035 -2.827091)'), GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827085)'))) / (select extract(epoch from '2026-07-09 17:59:18'::timestamp) - extract(epoch from '2026-07-09 17:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579052 -2.827066)', '2026-07-09 18:01:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827066)'))) / (select extract(epoch from '2026-07-09 18:01:33'::timestamp) - extract(epoch from '2026-07-09 17:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579027 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827066)'))) / (select extract(epoch from '2026-07-09 18:01:33'::timestamp) - extract(epoch from '2026-07-09 17: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'), 47635, 'SRID=4674;POINT (-40.579056 -2.827073)', '2026-07-09 18:02:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827073)'))) / (select extract(epoch from '2026-07-09 18:02:00'::timestamp) - extract(epoch from '2026-07-09 18:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827066)'), GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827073)'))) / (select extract(epoch from '2026-07-09 18:02:00'::timestamp) - extract(epoch from '2026-07-09 18:01: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'), 47635, 'SRID=4674;POINT (-40.579059 -2.827073)', '2026-07-09 18:02:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827073)'))) / (select extract(epoch from '2026-07-09 18:02:24'::timestamp) - extract(epoch from '2026-07-09 18:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579056 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827073)'))) / (select extract(epoch from '2026-07-09 18:02:24'::timestamp) - extract(epoch from '2026-07-09 18:02: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'), 47635, 'SRID=4674;POINT (-40.579052 -2.827078)', '2026-07-09 18:04:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827078)'))) / (select extract(epoch from '2026-07-09 18:04:59'::timestamp) - extract(epoch from '2026-07-09 18:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579059 -2.827073)'), GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827078)'))) / (select extract(epoch from '2026-07-09 18:04:59'::timestamp) - extract(epoch from '2026-07-09 18: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'), 47635, 'SRID=4674;POINT (-40.579045 -2.827078)', '2026-07-09 18:06:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827078)'))) / (select extract(epoch from '2026-07-09 18:06:32'::timestamp) - extract(epoch from '2026-07-09 18:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579052 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827078)'))) / (select extract(epoch from '2026-07-09 18:06:32'::timestamp) - extract(epoch from '2026-07-09 18: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'), 47635, 'SRID=4674;POINT (-40.579038 -2.827096)', '2026-07-09 18:09:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827096)'))) / (select extract(epoch from '2026-07-09 18:09:46'::timestamp) - extract(epoch from '2026-07-09 18:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579045 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827096)'))) / (select extract(epoch from '2026-07-09 18:09:46'::timestamp) - extract(epoch from '2026-07-09 18:06: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'), 47635, 'SRID=4674;POINT (-40.57904 -2.827079)', '2026-07-09 18:13:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827079)'))) / (select extract(epoch from '2026-07-09 18:13:53'::timestamp) - extract(epoch from '2026-07-09 18:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579038 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827079)'))) / (select extract(epoch from '2026-07-09 18:13:53'::timestamp) - extract(epoch from '2026-07-09 18: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'), 47635, 'SRID=4674;POINT (-40.57905 -2.827078)', '2026-07-09 18:14:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827078)'))) / (select extract(epoch from '2026-07-09 18:14:38'::timestamp) - extract(epoch from '2026-07-09 18:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827079)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827078)'))) / (select extract(epoch from '2026-07-09 18:14:38'::timestamp) - extract(epoch from '2026-07-09 18:13:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.57904 -2.827085)', '2026-07-09 18:16:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827085)'))) / (select extract(epoch from '2026-07-09 18:16:20'::timestamp) - extract(epoch from '2026-07-09 18:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827078)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827085)'))) / (select extract(epoch from '2026-07-09 18:16:20'::timestamp) - extract(epoch from '2026-07-09 18: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'), 47635, 'SRID=4674;POINT (-40.57905 -2.827065)', '2026-07-09 18:20:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827065)'))) / (select extract(epoch from '2026-07-09 18:20:53'::timestamp) - extract(epoch from '2026-07-09 18:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827065)'))) / (select extract(epoch from '2026-07-09 18:20:53'::timestamp) - extract(epoch from '2026-07-09 18:16: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'), 47635, 'SRID=4674;POINT (-40.579034 -2.827094)', '2026-07-09 18:31:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827094)'))) / (select extract(epoch from '2026-07-09 18:31:20'::timestamp) - extract(epoch from '2026-07-09 18:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827065)'), GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827094)'))) / (select extract(epoch from '2026-07-09 18:31:20'::timestamp) - extract(epoch from '2026-07-09 18:20: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'), 47635, 'SRID=4674;POINT (-40.579051 -2.827102)', '2026-07-09 18:36:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827102)'))) / (select extract(epoch from '2026-07-09 18:36:24'::timestamp) - extract(epoch from '2026-07-09 18:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579034 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827102)'))) / (select extract(epoch from '2026-07-09 18:36:24'::timestamp) - extract(epoch from '2026-07-09 18: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'), 47635, 'SRID=4674;POINT (-40.579047 -2.827085)', '2026-07-09 18:37:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827102)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827085)'))) / (select extract(epoch from '2026-07-09 18:37:56'::timestamp) - extract(epoch from '2026-07-09 18:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579051 -2.827102)'), GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827085)'))) / (select extract(epoch from '2026-07-09 18:37:56'::timestamp) - extract(epoch from '2026-07-09 18: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'), 47635, 'SRID=4674;POINT (-40.579036 -2.827083)', '2026-07-09 18:44:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827083)'))) / (select extract(epoch from '2026-07-09 18:44:00'::timestamp) - extract(epoch from '2026-07-09 18:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579047 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827083)'))) / (select extract(epoch from '2026-07-09 18:44:00'::timestamp) - extract(epoch from '2026-07-09 18:37: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'), 47635, 'SRID=4674;POINT (-40.579049 -2.827094)', '2026-07-09 18:58:59', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827094)'))) / (select extract(epoch from '2026-07-09 18:58:59'::timestamp) - extract(epoch from '2026-07-09 18:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579036 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827094)'))) / (select extract(epoch from '2026-07-09 18:58:59'::timestamp) - extract(epoch from '2026-07-09 18:44: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'), 47635, 'SRID=4674;POINT (-40.579044 -2.827093)', '2026-07-09 18:59:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827093)'))) / (select extract(epoch from '2026-07-09 18:59:48'::timestamp) - extract(epoch from '2026-07-09 18:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579049 -2.827094)'), GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827093)'))) / (select extract(epoch from '2026-07-09 18:59:48'::timestamp) - extract(epoch from '2026-07-09 18:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.57905 -2.827089)', '2026-07-09 19:00:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827093)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827089)'))) / (select extract(epoch from '2026-07-09 19:00:05'::timestamp) - extract(epoch from '2026-07-09 18:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579044 -2.827093)'), GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827089)'))) / (select extract(epoch from '2026-07-09 19:00:05'::timestamp) - extract(epoch from '2026-07-09 18:59: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'), 47635, 'SRID=4674;POINT (-40.579042 -2.827089)', '2026-07-09 19:00:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827089)'))) / (select extract(epoch from '2026-07-09 19:00:11'::timestamp) - extract(epoch from '2026-07-09 19:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57905 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827089)'))) / (select extract(epoch from '2026-07-09 19:00:11'::timestamp) - extract(epoch from '2026-07-09 19:00: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'), 47635, 'SRID=4674;POINT (-40.579032 -2.827093)', '2026-07-09 19:02:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827093)'))) / (select extract(epoch from '2026-07-09 19:02:24'::timestamp) - extract(epoch from '2026-07-09 19:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579042 -2.827089)'), GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827093)'))) / (select extract(epoch from '2026-07-09 19:02:24'::timestamp) - extract(epoch from '2026-07-09 19:00: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'), 47635, 'SRID=4674;POINT (-40.579029 -2.82709)', '2026-07-09 19:02:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827093)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.82709)'))) / (select extract(epoch from '2026-07-09 19:02:53'::timestamp) - extract(epoch from '2026-07-09 19:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579032 -2.827093)'), GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.82709)'))) / (select extract(epoch from '2026-07-09 19:02:53'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.579039 -2.827085)', '2026-07-09 19:03:52', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827085)'))) / (select extract(epoch from '2026-07-09 19:03:52'::timestamp) - extract(epoch from '2026-07-09 19:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579029 -2.82709)'), GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827085)'))) / (select extract(epoch from '2026-07-09 19:03:52'::timestamp) - extract(epoch from '2026-07-09 19:02: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'), 47635, 'SRID=4674;POINT (-40.57904 -2.827088)', '2026-07-09 19:05:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827088)'))) / (select extract(epoch from '2026-07-09 19:05:35'::timestamp) - extract(epoch from '2026-07-09 19:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579039 -2.827085)'), GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827088)'))) / (select extract(epoch from '2026-07-09 19:05:35'::timestamp) - extract(epoch from '2026-07-09 19:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.579063 -2.827113)', '2026-07-09 19:18:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827113)'))) / (select extract(epoch from '2026-07-09 19:18:46'::timestamp) - extract(epoch from '2026-07-09 19:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57904 -2.827088)'), GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827113)'))) / (select extract(epoch from '2026-07-09 19:18:46'::timestamp) - extract(epoch from '2026-07-09 19:05: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'), 47635, 'SRID=4674;POINT (-40.57906 -2.827114)', '2026-07-09 19:19:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827113)'), GeomFromEWKT('SRID=4674;POINT (-40.57906 -2.827114)'))) / (select extract(epoch from '2026-07-09 19:19:34'::timestamp) - extract(epoch from '2026-07-09 19:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.579063 -2.827113)'), GeomFromEWKT('SRID=4674;POINT (-40.57906 -2.827114)'))) / (select extract(epoch from '2026-07-09 19:19:34'::timestamp) - extract(epoch from '2026-07-09 19:18: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'), 47635, 'SRID=4674;POINT (-40.578995 -2.82708)', '2026-07-09 19:24:51', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57906 -2.827114)'), GeomFromEWKT('SRID=4674;POINT (-40.578995 -2.82708)'))) / (select extract(epoch from '2026-07-09 19:24:51'::timestamp) - extract(epoch from '2026-07-09 19:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57906 -2.827114)'), GeomFromEWKT('SRID=4674;POINT (-40.578995 -2.82708)'))) / (select extract(epoch from '2026-07-09 19:24:51'::timestamp) - extract(epoch from '2026-07-09 19:19: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'), 47635, 'SRID=4674;POINT (-40.578948 -2.82705)', '2026-07-09 19:25:00', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578995 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.578948 -2.82705)'))) / (select extract(epoch from '2026-07-09 19:25:00'::timestamp) - extract(epoch from '2026-07-09 19:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578995 -2.82708)'), GeomFromEWKT('SRID=4674;POINT (-40.578948 -2.82705)'))) / (select extract(epoch from '2026-07-09 19:25:00'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.578919 -2.827024)', '2026-07-09 19:25:09', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578948 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.578919 -2.827024)'))) / (select extract(epoch from '2026-07-09 19:25:09'::timestamp) - extract(epoch from '2026-07-09 19:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578948 -2.82705)'), GeomFromEWKT('SRID=4674;POINT (-40.578919 -2.827024)'))) / (select extract(epoch from '2026-07-09 19:25:09'::timestamp) - extract(epoch from '2026-07-09 19:25: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'), 47635, 'SRID=4674;POINT (-40.578893 -2.827004)', '2026-07-09 19:25:17', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578919 -2.827024)'), GeomFromEWKT('SRID=4674;POINT (-40.578893 -2.827004)'))) / (select extract(epoch from '2026-07-09 19:25:17'::timestamp) - extract(epoch from '2026-07-09 19:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578919 -2.827024)'), GeomFromEWKT('SRID=4674;POINT (-40.578893 -2.827004)'))) / (select extract(epoch from '2026-07-09 19:25:17'::timestamp) - extract(epoch from '2026-07-09 19:25: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'), 47635, 'SRID=4674;POINT (-40.578807 -2.826969)', '2026-07-09 19:25:37', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578893 -2.827004)'), GeomFromEWKT('SRID=4674;POINT (-40.578807 -2.826969)'))) / (select extract(epoch from '2026-07-09 19:25:37'::timestamp) - extract(epoch from '2026-07-09 19:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578893 -2.827004)'), GeomFromEWKT('SRID=4674;POINT (-40.578807 -2.826969)'))) / (select extract(epoch from '2026-07-09 19:25:37'::timestamp) - extract(epoch from '2026-07-09 19:25: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'), 47635, 'SRID=4674;POINT (-40.578842 -2.826972)', '2026-07-09 19:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578807 -2.826969)'), GeomFromEWKT('SRID=4674;POINT (-40.578842 -2.826972)'))) / (select extract(epoch from '2026-07-09 19:26:00'::timestamp) - extract(epoch from '2026-07-09 19:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578807 -2.826969)'), GeomFromEWKT('SRID=4674;POINT (-40.578842 -2.826972)'))) / (select extract(epoch from '2026-07-09 19:26:00'::timestamp) - extract(epoch from '2026-07-09 19:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.578885 -2.826981)', '2026-07-09 19:26:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578842 -2.826972)'), GeomFromEWKT('SRID=4674;POINT (-40.578885 -2.826981)'))) / (select extract(epoch from '2026-07-09 19:26:15'::timestamp) - extract(epoch from '2026-07-09 19:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578842 -2.826972)'), GeomFromEWKT('SRID=4674;POINT (-40.578885 -2.826981)'))) / (select extract(epoch from '2026-07-09 19:26:15'::timestamp) - extract(epoch from '2026-07-09 19:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.578865 -2.827063)', '2026-07-09 19:26:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578885 -2.826981)'), GeomFromEWKT('SRID=4674;POINT (-40.578865 -2.827063)'))) / (select extract(epoch from '2026-07-09 19:26:27'::timestamp) - extract(epoch from '2026-07-09 19:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578885 -2.826981)'), GeomFromEWKT('SRID=4674;POINT (-40.578865 -2.827063)'))) / (select extract(epoch from '2026-07-09 19:26:27'::timestamp) - extract(epoch from '2026-07-09 19:26: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'), 47635, 'SRID=4674;POINT (-40.578853 -2.827146)', '2026-07-09 19:26:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578865 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.578853 -2.827146)'))) / (select extract(epoch from '2026-07-09 19:26:36'::timestamp) - extract(epoch from '2026-07-09 19:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578865 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.578853 -2.827146)'))) / (select extract(epoch from '2026-07-09 19:26:36'::timestamp) - extract(epoch from '2026-07-09 19:26: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'), 47635, 'SRID=4674;POINT (-40.578832 -2.82721)', '2026-07-09 19:26:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578853 -2.827146)'), GeomFromEWKT('SRID=4674;POINT (-40.578832 -2.82721)'))) / (select extract(epoch from '2026-07-09 19:26:46'::timestamp) - extract(epoch from '2026-07-09 19:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578853 -2.827146)'), GeomFromEWKT('SRID=4674;POINT (-40.578832 -2.82721)'))) / (select extract(epoch from '2026-07-09 19:26:46'::timestamp) - extract(epoch from '2026-07-09 19:26: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'), 47635, 'SRID=4674;POINT (-40.578798 -2.827283)', '2026-07-09 19:26:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578832 -2.82721)'), GeomFromEWKT('SRID=4674;POINT (-40.578798 -2.827283)'))) / (select extract(epoch from '2026-07-09 19:26:57'::timestamp) - extract(epoch from '2026-07-09 19:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578832 -2.82721)'), GeomFromEWKT('SRID=4674;POINT (-40.578798 -2.827283)'))) / (select extract(epoch from '2026-07-09 19:26:57'::timestamp) - extract(epoch from '2026-07-09 19:26: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'), 47635, 'SRID=4674;POINT (-40.578765 -2.827341)', '2026-07-09 19:27:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578798 -2.827283)'), GeomFromEWKT('SRID=4674;POINT (-40.578765 -2.827341)'))) / (select extract(epoch from '2026-07-09 19:27:06'::timestamp) - extract(epoch from '2026-07-09 19:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578798 -2.827283)'), GeomFromEWKT('SRID=4674;POINT (-40.578765 -2.827341)'))) / (select extract(epoch from '2026-07-09 19:27:06'::timestamp) - extract(epoch from '2026-07-09 19:26: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'), 47635, 'SRID=4674;POINT (-40.578725 -2.827388)', '2026-07-09 19:27:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578765 -2.827341)'), GeomFromEWKT('SRID=4674;POINT (-40.578725 -2.827388)'))) / (select extract(epoch from '2026-07-09 19:27:14'::timestamp) - extract(epoch from '2026-07-09 19:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578765 -2.827341)'), GeomFromEWKT('SRID=4674;POINT (-40.578725 -2.827388)'))) / (select extract(epoch from '2026-07-09 19:27:14'::timestamp) - extract(epoch from '2026-07-09 19:27: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'), 47635, 'SRID=4674;POINT (-40.578665 -2.827425)', '2026-07-09 19:27:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578725 -2.827388)'), GeomFromEWKT('SRID=4674;POINT (-40.578665 -2.827425)'))) / (select extract(epoch from '2026-07-09 19:27:24'::timestamp) - extract(epoch from '2026-07-09 19:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578725 -2.827388)'), GeomFromEWKT('SRID=4674;POINT (-40.578665 -2.827425)'))) / (select extract(epoch from '2026-07-09 19:27:24'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.578607 -2.827443)', '2026-07-09 19:27:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578665 -2.827425)'), GeomFromEWKT('SRID=4674;POINT (-40.578607 -2.827443)'))) / (select extract(epoch from '2026-07-09 19:27:33'::timestamp) - extract(epoch from '2026-07-09 19:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578665 -2.827425)'), GeomFromEWKT('SRID=4674;POINT (-40.578607 -2.827443)'))) / (select extract(epoch from '2026-07-09 19:27:33'::timestamp) - extract(epoch from '2026-07-09 19:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.578576 -2.827462)', '2026-07-09 19:27:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578607 -2.827443)'), GeomFromEWKT('SRID=4674;POINT (-40.578576 -2.827462)'))) / (select extract(epoch from '2026-07-09 19:27:42'::timestamp) - extract(epoch from '2026-07-09 19:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578607 -2.827443)'), GeomFromEWKT('SRID=4674;POINT (-40.578576 -2.827462)'))) / (select extract(epoch from '2026-07-09 19:27:42'::timestamp) - extract(epoch from '2026-07-09 19:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.578565 -2.827474)', '2026-07-09 19:27:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578576 -2.827462)'), GeomFromEWKT('SRID=4674;POINT (-40.578565 -2.827474)'))) / (select extract(epoch from '2026-07-09 19:27:50'::timestamp) - extract(epoch from '2026-07-09 19:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578576 -2.827462)'), GeomFromEWKT('SRID=4674;POINT (-40.578565 -2.827474)'))) / (select extract(epoch from '2026-07-09 19:27:50'::timestamp) - extract(epoch from '2026-07-09 19:27: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'), 47635, 'SRID=4674;POINT (-40.578514 -2.827515)', '2026-07-09 19:28:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578565 -2.827474)'), GeomFromEWKT('SRID=4674;POINT (-40.578514 -2.827515)'))) / (select extract(epoch from '2026-07-09 19:28:02'::timestamp) - extract(epoch from '2026-07-09 19:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578565 -2.827474)'), GeomFromEWKT('SRID=4674;POINT (-40.578514 -2.827515)'))) / (select extract(epoch from '2026-07-09 19:28:02'::timestamp) - extract(epoch from '2026-07-09 19:27:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.578463 -2.827566)', '2026-07-09 19:28:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578514 -2.827515)'), GeomFromEWKT('SRID=4674;POINT (-40.578463 -2.827566)'))) / (select extract(epoch from '2026-07-09 19:28:15'::timestamp) - extract(epoch from '2026-07-09 19:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578514 -2.827515)'), GeomFromEWKT('SRID=4674;POINT (-40.578463 -2.827566)'))) / (select extract(epoch from '2026-07-09 19:28:15'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.578485 -2.827609)', '2026-07-09 19:28:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578463 -2.827566)'), GeomFromEWKT('SRID=4674;POINT (-40.578485 -2.827609)'))) / (select extract(epoch from '2026-07-09 19:28:32'::timestamp) - extract(epoch from '2026-07-09 19:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578463 -2.827566)'), GeomFromEWKT('SRID=4674;POINT (-40.578485 -2.827609)'))) / (select extract(epoch from '2026-07-09 19:28:32'::timestamp) - extract(epoch from '2026-07-09 19:28: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'), 47635, 'SRID=4674;POINT (-40.5785 -2.827633)', '2026-07-09 19:28:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578485 -2.827609)'), GeomFromEWKT('SRID=4674;POINT (-40.5785 -2.827633)'))) / (select extract(epoch from '2026-07-09 19:28:40'::timestamp) - extract(epoch from '2026-07-09 19:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578485 -2.827609)'), GeomFromEWKT('SRID=4674;POINT (-40.5785 -2.827633)'))) / (select extract(epoch from '2026-07-09 19:28:40'::timestamp) - extract(epoch from '2026-07-09 19:28: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'), 47635, 'SRID=4674;POINT (-40.578502 -2.827641)', '2026-07-09 19:28:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5785 -2.827633)'), GeomFromEWKT('SRID=4674;POINT (-40.578502 -2.827641)'))) / (select extract(epoch from '2026-07-09 19:28:47'::timestamp) - extract(epoch from '2026-07-09 19:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5785 -2.827633)'), GeomFromEWKT('SRID=4674;POINT (-40.578502 -2.827641)'))) / (select extract(epoch from '2026-07-09 19:28:47'::timestamp) - extract(epoch from '2026-07-09 19:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.578439 -2.827681)', '2026-07-09 19:29:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578502 -2.827641)'), GeomFromEWKT('SRID=4674;POINT (-40.578439 -2.827681)'))) / (select extract(epoch from '2026-07-09 19:29:41'::timestamp) - extract(epoch from '2026-07-09 19:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578502 -2.827641)'), GeomFromEWKT('SRID=4674;POINT (-40.578439 -2.827681)'))) / (select extract(epoch from '2026-07-09 19:29:41'::timestamp) - extract(epoch from '2026-07-09 19:28: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'), 47635, 'SRID=4674;POINT (-40.578426 -2.827681)', '2026-07-09 19:29:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578439 -2.827681)'), GeomFromEWKT('SRID=4674;POINT (-40.578426 -2.827681)'))) / (select extract(epoch from '2026-07-09 19:29:54'::timestamp) - extract(epoch from '2026-07-09 19:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578439 -2.827681)'), GeomFromEWKT('SRID=4674;POINT (-40.578426 -2.827681)'))) / (select extract(epoch from '2026-07-09 19:29:54'::timestamp) - extract(epoch from '2026-07-09 19:29: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'), 47635, 'SRID=4674;POINT (-40.578365 -2.827696)', '2026-07-09 19:30:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578426 -2.827681)'), GeomFromEWKT('SRID=4674;POINT (-40.578365 -2.827696)'))) / (select extract(epoch from '2026-07-09 19:30:06'::timestamp) - extract(epoch from '2026-07-09 19:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578426 -2.827681)'), GeomFromEWKT('SRID=4674;POINT (-40.578365 -2.827696)'))) / (select extract(epoch from '2026-07-09 19:30:06'::timestamp) - extract(epoch from '2026-07-09 19:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.578357 -2.827719)', '2026-07-09 19:30:16', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578365 -2.827696)'), GeomFromEWKT('SRID=4674;POINT (-40.578357 -2.827719)'))) / (select extract(epoch from '2026-07-09 19:30:16'::timestamp) - extract(epoch from '2026-07-09 19:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578365 -2.827696)'), GeomFromEWKT('SRID=4674;POINT (-40.578357 -2.827719)'))) / (select extract(epoch from '2026-07-09 19:30:16'::timestamp) - extract(epoch from '2026-07-09 19:30: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'), 47635, 'SRID=4674;POINT (-40.57831 -2.827738)', '2026-07-09 19:30:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578357 -2.827719)'), GeomFromEWKT('SRID=4674;POINT (-40.57831 -2.827738)'))) / (select extract(epoch from '2026-07-09 19:30:54'::timestamp) - extract(epoch from '2026-07-09 19:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578357 -2.827719)'), GeomFromEWKT('SRID=4674;POINT (-40.57831 -2.827738)'))) / (select extract(epoch from '2026-07-09 19:30:54'::timestamp) - extract(epoch from '2026-07-09 19:30: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'), 47635, 'SRID=4674;POINT (-40.578287 -2.82773)', '2026-07-09 19:31:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57831 -2.827738)'), GeomFromEWKT('SRID=4674;POINT (-40.578287 -2.82773)'))) / (select extract(epoch from '2026-07-09 19:31:02'::timestamp) - extract(epoch from '2026-07-09 19:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57831 -2.827738)'), GeomFromEWKT('SRID=4674;POINT (-40.578287 -2.82773)'))) / (select extract(epoch from '2026-07-09 19:31:02'::timestamp) - extract(epoch from '2026-07-09 19:30: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'), 47635, 'SRID=4674;POINT (-40.57823 -2.827763)', '2026-07-09 19:32:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578287 -2.82773)'), GeomFromEWKT('SRID=4674;POINT (-40.57823 -2.827763)'))) / (select extract(epoch from '2026-07-09 19:32:12'::timestamp) - extract(epoch from '2026-07-09 19:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578287 -2.82773)'), GeomFromEWKT('SRID=4674;POINT (-40.57823 -2.827763)'))) / (select extract(epoch from '2026-07-09 19:32:12'::timestamp) - extract(epoch from '2026-07-09 19:31: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'), 47635, 'SRID=4674;POINT (-40.578213 -2.827764)', '2026-07-09 19:32:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57823 -2.827763)'), GeomFromEWKT('SRID=4674;POINT (-40.578213 -2.827764)'))) / (select extract(epoch from '2026-07-09 19:32:18'::timestamp) - extract(epoch from '2026-07-09 19:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57823 -2.827763)'), GeomFromEWKT('SRID=4674;POINT (-40.578213 -2.827764)'))) / (select extract(epoch from '2026-07-09 19:32:18'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.578168 -2.827788)', '2026-07-09 19:33:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578213 -2.827764)'), GeomFromEWKT('SRID=4674;POINT (-40.578168 -2.827788)'))) / (select extract(epoch from '2026-07-09 19:33:35'::timestamp) - extract(epoch from '2026-07-09 19:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578213 -2.827764)'), GeomFromEWKT('SRID=4674;POINT (-40.578168 -2.827788)'))) / (select extract(epoch from '2026-07-09 19:33:35'::timestamp) - extract(epoch from '2026-07-09 19:32: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'), 47635, 'SRID=4674;POINT (-40.578129 -2.827781)', '2026-07-09 19:33:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578168 -2.827788)'), GeomFromEWKT('SRID=4674;POINT (-40.578129 -2.827781)'))) / (select extract(epoch from '2026-07-09 19:33:44'::timestamp) - extract(epoch from '2026-07-09 19:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578168 -2.827788)'), GeomFromEWKT('SRID=4674;POINT (-40.578129 -2.827781)'))) / (select extract(epoch from '2026-07-09 19:33:44'::timestamp) - extract(epoch from '2026-07-09 19:33: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'), 47635, 'SRID=4674;POINT (-40.578043 -2.827764)', '2026-07-09 19:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578129 -2.827781)'), GeomFromEWKT('SRID=4674;POINT (-40.578043 -2.827764)'))) / (select extract(epoch from '2026-07-09 19:34:55'::timestamp) - extract(epoch from '2026-07-09 19:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578129 -2.827781)'), GeomFromEWKT('SRID=4674;POINT (-40.578043 -2.827764)'))) / (select extract(epoch from '2026-07-09 19:34:55'::timestamp) - extract(epoch from '2026-07-09 19:33: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'), 47635, 'SRID=4674;POINT (-40.578014 -2.82776)', '2026-07-09 19:35:04', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578043 -2.827764)'), GeomFromEWKT('SRID=4674;POINT (-40.578014 -2.82776)'))) / (select extract(epoch from '2026-07-09 19:35:04'::timestamp) - extract(epoch from '2026-07-09 19:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578043 -2.827764)'), GeomFromEWKT('SRID=4674;POINT (-40.578014 -2.82776)'))) / (select extract(epoch from '2026-07-09 19:35:04'::timestamp) - extract(epoch from '2026-07-09 19:34: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'), 47635, 'SRID=4674;POINT (-40.577912 -2.827731)', '2026-07-09 19:36:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578014 -2.82776)'), GeomFromEWKT('SRID=4674;POINT (-40.577912 -2.827731)'))) / (select extract(epoch from '2026-07-09 19:36:43'::timestamp) - extract(epoch from '2026-07-09 19:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.578014 -2.82776)'), GeomFromEWKT('SRID=4674;POINT (-40.577912 -2.827731)'))) / (select extract(epoch from '2026-07-09 19:36:43'::timestamp) - extract(epoch from '2026-07-09 19:35: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'), 47635, 'SRID=4674;POINT (-40.577855 -2.827727)', '2026-07-09 19:36:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577912 -2.827731)'), GeomFromEWKT('SRID=4674;POINT (-40.577855 -2.827727)'))) / (select extract(epoch from '2026-07-09 19:36:54'::timestamp) - extract(epoch from '2026-07-09 19:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577912 -2.827731)'), GeomFromEWKT('SRID=4674;POINT (-40.577855 -2.827727)'))) / (select extract(epoch from '2026-07-09 19:36:54'::timestamp) - extract(epoch from '2026-07-09 19:36: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'), 47635, 'SRID=4674;POINT (-40.577811 -2.827709)', '2026-07-09 19:37:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577855 -2.827727)'), GeomFromEWKT('SRID=4674;POINT (-40.577811 -2.827709)'))) / (select extract(epoch from '2026-07-09 19:37:04'::timestamp) - extract(epoch from '2026-07-09 19:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577855 -2.827727)'), GeomFromEWKT('SRID=4674;POINT (-40.577811 -2.827709)'))) / (select extract(epoch from '2026-07-09 19:37:04'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.577775 -2.827699)', '2026-07-09 19:37:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577811 -2.827709)'), GeomFromEWKT('SRID=4674;POINT (-40.577775 -2.827699)'))) / (select extract(epoch from '2026-07-09 19:37:12'::timestamp) - extract(epoch from '2026-07-09 19:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577811 -2.827709)'), GeomFromEWKT('SRID=4674;POINT (-40.577775 -2.827699)'))) / (select extract(epoch from '2026-07-09 19:37:12'::timestamp) - extract(epoch from '2026-07-09 19:37: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'), 47635, 'SRID=4674;POINT (-40.577732 -2.827693)', '2026-07-09 19:37:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577775 -2.827699)'), GeomFromEWKT('SRID=4674;POINT (-40.577732 -2.827693)'))) / (select extract(epoch from '2026-07-09 19:37:21'::timestamp) - extract(epoch from '2026-07-09 19:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577775 -2.827699)'), GeomFromEWKT('SRID=4674;POINT (-40.577732 -2.827693)'))) / (select extract(epoch from '2026-07-09 19:37:21'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.577678 -2.827682)', '2026-07-09 19:37:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577732 -2.827693)'), GeomFromEWKT('SRID=4674;POINT (-40.577678 -2.827682)'))) / (select extract(epoch from '2026-07-09 19:37:33'::timestamp) - extract(epoch from '2026-07-09 19:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577732 -2.827693)'), GeomFromEWKT('SRID=4674;POINT (-40.577678 -2.827682)'))) / (select extract(epoch from '2026-07-09 19:37:33'::timestamp) - extract(epoch from '2026-07-09 19:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.577639 -2.827653)', '2026-07-09 19:37:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577678 -2.827682)'), GeomFromEWKT('SRID=4674;POINT (-40.577639 -2.827653)'))) / (select extract(epoch from '2026-07-09 19:37:43'::timestamp) - extract(epoch from '2026-07-09 19:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577678 -2.827682)'), GeomFromEWKT('SRID=4674;POINT (-40.577639 -2.827653)'))) / (select extract(epoch from '2026-07-09 19:37:43'::timestamp) - extract(epoch from '2026-07-09 19:37: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'), 47635, 'SRID=4674;POINT (-40.577584 -2.827628)', '2026-07-09 19:38:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577639 -2.827653)'), GeomFromEWKT('SRID=4674;POINT (-40.577584 -2.827628)'))) / (select extract(epoch from '2026-07-09 19:38:07'::timestamp) - extract(epoch from '2026-07-09 19:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577639 -2.827653)'), GeomFromEWKT('SRID=4674;POINT (-40.577584 -2.827628)'))) / (select extract(epoch from '2026-07-09 19:38:07'::timestamp) - extract(epoch from '2026-07-09 19:37: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'), 47635, 'SRID=4674;POINT (-40.577544 -2.827614)', '2026-07-09 19:38:18', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577584 -2.827628)'), GeomFromEWKT('SRID=4674;POINT (-40.577544 -2.827614)'))) / (select extract(epoch from '2026-07-09 19:38:18'::timestamp) - extract(epoch from '2026-07-09 19:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577584 -2.827628)'), GeomFromEWKT('SRID=4674;POINT (-40.577544 -2.827614)'))) / (select extract(epoch from '2026-07-09 19:38:18'::timestamp) - extract(epoch from '2026-07-09 19:38: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'), 47635, 'SRID=4674;POINT (-40.577504 -2.82759)', '2026-07-09 19:38:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577544 -2.827614)'), GeomFromEWKT('SRID=4674;POINT (-40.577504 -2.82759)'))) / (select extract(epoch from '2026-07-09 19:38:54'::timestamp) - extract(epoch from '2026-07-09 19:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577544 -2.827614)'), GeomFromEWKT('SRID=4674;POINT (-40.577504 -2.82759)'))) / (select extract(epoch from '2026-07-09 19:38:54'::timestamp) - extract(epoch from '2026-07-09 19:38: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'), 47635, 'SRID=4674;POINT (-40.577441 -2.827551)', '2026-07-09 19:39:16', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577504 -2.82759)'), GeomFromEWKT('SRID=4674;POINT (-40.577441 -2.827551)'))) / (select extract(epoch from '2026-07-09 19:39:16'::timestamp) - extract(epoch from '2026-07-09 19:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577504 -2.82759)'), GeomFromEWKT('SRID=4674;POINT (-40.577441 -2.827551)'))) / (select extract(epoch from '2026-07-09 19:39:16'::timestamp) - extract(epoch from '2026-07-09 19:38: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'), 47635, 'SRID=4674;POINT (-40.577414 -2.82754)', '2026-07-09 19:39:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577441 -2.827551)'), GeomFromEWKT('SRID=4674;POINT (-40.577414 -2.82754)'))) / (select extract(epoch from '2026-07-09 19:39:29'::timestamp) - extract(epoch from '2026-07-09 19:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577441 -2.827551)'), GeomFromEWKT('SRID=4674;POINT (-40.577414 -2.82754)'))) / (select extract(epoch from '2026-07-09 19:39:29'::timestamp) - extract(epoch from '2026-07-09 19:39: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'), 47635, 'SRID=4674;POINT (-40.577335 -2.827518)', '2026-07-09 19:41:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577414 -2.82754)'), GeomFromEWKT('SRID=4674;POINT (-40.577335 -2.827518)'))) / (select extract(epoch from '2026-07-09 19:41:56'::timestamp) - extract(epoch from '2026-07-09 19:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577414 -2.82754)'), GeomFromEWKT('SRID=4674;POINT (-40.577335 -2.827518)'))) / (select extract(epoch from '2026-07-09 19:41:56'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.577284 -2.827491)', '2026-07-09 19:42:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577335 -2.827518)'), GeomFromEWKT('SRID=4674;POINT (-40.577284 -2.827491)'))) / (select extract(epoch from '2026-07-09 19:42:08'::timestamp) - extract(epoch from '2026-07-09 19:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577335 -2.827518)'), GeomFromEWKT('SRID=4674;POINT (-40.577284 -2.827491)'))) / (select extract(epoch from '2026-07-09 19:42:08'::timestamp) - extract(epoch from '2026-07-09 19:41: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'), 47635, 'SRID=4674;POINT (-40.577247 -2.82748)', '2026-07-09 19:42:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577284 -2.827491)'), GeomFromEWKT('SRID=4674;POINT (-40.577247 -2.82748)'))) / (select extract(epoch from '2026-07-09 19:42:17'::timestamp) - extract(epoch from '2026-07-09 19:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577284 -2.827491)'), GeomFromEWKT('SRID=4674;POINT (-40.577247 -2.82748)'))) / (select extract(epoch from '2026-07-09 19:42:17'::timestamp) - extract(epoch from '2026-07-09 19:42: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'), 47635, 'SRID=4674;POINT (-40.577211 -2.827475)', '2026-07-09 19:42:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577247 -2.82748)'), GeomFromEWKT('SRID=4674;POINT (-40.577211 -2.827475)'))) / (select extract(epoch from '2026-07-09 19:42:27'::timestamp) - extract(epoch from '2026-07-09 19:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577247 -2.82748)'), GeomFromEWKT('SRID=4674;POINT (-40.577211 -2.827475)'))) / (select extract(epoch from '2026-07-09 19:42:27'::timestamp) - extract(epoch from '2026-07-09 19:42: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'), 47635, 'SRID=4674;POINT (-40.577151 -2.827442)', '2026-07-09 19:42:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577211 -2.827475)'), GeomFromEWKT('SRID=4674;POINT (-40.577151 -2.827442)'))) / (select extract(epoch from '2026-07-09 19:42:39'::timestamp) - extract(epoch from '2026-07-09 19:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577211 -2.827475)'), GeomFromEWKT('SRID=4674;POINT (-40.577151 -2.827442)'))) / (select extract(epoch from '2026-07-09 19:42:39'::timestamp) - extract(epoch from '2026-07-09 19:42: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'), 47635, 'SRID=4674;POINT (-40.577123 -2.827405)', '2026-07-09 19:42:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577151 -2.827442)'), GeomFromEWKT('SRID=4674;POINT (-40.577123 -2.827405)'))) / (select extract(epoch from '2026-07-09 19:42:50'::timestamp) - extract(epoch from '2026-07-09 19:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577151 -2.827442)'), GeomFromEWKT('SRID=4674;POINT (-40.577123 -2.827405)'))) / (select extract(epoch from '2026-07-09 19:42:50'::timestamp) - extract(epoch from '2026-07-09 19:42: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'), 47635, 'SRID=4674;POINT (-40.57709 -2.827381)', '2026-07-09 19:43:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577123 -2.827405)'), GeomFromEWKT('SRID=4674;POINT (-40.57709 -2.827381)'))) / (select extract(epoch from '2026-07-09 19:43:00'::timestamp) - extract(epoch from '2026-07-09 19:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577123 -2.827405)'), GeomFromEWKT('SRID=4674;POINT (-40.57709 -2.827381)'))) / (select extract(epoch from '2026-07-09 19:43:00'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.577055 -2.827377)', '2026-07-09 19:43:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57709 -2.827381)'), GeomFromEWKT('SRID=4674;POINT (-40.577055 -2.827377)'))) / (select extract(epoch from '2026-07-09 19:43:07'::timestamp) - extract(epoch from '2026-07-09 19:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57709 -2.827381)'), GeomFromEWKT('SRID=4674;POINT (-40.577055 -2.827377)'))) / (select extract(epoch from '2026-07-09 19:43:07'::timestamp) - extract(epoch from '2026-07-09 19:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.577019 -2.827371)', '2026-07-09 19:43:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577055 -2.827377)'), GeomFromEWKT('SRID=4674;POINT (-40.577019 -2.827371)'))) / (select extract(epoch from '2026-07-09 19:43:17'::timestamp) - extract(epoch from '2026-07-09 19:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577055 -2.827377)'), GeomFromEWKT('SRID=4674;POINT (-40.577019 -2.827371)'))) / (select extract(epoch from '2026-07-09 19:43:17'::timestamp) - extract(epoch from '2026-07-09 19:43: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'), 47635, 'SRID=4674;POINT (-40.577001 -2.827364)', '2026-07-09 19:43:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577019 -2.827371)'), GeomFromEWKT('SRID=4674;POINT (-40.577001 -2.827364)'))) / (select extract(epoch from '2026-07-09 19:43:28'::timestamp) - extract(epoch from '2026-07-09 19:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577019 -2.827371)'), GeomFromEWKT('SRID=4674;POINT (-40.577001 -2.827364)'))) / (select extract(epoch from '2026-07-09 19:43:28'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.576952 -2.827344)', '2026-07-09 19:43:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577001 -2.827364)'), GeomFromEWKT('SRID=4674;POINT (-40.576952 -2.827344)'))) / (select extract(epoch from '2026-07-09 19:43:55'::timestamp) - extract(epoch from '2026-07-09 19:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.577001 -2.827364)'), GeomFromEWKT('SRID=4674;POINT (-40.576952 -2.827344)'))) / (select extract(epoch from '2026-07-09 19:43:55'::timestamp) - extract(epoch from '2026-07-09 19:43: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'), 47635, 'SRID=4674;POINT (-40.576921 -2.827327)', '2026-07-09 19:44:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576952 -2.827344)'), GeomFromEWKT('SRID=4674;POINT (-40.576921 -2.827327)'))) / (select extract(epoch from '2026-07-09 19:44:04'::timestamp) - extract(epoch from '2026-07-09 19:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576952 -2.827344)'), GeomFromEWKT('SRID=4674;POINT (-40.576921 -2.827327)'))) / (select extract(epoch from '2026-07-09 19:44:04'::timestamp) - extract(epoch from '2026-07-09 19:43: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'), 47635, 'SRID=4674;POINT (-40.576902 -2.827264)', '2026-07-09 19:45:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576921 -2.827327)'), GeomFromEWKT('SRID=4674;POINT (-40.576902 -2.827264)'))) / (select extract(epoch from '2026-07-09 19:45:15'::timestamp) - extract(epoch from '2026-07-09 19:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576921 -2.827327)'), GeomFromEWKT('SRID=4674;POINT (-40.576902 -2.827264)'))) / (select extract(epoch from '2026-07-09 19:45:15'::timestamp) - extract(epoch from '2026-07-09 19:44: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'), 47635, 'SRID=4674;POINT (-40.576868 -2.827242)', '2026-07-09 19:45:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576902 -2.827264)'), GeomFromEWKT('SRID=4674;POINT (-40.576868 -2.827242)'))) / (select extract(epoch from '2026-07-09 19:45:25'::timestamp) - extract(epoch from '2026-07-09 19:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576902 -2.827264)'), GeomFromEWKT('SRID=4674;POINT (-40.576868 -2.827242)'))) / (select extract(epoch from '2026-07-09 19:45:25'::timestamp) - extract(epoch from '2026-07-09 19:45: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'), 47635, 'SRID=4674;POINT (-40.576859 -2.827243)', '2026-07-09 19:45:37', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576868 -2.827242)'), GeomFromEWKT('SRID=4674;POINT (-40.576859 -2.827243)'))) / (select extract(epoch from '2026-07-09 19:45:37'::timestamp) - extract(epoch from '2026-07-09 19:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576868 -2.827242)'), GeomFromEWKT('SRID=4674;POINT (-40.576859 -2.827243)'))) / (select extract(epoch from '2026-07-09 19:45:37'::timestamp) - extract(epoch from '2026-07-09 19:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.576797 -2.827218)', '2026-07-09 19:46:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576859 -2.827243)'), GeomFromEWKT('SRID=4674;POINT (-40.576797 -2.827218)'))) / (select extract(epoch from '2026-07-09 19:46:16'::timestamp) - extract(epoch from '2026-07-09 19:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576859 -2.827243)'), GeomFromEWKT('SRID=4674;POINT (-40.576797 -2.827218)'))) / (select extract(epoch from '2026-07-09 19:46:16'::timestamp) - extract(epoch from '2026-07-09 19:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.576747 -2.827176)', '2026-07-09 19:46:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576797 -2.827218)'), GeomFromEWKT('SRID=4674;POINT (-40.576747 -2.827176)'))) / (select extract(epoch from '2026-07-09 19:46:28'::timestamp) - extract(epoch from '2026-07-09 19:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576797 -2.827218)'), GeomFromEWKT('SRID=4674;POINT (-40.576747 -2.827176)'))) / (select extract(epoch from '2026-07-09 19:46:28'::timestamp) - extract(epoch from '2026-07-09 19:46: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'), 47635, 'SRID=4674;POINT (-40.576718 -2.827162)', '2026-07-09 19:46:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576747 -2.827176)'), GeomFromEWKT('SRID=4674;POINT (-40.576718 -2.827162)'))) / (select extract(epoch from '2026-07-09 19:46:38'::timestamp) - extract(epoch from '2026-07-09 19:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576747 -2.827176)'), GeomFromEWKT('SRID=4674;POINT (-40.576718 -2.827162)'))) / (select extract(epoch from '2026-07-09 19:46:38'::timestamp) - extract(epoch from '2026-07-09 19:46: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'), 47635, 'SRID=4674;POINT (-40.576698 -2.827147)', '2026-07-09 19:47:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576718 -2.827162)'), GeomFromEWKT('SRID=4674;POINT (-40.576698 -2.827147)'))) / (select extract(epoch from '2026-07-09 19:47:23'::timestamp) - extract(epoch from '2026-07-09 19:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576718 -2.827162)'), GeomFromEWKT('SRID=4674;POINT (-40.576698 -2.827147)'))) / (select extract(epoch from '2026-07-09 19:47:23'::timestamp) - extract(epoch from '2026-07-09 19:46: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'), 47635, 'SRID=4674;POINT (-40.576665 -2.82711)', '2026-07-09 19:47:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576698 -2.827147)'), GeomFromEWKT('SRID=4674;POINT (-40.576665 -2.82711)'))) / (select extract(epoch from '2026-07-09 19:47:33'::timestamp) - extract(epoch from '2026-07-09 19:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576698 -2.827147)'), GeomFromEWKT('SRID=4674;POINT (-40.576665 -2.82711)'))) / (select extract(epoch from '2026-07-09 19:47:33'::timestamp) - extract(epoch from '2026-07-09 19:47: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'), 47635, 'SRID=4674;POINT (-40.576656 -2.8271)', '2026-07-09 19:47:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576665 -2.82711)'), GeomFromEWKT('SRID=4674;POINT (-40.576656 -2.8271)'))) / (select extract(epoch from '2026-07-09 19:47:45'::timestamp) - extract(epoch from '2026-07-09 19:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576665 -2.82711)'), GeomFromEWKT('SRID=4674;POINT (-40.576656 -2.8271)'))) / (select extract(epoch from '2026-07-09 19:47:45'::timestamp) - extract(epoch from '2026-07-09 19:47: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'), 47635, 'SRID=4674;POINT (-40.576628 -2.827083)', '2026-07-09 19:48:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576656 -2.8271)'), GeomFromEWKT('SRID=4674;POINT (-40.576628 -2.827083)'))) / (select extract(epoch from '2026-07-09 19:48:29'::timestamp) - extract(epoch from '2026-07-09 19:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576656 -2.8271)'), GeomFromEWKT('SRID=4674;POINT (-40.576628 -2.827083)'))) / (select extract(epoch from '2026-07-09 19:48:29'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.576582 -2.827041)', '2026-07-09 19:49:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576628 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.576582 -2.827041)'))) / (select extract(epoch from '2026-07-09 19:49:01'::timestamp) - extract(epoch from '2026-07-09 19:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576628 -2.827083)'), GeomFromEWKT('SRID=4674;POINT (-40.576582 -2.827041)'))) / (select extract(epoch from '2026-07-09 19:49:01'::timestamp) - extract(epoch from '2026-07-09 19:48: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'), 47635, 'SRID=4674;POINT (-40.576521 -2.827024)', '2026-07-09 19:49:27', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576582 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.576521 -2.827024)'))) / (select extract(epoch from '2026-07-09 19:49:27'::timestamp) - extract(epoch from '2026-07-09 19:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576582 -2.827041)'), GeomFromEWKT('SRID=4674;POINT (-40.576521 -2.827024)'))) / (select extract(epoch from '2026-07-09 19:49:27'::timestamp) - extract(epoch from '2026-07-09 19:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.576473 -2.826996)', '2026-07-09 19:49:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576521 -2.827024)'), GeomFromEWKT('SRID=4674;POINT (-40.576473 -2.826996)'))) / (select extract(epoch from '2026-07-09 19:49:38'::timestamp) - extract(epoch from '2026-07-09 19:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576521 -2.827024)'), GeomFromEWKT('SRID=4674;POINT (-40.576473 -2.826996)'))) / (select extract(epoch from '2026-07-09 19:49:38'::timestamp) - extract(epoch from '2026-07-09 19:49: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'), 47635, 'SRID=4674;POINT (-40.576421 -2.826969)', '2026-07-09 19:49:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576473 -2.826996)'), GeomFromEWKT('SRID=4674;POINT (-40.576421 -2.826969)'))) / (select extract(epoch from '2026-07-09 19:49:51'::timestamp) - extract(epoch from '2026-07-09 19:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576473 -2.826996)'), GeomFromEWKT('SRID=4674;POINT (-40.576421 -2.826969)'))) / (select extract(epoch from '2026-07-09 19:49:51'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.576384 -2.826942)', '2026-07-09 19:50:04', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576421 -2.826969)'), GeomFromEWKT('SRID=4674;POINT (-40.576384 -2.826942)'))) / (select extract(epoch from '2026-07-09 19:50:04'::timestamp) - extract(epoch from '2026-07-09 19:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576421 -2.826969)'), GeomFromEWKT('SRID=4674;POINT (-40.576384 -2.826942)'))) / (select extract(epoch from '2026-07-09 19:50:04'::timestamp) - extract(epoch from '2026-07-09 19:49: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'), 47635, 'SRID=4674;POINT (-40.576376 -2.826877)', '2026-07-09 19:52:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576384 -2.826942)'), GeomFromEWKT('SRID=4674;POINT (-40.576376 -2.826877)'))) / (select extract(epoch from '2026-07-09 19:52:07'::timestamp) - extract(epoch from '2026-07-09 19:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576384 -2.826942)'), GeomFromEWKT('SRID=4674;POINT (-40.576376 -2.826877)'))) / (select extract(epoch from '2026-07-09 19:52:07'::timestamp) - extract(epoch from '2026-07-09 19:50:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.576329 -2.826846)', '2026-07-09 19:52:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576376 -2.826877)'), GeomFromEWKT('SRID=4674;POINT (-40.576329 -2.826846)'))) / (select extract(epoch from '2026-07-09 19:52:35'::timestamp) - extract(epoch from '2026-07-09 19:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576376 -2.826877)'), GeomFromEWKT('SRID=4674;POINT (-40.576329 -2.826846)'))) / (select extract(epoch from '2026-07-09 19:52:35'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.57632 -2.826843)', '2026-07-09 19:52:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576329 -2.826846)'), GeomFromEWKT('SRID=4674;POINT (-40.57632 -2.826843)'))) / (select extract(epoch from '2026-07-09 19:52:46'::timestamp) - extract(epoch from '2026-07-09 19:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576329 -2.826846)'), GeomFromEWKT('SRID=4674;POINT (-40.57632 -2.826843)'))) / (select extract(epoch from '2026-07-09 19:52:46'::timestamp) - extract(epoch from '2026-07-09 19:52: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'), 47635, 'SRID=4674;POINT (-40.576254 -2.826779)', '2026-07-09 19:53:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57632 -2.826843)'), GeomFromEWKT('SRID=4674;POINT (-40.576254 -2.826779)'))) / (select extract(epoch from '2026-07-09 19:53:32'::timestamp) - extract(epoch from '2026-07-09 19:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57632 -2.826843)'), GeomFromEWKT('SRID=4674;POINT (-40.576254 -2.826779)'))) / (select extract(epoch from '2026-07-09 19:53:32'::timestamp) - extract(epoch from '2026-07-09 19:52: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'), 47635, 'SRID=4674;POINT (-40.576196 -2.826757)', '2026-07-09 19:53:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576254 -2.826779)'), GeomFromEWKT('SRID=4674;POINT (-40.576196 -2.826757)'))) / (select extract(epoch from '2026-07-09 19:53:45'::timestamp) - extract(epoch from '2026-07-09 19:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576254 -2.826779)'), GeomFromEWKT('SRID=4674;POINT (-40.576196 -2.826757)'))) / (select extract(epoch from '2026-07-09 19:53:45'::timestamp) - extract(epoch from '2026-07-09 19:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.576173 -2.826749)', '2026-07-09 19:53:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576196 -2.826757)'), GeomFromEWKT('SRID=4674;POINT (-40.576173 -2.826749)'))) / (select extract(epoch from '2026-07-09 19:53:56'::timestamp) - extract(epoch from '2026-07-09 19:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576196 -2.826757)'), GeomFromEWKT('SRID=4674;POINT (-40.576173 -2.826749)'))) / (select extract(epoch from '2026-07-09 19:53:56'::timestamp) - extract(epoch from '2026-07-09 19:53: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'), 47635, 'SRID=4674;POINT (-40.576154 -2.826717)', '2026-07-09 19:54:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576173 -2.826749)'), GeomFromEWKT('SRID=4674;POINT (-40.576154 -2.826717)'))) / (select extract(epoch from '2026-07-09 19:54:11'::timestamp) - extract(epoch from '2026-07-09 19:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576173 -2.826749)'), GeomFromEWKT('SRID=4674;POINT (-40.576154 -2.826717)'))) / (select extract(epoch from '2026-07-09 19:54:11'::timestamp) - extract(epoch from '2026-07-09 19:53: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'), 47635, 'SRID=4674;POINT (-40.576108 -2.826682)', '2026-07-09 19:54:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576154 -2.826717)'), GeomFromEWKT('SRID=4674;POINT (-40.576108 -2.826682)'))) / (select extract(epoch from '2026-07-09 19:54:36'::timestamp) - extract(epoch from '2026-07-09 19:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576154 -2.826717)'), GeomFromEWKT('SRID=4674;POINT (-40.576108 -2.826682)'))) / (select extract(epoch from '2026-07-09 19:54:36'::timestamp) - extract(epoch from '2026-07-09 19: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'), 47635, 'SRID=4674;POINT (-40.576049 -2.826641)', '2026-07-09 19:54:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576108 -2.826682)'), GeomFromEWKT('SRID=4674;POINT (-40.576049 -2.826641)'))) / (select extract(epoch from '2026-07-09 19:54:48'::timestamp) - extract(epoch from '2026-07-09 19:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576108 -2.826682)'), GeomFromEWKT('SRID=4674;POINT (-40.576049 -2.826641)'))) / (select extract(epoch from '2026-07-09 19:54:48'::timestamp) - extract(epoch from '2026-07-09 19:54: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'), 47635, 'SRID=4674;POINT (-40.575996 -2.826611)', '2026-07-09 19:55:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576049 -2.826641)'), GeomFromEWKT('SRID=4674;POINT (-40.575996 -2.826611)'))) / (select extract(epoch from '2026-07-09 19:55:00'::timestamp) - extract(epoch from '2026-07-09 19:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.576049 -2.826641)'), GeomFromEWKT('SRID=4674;POINT (-40.575996 -2.826611)'))) / (select extract(epoch from '2026-07-09 19:55:00'::timestamp) - extract(epoch from '2026-07-09 19:54: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'), 47635, 'SRID=4674;POINT (-40.575962 -2.826596)', '2026-07-09 19:55:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575996 -2.826611)'), GeomFromEWKT('SRID=4674;POINT (-40.575962 -2.826596)'))) / (select extract(epoch from '2026-07-09 19:55:09'::timestamp) - extract(epoch from '2026-07-09 19:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575996 -2.826611)'), GeomFromEWKT('SRID=4674;POINT (-40.575962 -2.826596)'))) / (select extract(epoch from '2026-07-09 19:55:09'::timestamp) - extract(epoch from '2026-07-09 19:55: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'), 47635, 'SRID=4674;POINT (-40.5759 -2.826523)', '2026-07-09 19:57:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575962 -2.826596)'), GeomFromEWKT('SRID=4674;POINT (-40.5759 -2.826523)'))) / (select extract(epoch from '2026-07-09 19:57:34'::timestamp) - extract(epoch from '2026-07-09 19:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575962 -2.826596)'), GeomFromEWKT('SRID=4674;POINT (-40.5759 -2.826523)'))) / (select extract(epoch from '2026-07-09 19:57:34'::timestamp) - extract(epoch from '2026-07-09 19:55: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'), 47635, 'SRID=4674;POINT (-40.575845 -2.826479)', '2026-07-09 19:57:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5759 -2.826523)'), GeomFromEWKT('SRID=4674;POINT (-40.575845 -2.826479)'))) / (select extract(epoch from '2026-07-09 19:57:47'::timestamp) - extract(epoch from '2026-07-09 19:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5759 -2.826523)'), GeomFromEWKT('SRID=4674;POINT (-40.575845 -2.826479)'))) / (select extract(epoch from '2026-07-09 19:57:47'::timestamp) - extract(epoch from '2026-07-09 19:57: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'), 47635, 'SRID=4674;POINT (-40.575801 -2.826443)', '2026-07-09 19:57:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575845 -2.826479)'), GeomFromEWKT('SRID=4674;POINT (-40.575801 -2.826443)'))) / (select extract(epoch from '2026-07-09 19:57:59'::timestamp) - extract(epoch from '2026-07-09 19:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575845 -2.826479)'), GeomFromEWKT('SRID=4674;POINT (-40.575801 -2.826443)'))) / (select extract(epoch from '2026-07-09 19:57:59'::timestamp) - extract(epoch from '2026-07-09 19:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.575777 -2.826437)', '2026-07-09 19:58:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575801 -2.826443)'), GeomFromEWKT('SRID=4674;POINT (-40.575777 -2.826437)'))) / (select extract(epoch from '2026-07-09 19:58:08'::timestamp) - extract(epoch from '2026-07-09 19:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575801 -2.826443)'), GeomFromEWKT('SRID=4674;POINT (-40.575777 -2.826437)'))) / (select extract(epoch from '2026-07-09 19:58:08'::timestamp) - extract(epoch from '2026-07-09 19:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.575742 -2.826407)', '2026-07-09 19:58:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575777 -2.826437)'), GeomFromEWKT('SRID=4674;POINT (-40.575742 -2.826407)'))) / (select extract(epoch from '2026-07-09 19:58:53'::timestamp) - extract(epoch from '2026-07-09 19:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575777 -2.826437)'), GeomFromEWKT('SRID=4674;POINT (-40.575742 -2.826407)'))) / (select extract(epoch from '2026-07-09 19:58:53'::timestamp) - extract(epoch from '2026-07-09 19:58: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'), 47635, 'SRID=4674;POINT (-40.5757 -2.826394)', '2026-07-09 19:59:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575742 -2.826407)'), GeomFromEWKT('SRID=4674;POINT (-40.5757 -2.826394)'))) / (select extract(epoch from '2026-07-09 19:59:04'::timestamp) - extract(epoch from '2026-07-09 19:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575742 -2.826407)'), GeomFromEWKT('SRID=4674;POINT (-40.5757 -2.826394)'))) / (select extract(epoch from '2026-07-09 19:59:04'::timestamp) - extract(epoch from '2026-07-09 19:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.575661 -2.826378)', '2026-07-09 20:00:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5757 -2.826394)'), GeomFromEWKT('SRID=4674;POINT (-40.575661 -2.826378)'))) / (select extract(epoch from '2026-07-09 20:00:20'::timestamp) - extract(epoch from '2026-07-09 19:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5757 -2.826394)'), GeomFromEWKT('SRID=4674;POINT (-40.575661 -2.826378)'))) / (select extract(epoch from '2026-07-09 20:00:20'::timestamp) - extract(epoch from '2026-07-09 19:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.575603 -2.826341)', '2026-07-09 20:00:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575661 -2.826378)'), GeomFromEWKT('SRID=4674;POINT (-40.575603 -2.826341)'))) / (select extract(epoch from '2026-07-09 20:00:32'::timestamp) - extract(epoch from '2026-07-09 20:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575661 -2.826378)'), GeomFromEWKT('SRID=4674;POINT (-40.575603 -2.826341)'))) / (select extract(epoch from '2026-07-09 20:00:32'::timestamp) - extract(epoch from '2026-07-09 20:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.575586 -2.826316)', '2026-07-09 20:00:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575603 -2.826341)'), GeomFromEWKT('SRID=4674;POINT (-40.575586 -2.826316)'))) / (select extract(epoch from '2026-07-09 20:00:43'::timestamp) - extract(epoch from '2026-07-09 20:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575603 -2.826341)'), GeomFromEWKT('SRID=4674;POINT (-40.575586 -2.826316)'))) / (select extract(epoch from '2026-07-09 20:00:43'::timestamp) - extract(epoch from '2026-07-09 20:00: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'), 47635, 'SRID=4674;POINT (-40.575502 -2.826272)', '2026-07-09 20:01:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575586 -2.826316)'), GeomFromEWKT('SRID=4674;POINT (-40.575502 -2.826272)'))) / (select extract(epoch from '2026-07-09 20:01:59'::timestamp) - extract(epoch from '2026-07-09 20:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575586 -2.826316)'), GeomFromEWKT('SRID=4674;POINT (-40.575502 -2.826272)'))) / (select extract(epoch from '2026-07-09 20:01:59'::timestamp) - extract(epoch from '2026-07-09 20:00: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'), 47635, 'SRID=4674;POINT (-40.575451 -2.82624)', '2026-07-09 20:02:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575502 -2.826272)'), GeomFromEWKT('SRID=4674;POINT (-40.575451 -2.82624)'))) / (select extract(epoch from '2026-07-09 20:02:35'::timestamp) - extract(epoch from '2026-07-09 20:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575502 -2.826272)'), GeomFromEWKT('SRID=4674;POINT (-40.575451 -2.82624)'))) / (select extract(epoch from '2026-07-09 20:02:35'::timestamp) - extract(epoch from '2026-07-09 20:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.575402 -2.826223)', '2026-07-09 20:02:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575451 -2.82624)'), GeomFromEWKT('SRID=4674;POINT (-40.575402 -2.826223)'))) / (select extract(epoch from '2026-07-09 20:02:46'::timestamp) - extract(epoch from '2026-07-09 20:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575451 -2.82624)'), GeomFromEWKT('SRID=4674;POINT (-40.575402 -2.826223)'))) / (select extract(epoch from '2026-07-09 20:02:46'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.575367 -2.826215)', '2026-07-09 20:02:56', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575402 -2.826223)'), GeomFromEWKT('SRID=4674;POINT (-40.575367 -2.826215)'))) / (select extract(epoch from '2026-07-09 20:02:56'::timestamp) - extract(epoch from '2026-07-09 20:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575402 -2.826223)'), GeomFromEWKT('SRID=4674;POINT (-40.575367 -2.826215)'))) / (select extract(epoch from '2026-07-09 20:02:56'::timestamp) - extract(epoch from '2026-07-09 20:02: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'), 47635, 'SRID=4674;POINT (-40.575321 -2.82619)', '2026-07-09 20:03:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575367 -2.826215)'), GeomFromEWKT('SRID=4674;POINT (-40.575321 -2.82619)'))) / (select extract(epoch from '2026-07-09 20:03:17'::timestamp) - extract(epoch from '2026-07-09 20:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575367 -2.826215)'), GeomFromEWKT('SRID=4674;POINT (-40.575321 -2.82619)'))) / (select extract(epoch from '2026-07-09 20:03:17'::timestamp) - extract(epoch from '2026-07-09 20:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.575284 -2.826193)', '2026-07-09 20:03:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575321 -2.82619)'), GeomFromEWKT('SRID=4674;POINT (-40.575284 -2.826193)'))) / (select extract(epoch from '2026-07-09 20:03:29'::timestamp) - extract(epoch from '2026-07-09 20:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575321 -2.82619)'), GeomFromEWKT('SRID=4674;POINT (-40.575284 -2.826193)'))) / (select extract(epoch from '2026-07-09 20:03:29'::timestamp) - extract(epoch from '2026-07-09 20:03: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'), 47635, 'SRID=4674;POINT (-40.575237 -2.826182)', '2026-07-09 20:03:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575284 -2.826193)'), GeomFromEWKT('SRID=4674;POINT (-40.575237 -2.826182)'))) / (select extract(epoch from '2026-07-09 20:03:39'::timestamp) - extract(epoch from '2026-07-09 20:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575284 -2.826193)'), GeomFromEWKT('SRID=4674;POINT (-40.575237 -2.826182)'))) / (select extract(epoch from '2026-07-09 20:03:39'::timestamp) - extract(epoch from '2026-07-09 20:03: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'), 47635, 'SRID=4674;POINT (-40.57519 -2.826152)', '2026-07-09 20:03:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575237 -2.826182)'), GeomFromEWKT('SRID=4674;POINT (-40.57519 -2.826152)'))) / (select extract(epoch from '2026-07-09 20:03:48'::timestamp) - extract(epoch from '2026-07-09 20:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575237 -2.826182)'), GeomFromEWKT('SRID=4674;POINT (-40.57519 -2.826152)'))) / (select extract(epoch from '2026-07-09 20:03:48'::timestamp) - extract(epoch from '2026-07-09 20:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.575165 -2.826133)', '2026-07-09 20:03:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57519 -2.826152)'), GeomFromEWKT('SRID=4674;POINT (-40.575165 -2.826133)'))) / (select extract(epoch from '2026-07-09 20:03:58'::timestamp) - extract(epoch from '2026-07-09 20:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57519 -2.826152)'), GeomFromEWKT('SRID=4674;POINT (-40.575165 -2.826133)'))) / (select extract(epoch from '2026-07-09 20:03:58'::timestamp) - extract(epoch from '2026-07-09 20:03: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'), 47635, 'SRID=4674;POINT (-40.575098 -2.826134)', '2026-07-09 20:04:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575165 -2.826133)'), GeomFromEWKT('SRID=4674;POINT (-40.575098 -2.826134)'))) / (select extract(epoch from '2026-07-09 20:04:38'::timestamp) - extract(epoch from '2026-07-09 20:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575165 -2.826133)'), GeomFromEWKT('SRID=4674;POINT (-40.575098 -2.826134)'))) / (select extract(epoch from '2026-07-09 20:04:38'::timestamp) - extract(epoch from '2026-07-09 20:03: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'), 47635, 'SRID=4674;POINT (-40.575042 -2.826127)', '2026-07-09 20:04:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575098 -2.826134)'), GeomFromEWKT('SRID=4674;POINT (-40.575042 -2.826127)'))) / (select extract(epoch from '2026-07-09 20:04:49'::timestamp) - extract(epoch from '2026-07-09 20:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575098 -2.826134)'), GeomFromEWKT('SRID=4674;POINT (-40.575042 -2.826127)'))) / (select extract(epoch from '2026-07-09 20:04:49'::timestamp) - extract(epoch from '2026-07-09 20:04: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'), 47635, 'SRID=4674;POINT (-40.574985 -2.826105)', '2026-07-09 20:05:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575042 -2.826127)'), GeomFromEWKT('SRID=4674;POINT (-40.574985 -2.826105)'))) / (select extract(epoch from '2026-07-09 20:05:13'::timestamp) - extract(epoch from '2026-07-09 20:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.575042 -2.826127)'), GeomFromEWKT('SRID=4674;POINT (-40.574985 -2.826105)'))) / (select extract(epoch from '2026-07-09 20:05:13'::timestamp) - extract(epoch from '2026-07-09 20:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.574929 -2.826092)', '2026-07-09 20:05:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574985 -2.826105)'), GeomFromEWKT('SRID=4674;POINT (-40.574929 -2.826092)'))) / (select extract(epoch from '2026-07-09 20:05:24'::timestamp) - extract(epoch from '2026-07-09 20:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574985 -2.826105)'), GeomFromEWKT('SRID=4674;POINT (-40.574929 -2.826092)'))) / (select extract(epoch from '2026-07-09 20:05:24'::timestamp) - extract(epoch from '2026-07-09 20:05: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'), 47635, 'SRID=4674;POINT (-40.574895 -2.826084)', '2026-07-09 20:05:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574929 -2.826092)'), GeomFromEWKT('SRID=4674;POINT (-40.574895 -2.826084)'))) / (select extract(epoch from '2026-07-09 20:05:31'::timestamp) - extract(epoch from '2026-07-09 20:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574929 -2.826092)'), GeomFromEWKT('SRID=4674;POINT (-40.574895 -2.826084)'))) / (select extract(epoch from '2026-07-09 20:05:31'::timestamp) - extract(epoch from '2026-07-09 20:05:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.574873 -2.826072)', '2026-07-09 20:05:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574895 -2.826084)'), GeomFromEWKT('SRID=4674;POINT (-40.574873 -2.826072)'))) / (select extract(epoch from '2026-07-09 20:05:38'::timestamp) - extract(epoch from '2026-07-09 20:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574895 -2.826084)'), GeomFromEWKT('SRID=4674;POINT (-40.574873 -2.826072)'))) / (select extract(epoch from '2026-07-09 20:05:38'::timestamp) - extract(epoch from '2026-07-09 20:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.574802 -2.826065)', '2026-07-09 20:06:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574873 -2.826072)'), GeomFromEWKT('SRID=4674;POINT (-40.574802 -2.826065)'))) / (select extract(epoch from '2026-07-09 20:06:10'::timestamp) - extract(epoch from '2026-07-09 20:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574873 -2.826072)'), GeomFromEWKT('SRID=4674;POINT (-40.574802 -2.826065)'))) / (select extract(epoch from '2026-07-09 20:06:10'::timestamp) - extract(epoch from '2026-07-09 20:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.57476 -2.826054)', '2026-07-09 20:06:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574802 -2.826065)'), GeomFromEWKT('SRID=4674;POINT (-40.57476 -2.826054)'))) / (select extract(epoch from '2026-07-09 20:06:19'::timestamp) - extract(epoch from '2026-07-09 20:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574802 -2.826065)'), GeomFromEWKT('SRID=4674;POINT (-40.57476 -2.826054)'))) / (select extract(epoch from '2026-07-09 20:06:19'::timestamp) - extract(epoch from '2026-07-09 20:06: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'), 47635, 'SRID=4674;POINT (-40.574741 -2.826039)', '2026-07-09 20:06:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57476 -2.826054)'), GeomFromEWKT('SRID=4674;POINT (-40.574741 -2.826039)'))) / (select extract(epoch from '2026-07-09 20:06:28'::timestamp) - extract(epoch from '2026-07-09 20:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57476 -2.826054)'), GeomFromEWKT('SRID=4674;POINT (-40.574741 -2.826039)'))) / (select extract(epoch from '2026-07-09 20:06:28'::timestamp) - extract(epoch from '2026-07-09 20:06: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'), 47635, 'SRID=4674;POINT (-40.574711 -2.826027)', '2026-07-09 20:07:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574741 -2.826039)'), GeomFromEWKT('SRID=4674;POINT (-40.574711 -2.826027)'))) / (select extract(epoch from '2026-07-09 20:07:13'::timestamp) - extract(epoch from '2026-07-09 20:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574741 -2.826039)'), GeomFromEWKT('SRID=4674;POINT (-40.574711 -2.826027)'))) / (select extract(epoch from '2026-07-09 20:07:13'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.574652 -2.826005)', '2026-07-09 20:07:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574711 -2.826027)'), GeomFromEWKT('SRID=4674;POINT (-40.574652 -2.826005)'))) / (select extract(epoch from '2026-07-09 20:07:24'::timestamp) - extract(epoch from '2026-07-09 20:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574711 -2.826027)'), GeomFromEWKT('SRID=4674;POINT (-40.574652 -2.826005)'))) / (select extract(epoch from '2026-07-09 20:07:24'::timestamp) - extract(epoch from '2026-07-09 20:07: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'), 47635, 'SRID=4674;POINT (-40.574585 -2.825989)', '2026-07-09 20:07:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574652 -2.826005)'), GeomFromEWKT('SRID=4674;POINT (-40.574585 -2.825989)'))) / (select extract(epoch from '2026-07-09 20:07:39'::timestamp) - extract(epoch from '2026-07-09 20:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574652 -2.826005)'), GeomFromEWKT('SRID=4674;POINT (-40.574585 -2.825989)'))) / (select extract(epoch from '2026-07-09 20:07:39'::timestamp) - extract(epoch from '2026-07-09 20:07: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'), 47635, 'SRID=4674;POINT (-40.574572 -2.825983)', '2026-07-09 20:07:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574585 -2.825989)'), GeomFromEWKT('SRID=4674;POINT (-40.574572 -2.825983)'))) / (select extract(epoch from '2026-07-09 20:07:53'::timestamp) - extract(epoch from '2026-07-09 20:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574585 -2.825989)'), GeomFromEWKT('SRID=4674;POINT (-40.574572 -2.825983)'))) / (select extract(epoch from '2026-07-09 20:07:53'::timestamp) - extract(epoch from '2026-07-09 20:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.574523 -2.825989)', '2026-07-09 20:08:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574572 -2.825983)'), GeomFromEWKT('SRID=4674;POINT (-40.574523 -2.825989)'))) / (select extract(epoch from '2026-07-09 20:08:07'::timestamp) - extract(epoch from '2026-07-09 20:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574572 -2.825983)'), GeomFromEWKT('SRID=4674;POINT (-40.574523 -2.825989)'))) / (select extract(epoch from '2026-07-09 20:08:07'::timestamp) - extract(epoch from '2026-07-09 20:07: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'), 47635, 'SRID=4674;POINT (-40.574448 -2.82598)', '2026-07-09 20:08:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574523 -2.825989)'), GeomFromEWKT('SRID=4674;POINT (-40.574448 -2.82598)'))) / (select extract(epoch from '2026-07-09 20:08:20'::timestamp) - extract(epoch from '2026-07-09 20:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574523 -2.825989)'), GeomFromEWKT('SRID=4674;POINT (-40.574448 -2.82598)'))) / (select extract(epoch from '2026-07-09 20:08:20'::timestamp) - extract(epoch from '2026-07-09 20:08: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'), 47635, 'SRID=4674;POINT (-40.574411 -2.82597)', '2026-07-09 20:08:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574448 -2.82598)'), GeomFromEWKT('SRID=4674;POINT (-40.574411 -2.82597)'))) / (select extract(epoch from '2026-07-09 20:08:28'::timestamp) - extract(epoch from '2026-07-09 20:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574448 -2.82598)'), GeomFromEWKT('SRID=4674;POINT (-40.574411 -2.82597)'))) / (select extract(epoch from '2026-07-09 20:08:28'::timestamp) - extract(epoch from '2026-07-09 20:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.574388 -2.825966)', '2026-07-09 20:08:38', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574411 -2.82597)'), GeomFromEWKT('SRID=4674;POINT (-40.574388 -2.825966)'))) / (select extract(epoch from '2026-07-09 20:08:38'::timestamp) - extract(epoch from '2026-07-09 20:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574411 -2.82597)'), GeomFromEWKT('SRID=4674;POINT (-40.574388 -2.825966)'))) / (select extract(epoch from '2026-07-09 20:08:38'::timestamp) - extract(epoch from '2026-07-09 20:08: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'), 47635, 'SRID=4674;POINT (-40.574381 -2.825943)', '2026-07-09 20:09:20', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574388 -2.825966)'), GeomFromEWKT('SRID=4674;POINT (-40.574381 -2.825943)'))) / (select extract(epoch from '2026-07-09 20:09:20'::timestamp) - extract(epoch from '2026-07-09 20:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574388 -2.825966)'), GeomFromEWKT('SRID=4674;POINT (-40.574381 -2.825943)'))) / (select extract(epoch from '2026-07-09 20:09:20'::timestamp) - extract(epoch from '2026-07-09 20:08: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'), 47635, 'SRID=4674;POINT (-40.57431 -2.825931)', '2026-07-09 20:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574381 -2.825943)'), GeomFromEWKT('SRID=4674;POINT (-40.57431 -2.825931)'))) / (select extract(epoch from '2026-07-09 20:09:35'::timestamp) - extract(epoch from '2026-07-09 20:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574381 -2.825943)'), GeomFromEWKT('SRID=4674;POINT (-40.57431 -2.825931)'))) / (select extract(epoch from '2026-07-09 20:09:35'::timestamp) - extract(epoch from '2026-07-09 20:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.574295 -2.825929)', '2026-07-09 20:09:44', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57431 -2.825931)'), GeomFromEWKT('SRID=4674;POINT (-40.574295 -2.825929)'))) / (select extract(epoch from '2026-07-09 20:09:44'::timestamp) - extract(epoch from '2026-07-09 20:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57431 -2.825931)'), GeomFromEWKT('SRID=4674;POINT (-40.574295 -2.825929)'))) / (select extract(epoch from '2026-07-09 20:09:44'::timestamp) - extract(epoch from '2026-07-09 20:09: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'), 47635, 'SRID=4674;POINT (-40.574226 -2.825937)', '2026-07-09 20:10:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574295 -2.825929)'), GeomFromEWKT('SRID=4674;POINT (-40.574226 -2.825937)'))) / (select extract(epoch from '2026-07-09 20:10:57'::timestamp) - extract(epoch from '2026-07-09 20:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574295 -2.825929)'), GeomFromEWKT('SRID=4674;POINT (-40.574226 -2.825937)'))) / (select extract(epoch from '2026-07-09 20:10:57'::timestamp) - extract(epoch from '2026-07-09 20:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.574162 -2.825913)', '2026-07-09 20:11:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574226 -2.825937)'), GeomFromEWKT('SRID=4674;POINT (-40.574162 -2.825913)'))) / (select extract(epoch from '2026-07-09 20:11:09'::timestamp) - extract(epoch from '2026-07-09 20:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574226 -2.825937)'), GeomFromEWKT('SRID=4674;POINT (-40.574162 -2.825913)'))) / (select extract(epoch from '2026-07-09 20:11:09'::timestamp) - extract(epoch from '2026-07-09 20:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.574152 -2.825911)', '2026-07-09 20:11:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574162 -2.825913)'), GeomFromEWKT('SRID=4674;POINT (-40.574152 -2.825911)'))) / (select extract(epoch from '2026-07-09 20:11:20'::timestamp) - extract(epoch from '2026-07-09 20:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574162 -2.825913)'), GeomFromEWKT('SRID=4674;POINT (-40.574152 -2.825911)'))) / (select extract(epoch from '2026-07-09 20:11:20'::timestamp) - extract(epoch from '2026-07-09 20:11: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'), 47635, 'SRID=4674;POINT (-40.574108 -2.825928)', '2026-07-09 20:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574152 -2.825911)'), GeomFromEWKT('SRID=4674;POINT (-40.574108 -2.825928)'))) / (select extract(epoch from '2026-07-09 20:11:43'::timestamp) - extract(epoch from '2026-07-09 20:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574152 -2.825911)'), GeomFromEWKT('SRID=4674;POINT (-40.574108 -2.825928)'))) / (select extract(epoch from '2026-07-09 20:11:43'::timestamp) - extract(epoch from '2026-07-09 20:11: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'), 47635, 'SRID=4674;POINT (-40.574001 -2.825926)', '2026-07-09 20:13:07', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574108 -2.825928)'), GeomFromEWKT('SRID=4674;POINT (-40.574001 -2.825926)'))) / (select extract(epoch from '2026-07-09 20:13:07'::timestamp) - extract(epoch from '2026-07-09 20:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574108 -2.825928)'), GeomFromEWKT('SRID=4674;POINT (-40.574001 -2.825926)'))) / (select extract(epoch from '2026-07-09 20:13:07'::timestamp) - extract(epoch from '2026-07-09 20:11: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'), 47635, 'SRID=4674;POINT (-40.573978 -2.825917)', '2026-07-09 20:13:13', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574001 -2.825926)'), GeomFromEWKT('SRID=4674;POINT (-40.573978 -2.825917)'))) / (select extract(epoch from '2026-07-09 20:13:13'::timestamp) - extract(epoch from '2026-07-09 20:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.574001 -2.825926)'), GeomFromEWKT('SRID=4674;POINT (-40.573978 -2.825917)'))) / (select extract(epoch from '2026-07-09 20:13:13'::timestamp) - extract(epoch from '2026-07-09 20:13:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573969 -2.825916)', '2026-07-09 20:13:20', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573978 -2.825917)'), GeomFromEWKT('SRID=4674;POINT (-40.573969 -2.825916)'))) / (select extract(epoch from '2026-07-09 20:13:20'::timestamp) - extract(epoch from '2026-07-09 20:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573978 -2.825917)'), GeomFromEWKT('SRID=4674;POINT (-40.573969 -2.825916)'))) / (select extract(epoch from '2026-07-09 20:13:20'::timestamp) - extract(epoch from '2026-07-09 20:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573962 -2.82591)', '2026-07-09 20:13:27', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573969 -2.825916)'), GeomFromEWKT('SRID=4674;POINT (-40.573962 -2.82591)'))) / (select extract(epoch from '2026-07-09 20:13:27'::timestamp) - extract(epoch from '2026-07-09 20:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573969 -2.825916)'), GeomFromEWKT('SRID=4674;POINT (-40.573962 -2.82591)'))) / (select extract(epoch from '2026-07-09 20:13:27'::timestamp) - extract(epoch from '2026-07-09 20:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573928 -2.825923)', '2026-07-09 20:14:34', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573962 -2.82591)'), GeomFromEWKT('SRID=4674;POINT (-40.573928 -2.825923)'))) / (select extract(epoch from '2026-07-09 20:14:34'::timestamp) - extract(epoch from '2026-07-09 20:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573962 -2.82591)'), GeomFromEWKT('SRID=4674;POINT (-40.573928 -2.825923)'))) / (select extract(epoch from '2026-07-09 20:14:34'::timestamp) - extract(epoch from '2026-07-09 20:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573885 -2.825927)', '2026-07-09 20:14:43', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573928 -2.825923)'), GeomFromEWKT('SRID=4674;POINT (-40.573885 -2.825927)'))) / (select extract(epoch from '2026-07-09 20:14:43'::timestamp) - extract(epoch from '2026-07-09 20:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573928 -2.825923)'), GeomFromEWKT('SRID=4674;POINT (-40.573885 -2.825927)'))) / (select extract(epoch from '2026-07-09 20:14:43'::timestamp) - extract(epoch from '2026-07-09 20:14: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'), 47635, 'SRID=4674;POINT (-40.573882 -2.825928)', '2026-07-09 20:14:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573885 -2.825927)'), GeomFromEWKT('SRID=4674;POINT (-40.573882 -2.825928)'))) / (select extract(epoch from '2026-07-09 20:14:55'::timestamp) - extract(epoch from '2026-07-09 20:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573885 -2.825927)'), GeomFromEWKT('SRID=4674;POINT (-40.573882 -2.825928)'))) / (select extract(epoch from '2026-07-09 20:14:55'::timestamp) - extract(epoch from '2026-07-09 20:14: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'), 47635, 'SRID=4674;POINT (-40.573835 -2.825919)', '2026-07-09 20:15:40', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573882 -2.825928)'), GeomFromEWKT('SRID=4674;POINT (-40.573835 -2.825919)'))) / (select extract(epoch from '2026-07-09 20:15:40'::timestamp) - extract(epoch from '2026-07-09 20:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573882 -2.825928)'), GeomFromEWKT('SRID=4674;POINT (-40.573835 -2.825919)'))) / (select extract(epoch from '2026-07-09 20:15:40'::timestamp) - extract(epoch from '2026-07-09 20:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573826 -2.825916)', '2026-07-09 20:15:52', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573835 -2.825919)'), GeomFromEWKT('SRID=4674;POINT (-40.573826 -2.825916)'))) / (select extract(epoch from '2026-07-09 20:15:52'::timestamp) - extract(epoch from '2026-07-09 20:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573835 -2.825919)'), GeomFromEWKT('SRID=4674;POINT (-40.573826 -2.825916)'))) / (select extract(epoch from '2026-07-09 20:15:52'::timestamp) - extract(epoch from '2026-07-09 20:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573783 -2.825903)', '2026-07-09 20:16:10', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573826 -2.825916)'), GeomFromEWKT('SRID=4674;POINT (-40.573783 -2.825903)'))) / (select extract(epoch from '2026-07-09 20:16:10'::timestamp) - extract(epoch from '2026-07-09 20:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573826 -2.825916)'), GeomFromEWKT('SRID=4674;POINT (-40.573783 -2.825903)'))) / (select extract(epoch from '2026-07-09 20:16:10'::timestamp) - extract(epoch from '2026-07-09 20:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573759 -2.825941)', '2026-07-09 20:17:50', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573783 -2.825903)'), GeomFromEWKT('SRID=4674;POINT (-40.573759 -2.825941)'))) / (select extract(epoch from '2026-07-09 20:17:50'::timestamp) - extract(epoch from '2026-07-09 20:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573783 -2.825903)'), GeomFromEWKT('SRID=4674;POINT (-40.573759 -2.825941)'))) / (select extract(epoch from '2026-07-09 20:17:50'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.57367 -2.825938)', '2026-07-09 20:19:05', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573759 -2.825941)'), GeomFromEWKT('SRID=4674;POINT (-40.57367 -2.825938)'))) / (select extract(epoch from '2026-07-09 20:19:05'::timestamp) - extract(epoch from '2026-07-09 20:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573759 -2.825941)'), GeomFromEWKT('SRID=4674;POINT (-40.57367 -2.825938)'))) / (select extract(epoch from '2026-07-09 20:19:05'::timestamp) - extract(epoch from '2026-07-09 20:17: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'), 47635, 'SRID=4674;POINT (-40.573632 -2.825921)', '2026-07-09 20:19:14', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57367 -2.825938)'), GeomFromEWKT('SRID=4674;POINT (-40.573632 -2.825921)'))) / (select extract(epoch from '2026-07-09 20:19:14'::timestamp) - extract(epoch from '2026-07-09 20:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57367 -2.825938)'), GeomFromEWKT('SRID=4674;POINT (-40.573632 -2.825921)'))) / (select extract(epoch from '2026-07-09 20:19:14'::timestamp) - extract(epoch from '2026-07-09 20:19: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'), 47635, 'SRID=4674;POINT (-40.573626 -2.825918)', '2026-07-09 20:19:28', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573632 -2.825921)'), GeomFromEWKT('SRID=4674;POINT (-40.573626 -2.825918)'))) / (select extract(epoch from '2026-07-09 20:19:28'::timestamp) - extract(epoch from '2026-07-09 20:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573632 -2.825921)'), GeomFromEWKT('SRID=4674;POINT (-40.573626 -2.825918)'))) / (select extract(epoch from '2026-07-09 20:19:28'::timestamp) - extract(epoch from '2026-07-09 20:19: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'), 47635, 'SRID=4674;POINT (-40.573568 -2.825919)', '2026-07-09 20:20:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573626 -2.825918)'), GeomFromEWKT('SRID=4674;POINT (-40.573568 -2.825919)'))) / (select extract(epoch from '2026-07-09 20:20:11'::timestamp) - extract(epoch from '2026-07-09 20:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573626 -2.825918)'), GeomFromEWKT('SRID=4674;POINT (-40.573568 -2.825919)'))) / (select extract(epoch from '2026-07-09 20:20:11'::timestamp) - extract(epoch from '2026-07-09 20:19: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'), 47635, 'SRID=4674;POINT (-40.573524 -2.825906)', '2026-07-09 20:20:20', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573568 -2.825919)'), GeomFromEWKT('SRID=4674;POINT (-40.573524 -2.825906)'))) / (select extract(epoch from '2026-07-09 20:20:20'::timestamp) - extract(epoch from '2026-07-09 20:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573568 -2.825919)'), GeomFromEWKT('SRID=4674;POINT (-40.573524 -2.825906)'))) / (select extract(epoch from '2026-07-09 20:20:20'::timestamp) - extract(epoch from '2026-07-09 20:20: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'), 47635, 'SRID=4674;POINT (-40.573436 -2.825886)', '2026-07-09 20:20:35', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573524 -2.825906)'), GeomFromEWKT('SRID=4674;POINT (-40.573436 -2.825886)'))) / (select extract(epoch from '2026-07-09 20:20:35'::timestamp) - extract(epoch from '2026-07-09 20:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573524 -2.825906)'), GeomFromEWKT('SRID=4674;POINT (-40.573436 -2.825886)'))) / (select extract(epoch from '2026-07-09 20:20:35'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.573397 -2.825868)', '2026-07-09 20:20:45', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573436 -2.825886)'), GeomFromEWKT('SRID=4674;POINT (-40.573397 -2.825868)'))) / (select extract(epoch from '2026-07-09 20:20:45'::timestamp) - extract(epoch from '2026-07-09 20:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573436 -2.825886)'), GeomFromEWKT('SRID=4674;POINT (-40.573397 -2.825868)'))) / (select extract(epoch from '2026-07-09 20:20:45'::timestamp) - extract(epoch from '2026-07-09 20:20: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'), 47635, 'SRID=4674;POINT (-40.573391 -2.825863)', '2026-07-09 20:20:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573397 -2.825868)'), GeomFromEWKT('SRID=4674;POINT (-40.573391 -2.825863)'))) / (select extract(epoch from '2026-07-09 20:20:53'::timestamp) - extract(epoch from '2026-07-09 20:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573397 -2.825868)'), GeomFromEWKT('SRID=4674;POINT (-40.573391 -2.825863)'))) / (select extract(epoch from '2026-07-09 20:20:53'::timestamp) - extract(epoch from '2026-07-09 20:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573345 -2.825847)', '2026-07-09 20:21:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573391 -2.825863)'), GeomFromEWKT('SRID=4674;POINT (-40.573345 -2.825847)'))) / (select extract(epoch from '2026-07-09 20:21:16'::timestamp) - extract(epoch from '2026-07-09 20:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573391 -2.825863)'), GeomFromEWKT('SRID=4674;POINT (-40.573345 -2.825847)'))) / (select extract(epoch from '2026-07-09 20:21:16'::timestamp) - extract(epoch from '2026-07-09 20:20: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'), 47635, 'SRID=4674;POINT (-40.573334 -2.825839)', '2026-07-09 20:21:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573345 -2.825847)'), GeomFromEWKT('SRID=4674;POINT (-40.573334 -2.825839)'))) / (select extract(epoch from '2026-07-09 20:21:27'::timestamp) - extract(epoch from '2026-07-09 20:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573345 -2.825847)'), GeomFromEWKT('SRID=4674;POINT (-40.573334 -2.825839)'))) / (select extract(epoch from '2026-07-09 20:21:27'::timestamp) - extract(epoch from '2026-07-09 20:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573235 -2.825803)', '2026-07-09 20:22:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573334 -2.825839)'), GeomFromEWKT('SRID=4674;POINT (-40.573235 -2.825803)'))) / (select extract(epoch from '2026-07-09 20:22:38'::timestamp) - extract(epoch from '2026-07-09 20:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573334 -2.825839)'), GeomFromEWKT('SRID=4674;POINT (-40.573235 -2.825803)'))) / (select extract(epoch from '2026-07-09 20:22:38'::timestamp) - extract(epoch from '2026-07-09 20:21: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'), 47635, 'SRID=4674;POINT (-40.57318 -2.825767)', '2026-07-09 20:22:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573235 -2.825803)'), GeomFromEWKT('SRID=4674;POINT (-40.57318 -2.825767)'))) / (select extract(epoch from '2026-07-09 20:22:49'::timestamp) - extract(epoch from '2026-07-09 20:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573235 -2.825803)'), GeomFromEWKT('SRID=4674;POINT (-40.57318 -2.825767)'))) / (select extract(epoch from '2026-07-09 20:22:49'::timestamp) - extract(epoch from '2026-07-09 20:22: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'), 47635, 'SRID=4674;POINT (-40.573169 -2.825757)', '2026-07-09 20:22:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57318 -2.825767)'), GeomFromEWKT('SRID=4674;POINT (-40.573169 -2.825757)'))) / (select extract(epoch from '2026-07-09 20:22:59'::timestamp) - extract(epoch from '2026-07-09 20:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57318 -2.825767)'), GeomFromEWKT('SRID=4674;POINT (-40.573169 -2.825757)'))) / (select extract(epoch from '2026-07-09 20:22:59'::timestamp) - extract(epoch from '2026-07-09 20:22: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'), 47635, 'SRID=4674;POINT (-40.573156 -2.825757)', '2026-07-09 20:23:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573169 -2.825757)'), GeomFromEWKT('SRID=4674;POINT (-40.573156 -2.825757)'))) / (select extract(epoch from '2026-07-09 20:23:30'::timestamp) - extract(epoch from '2026-07-09 20:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573169 -2.825757)'), GeomFromEWKT('SRID=4674;POINT (-40.573156 -2.825757)'))) / (select extract(epoch from '2026-07-09 20:23:30'::timestamp) - extract(epoch from '2026-07-09 20:22: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'), 47635, 'SRID=4674;POINT (-40.573118 -2.82575)', '2026-07-09 20:23:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573156 -2.825757)'), GeomFromEWKT('SRID=4674;POINT (-40.573118 -2.82575)'))) / (select extract(epoch from '2026-07-09 20:23:37'::timestamp) - extract(epoch from '2026-07-09 20:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573156 -2.825757)'), GeomFromEWKT('SRID=4674;POINT (-40.573118 -2.82575)'))) / (select extract(epoch from '2026-07-09 20:23:37'::timestamp) - extract(epoch from '2026-07-09 20:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.573064 -2.825719)', '2026-07-09 20:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573118 -2.82575)'), GeomFromEWKT('SRID=4674;POINT (-40.573064 -2.825719)'))) / (select extract(epoch from '2026-07-09 20:23:48'::timestamp) - extract(epoch from '2026-07-09 20:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573118 -2.82575)'), GeomFromEWKT('SRID=4674;POINT (-40.573064 -2.825719)'))) / (select extract(epoch from '2026-07-09 20:23:48'::timestamp) - extract(epoch from '2026-07-09 20:23: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'), 47635, 'SRID=4674;POINT (-40.573016 -2.8257)', '2026-07-09 20:23:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573064 -2.825719)'), GeomFromEWKT('SRID=4674;POINT (-40.573016 -2.8257)'))) / (select extract(epoch from '2026-07-09 20:23:59'::timestamp) - extract(epoch from '2026-07-09 20:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573064 -2.825719)'), GeomFromEWKT('SRID=4674;POINT (-40.573016 -2.8257)'))) / (select extract(epoch from '2026-07-09 20:23:59'::timestamp) - extract(epoch from '2026-07-09 20:23: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'), 47635, 'SRID=4674;POINT (-40.572959 -2.825692)', '2026-07-09 20:24:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573016 -2.8257)'), GeomFromEWKT('SRID=4674;POINT (-40.572959 -2.825692)'))) / (select extract(epoch from '2026-07-09 20:24:12'::timestamp) - extract(epoch from '2026-07-09 20:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.573016 -2.8257)'), GeomFromEWKT('SRID=4674;POINT (-40.572959 -2.825692)'))) / (select extract(epoch from '2026-07-09 20:24:12'::timestamp) - extract(epoch from '2026-07-09 20:23: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'), 47635, 'SRID=4674;POINT (-40.572937 -2.825689)', '2026-07-09 20:24:23', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572959 -2.825692)'), GeomFromEWKT('SRID=4674;POINT (-40.572937 -2.825689)'))) / (select extract(epoch from '2026-07-09 20:24:23'::timestamp) - extract(epoch from '2026-07-09 20:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572959 -2.825692)'), GeomFromEWKT('SRID=4674;POINT (-40.572937 -2.825689)'))) / (select extract(epoch from '2026-07-09 20:24:23'::timestamp) - extract(epoch from '2026-07-09 20:24: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'), 47635, 'SRID=4674;POINT (-40.572882 -2.825662)', '2026-07-09 20:24:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572937 -2.825689)'), GeomFromEWKT('SRID=4674;POINT (-40.572882 -2.825662)'))) / (select extract(epoch from '2026-07-09 20:24:48'::timestamp) - extract(epoch from '2026-07-09 20:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572937 -2.825689)'), GeomFromEWKT('SRID=4674;POINT (-40.572882 -2.825662)'))) / (select extract(epoch from '2026-07-09 20:24:48'::timestamp) - extract(epoch from '2026-07-09 20:24: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'), 47635, 'SRID=4674;POINT (-40.572851 -2.825641)', '2026-07-09 20:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572882 -2.825662)'), GeomFromEWKT('SRID=4674;POINT (-40.572851 -2.825641)'))) / (select extract(epoch from '2026-07-09 20:24:59'::timestamp) - extract(epoch from '2026-07-09 20:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572882 -2.825662)'), GeomFromEWKT('SRID=4674;POINT (-40.572851 -2.825641)'))) / (select extract(epoch from '2026-07-09 20:24:59'::timestamp) - extract(epoch from '2026-07-09 20:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.572844 -2.825634)', '2026-07-09 20:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572851 -2.825641)'), GeomFromEWKT('SRID=4674;POINT (-40.572844 -2.825634)'))) / (select extract(epoch from '2026-07-09 20:25:04'::timestamp) - extract(epoch from '2026-07-09 20:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572851 -2.825641)'), GeomFromEWKT('SRID=4674;POINT (-40.572844 -2.825634)'))) / (select extract(epoch from '2026-07-09 20:25:04'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.572843 -2.825632)', '2026-07-09 20:25:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572844 -2.825634)'), GeomFromEWKT('SRID=4674;POINT (-40.572843 -2.825632)'))) / (select extract(epoch from '2026-07-09 20:25:10'::timestamp) - extract(epoch from '2026-07-09 20:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572844 -2.825634)'), GeomFromEWKT('SRID=4674;POINT (-40.572843 -2.825632)'))) / (select extract(epoch from '2026-07-09 20:25:10'::timestamp) - extract(epoch from '2026-07-09 20:25: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'), 47635, 'SRID=4674;POINT (-40.572798 -2.825627)', '2026-07-09 20:25:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572843 -2.825632)'), GeomFromEWKT('SRID=4674;POINT (-40.572798 -2.825627)'))) / (select extract(epoch from '2026-07-09 20:25:29'::timestamp) - extract(epoch from '2026-07-09 20:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572843 -2.825632)'), GeomFromEWKT('SRID=4674;POINT (-40.572798 -2.825627)'))) / (select extract(epoch from '2026-07-09 20:25:29'::timestamp) - extract(epoch from '2026-07-09 20:25:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.572742 -2.825587)', '2026-07-09 20:26:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572798 -2.825627)'), GeomFromEWKT('SRID=4674;POINT (-40.572742 -2.825587)'))) / (select extract(epoch from '2026-07-09 20:26:38'::timestamp) - extract(epoch from '2026-07-09 20:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572798 -2.825627)'), GeomFromEWKT('SRID=4674;POINT (-40.572742 -2.825587)'))) / (select extract(epoch from '2026-07-09 20:26:38'::timestamp) - extract(epoch from '2026-07-09 20:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.572709 -2.82557)', '2026-07-09 20:26:48', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572742 -2.825587)'), GeomFromEWKT('SRID=4674;POINT (-40.572709 -2.82557)'))) / (select extract(epoch from '2026-07-09 20:26:48'::timestamp) - extract(epoch from '2026-07-09 20:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572742 -2.825587)'), GeomFromEWKT('SRID=4674;POINT (-40.572709 -2.82557)'))) / (select extract(epoch from '2026-07-09 20:26:48'::timestamp) - extract(epoch from '2026-07-09 20:26: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'), 47635, 'SRID=4674;POINT (-40.572655 -2.825567)', '2026-07-09 20:27:21', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572709 -2.82557)'), GeomFromEWKT('SRID=4674;POINT (-40.572655 -2.825567)'))) / (select extract(epoch from '2026-07-09 20:27:21'::timestamp) - extract(epoch from '2026-07-09 20:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572709 -2.82557)'), GeomFromEWKT('SRID=4674;POINT (-40.572655 -2.825567)'))) / (select extract(epoch from '2026-07-09 20:27:21'::timestamp) - extract(epoch from '2026-07-09 20:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.572633 -2.825557)', '2026-07-09 20:27:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572655 -2.825567)'), GeomFromEWKT('SRID=4674;POINT (-40.572633 -2.825557)'))) / (select extract(epoch from '2026-07-09 20:27:35'::timestamp) - extract(epoch from '2026-07-09 20:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572655 -2.825567)'), GeomFromEWKT('SRID=4674;POINT (-40.572633 -2.825557)'))) / (select extract(epoch from '2026-07-09 20:27:35'::timestamp) - extract(epoch from '2026-07-09 20:27: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'), 47635, 'SRID=4674;POINT (-40.572594 -2.825509)', '2026-07-09 20:28:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572633 -2.825557)'), GeomFromEWKT('SRID=4674;POINT (-40.572594 -2.825509)'))) / (select extract(epoch from '2026-07-09 20:28:25'::timestamp) - extract(epoch from '2026-07-09 20:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572633 -2.825557)'), GeomFromEWKT('SRID=4674;POINT (-40.572594 -2.825509)'))) / (select extract(epoch from '2026-07-09 20:28:25'::timestamp) - extract(epoch from '2026-07-09 20:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.572563 -2.825489)', '2026-07-09 20:28:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572594 -2.825509)'), GeomFromEWKT('SRID=4674;POINT (-40.572563 -2.825489)'))) / (select extract(epoch from '2026-07-09 20:28:38'::timestamp) - extract(epoch from '2026-07-09 20:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572594 -2.825509)'), GeomFromEWKT('SRID=4674;POINT (-40.572563 -2.825489)'))) / (select extract(epoch from '2026-07-09 20:28:38'::timestamp) - extract(epoch from '2026-07-09 20:28: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'), 47635, 'SRID=4674;POINT (-40.572498 -2.825483)', '2026-07-09 20:28:50', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572563 -2.825489)'), GeomFromEWKT('SRID=4674;POINT (-40.572498 -2.825483)'))) / (select extract(epoch from '2026-07-09 20:28:50'::timestamp) - extract(epoch from '2026-07-09 20:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572563 -2.825489)'), GeomFromEWKT('SRID=4674;POINT (-40.572498 -2.825483)'))) / (select extract(epoch from '2026-07-09 20:28:50'::timestamp) - extract(epoch from '2026-07-09 20:28: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'), 47635, 'SRID=4674;POINT (-40.572436 -2.825456)', '2026-07-09 20:29:03', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572498 -2.825483)'), GeomFromEWKT('SRID=4674;POINT (-40.572436 -2.825456)'))) / (select extract(epoch from '2026-07-09 20:29:03'::timestamp) - extract(epoch from '2026-07-09 20:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572498 -2.825483)'), GeomFromEWKT('SRID=4674;POINT (-40.572436 -2.825456)'))) / (select extract(epoch from '2026-07-09 20:29:03'::timestamp) - extract(epoch from '2026-07-09 20:28: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'), 47635, 'SRID=4674;POINT (-40.572402 -2.825442)', '2026-07-09 20:29:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572436 -2.825456)'), GeomFromEWKT('SRID=4674;POINT (-40.572402 -2.825442)'))) / (select extract(epoch from '2026-07-09 20:29:12'::timestamp) - extract(epoch from '2026-07-09 20:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572436 -2.825456)'), GeomFromEWKT('SRID=4674;POINT (-40.572402 -2.825442)'))) / (select extract(epoch from '2026-07-09 20:29:12'::timestamp) - extract(epoch from '2026-07-09 20:29:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.572396 -2.825438)', '2026-07-09 20:29:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572402 -2.825442)'), GeomFromEWKT('SRID=4674;POINT (-40.572396 -2.825438)'))) / (select extract(epoch from '2026-07-09 20:29:23'::timestamp) - extract(epoch from '2026-07-09 20:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572402 -2.825442)'), GeomFromEWKT('SRID=4674;POINT (-40.572396 -2.825438)'))) / (select extract(epoch from '2026-07-09 20:29:23'::timestamp) - extract(epoch from '2026-07-09 20:29: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'), 47635, 'SRID=4674;POINT (-40.572409 -2.825411)', '2026-07-09 20:29:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572396 -2.825438)'), GeomFromEWKT('SRID=4674;POINT (-40.572409 -2.825411)'))) / (select extract(epoch from '2026-07-09 20:29:58'::timestamp) - extract(epoch from '2026-07-09 20:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572396 -2.825438)'), GeomFromEWKT('SRID=4674;POINT (-40.572409 -2.825411)'))) / (select extract(epoch from '2026-07-09 20:29:58'::timestamp) - extract(epoch from '2026-07-09 20:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.572307 -2.825381)', '2026-07-09 20:30:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572409 -2.825411)'), GeomFromEWKT('SRID=4674;POINT (-40.572307 -2.825381)'))) / (select extract(epoch from '2026-07-09 20:30:44'::timestamp) - extract(epoch from '2026-07-09 20:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572409 -2.825411)'), GeomFromEWKT('SRID=4674;POINT (-40.572307 -2.825381)'))) / (select extract(epoch from '2026-07-09 20:30:44'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.5723 -2.825377)', '2026-07-09 20:30:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572307 -2.825381)'), GeomFromEWKT('SRID=4674;POINT (-40.5723 -2.825377)'))) / (select extract(epoch from '2026-07-09 20:30:54'::timestamp) - extract(epoch from '2026-07-09 20:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572307 -2.825381)'), GeomFromEWKT('SRID=4674;POINT (-40.5723 -2.825377)'))) / (select extract(epoch from '2026-07-09 20:30:54'::timestamp) - extract(epoch from '2026-07-09 20:30: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'), 47635, 'SRID=4674;POINT (-40.572247 -2.825318)', '2026-07-09 20:32:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5723 -2.825377)'), GeomFromEWKT('SRID=4674;POINT (-40.572247 -2.825318)'))) / (select extract(epoch from '2026-07-09 20:32:20'::timestamp) - extract(epoch from '2026-07-09 20:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5723 -2.825377)'), GeomFromEWKT('SRID=4674;POINT (-40.572247 -2.825318)'))) / (select extract(epoch from '2026-07-09 20:32:20'::timestamp) - extract(epoch from '2026-07-09 20:30: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'), 47635, 'SRID=4674;POINT (-40.572196 -2.825296)', '2026-07-09 20:32:32', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572247 -2.825318)'), GeomFromEWKT('SRID=4674;POINT (-40.572196 -2.825296)'))) / (select extract(epoch from '2026-07-09 20:32:32'::timestamp) - extract(epoch from '2026-07-09 20:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572247 -2.825318)'), GeomFromEWKT('SRID=4674;POINT (-40.572196 -2.825296)'))) / (select extract(epoch from '2026-07-09 20:32:32'::timestamp) - extract(epoch from '2026-07-09 20:32: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'), 47635, 'SRID=4674;POINT (-40.572119 -2.825266)', '2026-07-09 20:34:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572196 -2.825296)'), GeomFromEWKT('SRID=4674;POINT (-40.572119 -2.825266)'))) / (select extract(epoch from '2026-07-09 20:34:09'::timestamp) - extract(epoch from '2026-07-09 20:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572196 -2.825296)'), GeomFromEWKT('SRID=4674;POINT (-40.572119 -2.825266)'))) / (select extract(epoch from '2026-07-09 20:34:09'::timestamp) - extract(epoch from '2026-07-09 20:32: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'), 47635, 'SRID=4674;POINT (-40.572054 -2.825254)', '2026-07-09 20:34:21', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572119 -2.825266)'), GeomFromEWKT('SRID=4674;POINT (-40.572054 -2.825254)'))) / (select extract(epoch from '2026-07-09 20:34:21'::timestamp) - extract(epoch from '2026-07-09 20:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572119 -2.825266)'), GeomFromEWKT('SRID=4674;POINT (-40.572054 -2.825254)'))) / (select extract(epoch from '2026-07-09 20:34:21'::timestamp) - extract(epoch from '2026-07-09 20:34: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'), 47635, 'SRID=4674;POINT (-40.572031 -2.825242)', '2026-07-09 20:34:31', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572054 -2.825254)'), GeomFromEWKT('SRID=4674;POINT (-40.572031 -2.825242)'))) / (select extract(epoch from '2026-07-09 20:34:31'::timestamp) - extract(epoch from '2026-07-09 20:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572054 -2.825254)'), GeomFromEWKT('SRID=4674;POINT (-40.572031 -2.825242)'))) / (select extract(epoch from '2026-07-09 20:34:31'::timestamp) - extract(epoch from '2026-07-09 20:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.571945 -2.825188)', '2026-07-09 20:35:47', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572031 -2.825242)'), GeomFromEWKT('SRID=4674;POINT (-40.571945 -2.825188)'))) / (select extract(epoch from '2026-07-09 20:35:47'::timestamp) - extract(epoch from '2026-07-09 20:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.572031 -2.825242)'), GeomFromEWKT('SRID=4674;POINT (-40.571945 -2.825188)'))) / (select extract(epoch from '2026-07-09 20:35:47'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.571892 -2.825166)', '2026-07-09 20:35:58', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571945 -2.825188)'), GeomFromEWKT('SRID=4674;POINT (-40.571892 -2.825166)'))) / (select extract(epoch from '2026-07-09 20:35:58'::timestamp) - extract(epoch from '2026-07-09 20:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571945 -2.825188)'), GeomFromEWKT('SRID=4674;POINT (-40.571892 -2.825166)'))) / (select extract(epoch from '2026-07-09 20:35:58'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.571832 -2.825145)', '2026-07-09 20:36:10', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571892 -2.825166)'), GeomFromEWKT('SRID=4674;POINT (-40.571832 -2.825145)'))) / (select extract(epoch from '2026-07-09 20:36:10'::timestamp) - extract(epoch from '2026-07-09 20:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571892 -2.825166)'), GeomFromEWKT('SRID=4674;POINT (-40.571832 -2.825145)'))) / (select extract(epoch from '2026-07-09 20:36:10'::timestamp) - extract(epoch from '2026-07-09 20:35: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'), 47635, 'SRID=4674;POINT (-40.571792 -2.825141)', '2026-07-09 20:36:19', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571832 -2.825145)'), GeomFromEWKT('SRID=4674;POINT (-40.571792 -2.825141)'))) / (select extract(epoch from '2026-07-09 20:36:19'::timestamp) - extract(epoch from '2026-07-09 20:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571832 -2.825145)'), GeomFromEWKT('SRID=4674;POINT (-40.571792 -2.825141)'))) / (select extract(epoch from '2026-07-09 20:36:19'::timestamp) - extract(epoch from '2026-07-09 20:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.571739 -2.825123)', '2026-07-09 20:37:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571792 -2.825141)'), GeomFromEWKT('SRID=4674;POINT (-40.571739 -2.825123)'))) / (select extract(epoch from '2026-07-09 20:37:53'::timestamp) - extract(epoch from '2026-07-09 20:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571792 -2.825141)'), GeomFromEWKT('SRID=4674;POINT (-40.571739 -2.825123)'))) / (select extract(epoch from '2026-07-09 20:37:53'::timestamp) - extract(epoch from '2026-07-09 20:36: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'), 47635, 'SRID=4674;POINT (-40.571704 -2.825097)', '2026-07-09 20:38:02', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571739 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.571704 -2.825097)'))) / (select extract(epoch from '2026-07-09 20:38:02'::timestamp) - extract(epoch from '2026-07-09 20:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571739 -2.825123)'), GeomFromEWKT('SRID=4674;POINT (-40.571704 -2.825097)'))) / (select extract(epoch from '2026-07-09 20:38:02'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.571687 -2.825087)', '2026-07-09 20:38:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571704 -2.825097)'), GeomFromEWKT('SRID=4674;POINT (-40.571687 -2.825087)'))) / (select extract(epoch from '2026-07-09 20:38:12'::timestamp) - extract(epoch from '2026-07-09 20:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571704 -2.825097)'), GeomFromEWKT('SRID=4674;POINT (-40.571687 -2.825087)'))) / (select extract(epoch from '2026-07-09 20:38:12'::timestamp) - extract(epoch from '2026-07-09 20:38: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'), 47635, 'SRID=4674;POINT (-40.571637 -2.825075)', '2026-07-09 20:38:24', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571687 -2.825087)'), GeomFromEWKT('SRID=4674;POINT (-40.571637 -2.825075)'))) / (select extract(epoch from '2026-07-09 20:38:24'::timestamp) - extract(epoch from '2026-07-09 20:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571687 -2.825087)'), GeomFromEWKT('SRID=4674;POINT (-40.571637 -2.825075)'))) / (select extract(epoch from '2026-07-09 20:38:24'::timestamp) - extract(epoch from '2026-07-09 20:38: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'), 47635, 'SRID=4674;POINT (-40.571584 -2.825068)', '2026-07-09 20:38:34', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571637 -2.825075)'), GeomFromEWKT('SRID=4674;POINT (-40.571584 -2.825068)'))) / (select extract(epoch from '2026-07-09 20:38:34'::timestamp) - extract(epoch from '2026-07-09 20:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571637 -2.825075)'), GeomFromEWKT('SRID=4674;POINT (-40.571584 -2.825068)'))) / (select extract(epoch from '2026-07-09 20:38:34'::timestamp) - extract(epoch from '2026-07-09 20:38: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'), 47635, 'SRID=4674;POINT (-40.571553 -2.825051)', '2026-07-09 20:38:45', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571584 -2.825068)'), GeomFromEWKT('SRID=4674;POINT (-40.571553 -2.825051)'))) / (select extract(epoch from '2026-07-09 20:38:45'::timestamp) - extract(epoch from '2026-07-09 20:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571584 -2.825068)'), GeomFromEWKT('SRID=4674;POINT (-40.571553 -2.825051)'))) / (select extract(epoch from '2026-07-09 20:38:45'::timestamp) - extract(epoch from '2026-07-09 20:38: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'), 47635, 'SRID=4674;POINT (-40.57155 -2.825038)', '2026-07-09 20:38:53', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571553 -2.825051)'), GeomFromEWKT('SRID=4674;POINT (-40.57155 -2.825038)'))) / (select extract(epoch from '2026-07-09 20:38:53'::timestamp) - extract(epoch from '2026-07-09 20:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571553 -2.825051)'), GeomFromEWKT('SRID=4674;POINT (-40.57155 -2.825038)'))) / (select extract(epoch from '2026-07-09 20:38:53'::timestamp) - extract(epoch from '2026-07-09 20:38: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'), 47635, 'SRID=4674;POINT (-40.571494 -2.825006)', '2026-07-09 20:40:03', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57155 -2.825038)'), GeomFromEWKT('SRID=4674;POINT (-40.571494 -2.825006)'))) / (select extract(epoch from '2026-07-09 20:40:03'::timestamp) - extract(epoch from '2026-07-09 20:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57155 -2.825038)'), GeomFromEWKT('SRID=4674;POINT (-40.571494 -2.825006)'))) / (select extract(epoch from '2026-07-09 20:40:03'::timestamp) - extract(epoch from '2026-07-09 20:38: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'), 47635, 'SRID=4674;POINT (-40.571431 -2.82499)', '2026-07-09 20:40:16', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571494 -2.825006)'), GeomFromEWKT('SRID=4674;POINT (-40.571431 -2.82499)'))) / (select extract(epoch from '2026-07-09 20:40:16'::timestamp) - extract(epoch from '2026-07-09 20:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571494 -2.825006)'), GeomFromEWKT('SRID=4674;POINT (-40.571431 -2.82499)'))) / (select extract(epoch from '2026-07-09 20:40:16'::timestamp) - extract(epoch from '2026-07-09 20:40: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'), 47635, 'SRID=4674;POINT (-40.571422 -2.824987)', '2026-07-09 20:40:27', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571431 -2.82499)'), GeomFromEWKT('SRID=4674;POINT (-40.571422 -2.824987)'))) / (select extract(epoch from '2026-07-09 20:40:27'::timestamp) - extract(epoch from '2026-07-09 20:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571431 -2.82499)'), GeomFromEWKT('SRID=4674;POINT (-40.571422 -2.824987)'))) / (select extract(epoch from '2026-07-09 20:40:27'::timestamp) - extract(epoch from '2026-07-09 20:40: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'), 47635, 'SRID=4674;POINT (-40.571392 -2.824952)', '2026-07-09 20:41:17', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571422 -2.824987)'), GeomFromEWKT('SRID=4674;POINT (-40.571392 -2.824952)'))) / (select extract(epoch from '2026-07-09 20:41:17'::timestamp) - extract(epoch from '2026-07-09 20:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571422 -2.824987)'), GeomFromEWKT('SRID=4674;POINT (-40.571392 -2.824952)'))) / (select extract(epoch from '2026-07-09 20:41:17'::timestamp) - extract(epoch from '2026-07-09 20:40: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'), 47635, 'SRID=4674;POINT (-40.571351 -2.824938)', '2026-07-09 20:41:24', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571392 -2.824952)'), GeomFromEWKT('SRID=4674;POINT (-40.571351 -2.824938)'))) / (select extract(epoch from '2026-07-09 20:41:24'::timestamp) - extract(epoch from '2026-07-09 20:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571392 -2.824952)'), GeomFromEWKT('SRID=4674;POINT (-40.571351 -2.824938)'))) / (select extract(epoch from '2026-07-09 20:41:24'::timestamp) - extract(epoch from '2026-07-09 20:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.5713 -2.824912)', '2026-07-09 20:41:35', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571351 -2.824938)'), GeomFromEWKT('SRID=4674;POINT (-40.5713 -2.824912)'))) / (select extract(epoch from '2026-07-09 20:41:35'::timestamp) - extract(epoch from '2026-07-09 20:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571351 -2.824938)'), GeomFromEWKT('SRID=4674;POINT (-40.5713 -2.824912)'))) / (select extract(epoch from '2026-07-09 20:41:35'::timestamp) - extract(epoch from '2026-07-09 20:41: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'), 47635, 'SRID=4674;POINT (-40.571292 -2.824905)', '2026-07-09 20:41:48', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5713 -2.824912)'), GeomFromEWKT('SRID=4674;POINT (-40.571292 -2.824905)'))) / (select extract(epoch from '2026-07-09 20:41:48'::timestamp) - extract(epoch from '2026-07-09 20:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5713 -2.824912)'), GeomFromEWKT('SRID=4674;POINT (-40.571292 -2.824905)'))) / (select extract(epoch from '2026-07-09 20:41:48'::timestamp) - extract(epoch from '2026-07-09 20:41: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'), 47635, 'SRID=4674;POINT (-40.571215 -2.824885)', '2026-07-09 20:42:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571292 -2.824905)'), GeomFromEWKT('SRID=4674;POINT (-40.571215 -2.824885)'))) / (select extract(epoch from '2026-07-09 20:42:11'::timestamp) - extract(epoch from '2026-07-09 20:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571292 -2.824905)'), GeomFromEWKT('SRID=4674;POINT (-40.571215 -2.824885)'))) / (select extract(epoch from '2026-07-09 20:42:11'::timestamp) - extract(epoch from '2026-07-09 20:41: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'), 47635, 'SRID=4674;POINT (-40.571181 -2.824867)', '2026-07-09 20:42:21', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571215 -2.824885)'), GeomFromEWKT('SRID=4674;POINT (-40.571181 -2.824867)'))) / (select extract(epoch from '2026-07-09 20:42:21'::timestamp) - extract(epoch from '2026-07-09 20:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571215 -2.824885)'), GeomFromEWKT('SRID=4674;POINT (-40.571181 -2.824867)'))) / (select extract(epoch from '2026-07-09 20:42:21'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.571116 -2.824841)', '2026-07-09 20:42:36', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571181 -2.824867)'), GeomFromEWKT('SRID=4674;POINT (-40.571116 -2.824841)'))) / (select extract(epoch from '2026-07-09 20:42:36'::timestamp) - extract(epoch from '2026-07-09 20:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571181 -2.824867)'), GeomFromEWKT('SRID=4674;POINT (-40.571116 -2.824841)'))) / (select extract(epoch from '2026-07-09 20:42:36'::timestamp) - extract(epoch from '2026-07-09 20:42: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'), 47635, 'SRID=4674;POINT (-40.571074 -2.824816)', '2026-07-09 20:43:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571116 -2.824841)'), GeomFromEWKT('SRID=4674;POINT (-40.571074 -2.824816)'))) / (select extract(epoch from '2026-07-09 20:43:42'::timestamp) - extract(epoch from '2026-07-09 20:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571116 -2.824841)'), GeomFromEWKT('SRID=4674;POINT (-40.571074 -2.824816)'))) / (select extract(epoch from '2026-07-09 20:43:42'::timestamp) - extract(epoch from '2026-07-09 20:42: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'), 47635, 'SRID=4674;POINT (-40.571016 -2.824806)', '2026-07-09 20:43:53', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571074 -2.824816)'), GeomFromEWKT('SRID=4674;POINT (-40.571016 -2.824806)'))) / (select extract(epoch from '2026-07-09 20:43:53'::timestamp) - extract(epoch from '2026-07-09 20:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571074 -2.824816)'), GeomFromEWKT('SRID=4674;POINT (-40.571016 -2.824806)'))) / (select extract(epoch from '2026-07-09 20:43:53'::timestamp) - extract(epoch from '2026-07-09 20:43: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'), 47635, 'SRID=4674;POINT (-40.57095 -2.824786)', '2026-07-09 20:44:06', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571016 -2.824806)'), GeomFromEWKT('SRID=4674;POINT (-40.57095 -2.824786)'))) / (select extract(epoch from '2026-07-09 20:44:06'::timestamp) - extract(epoch from '2026-07-09 20:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.571016 -2.824806)'), GeomFromEWKT('SRID=4674;POINT (-40.57095 -2.824786)'))) / (select extract(epoch from '2026-07-09 20:44:06'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.570906 -2.824785)', '2026-07-09 20:44:16', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57095 -2.824786)'), GeomFromEWKT('SRID=4674;POINT (-40.570906 -2.824785)'))) / (select extract(epoch from '2026-07-09 20:44:16'::timestamp) - extract(epoch from '2026-07-09 20:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57095 -2.824786)'), GeomFromEWKT('SRID=4674;POINT (-40.570906 -2.824785)'))) / (select extract(epoch from '2026-07-09 20:44:16'::timestamp) - extract(epoch from '2026-07-09 20:44: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'), 47635, 'SRID=4674;POINT (-40.570853 -2.824757)', '2026-07-09 20:44:26', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570906 -2.824785)'), GeomFromEWKT('SRID=4674;POINT (-40.570853 -2.824757)'))) / (select extract(epoch from '2026-07-09 20:44:26'::timestamp) - extract(epoch from '2026-07-09 20:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570906 -2.824785)'), GeomFromEWKT('SRID=4674;POINT (-40.570853 -2.824757)'))) / (select extract(epoch from '2026-07-09 20:44:26'::timestamp) - extract(epoch from '2026-07-09 20:44: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'), 47635, 'SRID=4674;POINT (-40.570815 -2.824733)', '2026-07-09 20:44:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570853 -2.824757)'), GeomFromEWKT('SRID=4674;POINT (-40.570815 -2.824733)'))) / (select extract(epoch from '2026-07-09 20:44:37'::timestamp) - extract(epoch from '2026-07-09 20:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570853 -2.824757)'), GeomFromEWKT('SRID=4674;POINT (-40.570815 -2.824733)'))) / (select extract(epoch from '2026-07-09 20:44:37'::timestamp) - extract(epoch from '2026-07-09 20:44: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'), 47635, 'SRID=4674;POINT (-40.570747 -2.824721)', '2026-07-09 20:44:58', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570815 -2.824733)'), GeomFromEWKT('SRID=4674;POINT (-40.570747 -2.824721)'))) / (select extract(epoch from '2026-07-09 20:44:58'::timestamp) - extract(epoch from '2026-07-09 20:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570815 -2.824733)'), GeomFromEWKT('SRID=4674;POINT (-40.570747 -2.824721)'))) / (select extract(epoch from '2026-07-09 20:44:58'::timestamp) - extract(epoch from '2026-07-09 20:44: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'), 47635, 'SRID=4674;POINT (-40.570717 -2.824706)', '2026-07-09 20:45:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570747 -2.824721)'), GeomFromEWKT('SRID=4674;POINT (-40.570717 -2.824706)'))) / (select extract(epoch from '2026-07-09 20:45:11'::timestamp) - extract(epoch from '2026-07-09 20:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570747 -2.824721)'), GeomFromEWKT('SRID=4674;POINT (-40.570717 -2.824706)'))) / (select extract(epoch from '2026-07-09 20:45:11'::timestamp) - extract(epoch from '2026-07-09 20:44: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'), 47635, 'SRID=4674;POINT (-40.570638 -2.82468)', '2026-07-09 20:45:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570717 -2.824706)'), GeomFromEWKT('SRID=4674;POINT (-40.570638 -2.82468)'))) / (select extract(epoch from '2026-07-09 20:45:53'::timestamp) - extract(epoch from '2026-07-09 20:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570717 -2.824706)'), GeomFromEWKT('SRID=4674;POINT (-40.570638 -2.82468)'))) / (select extract(epoch from '2026-07-09 20:45:53'::timestamp) - extract(epoch from '2026-07-09 20:45: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'), 47635, 'SRID=4674;POINT (-40.570587 -2.824661)', '2026-07-09 20:46:03', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570638 -2.82468)'), GeomFromEWKT('SRID=4674;POINT (-40.570587 -2.824661)'))) / (select extract(epoch from '2026-07-09 20:46:03'::timestamp) - extract(epoch from '2026-07-09 20:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570638 -2.82468)'), GeomFromEWKT('SRID=4674;POINT (-40.570587 -2.824661)'))) / (select extract(epoch from '2026-07-09 20:46:03'::timestamp) - extract(epoch from '2026-07-09 20:45: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'), 47635, 'SRID=4674;POINT (-40.570559 -2.82465)', '2026-07-09 20:46:14', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570587 -2.824661)'), GeomFromEWKT('SRID=4674;POINT (-40.570559 -2.82465)'))) / (select extract(epoch from '2026-07-09 20:46:14'::timestamp) - extract(epoch from '2026-07-09 20:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570587 -2.824661)'), GeomFromEWKT('SRID=4674;POINT (-40.570559 -2.82465)'))) / (select extract(epoch from '2026-07-09 20:46:14'::timestamp) - extract(epoch from '2026-07-09 20:46: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'), 47635, 'SRID=4674;POINT (-40.570508 -2.824651)', '2026-07-09 20:46:38', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570559 -2.82465)'), GeomFromEWKT('SRID=4674;POINT (-40.570508 -2.824651)'))) / (select extract(epoch from '2026-07-09 20:46:38'::timestamp) - extract(epoch from '2026-07-09 20:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570559 -2.82465)'), GeomFromEWKT('SRID=4674;POINT (-40.570508 -2.824651)'))) / (select extract(epoch from '2026-07-09 20:46:38'::timestamp) - extract(epoch from '2026-07-09 20:46: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'), 47635, 'SRID=4674;POINT (-40.570495 -2.824649)', '2026-07-09 20:46:49', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570508 -2.824651)'), GeomFromEWKT('SRID=4674;POINT (-40.570495 -2.824649)'))) / (select extract(epoch from '2026-07-09 20:46:49'::timestamp) - extract(epoch from '2026-07-09 20:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570508 -2.824651)'), GeomFromEWKT('SRID=4674;POINT (-40.570495 -2.824649)'))) / (select extract(epoch from '2026-07-09 20:46:49'::timestamp) - extract(epoch from '2026-07-09 20:46: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'), 47635, 'SRID=4674;POINT (-40.570486 -2.824649)', '2026-07-09 20:46:55', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570495 -2.824649)'), GeomFromEWKT('SRID=4674;POINT (-40.570486 -2.824649)'))) / (select extract(epoch from '2026-07-09 20:46:55'::timestamp) - extract(epoch from '2026-07-09 20:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570495 -2.824649)'), GeomFromEWKT('SRID=4674;POINT (-40.570486 -2.824649)'))) / (select extract(epoch from '2026-07-09 20:46:55'::timestamp) - extract(epoch from '2026-07-09 20:46: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'), 47635, 'SRID=4674;POINT (-40.570438 -2.824634)', '2026-07-09 20:47:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570486 -2.824649)'), GeomFromEWKT('SRID=4674;POINT (-40.570438 -2.824634)'))) / (select extract(epoch from '2026-07-09 20:47:33'::timestamp) - extract(epoch from '2026-07-09 20:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570486 -2.824649)'), GeomFromEWKT('SRID=4674;POINT (-40.570438 -2.824634)'))) / (select extract(epoch from '2026-07-09 20:47:33'::timestamp) - extract(epoch from '2026-07-09 20:46: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'), 47635, 'SRID=4674;POINT (-40.570375 -2.824628)', '2026-07-09 20:47:43', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570438 -2.824634)'), GeomFromEWKT('SRID=4674;POINT (-40.570375 -2.824628)'))) / (select extract(epoch from '2026-07-09 20:47:43'::timestamp) - extract(epoch from '2026-07-09 20:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570438 -2.824634)'), GeomFromEWKT('SRID=4674;POINT (-40.570375 -2.824628)'))) / (select extract(epoch from '2026-07-09 20:47:43'::timestamp) - extract(epoch from '2026-07-09 20:47: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'), 47635, 'SRID=4674;POINT (-40.570316 -2.82461)', '2026-07-09 20:47:54', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570375 -2.824628)'), GeomFromEWKT('SRID=4674;POINT (-40.570316 -2.82461)'))) / (select extract(epoch from '2026-07-09 20:47:54'::timestamp) - extract(epoch from '2026-07-09 20:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570375 -2.824628)'), GeomFromEWKT('SRID=4674;POINT (-40.570316 -2.82461)'))) / (select extract(epoch from '2026-07-09 20:47:54'::timestamp) - extract(epoch from '2026-07-09 20:47: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'), 47635, 'SRID=4674;POINT (-40.570255 -2.8246)', '2026-07-09 20:48:06', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570316 -2.82461)'), GeomFromEWKT('SRID=4674;POINT (-40.570255 -2.8246)'))) / (select extract(epoch from '2026-07-09 20:48:06'::timestamp) - extract(epoch from '2026-07-09 20:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570316 -2.82461)'), GeomFromEWKT('SRID=4674;POINT (-40.570255 -2.8246)'))) / (select extract(epoch from '2026-07-09 20:48:06'::timestamp) - extract(epoch from '2026-07-09 20:47: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'), 47635, 'SRID=4674;POINT (-40.570219 -2.824597)', '2026-07-09 20:48:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570255 -2.8246)'), GeomFromEWKT('SRID=4674;POINT (-40.570219 -2.824597)'))) / (select extract(epoch from '2026-07-09 20:48:15'::timestamp) - extract(epoch from '2026-07-09 20:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570255 -2.8246)'), GeomFromEWKT('SRID=4674;POINT (-40.570219 -2.824597)'))) / (select extract(epoch from '2026-07-09 20:48:15'::timestamp) - extract(epoch from '2026-07-09 20:48: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'), 47635, 'SRID=4674;POINT (-40.57021 -2.824603)', '2026-07-09 20:48:28', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570219 -2.824597)'), GeomFromEWKT('SRID=4674;POINT (-40.57021 -2.824603)'))) / (select extract(epoch from '2026-07-09 20:48:28'::timestamp) - extract(epoch from '2026-07-09 20:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570219 -2.824597)'), GeomFromEWKT('SRID=4674;POINT (-40.57021 -2.824603)'))) / (select extract(epoch from '2026-07-09 20:48:28'::timestamp) - extract(epoch from '2026-07-09 20:48: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'), 47635, 'SRID=4674;POINT (-40.570124 -2.824563)', '2026-07-09 20:50:41', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57021 -2.824603)'), GeomFromEWKT('SRID=4674;POINT (-40.570124 -2.824563)'))) / (select extract(epoch from '2026-07-09 20:50:41'::timestamp) - extract(epoch from '2026-07-09 20:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.57021 -2.824603)'), GeomFromEWKT('SRID=4674;POINT (-40.570124 -2.824563)'))) / (select extract(epoch from '2026-07-09 20:50:41'::timestamp) - extract(epoch from '2026-07-09 20:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.570102 -2.824554)', '2026-07-09 20:50:49', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570124 -2.824563)'), GeomFromEWKT('SRID=4674;POINT (-40.570102 -2.824554)'))) / (select extract(epoch from '2026-07-09 20:50:49'::timestamp) - extract(epoch from '2026-07-09 20:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570124 -2.824563)'), GeomFromEWKT('SRID=4674;POINT (-40.570102 -2.824554)'))) / (select extract(epoch from '2026-07-09 20:50:49'::timestamp) - extract(epoch from '2026-07-09 20:50: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'), 47635, 'SRID=4674;POINT (-40.570066 -2.824567)', '2026-07-09 20:51:18', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570102 -2.824554)'), GeomFromEWKT('SRID=4674;POINT (-40.570066 -2.824567)'))) / (select extract(epoch from '2026-07-09 20:51:18'::timestamp) - extract(epoch from '2026-07-09 20:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570102 -2.824554)'), GeomFromEWKT('SRID=4674;POINT (-40.570066 -2.824567)'))) / (select extract(epoch from '2026-07-09 20:51:18'::timestamp) - extract(epoch from '2026-07-09 20:50: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'), 47635, 'SRID=4674;POINT (-40.570032 -2.824551)', '2026-07-09 20:51:25', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570066 -2.824567)'), GeomFromEWKT('SRID=4674;POINT (-40.570032 -2.824551)'))) / (select extract(epoch from '2026-07-09 20:51:25'::timestamp) - extract(epoch from '2026-07-09 20:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570066 -2.824567)'), GeomFromEWKT('SRID=4674;POINT (-40.570032 -2.824551)'))) / (select extract(epoch from '2026-07-09 20:51:25'::timestamp) - extract(epoch from '2026-07-09 20:51: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'), 47635, 'SRID=4674;POINT (-40.570015 -2.824544)', '2026-07-09 20:51:36', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570032 -2.824551)'), GeomFromEWKT('SRID=4674;POINT (-40.570015 -2.824544)'))) / (select extract(epoch from '2026-07-09 20:51:36'::timestamp) - extract(epoch from '2026-07-09 20:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570032 -2.824551)'), GeomFromEWKT('SRID=4674;POINT (-40.570015 -2.824544)'))) / (select extract(epoch from '2026-07-09 20:51:36'::timestamp) - extract(epoch from '2026-07-09 20:51: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'), 47635, 'SRID=4674;POINT (-40.569944 -2.824526)', '2026-07-09 20:52:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570015 -2.824544)'), GeomFromEWKT('SRID=4674;POINT (-40.569944 -2.824526)'))) / (select extract(epoch from '2026-07-09 20:52:03'::timestamp) - extract(epoch from '2026-07-09 20:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.570015 -2.824544)'), GeomFromEWKT('SRID=4674;POINT (-40.569944 -2.824526)'))) / (select extract(epoch from '2026-07-09 20:52:03'::timestamp) - extract(epoch from '2026-07-09 20:51: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'), 47635, 'SRID=4674;POINT (-40.569892 -2.824519)', '2026-07-09 20:52:15', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569944 -2.824526)'), GeomFromEWKT('SRID=4674;POINT (-40.569892 -2.824519)'))) / (select extract(epoch from '2026-07-09 20:52:15'::timestamp) - extract(epoch from '2026-07-09 20:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569944 -2.824526)'), GeomFromEWKT('SRID=4674;POINT (-40.569892 -2.824519)'))) / (select extract(epoch from '2026-07-09 20:52:15'::timestamp) - extract(epoch from '2026-07-09 20:52: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'), 47635, 'SRID=4674;POINT (-40.569822 -2.824501)', '2026-07-09 20:52:27', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569892 -2.824519)'), GeomFromEWKT('SRID=4674;POINT (-40.569822 -2.824501)'))) / (select extract(epoch from '2026-07-09 20:52:27'::timestamp) - extract(epoch from '2026-07-09 20:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569892 -2.824519)'), GeomFromEWKT('SRID=4674;POINT (-40.569822 -2.824501)'))) / (select extract(epoch from '2026-07-09 20:52:27'::timestamp) - extract(epoch from '2026-07-09 20:52: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'), 47635, 'SRID=4674;POINT (-40.569797 -2.824484)', '2026-07-09 20:52:37', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569822 -2.824501)'), GeomFromEWKT('SRID=4674;POINT (-40.569797 -2.824484)'))) / (select extract(epoch from '2026-07-09 20:52:37'::timestamp) - extract(epoch from '2026-07-09 20:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569822 -2.824501)'), GeomFromEWKT('SRID=4674;POINT (-40.569797 -2.824484)'))) / (select extract(epoch from '2026-07-09 20:52:37'::timestamp) - extract(epoch from '2026-07-09 20:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.569667 -2.824443)', '2026-07-09 20:54:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569797 -2.824484)'), GeomFromEWKT('SRID=4674;POINT (-40.569667 -2.824443)'))) / (select extract(epoch from '2026-07-09 20:54:22'::timestamp) - extract(epoch from '2026-07-09 20:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569797 -2.824484)'), GeomFromEWKT('SRID=4674;POINT (-40.569667 -2.824443)'))) / (select extract(epoch from '2026-07-09 20:54:22'::timestamp) - extract(epoch from '2026-07-09 20: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'), 47635, 'SRID=4674;POINT (-40.569625 -2.824431)', '2026-07-09 20:54:31', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569667 -2.824443)'), GeomFromEWKT('SRID=4674;POINT (-40.569625 -2.824431)'))) / (select extract(epoch from '2026-07-09 20:54:31'::timestamp) - extract(epoch from '2026-07-09 20:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569667 -2.824443)'), GeomFromEWKT('SRID=4674;POINT (-40.569625 -2.824431)'))) / (select extract(epoch from '2026-07-09 20:54:31'::timestamp) - extract(epoch from '2026-07-09 20:54: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'), 47635, 'SRID=4674;POINT (-40.569569 -2.824409)', '2026-07-09 20:54:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569625 -2.824431)'), GeomFromEWKT('SRID=4674;POINT (-40.569569 -2.824409)'))) / (select extract(epoch from '2026-07-09 20:54:43'::timestamp) - extract(epoch from '2026-07-09 20:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569625 -2.824431)'), GeomFromEWKT('SRID=4674;POINT (-40.569569 -2.824409)'))) / (select extract(epoch from '2026-07-09 20:54:43'::timestamp) - extract(epoch from '2026-07-09 20:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.569549 -2.824402)', '2026-07-09 20:54:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569569 -2.824409)'), GeomFromEWKT('SRID=4674;POINT (-40.569549 -2.824402)'))) / (select extract(epoch from '2026-07-09 20:54:51'::timestamp) - extract(epoch from '2026-07-09 20:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569569 -2.824409)'), GeomFromEWKT('SRID=4674;POINT (-40.569549 -2.824402)'))) / (select extract(epoch from '2026-07-09 20:54:51'::timestamp) - extract(epoch from '2026-07-09 20:54: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'), 47635, 'SRID=4674;POINT (-40.5695 -2.824391)', '2026-07-09 20:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569549 -2.824402)'), GeomFromEWKT('SRID=4674;POINT (-40.5695 -2.824391)'))) / (select extract(epoch from '2026-07-09 20:55:28'::timestamp) - extract(epoch from '2026-07-09 20:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569549 -2.824402)'), GeomFromEWKT('SRID=4674;POINT (-40.5695 -2.824391)'))) / (select extract(epoch from '2026-07-09 20:55:28'::timestamp) - extract(epoch from '2026-07-09 20:54: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'), 47635, 'SRID=4674;POINT (-40.5694 -2.824353)', '2026-07-09 20:56:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5695 -2.824391)'), GeomFromEWKT('SRID=4674;POINT (-40.5694 -2.824353)'))) / (select extract(epoch from '2026-07-09 20:56:12'::timestamp) - extract(epoch from '2026-07-09 20:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5695 -2.824391)'), GeomFromEWKT('SRID=4674;POINT (-40.5694 -2.824353)'))) / (select extract(epoch from '2026-07-09 20:56:12'::timestamp) - extract(epoch from '2026-07-09 20:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56935 -2.824336)', '2026-07-09 20:56:23', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5694 -2.824353)'), GeomFromEWKT('SRID=4674;POINT (-40.56935 -2.824336)'))) / (select extract(epoch from '2026-07-09 20:56:23'::timestamp) - extract(epoch from '2026-07-09 20:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5694 -2.824353)'), GeomFromEWKT('SRID=4674;POINT (-40.56935 -2.824336)'))) / (select extract(epoch from '2026-07-09 20:56:23'::timestamp) - extract(epoch from '2026-07-09 20:56: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'), 47635, 'SRID=4674;POINT (-40.569318 -2.824332)', '2026-07-09 20:56:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56935 -2.824336)'), GeomFromEWKT('SRID=4674;POINT (-40.569318 -2.824332)'))) / (select extract(epoch from '2026-07-09 20:56:33'::timestamp) - extract(epoch from '2026-07-09 20:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56935 -2.824336)'), GeomFromEWKT('SRID=4674;POINT (-40.569318 -2.824332)'))) / (select extract(epoch from '2026-07-09 20:56:33'::timestamp) - extract(epoch from '2026-07-09 20:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56927 -2.824312)', '2026-07-09 20:56:42', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569318 -2.824332)'), GeomFromEWKT('SRID=4674;POINT (-40.56927 -2.824312)'))) / (select extract(epoch from '2026-07-09 20:56:42'::timestamp) - extract(epoch from '2026-07-09 20:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569318 -2.824332)'), GeomFromEWKT('SRID=4674;POINT (-40.56927 -2.824312)'))) / (select extract(epoch from '2026-07-09 20:56:42'::timestamp) - extract(epoch from '2026-07-09 20:56:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.569228 -2.824291)', '2026-07-09 20:56:52', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56927 -2.824312)'), GeomFromEWKT('SRID=4674;POINT (-40.569228 -2.824291)'))) / (select extract(epoch from '2026-07-09 20:56:52'::timestamp) - extract(epoch from '2026-07-09 20:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56927 -2.824312)'), GeomFromEWKT('SRID=4674;POINT (-40.569228 -2.824291)'))) / (select extract(epoch from '2026-07-09 20:56:52'::timestamp) - extract(epoch from '2026-07-09 20:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.569166 -2.824273)', '2026-07-09 20:57:05', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569228 -2.824291)'), GeomFromEWKT('SRID=4674;POINT (-40.569166 -2.824273)'))) / (select extract(epoch from '2026-07-09 20:57:05'::timestamp) - extract(epoch from '2026-07-09 20:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569228 -2.824291)'), GeomFromEWKT('SRID=4674;POINT (-40.569166 -2.824273)'))) / (select extract(epoch from '2026-07-09 20:57:05'::timestamp) - extract(epoch from '2026-07-09 20:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.569121 -2.824271)', '2026-07-09 20:57:15', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569166 -2.824273)'), GeomFromEWKT('SRID=4674;POINT (-40.569121 -2.824271)'))) / (select extract(epoch from '2026-07-09 20:57:15'::timestamp) - extract(epoch from '2026-07-09 20:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569166 -2.824273)'), GeomFromEWKT('SRID=4674;POINT (-40.569121 -2.824271)'))) / (select extract(epoch from '2026-07-09 20:57:15'::timestamp) - extract(epoch from '2026-07-09 20:57: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'), 47635, 'SRID=4674;POINT (-40.569084 -2.824264)', '2026-07-09 20:57:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569121 -2.824271)'), GeomFromEWKT('SRID=4674;POINT (-40.569084 -2.824264)'))) / (select extract(epoch from '2026-07-09 20:57:24'::timestamp) - extract(epoch from '2026-07-09 20:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569121 -2.824271)'), GeomFromEWKT('SRID=4674;POINT (-40.569084 -2.824264)'))) / (select extract(epoch from '2026-07-09 20:57:24'::timestamp) - extract(epoch from '2026-07-09 20:57: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'), 47635, 'SRID=4674;POINT (-40.569063 -2.824254)', '2026-07-09 20:57:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569084 -2.824264)'), GeomFromEWKT('SRID=4674;POINT (-40.569063 -2.824254)'))) / (select extract(epoch from '2026-07-09 20:57:38'::timestamp) - extract(epoch from '2026-07-09 20:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569084 -2.824264)'), GeomFromEWKT('SRID=4674;POINT (-40.569063 -2.824254)'))) / (select extract(epoch from '2026-07-09 20:57:38'::timestamp) - extract(epoch from '2026-07-09 20:57: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'), 47635, 'SRID=4674;POINT (-40.569013 -2.824228)', '2026-07-09 20:57:57', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569063 -2.824254)'), GeomFromEWKT('SRID=4674;POINT (-40.569013 -2.824228)'))) / (select extract(epoch from '2026-07-09 20:57:57'::timestamp) - extract(epoch from '2026-07-09 20:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569063 -2.824254)'), GeomFromEWKT('SRID=4674;POINT (-40.569013 -2.824228)'))) / (select extract(epoch from '2026-07-09 20:57:57'::timestamp) - extract(epoch from '2026-07-09 20:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.569015 -2.824223)', '2026-07-09 20:58:24', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569013 -2.824228)'), GeomFromEWKT('SRID=4674;POINT (-40.569015 -2.824223)'))) / (select extract(epoch from '2026-07-09 20:58:24'::timestamp) - extract(epoch from '2026-07-09 20:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569013 -2.824228)'), GeomFromEWKT('SRID=4674;POINT (-40.569015 -2.824223)'))) / (select extract(epoch from '2026-07-09 20:58:24'::timestamp) - extract(epoch from '2026-07-09 20:57: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'), 47635, 'SRID=4674;POINT (-40.568969 -2.824209)', '2026-07-09 20:58:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569015 -2.824223)'), GeomFromEWKT('SRID=4674;POINT (-40.568969 -2.824209)'))) / (select extract(epoch from '2026-07-09 20:58:37'::timestamp) - extract(epoch from '2026-07-09 20:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.569015 -2.824223)'), GeomFromEWKT('SRID=4674;POINT (-40.568969 -2.824209)'))) / (select extract(epoch from '2026-07-09 20:58:37'::timestamp) - extract(epoch from '2026-07-09 20:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568919 -2.824194)', '2026-07-09 20:58:48', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568969 -2.824209)'), GeomFromEWKT('SRID=4674;POINT (-40.568919 -2.824194)'))) / (select extract(epoch from '2026-07-09 20:58:48'::timestamp) - extract(epoch from '2026-07-09 20:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568969 -2.824209)'), GeomFromEWKT('SRID=4674;POINT (-40.568919 -2.824194)'))) / (select extract(epoch from '2026-07-09 20:58:48'::timestamp) - extract(epoch from '2026-07-09 20:58: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'), 47635, 'SRID=4674;POINT (-40.568882 -2.824183)', '2026-07-09 20:58:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568919 -2.824194)'), GeomFromEWKT('SRID=4674;POINT (-40.568882 -2.824183)'))) / (select extract(epoch from '2026-07-09 20:58:57'::timestamp) - extract(epoch from '2026-07-09 20:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568919 -2.824194)'), GeomFromEWKT('SRID=4674;POINT (-40.568882 -2.824183)'))) / (select extract(epoch from '2026-07-09 20:58:57'::timestamp) - extract(epoch from '2026-07-09 20:58: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'), 47635, 'SRID=4674;POINT (-40.568832 -2.824179)', '2026-07-09 20:59:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568882 -2.824183)'), GeomFromEWKT('SRID=4674;POINT (-40.568832 -2.824179)'))) / (select extract(epoch from '2026-07-09 20:59:09'::timestamp) - extract(epoch from '2026-07-09 20:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568882 -2.824183)'), GeomFromEWKT('SRID=4674;POINT (-40.568832 -2.824179)'))) / (select extract(epoch from '2026-07-09 20:59:09'::timestamp) - extract(epoch from '2026-07-09 20:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568725 -2.824169)', '2026-07-09 21:00:08', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568832 -2.824179)'), GeomFromEWKT('SRID=4674;POINT (-40.568725 -2.824169)'))) / (select extract(epoch from '2026-07-09 21:00:08'::timestamp) - extract(epoch from '2026-07-09 20:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568832 -2.824179)'), GeomFromEWKT('SRID=4674;POINT (-40.568725 -2.824169)'))) / (select extract(epoch from '2026-07-09 21:00:08'::timestamp) - extract(epoch from '2026-07-09 20:59:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568614 -2.824138)', '2026-07-09 21:00:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568725 -2.824169)'), GeomFromEWKT('SRID=4674;POINT (-40.568614 -2.824138)'))) / (select extract(epoch from '2026-07-09 21:00:33'::timestamp) - extract(epoch from '2026-07-09 21:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568725 -2.824169)'), GeomFromEWKT('SRID=4674;POINT (-40.568614 -2.824138)'))) / (select extract(epoch from '2026-07-09 21:00:33'::timestamp) - extract(epoch from '2026-07-09 21:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568575 -2.82414)', '2026-07-09 21:00:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568614 -2.824138)'), GeomFromEWKT('SRID=4674;POINT (-40.568575 -2.82414)'))) / (select extract(epoch from '2026-07-09 21:00:47'::timestamp) - extract(epoch from '2026-07-09 21:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568614 -2.824138)'), GeomFromEWKT('SRID=4674;POINT (-40.568575 -2.82414)'))) / (select extract(epoch from '2026-07-09 21:00:47'::timestamp) - extract(epoch from '2026-07-09 21:00: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'), 47635, 'SRID=4674;POINT (-40.568466 -2.824131)', '2026-07-09 21:01:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568575 -2.82414)'), GeomFromEWKT('SRID=4674;POINT (-40.568466 -2.824131)'))) / (select extract(epoch from '2026-07-09 21:01:29'::timestamp) - extract(epoch from '2026-07-09 21:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568575 -2.82414)'), GeomFromEWKT('SRID=4674;POINT (-40.568466 -2.824131)'))) / (select extract(epoch from '2026-07-09 21:01:29'::timestamp) - extract(epoch from '2026-07-09 21:00: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'), 47635, 'SRID=4674;POINT (-40.568465 -2.824127)', '2026-07-09 21:01:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568466 -2.824131)'), GeomFromEWKT('SRID=4674;POINT (-40.568465 -2.824127)'))) / (select extract(epoch from '2026-07-09 21:01:40'::timestamp) - extract(epoch from '2026-07-09 21:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568466 -2.824131)'), GeomFromEWKT('SRID=4674;POINT (-40.568465 -2.824127)'))) / (select extract(epoch from '2026-07-09 21:01:40'::timestamp) - extract(epoch from '2026-07-09 21:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568345 -2.8241)', '2026-07-09 21:02:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568465 -2.824127)'), GeomFromEWKT('SRID=4674;POINT (-40.568345 -2.8241)'))) / (select extract(epoch from '2026-07-09 21:02:11'::timestamp) - extract(epoch from '2026-07-09 21:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568465 -2.824127)'), GeomFromEWKT('SRID=4674;POINT (-40.568345 -2.8241)'))) / (select extract(epoch from '2026-07-09 21:02:11'::timestamp) - extract(epoch from '2026-07-09 21:01: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'), 47635, 'SRID=4674;POINT (-40.568304 -2.824083)', '2026-07-09 21:02:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568345 -2.8241)'), GeomFromEWKT('SRID=4674;POINT (-40.568304 -2.824083)'))) / (select extract(epoch from '2026-07-09 21:02:28'::timestamp) - extract(epoch from '2026-07-09 21:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568345 -2.8241)'), GeomFromEWKT('SRID=4674;POINT (-40.568304 -2.824083)'))) / (select extract(epoch from '2026-07-09 21:02:28'::timestamp) - extract(epoch from '2026-07-09 21:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568265 -2.824054)', '2026-07-09 21:03:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568304 -2.824083)'), GeomFromEWKT('SRID=4674;POINT (-40.568265 -2.824054)'))) / (select extract(epoch from '2026-07-09 21:03:00'::timestamp) - extract(epoch from '2026-07-09 21:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568304 -2.824083)'), GeomFromEWKT('SRID=4674;POINT (-40.568265 -2.824054)'))) / (select extract(epoch from '2026-07-09 21:03:00'::timestamp) - extract(epoch from '2026-07-09 21:02:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.568153 -2.82402)', '2026-07-09 21:04:06', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568265 -2.824054)'), GeomFromEWKT('SRID=4674;POINT (-40.568153 -2.82402)'))) / (select extract(epoch from '2026-07-09 21:04:06'::timestamp) - extract(epoch from '2026-07-09 21:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568265 -2.824054)'), GeomFromEWKT('SRID=4674;POINT (-40.568153 -2.82402)'))) / (select extract(epoch from '2026-07-09 21:04:06'::timestamp) - extract(epoch from '2026-07-09 21:03: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'), 47635, 'SRID=4674;POINT (-40.568107 -2.824005)', '2026-07-09 21:04:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568153 -2.82402)'), GeomFromEWKT('SRID=4674;POINT (-40.568107 -2.824005)'))) / (select extract(epoch from '2026-07-09 21:04:17'::timestamp) - extract(epoch from '2026-07-09 21:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568153 -2.82402)'), GeomFromEWKT('SRID=4674;POINT (-40.568107 -2.824005)'))) / (select extract(epoch from '2026-07-09 21:04:17'::timestamp) - extract(epoch from '2026-07-09 21:04: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'), 47635, 'SRID=4674;POINT (-40.56803 -2.82397)', '2026-07-09 21:04:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568107 -2.824005)'), GeomFromEWKT('SRID=4674;POINT (-40.56803 -2.82397)'))) / (select extract(epoch from '2026-07-09 21:04:50'::timestamp) - extract(epoch from '2026-07-09 21:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.568107 -2.824005)'), GeomFromEWKT('SRID=4674;POINT (-40.56803 -2.82397)'))) / (select extract(epoch from '2026-07-09 21:04:50'::timestamp) - extract(epoch from '2026-07-09 21:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567992 -2.823962)', '2026-07-09 21:04:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56803 -2.82397)'), GeomFromEWKT('SRID=4674;POINT (-40.567992 -2.823962)'))) / (select extract(epoch from '2026-07-09 21:04:59'::timestamp) - extract(epoch from '2026-07-09 21:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56803 -2.82397)'), GeomFromEWKT('SRID=4674;POINT (-40.567992 -2.823962)'))) / (select extract(epoch from '2026-07-09 21:04:59'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.567969 -2.823951)', '2026-07-09 21:05:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567992 -2.823962)'), GeomFromEWKT('SRID=4674;POINT (-40.567969 -2.823951)'))) / (select extract(epoch from '2026-07-09 21:05:07'::timestamp) - extract(epoch from '2026-07-09 21:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567992 -2.823962)'), GeomFromEWKT('SRID=4674;POINT (-40.567969 -2.823951)'))) / (select extract(epoch from '2026-07-09 21:05:07'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.567942 -2.823924)', '2026-07-09 21:05:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567969 -2.823951)'), GeomFromEWKT('SRID=4674;POINT (-40.567942 -2.823924)'))) / (select extract(epoch from '2026-07-09 21:05:58'::timestamp) - extract(epoch from '2026-07-09 21:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567969 -2.823951)'), GeomFromEWKT('SRID=4674;POINT (-40.567942 -2.823924)'))) / (select extract(epoch from '2026-07-09 21:05:58'::timestamp) - extract(epoch from '2026-07-09 21:05: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'), 47635, 'SRID=4674;POINT (-40.567897 -2.82391)', '2026-07-09 21:06:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567942 -2.823924)'), GeomFromEWKT('SRID=4674;POINT (-40.567897 -2.82391)'))) / (select extract(epoch from '2026-07-09 21:06:07'::timestamp) - extract(epoch from '2026-07-09 21:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567942 -2.823924)'), GeomFromEWKT('SRID=4674;POINT (-40.567897 -2.82391)'))) / (select extract(epoch from '2026-07-09 21:06:07'::timestamp) - extract(epoch from '2026-07-09 21:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567865 -2.823879)', '2026-07-09 21:06:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567897 -2.82391)'), GeomFromEWKT('SRID=4674;POINT (-40.567865 -2.823879)'))) / (select extract(epoch from '2026-07-09 21:06:16'::timestamp) - extract(epoch from '2026-07-09 21:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567897 -2.82391)'), GeomFromEWKT('SRID=4674;POINT (-40.567865 -2.823879)'))) / (select extract(epoch from '2026-07-09 21:06:16'::timestamp) - extract(epoch from '2026-07-09 21:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567839 -2.823863)', '2026-07-09 21:06:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567865 -2.823879)'), GeomFromEWKT('SRID=4674;POINT (-40.567839 -2.823863)'))) / (select extract(epoch from '2026-07-09 21:06:24'::timestamp) - extract(epoch from '2026-07-09 21:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567865 -2.823879)'), GeomFromEWKT('SRID=4674;POINT (-40.567839 -2.823863)'))) / (select extract(epoch from '2026-07-09 21:06:24'::timestamp) - extract(epoch from '2026-07-09 21:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567789 -2.823853)', '2026-07-09 21:06:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567839 -2.823863)'), GeomFromEWKT('SRID=4674;POINT (-40.567789 -2.823853)'))) / (select extract(epoch from '2026-07-09 21:06:35'::timestamp) - extract(epoch from '2026-07-09 21:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567839 -2.823863)'), GeomFromEWKT('SRID=4674;POINT (-40.567789 -2.823853)'))) / (select extract(epoch from '2026-07-09 21:06:35'::timestamp) - extract(epoch from '2026-07-09 21:06: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'), 47635, 'SRID=4674;POINT (-40.567739 -2.823831)', '2026-07-09 21:07:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567789 -2.823853)'), GeomFromEWKT('SRID=4674;POINT (-40.567739 -2.823831)'))) / (select extract(epoch from '2026-07-09 21:07:12'::timestamp) - extract(epoch from '2026-07-09 21:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567789 -2.823853)'), GeomFromEWKT('SRID=4674;POINT (-40.567739 -2.823831)'))) / (select extract(epoch from '2026-07-09 21:07:12'::timestamp) - extract(epoch from '2026-07-09 21:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567718 -2.823813)', '2026-07-09 21:07:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567739 -2.823831)'), GeomFromEWKT('SRID=4674;POINT (-40.567718 -2.823813)'))) / (select extract(epoch from '2026-07-09 21:07:19'::timestamp) - extract(epoch from '2026-07-09 21:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567739 -2.823831)'), GeomFromEWKT('SRID=4674;POINT (-40.567718 -2.823813)'))) / (select extract(epoch from '2026-07-09 21:07:19'::timestamp) - extract(epoch from '2026-07-09 21:07: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'), 47635, 'SRID=4674;POINT (-40.567686 -2.823797)', '2026-07-09 21:07:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567718 -2.823813)'), GeomFromEWKT('SRID=4674;POINT (-40.567686 -2.823797)'))) / (select extract(epoch from '2026-07-09 21:07:27'::timestamp) - extract(epoch from '2026-07-09 21:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567718 -2.823813)'), GeomFromEWKT('SRID=4674;POINT (-40.567686 -2.823797)'))) / (select extract(epoch from '2026-07-09 21:07:27'::timestamp) - extract(epoch from '2026-07-09 21:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567617 -2.823782)', '2026-07-09 21:07:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567686 -2.823797)'), GeomFromEWKT('SRID=4674;POINT (-40.567617 -2.823782)'))) / (select extract(epoch from '2026-07-09 21:07:41'::timestamp) - extract(epoch from '2026-07-09 21:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567686 -2.823797)'), GeomFromEWKT('SRID=4674;POINT (-40.567617 -2.823782)'))) / (select extract(epoch from '2026-07-09 21:07:41'::timestamp) - extract(epoch from '2026-07-09 21:07: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'), 47635, 'SRID=4674;POINT (-40.567602 -2.823775)', '2026-07-09 21:07:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567617 -2.823782)'), GeomFromEWKT('SRID=4674;POINT (-40.567602 -2.823775)'))) / (select extract(epoch from '2026-07-09 21:07:54'::timestamp) - extract(epoch from '2026-07-09 21:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567617 -2.823782)'), GeomFromEWKT('SRID=4674;POINT (-40.567602 -2.823775)'))) / (select extract(epoch from '2026-07-09 21:07:54'::timestamp) - extract(epoch from '2026-07-09 21:07: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'), 47635, 'SRID=4674;POINT (-40.567568 -2.823688)', '2026-07-09 21:10:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567602 -2.823775)'), GeomFromEWKT('SRID=4674;POINT (-40.567568 -2.823688)'))) / (select extract(epoch from '2026-07-09 21:10:35'::timestamp) - extract(epoch from '2026-07-09 21:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567602 -2.823775)'), GeomFromEWKT('SRID=4674;POINT (-40.567568 -2.823688)'))) / (select extract(epoch from '2026-07-09 21:10:35'::timestamp) - extract(epoch from '2026-07-09 21:07: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'), 47635, 'SRID=4674;POINT (-40.567481 -2.823672)', '2026-07-09 21:11:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567568 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.567481 -2.823672)'))) / (select extract(epoch from '2026-07-09 21:11:00'::timestamp) - extract(epoch from '2026-07-09 21:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567568 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.567481 -2.823672)'))) / (select extract(epoch from '2026-07-09 21:11:00'::timestamp) - extract(epoch from '2026-07-09 21:10: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'), 47635, 'SRID=4674;POINT (-40.567436 -2.823676)', '2026-07-09 21:11:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567481 -2.823672)'), GeomFromEWKT('SRID=4674;POINT (-40.567436 -2.823676)'))) / (select extract(epoch from '2026-07-09 21:11:10'::timestamp) - extract(epoch from '2026-07-09 21:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567481 -2.823672)'), GeomFromEWKT('SRID=4674;POINT (-40.567436 -2.823676)'))) / (select extract(epoch from '2026-07-09 21:11:10'::timestamp) - extract(epoch from '2026-07-09 21:11: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'), 47635, 'SRID=4674;POINT (-40.567416 -2.82367)', '2026-07-09 21:11:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567436 -2.823676)'), GeomFromEWKT('SRID=4674;POINT (-40.567416 -2.82367)'))) / (select extract(epoch from '2026-07-09 21:11:58'::timestamp) - extract(epoch from '2026-07-09 21:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567436 -2.823676)'), GeomFromEWKT('SRID=4674;POINT (-40.567416 -2.82367)'))) / (select extract(epoch from '2026-07-09 21:11:58'::timestamp) - extract(epoch from '2026-07-09 21:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567373 -2.823656)', '2026-07-09 21:12:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567416 -2.82367)'), GeomFromEWKT('SRID=4674;POINT (-40.567373 -2.823656)'))) / (select extract(epoch from '2026-07-09 21:12:08'::timestamp) - extract(epoch from '2026-07-09 21:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567416 -2.82367)'), GeomFromEWKT('SRID=4674;POINT (-40.567373 -2.823656)'))) / (select extract(epoch from '2026-07-09 21:12:08'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.56735 -2.823649)', '2026-07-09 21:12:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567373 -2.823656)'), GeomFromEWKT('SRID=4674;POINT (-40.56735 -2.823649)'))) / (select extract(epoch from '2026-07-09 21:12:14'::timestamp) - extract(epoch from '2026-07-09 21:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567373 -2.823656)'), GeomFromEWKT('SRID=4674;POINT (-40.56735 -2.823649)'))) / (select extract(epoch from '2026-07-09 21:12:14'::timestamp) - extract(epoch from '2026-07-09 21:12: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'), 47635, 'SRID=4674;POINT (-40.567316 -2.823644)', '2026-07-09 21:12:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56735 -2.823649)'), GeomFromEWKT('SRID=4674;POINT (-40.567316 -2.823644)'))) / (select extract(epoch from '2026-07-09 21:12:22'::timestamp) - extract(epoch from '2026-07-09 21:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56735 -2.823649)'), GeomFromEWKT('SRID=4674;POINT (-40.567316 -2.823644)'))) / (select extract(epoch from '2026-07-09 21:12:22'::timestamp) - extract(epoch from '2026-07-09 21:12: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'), 47635, 'SRID=4674;POINT (-40.56726 -2.823647)', '2026-07-09 21:12:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567316 -2.823644)'), GeomFromEWKT('SRID=4674;POINT (-40.56726 -2.823647)'))) / (select extract(epoch from '2026-07-09 21:12:32'::timestamp) - extract(epoch from '2026-07-09 21:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567316 -2.823644)'), GeomFromEWKT('SRID=4674;POINT (-40.56726 -2.823647)'))) / (select extract(epoch from '2026-07-09 21:12:32'::timestamp) - extract(epoch from '2026-07-09 21:12: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'), 47635, 'SRID=4674;POINT (-40.567231 -2.823662)', '2026-07-09 21:12:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56726 -2.823647)'), GeomFromEWKT('SRID=4674;POINT (-40.567231 -2.823662)'))) / (select extract(epoch from '2026-07-09 21:12:43'::timestamp) - extract(epoch from '2026-07-09 21:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56726 -2.823647)'), GeomFromEWKT('SRID=4674;POINT (-40.567231 -2.823662)'))) / (select extract(epoch from '2026-07-09 21:12:43'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.567236 -2.823685)', '2026-07-09 21:13:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567231 -2.823662)'), GeomFromEWKT('SRID=4674;POINT (-40.567236 -2.823685)'))) / (select extract(epoch from '2026-07-09 21:13:08'::timestamp) - extract(epoch from '2026-07-09 21:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567231 -2.823662)'), GeomFromEWKT('SRID=4674;POINT (-40.567236 -2.823685)'))) / (select extract(epoch from '2026-07-09 21:13:08'::timestamp) - extract(epoch from '2026-07-09 21:12: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'), 47635, 'SRID=4674;POINT (-40.567236 -2.823667)', '2026-07-09 21:13:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567236 -2.823685)'), GeomFromEWKT('SRID=4674;POINT (-40.567236 -2.823667)'))) / (select extract(epoch from '2026-07-09 21:13:52'::timestamp) - extract(epoch from '2026-07-09 21:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567236 -2.823685)'), GeomFromEWKT('SRID=4674;POINT (-40.567236 -2.823667)'))) / (select extract(epoch from '2026-07-09 21:13:52'::timestamp) - extract(epoch from '2026-07-09 21:13: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'), 47635, 'SRID=4674;POINT (-40.567185 -2.823667)', '2026-07-09 21:14:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567236 -2.823667)'), GeomFromEWKT('SRID=4674;POINT (-40.567185 -2.823667)'))) / (select extract(epoch from '2026-07-09 21:14:03'::timestamp) - extract(epoch from '2026-07-09 21:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567236 -2.823667)'), GeomFromEWKT('SRID=4674;POINT (-40.567185 -2.823667)'))) / (select extract(epoch from '2026-07-09 21:14:03'::timestamp) - extract(epoch from '2026-07-09 21:13: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'), 47635, 'SRID=4674;POINT (-40.567158 -2.823688)', '2026-07-09 21:14:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567185 -2.823667)'), GeomFromEWKT('SRID=4674;POINT (-40.567158 -2.823688)'))) / (select extract(epoch from '2026-07-09 21:14:20'::timestamp) - extract(epoch from '2026-07-09 21:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567185 -2.823667)'), GeomFromEWKT('SRID=4674;POINT (-40.567158 -2.823688)'))) / (select extract(epoch from '2026-07-09 21:14:20'::timestamp) - extract(epoch from '2026-07-09 21:14: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'), 47635, 'SRID=4674;POINT (-40.567193 -2.823764)', '2026-07-09 21:15:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567158 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.567193 -2.823764)'))) / (select extract(epoch from '2026-07-09 21:15:07'::timestamp) - extract(epoch from '2026-07-09 21:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567158 -2.823688)'), GeomFromEWKT('SRID=4674;POINT (-40.567193 -2.823764)'))) / (select extract(epoch from '2026-07-09 21:15:07'::timestamp) - extract(epoch from '2026-07-09 21:14: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'), 47635, 'SRID=4674;POINT (-40.567281 -2.823768)', '2026-07-09 21:15:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567193 -2.823764)'), GeomFromEWKT('SRID=4674;POINT (-40.567281 -2.823768)'))) / (select extract(epoch from '2026-07-09 21:15:29'::timestamp) - extract(epoch from '2026-07-09 21:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567193 -2.823764)'), GeomFromEWKT('SRID=4674;POINT (-40.567281 -2.823768)'))) / (select extract(epoch from '2026-07-09 21:15:29'::timestamp) - extract(epoch from '2026-07-09 21:15: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'), 47635, 'SRID=4674;POINT (-40.567302 -2.823765)', '2026-07-09 21:15:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567281 -2.823768)'), GeomFromEWKT('SRID=4674;POINT (-40.567302 -2.823765)'))) / (select extract(epoch from '2026-07-09 21:15:40'::timestamp) - extract(epoch from '2026-07-09 21:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567281 -2.823768)'), GeomFromEWKT('SRID=4674;POINT (-40.567302 -2.823765)'))) / (select extract(epoch from '2026-07-09 21:15:40'::timestamp) - extract(epoch from '2026-07-09 21:15: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'), 47635, 'SRID=4674;POINT (-40.567235 -2.823773)', '2026-07-09 21:15:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567302 -2.823765)'), GeomFromEWKT('SRID=4674;POINT (-40.567235 -2.823773)'))) / (select extract(epoch from '2026-07-09 21:15:49'::timestamp) - extract(epoch from '2026-07-09 21:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567302 -2.823765)'), GeomFromEWKT('SRID=4674;POINT (-40.567235 -2.823773)'))) / (select extract(epoch from '2026-07-09 21:15:49'::timestamp) - extract(epoch from '2026-07-09 21:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567225 -2.823773)', '2026-07-09 21:15:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567235 -2.823773)'), GeomFromEWKT('SRID=4674;POINT (-40.567225 -2.823773)'))) / (select extract(epoch from '2026-07-09 21:15:50'::timestamp) - extract(epoch from '2026-07-09 21:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567235 -2.823773)'), GeomFromEWKT('SRID=4674;POINT (-40.567225 -2.823773)'))) / (select extract(epoch from '2026-07-09 21:15:50'::timestamp) - extract(epoch from '2026-07-09 21:15: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'), 47635, 'SRID=4674;POINT (-40.567201 -2.823771)', '2026-07-09 21:15:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567225 -2.823773)'), GeomFromEWKT('SRID=4674;POINT (-40.567201 -2.823771)'))) / (select extract(epoch from '2026-07-09 21:15:52'::timestamp) - extract(epoch from '2026-07-09 21:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567225 -2.823773)'), GeomFromEWKT('SRID=4674;POINT (-40.567201 -2.823771)'))) / (select extract(epoch from '2026-07-09 21:15:52'::timestamp) - extract(epoch from '2026-07-09 21:15: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'), 47635, 'SRID=4674;POINT (-40.567182 -2.823776)', '2026-07-09 21:15:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567201 -2.823771)'), GeomFromEWKT('SRID=4674;POINT (-40.567182 -2.823776)'))) / (select extract(epoch from '2026-07-09 21:15:54'::timestamp) - extract(epoch from '2026-07-09 21:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567201 -2.823771)'), GeomFromEWKT('SRID=4674;POINT (-40.567182 -2.823776)'))) / (select extract(epoch from '2026-07-09 21:15:54'::timestamp) - extract(epoch from '2026-07-09 21:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567122 -2.823792)', '2026-07-09 21:16:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567182 -2.823776)'), GeomFromEWKT('SRID=4674;POINT (-40.567122 -2.823792)'))) / (select extract(epoch from '2026-07-09 21:16:02'::timestamp) - extract(epoch from '2026-07-09 21:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567182 -2.823776)'), GeomFromEWKT('SRID=4674;POINT (-40.567122 -2.823792)'))) / (select extract(epoch from '2026-07-09 21:16:02'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.567071 -2.823833)', '2026-07-09 21:16:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567122 -2.823792)'), GeomFromEWKT('SRID=4674;POINT (-40.567071 -2.823833)'))) / (select extract(epoch from '2026-07-09 21:16:16'::timestamp) - extract(epoch from '2026-07-09 21:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567122 -2.823792)'), GeomFromEWKT('SRID=4674;POINT (-40.567071 -2.823833)'))) / (select extract(epoch from '2026-07-09 21:16:16'::timestamp) - extract(epoch from '2026-07-09 21:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567062 -2.823857)', '2026-07-09 21:16:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567071 -2.823833)'), GeomFromEWKT('SRID=4674;POINT (-40.567062 -2.823857)'))) / (select extract(epoch from '2026-07-09 21:16:26'::timestamp) - extract(epoch from '2026-07-09 21:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567071 -2.823833)'), GeomFromEWKT('SRID=4674;POINT (-40.567062 -2.823857)'))) / (select extract(epoch from '2026-07-09 21:16:26'::timestamp) - extract(epoch from '2026-07-09 21:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.567057 -2.823873)', '2026-07-09 21:16:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567062 -2.823857)'), GeomFromEWKT('SRID=4674;POINT (-40.567057 -2.823873)'))) / (select extract(epoch from '2026-07-09 21:16:33'::timestamp) - extract(epoch from '2026-07-09 21:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567062 -2.823857)'), GeomFromEWKT('SRID=4674;POINT (-40.567057 -2.823873)'))) / (select extract(epoch from '2026-07-09 21:16:33'::timestamp) - extract(epoch from '2026-07-09 21:16: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'), 47635, 'SRID=4674;POINT (-40.56708 -2.823803)', '2026-07-09 21:18:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567057 -2.823873)'), GeomFromEWKT('SRID=4674;POINT (-40.56708 -2.823803)'))) / (select extract(epoch from '2026-07-09 21:18:06'::timestamp) - extract(epoch from '2026-07-09 21:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.567057 -2.823873)'), GeomFromEWKT('SRID=4674;POINT (-40.56708 -2.823803)'))) / (select extract(epoch from '2026-07-09 21:18:06'::timestamp) - extract(epoch from '2026-07-09 21:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.56708 -2.823802)', '2026-07-09 21:18:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56708 -2.823803)'), GeomFromEWKT('SRID=4674;POINT (-40.56708 -2.823802)'))) / (select extract(epoch from '2026-07-09 21:18:19'::timestamp) - extract(epoch from '2026-07-09 21:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56708 -2.823803)'), GeomFromEWKT('SRID=4674;POINT (-40.56708 -2.823802)'))) / (select extract(epoch from '2026-07-09 21:18:19'::timestamp) - extract(epoch from '2026-07-09 21:18: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'), 47635, 'SRID=4674;POINT (-40.56704 -2.823736)', '2026-07-09 21:20:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56708 -2.823802)'), GeomFromEWKT('SRID=4674;POINT (-40.56704 -2.823736)'))) / (select extract(epoch from '2026-07-09 21:20:44'::timestamp) - extract(epoch from '2026-07-09 21:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56708 -2.823802)'), GeomFromEWKT('SRID=4674;POINT (-40.56704 -2.823736)'))) / (select extract(epoch from '2026-07-09 21:20:44'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.56699 -2.823732)', '2026-07-09 21:20:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56704 -2.823736)'), GeomFromEWKT('SRID=4674;POINT (-40.56699 -2.823732)'))) / (select extract(epoch from '2026-07-09 21:20:55'::timestamp) - extract(epoch from '2026-07-09 21:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56704 -2.823736)'), GeomFromEWKT('SRID=4674;POINT (-40.56699 -2.823732)'))) / (select extract(epoch from '2026-07-09 21:20:55'::timestamp) - extract(epoch from '2026-07-09 21:20: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'), 47635, 'SRID=4674;POINT (-40.566932 -2.823713)', '2026-07-09 21:22:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56699 -2.823732)'), GeomFromEWKT('SRID=4674;POINT (-40.566932 -2.823713)'))) / (select extract(epoch from '2026-07-09 21:22:09'::timestamp) - extract(epoch from '2026-07-09 21:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56699 -2.823732)'), GeomFromEWKT('SRID=4674;POINT (-40.566932 -2.823713)'))) / (select extract(epoch from '2026-07-09 21:22:09'::timestamp) - extract(epoch from '2026-07-09 21:20: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'), 47635, 'SRID=4674;POINT (-40.566876 -2.823711)', '2026-07-09 21:22:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566932 -2.823713)'), GeomFromEWKT('SRID=4674;POINT (-40.566876 -2.823711)'))) / (select extract(epoch from '2026-07-09 21:22:19'::timestamp) - extract(epoch from '2026-07-09 21:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566932 -2.823713)'), GeomFromEWKT('SRID=4674;POINT (-40.566876 -2.823711)'))) / (select extract(epoch from '2026-07-09 21:22:19'::timestamp) - extract(epoch from '2026-07-09 21:22: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'), 47635, 'SRID=4674;POINT (-40.566827 -2.823703)', '2026-07-09 21:22:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566876 -2.823711)'), GeomFromEWKT('SRID=4674;POINT (-40.566827 -2.823703)'))) / (select extract(epoch from '2026-07-09 21:22:30'::timestamp) - extract(epoch from '2026-07-09 21:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566876 -2.823711)'), GeomFromEWKT('SRID=4674;POINT (-40.566827 -2.823703)'))) / (select extract(epoch from '2026-07-09 21:22:30'::timestamp) - extract(epoch from '2026-07-09 21:22: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'), 47635, 'SRID=4674;POINT (-40.56682 -2.823703)', '2026-07-09 21:22:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566827 -2.823703)'), GeomFromEWKT('SRID=4674;POINT (-40.56682 -2.823703)'))) / (select extract(epoch from '2026-07-09 21:22:42'::timestamp) - extract(epoch from '2026-07-09 21:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566827 -2.823703)'), GeomFromEWKT('SRID=4674;POINT (-40.56682 -2.823703)'))) / (select extract(epoch from '2026-07-09 21:22:42'::timestamp) - extract(epoch from '2026-07-09 21:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566747 -2.823704)', '2026-07-09 21:23:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56682 -2.823703)'), GeomFromEWKT('SRID=4674;POINT (-40.566747 -2.823704)'))) / (select extract(epoch from '2026-07-09 21:23:01'::timestamp) - extract(epoch from '2026-07-09 21:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56682 -2.823703)'), GeomFromEWKT('SRID=4674;POINT (-40.566747 -2.823704)'))) / (select extract(epoch from '2026-07-09 21:23:01'::timestamp) - extract(epoch from '2026-07-09 21:22: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'), 47635, 'SRID=4674;POINT (-40.566686 -2.823715)', '2026-07-09 21:23:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566747 -2.823704)'), GeomFromEWKT('SRID=4674;POINT (-40.566686 -2.823715)'))) / (select extract(epoch from '2026-07-09 21:23:12'::timestamp) - extract(epoch from '2026-07-09 21:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566747 -2.823704)'), GeomFromEWKT('SRID=4674;POINT (-40.566686 -2.823715)'))) / (select extract(epoch from '2026-07-09 21:23:12'::timestamp) - extract(epoch from '2026-07-09 21:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566639 -2.823712)', '2026-07-09 21:23:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566686 -2.823715)'), GeomFromEWKT('SRID=4674;POINT (-40.566639 -2.823712)'))) / (select extract(epoch from '2026-07-09 21:23:23'::timestamp) - extract(epoch from '2026-07-09 21:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566686 -2.823715)'), GeomFromEWKT('SRID=4674;POINT (-40.566639 -2.823712)'))) / (select extract(epoch from '2026-07-09 21:23:23'::timestamp) - extract(epoch from '2026-07-09 21:23: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'), 47635, 'SRID=4674;POINT (-40.566651 -2.823718)', '2026-07-09 21:23:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566639 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.566651 -2.823718)'))) / (select extract(epoch from '2026-07-09 21:23:49'::timestamp) - extract(epoch from '2026-07-09 21:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566639 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.566651 -2.823718)'))) / (select extract(epoch from '2026-07-09 21:23:49'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.566622 -2.823634)', '2026-07-09 21:27:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566651 -2.823718)'), GeomFromEWKT('SRID=4674;POINT (-40.566622 -2.823634)'))) / (select extract(epoch from '2026-07-09 21:27:58'::timestamp) - extract(epoch from '2026-07-09 21:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566651 -2.823718)'), GeomFromEWKT('SRID=4674;POINT (-40.566622 -2.823634)'))) / (select extract(epoch from '2026-07-09 21:27:58'::timestamp) - extract(epoch from '2026-07-09 21:23: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'), 47635, 'SRID=4674;POINT (-40.566569 -2.823621)', '2026-07-09 21:28:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566622 -2.823634)'), GeomFromEWKT('SRID=4674;POINT (-40.566569 -2.823621)'))) / (select extract(epoch from '2026-07-09 21:28:50'::timestamp) - extract(epoch from '2026-07-09 21:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566622 -2.823634)'), GeomFromEWKT('SRID=4674;POINT (-40.566569 -2.823621)'))) / (select extract(epoch from '2026-07-09 21:28:50'::timestamp) - extract(epoch from '2026-07-09 21:27: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'), 47635, 'SRID=4674;POINT (-40.566531 -2.823611)', '2026-07-09 21:28:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566569 -2.823621)'), GeomFromEWKT('SRID=4674;POINT (-40.566531 -2.823611)'))) / (select extract(epoch from '2026-07-09 21:28:59'::timestamp) - extract(epoch from '2026-07-09 21:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566569 -2.823621)'), GeomFromEWKT('SRID=4674;POINT (-40.566531 -2.823611)'))) / (select extract(epoch from '2026-07-09 21:28:59'::timestamp) - extract(epoch from '2026-07-09 21:28: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'), 47635, 'SRID=4674;POINT (-40.56646 -2.823606)', '2026-07-09 21:29:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566531 -2.823611)'), GeomFromEWKT('SRID=4674;POINT (-40.56646 -2.823606)'))) / (select extract(epoch from '2026-07-09 21:29:38'::timestamp) - extract(epoch from '2026-07-09 21:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566531 -2.823611)'), GeomFromEWKT('SRID=4674;POINT (-40.56646 -2.823606)'))) / (select extract(epoch from '2026-07-09 21:29:38'::timestamp) - extract(epoch from '2026-07-09 21:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566453 -2.823611)', '2026-07-09 21:29:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56646 -2.823606)'), GeomFromEWKT('SRID=4674;POINT (-40.566453 -2.823611)'))) / (select extract(epoch from '2026-07-09 21:29:49'::timestamp) - extract(epoch from '2026-07-09 21:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56646 -2.823606)'), GeomFromEWKT('SRID=4674;POINT (-40.566453 -2.823611)'))) / (select extract(epoch from '2026-07-09 21:29:49'::timestamp) - extract(epoch from '2026-07-09 21:29: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'), 47635, 'SRID=4674;POINT (-40.566346 -2.823602)', '2026-07-09 21:30:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566453 -2.823611)'), GeomFromEWKT('SRID=4674;POINT (-40.566346 -2.823602)'))) / (select extract(epoch from '2026-07-09 21:30:18'::timestamp) - extract(epoch from '2026-07-09 21:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566453 -2.823611)'), GeomFromEWKT('SRID=4674;POINT (-40.566346 -2.823602)'))) / (select extract(epoch from '2026-07-09 21:30:18'::timestamp) - extract(epoch from '2026-07-09 21:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566295 -2.823577)', '2026-07-09 21:30:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566346 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.566295 -2.823577)'))) / (select extract(epoch from '2026-07-09 21:30:28'::timestamp) - extract(epoch from '2026-07-09 21:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566346 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.566295 -2.823577)'))) / (select extract(epoch from '2026-07-09 21:30:28'::timestamp) - extract(epoch from '2026-07-09 21:30: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'), 47635, 'SRID=4674;POINT (-40.566237 -2.823557)', '2026-07-09 21:30:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566295 -2.823577)'), GeomFromEWKT('SRID=4674;POINT (-40.566237 -2.823557)'))) / (select extract(epoch from '2026-07-09 21:30:42'::timestamp) - extract(epoch from '2026-07-09 21:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566295 -2.823577)'), GeomFromEWKT('SRID=4674;POINT (-40.566237 -2.823557)'))) / (select extract(epoch from '2026-07-09 21:30:42'::timestamp) - extract(epoch from '2026-07-09 21:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.566194 -2.823541)', '2026-07-09 21:31:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566237 -2.823557)'), GeomFromEWKT('SRID=4674;POINT (-40.566194 -2.823541)'))) / (select extract(epoch from '2026-07-09 21:31:18'::timestamp) - extract(epoch from '2026-07-09 21:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566237 -2.823557)'), GeomFromEWKT('SRID=4674;POINT (-40.566194 -2.823541)'))) / (select extract(epoch from '2026-07-09 21:31:18'::timestamp) - extract(epoch from '2026-07-09 21:30: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'), 47635, 'SRID=4674;POINT (-40.566119 -2.823516)', '2026-07-09 21:31:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566194 -2.823541)'), GeomFromEWKT('SRID=4674;POINT (-40.566119 -2.823516)'))) / (select extract(epoch from '2026-07-09 21:31:59'::timestamp) - extract(epoch from '2026-07-09 21:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566194 -2.823541)'), GeomFromEWKT('SRID=4674;POINT (-40.566119 -2.823516)'))) / (select extract(epoch from '2026-07-09 21:31:59'::timestamp) - extract(epoch from '2026-07-09 21:31: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'), 47635, 'SRID=4674;POINT (-40.566083 -2.8235)', '2026-07-09 21:32:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566119 -2.823516)'), GeomFromEWKT('SRID=4674;POINT (-40.566083 -2.8235)'))) / (select extract(epoch from '2026-07-09 21:32:09'::timestamp) - extract(epoch from '2026-07-09 21:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566119 -2.823516)'), GeomFromEWKT('SRID=4674;POINT (-40.566083 -2.8235)'))) / (select extract(epoch from '2026-07-09 21:32:09'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.566069 -2.823488)', '2026-07-09 21:32:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566083 -2.8235)'), GeomFromEWKT('SRID=4674;POINT (-40.566069 -2.823488)'))) / (select extract(epoch from '2026-07-09 21:32:20'::timestamp) - extract(epoch from '2026-07-09 21:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566083 -2.8235)'), GeomFromEWKT('SRID=4674;POINT (-40.566069 -2.823488)'))) / (select extract(epoch from '2026-07-09 21:32:20'::timestamp) - extract(epoch from '2026-07-09 21:32: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'), 47635, 'SRID=4674;POINT (-40.566025 -2.823477)', '2026-07-09 21:32:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566069 -2.823488)'), GeomFromEWKT('SRID=4674;POINT (-40.566025 -2.823477)'))) / (select extract(epoch from '2026-07-09 21:32:54'::timestamp) - extract(epoch from '2026-07-09 21:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566069 -2.823488)'), GeomFromEWKT('SRID=4674;POINT (-40.566025 -2.823477)'))) / (select extract(epoch from '2026-07-09 21:32:54'::timestamp) - extract(epoch from '2026-07-09 21:32: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'), 47635, 'SRID=4674;POINT (-40.565984 -2.823464)', '2026-07-09 21:33:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566025 -2.823477)'), GeomFromEWKT('SRID=4674;POINT (-40.565984 -2.823464)'))) / (select extract(epoch from '2026-07-09 21:33:02'::timestamp) - extract(epoch from '2026-07-09 21:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.566025 -2.823477)'), GeomFromEWKT('SRID=4674;POINT (-40.565984 -2.823464)'))) / (select extract(epoch from '2026-07-09 21:33:02'::timestamp) - extract(epoch from '2026-07-09 21:32: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'), 47635, 'SRID=4674;POINT (-40.565944 -2.823439)', '2026-07-09 21:33:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565984 -2.823464)'), GeomFromEWKT('SRID=4674;POINT (-40.565944 -2.823439)'))) / (select extract(epoch from '2026-07-09 21:33:12'::timestamp) - extract(epoch from '2026-07-09 21:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565984 -2.823464)'), GeomFromEWKT('SRID=4674;POINT (-40.565944 -2.823439)'))) / (select extract(epoch from '2026-07-09 21:33:12'::timestamp) - extract(epoch from '2026-07-09 21:33: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'), 47635, 'SRID=4674;POINT (-40.56591 -2.823427)', '2026-07-09 21:33:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565944 -2.823439)'), GeomFromEWKT('SRID=4674;POINT (-40.56591 -2.823427)'))) / (select extract(epoch from '2026-07-09 21:33:20'::timestamp) - extract(epoch from '2026-07-09 21:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565944 -2.823439)'), GeomFromEWKT('SRID=4674;POINT (-40.56591 -2.823427)'))) / (select extract(epoch from '2026-07-09 21:33:20'::timestamp) - extract(epoch from '2026-07-09 21:33: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'), 47635, 'SRID=4674;POINT (-40.565856 -2.823424)', '2026-07-09 21:33:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56591 -2.823427)'), GeomFromEWKT('SRID=4674;POINT (-40.565856 -2.823424)'))) / (select extract(epoch from '2026-07-09 21:33:30'::timestamp) - extract(epoch from '2026-07-09 21:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56591 -2.823427)'), GeomFromEWKT('SRID=4674;POINT (-40.565856 -2.823424)'))) / (select extract(epoch from '2026-07-09 21:33:30'::timestamp) - extract(epoch from '2026-07-09 21:33: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'), 47635, 'SRID=4674;POINT (-40.565813 -2.823412)', '2026-07-09 21:33:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565856 -2.823424)'), GeomFromEWKT('SRID=4674;POINT (-40.565813 -2.823412)'))) / (select extract(epoch from '2026-07-09 21:33:41'::timestamp) - extract(epoch from '2026-07-09 21:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565856 -2.823424)'), GeomFromEWKT('SRID=4674;POINT (-40.565813 -2.823412)'))) / (select extract(epoch from '2026-07-09 21:33:41'::timestamp) - extract(epoch from '2026-07-09 21:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565785 -2.823403)', '2026-07-09 21:33:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565813 -2.823412)'), GeomFromEWKT('SRID=4674;POINT (-40.565785 -2.823403)'))) / (select extract(epoch from '2026-07-09 21:33:49'::timestamp) - extract(epoch from '2026-07-09 21:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565813 -2.823412)'), GeomFromEWKT('SRID=4674;POINT (-40.565785 -2.823403)'))) / (select extract(epoch from '2026-07-09 21:33:49'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.565768 -2.823395)', '2026-07-09 21:34:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565785 -2.823403)'), GeomFromEWKT('SRID=4674;POINT (-40.565768 -2.823395)'))) / (select extract(epoch from '2026-07-09 21:34:09'::timestamp) - extract(epoch from '2026-07-09 21:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565785 -2.823403)'), GeomFromEWKT('SRID=4674;POINT (-40.565768 -2.823395)'))) / (select extract(epoch from '2026-07-09 21:34:09'::timestamp) - extract(epoch from '2026-07-09 21:33: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'), 47635, 'SRID=4674;POINT (-40.565725 -2.823385)', '2026-07-09 21:34:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565768 -2.823395)'), GeomFromEWKT('SRID=4674;POINT (-40.565725 -2.823385)'))) / (select extract(epoch from '2026-07-09 21:34:17'::timestamp) - extract(epoch from '2026-07-09 21:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565768 -2.823395)'), GeomFromEWKT('SRID=4674;POINT (-40.565725 -2.823385)'))) / (select extract(epoch from '2026-07-09 21:34:17'::timestamp) - extract(epoch from '2026-07-09 21:34: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'), 47635, 'SRID=4674;POINT (-40.565678 -2.823344)', '2026-07-09 21:34:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565725 -2.823385)'), GeomFromEWKT('SRID=4674;POINT (-40.565678 -2.823344)'))) / (select extract(epoch from '2026-07-09 21:34:29'::timestamp) - extract(epoch from '2026-07-09 21:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565725 -2.823385)'), GeomFromEWKT('SRID=4674;POINT (-40.565678 -2.823344)'))) / (select extract(epoch from '2026-07-09 21:34:29'::timestamp) - extract(epoch from '2026-07-09 21:34: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'), 47635, 'SRID=4674;POINT (-40.565627 -2.823325)', '2026-07-09 21:34:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565678 -2.823344)'), GeomFromEWKT('SRID=4674;POINT (-40.565627 -2.823325)'))) / (select extract(epoch from '2026-07-09 21:34:40'::timestamp) - extract(epoch from '2026-07-09 21:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565678 -2.823344)'), GeomFromEWKT('SRID=4674;POINT (-40.565627 -2.823325)'))) / (select extract(epoch from '2026-07-09 21:34:40'::timestamp) - extract(epoch from '2026-07-09 21:34: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'), 47635, 'SRID=4674;POINT (-40.565581 -2.823312)', '2026-07-09 21:34:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565627 -2.823325)'), GeomFromEWKT('SRID=4674;POINT (-40.565581 -2.823312)'))) / (select extract(epoch from '2026-07-09 21:34:50'::timestamp) - extract(epoch from '2026-07-09 21:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565627 -2.823325)'), GeomFromEWKT('SRID=4674;POINT (-40.565581 -2.823312)'))) / (select extract(epoch from '2026-07-09 21:34:50'::timestamp) - extract(epoch from '2026-07-09 21:34: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'), 47635, 'SRID=4674;POINT (-40.565542 -2.823298)', '2026-07-09 21:34:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565581 -2.823312)'), GeomFromEWKT('SRID=4674;POINT (-40.565542 -2.823298)'))) / (select extract(epoch from '2026-07-09 21:34:59'::timestamp) - extract(epoch from '2026-07-09 21:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565581 -2.823312)'), GeomFromEWKT('SRID=4674;POINT (-40.565542 -2.823298)'))) / (select extract(epoch from '2026-07-09 21:34:59'::timestamp) - extract(epoch from '2026-07-09 21:34: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'), 47635, 'SRID=4674;POINT (-40.565491 -2.82327)', '2026-07-09 21:35:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565542 -2.823298)'), GeomFromEWKT('SRID=4674;POINT (-40.565491 -2.82327)'))) / (select extract(epoch from '2026-07-09 21:35:13'::timestamp) - extract(epoch from '2026-07-09 21:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565542 -2.823298)'), GeomFromEWKT('SRID=4674;POINT (-40.565491 -2.82327)'))) / (select extract(epoch from '2026-07-09 21:35:13'::timestamp) - extract(epoch from '2026-07-09 21:34: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'), 47635, 'SRID=4674;POINT (-40.56545 -2.823258)', '2026-07-09 21:35:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565491 -2.82327)'), GeomFromEWKT('SRID=4674;POINT (-40.56545 -2.823258)'))) / (select extract(epoch from '2026-07-09 21:35:24'::timestamp) - extract(epoch from '2026-07-09 21:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565491 -2.82327)'), GeomFromEWKT('SRID=4674;POINT (-40.56545 -2.823258)'))) / (select extract(epoch from '2026-07-09 21:35:24'::timestamp) - extract(epoch from '2026-07-09 21:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565443 -2.823258)', '2026-07-09 21:35:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56545 -2.823258)'), GeomFromEWKT('SRID=4674;POINT (-40.565443 -2.823258)'))) / (select extract(epoch from '2026-07-09 21:35:37'::timestamp) - extract(epoch from '2026-07-09 21:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56545 -2.823258)'), GeomFromEWKT('SRID=4674;POINT (-40.565443 -2.823258)'))) / (select extract(epoch from '2026-07-09 21:35:37'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.565351 -2.823224)', '2026-07-09 21:38:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565443 -2.823258)'), GeomFromEWKT('SRID=4674;POINT (-40.565351 -2.823224)'))) / (select extract(epoch from '2026-07-09 21:38:21'::timestamp) - extract(epoch from '2026-07-09 21:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565443 -2.823258)'), GeomFromEWKT('SRID=4674;POINT (-40.565351 -2.823224)'))) / (select extract(epoch from '2026-07-09 21:38:21'::timestamp) - extract(epoch from '2026-07-09 21:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565239 -2.823197)', '2026-07-09 21:38:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565351 -2.823224)'), GeomFromEWKT('SRID=4674;POINT (-40.565239 -2.823197)'))) / (select extract(epoch from '2026-07-09 21:38:56'::timestamp) - extract(epoch from '2026-07-09 21:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565351 -2.823224)'), GeomFromEWKT('SRID=4674;POINT (-40.565239 -2.823197)'))) / (select extract(epoch from '2026-07-09 21:38:56'::timestamp) - extract(epoch from '2026-07-09 21:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.565181 -2.823175)', '2026-07-09 21:39:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565239 -2.823197)'), GeomFromEWKT('SRID=4674;POINT (-40.565181 -2.823175)'))) / (select extract(epoch from '2026-07-09 21:39:09'::timestamp) - extract(epoch from '2026-07-09 21:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565239 -2.823197)'), GeomFromEWKT('SRID=4674;POINT (-40.565181 -2.823175)'))) / (select extract(epoch from '2026-07-09 21:39:09'::timestamp) - extract(epoch from '2026-07-09 21:38: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'), 47635, 'SRID=4674;POINT (-40.565111 -2.823107)', '2026-07-09 21:43:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565181 -2.823175)'), GeomFromEWKT('SRID=4674;POINT (-40.565111 -2.823107)'))) / (select extract(epoch from '2026-07-09 21:43:01'::timestamp) - extract(epoch from '2026-07-09 21:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565181 -2.823175)'), GeomFromEWKT('SRID=4674;POINT (-40.565111 -2.823107)'))) / (select extract(epoch from '2026-07-09 21:43:01'::timestamp) - extract(epoch from '2026-07-09 21:39: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'), 47635, 'SRID=4674;POINT (-40.565024 -2.823052)', '2026-07-09 21:44:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565111 -2.823107)'), GeomFromEWKT('SRID=4674;POINT (-40.565024 -2.823052)'))) / (select extract(epoch from '2026-07-09 21:44:30'::timestamp) - extract(epoch from '2026-07-09 21:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565111 -2.823107)'), GeomFromEWKT('SRID=4674;POINT (-40.565024 -2.823052)'))) / (select extract(epoch from '2026-07-09 21:44:30'::timestamp) - extract(epoch from '2026-07-09 21:43: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'), 47635, 'SRID=4674;POINT (-40.564951 -2.823034)', '2026-07-09 21:44:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565024 -2.823052)'), GeomFromEWKT('SRID=4674;POINT (-40.564951 -2.823034)'))) / (select extract(epoch from '2026-07-09 21:44:50'::timestamp) - extract(epoch from '2026-07-09 21:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565024 -2.823052)'), GeomFromEWKT('SRID=4674;POINT (-40.564951 -2.823034)'))) / (select extract(epoch from '2026-07-09 21:44:50'::timestamp) - extract(epoch from '2026-07-09 21:44: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'), 47635, 'SRID=4674;POINT (-40.564853 -2.823047)', '2026-07-09 21:45:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564951 -2.823034)'), GeomFromEWKT('SRID=4674;POINT (-40.564853 -2.823047)'))) / (select extract(epoch from '2026-07-09 21:45:19'::timestamp) - extract(epoch from '2026-07-09 21:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564951 -2.823034)'), GeomFromEWKT('SRID=4674;POINT (-40.564853 -2.823047)'))) / (select extract(epoch from '2026-07-09 21:45:19'::timestamp) - extract(epoch from '2026-07-09 21:44: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'), 47635, 'SRID=4674;POINT (-40.564839 -2.823044)', '2026-07-09 21:45:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564853 -2.823047)'), GeomFromEWKT('SRID=4674;POINT (-40.564839 -2.823044)'))) / (select extract(epoch from '2026-07-09 21:45:31'::timestamp) - extract(epoch from '2026-07-09 21:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564853 -2.823047)'), GeomFromEWKT('SRID=4674;POINT (-40.564839 -2.823044)'))) / (select extract(epoch from '2026-07-09 21:45:31'::timestamp) - extract(epoch from '2026-07-09 21:45:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564778 -2.822989)', '2026-07-09 21:46:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564839 -2.823044)'), GeomFromEWKT('SRID=4674;POINT (-40.564778 -2.822989)'))) / (select extract(epoch from '2026-07-09 21:46:40'::timestamp) - extract(epoch from '2026-07-09 21:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564839 -2.823044)'), GeomFromEWKT('SRID=4674;POINT (-40.564778 -2.822989)'))) / (select extract(epoch from '2026-07-09 21:46:40'::timestamp) - extract(epoch from '2026-07-09 21:45: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'), 47635, 'SRID=4674;POINT (-40.564713 -2.82295)', '2026-07-09 21:48:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564778 -2.822989)'), GeomFromEWKT('SRID=4674;POINT (-40.564713 -2.82295)'))) / (select extract(epoch from '2026-07-09 21:48:24'::timestamp) - extract(epoch from '2026-07-09 21:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564778 -2.822989)'), GeomFromEWKT('SRID=4674;POINT (-40.564713 -2.82295)'))) / (select extract(epoch from '2026-07-09 21:48:24'::timestamp) - extract(epoch from '2026-07-09 21:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564667 -2.822953)', '2026-07-09 21:48:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564713 -2.82295)'), GeomFromEWKT('SRID=4674;POINT (-40.564667 -2.822953)'))) / (select extract(epoch from '2026-07-09 21:48:33'::timestamp) - extract(epoch from '2026-07-09 21:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564713 -2.82295)'), GeomFromEWKT('SRID=4674;POINT (-40.564667 -2.822953)'))) / (select extract(epoch from '2026-07-09 21:48:33'::timestamp) - extract(epoch from '2026-07-09 21:48: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'), 47635, 'SRID=4674;POINT (-40.564645 -2.822963)', '2026-07-09 21:48:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564667 -2.822953)'), GeomFromEWKT('SRID=4674;POINT (-40.564645 -2.822963)'))) / (select extract(epoch from '2026-07-09 21:48:40'::timestamp) - extract(epoch from '2026-07-09 21:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564667 -2.822953)'), GeomFromEWKT('SRID=4674;POINT (-40.564645 -2.822963)'))) / (select extract(epoch from '2026-07-09 21:48:40'::timestamp) - extract(epoch from '2026-07-09 21:48: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'), 47635, 'SRID=4674;POINT (-40.564592 -2.822974)', '2026-07-09 21:49:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564645 -2.822963)'), GeomFromEWKT('SRID=4674;POINT (-40.564592 -2.822974)'))) / (select extract(epoch from '2026-07-09 21:49:27'::timestamp) - extract(epoch from '2026-07-09 21:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564645 -2.822963)'), GeomFromEWKT('SRID=4674;POINT (-40.564592 -2.822974)'))) / (select extract(epoch from '2026-07-09 21:49:27'::timestamp) - extract(epoch from '2026-07-09 21:48: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'), 47635, 'SRID=4674;POINT (-40.564533 -2.822941)', '2026-07-09 21:50:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564592 -2.822974)'), GeomFromEWKT('SRID=4674;POINT (-40.564533 -2.822941)'))) / (select extract(epoch from '2026-07-09 21:50:23'::timestamp) - extract(epoch from '2026-07-09 21:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564592 -2.822974)'), GeomFromEWKT('SRID=4674;POINT (-40.564533 -2.822941)'))) / (select extract(epoch from '2026-07-09 21:50:23'::timestamp) - extract(epoch from '2026-07-09 21:49: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'), 47635, 'SRID=4674;POINT (-40.564486 -2.82293)', '2026-07-09 21:50:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564533 -2.822941)'), GeomFromEWKT('SRID=4674;POINT (-40.564486 -2.82293)'))) / (select extract(epoch from '2026-07-09 21:50:32'::timestamp) - extract(epoch from '2026-07-09 21:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564533 -2.822941)'), GeomFromEWKT('SRID=4674;POINT (-40.564486 -2.82293)'))) / (select extract(epoch from '2026-07-09 21:50:32'::timestamp) - extract(epoch from '2026-07-09 21:50: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'), 47635, 'SRID=4674;POINT (-40.564432 -2.822929)', '2026-07-09 21:50:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564486 -2.82293)'), GeomFromEWKT('SRID=4674;POINT (-40.564432 -2.822929)'))) / (select extract(epoch from '2026-07-09 21:50:41'::timestamp) - extract(epoch from '2026-07-09 21:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564486 -2.82293)'), GeomFromEWKT('SRID=4674;POINT (-40.564432 -2.822929)'))) / (select extract(epoch from '2026-07-09 21:50:41'::timestamp) - extract(epoch from '2026-07-09 21:50: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'), 47635, 'SRID=4674;POINT (-40.564388 -2.82293)', '2026-07-09 21:50:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564432 -2.822929)'), GeomFromEWKT('SRID=4674;POINT (-40.564388 -2.82293)'))) / (select extract(epoch from '2026-07-09 21:50:49'::timestamp) - extract(epoch from '2026-07-09 21:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564432 -2.822929)'), GeomFromEWKT('SRID=4674;POINT (-40.564388 -2.82293)'))) / (select extract(epoch from '2026-07-09 21:50:49'::timestamp) - extract(epoch from '2026-07-09 21:50: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'), 47635, 'SRID=4674;POINT (-40.564349 -2.822927)', '2026-07-09 21:50:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564388 -2.82293)'), GeomFromEWKT('SRID=4674;POINT (-40.564349 -2.822927)'))) / (select extract(epoch from '2026-07-09 21:50:57'::timestamp) - extract(epoch from '2026-07-09 21:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564388 -2.82293)'), GeomFromEWKT('SRID=4674;POINT (-40.564349 -2.822927)'))) / (select extract(epoch from '2026-07-09 21:50:57'::timestamp) - extract(epoch from '2026-07-09 21:50: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'), 47635, 'SRID=4674;POINT (-40.564321 -2.822918)', '2026-07-09 21:51:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564349 -2.822927)'), GeomFromEWKT('SRID=4674;POINT (-40.564321 -2.822918)'))) / (select extract(epoch from '2026-07-09 21:51:06'::timestamp) - extract(epoch from '2026-07-09 21:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564349 -2.822927)'), GeomFromEWKT('SRID=4674;POINT (-40.564321 -2.822918)'))) / (select extract(epoch from '2026-07-09 21:51:06'::timestamp) - extract(epoch from '2026-07-09 21:50: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'), 47635, 'SRID=4674;POINT (-40.564251 -2.822889)', '2026-07-09 21:52:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564321 -2.822918)'), GeomFromEWKT('SRID=4674;POINT (-40.564251 -2.822889)'))) / (select extract(epoch from '2026-07-09 21:52:17'::timestamp) - extract(epoch from '2026-07-09 21:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564321 -2.822918)'), GeomFromEWKT('SRID=4674;POINT (-40.564251 -2.822889)'))) / (select extract(epoch from '2026-07-09 21:52:17'::timestamp) - extract(epoch from '2026-07-09 21:51: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'), 47635, 'SRID=4674;POINT (-40.564191 -2.82288)', '2026-07-09 21:52:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564251 -2.822889)'), GeomFromEWKT('SRID=4674;POINT (-40.564191 -2.82288)'))) / (select extract(epoch from '2026-07-09 21:52:27'::timestamp) - extract(epoch from '2026-07-09 21:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564251 -2.822889)'), GeomFromEWKT('SRID=4674;POINT (-40.564191 -2.82288)'))) / (select extract(epoch from '2026-07-09 21:52:27'::timestamp) - extract(epoch from '2026-07-09 21:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564133 -2.82288)', '2026-07-09 21:52:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564191 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.564133 -2.82288)'))) / (select extract(epoch from '2026-07-09 21:52:37'::timestamp) - extract(epoch from '2026-07-09 21:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564191 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.564133 -2.82288)'))) / (select extract(epoch from '2026-07-09 21:52:37'::timestamp) - extract(epoch from '2026-07-09 21:52:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.564082 -2.82289)', '2026-07-09 21:52:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564133 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.564082 -2.82289)'))) / (select extract(epoch from '2026-07-09 21:52:46'::timestamp) - extract(epoch from '2026-07-09 21:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564133 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.564082 -2.82289)'))) / (select extract(epoch from '2026-07-09 21:52:46'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.564042 -2.82289)', '2026-07-09 21:52:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564082 -2.82289)'), GeomFromEWKT('SRID=4674;POINT (-40.564042 -2.82289)'))) / (select extract(epoch from '2026-07-09 21:52:57'::timestamp) - extract(epoch from '2026-07-09 21:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564082 -2.82289)'), GeomFromEWKT('SRID=4674;POINT (-40.564042 -2.82289)'))) / (select extract(epoch from '2026-07-09 21:52:57'::timestamp) - extract(epoch from '2026-07-09 21:52: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'), 47635, 'SRID=4674;POINT (-40.564011 -2.822898)', '2026-07-09 21:53:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564042 -2.82289)'), GeomFromEWKT('SRID=4674;POINT (-40.564011 -2.822898)'))) / (select extract(epoch from '2026-07-09 21:53:04'::timestamp) - extract(epoch from '2026-07-09 21:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564042 -2.82289)'), GeomFromEWKT('SRID=4674;POINT (-40.564011 -2.822898)'))) / (select extract(epoch from '2026-07-09 21:53:04'::timestamp) - extract(epoch from '2026-07-09 21:52: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'), 47635, 'SRID=4674;POINT (-40.563983 -2.822898)', '2026-07-09 21:53:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564011 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.563983 -2.822898)'))) / (select extract(epoch from '2026-07-09 21:53:12'::timestamp) - extract(epoch from '2026-07-09 21:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564011 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.563983 -2.822898)'))) / (select extract(epoch from '2026-07-09 21:53:12'::timestamp) - extract(epoch from '2026-07-09 21:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563945 -2.822879)', '2026-07-09 21:53:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563983 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.563945 -2.822879)'))) / (select extract(epoch from '2026-07-09 21:53:24'::timestamp) - extract(epoch from '2026-07-09 21:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563983 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.563945 -2.822879)'))) / (select extract(epoch from '2026-07-09 21:53:24'::timestamp) - extract(epoch from '2026-07-09 21:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563923 -2.822865)', '2026-07-09 21:53:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563945 -2.822879)'), GeomFromEWKT('SRID=4674;POINT (-40.563923 -2.822865)'))) / (select extract(epoch from '2026-07-09 21:53:32'::timestamp) - extract(epoch from '2026-07-09 21:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563945 -2.822879)'), GeomFromEWKT('SRID=4674;POINT (-40.563923 -2.822865)'))) / (select extract(epoch from '2026-07-09 21:53:32'::timestamp) - extract(epoch from '2026-07-09 21:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563832 -2.822836)', '2026-07-09 21:55:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563923 -2.822865)'), GeomFromEWKT('SRID=4674;POINT (-40.563832 -2.822836)'))) / (select extract(epoch from '2026-07-09 21:55:01'::timestamp) - extract(epoch from '2026-07-09 21:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563923 -2.822865)'), GeomFromEWKT('SRID=4674;POINT (-40.563832 -2.822836)'))) / (select extract(epoch from '2026-07-09 21:55:01'::timestamp) - extract(epoch from '2026-07-09 21:53:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563759 -2.822836)', '2026-07-09 21:55:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563832 -2.822836)'), GeomFromEWKT('SRID=4674;POINT (-40.563759 -2.822836)'))) / (select extract(epoch from '2026-07-09 21:55:14'::timestamp) - extract(epoch from '2026-07-09 21:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563832 -2.822836)'), GeomFromEWKT('SRID=4674;POINT (-40.563759 -2.822836)'))) / (select extract(epoch from '2026-07-09 21:55:14'::timestamp) - extract(epoch from '2026-07-09 21:55: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'), 47635, 'SRID=4674;POINT (-40.563713 -2.822834)', '2026-07-09 21:55:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563759 -2.822836)'), GeomFromEWKT('SRID=4674;POINT (-40.563713 -2.822834)'))) / (select extract(epoch from '2026-07-09 21:55:24'::timestamp) - extract(epoch from '2026-07-09 21:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563759 -2.822836)'), GeomFromEWKT('SRID=4674;POINT (-40.563713 -2.822834)'))) / (select extract(epoch from '2026-07-09 21:55:24'::timestamp) - extract(epoch from '2026-07-09 21:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563699 -2.822832)', '2026-07-09 21:55:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563713 -2.822834)'), GeomFromEWKT('SRID=4674;POINT (-40.563699 -2.822832)'))) / (select extract(epoch from '2026-07-09 21:55:35'::timestamp) - extract(epoch from '2026-07-09 21:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563713 -2.822834)'), GeomFromEWKT('SRID=4674;POINT (-40.563699 -2.822832)'))) / (select extract(epoch from '2026-07-09 21:55:35'::timestamp) - extract(epoch from '2026-07-09 21:55: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'), 47635, 'SRID=4674;POINT (-40.563627 -2.822843)', '2026-07-09 21:56:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563699 -2.822832)'), GeomFromEWKT('SRID=4674;POINT (-40.563627 -2.822843)'))) / (select extract(epoch from '2026-07-09 21:56:18'::timestamp) - extract(epoch from '2026-07-09 21:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563699 -2.822832)'), GeomFromEWKT('SRID=4674;POINT (-40.563627 -2.822843)'))) / (select extract(epoch from '2026-07-09 21:56:18'::timestamp) - extract(epoch from '2026-07-09 21:55: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'), 47635, 'SRID=4674;POINT (-40.563556 -2.822821)', '2026-07-09 21:56:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563627 -2.822843)'), GeomFromEWKT('SRID=4674;POINT (-40.563556 -2.822821)'))) / (select extract(epoch from '2026-07-09 21:56:34'::timestamp) - extract(epoch from '2026-07-09 21:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563627 -2.822843)'), GeomFromEWKT('SRID=4674;POINT (-40.563556 -2.822821)'))) / (select extract(epoch from '2026-07-09 21:56:34'::timestamp) - extract(epoch from '2026-07-09 21:56: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'), 47635, 'SRID=4674;POINT (-40.563492 -2.82282)', '2026-07-09 21:56:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563556 -2.822821)'), GeomFromEWKT('SRID=4674;POINT (-40.563492 -2.82282)'))) / (select extract(epoch from '2026-07-09 21:56:45'::timestamp) - extract(epoch from '2026-07-09 21:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563556 -2.822821)'), GeomFromEWKT('SRID=4674;POINT (-40.563492 -2.82282)'))) / (select extract(epoch from '2026-07-09 21:56:45'::timestamp) - extract(epoch from '2026-07-09 21:56: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'), 47635, 'SRID=4674;POINT (-40.563459 -2.822822)', '2026-07-09 21:56:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563492 -2.82282)'), GeomFromEWKT('SRID=4674;POINT (-40.563459 -2.822822)'))) / (select extract(epoch from '2026-07-09 21:56:54'::timestamp) - extract(epoch from '2026-07-09 21:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563492 -2.82282)'), GeomFromEWKT('SRID=4674;POINT (-40.563459 -2.822822)'))) / (select extract(epoch from '2026-07-09 21:56:54'::timestamp) - extract(epoch from '2026-07-09 21:56: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'), 47635, 'SRID=4674;POINT (-40.563418 -2.822832)', '2026-07-09 21:57:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563459 -2.822822)'), GeomFromEWKT('SRID=4674;POINT (-40.563418 -2.822832)'))) / (select extract(epoch from '2026-07-09 21:57:54'::timestamp) - extract(epoch from '2026-07-09 21:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563459 -2.822822)'), GeomFromEWKT('SRID=4674;POINT (-40.563418 -2.822832)'))) / (select extract(epoch from '2026-07-09 21:57:54'::timestamp) - extract(epoch from '2026-07-09 21:56: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'), 47635, 'SRID=4674;POINT (-40.56336 -2.822818)', '2026-07-09 21:58:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563418 -2.822832)'), GeomFromEWKT('SRID=4674;POINT (-40.56336 -2.822818)'))) / (select extract(epoch from '2026-07-09 21:58:06'::timestamp) - extract(epoch from '2026-07-09 21:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563418 -2.822832)'), GeomFromEWKT('SRID=4674;POINT (-40.56336 -2.822818)'))) / (select extract(epoch from '2026-07-09 21:58:06'::timestamp) - extract(epoch from '2026-07-09 21:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563314 -2.822811)', '2026-07-09 21:58:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56336 -2.822818)'), GeomFromEWKT('SRID=4674;POINT (-40.563314 -2.822811)'))) / (select extract(epoch from '2026-07-09 21:58:17'::timestamp) - extract(epoch from '2026-07-09 21:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56336 -2.822818)'), GeomFromEWKT('SRID=4674;POINT (-40.563314 -2.822811)'))) / (select extract(epoch from '2026-07-09 21:58:17'::timestamp) - extract(epoch from '2026-07-09 21:58: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'), 47635, 'SRID=4674;POINT (-40.563287 -2.822818)', '2026-07-09 21:58:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563314 -2.822811)'), GeomFromEWKT('SRID=4674;POINT (-40.563287 -2.822818)'))) / (select extract(epoch from '2026-07-09 21:58:23'::timestamp) - extract(epoch from '2026-07-09 21:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563314 -2.822811)'), GeomFromEWKT('SRID=4674;POINT (-40.563287 -2.822818)'))) / (select extract(epoch from '2026-07-09 21:58:23'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.563233 -2.822826)', '2026-07-09 21:58:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563287 -2.822818)'), GeomFromEWKT('SRID=4674;POINT (-40.563233 -2.822826)'))) / (select extract(epoch from '2026-07-09 21:58:33'::timestamp) - extract(epoch from '2026-07-09 21:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563287 -2.822818)'), GeomFromEWKT('SRID=4674;POINT (-40.563233 -2.822826)'))) / (select extract(epoch from '2026-07-09 21:58:33'::timestamp) - extract(epoch from '2026-07-09 21:58: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'), 47635, 'SRID=4674;POINT (-40.563186 -2.822833)', '2026-07-09 21:58:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563233 -2.822826)'), GeomFromEWKT('SRID=4674;POINT (-40.563186 -2.822833)'))) / (select extract(epoch from '2026-07-09 21:58:42'::timestamp) - extract(epoch from '2026-07-09 21:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563233 -2.822826)'), GeomFromEWKT('SRID=4674;POINT (-40.563186 -2.822833)'))) / (select extract(epoch from '2026-07-09 21:58:42'::timestamp) - extract(epoch from '2026-07-09 21:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47635, 'SRID=4674;POINT (-40.563113 -2.822821)', '2026-07-09 21:58:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563186 -2.822833)'), GeomFromEWKT('SRID=4674;POINT (-40.563113 -2.822821)'))) / (select extract(epoch from '2026-07-09 21:58:56'::timestamp) - extract(epoch from '2026-07-09 21:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563186 -2.822833)'), GeomFromEWKT('SRID=4674;POINT (-40.563113 -2.822821)'))) / (select extract(epoch from '2026-07-09 21:58:56'::timestamp) - extract(epoch from '2026-07-09 21:58: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'), 47635, 'SRID=4674;POINT (-40.56307 -2.822825)', '2026-07-09 21:59:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563113 -2.822821)'), GeomFromEWKT('SRID=4674;POINT (-40.56307 -2.822825)'))) / (select extract(epoch from '2026-07-09 21:59:06'::timestamp) - extract(epoch from '2026-07-09 21:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563113 -2.822821)'), GeomFromEWKT('SRID=4674;POINT (-40.56307 -2.822825)'))) / (select extract(epoch from '2026-07-09 21:59:06'::timestamp) - extract(epoch from '2026-07-09 21: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'), 47635, 'SRID=4674;POINT (-40.563048 -2.822822)', '2026-07-09 21:59:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56307 -2.822825)'), GeomFromEWKT('SRID=4674;POINT (-40.563048 -2.822822)'))) / (select extract(epoch from '2026-07-09 21:59:15'::timestamp) - extract(epoch from '2026-07-09 21:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56307 -2.822825)'), GeomFromEWKT('SRID=4674;POINT (-40.563048 -2.822822)'))) / (select extract(epoch from '2026-07-09 21:59:15'::timestamp) - extract(epoch from '2026-07-09 21:59: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'), 47635, 'SRID=4674;POINT (-40.562981 -2.82284)', '2026-07-09 22:00:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563048 -2.822822)'), GeomFromEWKT('SRID=4674;POINT (-40.562981 -2.82284)'))) / (select extract(epoch from '2026-07-09 22:00:07'::timestamp) - extract(epoch from '2026-07-09 21:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563048 -2.822822)'), GeomFromEWKT('SRID=4674;POINT (-40.562981 -2.82284)'))) / (select extract(epoch from '2026-07-09 22:00:07'::timestamp) - extract(epoch from '2026-07-09 21:59: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'), 47635, 'SRID=4674;POINT (-40.562915 -2.82282)', '2026-07-09 22:00:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562981 -2.82284)'), GeomFromEWKT('SRID=4674;POINT (-40.562915 -2.82282)'))) / (select extract(epoch from '2026-07-09 22:00:19'::timestamp) - extract(epoch from '2026-07-09 22:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562981 -2.82284)'), GeomFromEWKT('SRID=4674;POINT (-40.562915 -2.82282)'))) / (select extract(epoch from '2026-07-09 22:00:19'::timestamp) - extract(epoch from '2026-07-09 22:00: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'), 47635, 'SRID=4674;POINT (-40.562865 -2.822815)', '2026-07-09 22:00:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562915 -2.82282)'), GeomFromEWKT('SRID=4674;POINT (-40.562865 -2.822815)'))) / (select extract(epoch from '2026-07-09 22:00:28'::timestamp) - extract(epoch from '2026-07-09 22:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562915 -2.82282)'), GeomFromEWKT('SRID=4674;POINT (-40.562865 -2.822815)'))) / (select extract(epoch from '2026-07-09 22:00:28'::timestamp) - extract(epoch from '2026-07-09 22:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
