 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.794109 -3.45077)', '2026-07-17 16:43:51', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794059 -3.45063)'), GeomFromEWKT('SRID=4674;POINT (-38.794109 -3.45077)'))) / (select extract(epoch from '2026-07-17 16:43:51'::timestamp) - extract(epoch from '2026-07-17 16:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794059 -3.45063)'), GeomFromEWKT('SRID=4674;POINT (-38.794109 -3.45077)'))) / (select extract(epoch from '2026-07-17 16:43:51'::timestamp) - extract(epoch from '2026-07-17 16:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.794153 -3.450887)', '2026-07-17 16:43:56', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794109 -3.45077)'), GeomFromEWKT('SRID=4674;POINT (-38.794153 -3.450887)'))) / (select extract(epoch from '2026-07-17 16:43:56'::timestamp) - extract(epoch from '2026-07-17 16:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794109 -3.45077)'), GeomFromEWKT('SRID=4674;POINT (-38.794153 -3.450887)'))) / (select extract(epoch from '2026-07-17 16:43:56'::timestamp) - extract(epoch from '2026-07-17 16:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.79421 -3.451032)', '2026-07-17 16:44:02', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794153 -3.450887)'), GeomFromEWKT('SRID=4674;POINT (-38.79421 -3.451032)'))) / (select extract(epoch from '2026-07-17 16:44:02'::timestamp) - extract(epoch from '2026-07-17 16:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794153 -3.450887)'), GeomFromEWKT('SRID=4674;POINT (-38.79421 -3.451032)'))) / (select extract(epoch from '2026-07-17 16:44:02'::timestamp) - extract(epoch from '2026-07-17 16:43: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'), 47317, 'SRID=4674;POINT (-38.794258 -3.451164)', '2026-07-17 16:44:08', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79421 -3.451032)'), GeomFromEWKT('SRID=4674;POINT (-38.794258 -3.451164)'))) / (select extract(epoch from '2026-07-17 16:44:08'::timestamp) - extract(epoch from '2026-07-17 16:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79421 -3.451032)'), GeomFromEWKT('SRID=4674;POINT (-38.794258 -3.451164)'))) / (select extract(epoch from '2026-07-17 16:44:08'::timestamp) - extract(epoch from '2026-07-17 16:44: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'), 47317, 'SRID=4674;POINT (-38.794294 -3.451265)', '2026-07-17 16:44:13', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794258 -3.451164)'), GeomFromEWKT('SRID=4674;POINT (-38.794294 -3.451265)'))) / (select extract(epoch from '2026-07-17 16:44:13'::timestamp) - extract(epoch from '2026-07-17 16:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794258 -3.451164)'), GeomFromEWKT('SRID=4674;POINT (-38.794294 -3.451265)'))) / (select extract(epoch from '2026-07-17 16:44:13'::timestamp) - extract(epoch from '2026-07-17 16:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.794347 -3.451434)', '2026-07-17 16:44:20', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794294 -3.451265)'), GeomFromEWKT('SRID=4674;POINT (-38.794347 -3.451434)'))) / (select extract(epoch from '2026-07-17 16:44:20'::timestamp) - extract(epoch from '2026-07-17 16:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794294 -3.451265)'), GeomFromEWKT('SRID=4674;POINT (-38.794347 -3.451434)'))) / (select extract(epoch from '2026-07-17 16:44:20'::timestamp) - extract(epoch from '2026-07-17 16:44: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'), 47317, 'SRID=4674;POINT (-38.794381 -3.45159)', '2026-07-17 16:44:27', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794347 -3.451434)'), GeomFromEWKT('SRID=4674;POINT (-38.794381 -3.45159)'))) / (select extract(epoch from '2026-07-17 16:44:27'::timestamp) - extract(epoch from '2026-07-17 16:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794347 -3.451434)'), GeomFromEWKT('SRID=4674;POINT (-38.794381 -3.45159)'))) / (select extract(epoch from '2026-07-17 16:44:27'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.794431 -3.451709)', '2026-07-17 16:44:32', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794381 -3.45159)'), GeomFromEWKT('SRID=4674;POINT (-38.794431 -3.451709)'))) / (select extract(epoch from '2026-07-17 16:44:32'::timestamp) - extract(epoch from '2026-07-17 16:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794381 -3.45159)'), GeomFromEWKT('SRID=4674;POINT (-38.794431 -3.451709)'))) / (select extract(epoch from '2026-07-17 16:44:32'::timestamp) - extract(epoch from '2026-07-17 16:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.794469 -3.45182)', '2026-07-17 16:44:37', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794431 -3.451709)'), GeomFromEWKT('SRID=4674;POINT (-38.794469 -3.45182)'))) / (select extract(epoch from '2026-07-17 16:44:37'::timestamp) - extract(epoch from '2026-07-17 16:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794431 -3.451709)'), GeomFromEWKT('SRID=4674;POINT (-38.794469 -3.45182)'))) / (select extract(epoch from '2026-07-17 16:44:37'::timestamp) - extract(epoch from '2026-07-17 16:44: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'), 47317, 'SRID=4674;POINT (-38.794523 -3.451956)', '2026-07-17 16:44:43', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794469 -3.45182)'), GeomFromEWKT('SRID=4674;POINT (-38.794523 -3.451956)'))) / (select extract(epoch from '2026-07-17 16:44:43'::timestamp) - extract(epoch from '2026-07-17 16:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794469 -3.45182)'), GeomFromEWKT('SRID=4674;POINT (-38.794523 -3.451956)'))) / (select extract(epoch from '2026-07-17 16:44:43'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.794581 -3.452121)', '2026-07-17 16:44:50', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794523 -3.451956)'), GeomFromEWKT('SRID=4674;POINT (-38.794581 -3.452121)'))) / (select extract(epoch from '2026-07-17 16:44:50'::timestamp) - extract(epoch from '2026-07-17 16:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794523 -3.451956)'), GeomFromEWKT('SRID=4674;POINT (-38.794581 -3.452121)'))) / (select extract(epoch from '2026-07-17 16:44:50'::timestamp) - extract(epoch from '2026-07-17 16:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.794658 -3.452302)', '2026-07-17 16:44:58', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794581 -3.452121)'), GeomFromEWKT('SRID=4674;POINT (-38.794658 -3.452302)'))) / (select extract(epoch from '2026-07-17 16:44:58'::timestamp) - extract(epoch from '2026-07-17 16:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794581 -3.452121)'), GeomFromEWKT('SRID=4674;POINT (-38.794658 -3.452302)'))) / (select extract(epoch from '2026-07-17 16:44:58'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.79473 -3.452455)', '2026-07-17 16:45:05', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794658 -3.452302)'), GeomFromEWKT('SRID=4674;POINT (-38.79473 -3.452455)'))) / (select extract(epoch from '2026-07-17 16:45:05'::timestamp) - extract(epoch from '2026-07-17 16:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794658 -3.452302)'), GeomFromEWKT('SRID=4674;POINT (-38.79473 -3.452455)'))) / (select extract(epoch from '2026-07-17 16:45:05'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.794814 -3.45263)', '2026-07-17 16:45:13', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79473 -3.452455)'), GeomFromEWKT('SRID=4674;POINT (-38.794814 -3.45263)'))) / (select extract(epoch from '2026-07-17 16:45:13'::timestamp) - extract(epoch from '2026-07-17 16:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79473 -3.452455)'), GeomFromEWKT('SRID=4674;POINT (-38.794814 -3.45263)'))) / (select extract(epoch from '2026-07-17 16:45:13'::timestamp) - extract(epoch from '2026-07-17 16:45: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'), 47317, 'SRID=4674;POINT (-38.794867 -3.452743)', '2026-07-17 16:45:18', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794814 -3.45263)'), GeomFromEWKT('SRID=4674;POINT (-38.794867 -3.452743)'))) / (select extract(epoch from '2026-07-17 16:45:18'::timestamp) - extract(epoch from '2026-07-17 16:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794814 -3.45263)'), GeomFromEWKT('SRID=4674;POINT (-38.794867 -3.452743)'))) / (select extract(epoch from '2026-07-17 16:45:18'::timestamp) - extract(epoch from '2026-07-17 16:45: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'), 47317, 'SRID=4674;POINT (-38.794921 -3.45288)', '2026-07-17 16:45:24', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794867 -3.452743)'), GeomFromEWKT('SRID=4674;POINT (-38.794921 -3.45288)'))) / (select extract(epoch from '2026-07-17 16:45:24'::timestamp) - extract(epoch from '2026-07-17 16:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794867 -3.452743)'), GeomFromEWKT('SRID=4674;POINT (-38.794921 -3.45288)'))) / (select extract(epoch from '2026-07-17 16:45:24'::timestamp) - extract(epoch from '2026-07-17 16:45: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'), 47317, 'SRID=4674;POINT (-38.794975 -3.453019)', '2026-07-17 16:45:30', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794921 -3.45288)'), GeomFromEWKT('SRID=4674;POINT (-38.794975 -3.453019)'))) / (select extract(epoch from '2026-07-17 16:45:30'::timestamp) - extract(epoch from '2026-07-17 16:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794921 -3.45288)'), GeomFromEWKT('SRID=4674;POINT (-38.794975 -3.453019)'))) / (select extract(epoch from '2026-07-17 16:45:30'::timestamp) - extract(epoch from '2026-07-17 16:45: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'), 47317, 'SRID=4674;POINT (-38.795022 -3.453112)', '2026-07-17 16:45:34', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794975 -3.453019)'), GeomFromEWKT('SRID=4674;POINT (-38.795022 -3.453112)'))) / (select extract(epoch from '2026-07-17 16:45:34'::timestamp) - extract(epoch from '2026-07-17 16:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794975 -3.453019)'), GeomFromEWKT('SRID=4674;POINT (-38.795022 -3.453112)'))) / (select extract(epoch from '2026-07-17 16:45:34'::timestamp) - extract(epoch from '2026-07-17 16:45: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'), 47317, 'SRID=4674;POINT (-38.795088 -3.45326)', '2026-07-17 16:45:40', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795022 -3.453112)'), GeomFromEWKT('SRID=4674;POINT (-38.795088 -3.45326)'))) / (select extract(epoch from '2026-07-17 16:45:40'::timestamp) - extract(epoch from '2026-07-17 16:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795022 -3.453112)'), GeomFromEWKT('SRID=4674;POINT (-38.795088 -3.45326)'))) / (select extract(epoch from '2026-07-17 16:45:40'::timestamp) - extract(epoch from '2026-07-17 16:45: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'), 47317, 'SRID=4674;POINT (-38.795143 -3.453442)', '2026-07-17 16:45:47', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795088 -3.45326)'), GeomFromEWKT('SRID=4674;POINT (-38.795143 -3.453442)'))) / (select extract(epoch from '2026-07-17 16:45:47'::timestamp) - extract(epoch from '2026-07-17 16:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795088 -3.45326)'), GeomFromEWKT('SRID=4674;POINT (-38.795143 -3.453442)'))) / (select extract(epoch from '2026-07-17 16:45:47'::timestamp) - extract(epoch from '2026-07-17 16:45: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'), 47317, 'SRID=4674;POINT (-38.795193 -3.453588)', '2026-07-17 16:45:53', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795143 -3.453442)'), GeomFromEWKT('SRID=4674;POINT (-38.795193 -3.453588)'))) / (select extract(epoch from '2026-07-17 16:45:53'::timestamp) - extract(epoch from '2026-07-17 16:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795143 -3.453442)'), GeomFromEWKT('SRID=4674;POINT (-38.795193 -3.453588)'))) / (select extract(epoch from '2026-07-17 16:45:53'::timestamp) - extract(epoch from '2026-07-17 16:45: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'), 47317, 'SRID=4674;POINT (-38.795255 -3.453743)', '2026-07-17 16:46:00', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795193 -3.453588)'), GeomFromEWKT('SRID=4674;POINT (-38.795255 -3.453743)'))) / (select extract(epoch from '2026-07-17 16:46:00'::timestamp) - extract(epoch from '2026-07-17 16:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795193 -3.453588)'), GeomFromEWKT('SRID=4674;POINT (-38.795255 -3.453743)'))) / (select extract(epoch from '2026-07-17 16:46:00'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.795316 -3.453898)', '2026-07-17 16:46:07', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795255 -3.453743)'), GeomFromEWKT('SRID=4674;POINT (-38.795316 -3.453898)'))) / (select extract(epoch from '2026-07-17 16:46:07'::timestamp) - extract(epoch from '2026-07-17 16:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795255 -3.453743)'), GeomFromEWKT('SRID=4674;POINT (-38.795316 -3.453898)'))) / (select extract(epoch from '2026-07-17 16:46:07'::timestamp) - extract(epoch from '2026-07-17 16:46: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'), 47317, 'SRID=4674;POINT (-38.795398 -3.454041)', '2026-07-17 16:46:14', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795316 -3.453898)'), GeomFromEWKT('SRID=4674;POINT (-38.795398 -3.454041)'))) / (select extract(epoch from '2026-07-17 16:46:14'::timestamp) - extract(epoch from '2026-07-17 16:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795316 -3.453898)'), GeomFromEWKT('SRID=4674;POINT (-38.795398 -3.454041)'))) / (select extract(epoch from '2026-07-17 16:46:14'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.795465 -3.454189)', '2026-07-17 16:46:21', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795398 -3.454041)'), GeomFromEWKT('SRID=4674;POINT (-38.795465 -3.454189)'))) / (select extract(epoch from '2026-07-17 16:46:21'::timestamp) - extract(epoch from '2026-07-17 16:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795398 -3.454041)'), GeomFromEWKT('SRID=4674;POINT (-38.795465 -3.454189)'))) / (select extract(epoch from '2026-07-17 16:46:21'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.795523 -3.45433)', '2026-07-17 16:46:27', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795465 -3.454189)'), GeomFromEWKT('SRID=4674;POINT (-38.795523 -3.45433)'))) / (select extract(epoch from '2026-07-17 16:46:27'::timestamp) - extract(epoch from '2026-07-17 16:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795465 -3.454189)'), GeomFromEWKT('SRID=4674;POINT (-38.795523 -3.45433)'))) / (select extract(epoch from '2026-07-17 16:46:27'::timestamp) - extract(epoch from '2026-07-17 16:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.795574 -3.454458)', '2026-07-17 16:46:33', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795523 -3.45433)'), GeomFromEWKT('SRID=4674;POINT (-38.795574 -3.454458)'))) / (select extract(epoch from '2026-07-17 16:46:33'::timestamp) - extract(epoch from '2026-07-17 16:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795523 -3.45433)'), GeomFromEWKT('SRID=4674;POINT (-38.795574 -3.454458)'))) / (select extract(epoch from '2026-07-17 16:46:33'::timestamp) - extract(epoch from '2026-07-17 16:46: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'), 47317, 'SRID=4674;POINT (-38.795648 -3.454595)', '2026-07-17 16:46:39', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795574 -3.454458)'), GeomFromEWKT('SRID=4674;POINT (-38.795648 -3.454595)'))) / (select extract(epoch from '2026-07-17 16:46:39'::timestamp) - extract(epoch from '2026-07-17 16:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795574 -3.454458)'), GeomFromEWKT('SRID=4674;POINT (-38.795648 -3.454595)'))) / (select extract(epoch from '2026-07-17 16:46:39'::timestamp) - extract(epoch from '2026-07-17 16:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.795704 -3.454727)', '2026-07-17 16:46:44', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795648 -3.454595)'), GeomFromEWKT('SRID=4674;POINT (-38.795704 -3.454727)'))) / (select extract(epoch from '2026-07-17 16:46:44'::timestamp) - extract(epoch from '2026-07-17 16:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795648 -3.454595)'), GeomFromEWKT('SRID=4674;POINT (-38.795704 -3.454727)'))) / (select extract(epoch from '2026-07-17 16:46:44'::timestamp) - extract(epoch from '2026-07-17 16:46: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'), 47317, 'SRID=4674;POINT (-38.795724 -3.454844)', '2026-07-17 16:46:49', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795704 -3.454727)'), GeomFromEWKT('SRID=4674;POINT (-38.795724 -3.454844)'))) / (select extract(epoch from '2026-07-17 16:46:49'::timestamp) - extract(epoch from '2026-07-17 16:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795704 -3.454727)'), GeomFromEWKT('SRID=4674;POINT (-38.795724 -3.454844)'))) / (select extract(epoch from '2026-07-17 16:46:49'::timestamp) - extract(epoch from '2026-07-17 16:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.795765 -3.454959)', '2026-07-17 16:46:54', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795724 -3.454844)'), GeomFromEWKT('SRID=4674;POINT (-38.795765 -3.454959)'))) / (select extract(epoch from '2026-07-17 16:46:54'::timestamp) - extract(epoch from '2026-07-17 16:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795724 -3.454844)'), GeomFromEWKT('SRID=4674;POINT (-38.795765 -3.454959)'))) / (select extract(epoch from '2026-07-17 16:46:54'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.795826 -3.45514)', '2026-07-17 16:47:02', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795765 -3.454959)'), GeomFromEWKT('SRID=4674;POINT (-38.795826 -3.45514)'))) / (select extract(epoch from '2026-07-17 16:47:02'::timestamp) - extract(epoch from '2026-07-17 16:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795765 -3.454959)'), GeomFromEWKT('SRID=4674;POINT (-38.795826 -3.45514)'))) / (select extract(epoch from '2026-07-17 16:47:02'::timestamp) - extract(epoch from '2026-07-17 16:46: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'), 47317, 'SRID=4674;POINT (-38.79588 -3.455299)', '2026-07-17 16:47:08', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795826 -3.45514)'), GeomFromEWKT('SRID=4674;POINT (-38.79588 -3.455299)'))) / (select extract(epoch from '2026-07-17 16:47:08'::timestamp) - extract(epoch from '2026-07-17 16:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795826 -3.45514)'), GeomFromEWKT('SRID=4674;POINT (-38.79588 -3.455299)'))) / (select extract(epoch from '2026-07-17 16:47:08'::timestamp) - extract(epoch from '2026-07-17 16:47: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'), 47317, 'SRID=4674;POINT (-38.795953 -3.455443)', '2026-07-17 16:47:14', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79588 -3.455299)'), GeomFromEWKT('SRID=4674;POINT (-38.795953 -3.455443)'))) / (select extract(epoch from '2026-07-17 16:47:14'::timestamp) - extract(epoch from '2026-07-17 16:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79588 -3.455299)'), GeomFromEWKT('SRID=4674;POINT (-38.795953 -3.455443)'))) / (select extract(epoch from '2026-07-17 16:47:14'::timestamp) - extract(epoch from '2026-07-17 16:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.796014 -3.455591)', '2026-07-17 16:47:21', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795953 -3.455443)'), GeomFromEWKT('SRID=4674;POINT (-38.796014 -3.455591)'))) / (select extract(epoch from '2026-07-17 16:47:21'::timestamp) - extract(epoch from '2026-07-17 16:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.795953 -3.455443)'), GeomFromEWKT('SRID=4674;POINT (-38.796014 -3.455591)'))) / (select extract(epoch from '2026-07-17 16:47:21'::timestamp) - extract(epoch from '2026-07-17 16:47:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.796064 -3.455705)', '2026-07-17 16:47:26', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796014 -3.455591)'), GeomFromEWKT('SRID=4674;POINT (-38.796064 -3.455705)'))) / (select extract(epoch from '2026-07-17 16:47:26'::timestamp) - extract(epoch from '2026-07-17 16:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796014 -3.455591)'), GeomFromEWKT('SRID=4674;POINT (-38.796064 -3.455705)'))) / (select extract(epoch from '2026-07-17 16:47:26'::timestamp) - extract(epoch from '2026-07-17 16:47: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'), 47317, 'SRID=4674;POINT (-38.796123 -3.455868)', '2026-07-17 16:47:33', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796064 -3.455705)'), GeomFromEWKT('SRID=4674;POINT (-38.796123 -3.455868)'))) / (select extract(epoch from '2026-07-17 16:47:33'::timestamp) - extract(epoch from '2026-07-17 16:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796064 -3.455705)'), GeomFromEWKT('SRID=4674;POINT (-38.796123 -3.455868)'))) / (select extract(epoch from '2026-07-17 16:47:33'::timestamp) - extract(epoch from '2026-07-17 16:47: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'), 47317, 'SRID=4674;POINT (-38.796185 -3.456052)', '2026-07-17 16:47:41', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796123 -3.455868)'), GeomFromEWKT('SRID=4674;POINT (-38.796185 -3.456052)'))) / (select extract(epoch from '2026-07-17 16:47:41'::timestamp) - extract(epoch from '2026-07-17 16:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796123 -3.455868)'), GeomFromEWKT('SRID=4674;POINT (-38.796185 -3.456052)'))) / (select extract(epoch from '2026-07-17 16:47:41'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.796257 -3.456237)', '2026-07-17 16:47:49', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796185 -3.456052)'), GeomFromEWKT('SRID=4674;POINT (-38.796257 -3.456237)'))) / (select extract(epoch from '2026-07-17 16:47:49'::timestamp) - extract(epoch from '2026-07-17 16:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796185 -3.456052)'), GeomFromEWKT('SRID=4674;POINT (-38.796257 -3.456237)'))) / (select extract(epoch from '2026-07-17 16:47:49'::timestamp) - extract(epoch from '2026-07-17 16:47: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'), 47317, 'SRID=4674;POINT (-38.796344 -3.456402)', '2026-07-17 16:47:56', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796257 -3.456237)'), GeomFromEWKT('SRID=4674;POINT (-38.796344 -3.456402)'))) / (select extract(epoch from '2026-07-17 16:47:56'::timestamp) - extract(epoch from '2026-07-17 16:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796257 -3.456237)'), GeomFromEWKT('SRID=4674;POINT (-38.796344 -3.456402)'))) / (select extract(epoch from '2026-07-17 16:47:56'::timestamp) - extract(epoch from '2026-07-17 16:47: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'), 47317, 'SRID=4674;POINT (-38.796423 -3.456565)', '2026-07-17 16:48:03', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796344 -3.456402)'), GeomFromEWKT('SRID=4674;POINT (-38.796423 -3.456565)'))) / (select extract(epoch from '2026-07-17 16:48:03'::timestamp) - extract(epoch from '2026-07-17 16:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796344 -3.456402)'), GeomFromEWKT('SRID=4674;POINT (-38.796423 -3.456565)'))) / (select extract(epoch from '2026-07-17 16:48:03'::timestamp) - extract(epoch from '2026-07-17 16:47: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'), 47317, 'SRID=4674;POINT (-38.796485 -3.456716)', '2026-07-17 16:48:10', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796423 -3.456565)'), GeomFromEWKT('SRID=4674;POINT (-38.796485 -3.456716)'))) / (select extract(epoch from '2026-07-17 16:48:10'::timestamp) - extract(epoch from '2026-07-17 16:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796423 -3.456565)'), GeomFromEWKT('SRID=4674;POINT (-38.796485 -3.456716)'))) / (select extract(epoch from '2026-07-17 16:48:10'::timestamp) - extract(epoch from '2026-07-17 16:48: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'), 47317, 'SRID=4674;POINT (-38.796526 -3.456856)', '2026-07-17 16:48:16', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796485 -3.456716)'), GeomFromEWKT('SRID=4674;POINT (-38.796526 -3.456856)'))) / (select extract(epoch from '2026-07-17 16:48:16'::timestamp) - extract(epoch from '2026-07-17 16:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796485 -3.456716)'), GeomFromEWKT('SRID=4674;POINT (-38.796526 -3.456856)'))) / (select extract(epoch from '2026-07-17 16:48:16'::timestamp) - extract(epoch from '2026-07-17 16:48:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.796588 -3.456996)', '2026-07-17 16:48:22', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796526 -3.456856)'), GeomFromEWKT('SRID=4674;POINT (-38.796588 -3.456996)'))) / (select extract(epoch from '2026-07-17 16:48:22'::timestamp) - extract(epoch from '2026-07-17 16:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796526 -3.456856)'), GeomFromEWKT('SRID=4674;POINT (-38.796588 -3.456996)'))) / (select extract(epoch from '2026-07-17 16:48:22'::timestamp) - extract(epoch from '2026-07-17 16:48: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'), 47317, 'SRID=4674;POINT (-38.796657 -3.457134)', '2026-07-17 16:48:28', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796588 -3.456996)'), GeomFromEWKT('SRID=4674;POINT (-38.796657 -3.457134)'))) / (select extract(epoch from '2026-07-17 16:48:28'::timestamp) - extract(epoch from '2026-07-17 16:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796588 -3.456996)'), GeomFromEWKT('SRID=4674;POINT (-38.796657 -3.457134)'))) / (select extract(epoch from '2026-07-17 16:48:28'::timestamp) - extract(epoch from '2026-07-17 16:48: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'), 47317, 'SRID=4674;POINT (-38.796691 -3.457238)', '2026-07-17 16:48:33', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796657 -3.457134)'), GeomFromEWKT('SRID=4674;POINT (-38.796691 -3.457238)'))) / (select extract(epoch from '2026-07-17 16:48:33'::timestamp) - extract(epoch from '2026-07-17 16:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796657 -3.457134)'), GeomFromEWKT('SRID=4674;POINT (-38.796691 -3.457238)'))) / (select extract(epoch from '2026-07-17 16:48:33'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.796752 -3.457404)', '2026-07-17 16:48:40', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796691 -3.457238)'), GeomFromEWKT('SRID=4674;POINT (-38.796752 -3.457404)'))) / (select extract(epoch from '2026-07-17 16:48:40'::timestamp) - extract(epoch from '2026-07-17 16:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796691 -3.457238)'), GeomFromEWKT('SRID=4674;POINT (-38.796752 -3.457404)'))) / (select extract(epoch from '2026-07-17 16:48:40'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.79681 -3.457597)', '2026-07-17 16:48:48', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796752 -3.457404)'), GeomFromEWKT('SRID=4674;POINT (-38.79681 -3.457597)'))) / (select extract(epoch from '2026-07-17 16:48:48'::timestamp) - extract(epoch from '2026-07-17 16:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796752 -3.457404)'), GeomFromEWKT('SRID=4674;POINT (-38.79681 -3.457597)'))) / (select extract(epoch from '2026-07-17 16:48:48'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.796865 -3.457741)', '2026-07-17 16:48:54', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79681 -3.457597)'), GeomFromEWKT('SRID=4674;POINT (-38.796865 -3.457741)'))) / (select extract(epoch from '2026-07-17 16:48:54'::timestamp) - extract(epoch from '2026-07-17 16:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79681 -3.457597)'), GeomFromEWKT('SRID=4674;POINT (-38.796865 -3.457741)'))) / (select extract(epoch from '2026-07-17 16:48:54'::timestamp) - extract(epoch from '2026-07-17 16:48: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'), 47317, 'SRID=4674;POINT (-38.796908 -3.457886)', '2026-07-17 16:49:00', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796865 -3.457741)'), GeomFromEWKT('SRID=4674;POINT (-38.796908 -3.457886)'))) / (select extract(epoch from '2026-07-17 16:49:00'::timestamp) - extract(epoch from '2026-07-17 16:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796865 -3.457741)'), GeomFromEWKT('SRID=4674;POINT (-38.796908 -3.457886)'))) / (select extract(epoch from '2026-07-17 16:49:00'::timestamp) - extract(epoch from '2026-07-17 16:48: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'), 47317, 'SRID=4674;POINT (-38.796945 -3.45806)', '2026-07-17 16:49:07', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796908 -3.457886)'), GeomFromEWKT('SRID=4674;POINT (-38.796945 -3.45806)'))) / (select extract(epoch from '2026-07-17 16:49:07'::timestamp) - extract(epoch from '2026-07-17 16:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796908 -3.457886)'), GeomFromEWKT('SRID=4674;POINT (-38.796945 -3.45806)'))) / (select extract(epoch from '2026-07-17 16:49:07'::timestamp) - extract(epoch from '2026-07-17 16:49:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.796984 -3.458183)', '2026-07-17 16:49:12', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796945 -3.45806)'), GeomFromEWKT('SRID=4674;POINT (-38.796984 -3.458183)'))) / (select extract(epoch from '2026-07-17 16:49:12'::timestamp) - extract(epoch from '2026-07-17 16:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796945 -3.45806)'), GeomFromEWKT('SRID=4674;POINT (-38.796984 -3.458183)'))) / (select extract(epoch from '2026-07-17 16:49:12'::timestamp) - extract(epoch from '2026-07-17 16:49: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'), 47317, 'SRID=4674;POINT (-38.79705 -3.458351)', '2026-07-17 16:49:19', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796984 -3.458183)'), GeomFromEWKT('SRID=4674;POINT (-38.79705 -3.458351)'))) / (select extract(epoch from '2026-07-17 16:49:19'::timestamp) - extract(epoch from '2026-07-17 16:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.796984 -3.458183)'), GeomFromEWKT('SRID=4674;POINT (-38.79705 -3.458351)'))) / (select extract(epoch from '2026-07-17 16:49:19'::timestamp) - extract(epoch from '2026-07-17 16:49: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'), 47317, 'SRID=4674;POINT (-38.797082 -3.458464)', '2026-07-17 16:49:24', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79705 -3.458351)'), GeomFromEWKT('SRID=4674;POINT (-38.797082 -3.458464)'))) / (select extract(epoch from '2026-07-17 16:49:24'::timestamp) - extract(epoch from '2026-07-17 16:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79705 -3.458351)'), GeomFromEWKT('SRID=4674;POINT (-38.797082 -3.458464)'))) / (select extract(epoch from '2026-07-17 16:49:24'::timestamp) - extract(epoch from '2026-07-17 16:49: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'), 47317, 'SRID=4674;POINT (-38.797131 -3.458581)', '2026-07-17 16:49:29', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797082 -3.458464)'), GeomFromEWKT('SRID=4674;POINT (-38.797131 -3.458581)'))) / (select extract(epoch from '2026-07-17 16:49:29'::timestamp) - extract(epoch from '2026-07-17 16:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797082 -3.458464)'), GeomFromEWKT('SRID=4674;POINT (-38.797131 -3.458581)'))) / (select extract(epoch from '2026-07-17 16:49:29'::timestamp) - extract(epoch from '2026-07-17 16:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.797202 -3.458715)', '2026-07-17 16:49:35', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797131 -3.458581)'), GeomFromEWKT('SRID=4674;POINT (-38.797202 -3.458715)'))) / (select extract(epoch from '2026-07-17 16:49:35'::timestamp) - extract(epoch from '2026-07-17 16:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797131 -3.458581)'), GeomFromEWKT('SRID=4674;POINT (-38.797202 -3.458715)'))) / (select extract(epoch from '2026-07-17 16:49:35'::timestamp) - extract(epoch from '2026-07-17 16:49: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'), 47317, 'SRID=4674;POINT (-38.797243 -3.458834)', '2026-07-17 16:49:40', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797202 -3.458715)'), GeomFromEWKT('SRID=4674;POINT (-38.797243 -3.458834)'))) / (select extract(epoch from '2026-07-17 16:49:40'::timestamp) - extract(epoch from '2026-07-17 16:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797202 -3.458715)'), GeomFromEWKT('SRID=4674;POINT (-38.797243 -3.458834)'))) / (select extract(epoch from '2026-07-17 16:49:40'::timestamp) - extract(epoch from '2026-07-17 16:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.797277 -3.458954)', '2026-07-17 16:49:45', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797243 -3.458834)'), GeomFromEWKT('SRID=4674;POINT (-38.797277 -3.458954)'))) / (select extract(epoch from '2026-07-17 16:49:45'::timestamp) - extract(epoch from '2026-07-17 16:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797243 -3.458834)'), GeomFromEWKT('SRID=4674;POINT (-38.797277 -3.458954)'))) / (select extract(epoch from '2026-07-17 16:49:45'::timestamp) - extract(epoch from '2026-07-17 16:49: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'), 47317, 'SRID=4674;POINT (-38.797317 -3.459076)', '2026-07-17 16:49:50', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797277 -3.458954)'), GeomFromEWKT('SRID=4674;POINT (-38.797317 -3.459076)'))) / (select extract(epoch from '2026-07-17 16:49:50'::timestamp) - extract(epoch from '2026-07-17 16:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797277 -3.458954)'), GeomFromEWKT('SRID=4674;POINT (-38.797317 -3.459076)'))) / (select extract(epoch from '2026-07-17 16:49:50'::timestamp) - extract(epoch from '2026-07-17 16:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.79736 -3.459213)', '2026-07-17 16:49:56', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797317 -3.459076)'), GeomFromEWKT('SRID=4674;POINT (-38.79736 -3.459213)'))) / (select extract(epoch from '2026-07-17 16:49:56'::timestamp) - extract(epoch from '2026-07-17 16:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797317 -3.459076)'), GeomFromEWKT('SRID=4674;POINT (-38.79736 -3.459213)'))) / (select extract(epoch from '2026-07-17 16:49:56'::timestamp) - extract(epoch from '2026-07-17 16:49: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'), 47317, 'SRID=4674;POINT (-38.797407 -3.459306)', '2026-07-17 16:50:00', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79736 -3.459213)'), GeomFromEWKT('SRID=4674;POINT (-38.797407 -3.459306)'))) / (select extract(epoch from '2026-07-17 16:50:00'::timestamp) - extract(epoch from '2026-07-17 16:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79736 -3.459213)'), GeomFromEWKT('SRID=4674;POINT (-38.797407 -3.459306)'))) / (select extract(epoch from '2026-07-17 16:50:00'::timestamp) - extract(epoch from '2026-07-17 16:49:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.797479 -3.459478)', '2026-07-17 16:50:07', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797407 -3.459306)'), GeomFromEWKT('SRID=4674;POINT (-38.797479 -3.459478)'))) / (select extract(epoch from '2026-07-17 16:50:07'::timestamp) - extract(epoch from '2026-07-17 16:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797407 -3.459306)'), GeomFromEWKT('SRID=4674;POINT (-38.797479 -3.459478)'))) / (select extract(epoch from '2026-07-17 16:50:07'::timestamp) - extract(epoch from '2026-07-17 16:50: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'), 47317, 'SRID=4674;POINT (-38.797549 -3.459661)', '2026-07-17 16:50:15', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797479 -3.459478)'), GeomFromEWKT('SRID=4674;POINT (-38.797549 -3.459661)'))) / (select extract(epoch from '2026-07-17 16:50:15'::timestamp) - extract(epoch from '2026-07-17 16:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797479 -3.459478)'), GeomFromEWKT('SRID=4674;POINT (-38.797549 -3.459661)'))) / (select extract(epoch from '2026-07-17 16:50:15'::timestamp) - extract(epoch from '2026-07-17 16:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.797621 -3.459818)', '2026-07-17 16:50:22', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797549 -3.459661)'), GeomFromEWKT('SRID=4674;POINT (-38.797621 -3.459818)'))) / (select extract(epoch from '2026-07-17 16:50:22'::timestamp) - extract(epoch from '2026-07-17 16:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797549 -3.459661)'), GeomFromEWKT('SRID=4674;POINT (-38.797621 -3.459818)'))) / (select extract(epoch from '2026-07-17 16:50:22'::timestamp) - extract(epoch from '2026-07-17 16:50: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'), 47317, 'SRID=4674;POINT (-38.797673 -3.45993)', '2026-07-17 16:50:27', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797621 -3.459818)'), GeomFromEWKT('SRID=4674;POINT (-38.797673 -3.45993)'))) / (select extract(epoch from '2026-07-17 16:50:27'::timestamp) - extract(epoch from '2026-07-17 16:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797621 -3.459818)'), GeomFromEWKT('SRID=4674;POINT (-38.797673 -3.45993)'))) / (select extract(epoch from '2026-07-17 16:50:27'::timestamp) - extract(epoch from '2026-07-17 16:50:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.797734 -3.460109)', '2026-07-17 16:50:35', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797673 -3.45993)'), GeomFromEWKT('SRID=4674;POINT (-38.797734 -3.460109)'))) / (select extract(epoch from '2026-07-17 16:50:35'::timestamp) - extract(epoch from '2026-07-17 16:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797673 -3.45993)'), GeomFromEWKT('SRID=4674;POINT (-38.797734 -3.460109)'))) / (select extract(epoch from '2026-07-17 16:50:35'::timestamp) - extract(epoch from '2026-07-17 16:50:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.797787 -3.460271)', '2026-07-17 16:50:42', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797734 -3.460109)'), GeomFromEWKT('SRID=4674;POINT (-38.797787 -3.460271)'))) / (select extract(epoch from '2026-07-17 16:50:42'::timestamp) - extract(epoch from '2026-07-17 16:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797734 -3.460109)'), GeomFromEWKT('SRID=4674;POINT (-38.797787 -3.460271)'))) / (select extract(epoch from '2026-07-17 16:50:42'::timestamp) - extract(epoch from '2026-07-17 16:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.797812 -3.46038)', '2026-07-17 16:50:47', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797787 -3.460271)'), GeomFromEWKT('SRID=4674;POINT (-38.797812 -3.46038)'))) / (select extract(epoch from '2026-07-17 16:50:47'::timestamp) - extract(epoch from '2026-07-17 16:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797787 -3.460271)'), GeomFromEWKT('SRID=4674;POINT (-38.797812 -3.46038)'))) / (select extract(epoch from '2026-07-17 16:50:47'::timestamp) - extract(epoch from '2026-07-17 16:50: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'), 47317, 'SRID=4674;POINT (-38.79786 -3.460544)', '2026-07-17 16:50:54', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797812 -3.46038)'), GeomFromEWKT('SRID=4674;POINT (-38.79786 -3.460544)'))) / (select extract(epoch from '2026-07-17 16:50:54'::timestamp) - extract(epoch from '2026-07-17 16:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797812 -3.46038)'), GeomFromEWKT('SRID=4674;POINT (-38.79786 -3.460544)'))) / (select extract(epoch from '2026-07-17 16:50:54'::timestamp) - extract(epoch from '2026-07-17 16:50: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'), 47317, 'SRID=4674;POINT (-38.797897 -3.46066)', '2026-07-17 16:50:59', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79786 -3.460544)'), GeomFromEWKT('SRID=4674;POINT (-38.797897 -3.46066)'))) / (select extract(epoch from '2026-07-17 16:50:59'::timestamp) - extract(epoch from '2026-07-17 16:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79786 -3.460544)'), GeomFromEWKT('SRID=4674;POINT (-38.797897 -3.46066)'))) / (select extract(epoch from '2026-07-17 16:50:59'::timestamp) - extract(epoch from '2026-07-17 16:50: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'), 47317, 'SRID=4674;POINT (-38.797954 -3.460834)', '2026-07-17 16:51:06', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797897 -3.46066)'), GeomFromEWKT('SRID=4674;POINT (-38.797954 -3.460834)'))) / (select extract(epoch from '2026-07-17 16:51:06'::timestamp) - extract(epoch from '2026-07-17 16:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797897 -3.46066)'), GeomFromEWKT('SRID=4674;POINT (-38.797954 -3.460834)'))) / (select extract(epoch from '2026-07-17 16:51:06'::timestamp) - extract(epoch from '2026-07-17 16:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.797996 -3.460967)', '2026-07-17 16:51:12', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797954 -3.460834)'), GeomFromEWKT('SRID=4674;POINT (-38.797996 -3.460967)'))) / (select extract(epoch from '2026-07-17 16:51:12'::timestamp) - extract(epoch from '2026-07-17 16:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797954 -3.460834)'), GeomFromEWKT('SRID=4674;POINT (-38.797996 -3.460967)'))) / (select extract(epoch from '2026-07-17 16:51:12'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.798047 -3.461102)', '2026-07-17 16:51:18', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797996 -3.460967)'), GeomFromEWKT('SRID=4674;POINT (-38.798047 -3.461102)'))) / (select extract(epoch from '2026-07-17 16:51:18'::timestamp) - extract(epoch from '2026-07-17 16:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.797996 -3.460967)'), GeomFromEWKT('SRID=4674;POINT (-38.798047 -3.461102)'))) / (select extract(epoch from '2026-07-17 16:51:18'::timestamp) - extract(epoch from '2026-07-17 16:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.798093 -3.461244)', '2026-07-17 16:51:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798047 -3.461102)'), GeomFromEWKT('SRID=4674;POINT (-38.798093 -3.461244)'))) / (select extract(epoch from '2026-07-17 16:51:24'::timestamp) - extract(epoch from '2026-07-17 16:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798047 -3.461102)'), GeomFromEWKT('SRID=4674;POINT (-38.798093 -3.461244)'))) / (select extract(epoch from '2026-07-17 16:51:24'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.798151 -3.461415)', '2026-07-17 16:51:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798093 -3.461244)'), GeomFromEWKT('SRID=4674;POINT (-38.798151 -3.461415)'))) / (select extract(epoch from '2026-07-17 16:51:31'::timestamp) - extract(epoch from '2026-07-17 16:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798093 -3.461244)'), GeomFromEWKT('SRID=4674;POINT (-38.798151 -3.461415)'))) / (select extract(epoch from '2026-07-17 16:51:31'::timestamp) - extract(epoch from '2026-07-17 16:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.798162 -3.461439)', '2026-07-17 16:51:32', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798151 -3.461415)'), GeomFromEWKT('SRID=4674;POINT (-38.798162 -3.461439)'))) / (select extract(epoch from '2026-07-17 16:51:32'::timestamp) - extract(epoch from '2026-07-17 16:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798151 -3.461415)'), GeomFromEWKT('SRID=4674;POINT (-38.798162 -3.461439)'))) / (select extract(epoch from '2026-07-17 16:51:32'::timestamp) - extract(epoch from '2026-07-17 16:51: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'), 47317, 'SRID=4674;POINT (-38.798238 -3.461611)', '2026-07-17 16:51:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798162 -3.461439)'), GeomFromEWKT('SRID=4674;POINT (-38.798238 -3.461611)'))) / (select extract(epoch from '2026-07-17 16:51:39'::timestamp) - extract(epoch from '2026-07-17 16:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798162 -3.461439)'), GeomFromEWKT('SRID=4674;POINT (-38.798238 -3.461611)'))) / (select extract(epoch from '2026-07-17 16:51:39'::timestamp) - extract(epoch from '2026-07-17 16:51: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'), 47317, 'SRID=4674;POINT (-38.798241 -3.461634)', '2026-07-17 16:51:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798238 -3.461611)'), GeomFromEWKT('SRID=4674;POINT (-38.798241 -3.461634)'))) / (select extract(epoch from '2026-07-17 16:51:40'::timestamp) - extract(epoch from '2026-07-17 16:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798238 -3.461611)'), GeomFromEWKT('SRID=4674;POINT (-38.798241 -3.461634)'))) / (select extract(epoch from '2026-07-17 16:51:40'::timestamp) - extract(epoch from '2026-07-17 16:51: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'), 47317, 'SRID=4674;POINT (-38.798287 -3.461799)', '2026-07-17 16:51:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798241 -3.461634)'), GeomFromEWKT('SRID=4674;POINT (-38.798287 -3.461799)'))) / (select extract(epoch from '2026-07-17 16:51:47'::timestamp) - extract(epoch from '2026-07-17 16:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798241 -3.461634)'), GeomFromEWKT('SRID=4674;POINT (-38.798287 -3.461799)'))) / (select extract(epoch from '2026-07-17 16:51:47'::timestamp) - extract(epoch from '2026-07-17 16:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.798323 -3.461916)', '2026-07-17 16:51:52', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798287 -3.461799)'), GeomFromEWKT('SRID=4674;POINT (-38.798323 -3.461916)'))) / (select extract(epoch from '2026-07-17 16:51:52'::timestamp) - extract(epoch from '2026-07-17 16:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798287 -3.461799)'), GeomFromEWKT('SRID=4674;POINT (-38.798323 -3.461916)'))) / (select extract(epoch from '2026-07-17 16:51:52'::timestamp) - extract(epoch from '2026-07-17 16:51: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'), 47317, 'SRID=4674;POINT (-38.798363 -3.462033)', '2026-07-17 16:51:57', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798323 -3.461916)'), GeomFromEWKT('SRID=4674;POINT (-38.798363 -3.462033)'))) / (select extract(epoch from '2026-07-17 16:51:57'::timestamp) - extract(epoch from '2026-07-17 16:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798323 -3.461916)'), GeomFromEWKT('SRID=4674;POINT (-38.798363 -3.462033)'))) / (select extract(epoch from '2026-07-17 16:51:57'::timestamp) - extract(epoch from '2026-07-17 16:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.79841 -3.462206)', '2026-07-17 16:52:04', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798363 -3.462033)'), GeomFromEWKT('SRID=4674;POINT (-38.79841 -3.462206)'))) / (select extract(epoch from '2026-07-17 16:52:04'::timestamp) - extract(epoch from '2026-07-17 16:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798363 -3.462033)'), GeomFromEWKT('SRID=4674;POINT (-38.79841 -3.462206)'))) / (select extract(epoch from '2026-07-17 16:52:04'::timestamp) - extract(epoch from '2026-07-17 16:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.798473 -3.462354)', '2026-07-17 16:52:11', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79841 -3.462206)'), GeomFromEWKT('SRID=4674;POINT (-38.798473 -3.462354)'))) / (select extract(epoch from '2026-07-17 16:52:11'::timestamp) - extract(epoch from '2026-07-17 16:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79841 -3.462206)'), GeomFromEWKT('SRID=4674;POINT (-38.798473 -3.462354)'))) / (select extract(epoch from '2026-07-17 16:52:11'::timestamp) - extract(epoch from '2026-07-17 16:52: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'), 47317, 'SRID=4674;POINT (-38.798557 -3.462507)', '2026-07-17 16:52:18', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798473 -3.462354)'), GeomFromEWKT('SRID=4674;POINT (-38.798557 -3.462507)'))) / (select extract(epoch from '2026-07-17 16:52:18'::timestamp) - extract(epoch from '2026-07-17 16:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798473 -3.462354)'), GeomFromEWKT('SRID=4674;POINT (-38.798557 -3.462507)'))) / (select extract(epoch from '2026-07-17 16:52:18'::timestamp) - extract(epoch from '2026-07-17 16:52: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'), 47317, 'SRID=4674;POINT (-38.798615 -3.462648)', '2026-07-17 16:52:24', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798557 -3.462507)'), GeomFromEWKT('SRID=4674;POINT (-38.798615 -3.462648)'))) / (select extract(epoch from '2026-07-17 16:52:24'::timestamp) - extract(epoch from '2026-07-17 16:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798557 -3.462507)'), GeomFromEWKT('SRID=4674;POINT (-38.798615 -3.462648)'))) / (select extract(epoch from '2026-07-17 16:52:24'::timestamp) - extract(epoch from '2026-07-17 16:52: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'), 47317, 'SRID=4674;POINT (-38.798664 -3.46278)', '2026-07-17 16:52:30', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798615 -3.462648)'), GeomFromEWKT('SRID=4674;POINT (-38.798664 -3.46278)'))) / (select extract(epoch from '2026-07-17 16:52:30'::timestamp) - extract(epoch from '2026-07-17 16:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798615 -3.462648)'), GeomFromEWKT('SRID=4674;POINT (-38.798664 -3.46278)'))) / (select extract(epoch from '2026-07-17 16:52:30'::timestamp) - extract(epoch from '2026-07-17 16:52: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'), 47317, 'SRID=4674;POINT (-38.79874 -3.46294)', '2026-07-17 16:52:37', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798664 -3.46278)'), GeomFromEWKT('SRID=4674;POINT (-38.79874 -3.46294)'))) / (select extract(epoch from '2026-07-17 16:52:37'::timestamp) - extract(epoch from '2026-07-17 16:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798664 -3.46278)'), GeomFromEWKT('SRID=4674;POINT (-38.79874 -3.46294)'))) / (select extract(epoch from '2026-07-17 16:52:37'::timestamp) - extract(epoch from '2026-07-17 16:52: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'), 47317, 'SRID=4674;POINT (-38.798799 -3.463073)', '2026-07-17 16:52:43', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79874 -3.46294)'), GeomFromEWKT('SRID=4674;POINT (-38.798799 -3.463073)'))) / (select extract(epoch from '2026-07-17 16:52:43'::timestamp) - extract(epoch from '2026-07-17 16:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79874 -3.46294)'), GeomFromEWKT('SRID=4674;POINT (-38.798799 -3.463073)'))) / (select extract(epoch from '2026-07-17 16:52:43'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.798857 -3.463236)', '2026-07-17 16:52:50', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798799 -3.463073)'), GeomFromEWKT('SRID=4674;POINT (-38.798857 -3.463236)'))) / (select extract(epoch from '2026-07-17 16:52:50'::timestamp) - extract(epoch from '2026-07-17 16:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798799 -3.463073)'), GeomFromEWKT('SRID=4674;POINT (-38.798857 -3.463236)'))) / (select extract(epoch from '2026-07-17 16:52:50'::timestamp) - extract(epoch from '2026-07-17 16:52: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'), 47317, 'SRID=4674;POINT (-38.798907 -3.463375)', '2026-07-17 16:52:56', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798857 -3.463236)'), GeomFromEWKT('SRID=4674;POINT (-38.798907 -3.463375)'))) / (select extract(epoch from '2026-07-17 16:52:56'::timestamp) - extract(epoch from '2026-07-17 16:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798857 -3.463236)'), GeomFromEWKT('SRID=4674;POINT (-38.798907 -3.463375)'))) / (select extract(epoch from '2026-07-17 16:52:56'::timestamp) - extract(epoch from '2026-07-17 16:52: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'), 47317, 'SRID=4674;POINT (-38.798951 -3.46353)', '2026-07-17 16:53:03', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798907 -3.463375)'), GeomFromEWKT('SRID=4674;POINT (-38.798951 -3.46353)'))) / (select extract(epoch from '2026-07-17 16:53:03'::timestamp) - extract(epoch from '2026-07-17 16:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798907 -3.463375)'), GeomFromEWKT('SRID=4674;POINT (-38.798951 -3.46353)'))) / (select extract(epoch from '2026-07-17 16:53:03'::timestamp) - extract(epoch from '2026-07-17 16:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.798994 -3.463696)', '2026-07-17 16:53:10', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798951 -3.46353)'), GeomFromEWKT('SRID=4674;POINT (-38.798994 -3.463696)'))) / (select extract(epoch from '2026-07-17 16:53:10'::timestamp) - extract(epoch from '2026-07-17 16:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798951 -3.46353)'), GeomFromEWKT('SRID=4674;POINT (-38.798994 -3.463696)'))) / (select extract(epoch from '2026-07-17 16:53:10'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47317, 'SRID=4674;POINT (-38.799051 -3.463846)', '2026-07-17 16:53:16', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798994 -3.463696)'), GeomFromEWKT('SRID=4674;POINT (-38.799051 -3.463846)'))) / (select extract(epoch from '2026-07-17 16:53:16'::timestamp) - extract(epoch from '2026-07-17 16:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798994 -3.463696)'), GeomFromEWKT('SRID=4674;POINT (-38.799051 -3.463846)'))) / (select extract(epoch from '2026-07-17 16:53:16'::timestamp) - extract(epoch from '2026-07-17 16:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.799091 -3.463965)', '2026-07-17 16:53:21', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799051 -3.463846)'), GeomFromEWKT('SRID=4674;POINT (-38.799091 -3.463965)'))) / (select extract(epoch from '2026-07-17 16:53:21'::timestamp) - extract(epoch from '2026-07-17 16:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799051 -3.463846)'), GeomFromEWKT('SRID=4674;POINT (-38.799091 -3.463965)'))) / (select extract(epoch from '2026-07-17 16:53:21'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47317, 'SRID=4674;POINT (-38.799138 -3.464113)', '2026-07-17 16:53:27', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799091 -3.463965)'), GeomFromEWKT('SRID=4674;POINT (-38.799138 -3.464113)'))) / (select extract(epoch from '2026-07-17 16:53:27'::timestamp) - extract(epoch from '2026-07-17 16:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799091 -3.463965)'), GeomFromEWKT('SRID=4674;POINT (-38.799138 -3.464113)'))) / (select extract(epoch from '2026-07-17 16:53:27'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47317, 'SRID=4674;POINT (-38.799176 -3.46422)', '2026-07-17 16:53:32', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799138 -3.464113)'), GeomFromEWKT('SRID=4674;POINT (-38.799176 -3.46422)'))) / (select extract(epoch from '2026-07-17 16:53:32'::timestamp) - extract(epoch from '2026-07-17 16:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799138 -3.464113)'), GeomFromEWKT('SRID=4674;POINT (-38.799176 -3.46422)'))) / (select extract(epoch from '2026-07-17 16:53:32'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.79919 -3.464242)', '2026-07-17 16:53:33', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799176 -3.46422)'), GeomFromEWKT('SRID=4674;POINT (-38.79919 -3.464242)'))) / (select extract(epoch from '2026-07-17 16:53:33'::timestamp) - extract(epoch from '2026-07-17 16:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799176 -3.46422)'), GeomFromEWKT('SRID=4674;POINT (-38.79919 -3.464242)'))) / (select extract(epoch from '2026-07-17 16:53:33'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.799196 -3.464265)', '2026-07-17 16:53:34', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79919 -3.464242)'), GeomFromEWKT('SRID=4674;POINT (-38.799196 -3.464265)'))) / (select extract(epoch from '2026-07-17 16:53:34'::timestamp) - extract(epoch from '2026-07-17 16:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79919 -3.464242)'), GeomFromEWKT('SRID=4674;POINT (-38.799196 -3.464265)'))) / (select extract(epoch from '2026-07-17 16:53:34'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47317, 'SRID=4674;POINT (-38.799216 -3.464332)', '2026-07-17 16:53:37', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799196 -3.464265)'), GeomFromEWKT('SRID=4674;POINT (-38.799216 -3.464332)'))) / (select extract(epoch from '2026-07-17 16:53:37'::timestamp) - extract(epoch from '2026-07-17 16:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799196 -3.464265)'), GeomFromEWKT('SRID=4674;POINT (-38.799216 -3.464332)'))) / (select extract(epoch from '2026-07-17 16:53:37'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47317, 'SRID=4674;POINT (-38.799283 -3.464493)', '2026-07-17 16:53:44', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799216 -3.464332)'), GeomFromEWKT('SRID=4674;POINT (-38.799283 -3.464493)'))) / (select extract(epoch from '2026-07-17 16:53:44'::timestamp) - extract(epoch from '2026-07-17 16:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799216 -3.464332)'), GeomFromEWKT('SRID=4674;POINT (-38.799283 -3.464493)'))) / (select extract(epoch from '2026-07-17 16:53:44'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47317, 'SRID=4674;POINT (-38.799352 -3.464684)', '2026-07-17 16:53:52', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799283 -3.464493)'), GeomFromEWKT('SRID=4674;POINT (-38.799352 -3.464684)'))) / (select extract(epoch from '2026-07-17 16:53:52'::timestamp) - extract(epoch from '2026-07-17 16:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799283 -3.464493)'), GeomFromEWKT('SRID=4674;POINT (-38.799352 -3.464684)'))) / (select extract(epoch from '2026-07-17 16:53:52'::timestamp) - extract(epoch from '2026-07-17 16:53:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.799416 -3.464841)', '2026-07-17 16:53:59', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799352 -3.464684)'), GeomFromEWKT('SRID=4674;POINT (-38.799416 -3.464841)'))) / (select extract(epoch from '2026-07-17 16:53:59'::timestamp) - extract(epoch from '2026-07-17 16:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799352 -3.464684)'), GeomFromEWKT('SRID=4674;POINT (-38.799416 -3.464841)'))) / (select extract(epoch from '2026-07-17 16:53:59'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47317, 'SRID=4674;POINT (-38.799467 -3.464985)', '2026-07-17 16:54:05', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799416 -3.464841)'), GeomFromEWKT('SRID=4674;POINT (-38.799467 -3.464985)'))) / (select extract(epoch from '2026-07-17 16:54:05'::timestamp) - extract(epoch from '2026-07-17 16:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799416 -3.464841)'), GeomFromEWKT('SRID=4674;POINT (-38.799467 -3.464985)'))) / (select extract(epoch from '2026-07-17 16:54:05'::timestamp) - extract(epoch from '2026-07-17 16:53: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'), 47317, 'SRID=4674;POINT (-38.799496 -3.465097)', '2026-07-17 16:54:10', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799467 -3.464985)'), GeomFromEWKT('SRID=4674;POINT (-38.799496 -3.465097)'))) / (select extract(epoch from '2026-07-17 16:54:10'::timestamp) - extract(epoch from '2026-07-17 16:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799467 -3.464985)'), GeomFromEWKT('SRID=4674;POINT (-38.799496 -3.465097)'))) / (select extract(epoch from '2026-07-17 16:54:10'::timestamp) - extract(epoch from '2026-07-17 16:54: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'), 47317, 'SRID=4674;POINT (-38.799562 -3.465275)', '2026-07-17 16:54:18', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799496 -3.465097)'), GeomFromEWKT('SRID=4674;POINT (-38.799562 -3.465275)'))) / (select extract(epoch from '2026-07-17 16:54:18'::timestamp) - extract(epoch from '2026-07-17 16:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799496 -3.465097)'), GeomFromEWKT('SRID=4674;POINT (-38.799562 -3.465275)'))) / (select extract(epoch from '2026-07-17 16:54:18'::timestamp) - extract(epoch from '2026-07-17 16:54: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'), 47317, 'SRID=4674;POINT (-38.799609 -3.465426)', '2026-07-17 16:54:24', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799562 -3.465275)'), GeomFromEWKT('SRID=4674;POINT (-38.799609 -3.465426)'))) / (select extract(epoch from '2026-07-17 16:54:24'::timestamp) - extract(epoch from '2026-07-17 16:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799562 -3.465275)'), GeomFromEWKT('SRID=4674;POINT (-38.799609 -3.465426)'))) / (select extract(epoch from '2026-07-17 16:54:24'::timestamp) - extract(epoch from '2026-07-17 16:54:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.799637 -3.465564)', '2026-07-17 16:54:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799609 -3.465426)'), GeomFromEWKT('SRID=4674;POINT (-38.799637 -3.465564)'))) / (select extract(epoch from '2026-07-17 16:54:30'::timestamp) - extract(epoch from '2026-07-17 16:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799609 -3.465426)'), GeomFromEWKT('SRID=4674;POINT (-38.799637 -3.465564)'))) / (select extract(epoch from '2026-07-17 16:54:30'::timestamp) - extract(epoch from '2026-07-17 16:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.799689 -3.465708)', '2026-07-17 16:54:36', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799637 -3.465564)'), GeomFromEWKT('SRID=4674;POINT (-38.799689 -3.465708)'))) / (select extract(epoch from '2026-07-17 16:54:36'::timestamp) - extract(epoch from '2026-07-17 16:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799637 -3.465564)'), GeomFromEWKT('SRID=4674;POINT (-38.799689 -3.465708)'))) / (select extract(epoch from '2026-07-17 16:54:36'::timestamp) - extract(epoch from '2026-07-17 16:54: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'), 47317, 'SRID=4674;POINT (-38.799749 -3.465874)', '2026-07-17 16:54:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799689 -3.465708)'), GeomFromEWKT('SRID=4674;POINT (-38.799749 -3.465874)'))) / (select extract(epoch from '2026-07-17 16:54:43'::timestamp) - extract(epoch from '2026-07-17 16:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799689 -3.465708)'), GeomFromEWKT('SRID=4674;POINT (-38.799749 -3.465874)'))) / (select extract(epoch from '2026-07-17 16:54:43'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.799803 -3.466005)', '2026-07-17 16:54:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799749 -3.465874)'), GeomFromEWKT('SRID=4674;POINT (-38.799803 -3.466005)'))) / (select extract(epoch from '2026-07-17 16:54:49'::timestamp) - extract(epoch from '2026-07-17 16:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799749 -3.465874)'), GeomFromEWKT('SRID=4674;POINT (-38.799803 -3.466005)'))) / (select extract(epoch from '2026-07-17 16:54:49'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.799876 -3.466191)', '2026-07-17 16:54:57', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799803 -3.466005)'), GeomFromEWKT('SRID=4674;POINT (-38.799876 -3.466191)'))) / (select extract(epoch from '2026-07-17 16:54:57'::timestamp) - extract(epoch from '2026-07-17 16:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799803 -3.466005)'), GeomFromEWKT('SRID=4674;POINT (-38.799876 -3.466191)'))) / (select extract(epoch from '2026-07-17 16:54:57'::timestamp) - extract(epoch from '2026-07-17 16:54: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'), 47317, 'SRID=4674;POINT (-38.799895 -3.4663)', '2026-07-17 16:55:02', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799876 -3.466191)'), GeomFromEWKT('SRID=4674;POINT (-38.799895 -3.4663)'))) / (select extract(epoch from '2026-07-17 16:55:02'::timestamp) - extract(epoch from '2026-07-17 16:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799876 -3.466191)'), GeomFromEWKT('SRID=4674;POINT (-38.799895 -3.4663)'))) / (select extract(epoch from '2026-07-17 16:55:02'::timestamp) - extract(epoch from '2026-07-17 16:54:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.799936 -3.466433)', '2026-07-17 16:55:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799895 -3.4663)'), GeomFromEWKT('SRID=4674;POINT (-38.799936 -3.466433)'))) / (select extract(epoch from '2026-07-17 16:55:08'::timestamp) - extract(epoch from '2026-07-17 16:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799895 -3.4663)'), GeomFromEWKT('SRID=4674;POINT (-38.799936 -3.466433)'))) / (select extract(epoch from '2026-07-17 16:55:08'::timestamp) - extract(epoch from '2026-07-17 16:55:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.799968 -3.466541)', '2026-07-17 16:55:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799936 -3.466433)'), GeomFromEWKT('SRID=4674;POINT (-38.799968 -3.466541)'))) / (select extract(epoch from '2026-07-17 16:55:13'::timestamp) - extract(epoch from '2026-07-17 16:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799936 -3.466433)'), GeomFromEWKT('SRID=4674;POINT (-38.799968 -3.466541)'))) / (select extract(epoch from '2026-07-17 16:55:13'::timestamp) - extract(epoch from '2026-07-17 16:55: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'), 47317, 'SRID=4674;POINT (-38.800018 -3.466676)', '2026-07-17 16:55:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799968 -3.466541)'), GeomFromEWKT('SRID=4674;POINT (-38.800018 -3.466676)'))) / (select extract(epoch from '2026-07-17 16:55:19'::timestamp) - extract(epoch from '2026-07-17 16:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799968 -3.466541)'), GeomFromEWKT('SRID=4674;POINT (-38.800018 -3.466676)'))) / (select extract(epoch from '2026-07-17 16:55:19'::timestamp) - extract(epoch from '2026-07-17 16:55:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.800039 -3.466796)', '2026-07-17 16:55:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800018 -3.466676)'), GeomFromEWKT('SRID=4674;POINT (-38.800039 -3.466796)'))) / (select extract(epoch from '2026-07-17 16:55:24'::timestamp) - extract(epoch from '2026-07-17 16:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800018 -3.466676)'), GeomFromEWKT('SRID=4674;POINT (-38.800039 -3.466796)'))) / (select extract(epoch from '2026-07-17 16:55:24'::timestamp) - extract(epoch from '2026-07-17 16:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.800066 -3.466903)', '2026-07-17 16:55:29', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800039 -3.466796)'), GeomFromEWKT('SRID=4674;POINT (-38.800066 -3.466903)'))) / (select extract(epoch from '2026-07-17 16:55:29'::timestamp) - extract(epoch from '2026-07-17 16:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800039 -3.466796)'), GeomFromEWKT('SRID=4674;POINT (-38.800066 -3.466903)'))) / (select extract(epoch from '2026-07-17 16:55:29'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.800115 -3.467066)', '2026-07-17 16:55:36', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800066 -3.466903)'), GeomFromEWKT('SRID=4674;POINT (-38.800115 -3.467066)'))) / (select extract(epoch from '2026-07-17 16:55:36'::timestamp) - extract(epoch from '2026-07-17 16:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800066 -3.466903)'), GeomFromEWKT('SRID=4674;POINT (-38.800115 -3.467066)'))) / (select extract(epoch from '2026-07-17 16:55:36'::timestamp) - extract(epoch from '2026-07-17 16:55: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'), 47317, 'SRID=4674;POINT (-38.800156 -3.467206)', '2026-07-17 16:55:42', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800115 -3.467066)'), GeomFromEWKT('SRID=4674;POINT (-38.800156 -3.467206)'))) / (select extract(epoch from '2026-07-17 16:55:42'::timestamp) - extract(epoch from '2026-07-17 16:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800115 -3.467066)'), GeomFromEWKT('SRID=4674;POINT (-38.800156 -3.467206)'))) / (select extract(epoch from '2026-07-17 16:55:42'::timestamp) - extract(epoch from '2026-07-17 16:55: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'), 47317, 'SRID=4674;POINT (-38.800195 -3.467356)', '2026-07-17 16:55:48', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800156 -3.467206)'), GeomFromEWKT('SRID=4674;POINT (-38.800195 -3.467356)'))) / (select extract(epoch from '2026-07-17 16:55:48'::timestamp) - extract(epoch from '2026-07-17 16:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800156 -3.467206)'), GeomFromEWKT('SRID=4674;POINT (-38.800195 -3.467356)'))) / (select extract(epoch from '2026-07-17 16:55:48'::timestamp) - extract(epoch from '2026-07-17 16:55: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'), 47317, 'SRID=4674;POINT (-38.800222 -3.467514)', '2026-07-17 16:55:55', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800195 -3.467356)'), GeomFromEWKT('SRID=4674;POINT (-38.800222 -3.467514)'))) / (select extract(epoch from '2026-07-17 16:55:55'::timestamp) - extract(epoch from '2026-07-17 16:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800195 -3.467356)'), GeomFromEWKT('SRID=4674;POINT (-38.800222 -3.467514)'))) / (select extract(epoch from '2026-07-17 16:55:55'::timestamp) - extract(epoch from '2026-07-17 16:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.800276 -3.467707)', '2026-07-17 16:56:03', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800222 -3.467514)'), GeomFromEWKT('SRID=4674;POINT (-38.800276 -3.467707)'))) / (select extract(epoch from '2026-07-17 16:56:03'::timestamp) - extract(epoch from '2026-07-17 16:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800222 -3.467514)'), GeomFromEWKT('SRID=4674;POINT (-38.800276 -3.467707)'))) / (select extract(epoch from '2026-07-17 16:56:03'::timestamp) - extract(epoch from '2026-07-17 16:55: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'), 47317, 'SRID=4674;POINT (-38.800352 -3.467866)', '2026-07-17 16:56:10', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800276 -3.467707)'), GeomFromEWKT('SRID=4674;POINT (-38.800352 -3.467866)'))) / (select extract(epoch from '2026-07-17 16:56:10'::timestamp) - extract(epoch from '2026-07-17 16:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800276 -3.467707)'), GeomFromEWKT('SRID=4674;POINT (-38.800352 -3.467866)'))) / (select extract(epoch from '2026-07-17 16:56:10'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47317, 'SRID=4674;POINT (-38.800408 -3.46803)', '2026-07-17 16:56:17', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800352 -3.467866)'), GeomFromEWKT('SRID=4674;POINT (-38.800408 -3.46803)'))) / (select extract(epoch from '2026-07-17 16:56:17'::timestamp) - extract(epoch from '2026-07-17 16:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800352 -3.467866)'), GeomFromEWKT('SRID=4674;POINT (-38.800408 -3.46803)'))) / (select extract(epoch from '2026-07-17 16:56:17'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47317, 'SRID=4674;POINT (-38.800429 -3.468111)', '2026-07-17 16:56:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800408 -3.46803)'), GeomFromEWKT('SRID=4674;POINT (-38.800429 -3.468111)'))) / (select extract(epoch from '2026-07-17 16:56:21'::timestamp) - extract(epoch from '2026-07-17 16:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800408 -3.46803)'), GeomFromEWKT('SRID=4674;POINT (-38.800429 -3.468111)'))) / (select extract(epoch from '2026-07-17 16:56:21'::timestamp) - extract(epoch from '2026-07-17 16:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.800494 -3.468251)', '2026-07-17 16:56:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800429 -3.468111)'), GeomFromEWKT('SRID=4674;POINT (-38.800494 -3.468251)'))) / (select extract(epoch from '2026-07-17 16:56:27'::timestamp) - extract(epoch from '2026-07-17 16:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800429 -3.468111)'), GeomFromEWKT('SRID=4674;POINT (-38.800494 -3.468251)'))) / (select extract(epoch from '2026-07-17 16:56:27'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47317, 'SRID=4674;POINT (-38.800556 -3.468412)', '2026-07-17 16:56:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800494 -3.468251)'), GeomFromEWKT('SRID=4674;POINT (-38.800556 -3.468412)'))) / (select extract(epoch from '2026-07-17 16:56:34'::timestamp) - extract(epoch from '2026-07-17 16:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800494 -3.468251)'), GeomFromEWKT('SRID=4674;POINT (-38.800556 -3.468412)'))) / (select extract(epoch from '2026-07-17 16:56:34'::timestamp) - extract(epoch from '2026-07-17 16:56:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.800597 -3.468549)', '2026-07-17 16:56:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800556 -3.468412)'), GeomFromEWKT('SRID=4674;POINT (-38.800597 -3.468549)'))) / (select extract(epoch from '2026-07-17 16:56:40'::timestamp) - extract(epoch from '2026-07-17 16:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800556 -3.468412)'), GeomFromEWKT('SRID=4674;POINT (-38.800597 -3.468549)'))) / (select extract(epoch from '2026-07-17 16:56:40'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.800656 -3.468708)', '2026-07-17 16:56:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800597 -3.468549)'), GeomFromEWKT('SRID=4674;POINT (-38.800656 -3.468708)'))) / (select extract(epoch from '2026-07-17 16:56:47'::timestamp) - extract(epoch from '2026-07-17 16:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800597 -3.468549)'), GeomFromEWKT('SRID=4674;POINT (-38.800656 -3.468708)'))) / (select extract(epoch from '2026-07-17 16:56:47'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.800711 -3.46884)', '2026-07-17 16:56:53', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800656 -3.468708)'), GeomFromEWKT('SRID=4674;POINT (-38.800711 -3.46884)'))) / (select extract(epoch from '2026-07-17 16:56:53'::timestamp) - extract(epoch from '2026-07-17 16:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800656 -3.468708)'), GeomFromEWKT('SRID=4674;POINT (-38.800711 -3.46884)'))) / (select extract(epoch from '2026-07-17 16:56:53'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47317, 'SRID=4674;POINT (-38.800756 -3.468984)', '2026-07-17 16:56:59', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800711 -3.46884)'), GeomFromEWKT('SRID=4674;POINT (-38.800756 -3.468984)'))) / (select extract(epoch from '2026-07-17 16:56:59'::timestamp) - extract(epoch from '2026-07-17 16:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800711 -3.46884)'), GeomFromEWKT('SRID=4674;POINT (-38.800756 -3.468984)'))) / (select extract(epoch from '2026-07-17 16:56:59'::timestamp) - extract(epoch from '2026-07-17 16:56:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.800812 -3.46915)', '2026-07-17 16:57:06', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800756 -3.468984)'), GeomFromEWKT('SRID=4674;POINT (-38.800812 -3.46915)'))) / (select extract(epoch from '2026-07-17 16:57:06'::timestamp) - extract(epoch from '2026-07-17 16:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800756 -3.468984)'), GeomFromEWKT('SRID=4674;POINT (-38.800812 -3.46915)'))) / (select extract(epoch from '2026-07-17 16:57:06'::timestamp) - extract(epoch from '2026-07-17 16:56: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'), 47317, 'SRID=4674;POINT (-38.800855 -3.469266)', '2026-07-17 16:57:11', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800812 -3.46915)'), GeomFromEWKT('SRID=4674;POINT (-38.800855 -3.469266)'))) / (select extract(epoch from '2026-07-17 16:57:11'::timestamp) - extract(epoch from '2026-07-17 16:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800812 -3.46915)'), GeomFromEWKT('SRID=4674;POINT (-38.800855 -3.469266)'))) / (select extract(epoch from '2026-07-17 16:57:11'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47317, 'SRID=4674;POINT (-38.800895 -3.469399)', '2026-07-17 16:57:16', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800855 -3.469266)'), GeomFromEWKT('SRID=4674;POINT (-38.800895 -3.469399)'))) / (select extract(epoch from '2026-07-17 16:57:16'::timestamp) - extract(epoch from '2026-07-17 16:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800855 -3.469266)'), GeomFromEWKT('SRID=4674;POINT (-38.800895 -3.469399)'))) / (select extract(epoch from '2026-07-17 16:57:16'::timestamp) - extract(epoch from '2026-07-17 16:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.800944 -3.469533)', '2026-07-17 16:57:22', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800895 -3.469399)'), GeomFromEWKT('SRID=4674;POINT (-38.800944 -3.469533)'))) / (select extract(epoch from '2026-07-17 16:57:22'::timestamp) - extract(epoch from '2026-07-17 16:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800895 -3.469399)'), GeomFromEWKT('SRID=4674;POINT (-38.800944 -3.469533)'))) / (select extract(epoch from '2026-07-17 16:57:22'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47317, 'SRID=4674;POINT (-38.800994 -3.469673)', '2026-07-17 16:57:28', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800944 -3.469533)'), GeomFromEWKT('SRID=4674;POINT (-38.800994 -3.469673)'))) / (select extract(epoch from '2026-07-17 16:57:28'::timestamp) - extract(epoch from '2026-07-17 16:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800944 -3.469533)'), GeomFromEWKT('SRID=4674;POINT (-38.800994 -3.469673)'))) / (select extract(epoch from '2026-07-17 16:57:28'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47317, 'SRID=4674;POINT (-38.80104 -3.469811)', '2026-07-17 16:57:34', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800994 -3.469673)'), GeomFromEWKT('SRID=4674;POINT (-38.80104 -3.469811)'))) / (select extract(epoch from '2026-07-17 16:57:34'::timestamp) - extract(epoch from '2026-07-17 16:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800994 -3.469673)'), GeomFromEWKT('SRID=4674;POINT (-38.80104 -3.469811)'))) / (select extract(epoch from '2026-07-17 16:57:34'::timestamp) - extract(epoch from '2026-07-17 16:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.801088 -3.469981)', '2026-07-17 16:57:41', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80104 -3.469811)'), GeomFromEWKT('SRID=4674;POINT (-38.801088 -3.469981)'))) / (select extract(epoch from '2026-07-17 16:57:41'::timestamp) - extract(epoch from '2026-07-17 16:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80104 -3.469811)'), GeomFromEWKT('SRID=4674;POINT (-38.801088 -3.469981)'))) / (select extract(epoch from '2026-07-17 16:57:41'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.801139 -3.47012)', '2026-07-17 16:57:47', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801088 -3.469981)'), GeomFromEWKT('SRID=4674;POINT (-38.801139 -3.47012)'))) / (select extract(epoch from '2026-07-17 16:57:47'::timestamp) - extract(epoch from '2026-07-17 16:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801088 -3.469981)'), GeomFromEWKT('SRID=4674;POINT (-38.801139 -3.47012)'))) / (select extract(epoch from '2026-07-17 16:57:47'::timestamp) - extract(epoch from '2026-07-17 16:57: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'), 47317, 'SRID=4674;POINT (-38.801203 -3.470258)', '2026-07-17 16:57:54', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801139 -3.47012)'), GeomFromEWKT('SRID=4674;POINT (-38.801203 -3.470258)'))) / (select extract(epoch from '2026-07-17 16:57:54'::timestamp) - extract(epoch from '2026-07-17 16:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801139 -3.47012)'), GeomFromEWKT('SRID=4674;POINT (-38.801203 -3.470258)'))) / (select extract(epoch from '2026-07-17 16:57:54'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.801249 -3.4704)', '2026-07-17 16:58:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801203 -3.470258)'), GeomFromEWKT('SRID=4674;POINT (-38.801249 -3.4704)'))) / (select extract(epoch from '2026-07-17 16:58:00'::timestamp) - extract(epoch from '2026-07-17 16:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801203 -3.470258)'), GeomFromEWKT('SRID=4674;POINT (-38.801249 -3.4704)'))) / (select extract(epoch from '2026-07-17 16:58:00'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.801283 -3.470497)', '2026-07-17 16:58:04', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801249 -3.4704)'), GeomFromEWKT('SRID=4674;POINT (-38.801283 -3.470497)'))) / (select extract(epoch from '2026-07-17 16:58:04'::timestamp) - extract(epoch from '2026-07-17 16:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801249 -3.4704)'), GeomFromEWKT('SRID=4674;POINT (-38.801283 -3.470497)'))) / (select extract(epoch from '2026-07-17 16:58:04'::timestamp) - extract(epoch from '2026-07-17 16:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.801302 -3.470544)', '2026-07-17 16:58:06', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801283 -3.470497)'), GeomFromEWKT('SRID=4674;POINT (-38.801302 -3.470544)'))) / (select extract(epoch from '2026-07-17 16:58:06'::timestamp) - extract(epoch from '2026-07-17 16:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801283 -3.470497)'), GeomFromEWKT('SRID=4674;POINT (-38.801302 -3.470544)'))) / (select extract(epoch from '2026-07-17 16:58:06'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47317, 'SRID=4674;POINT (-38.801359 -3.47071)', '2026-07-17 16:58:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801302 -3.470544)'), GeomFromEWKT('SRID=4674;POINT (-38.801359 -3.47071)'))) / (select extract(epoch from '2026-07-17 16:58:13'::timestamp) - extract(epoch from '2026-07-17 16:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801302 -3.470544)'), GeomFromEWKT('SRID=4674;POINT (-38.801359 -3.47071)'))) / (select extract(epoch from '2026-07-17 16:58:13'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.801405 -3.47083)', '2026-07-17 16:58:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801359 -3.47071)'), GeomFromEWKT('SRID=4674;POINT (-38.801405 -3.47083)'))) / (select extract(epoch from '2026-07-17 16:58:18'::timestamp) - extract(epoch from '2026-07-17 16:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801359 -3.47071)'), GeomFromEWKT('SRID=4674;POINT (-38.801405 -3.47083)'))) / (select extract(epoch from '2026-07-17 16:58:18'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47317, 'SRID=4674;POINT (-38.801473 -3.471005)', '2026-07-17 16:58:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801405 -3.47083)'), GeomFromEWKT('SRID=4674;POINT (-38.801473 -3.471005)'))) / (select extract(epoch from '2026-07-17 16:58:26'::timestamp) - extract(epoch from '2026-07-17 16:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801405 -3.47083)'), GeomFromEWKT('SRID=4674;POINT (-38.801473 -3.471005)'))) / (select extract(epoch from '2026-07-17 16:58:26'::timestamp) - extract(epoch from '2026-07-17 16:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.801483 -3.47103)', '2026-07-17 16:58:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801473 -3.471005)'), GeomFromEWKT('SRID=4674;POINT (-38.801483 -3.47103)'))) / (select extract(epoch from '2026-07-17 16:58:27'::timestamp) - extract(epoch from '2026-07-17 16:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801473 -3.471005)'), GeomFromEWKT('SRID=4674;POINT (-38.801483 -3.47103)'))) / (select extract(epoch from '2026-07-17 16:58:27'::timestamp) - extract(epoch from '2026-07-17 16:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.80154 -3.471201)', '2026-07-17 16:58:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801483 -3.47103)'), GeomFromEWKT('SRID=4674;POINT (-38.80154 -3.471201)'))) / (select extract(epoch from '2026-07-17 16:58:34'::timestamp) - extract(epoch from '2026-07-17 16:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801483 -3.47103)'), GeomFromEWKT('SRID=4674;POINT (-38.80154 -3.471201)'))) / (select extract(epoch from '2026-07-17 16:58:34'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47317, 'SRID=4674;POINT (-38.801549 -3.471227)', '2026-07-17 16:58:35', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80154 -3.471201)'), GeomFromEWKT('SRID=4674;POINT (-38.801549 -3.471227)'))) / (select extract(epoch from '2026-07-17 16:58:35'::timestamp) - extract(epoch from '2026-07-17 16:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80154 -3.471201)'), GeomFromEWKT('SRID=4674;POINT (-38.801549 -3.471227)'))) / (select extract(epoch from '2026-07-17 16:58:35'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47317, 'SRID=4674;POINT (-38.801585 -3.471369)', '2026-07-17 16:58:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801549 -3.471227)'), GeomFromEWKT('SRID=4674;POINT (-38.801585 -3.471369)'))) / (select extract(epoch from '2026-07-17 16:58:41'::timestamp) - extract(epoch from '2026-07-17 16:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801549 -3.471227)'), GeomFromEWKT('SRID=4674;POINT (-38.801585 -3.471369)'))) / (select extract(epoch from '2026-07-17 16:58:41'::timestamp) - extract(epoch from '2026-07-17 16:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.801617 -3.471477)', '2026-07-17 16:58:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801585 -3.471369)'), GeomFromEWKT('SRID=4674;POINT (-38.801617 -3.471477)'))) / (select extract(epoch from '2026-07-17 16:58:46'::timestamp) - extract(epoch from '2026-07-17 16:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801585 -3.471369)'), GeomFromEWKT('SRID=4674;POINT (-38.801617 -3.471477)'))) / (select extract(epoch from '2026-07-17 16:58:46'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47317, 'SRID=4674;POINT (-38.80168 -3.471655)', '2026-07-17 16:58:54', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801617 -3.471477)'), GeomFromEWKT('SRID=4674;POINT (-38.80168 -3.471655)'))) / (select extract(epoch from '2026-07-17 16:58:54'::timestamp) - extract(epoch from '2026-07-17 16:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801617 -3.471477)'), GeomFromEWKT('SRID=4674;POINT (-38.80168 -3.471655)'))) / (select extract(epoch from '2026-07-17 16:58:54'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47317, 'SRID=4674;POINT (-38.801721 -3.471801)', '2026-07-17 16:59:00', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80168 -3.471655)'), GeomFromEWKT('SRID=4674;POINT (-38.801721 -3.471801)'))) / (select extract(epoch from '2026-07-17 16:59:00'::timestamp) - extract(epoch from '2026-07-17 16:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80168 -3.471655)'), GeomFromEWKT('SRID=4674;POINT (-38.801721 -3.471801)'))) / (select extract(epoch from '2026-07-17 16:59:00'::timestamp) - extract(epoch from '2026-07-17 16:58: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'), 47317, 'SRID=4674;POINT (-38.801763 -3.47194)', '2026-07-17 16:59:06', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801721 -3.471801)'), GeomFromEWKT('SRID=4674;POINT (-38.801763 -3.47194)'))) / (select extract(epoch from '2026-07-17 16:59:06'::timestamp) - extract(epoch from '2026-07-17 16:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801721 -3.471801)'), GeomFromEWKT('SRID=4674;POINT (-38.801763 -3.47194)'))) / (select extract(epoch from '2026-07-17 16:59:06'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47317, 'SRID=4674;POINT (-38.8018 -3.472061)', '2026-07-17 16:59:11', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801763 -3.47194)'), GeomFromEWKT('SRID=4674;POINT (-38.8018 -3.472061)'))) / (select extract(epoch from '2026-07-17 16:59:11'::timestamp) - extract(epoch from '2026-07-17 16:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801763 -3.47194)'), GeomFromEWKT('SRID=4674;POINT (-38.8018 -3.472061)'))) / (select extract(epoch from '2026-07-17 16:59:11'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.801847 -3.472245)', '2026-07-17 16:59:19', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8018 -3.472061)'), GeomFromEWKT('SRID=4674;POINT (-38.801847 -3.472245)'))) / (select extract(epoch from '2026-07-17 16:59:19'::timestamp) - extract(epoch from '2026-07-17 16:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8018 -3.472061)'), GeomFromEWKT('SRID=4674;POINT (-38.801847 -3.472245)'))) / (select extract(epoch from '2026-07-17 16:59:19'::timestamp) - extract(epoch from '2026-07-17 16:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.801888 -3.472373)', '2026-07-17 16:59:25', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801847 -3.472245)'), GeomFromEWKT('SRID=4674;POINT (-38.801888 -3.472373)'))) / (select extract(epoch from '2026-07-17 16:59:25'::timestamp) - extract(epoch from '2026-07-17 16:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801847 -3.472245)'), GeomFromEWKT('SRID=4674;POINT (-38.801888 -3.472373)'))) / (select extract(epoch from '2026-07-17 16:59:25'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47317, 'SRID=4674;POINT (-38.801937 -3.472504)', '2026-07-17 16:59:31', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801888 -3.472373)'), GeomFromEWKT('SRID=4674;POINT (-38.801937 -3.472504)'))) / (select extract(epoch from '2026-07-17 16:59:31'::timestamp) - extract(epoch from '2026-07-17 16:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801888 -3.472373)'), GeomFromEWKT('SRID=4674;POINT (-38.801937 -3.472504)'))) / (select extract(epoch from '2026-07-17 16:59:31'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47317, 'SRID=4674;POINT (-38.801974 -3.472625)', '2026-07-17 16:59:36', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801937 -3.472504)'), GeomFromEWKT('SRID=4674;POINT (-38.801974 -3.472625)'))) / (select extract(epoch from '2026-07-17 16:59:36'::timestamp) - extract(epoch from '2026-07-17 16:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801937 -3.472504)'), GeomFromEWKT('SRID=4674;POINT (-38.801974 -3.472625)'))) / (select extract(epoch from '2026-07-17 16:59:36'::timestamp) - extract(epoch from '2026-07-17 16:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802029 -3.472756)', '2026-07-17 16:59:42', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801974 -3.472625)'), GeomFromEWKT('SRID=4674;POINT (-38.802029 -3.472756)'))) / (select extract(epoch from '2026-07-17 16:59:42'::timestamp) - extract(epoch from '2026-07-17 16:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801974 -3.472625)'), GeomFromEWKT('SRID=4674;POINT (-38.802029 -3.472756)'))) / (select extract(epoch from '2026-07-17 16:59:42'::timestamp) - extract(epoch from '2026-07-17 16:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802098 -3.47292)', '2026-07-17 16:59:49', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802029 -3.472756)'), GeomFromEWKT('SRID=4674;POINT (-38.802098 -3.47292)'))) / (select extract(epoch from '2026-07-17 16:59:49'::timestamp) - extract(epoch from '2026-07-17 16:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802029 -3.472756)'), GeomFromEWKT('SRID=4674;POINT (-38.802098 -3.47292)'))) / (select extract(epoch from '2026-07-17 16:59:49'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47317, 'SRID=4674;POINT (-38.80215 -3.473034)', '2026-07-17 16:59:54', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802098 -3.47292)'), GeomFromEWKT('SRID=4674;POINT (-38.80215 -3.473034)'))) / (select extract(epoch from '2026-07-17 16:59:54'::timestamp) - extract(epoch from '2026-07-17 16:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802098 -3.47292)'), GeomFromEWKT('SRID=4674;POINT (-38.80215 -3.473034)'))) / (select extract(epoch from '2026-07-17 16:59:54'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47317, 'SRID=4674;POINT (-38.802185 -3.473185)', '2026-07-17 17:00:00', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80215 -3.473034)'), GeomFromEWKT('SRID=4674;POINT (-38.802185 -3.473185)'))) / (select extract(epoch from '2026-07-17 17:00:00'::timestamp) - extract(epoch from '2026-07-17 16:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80215 -3.473034)'), GeomFromEWKT('SRID=4674;POINT (-38.802185 -3.473185)'))) / (select extract(epoch from '2026-07-17 17:00:00'::timestamp) - extract(epoch from '2026-07-17 16:59: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'), 47317, 'SRID=4674;POINT (-38.802219 -3.473318)', '2026-07-17 17:00:06', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802185 -3.473185)'), GeomFromEWKT('SRID=4674;POINT (-38.802219 -3.473318)'))) / (select extract(epoch from '2026-07-17 17:00:06'::timestamp) - extract(epoch from '2026-07-17 17:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802185 -3.473185)'), GeomFromEWKT('SRID=4674;POINT (-38.802219 -3.473318)'))) / (select extract(epoch from '2026-07-17 17:00:06'::timestamp) - extract(epoch from '2026-07-17 17:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802236 -3.473412)', '2026-07-17 17:00:10', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802219 -3.473318)'), GeomFromEWKT('SRID=4674;POINT (-38.802236 -3.473412)'))) / (select extract(epoch from '2026-07-17 17:00:10'::timestamp) - extract(epoch from '2026-07-17 17:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802219 -3.473318)'), GeomFromEWKT('SRID=4674;POINT (-38.802236 -3.473412)'))) / (select extract(epoch from '2026-07-17 17:00:10'::timestamp) - extract(epoch from '2026-07-17 17:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802252 -3.473436)', '2026-07-17 17:00:11', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802236 -3.473412)'), GeomFromEWKT('SRID=4674;POINT (-38.802252 -3.473436)'))) / (select extract(epoch from '2026-07-17 17:00:11'::timestamp) - extract(epoch from '2026-07-17 17:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802236 -3.473412)'), GeomFromEWKT('SRID=4674;POINT (-38.802252 -3.473436)'))) / (select extract(epoch from '2026-07-17 17:00:11'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47317, 'SRID=4674;POINT (-38.80228 -3.473529)', '2026-07-17 17:00:15', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802252 -3.473436)'), GeomFromEWKT('SRID=4674;POINT (-38.80228 -3.473529)'))) / (select extract(epoch from '2026-07-17 17:00:15'::timestamp) - extract(epoch from '2026-07-17 17:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802252 -3.473436)'), GeomFromEWKT('SRID=4674;POINT (-38.80228 -3.473529)'))) / (select extract(epoch from '2026-07-17 17:00:15'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.802329 -3.473616)', '2026-07-17 17:00:19', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80228 -3.473529)'), GeomFromEWKT('SRID=4674;POINT (-38.802329 -3.473616)'))) / (select extract(epoch from '2026-07-17 17:00:19'::timestamp) - extract(epoch from '2026-07-17 17:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80228 -3.473529)'), GeomFromEWKT('SRID=4674;POINT (-38.802329 -3.473616)'))) / (select extract(epoch from '2026-07-17 17:00:19'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47317, 'SRID=4674;POINT (-38.802388 -3.473737)', '2026-07-17 17:00:25', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802329 -3.473616)'), GeomFromEWKT('SRID=4674;POINT (-38.802388 -3.473737)'))) / (select extract(epoch from '2026-07-17 17:00:25'::timestamp) - extract(epoch from '2026-07-17 17:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802329 -3.473616)'), GeomFromEWKT('SRID=4674;POINT (-38.802388 -3.473737)'))) / (select extract(epoch from '2026-07-17 17:00:25'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47317, 'SRID=4674;POINT (-38.802434 -3.473873)', '2026-07-17 17:00:31', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802388 -3.473737)'), GeomFromEWKT('SRID=4674;POINT (-38.802434 -3.473873)'))) / (select extract(epoch from '2026-07-17 17:00:31'::timestamp) - extract(epoch from '2026-07-17 17:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802388 -3.473737)'), GeomFromEWKT('SRID=4674;POINT (-38.802434 -3.473873)'))) / (select extract(epoch from '2026-07-17 17:00:31'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47317, 'SRID=4674;POINT (-38.802504 -3.474043)', '2026-07-17 17:00:38', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802434 -3.473873)'), GeomFromEWKT('SRID=4674;POINT (-38.802504 -3.474043)'))) / (select extract(epoch from '2026-07-17 17:00:38'::timestamp) - extract(epoch from '2026-07-17 17:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802434 -3.473873)'), GeomFromEWKT('SRID=4674;POINT (-38.802504 -3.474043)'))) / (select extract(epoch from '2026-07-17 17:00:38'::timestamp) - extract(epoch from '2026-07-17 17:00:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802567 -3.474178)', '2026-07-17 17:00:44', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802504 -3.474043)'), GeomFromEWKT('SRID=4674;POINT (-38.802567 -3.474178)'))) / (select extract(epoch from '2026-07-17 17:00:44'::timestamp) - extract(epoch from '2026-07-17 17:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802504 -3.474043)'), GeomFromEWKT('SRID=4674;POINT (-38.802567 -3.474178)'))) / (select extract(epoch from '2026-07-17 17:00:44'::timestamp) - extract(epoch from '2026-07-17 17:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802648 -3.474349)', '2026-07-17 17:00:52', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802567 -3.474178)'), GeomFromEWKT('SRID=4674;POINT (-38.802648 -3.474349)'))) / (select extract(epoch from '2026-07-17 17:00:52'::timestamp) - extract(epoch from '2026-07-17 17:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802567 -3.474178)'), GeomFromEWKT('SRID=4674;POINT (-38.802648 -3.474349)'))) / (select extract(epoch from '2026-07-17 17:00:52'::timestamp) - extract(epoch from '2026-07-17 17:00: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'), 47317, 'SRID=4674;POINT (-38.802707 -3.474469)', '2026-07-17 17:00:58', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802648 -3.474349)'), GeomFromEWKT('SRID=4674;POINT (-38.802707 -3.474469)'))) / (select extract(epoch from '2026-07-17 17:00:58'::timestamp) - extract(epoch from '2026-07-17 17:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802648 -3.474349)'), GeomFromEWKT('SRID=4674;POINT (-38.802707 -3.474469)'))) / (select extract(epoch from '2026-07-17 17:00:58'::timestamp) - extract(epoch from '2026-07-17 17:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802761 -3.474568)', '2026-07-17 17:01:02', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802707 -3.474469)'), GeomFromEWKT('SRID=4674;POINT (-38.802761 -3.474568)'))) / (select extract(epoch from '2026-07-17 17:01:02'::timestamp) - extract(epoch from '2026-07-17 17:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802707 -3.474469)'), GeomFromEWKT('SRID=4674;POINT (-38.802761 -3.474568)'))) / (select extract(epoch from '2026-07-17 17:01:02'::timestamp) - extract(epoch from '2026-07-17 17:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802787 -3.474701)', '2026-07-17 17:01:07', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802761 -3.474568)'), GeomFromEWKT('SRID=4674;POINT (-38.802787 -3.474701)'))) / (select extract(epoch from '2026-07-17 17:01:07'::timestamp) - extract(epoch from '2026-07-17 17:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802761 -3.474568)'), GeomFromEWKT('SRID=4674;POINT (-38.802787 -3.474701)'))) / (select extract(epoch from '2026-07-17 17:01:07'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47317, 'SRID=4674;POINT (-38.8028 -3.474819)', '2026-07-17 17:01:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802787 -3.474701)'), GeomFromEWKT('SRID=4674;POINT (-38.8028 -3.474819)'))) / (select extract(epoch from '2026-07-17 17:01:12'::timestamp) - extract(epoch from '2026-07-17 17:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802787 -3.474701)'), GeomFromEWKT('SRID=4674;POINT (-38.8028 -3.474819)'))) / (select extract(epoch from '2026-07-17 17:01:12'::timestamp) - extract(epoch from '2026-07-17 17:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802848 -3.474958)', '2026-07-17 17:01:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8028 -3.474819)'), GeomFromEWKT('SRID=4674;POINT (-38.802848 -3.474958)'))) / (select extract(epoch from '2026-07-17 17:01:18'::timestamp) - extract(epoch from '2026-07-17 17:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8028 -3.474819)'), GeomFromEWKT('SRID=4674;POINT (-38.802848 -3.474958)'))) / (select extract(epoch from '2026-07-17 17:01:18'::timestamp) - extract(epoch from '2026-07-17 17:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.802901 -3.475071)', '2026-07-17 17:01:23', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802848 -3.474958)'), GeomFromEWKT('SRID=4674;POINT (-38.802901 -3.475071)'))) / (select extract(epoch from '2026-07-17 17:01:23'::timestamp) - extract(epoch from '2026-07-17 17:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802848 -3.474958)'), GeomFromEWKT('SRID=4674;POINT (-38.802901 -3.475071)'))) / (select extract(epoch from '2026-07-17 17:01:23'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47317, 'SRID=4674;POINT (-38.802954 -3.475206)', '2026-07-17 17:01:29', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802901 -3.475071)'), GeomFromEWKT('SRID=4674;POINT (-38.802954 -3.475206)'))) / (select extract(epoch from '2026-07-17 17:01:29'::timestamp) - extract(epoch from '2026-07-17 17:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802901 -3.475071)'), GeomFromEWKT('SRID=4674;POINT (-38.802954 -3.475206)'))) / (select extract(epoch from '2026-07-17 17:01:29'::timestamp) - extract(epoch from '2026-07-17 17:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.803002 -3.475346)', '2026-07-17 17:01:35', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802954 -3.475206)'), GeomFromEWKT('SRID=4674;POINT (-38.803002 -3.475346)'))) / (select extract(epoch from '2026-07-17 17:01:35'::timestamp) - extract(epoch from '2026-07-17 17:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802954 -3.475206)'), GeomFromEWKT('SRID=4674;POINT (-38.803002 -3.475346)'))) / (select extract(epoch from '2026-07-17 17:01:35'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.80306 -3.475506)', '2026-07-17 17:01:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803002 -3.475346)'), GeomFromEWKT('SRID=4674;POINT (-38.80306 -3.475506)'))) / (select extract(epoch from '2026-07-17 17:01:42'::timestamp) - extract(epoch from '2026-07-17 17:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803002 -3.475346)'), GeomFromEWKT('SRID=4674;POINT (-38.80306 -3.475506)'))) / (select extract(epoch from '2026-07-17 17:01:42'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47317, 'SRID=4674;POINT (-38.803108 -3.475644)', '2026-07-17 17:01:48', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80306 -3.475506)'), GeomFromEWKT('SRID=4674;POINT (-38.803108 -3.475644)'))) / (select extract(epoch from '2026-07-17 17:01:48'::timestamp) - extract(epoch from '2026-07-17 17:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80306 -3.475506)'), GeomFromEWKT('SRID=4674;POINT (-38.803108 -3.475644)'))) / (select extract(epoch from '2026-07-17 17:01:48'::timestamp) - extract(epoch from '2026-07-17 17:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.803153 -3.475774)', '2026-07-17 17:01:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803108 -3.475644)'), GeomFromEWKT('SRID=4674;POINT (-38.803153 -3.475774)'))) / (select extract(epoch from '2026-07-17 17:01:54'::timestamp) - extract(epoch from '2026-07-17 17:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803108 -3.475644)'), GeomFromEWKT('SRID=4674;POINT (-38.803153 -3.475774)'))) / (select extract(epoch from '2026-07-17 17:01:54'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47317, 'SRID=4674;POINT (-38.803199 -3.475887)', '2026-07-17 17:01:59', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803153 -3.475774)'), GeomFromEWKT('SRID=4674;POINT (-38.803199 -3.475887)'))) / (select extract(epoch from '2026-07-17 17:01:59'::timestamp) - extract(epoch from '2026-07-17 17:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803153 -3.475774)'), GeomFromEWKT('SRID=4674;POINT (-38.803199 -3.475887)'))) / (select extract(epoch from '2026-07-17 17:01:59'::timestamp) - extract(epoch from '2026-07-17 17:01: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'), 47317, 'SRID=4674;POINT (-38.803257 -3.476074)', '2026-07-17 17:02:07', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803199 -3.475887)'), GeomFromEWKT('SRID=4674;POINT (-38.803257 -3.476074)'))) / (select extract(epoch from '2026-07-17 17:02:07'::timestamp) - extract(epoch from '2026-07-17 17:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803199 -3.475887)'), GeomFromEWKT('SRID=4674;POINT (-38.803257 -3.476074)'))) / (select extract(epoch from '2026-07-17 17:02:07'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.803316 -3.476237)', '2026-07-17 17:02:14', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803257 -3.476074)'), GeomFromEWKT('SRID=4674;POINT (-38.803316 -3.476237)'))) / (select extract(epoch from '2026-07-17 17:02:14'::timestamp) - extract(epoch from '2026-07-17 17:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803257 -3.476074)'), GeomFromEWKT('SRID=4674;POINT (-38.803316 -3.476237)'))) / (select extract(epoch from '2026-07-17 17:02:14'::timestamp) - extract(epoch from '2026-07-17 17:02:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.803372 -3.476407)', '2026-07-17 17:02:21', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803316 -3.476237)'), GeomFromEWKT('SRID=4674;POINT (-38.803372 -3.476407)'))) / (select extract(epoch from '2026-07-17 17:02:21'::timestamp) - extract(epoch from '2026-07-17 17:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803316 -3.476237)'), GeomFromEWKT('SRID=4674;POINT (-38.803372 -3.476407)'))) / (select extract(epoch from '2026-07-17 17:02:21'::timestamp) - extract(epoch from '2026-07-17 17:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.80342 -3.476566)', '2026-07-17 17:02:28', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803372 -3.476407)'), GeomFromEWKT('SRID=4674;POINT (-38.80342 -3.476566)'))) / (select extract(epoch from '2026-07-17 17:02:28'::timestamp) - extract(epoch from '2026-07-17 17:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803372 -3.476407)'), GeomFromEWKT('SRID=4674;POINT (-38.80342 -3.476566)'))) / (select extract(epoch from '2026-07-17 17:02:28'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47317, 'SRID=4674;POINT (-38.803474 -3.476732)', '2026-07-17 17:02:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80342 -3.476566)'), GeomFromEWKT('SRID=4674;POINT (-38.803474 -3.476732)'))) / (select extract(epoch from '2026-07-17 17:02:35'::timestamp) - extract(epoch from '2026-07-17 17:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80342 -3.476566)'), GeomFromEWKT('SRID=4674;POINT (-38.803474 -3.476732)'))) / (select extract(epoch from '2026-07-17 17:02:35'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.803529 -3.476869)', '2026-07-17 17:02:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803474 -3.476732)'), GeomFromEWKT('SRID=4674;POINT (-38.803529 -3.476869)'))) / (select extract(epoch from '2026-07-17 17:02:41'::timestamp) - extract(epoch from '2026-07-17 17:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803474 -3.476732)'), GeomFromEWKT('SRID=4674;POINT (-38.803529 -3.476869)'))) / (select extract(epoch from '2026-07-17 17:02:41'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.803599 -3.477041)', '2026-07-17 17:02:49', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803529 -3.476869)'), GeomFromEWKT('SRID=4674;POINT (-38.803599 -3.477041)'))) / (select extract(epoch from '2026-07-17 17:02:49'::timestamp) - extract(epoch from '2026-07-17 17:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803529 -3.476869)'), GeomFromEWKT('SRID=4674;POINT (-38.803599 -3.477041)'))) / (select extract(epoch from '2026-07-17 17:02:49'::timestamp) - extract(epoch from '2026-07-17 17:02: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'), 47317, 'SRID=4674;POINT (-38.803656 -3.477209)', '2026-07-17 17:02:57', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803599 -3.477041)'), GeomFromEWKT('SRID=4674;POINT (-38.803656 -3.477209)'))) / (select extract(epoch from '2026-07-17 17:02:57'::timestamp) - extract(epoch from '2026-07-17 17:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803599 -3.477041)'), GeomFromEWKT('SRID=4674;POINT (-38.803656 -3.477209)'))) / (select extract(epoch from '2026-07-17 17:02:57'::timestamp) - extract(epoch from '2026-07-17 17:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.803703 -3.477343)', '2026-07-17 17:03:03', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803656 -3.477209)'), GeomFromEWKT('SRID=4674;POINT (-38.803703 -3.477343)'))) / (select extract(epoch from '2026-07-17 17:03:03'::timestamp) - extract(epoch from '2026-07-17 17:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803656 -3.477209)'), GeomFromEWKT('SRID=4674;POINT (-38.803703 -3.477343)'))) / (select extract(epoch from '2026-07-17 17:03:03'::timestamp) - extract(epoch from '2026-07-17 17:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.803743 -3.47746)', '2026-07-17 17:03:08', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803703 -3.477343)'), GeomFromEWKT('SRID=4674;POINT (-38.803743 -3.47746)'))) / (select extract(epoch from '2026-07-17 17:03:08'::timestamp) - extract(epoch from '2026-07-17 17:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803703 -3.477343)'), GeomFromEWKT('SRID=4674;POINT (-38.803743 -3.47746)'))) / (select extract(epoch from '2026-07-17 17:03:08'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47317, 'SRID=4674;POINT (-38.803808 -3.477624)', '2026-07-17 17:03:15', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803743 -3.47746)'), GeomFromEWKT('SRID=4674;POINT (-38.803808 -3.477624)'))) / (select extract(epoch from '2026-07-17 17:03:15'::timestamp) - extract(epoch from '2026-07-17 17:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803743 -3.47746)'), GeomFromEWKT('SRID=4674;POINT (-38.803808 -3.477624)'))) / (select extract(epoch from '2026-07-17 17:03:15'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47317, 'SRID=4674;POINT (-38.80385 -3.477775)', '2026-07-17 17:03:22', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803808 -3.477624)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.477775)'))) / (select extract(epoch from '2026-07-17 17:03:22'::timestamp) - extract(epoch from '2026-07-17 17:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803808 -3.477624)'), GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.477775)'))) / (select extract(epoch from '2026-07-17 17:03:22'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47317, 'SRID=4674;POINT (-38.803908 -3.477924)', '2026-07-17 17:03:28', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.477775)'), GeomFromEWKT('SRID=4674;POINT (-38.803908 -3.477924)'))) / (select extract(epoch from '2026-07-17 17:03:28'::timestamp) - extract(epoch from '2026-07-17 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80385 -3.477775)'), GeomFromEWKT('SRID=4674;POINT (-38.803908 -3.477924)'))) / (select extract(epoch from '2026-07-17 17:03:28'::timestamp) - extract(epoch from '2026-07-17 17:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.803941 -3.478044)', '2026-07-17 17:03:33', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803908 -3.477924)'), GeomFromEWKT('SRID=4674;POINT (-38.803941 -3.478044)'))) / (select extract(epoch from '2026-07-17 17:03:33'::timestamp) - extract(epoch from '2026-07-17 17:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803908 -3.477924)'), GeomFromEWKT('SRID=4674;POINT (-38.803941 -3.478044)'))) / (select extract(epoch from '2026-07-17 17:03:33'::timestamp) - extract(epoch from '2026-07-17 17:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.803988 -3.478218)', '2026-07-17 17:03:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803941 -3.478044)'), GeomFromEWKT('SRID=4674;POINT (-38.803988 -3.478218)'))) / (select extract(epoch from '2026-07-17 17:03:40'::timestamp) - extract(epoch from '2026-07-17 17:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803941 -3.478044)'), GeomFromEWKT('SRID=4674;POINT (-38.803988 -3.478218)'))) / (select extract(epoch from '2026-07-17 17:03:40'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47317, 'SRID=4674;POINT (-38.804016 -3.478341)', '2026-07-17 17:03:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803988 -3.478218)'), GeomFromEWKT('SRID=4674;POINT (-38.804016 -3.478341)'))) / (select extract(epoch from '2026-07-17 17:03:46'::timestamp) - extract(epoch from '2026-07-17 17:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803988 -3.478218)'), GeomFromEWKT('SRID=4674;POINT (-38.804016 -3.478341)'))) / (select extract(epoch from '2026-07-17 17:03:46'::timestamp) - extract(epoch from '2026-07-17 17:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.804066 -3.478496)', '2026-07-17 17:03:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804016 -3.478341)'), GeomFromEWKT('SRID=4674;POINT (-38.804066 -3.478496)'))) / (select extract(epoch from '2026-07-17 17:03:53'::timestamp) - extract(epoch from '2026-07-17 17:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804016 -3.478341)'), GeomFromEWKT('SRID=4674;POINT (-38.804066 -3.478496)'))) / (select extract(epoch from '2026-07-17 17:03:53'::timestamp) - extract(epoch from '2026-07-17 17:03: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'), 47317, 'SRID=4674;POINT (-38.804096 -3.478633)', '2026-07-17 17:03:59', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804066 -3.478496)'), GeomFromEWKT('SRID=4674;POINT (-38.804096 -3.478633)'))) / (select extract(epoch from '2026-07-17 17:03:59'::timestamp) - extract(epoch from '2026-07-17 17:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804066 -3.478496)'), GeomFromEWKT('SRID=4674;POINT (-38.804096 -3.478633)'))) / (select extract(epoch from '2026-07-17 17:03:59'::timestamp) - extract(epoch from '2026-07-17 17:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.804128 -3.478793)', '2026-07-17 17:04:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804096 -3.478633)'), GeomFromEWKT('SRID=4674;POINT (-38.804128 -3.478793)'))) / (select extract(epoch from '2026-07-17 17:04:06'::timestamp) - extract(epoch from '2026-07-17 17:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804096 -3.478633)'), GeomFromEWKT('SRID=4674;POINT (-38.804128 -3.478793)'))) / (select extract(epoch from '2026-07-17 17:04:06'::timestamp) - extract(epoch from '2026-07-17 17:03:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.804188 -3.478935)', '2026-07-17 17:04:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804128 -3.478793)'), GeomFromEWKT('SRID=4674;POINT (-38.804188 -3.478935)'))) / (select extract(epoch from '2026-07-17 17:04:12'::timestamp) - extract(epoch from '2026-07-17 17:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804128 -3.478793)'), GeomFromEWKT('SRID=4674;POINT (-38.804188 -3.478935)'))) / (select extract(epoch from '2026-07-17 17:04:12'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.804202 -3.479042)', '2026-07-17 17:04:17', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804188 -3.478935)'), GeomFromEWKT('SRID=4674;POINT (-38.804202 -3.479042)'))) / (select extract(epoch from '2026-07-17 17:04:17'::timestamp) - extract(epoch from '2026-07-17 17:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804188 -3.478935)'), GeomFromEWKT('SRID=4674;POINT (-38.804202 -3.479042)'))) / (select extract(epoch from '2026-07-17 17:04:17'::timestamp) - extract(epoch from '2026-07-17 17:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.804263 -3.479214)', '2026-07-17 17:04:25', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804202 -3.479042)'), GeomFromEWKT('SRID=4674;POINT (-38.804263 -3.479214)'))) / (select extract(epoch from '2026-07-17 17:04:25'::timestamp) - extract(epoch from '2026-07-17 17:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804202 -3.479042)'), GeomFromEWKT('SRID=4674;POINT (-38.804263 -3.479214)'))) / (select extract(epoch from '2026-07-17 17:04:25'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.804304 -3.479332)', '2026-07-17 17:04:30', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804263 -3.479214)'), GeomFromEWKT('SRID=4674;POINT (-38.804304 -3.479332)'))) / (select extract(epoch from '2026-07-17 17:04:30'::timestamp) - extract(epoch from '2026-07-17 17:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804263 -3.479214)'), GeomFromEWKT('SRID=4674;POINT (-38.804304 -3.479332)'))) / (select extract(epoch from '2026-07-17 17:04:30'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47317, 'SRID=4674;POINT (-38.80435 -3.479461)', '2026-07-17 17:04:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804304 -3.479332)'), GeomFromEWKT('SRID=4674;POINT (-38.80435 -3.479461)'))) / (select extract(epoch from '2026-07-17 17:04:35'::timestamp) - extract(epoch from '2026-07-17 17:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804304 -3.479332)'), GeomFromEWKT('SRID=4674;POINT (-38.80435 -3.479461)'))) / (select extract(epoch from '2026-07-17 17:04:35'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47317, 'SRID=4674;POINT (-38.8044 -3.479608)', '2026-07-17 17:04:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80435 -3.479461)'), GeomFromEWKT('SRID=4674;POINT (-38.8044 -3.479608)'))) / (select extract(epoch from '2026-07-17 17:04:41'::timestamp) - extract(epoch from '2026-07-17 17:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80435 -3.479461)'), GeomFromEWKT('SRID=4674;POINT (-38.8044 -3.479608)'))) / (select extract(epoch from '2026-07-17 17:04:41'::timestamp) - extract(epoch from '2026-07-17 17:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.804455 -3.479769)', '2026-07-17 17:04:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8044 -3.479608)'), GeomFromEWKT('SRID=4674;POINT (-38.804455 -3.479769)'))) / (select extract(epoch from '2026-07-17 17:04:48'::timestamp) - extract(epoch from '2026-07-17 17:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8044 -3.479608)'), GeomFromEWKT('SRID=4674;POINT (-38.804455 -3.479769)'))) / (select extract(epoch from '2026-07-17 17:04:48'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47317, 'SRID=4674;POINT (-38.8045 -3.479886)', '2026-07-17 17:04:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804455 -3.479769)'), GeomFromEWKT('SRID=4674;POINT (-38.8045 -3.479886)'))) / (select extract(epoch from '2026-07-17 17:04:53'::timestamp) - extract(epoch from '2026-07-17 17:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804455 -3.479769)'), GeomFromEWKT('SRID=4674;POINT (-38.8045 -3.479886)'))) / (select extract(epoch from '2026-07-17 17:04:53'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47317, 'SRID=4674;POINT (-38.804539 -3.480002)', '2026-07-17 17:04:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8045 -3.479886)'), GeomFromEWKT('SRID=4674;POINT (-38.804539 -3.480002)'))) / (select extract(epoch from '2026-07-17 17:04:58'::timestamp) - extract(epoch from '2026-07-17 17:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8045 -3.479886)'), GeomFromEWKT('SRID=4674;POINT (-38.804539 -3.480002)'))) / (select extract(epoch from '2026-07-17 17:04:58'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47317, 'SRID=4674;POINT (-38.8046 -3.480149)', '2026-07-17 17:05:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804539 -3.480002)'), GeomFromEWKT('SRID=4674;POINT (-38.8046 -3.480149)'))) / (select extract(epoch from '2026-07-17 17:05:04'::timestamp) - extract(epoch from '2026-07-17 17:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804539 -3.480002)'), GeomFromEWKT('SRID=4674;POINT (-38.8046 -3.480149)'))) / (select extract(epoch from '2026-07-17 17:05:04'::timestamp) - extract(epoch from '2026-07-17 17:04: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'), 47317, 'SRID=4674;POINT (-38.80465 -3.480306)', '2026-07-17 17:05:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8046 -3.480149)'), GeomFromEWKT('SRID=4674;POINT (-38.80465 -3.480306)'))) / (select extract(epoch from '2026-07-17 17:05:11'::timestamp) - extract(epoch from '2026-07-17 17:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8046 -3.480149)'), GeomFromEWKT('SRID=4674;POINT (-38.80465 -3.480306)'))) / (select extract(epoch from '2026-07-17 17:05:11'::timestamp) - extract(epoch from '2026-07-17 17:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.804705 -3.480445)', '2026-07-17 17:05:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80465 -3.480306)'), GeomFromEWKT('SRID=4674;POINT (-38.804705 -3.480445)'))) / (select extract(epoch from '2026-07-17 17:05:17'::timestamp) - extract(epoch from '2026-07-17 17:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80465 -3.480306)'), GeomFromEWKT('SRID=4674;POINT (-38.804705 -3.480445)'))) / (select extract(epoch from '2026-07-17 17:05:17'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47317, 'SRID=4674;POINT (-38.804736 -3.480557)', '2026-07-17 17:05:22', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804705 -3.480445)'), GeomFromEWKT('SRID=4674;POINT (-38.804736 -3.480557)'))) / (select extract(epoch from '2026-07-17 17:05:22'::timestamp) - extract(epoch from '2026-07-17 17:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804705 -3.480445)'), GeomFromEWKT('SRID=4674;POINT (-38.804736 -3.480557)'))) / (select extract(epoch from '2026-07-17 17:05:22'::timestamp) - extract(epoch from '2026-07-17 17:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.804781 -3.480672)', '2026-07-17 17:05:27', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804736 -3.480557)'), GeomFromEWKT('SRID=4674;POINT (-38.804781 -3.480672)'))) / (select extract(epoch from '2026-07-17 17:05:27'::timestamp) - extract(epoch from '2026-07-17 17:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804736 -3.480557)'), GeomFromEWKT('SRID=4674;POINT (-38.804781 -3.480672)'))) / (select extract(epoch from '2026-07-17 17:05:27'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47317, 'SRID=4674;POINT (-38.804826 -3.480821)', '2026-07-17 17:05:34', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804781 -3.480672)'), GeomFromEWKT('SRID=4674;POINT (-38.804826 -3.480821)'))) / (select extract(epoch from '2026-07-17 17:05:34'::timestamp) - extract(epoch from '2026-07-17 17:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804781 -3.480672)'), GeomFromEWKT('SRID=4674;POINT (-38.804826 -3.480821)'))) / (select extract(epoch from '2026-07-17 17:05:34'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47317, 'SRID=4674;POINT (-38.8049 -3.480969)', '2026-07-17 17:05:41', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804826 -3.480821)'), GeomFromEWKT('SRID=4674;POINT (-38.8049 -3.480969)'))) / (select extract(epoch from '2026-07-17 17:05:41'::timestamp) - extract(epoch from '2026-07-17 17:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804826 -3.480821)'), GeomFromEWKT('SRID=4674;POINT (-38.8049 -3.480969)'))) / (select extract(epoch from '2026-07-17 17:05:41'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47317, 'SRID=4674;POINT (-38.804972 -3.481107)', '2026-07-17 17:05:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8049 -3.480969)'), GeomFromEWKT('SRID=4674;POINT (-38.804972 -3.481107)'))) / (select extract(epoch from '2026-07-17 17:05:47'::timestamp) - extract(epoch from '2026-07-17 17:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8049 -3.480969)'), GeomFromEWKT('SRID=4674;POINT (-38.804972 -3.481107)'))) / (select extract(epoch from '2026-07-17 17:05:47'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47317, 'SRID=4674;POINT (-38.80503 -3.481263)', '2026-07-17 17:05:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804972 -3.481107)'), GeomFromEWKT('SRID=4674;POINT (-38.80503 -3.481263)'))) / (select extract(epoch from '2026-07-17 17:05:54'::timestamp) - extract(epoch from '2026-07-17 17:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804972 -3.481107)'), GeomFromEWKT('SRID=4674;POINT (-38.80503 -3.481263)'))) / (select extract(epoch from '2026-07-17 17:05:54'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47317, 'SRID=4674;POINT (-38.805076 -3.481391)', '2026-07-17 17:05:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80503 -3.481263)'), GeomFromEWKT('SRID=4674;POINT (-38.805076 -3.481391)'))) / (select extract(epoch from '2026-07-17 17:05:59'::timestamp) - extract(epoch from '2026-07-17 17:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80503 -3.481263)'), GeomFromEWKT('SRID=4674;POINT (-38.805076 -3.481391)'))) / (select extract(epoch from '2026-07-17 17:05:59'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47317, 'SRID=4674;POINT (-38.805111 -3.481537)', '2026-07-17 17:06:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805076 -3.481391)'), GeomFromEWKT('SRID=4674;POINT (-38.805111 -3.481537)'))) / (select extract(epoch from '2026-07-17 17:06:05'::timestamp) - extract(epoch from '2026-07-17 17:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805076 -3.481391)'), GeomFromEWKT('SRID=4674;POINT (-38.805111 -3.481537)'))) / (select extract(epoch from '2026-07-17 17:06:05'::timestamp) - extract(epoch from '2026-07-17 17:05: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'), 47317, 'SRID=4674;POINT (-38.805154 -3.481687)', '2026-07-17 17:06:11', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805111 -3.481537)'), GeomFromEWKT('SRID=4674;POINT (-38.805154 -3.481687)'))) / (select extract(epoch from '2026-07-17 17:06:11'::timestamp) - extract(epoch from '2026-07-17 17:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805111 -3.481537)'), GeomFromEWKT('SRID=4674;POINT (-38.805154 -3.481687)'))) / (select extract(epoch from '2026-07-17 17:06:11'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47317, 'SRID=4674;POINT (-38.805213 -3.481824)', '2026-07-17 17:06:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805154 -3.481687)'), GeomFromEWKT('SRID=4674;POINT (-38.805213 -3.481824)'))) / (select extract(epoch from '2026-07-17 17:06:17'::timestamp) - extract(epoch from '2026-07-17 17:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805154 -3.481687)'), GeomFromEWKT('SRID=4674;POINT (-38.805213 -3.481824)'))) / (select extract(epoch from '2026-07-17 17:06:17'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47317, 'SRID=4674;POINT (-38.805283 -3.481994)', '2026-07-17 17:06:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805213 -3.481824)'), GeomFromEWKT('SRID=4674;POINT (-38.805283 -3.481994)'))) / (select extract(epoch from '2026-07-17 17:06:24'::timestamp) - extract(epoch from '2026-07-17 17:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805213 -3.481824)'), GeomFromEWKT('SRID=4674;POINT (-38.805283 -3.481994)'))) / (select extract(epoch from '2026-07-17 17:06:24'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47317, 'SRID=4674;POINT (-38.805324 -3.482132)', '2026-07-17 17:06:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805283 -3.481994)'), GeomFromEWKT('SRID=4674;POINT (-38.805324 -3.482132)'))) / (select extract(epoch from '2026-07-17 17:06:30'::timestamp) - extract(epoch from '2026-07-17 17:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805283 -3.481994)'), GeomFromEWKT('SRID=4674;POINT (-38.805324 -3.482132)'))) / (select extract(epoch from '2026-07-17 17:06:30'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.805355 -3.48226)', '2026-07-17 17:06:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805324 -3.482132)'), GeomFromEWKT('SRID=4674;POINT (-38.805355 -3.48226)'))) / (select extract(epoch from '2026-07-17 17:06:36'::timestamp) - extract(epoch from '2026-07-17 17:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805324 -3.482132)'), GeomFromEWKT('SRID=4674;POINT (-38.805355 -3.48226)'))) / (select extract(epoch from '2026-07-17 17:06:36'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47317, 'SRID=4674;POINT (-38.805377 -3.482376)', '2026-07-17 17:06:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805355 -3.48226)'), GeomFromEWKT('SRID=4674;POINT (-38.805377 -3.482376)'))) / (select extract(epoch from '2026-07-17 17:06:41'::timestamp) - extract(epoch from '2026-07-17 17:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805355 -3.48226)'), GeomFromEWKT('SRID=4674;POINT (-38.805377 -3.482376)'))) / (select extract(epoch from '2026-07-17 17:06:41'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47317, 'SRID=4674;POINT (-38.805425 -3.482505)', '2026-07-17 17:06:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805377 -3.482376)'), GeomFromEWKT('SRID=4674;POINT (-38.805425 -3.482505)'))) / (select extract(epoch from '2026-07-17 17:06:47'::timestamp) - extract(epoch from '2026-07-17 17:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805377 -3.482376)'), GeomFromEWKT('SRID=4674;POINT (-38.805425 -3.482505)'))) / (select extract(epoch from '2026-07-17 17:06:47'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47317, 'SRID=4674;POINT (-38.80546 -3.482612)', '2026-07-17 17:06:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805425 -3.482505)'), GeomFromEWKT('SRID=4674;POINT (-38.80546 -3.482612)'))) / (select extract(epoch from '2026-07-17 17:06:52'::timestamp) - extract(epoch from '2026-07-17 17:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805425 -3.482505)'), GeomFromEWKT('SRID=4674;POINT (-38.80546 -3.482612)'))) / (select extract(epoch from '2026-07-17 17:06:52'::timestamp) - extract(epoch from '2026-07-17 17:06: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'), 47317, 'SRID=4674;POINT (-38.805495 -3.482748)', '2026-07-17 17:06:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80546 -3.482612)'), GeomFromEWKT('SRID=4674;POINT (-38.805495 -3.482748)'))) / (select extract(epoch from '2026-07-17 17:06:58'::timestamp) - extract(epoch from '2026-07-17 17:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80546 -3.482612)'), GeomFromEWKT('SRID=4674;POINT (-38.805495 -3.482748)'))) / (select extract(epoch from '2026-07-17 17:06:58'::timestamp) - extract(epoch from '2026-07-17 17:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.805498 -3.482834)', '2026-07-17 17:07:02', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805495 -3.482748)'), GeomFromEWKT('SRID=4674;POINT (-38.805498 -3.482834)'))) / (select extract(epoch from '2026-07-17 17:07:02'::timestamp) - extract(epoch from '2026-07-17 17:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805495 -3.482748)'), GeomFromEWKT('SRID=4674;POINT (-38.805498 -3.482834)'))) / (select extract(epoch from '2026-07-17 17:07:02'::timestamp) - extract(epoch from '2026-07-17 17:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.805525 -3.482928)', '2026-07-17 17:07:06', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805498 -3.482834)'), GeomFromEWKT('SRID=4674;POINT (-38.805525 -3.482928)'))) / (select extract(epoch from '2026-07-17 17:07:06'::timestamp) - extract(epoch from '2026-07-17 17:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805498 -3.482834)'), GeomFromEWKT('SRID=4674;POINT (-38.805525 -3.482928)'))) / (select extract(epoch from '2026-07-17 17:07:06'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47317, 'SRID=4674;POINT (-38.805586 -3.483091)', '2026-07-17 17:07:13', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805525 -3.482928)'), GeomFromEWKT('SRID=4674;POINT (-38.805586 -3.483091)'))) / (select extract(epoch from '2026-07-17 17:07:13'::timestamp) - extract(epoch from '2026-07-17 17:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805525 -3.482928)'), GeomFromEWKT('SRID=4674;POINT (-38.805586 -3.483091)'))) / (select extract(epoch from '2026-07-17 17:07:13'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47317, 'SRID=4674;POINT (-38.805635 -3.483228)', '2026-07-17 17:07:19', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805586 -3.483091)'), GeomFromEWKT('SRID=4674;POINT (-38.805635 -3.483228)'))) / (select extract(epoch from '2026-07-17 17:07:19'::timestamp) - extract(epoch from '2026-07-17 17:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805586 -3.483091)'), GeomFromEWKT('SRID=4674;POINT (-38.805635 -3.483228)'))) / (select extract(epoch from '2026-07-17 17:07:19'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.805659 -3.483333)', '2026-07-17 17:07:24', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805635 -3.483228)'), GeomFromEWKT('SRID=4674;POINT (-38.805659 -3.483333)'))) / (select extract(epoch from '2026-07-17 17:07:24'::timestamp) - extract(epoch from '2026-07-17 17:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805635 -3.483228)'), GeomFromEWKT('SRID=4674;POINT (-38.805659 -3.483333)'))) / (select extract(epoch from '2026-07-17 17:07:24'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.805723 -3.483493)', '2026-07-17 17:07:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805659 -3.483333)'), GeomFromEWKT('SRID=4674;POINT (-38.805723 -3.483493)'))) / (select extract(epoch from '2026-07-17 17:07:31'::timestamp) - extract(epoch from '2026-07-17 17:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805659 -3.483333)'), GeomFromEWKT('SRID=4674;POINT (-38.805723 -3.483493)'))) / (select extract(epoch from '2026-07-17 17:07:31'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.80577 -3.483621)', '2026-07-17 17:07:37', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805723 -3.483493)'), GeomFromEWKT('SRID=4674;POINT (-38.80577 -3.483621)'))) / (select extract(epoch from '2026-07-17 17:07:37'::timestamp) - extract(epoch from '2026-07-17 17:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805723 -3.483493)'), GeomFromEWKT('SRID=4674;POINT (-38.80577 -3.483621)'))) / (select extract(epoch from '2026-07-17 17:07:37'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47317, 'SRID=4674;POINT (-38.805857 -3.483803)', '2026-07-17 17:07:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80577 -3.483621)'), GeomFromEWKT('SRID=4674;POINT (-38.805857 -3.483803)'))) / (select extract(epoch from '2026-07-17 17:07:45'::timestamp) - extract(epoch from '2026-07-17 17:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80577 -3.483621)'), GeomFromEWKT('SRID=4674;POINT (-38.805857 -3.483803)'))) / (select extract(epoch from '2026-07-17 17:07:45'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47317, 'SRID=4674;POINT (-38.805931 -3.483977)', '2026-07-17 17:07:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805857 -3.483803)'), GeomFromEWKT('SRID=4674;POINT (-38.805931 -3.483977)'))) / (select extract(epoch from '2026-07-17 17:07:53'::timestamp) - extract(epoch from '2026-07-17 17:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805857 -3.483803)'), GeomFromEWKT('SRID=4674;POINT (-38.805931 -3.483977)'))) / (select extract(epoch from '2026-07-17 17:07:53'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47317, 'SRID=4674;POINT (-38.805986 -3.484115)', '2026-07-17 17:07:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805931 -3.483977)'), GeomFromEWKT('SRID=4674;POINT (-38.805986 -3.484115)'))) / (select extract(epoch from '2026-07-17 17:07:59'::timestamp) - extract(epoch from '2026-07-17 17:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805931 -3.483977)'), GeomFromEWKT('SRID=4674;POINT (-38.805986 -3.484115)'))) / (select extract(epoch from '2026-07-17 17:07:59'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.806022 -3.484221)', '2026-07-17 17:08:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805986 -3.484115)'), GeomFromEWKT('SRID=4674;POINT (-38.806022 -3.484221)'))) / (select extract(epoch from '2026-07-17 17:08:04'::timestamp) - extract(epoch from '2026-07-17 17:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805986 -3.484115)'), GeomFromEWKT('SRID=4674;POINT (-38.806022 -3.484221)'))) / (select extract(epoch from '2026-07-17 17:08:04'::timestamp) - extract(epoch from '2026-07-17 17:07: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'), 47317, 'SRID=4674;POINT (-38.806064 -3.484331)', '2026-07-17 17:08:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806022 -3.484221)'), GeomFromEWKT('SRID=4674;POINT (-38.806064 -3.484331)'))) / (select extract(epoch from '2026-07-17 17:08:09'::timestamp) - extract(epoch from '2026-07-17 17:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806022 -3.484221)'), GeomFromEWKT('SRID=4674;POINT (-38.806064 -3.484331)'))) / (select extract(epoch from '2026-07-17 17:08:09'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47317, 'SRID=4674;POINT (-38.806118 -3.48449)', '2026-07-17 17:08:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806064 -3.484331)'), GeomFromEWKT('SRID=4674;POINT (-38.806118 -3.48449)'))) / (select extract(epoch from '2026-07-17 17:08:16'::timestamp) - extract(epoch from '2026-07-17 17:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806064 -3.484331)'), GeomFromEWKT('SRID=4674;POINT (-38.806118 -3.48449)'))) / (select extract(epoch from '2026-07-17 17:08:16'::timestamp) - extract(epoch from '2026-07-17 17:08:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.806207 -3.484647)', '2026-07-17 17:08:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806118 -3.48449)'), GeomFromEWKT('SRID=4674;POINT (-38.806207 -3.484647)'))) / (select extract(epoch from '2026-07-17 17:08:23'::timestamp) - extract(epoch from '2026-07-17 17:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806118 -3.48449)'), GeomFromEWKT('SRID=4674;POINT (-38.806207 -3.484647)'))) / (select extract(epoch from '2026-07-17 17:08:23'::timestamp) - extract(epoch from '2026-07-17 17:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.806275 -3.484804)', '2026-07-17 17:08:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806207 -3.484647)'), GeomFromEWKT('SRID=4674;POINT (-38.806275 -3.484804)'))) / (select extract(epoch from '2026-07-17 17:08:30'::timestamp) - extract(epoch from '2026-07-17 17:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806207 -3.484647)'), GeomFromEWKT('SRID=4674;POINT (-38.806275 -3.484804)'))) / (select extract(epoch from '2026-07-17 17:08:30'::timestamp) - extract(epoch from '2026-07-17 17:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.806309 -3.484948)', '2026-07-17 17:08:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806275 -3.484804)'), GeomFromEWKT('SRID=4674;POINT (-38.806309 -3.484948)'))) / (select extract(epoch from '2026-07-17 17:08:36'::timestamp) - extract(epoch from '2026-07-17 17:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806275 -3.484804)'), GeomFromEWKT('SRID=4674;POINT (-38.806309 -3.484948)'))) / (select extract(epoch from '2026-07-17 17:08:36'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47317, 'SRID=4674;POINT (-38.806344 -3.485082)', '2026-07-17 17:08:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806309 -3.484948)'), GeomFromEWKT('SRID=4674;POINT (-38.806344 -3.485082)'))) / (select extract(epoch from '2026-07-17 17:08:42'::timestamp) - extract(epoch from '2026-07-17 17:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806309 -3.484948)'), GeomFromEWKT('SRID=4674;POINT (-38.806344 -3.485082)'))) / (select extract(epoch from '2026-07-17 17:08:42'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47317, 'SRID=4674;POINT (-38.806383 -3.485212)', '2026-07-17 17:08:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806344 -3.485082)'), GeomFromEWKT('SRID=4674;POINT (-38.806383 -3.485212)'))) / (select extract(epoch from '2026-07-17 17:08:48'::timestamp) - extract(epoch from '2026-07-17 17:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806344 -3.485082)'), GeomFromEWKT('SRID=4674;POINT (-38.806383 -3.485212)'))) / (select extract(epoch from '2026-07-17 17:08:48'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47317, 'SRID=4674;POINT (-38.806416 -3.485325)', '2026-07-17 17:08:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806383 -3.485212)'), GeomFromEWKT('SRID=4674;POINT (-38.806416 -3.485325)'))) / (select extract(epoch from '2026-07-17 17:08:53'::timestamp) - extract(epoch from '2026-07-17 17:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806383 -3.485212)'), GeomFromEWKT('SRID=4674;POINT (-38.806416 -3.485325)'))) / (select extract(epoch from '2026-07-17 17:08:53'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47317, 'SRID=4674;POINT (-38.806449 -3.485457)', '2026-07-17 17:08:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806416 -3.485325)'), GeomFromEWKT('SRID=4674;POINT (-38.806449 -3.485457)'))) / (select extract(epoch from '2026-07-17 17:08:59'::timestamp) - extract(epoch from '2026-07-17 17:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806416 -3.485325)'), GeomFromEWKT('SRID=4674;POINT (-38.806449 -3.485457)'))) / (select extract(epoch from '2026-07-17 17:08:59'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47317, 'SRID=4674;POINT (-38.80646 -3.485579)', '2026-07-17 17:09:05', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806449 -3.485457)'), GeomFromEWKT('SRID=4674;POINT (-38.80646 -3.485579)'))) / (select extract(epoch from '2026-07-17 17:09:05'::timestamp) - extract(epoch from '2026-07-17 17:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806449 -3.485457)'), GeomFromEWKT('SRID=4674;POINT (-38.80646 -3.485579)'))) / (select extract(epoch from '2026-07-17 17:09:05'::timestamp) - extract(epoch from '2026-07-17 17:08: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'), 47317, 'SRID=4674;POINT (-38.806496 -3.485702)', '2026-07-17 17:09:11', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80646 -3.485579)'), GeomFromEWKT('SRID=4674;POINT (-38.806496 -3.485702)'))) / (select extract(epoch from '2026-07-17 17:09:11'::timestamp) - extract(epoch from '2026-07-17 17:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80646 -3.485579)'), GeomFromEWKT('SRID=4674;POINT (-38.806496 -3.485702)'))) / (select extract(epoch from '2026-07-17 17:09:11'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47317, 'SRID=4674;POINT (-38.806573 -3.485848)', '2026-07-17 17:09:18', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806496 -3.485702)'), GeomFromEWKT('SRID=4674;POINT (-38.806573 -3.485848)'))) / (select extract(epoch from '2026-07-17 17:09:18'::timestamp) - extract(epoch from '2026-07-17 17:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806496 -3.485702)'), GeomFromEWKT('SRID=4674;POINT (-38.806573 -3.485848)'))) / (select extract(epoch from '2026-07-17 17:09:18'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47317, 'SRID=4674;POINT (-38.806621 -3.485965)', '2026-07-17 17:09:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806573 -3.485848)'), GeomFromEWKT('SRID=4674;POINT (-38.806621 -3.485965)'))) / (select extract(epoch from '2026-07-17 17:09:23'::timestamp) - extract(epoch from '2026-07-17 17:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806573 -3.485848)'), GeomFromEWKT('SRID=4674;POINT (-38.806621 -3.485965)'))) / (select extract(epoch from '2026-07-17 17:09:23'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47317, 'SRID=4674;POINT (-38.806669 -3.486116)', '2026-07-17 17:09:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806621 -3.485965)'), GeomFromEWKT('SRID=4674;POINT (-38.806669 -3.486116)'))) / (select extract(epoch from '2026-07-17 17:09:30'::timestamp) - extract(epoch from '2026-07-17 17:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806621 -3.485965)'), GeomFromEWKT('SRID=4674;POINT (-38.806669 -3.486116)'))) / (select extract(epoch from '2026-07-17 17:09:30'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47317, 'SRID=4674;POINT (-38.806747 -3.486301)', '2026-07-17 17:09:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806669 -3.486116)'), GeomFromEWKT('SRID=4674;POINT (-38.806747 -3.486301)'))) / (select extract(epoch from '2026-07-17 17:09:38'::timestamp) - extract(epoch from '2026-07-17 17:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806669 -3.486116)'), GeomFromEWKT('SRID=4674;POINT (-38.806747 -3.486301)'))) / (select extract(epoch from '2026-07-17 17:09:38'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47317, 'SRID=4674;POINT (-38.806812 -3.486455)', '2026-07-17 17:09:45', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806747 -3.486301)'), GeomFromEWKT('SRID=4674;POINT (-38.806812 -3.486455)'))) / (select extract(epoch from '2026-07-17 17:09:45'::timestamp) - extract(epoch from '2026-07-17 17:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806747 -3.486301)'), GeomFromEWKT('SRID=4674;POINT (-38.806812 -3.486455)'))) / (select extract(epoch from '2026-07-17 17:09:45'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47317, 'SRID=4674;POINT (-38.806859 -3.486592)', '2026-07-17 17:09:51', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806812 -3.486455)'), GeomFromEWKT('SRID=4674;POINT (-38.806859 -3.486592)'))) / (select extract(epoch from '2026-07-17 17:09:51'::timestamp) - extract(epoch from '2026-07-17 17:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806812 -3.486455)'), GeomFromEWKT('SRID=4674;POINT (-38.806859 -3.486592)'))) / (select extract(epoch from '2026-07-17 17:09:51'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47317, 'SRID=4674;POINT (-38.80692 -3.486727)', '2026-07-17 17:09:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806859 -3.486592)'), GeomFromEWKT('SRID=4674;POINT (-38.80692 -3.486727)'))) / (select extract(epoch from '2026-07-17 17:09:57'::timestamp) - extract(epoch from '2026-07-17 17:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806859 -3.486592)'), GeomFromEWKT('SRID=4674;POINT (-38.80692 -3.486727)'))) / (select extract(epoch from '2026-07-17 17:09:57'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47317, 'SRID=4674;POINT (-38.806977 -3.486862)', '2026-07-17 17:10:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80692 -3.486727)'), GeomFromEWKT('SRID=4674;POINT (-38.806977 -3.486862)'))) / (select extract(epoch from '2026-07-17 17:10:03'::timestamp) - extract(epoch from '2026-07-17 17:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80692 -3.486727)'), GeomFromEWKT('SRID=4674;POINT (-38.806977 -3.486862)'))) / (select extract(epoch from '2026-07-17 17:10:03'::timestamp) - extract(epoch from '2026-07-17 17:09: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'), 47317, 'SRID=4674;POINT (-38.807018 -3.487003)', '2026-07-17 17:10:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806977 -3.486862)'), GeomFromEWKT('SRID=4674;POINT (-38.807018 -3.487003)'))) / (select extract(epoch from '2026-07-17 17:10:09'::timestamp) - extract(epoch from '2026-07-17 17:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806977 -3.486862)'), GeomFromEWKT('SRID=4674;POINT (-38.807018 -3.487003)'))) / (select extract(epoch from '2026-07-17 17:10:09'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47317, 'SRID=4674;POINT (-38.807067 -3.487132)', '2026-07-17 17:10:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807018 -3.487003)'), GeomFromEWKT('SRID=4674;POINT (-38.807067 -3.487132)'))) / (select extract(epoch from '2026-07-17 17:10:15'::timestamp) - extract(epoch from '2026-07-17 17:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807018 -3.487003)'), GeomFromEWKT('SRID=4674;POINT (-38.807067 -3.487132)'))) / (select extract(epoch from '2026-07-17 17:10:15'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47317, 'SRID=4674;POINT (-38.807156 -3.487293)', '2026-07-17 17:10:23', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807067 -3.487132)'), GeomFromEWKT('SRID=4674;POINT (-38.807156 -3.487293)'))) / (select extract(epoch from '2026-07-17 17:10:23'::timestamp) - extract(epoch from '2026-07-17 17:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807067 -3.487132)'), GeomFromEWKT('SRID=4674;POINT (-38.807156 -3.487293)'))) / (select extract(epoch from '2026-07-17 17:10:23'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47317, 'SRID=4674;POINT (-38.807174 -3.487334)', '2026-07-17 17:10:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807156 -3.487293)'), GeomFromEWKT('SRID=4674;POINT (-38.807174 -3.487334)'))) / (select extract(epoch from '2026-07-17 17:10:25'::timestamp) - extract(epoch from '2026-07-17 17:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807156 -3.487293)'), GeomFromEWKT('SRID=4674;POINT (-38.807174 -3.487334)'))) / (select extract(epoch from '2026-07-17 17:10:25'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47317, 'SRID=4674;POINT (-38.807245 -3.487451)', '2026-07-17 17:10:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807174 -3.487334)'), GeomFromEWKT('SRID=4674;POINT (-38.807245 -3.487451)'))) / (select extract(epoch from '2026-07-17 17:10:30'::timestamp) - extract(epoch from '2026-07-17 17:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807174 -3.487334)'), GeomFromEWKT('SRID=4674;POINT (-38.807245 -3.487451)'))) / (select extract(epoch from '2026-07-17 17:10:30'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47317, 'SRID=4674;POINT (-38.807301 -3.487592)', '2026-07-17 17:10:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807245 -3.487451)'), GeomFromEWKT('SRID=4674;POINT (-38.807301 -3.487592)'))) / (select extract(epoch from '2026-07-17 17:10:36'::timestamp) - extract(epoch from '2026-07-17 17:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807245 -3.487451)'), GeomFromEWKT('SRID=4674;POINT (-38.807301 -3.487592)'))) / (select extract(epoch from '2026-07-17 17:10:36'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47317, 'SRID=4674;POINT (-38.80736 -3.487727)', '2026-07-17 17:10:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807301 -3.487592)'), GeomFromEWKT('SRID=4674;POINT (-38.80736 -3.487727)'))) / (select extract(epoch from '2026-07-17 17:10:42'::timestamp) - extract(epoch from '2026-07-17 17:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807301 -3.487592)'), GeomFromEWKT('SRID=4674;POINT (-38.80736 -3.487727)'))) / (select extract(epoch from '2026-07-17 17:10:42'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47317, 'SRID=4674;POINT (-38.807421 -3.487887)', '2026-07-17 17:10:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80736 -3.487727)'), GeomFromEWKT('SRID=4674;POINT (-38.807421 -3.487887)'))) / (select extract(epoch from '2026-07-17 17:10:49'::timestamp) - extract(epoch from '2026-07-17 17:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80736 -3.487727)'), GeomFromEWKT('SRID=4674;POINT (-38.807421 -3.487887)'))) / (select extract(epoch from '2026-07-17 17:10:49'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47317, 'SRID=4674;POINT (-38.807496 -3.488064)', '2026-07-17 17:10:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807421 -3.487887)'), GeomFromEWKT('SRID=4674;POINT (-38.807496 -3.488064)'))) / (select extract(epoch from '2026-07-17 17:10:57'::timestamp) - extract(epoch from '2026-07-17 17:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807421 -3.487887)'), GeomFromEWKT('SRID=4674;POINT (-38.807496 -3.488064)'))) / (select extract(epoch from '2026-07-17 17:10:57'::timestamp) - extract(epoch from '2026-07-17 17:10: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'), 47317, 'SRID=4674;POINT (-38.807546 -3.488167)', '2026-07-17 17:11:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807496 -3.488064)'), GeomFromEWKT('SRID=4674;POINT (-38.807546 -3.488167)'))) / (select extract(epoch from '2026-07-17 17:11:02'::timestamp) - extract(epoch from '2026-07-17 17:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807496 -3.488064)'), GeomFromEWKT('SRID=4674;POINT (-38.807546 -3.488167)'))) / (select extract(epoch from '2026-07-17 17:11:02'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.807616 -3.488271)', '2026-07-17 17:11:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807546 -3.488167)'), GeomFromEWKT('SRID=4674;POINT (-38.807616 -3.488271)'))) / (select extract(epoch from '2026-07-17 17:11:07'::timestamp) - extract(epoch from '2026-07-17 17:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807546 -3.488167)'), GeomFromEWKT('SRID=4674;POINT (-38.807616 -3.488271)'))) / (select extract(epoch from '2026-07-17 17:11:07'::timestamp) - extract(epoch from '2026-07-17 17:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.807709 -3.488432)', '2026-07-17 17:11:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807616 -3.488271)'), GeomFromEWKT('SRID=4674;POINT (-38.807709 -3.488432)'))) / (select extract(epoch from '2026-07-17 17:11:15'::timestamp) - extract(epoch from '2026-07-17 17:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807616 -3.488271)'), GeomFromEWKT('SRID=4674;POINT (-38.807709 -3.488432)'))) / (select extract(epoch from '2026-07-17 17:11:15'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47317, 'SRID=4674;POINT (-38.807752 -3.488541)', '2026-07-17 17:11:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807709 -3.488432)'), GeomFromEWKT('SRID=4674;POINT (-38.807752 -3.488541)'))) / (select extract(epoch from '2026-07-17 17:11:20'::timestamp) - extract(epoch from '2026-07-17 17:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807709 -3.488432)'), GeomFromEWKT('SRID=4674;POINT (-38.807752 -3.488541)'))) / (select extract(epoch from '2026-07-17 17:11:20'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47317, 'SRID=4674;POINT (-38.807834 -3.488701)', '2026-07-17 17:11:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807752 -3.488541)'), GeomFromEWKT('SRID=4674;POINT (-38.807834 -3.488701)'))) / (select extract(epoch from '2026-07-17 17:11:28'::timestamp) - extract(epoch from '2026-07-17 17:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807752 -3.488541)'), GeomFromEWKT('SRID=4674;POINT (-38.807834 -3.488701)'))) / (select extract(epoch from '2026-07-17 17:11:28'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.807887 -3.488835)', '2026-07-17 17:11:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807834 -3.488701)'), GeomFromEWKT('SRID=4674;POINT (-38.807887 -3.488835)'))) / (select extract(epoch from '2026-07-17 17:11:34'::timestamp) - extract(epoch from '2026-07-17 17:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807834 -3.488701)'), GeomFromEWKT('SRID=4674;POINT (-38.807887 -3.488835)'))) / (select extract(epoch from '2026-07-17 17:11:34'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47317, 'SRID=4674;POINT (-38.807943 -3.488953)', '2026-07-17 17:11:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807887 -3.488835)'), GeomFromEWKT('SRID=4674;POINT (-38.807943 -3.488953)'))) / (select extract(epoch from '2026-07-17 17:11:40'::timestamp) - extract(epoch from '2026-07-17 17:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807887 -3.488835)'), GeomFromEWKT('SRID=4674;POINT (-38.807943 -3.488953)'))) / (select extract(epoch from '2026-07-17 17:11:40'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47317, 'SRID=4674;POINT (-38.807985 -3.489067)', '2026-07-17 17:11:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807943 -3.488953)'), GeomFromEWKT('SRID=4674;POINT (-38.807985 -3.489067)'))) / (select extract(epoch from '2026-07-17 17:11:45'::timestamp) - extract(epoch from '2026-07-17 17:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807943 -3.488953)'), GeomFromEWKT('SRID=4674;POINT (-38.807985 -3.489067)'))) / (select extract(epoch from '2026-07-17 17:11:45'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47317, 'SRID=4674;POINT (-38.808051 -3.489213)', '2026-07-17 17:11:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807985 -3.489067)'), GeomFromEWKT('SRID=4674;POINT (-38.808051 -3.489213)'))) / (select extract(epoch from '2026-07-17 17:11:52'::timestamp) - extract(epoch from '2026-07-17 17:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807985 -3.489067)'), GeomFromEWKT('SRID=4674;POINT (-38.808051 -3.489213)'))) / (select extract(epoch from '2026-07-17 17:11:52'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47317, 'SRID=4674;POINT (-38.808096 -3.489332)', '2026-07-17 17:11:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808051 -3.489213)'), GeomFromEWKT('SRID=4674;POINT (-38.808096 -3.489332)'))) / (select extract(epoch from '2026-07-17 17:11:58'::timestamp) - extract(epoch from '2026-07-17 17:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808051 -3.489213)'), GeomFromEWKT('SRID=4674;POINT (-38.808096 -3.489332)'))) / (select extract(epoch from '2026-07-17 17:11:58'::timestamp) - extract(epoch from '2026-07-17 17:11: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'), 47317, 'SRID=4674;POINT (-38.808167 -3.489429)', '2026-07-17 17:12:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808096 -3.489332)'), GeomFromEWKT('SRID=4674;POINT (-38.808167 -3.489429)'))) / (select extract(epoch from '2026-07-17 17:12:03'::timestamp) - extract(epoch from '2026-07-17 17:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808096 -3.489332)'), GeomFromEWKT('SRID=4674;POINT (-38.808167 -3.489429)'))) / (select extract(epoch from '2026-07-17 17:12:03'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.80828 -3.489564)', '2026-07-17 17:12:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808167 -3.489429)'), GeomFromEWKT('SRID=4674;POINT (-38.80828 -3.489564)'))) / (select extract(epoch from '2026-07-17 17:12:10'::timestamp) - extract(epoch from '2026-07-17 17:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808167 -3.489429)'), GeomFromEWKT('SRID=4674;POINT (-38.80828 -3.489564)'))) / (select extract(epoch from '2026-07-17 17:12:10'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47317, 'SRID=4674;POINT (-38.808356 -3.489653)', '2026-07-17 17:12:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80828 -3.489564)'), GeomFromEWKT('SRID=4674;POINT (-38.808356 -3.489653)'))) / (select extract(epoch from '2026-07-17 17:12:14'::timestamp) - extract(epoch from '2026-07-17 17:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80828 -3.489564)'), GeomFromEWKT('SRID=4674;POINT (-38.808356 -3.489653)'))) / (select extract(epoch from '2026-07-17 17:12:14'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47317, 'SRID=4674;POINT (-38.80841 -3.489757)', '2026-07-17 17:12:19', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808356 -3.489653)'), GeomFromEWKT('SRID=4674;POINT (-38.80841 -3.489757)'))) / (select extract(epoch from '2026-07-17 17:12:19'::timestamp) - extract(epoch from '2026-07-17 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808356 -3.489653)'), GeomFromEWKT('SRID=4674;POINT (-38.80841 -3.489757)'))) / (select extract(epoch from '2026-07-17 17:12:19'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.808459 -3.48987)', '2026-07-17 17:12:24', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80841 -3.489757)'), GeomFromEWKT('SRID=4674;POINT (-38.808459 -3.48987)'))) / (select extract(epoch from '2026-07-17 17:12:24'::timestamp) - extract(epoch from '2026-07-17 17:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80841 -3.489757)'), GeomFromEWKT('SRID=4674;POINT (-38.808459 -3.48987)'))) / (select extract(epoch from '2026-07-17 17:12:24'::timestamp) - extract(epoch from '2026-07-17 17:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.808522 -3.490049)', '2026-07-17 17:12:32', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808459 -3.48987)'), GeomFromEWKT('SRID=4674;POINT (-38.808522 -3.490049)'))) / (select extract(epoch from '2026-07-17 17:12:32'::timestamp) - extract(epoch from '2026-07-17 17:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808459 -3.48987)'), GeomFromEWKT('SRID=4674;POINT (-38.808522 -3.490049)'))) / (select extract(epoch from '2026-07-17 17:12:32'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47317, 'SRID=4674;POINT (-38.808563 -3.490211)', '2026-07-17 17:12:40', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808522 -3.490049)'), GeomFromEWKT('SRID=4674;POINT (-38.808563 -3.490211)'))) / (select extract(epoch from '2026-07-17 17:12:40'::timestamp) - extract(epoch from '2026-07-17 17:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808522 -3.490049)'), GeomFromEWKT('SRID=4674;POINT (-38.808563 -3.490211)'))) / (select extract(epoch from '2026-07-17 17:12:40'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.808623 -3.490363)', '2026-07-17 17:12:47', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808563 -3.490211)'), GeomFromEWKT('SRID=4674;POINT (-38.808623 -3.490363)'))) / (select extract(epoch from '2026-07-17 17:12:47'::timestamp) - extract(epoch from '2026-07-17 17:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808563 -3.490211)'), GeomFromEWKT('SRID=4674;POINT (-38.808623 -3.490363)'))) / (select extract(epoch from '2026-07-17 17:12:47'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47317, 'SRID=4674;POINT (-38.808672 -3.490463)', '2026-07-17 17:12:52', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808623 -3.490363)'), GeomFromEWKT('SRID=4674;POINT (-38.808672 -3.490463)'))) / (select extract(epoch from '2026-07-17 17:12:52'::timestamp) - extract(epoch from '2026-07-17 17:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808623 -3.490363)'), GeomFromEWKT('SRID=4674;POINT (-38.808672 -3.490463)'))) / (select extract(epoch from '2026-07-17 17:12:52'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47317, 'SRID=4674;POINT (-38.808723 -3.490567)', '2026-07-17 17:12:57', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808672 -3.490463)'), GeomFromEWKT('SRID=4674;POINT (-38.808723 -3.490567)'))) / (select extract(epoch from '2026-07-17 17:12:57'::timestamp) - extract(epoch from '2026-07-17 17:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808672 -3.490463)'), GeomFromEWKT('SRID=4674;POINT (-38.808723 -3.490567)'))) / (select extract(epoch from '2026-07-17 17:12:57'::timestamp) - extract(epoch from '2026-07-17 17:12: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'), 47317, 'SRID=4674;POINT (-38.808775 -3.490708)', '2026-07-17 17:13:04', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808723 -3.490567)'), GeomFromEWKT('SRID=4674;POINT (-38.808775 -3.490708)'))) / (select extract(epoch from '2026-07-17 17:13:04'::timestamp) - extract(epoch from '2026-07-17 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808723 -3.490567)'), GeomFromEWKT('SRID=4674;POINT (-38.808775 -3.490708)'))) / (select extract(epoch from '2026-07-17 17:13:04'::timestamp) - extract(epoch from '2026-07-17 17:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.808846 -3.490873)', '2026-07-17 17:13:12', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808775 -3.490708)'), GeomFromEWKT('SRID=4674;POINT (-38.808846 -3.490873)'))) / (select extract(epoch from '2026-07-17 17:13:12'::timestamp) - extract(epoch from '2026-07-17 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808775 -3.490708)'), GeomFromEWKT('SRID=4674;POINT (-38.808846 -3.490873)'))) / (select extract(epoch from '2026-07-17 17:13:12'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47317, 'SRID=4674;POINT (-38.808902 -3.490979)', '2026-07-17 17:13:17', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808846 -3.490873)'), GeomFromEWKT('SRID=4674;POINT (-38.808902 -3.490979)'))) / (select extract(epoch from '2026-07-17 17:13:17'::timestamp) - extract(epoch from '2026-07-17 17:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808846 -3.490873)'), GeomFromEWKT('SRID=4674;POINT (-38.808902 -3.490979)'))) / (select extract(epoch from '2026-07-17 17:13:17'::timestamp) - extract(epoch from '2026-07-17 17:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.808959 -3.491118)', '2026-07-17 17:13:23', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808902 -3.490979)'), GeomFromEWKT('SRID=4674;POINT (-38.808959 -3.491118)'))) / (select extract(epoch from '2026-07-17 17:13:23'::timestamp) - extract(epoch from '2026-07-17 17:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808902 -3.490979)'), GeomFromEWKT('SRID=4674;POINT (-38.808959 -3.491118)'))) / (select extract(epoch from '2026-07-17 17:13:23'::timestamp) - extract(epoch from '2026-07-17 17:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.809005 -3.491232)', '2026-07-17 17:13:28', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808959 -3.491118)'), GeomFromEWKT('SRID=4674;POINT (-38.809005 -3.491232)'))) / (select extract(epoch from '2026-07-17 17:13:28'::timestamp) - extract(epoch from '2026-07-17 17:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808959 -3.491118)'), GeomFromEWKT('SRID=4674;POINT (-38.809005 -3.491232)'))) / (select extract(epoch from '2026-07-17 17:13:28'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47317, 'SRID=4674;POINT (-38.80907 -3.491367)', '2026-07-17 17:13:34', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809005 -3.491232)'), GeomFromEWKT('SRID=4674;POINT (-38.80907 -3.491367)'))) / (select extract(epoch from '2026-07-17 17:13:34'::timestamp) - extract(epoch from '2026-07-17 17:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809005 -3.491232)'), GeomFromEWKT('SRID=4674;POINT (-38.80907 -3.491367)'))) / (select extract(epoch from '2026-07-17 17:13:34'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47317, 'SRID=4674;POINT (-38.809116 -3.491481)', '2026-07-17 17:13:39', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80907 -3.491367)'), GeomFromEWKT('SRID=4674;POINT (-38.809116 -3.491481)'))) / (select extract(epoch from '2026-07-17 17:13:39'::timestamp) - extract(epoch from '2026-07-17 17:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80907 -3.491367)'), GeomFromEWKT('SRID=4674;POINT (-38.809116 -3.491481)'))) / (select extract(epoch from '2026-07-17 17:13:39'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47317, 'SRID=4674;POINT (-38.809133 -3.491554)', '2026-07-17 17:13:43', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809116 -3.491481)'), GeomFromEWKT('SRID=4674;POINT (-38.809133 -3.491554)'))) / (select extract(epoch from '2026-07-17 17:13:43'::timestamp) - extract(epoch from '2026-07-17 17:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809116 -3.491481)'), GeomFromEWKT('SRID=4674;POINT (-38.809133 -3.491554)'))) / (select extract(epoch from '2026-07-17 17:13:43'::timestamp) - extract(epoch from '2026-07-17 17:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.809162 -3.491654)', '2026-07-17 17:13:49', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809133 -3.491554)'), GeomFromEWKT('SRID=4674;POINT (-38.809162 -3.491654)'))) / (select extract(epoch from '2026-07-17 17:13:49'::timestamp) - extract(epoch from '2026-07-17 17:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809133 -3.491554)'), GeomFromEWKT('SRID=4674;POINT (-38.809162 -3.491654)'))) / (select extract(epoch from '2026-07-17 17:13:49'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47317, 'SRID=4674;POINT (-38.809232 -3.491819)', '2026-07-17 17:13:56', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809162 -3.491654)'), GeomFromEWKT('SRID=4674;POINT (-38.809232 -3.491819)'))) / (select extract(epoch from '2026-07-17 17:13:56'::timestamp) - extract(epoch from '2026-07-17 17:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809162 -3.491654)'), GeomFromEWKT('SRID=4674;POINT (-38.809232 -3.491819)'))) / (select extract(epoch from '2026-07-17 17:13:56'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47317, 'SRID=4674;POINT (-38.809283 -3.491934)', '2026-07-17 17:14:01', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809232 -3.491819)'), GeomFromEWKT('SRID=4674;POINT (-38.809283 -3.491934)'))) / (select extract(epoch from '2026-07-17 17:14:01'::timestamp) - extract(epoch from '2026-07-17 17:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809232 -3.491819)'), GeomFromEWKT('SRID=4674;POINT (-38.809283 -3.491934)'))) / (select extract(epoch from '2026-07-17 17:14:01'::timestamp) - extract(epoch from '2026-07-17 17:13: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'), 47317, 'SRID=4674;POINT (-38.809344 -3.49206)', '2026-07-17 17:14:07', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809283 -3.491934)'), GeomFromEWKT('SRID=4674;POINT (-38.809344 -3.49206)'))) / (select extract(epoch from '2026-07-17 17:14:07'::timestamp) - extract(epoch from '2026-07-17 17:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809283 -3.491934)'), GeomFromEWKT('SRID=4674;POINT (-38.809344 -3.49206)'))) / (select extract(epoch from '2026-07-17 17:14:07'::timestamp) - extract(epoch from '2026-07-17 17:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.809402 -3.492182)', '2026-07-17 17:14:13', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809344 -3.49206)'), GeomFromEWKT('SRID=4674;POINT (-38.809402 -3.492182)'))) / (select extract(epoch from '2026-07-17 17:14:13'::timestamp) - extract(epoch from '2026-07-17 17:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809344 -3.49206)'), GeomFromEWKT('SRID=4674;POINT (-38.809402 -3.492182)'))) / (select extract(epoch from '2026-07-17 17:14:13'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47317, 'SRID=4674;POINT (-38.80947 -3.492307)', '2026-07-17 17:14:19', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809402 -3.492182)'), GeomFromEWKT('SRID=4674;POINT (-38.80947 -3.492307)'))) / (select extract(epoch from '2026-07-17 17:14:19'::timestamp) - extract(epoch from '2026-07-17 17:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809402 -3.492182)'), GeomFromEWKT('SRID=4674;POINT (-38.80947 -3.492307)'))) / (select extract(epoch from '2026-07-17 17:14:19'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47317, 'SRID=4674;POINT (-38.809537 -3.492407)', '2026-07-17 17:14:24', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80947 -3.492307)'), GeomFromEWKT('SRID=4674;POINT (-38.809537 -3.492407)'))) / (select extract(epoch from '2026-07-17 17:14:24'::timestamp) - extract(epoch from '2026-07-17 17:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80947 -3.492307)'), GeomFromEWKT('SRID=4674;POINT (-38.809537 -3.492407)'))) / (select extract(epoch from '2026-07-17 17:14:24'::timestamp) - extract(epoch from '2026-07-17 17:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.809603 -3.492537)', '2026-07-17 17:14:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809537 -3.492407)'), GeomFromEWKT('SRID=4674;POINT (-38.809603 -3.492537)'))) / (select extract(epoch from '2026-07-17 17:14:30'::timestamp) - extract(epoch from '2026-07-17 17:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809537 -3.492407)'), GeomFromEWKT('SRID=4674;POINT (-38.809603 -3.492537)'))) / (select extract(epoch from '2026-07-17 17:14:30'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47317, 'SRID=4674;POINT (-38.809681 -3.492684)', '2026-07-17 17:14:37', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809603 -3.492537)'), GeomFromEWKT('SRID=4674;POINT (-38.809681 -3.492684)'))) / (select extract(epoch from '2026-07-17 17:14:37'::timestamp) - extract(epoch from '2026-07-17 17:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809603 -3.492537)'), GeomFromEWKT('SRID=4674;POINT (-38.809681 -3.492684)'))) / (select extract(epoch from '2026-07-17 17:14:37'::timestamp) - extract(epoch from '2026-07-17 17:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.80975 -3.49283)', '2026-07-17 17:14:44', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809681 -3.492684)'), GeomFromEWKT('SRID=4674;POINT (-38.80975 -3.49283)'))) / (select extract(epoch from '2026-07-17 17:14:44'::timestamp) - extract(epoch from '2026-07-17 17:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809681 -3.492684)'), GeomFromEWKT('SRID=4674;POINT (-38.80975 -3.49283)'))) / (select extract(epoch from '2026-07-17 17:14:44'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47317, 'SRID=4674;POINT (-38.809799 -3.492947)', '2026-07-17 17:14:50', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80975 -3.49283)'), GeomFromEWKT('SRID=4674;POINT (-38.809799 -3.492947)'))) / (select extract(epoch from '2026-07-17 17:14:50'::timestamp) - extract(epoch from '2026-07-17 17:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80975 -3.49283)'), GeomFromEWKT('SRID=4674;POINT (-38.809799 -3.492947)'))) / (select extract(epoch from '2026-07-17 17:14:50'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47317, 'SRID=4674;POINT (-38.809855 -3.493079)', '2026-07-17 17:14:56', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809799 -3.492947)'), GeomFromEWKT('SRID=4674;POINT (-38.809855 -3.493079)'))) / (select extract(epoch from '2026-07-17 17:14:56'::timestamp) - extract(epoch from '2026-07-17 17:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809799 -3.492947)'), GeomFromEWKT('SRID=4674;POINT (-38.809855 -3.493079)'))) / (select extract(epoch from '2026-07-17 17:14:56'::timestamp) - extract(epoch from '2026-07-17 17:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.80988 -3.493159)', '2026-07-17 17:15:00', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809855 -3.493079)'), GeomFromEWKT('SRID=4674;POINT (-38.80988 -3.493159)'))) / (select extract(epoch from '2026-07-17 17:15:00'::timestamp) - extract(epoch from '2026-07-17 17:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809855 -3.493079)'), GeomFromEWKT('SRID=4674;POINT (-38.80988 -3.493159)'))) / (select extract(epoch from '2026-07-17 17:15:00'::timestamp) - extract(epoch from '2026-07-17 17:14: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'), 47317, 'SRID=4674;POINT (-38.809925 -3.493289)', '2026-07-17 17:15:06', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80988 -3.493159)'), GeomFromEWKT('SRID=4674;POINT (-38.809925 -3.493289)'))) / (select extract(epoch from '2026-07-17 17:15:06'::timestamp) - extract(epoch from '2026-07-17 17:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80988 -3.493159)'), GeomFromEWKT('SRID=4674;POINT (-38.809925 -3.493289)'))) / (select extract(epoch from '2026-07-17 17:15:06'::timestamp) - extract(epoch from '2026-07-17 17:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.809989 -3.493443)', '2026-07-17 17:15:13', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809925 -3.493289)'), GeomFromEWKT('SRID=4674;POINT (-38.809989 -3.493443)'))) / (select extract(epoch from '2026-07-17 17:15:13'::timestamp) - extract(epoch from '2026-07-17 17:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809925 -3.493289)'), GeomFromEWKT('SRID=4674;POINT (-38.809989 -3.493443)'))) / (select extract(epoch from '2026-07-17 17:15:13'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47317, 'SRID=4674;POINT (-38.810075 -3.493605)', '2026-07-17 17:15:21', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809989 -3.493443)'), GeomFromEWKT('SRID=4674;POINT (-38.810075 -3.493605)'))) / (select extract(epoch from '2026-07-17 17:15:21'::timestamp) - extract(epoch from '2026-07-17 17:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809989 -3.493443)'), GeomFromEWKT('SRID=4674;POINT (-38.810075 -3.493605)'))) / (select extract(epoch from '2026-07-17 17:15:21'::timestamp) - extract(epoch from '2026-07-17 17:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.810166 -3.493779)', '2026-07-17 17:15:29', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810075 -3.493605)'), GeomFromEWKT('SRID=4674;POINT (-38.810166 -3.493779)'))) / (select extract(epoch from '2026-07-17 17:15:29'::timestamp) - extract(epoch from '2026-07-17 17:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810075 -3.493605)'), GeomFromEWKT('SRID=4674;POINT (-38.810166 -3.493779)'))) / (select extract(epoch from '2026-07-17 17:15:29'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47317, 'SRID=4674;POINT (-38.810211 -3.493894)', '2026-07-17 17:15:34', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810166 -3.493779)'), GeomFromEWKT('SRID=4674;POINT (-38.810211 -3.493894)'))) / (select extract(epoch from '2026-07-17 17:15:34'::timestamp) - extract(epoch from '2026-07-17 17:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810166 -3.493779)'), GeomFromEWKT('SRID=4674;POINT (-38.810211 -3.493894)'))) / (select extract(epoch from '2026-07-17 17:15:34'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.81028 -3.494036)', '2026-07-17 17:15:40', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810211 -3.493894)'), GeomFromEWKT('SRID=4674;POINT (-38.81028 -3.494036)'))) / (select extract(epoch from '2026-07-17 17:15:40'::timestamp) - extract(epoch from '2026-07-17 17:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810211 -3.493894)'), GeomFromEWKT('SRID=4674;POINT (-38.81028 -3.494036)'))) / (select extract(epoch from '2026-07-17 17:15:40'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47317, 'SRID=4674;POINT (-38.810338 -3.494134)', '2026-07-17 17:15:45', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81028 -3.494036)'), GeomFromEWKT('SRID=4674;POINT (-38.810338 -3.494134)'))) / (select extract(epoch from '2026-07-17 17:15:45'::timestamp) - extract(epoch from '2026-07-17 17:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81028 -3.494036)'), GeomFromEWKT('SRID=4674;POINT (-38.810338 -3.494134)'))) / (select extract(epoch from '2026-07-17 17:15:45'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.810409 -3.494273)', '2026-07-17 17:15:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810338 -3.494134)'), GeomFromEWKT('SRID=4674;POINT (-38.810409 -3.494273)'))) / (select extract(epoch from '2026-07-17 17:15:52'::timestamp) - extract(epoch from '2026-07-17 17:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810338 -3.494134)'), GeomFromEWKT('SRID=4674;POINT (-38.810409 -3.494273)'))) / (select extract(epoch from '2026-07-17 17:15:52'::timestamp) - extract(epoch from '2026-07-17 17:15: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'), 47317, 'SRID=4674;POINT (-38.810478 -3.494413)', '2026-07-17 17:15:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810409 -3.494273)'), GeomFromEWKT('SRID=4674;POINT (-38.810478 -3.494413)'))) / (select extract(epoch from '2026-07-17 17:15:59'::timestamp) - extract(epoch from '2026-07-17 17:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810409 -3.494273)'), GeomFromEWKT('SRID=4674;POINT (-38.810478 -3.494413)'))) / (select extract(epoch from '2026-07-17 17:15:59'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.810556 -3.49455)', '2026-07-17 17:16:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810478 -3.494413)'), GeomFromEWKT('SRID=4674;POINT (-38.810556 -3.49455)'))) / (select extract(epoch from '2026-07-17 17:16:06'::timestamp) - extract(epoch from '2026-07-17 17:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810478 -3.494413)'), GeomFromEWKT('SRID=4674;POINT (-38.810556 -3.49455)'))) / (select extract(epoch from '2026-07-17 17:16:06'::timestamp) - extract(epoch from '2026-07-17 17:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.81061 -3.494671)', '2026-07-17 17:16:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810556 -3.49455)'), GeomFromEWKT('SRID=4674;POINT (-38.81061 -3.494671)'))) / (select extract(epoch from '2026-07-17 17:16:12'::timestamp) - extract(epoch from '2026-07-17 17:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810556 -3.49455)'), GeomFromEWKT('SRID=4674;POINT (-38.81061 -3.494671)'))) / (select extract(epoch from '2026-07-17 17:16:12'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47317, 'SRID=4674;POINT (-38.810661 -3.494808)', '2026-07-17 17:16:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81061 -3.494671)'), GeomFromEWKT('SRID=4674;POINT (-38.810661 -3.494808)'))) / (select extract(epoch from '2026-07-17 17:16:18'::timestamp) - extract(epoch from '2026-07-17 17:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81061 -3.494671)'), GeomFromEWKT('SRID=4674;POINT (-38.810661 -3.494808)'))) / (select extract(epoch from '2026-07-17 17:16:18'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47317, 'SRID=4674;POINT (-38.810717 -3.494969)', '2026-07-17 17:16:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810661 -3.494808)'), GeomFromEWKT('SRID=4674;POINT (-38.810717 -3.494969)'))) / (select extract(epoch from '2026-07-17 17:16:25'::timestamp) - extract(epoch from '2026-07-17 17:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810661 -3.494808)'), GeomFromEWKT('SRID=4674;POINT (-38.810717 -3.494969)'))) / (select extract(epoch from '2026-07-17 17:16:25'::timestamp) - extract(epoch from '2026-07-17 17:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.810769 -3.49511)', '2026-07-17 17:16:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810717 -3.494969)'), GeomFromEWKT('SRID=4674;POINT (-38.810769 -3.49511)'))) / (select extract(epoch from '2026-07-17 17:16:32'::timestamp) - extract(epoch from '2026-07-17 17:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810717 -3.494969)'), GeomFromEWKT('SRID=4674;POINT (-38.810769 -3.49511)'))) / (select extract(epoch from '2026-07-17 17:16:32'::timestamp) - extract(epoch from '2026-07-17 17:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.810794 -3.495217)', '2026-07-17 17:16:37', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810769 -3.49511)'), GeomFromEWKT('SRID=4674;POINT (-38.810794 -3.495217)'))) / (select extract(epoch from '2026-07-17 17:16:37'::timestamp) - extract(epoch from '2026-07-17 17:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810769 -3.49511)'), GeomFromEWKT('SRID=4674;POINT (-38.810794 -3.495217)'))) / (select extract(epoch from '2026-07-17 17:16:37'::timestamp) - extract(epoch from '2026-07-17 17:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.810827 -3.495329)', '2026-07-17 17:16:42', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810794 -3.495217)'), GeomFromEWKT('SRID=4674;POINT (-38.810827 -3.495329)'))) / (select extract(epoch from '2026-07-17 17:16:42'::timestamp) - extract(epoch from '2026-07-17 17:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810794 -3.495217)'), GeomFromEWKT('SRID=4674;POINT (-38.810827 -3.495329)'))) / (select extract(epoch from '2026-07-17 17:16:42'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47317, 'SRID=4674;POINT (-38.810866 -3.495434)', '2026-07-17 17:16:47', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810827 -3.495329)'), GeomFromEWKT('SRID=4674;POINT (-38.810866 -3.495434)'))) / (select extract(epoch from '2026-07-17 17:16:47'::timestamp) - extract(epoch from '2026-07-17 17:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810827 -3.495329)'), GeomFromEWKT('SRID=4674;POINT (-38.810866 -3.495434)'))) / (select extract(epoch from '2026-07-17 17:16:47'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47317, 'SRID=4674;POINT (-38.810944 -3.495586)', '2026-07-17 17:16:54', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810866 -3.495434)'), GeomFromEWKT('SRID=4674;POINT (-38.810944 -3.495586)'))) / (select extract(epoch from '2026-07-17 17:16:54'::timestamp) - extract(epoch from '2026-07-17 17:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810866 -3.495434)'), GeomFromEWKT('SRID=4674;POINT (-38.810944 -3.495586)'))) / (select extract(epoch from '2026-07-17 17:16:54'::timestamp) - extract(epoch from '2026-07-17 17:16: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'), 47317, 'SRID=4674;POINT (-38.811013 -3.495719)', '2026-07-17 17:17:00', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810944 -3.495586)'), GeomFromEWKT('SRID=4674;POINT (-38.811013 -3.495719)'))) / (select extract(epoch from '2026-07-17 17:17:00'::timestamp) - extract(epoch from '2026-07-17 17:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810944 -3.495586)'), GeomFromEWKT('SRID=4674;POINT (-38.811013 -3.495719)'))) / (select extract(epoch from '2026-07-17 17:17:00'::timestamp) - extract(epoch from '2026-07-17 17:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.811089 -3.495874)', '2026-07-17 17:17:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811013 -3.495719)'), GeomFromEWKT('SRID=4674;POINT (-38.811089 -3.495874)'))) / (select extract(epoch from '2026-07-17 17:17:07'::timestamp) - extract(epoch from '2026-07-17 17:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811013 -3.495719)'), GeomFromEWKT('SRID=4674;POINT (-38.811089 -3.495874)'))) / (select extract(epoch from '2026-07-17 17:17:07'::timestamp) - extract(epoch from '2026-07-17 17:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.811162 -3.495993)', '2026-07-17 17:17:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811089 -3.495874)'), GeomFromEWKT('SRID=4674;POINT (-38.811162 -3.495993)'))) / (select extract(epoch from '2026-07-17 17:17:13'::timestamp) - extract(epoch from '2026-07-17 17:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811089 -3.495874)'), GeomFromEWKT('SRID=4674;POINT (-38.811162 -3.495993)'))) / (select extract(epoch from '2026-07-17 17:17:13'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47317, 'SRID=4674;POINT (-38.811243 -3.496154)', '2026-07-17 17:17:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811162 -3.495993)'), GeomFromEWKT('SRID=4674;POINT (-38.811243 -3.496154)'))) / (select extract(epoch from '2026-07-17 17:17:20'::timestamp) - extract(epoch from '2026-07-17 17:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811162 -3.495993)'), GeomFromEWKT('SRID=4674;POINT (-38.811243 -3.496154)'))) / (select extract(epoch from '2026-07-17 17:17:20'::timestamp) - extract(epoch from '2026-07-17 17:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.811291 -3.496256)', '2026-07-17 17:17:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811243 -3.496154)'), GeomFromEWKT('SRID=4674;POINT (-38.811291 -3.496256)'))) / (select extract(epoch from '2026-07-17 17:17:25'::timestamp) - extract(epoch from '2026-07-17 17:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811243 -3.496154)'), GeomFromEWKT('SRID=4674;POINT (-38.811291 -3.496256)'))) / (select extract(epoch from '2026-07-17 17:17:25'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47317, 'SRID=4674;POINT (-38.811339 -3.496385)', '2026-07-17 17:17:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811291 -3.496256)'), GeomFromEWKT('SRID=4674;POINT (-38.811339 -3.496385)'))) / (select extract(epoch from '2026-07-17 17:17:31'::timestamp) - extract(epoch from '2026-07-17 17:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811291 -3.496256)'), GeomFromEWKT('SRID=4674;POINT (-38.811339 -3.496385)'))) / (select extract(epoch from '2026-07-17 17:17:31'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47317, 'SRID=4674;POINT (-38.811412 -3.496542)', '2026-07-17 17:17:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811339 -3.496385)'), GeomFromEWKT('SRID=4674;POINT (-38.811412 -3.496542)'))) / (select extract(epoch from '2026-07-17 17:17:38'::timestamp) - extract(epoch from '2026-07-17 17:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811339 -3.496385)'), GeomFromEWKT('SRID=4674;POINT (-38.811412 -3.496542)'))) / (select extract(epoch from '2026-07-17 17:17:38'::timestamp) - extract(epoch from '2026-07-17 17:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.811484 -3.496667)', '2026-07-17 17:17:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811412 -3.496542)'), GeomFromEWKT('SRID=4674;POINT (-38.811484 -3.496667)'))) / (select extract(epoch from '2026-07-17 17:17:44'::timestamp) - extract(epoch from '2026-07-17 17:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811412 -3.496542)'), GeomFromEWKT('SRID=4674;POINT (-38.811484 -3.496667)'))) / (select extract(epoch from '2026-07-17 17:17:44'::timestamp) - extract(epoch from '2026-07-17 17:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.811548 -3.496774)', '2026-07-17 17:17:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811484 -3.496667)'), GeomFromEWKT('SRID=4674;POINT (-38.811548 -3.496774)'))) / (select extract(epoch from '2026-07-17 17:17:49'::timestamp) - extract(epoch from '2026-07-17 17:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811484 -3.496667)'), GeomFromEWKT('SRID=4674;POINT (-38.811548 -3.496774)'))) / (select extract(epoch from '2026-07-17 17:17:49'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47317, 'SRID=4674;POINT (-38.811596 -3.496877)', '2026-07-17 17:17:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811548 -3.496774)'), GeomFromEWKT('SRID=4674;POINT (-38.811596 -3.496877)'))) / (select extract(epoch from '2026-07-17 17:17:54'::timestamp) - extract(epoch from '2026-07-17 17:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811548 -3.496774)'), GeomFromEWKT('SRID=4674;POINT (-38.811596 -3.496877)'))) / (select extract(epoch from '2026-07-17 17:17:54'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47317, 'SRID=4674;POINT (-38.811651 -3.497012)', '2026-07-17 17:18:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811596 -3.496877)'), GeomFromEWKT('SRID=4674;POINT (-38.811651 -3.497012)'))) / (select extract(epoch from '2026-07-17 17:18:01'::timestamp) - extract(epoch from '2026-07-17 17:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811596 -3.496877)'), GeomFromEWKT('SRID=4674;POINT (-38.811651 -3.497012)'))) / (select extract(epoch from '2026-07-17 17:18:01'::timestamp) - extract(epoch from '2026-07-17 17:17: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'), 47317, 'SRID=4674;POINT (-38.811709 -3.497131)', '2026-07-17 17:18:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811651 -3.497012)'), GeomFromEWKT('SRID=4674;POINT (-38.811709 -3.497131)'))) / (select extract(epoch from '2026-07-17 17:18:07'::timestamp) - extract(epoch from '2026-07-17 17:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811651 -3.497012)'), GeomFromEWKT('SRID=4674;POINT (-38.811709 -3.497131)'))) / (select extract(epoch from '2026-07-17 17:18:07'::timestamp) - extract(epoch from '2026-07-17 17:18:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.811796 -3.497273)', '2026-07-17 17:18:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811709 -3.497131)'), GeomFromEWKT('SRID=4674;POINT (-38.811796 -3.497273)'))) / (select extract(epoch from '2026-07-17 17:18:14'::timestamp) - extract(epoch from '2026-07-17 17:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811709 -3.497131)'), GeomFromEWKT('SRID=4674;POINT (-38.811796 -3.497273)'))) / (select extract(epoch from '2026-07-17 17:18:14'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47317, 'SRID=4674;POINT (-38.81186 -3.497408)', '2026-07-17 17:18:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811796 -3.497273)'), GeomFromEWKT('SRID=4674;POINT (-38.81186 -3.497408)'))) / (select extract(epoch from '2026-07-17 17:18:21'::timestamp) - extract(epoch from '2026-07-17 17:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811796 -3.497273)'), GeomFromEWKT('SRID=4674;POINT (-38.81186 -3.497408)'))) / (select extract(epoch from '2026-07-17 17:18:21'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47317, 'SRID=4674;POINT (-38.811924 -3.497533)', '2026-07-17 17:18:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81186 -3.497408)'), GeomFromEWKT('SRID=4674;POINT (-38.811924 -3.497533)'))) / (select extract(epoch from '2026-07-17 17:18:27'::timestamp) - extract(epoch from '2026-07-17 17:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81186 -3.497408)'), GeomFromEWKT('SRID=4674;POINT (-38.811924 -3.497533)'))) / (select extract(epoch from '2026-07-17 17:18:27'::timestamp) - extract(epoch from '2026-07-17 17:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.811985 -3.497651)', '2026-07-17 17:18:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811924 -3.497533)'), GeomFromEWKT('SRID=4674;POINT (-38.811985 -3.497651)'))) / (select extract(epoch from '2026-07-17 17:18:33'::timestamp) - extract(epoch from '2026-07-17 17:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811924 -3.497533)'), GeomFromEWKT('SRID=4674;POINT (-38.811985 -3.497651)'))) / (select extract(epoch from '2026-07-17 17:18:33'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47317, 'SRID=4674;POINT (-38.81203 -3.49775)', '2026-07-17 17:18:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811985 -3.497651)'), GeomFromEWKT('SRID=4674;POINT (-38.81203 -3.49775)'))) / (select extract(epoch from '2026-07-17 17:18:38'::timestamp) - extract(epoch from '2026-07-17 17:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811985 -3.497651)'), GeomFromEWKT('SRID=4674;POINT (-38.81203 -3.49775)'))) / (select extract(epoch from '2026-07-17 17:18:38'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47317, 'SRID=4674;POINT (-38.812083 -3.497879)', '2026-07-17 17:18:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81203 -3.49775)'), GeomFromEWKT('SRID=4674;POINT (-38.812083 -3.497879)'))) / (select extract(epoch from '2026-07-17 17:18:44'::timestamp) - extract(epoch from '2026-07-17 17:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81203 -3.49775)'), GeomFromEWKT('SRID=4674;POINT (-38.812083 -3.497879)'))) / (select extract(epoch from '2026-07-17 17:18:44'::timestamp) - extract(epoch from '2026-07-17 17:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.812144 -3.49797)', '2026-07-17 17:18:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812083 -3.497879)'), GeomFromEWKT('SRID=4674;POINT (-38.812144 -3.49797)'))) / (select extract(epoch from '2026-07-17 17:18:49'::timestamp) - extract(epoch from '2026-07-17 17:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812083 -3.497879)'), GeomFromEWKT('SRID=4674;POINT (-38.812144 -3.49797)'))) / (select extract(epoch from '2026-07-17 17:18:49'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47317, 'SRID=4674;POINT (-38.812206 -3.498065)', '2026-07-17 17:18:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812144 -3.49797)'), GeomFromEWKT('SRID=4674;POINT (-38.812206 -3.498065)'))) / (select extract(epoch from '2026-07-17 17:18:54'::timestamp) - extract(epoch from '2026-07-17 17:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812144 -3.49797)'), GeomFromEWKT('SRID=4674;POINT (-38.812206 -3.498065)'))) / (select extract(epoch from '2026-07-17 17:18:54'::timestamp) - extract(epoch from '2026-07-17 17:18: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'), 47317, 'SRID=4674;POINT (-38.81229 -3.498228)', '2026-07-17 17:19:02', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812206 -3.498065)'), GeomFromEWKT('SRID=4674;POINT (-38.81229 -3.498228)'))) / (select extract(epoch from '2026-07-17 17:19:02'::timestamp) - extract(epoch from '2026-07-17 17:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812206 -3.498065)'), GeomFromEWKT('SRID=4674;POINT (-38.81229 -3.498228)'))) / (select extract(epoch from '2026-07-17 17:19:02'::timestamp) - extract(epoch from '2026-07-17 17:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.812363 -3.498387)', '2026-07-17 17:19:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81229 -3.498228)'), GeomFromEWKT('SRID=4674;POINT (-38.812363 -3.498387)'))) / (select extract(epoch from '2026-07-17 17:19:10'::timestamp) - extract(epoch from '2026-07-17 17:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81229 -3.498228)'), GeomFromEWKT('SRID=4674;POINT (-38.812363 -3.498387)'))) / (select extract(epoch from '2026-07-17 17:19:10'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47317, 'SRID=4674;POINT (-38.812466 -3.498549)', '2026-07-17 17:19:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812363 -3.498387)'), GeomFromEWKT('SRID=4674;POINT (-38.812466 -3.498549)'))) / (select extract(epoch from '2026-07-17 17:19:18'::timestamp) - extract(epoch from '2026-07-17 17:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812363 -3.498387)'), GeomFromEWKT('SRID=4674;POINT (-38.812466 -3.498549)'))) / (select extract(epoch from '2026-07-17 17:19:18'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47317, 'SRID=4674;POINT (-38.812478 -3.498567)', '2026-07-17 17:19:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812466 -3.498549)'), GeomFromEWKT('SRID=4674;POINT (-38.812478 -3.498567)'))) / (select extract(epoch from '2026-07-17 17:19:19'::timestamp) - extract(epoch from '2026-07-17 17:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812466 -3.498549)'), GeomFromEWKT('SRID=4674;POINT (-38.812478 -3.498567)'))) / (select extract(epoch from '2026-07-17 17:19:19'::timestamp) - extract(epoch from '2026-07-17 17:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.812554 -3.498677)', '2026-07-17 17:19:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812478 -3.498567)'), GeomFromEWKT('SRID=4674;POINT (-38.812554 -3.498677)'))) / (select extract(epoch from '2026-07-17 17:19:24'::timestamp) - extract(epoch from '2026-07-17 17:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812478 -3.498567)'), GeomFromEWKT('SRID=4674;POINT (-38.812554 -3.498677)'))) / (select extract(epoch from '2026-07-17 17:19:24'::timestamp) - extract(epoch from '2026-07-17 17:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.812616 -3.498781)', '2026-07-17 17:19:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812554 -3.498677)'), GeomFromEWKT('SRID=4674;POINT (-38.812616 -3.498781)'))) / (select extract(epoch from '2026-07-17 17:19:29'::timestamp) - extract(epoch from '2026-07-17 17:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812554 -3.498677)'), GeomFromEWKT('SRID=4674;POINT (-38.812616 -3.498781)'))) / (select extract(epoch from '2026-07-17 17:19:29'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47317, 'SRID=4674;POINT (-38.812664 -3.498891)', '2026-07-17 17:19:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812616 -3.498781)'), GeomFromEWKT('SRID=4674;POINT (-38.812664 -3.498891)'))) / (select extract(epoch from '2026-07-17 17:19:34'::timestamp) - extract(epoch from '2026-07-17 17:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812616 -3.498781)'), GeomFromEWKT('SRID=4674;POINT (-38.812664 -3.498891)'))) / (select extract(epoch from '2026-07-17 17:19:34'::timestamp) - extract(epoch from '2026-07-17 17:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.812723 -3.499049)', '2026-07-17 17:19:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812664 -3.498891)'), GeomFromEWKT('SRID=4674;POINT (-38.812723 -3.499049)'))) / (select extract(epoch from '2026-07-17 17:19:41'::timestamp) - extract(epoch from '2026-07-17 17:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812664 -3.498891)'), GeomFromEWKT('SRID=4674;POINT (-38.812723 -3.499049)'))) / (select extract(epoch from '2026-07-17 17:19:41'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.812795 -3.499183)', '2026-07-17 17:19:47', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812723 -3.499049)'), GeomFromEWKT('SRID=4674;POINT (-38.812795 -3.499183)'))) / (select extract(epoch from '2026-07-17 17:19:47'::timestamp) - extract(epoch from '2026-07-17 17:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812723 -3.499049)'), GeomFromEWKT('SRID=4674;POINT (-38.812795 -3.499183)'))) / (select extract(epoch from '2026-07-17 17:19:47'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47317, 'SRID=4674;POINT (-38.812857 -3.49931)', '2026-07-17 17:19:53', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812795 -3.499183)'), GeomFromEWKT('SRID=4674;POINT (-38.812857 -3.49931)'))) / (select extract(epoch from '2026-07-17 17:19:53'::timestamp) - extract(epoch from '2026-07-17 17:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812795 -3.499183)'), GeomFromEWKT('SRID=4674;POINT (-38.812857 -3.49931)'))) / (select extract(epoch from '2026-07-17 17:19:53'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47317, 'SRID=4674;POINT (-38.812906 -3.499438)', '2026-07-17 17:19:59', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812857 -3.49931)'), GeomFromEWKT('SRID=4674;POINT (-38.812906 -3.499438)'))) / (select extract(epoch from '2026-07-17 17:19:59'::timestamp) - extract(epoch from '2026-07-17 17:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812857 -3.49931)'), GeomFromEWKT('SRID=4674;POINT (-38.812906 -3.499438)'))) / (select extract(epoch from '2026-07-17 17:19:59'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47317, 'SRID=4674;POINT (-38.812984 -3.499569)', '2026-07-17 17:20:06', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812906 -3.499438)'), GeomFromEWKT('SRID=4674;POINT (-38.812984 -3.499569)'))) / (select extract(epoch from '2026-07-17 17:20:06'::timestamp) - extract(epoch from '2026-07-17 17:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812906 -3.499438)'), GeomFromEWKT('SRID=4674;POINT (-38.812984 -3.499569)'))) / (select extract(epoch from '2026-07-17 17:20:06'::timestamp) - extract(epoch from '2026-07-17 17:19: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'), 47317, 'SRID=4674;POINT (-38.813071 -3.499739)', '2026-07-17 17:20:14', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812984 -3.499569)'), GeomFromEWKT('SRID=4674;POINT (-38.813071 -3.499739)'))) / (select extract(epoch from '2026-07-17 17:20:14'::timestamp) - extract(epoch from '2026-07-17 17:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812984 -3.499569)'), GeomFromEWKT('SRID=4674;POINT (-38.813071 -3.499739)'))) / (select extract(epoch from '2026-07-17 17:20:14'::timestamp) - extract(epoch from '2026-07-17 17:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.813155 -3.499858)', '2026-07-17 17:20:20', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813071 -3.499739)'), GeomFromEWKT('SRID=4674;POINT (-38.813155 -3.499858)'))) / (select extract(epoch from '2026-07-17 17:20:20'::timestamp) - extract(epoch from '2026-07-17 17:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813071 -3.499739)'), GeomFromEWKT('SRID=4674;POINT (-38.813155 -3.499858)'))) / (select extract(epoch from '2026-07-17 17:20:20'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47317, 'SRID=4674;POINT (-38.813203 -3.499986)', '2026-07-17 17:20:26', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813155 -3.499858)'), GeomFromEWKT('SRID=4674;POINT (-38.813203 -3.499986)'))) / (select extract(epoch from '2026-07-17 17:20:26'::timestamp) - extract(epoch from '2026-07-17 17:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813155 -3.499858)'), GeomFromEWKT('SRID=4674;POINT (-38.813203 -3.499986)'))) / (select extract(epoch from '2026-07-17 17:20:26'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.813271 -3.500147)', '2026-07-17 17:20:33', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813203 -3.499986)'), GeomFromEWKT('SRID=4674;POINT (-38.813271 -3.500147)'))) / (select extract(epoch from '2026-07-17 17:20:33'::timestamp) - extract(epoch from '2026-07-17 17:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813203 -3.499986)'), GeomFromEWKT('SRID=4674;POINT (-38.813271 -3.500147)'))) / (select extract(epoch from '2026-07-17 17:20:33'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47317, 'SRID=4674;POINT (-38.813351 -3.500283)', '2026-07-17 17:20:39', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813271 -3.500147)'), GeomFromEWKT('SRID=4674;POINT (-38.813351 -3.500283)'))) / (select extract(epoch from '2026-07-17 17:20:39'::timestamp) - extract(epoch from '2026-07-17 17:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813271 -3.500147)'), GeomFromEWKT('SRID=4674;POINT (-38.813351 -3.500283)'))) / (select extract(epoch from '2026-07-17 17:20:39'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47317, 'SRID=4674;POINT (-38.813432 -3.500402)', '2026-07-17 17:20:45', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813351 -3.500283)'), GeomFromEWKT('SRID=4674;POINT (-38.813432 -3.500402)'))) / (select extract(epoch from '2026-07-17 17:20:45'::timestamp) - extract(epoch from '2026-07-17 17:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813351 -3.500283)'), GeomFromEWKT('SRID=4674;POINT (-38.813432 -3.500402)'))) / (select extract(epoch from '2026-07-17 17:20:45'::timestamp) - extract(epoch from '2026-07-17 17:20: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'), 47317, 'SRID=4674;POINT (-38.81353 -3.500572)', '2026-07-17 17:20:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813432 -3.500402)'), GeomFromEWKT('SRID=4674;POINT (-38.81353 -3.500572)'))) / (select extract(epoch from '2026-07-17 17:20:53'::timestamp) - extract(epoch from '2026-07-17 17:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813432 -3.500402)'), GeomFromEWKT('SRID=4674;POINT (-38.81353 -3.500572)'))) / (select extract(epoch from '2026-07-17 17:20:53'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.813599 -3.500711)', '2026-07-17 17:20:59', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81353 -3.500572)'), GeomFromEWKT('SRID=4674;POINT (-38.813599 -3.500711)'))) / (select extract(epoch from '2026-07-17 17:20:59'::timestamp) - extract(epoch from '2026-07-17 17:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81353 -3.500572)'), GeomFromEWKT('SRID=4674;POINT (-38.813599 -3.500711)'))) / (select extract(epoch from '2026-07-17 17:20:59'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.813676 -3.50083)', '2026-07-17 17:21:05', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813599 -3.500711)'), GeomFromEWKT('SRID=4674;POINT (-38.813676 -3.50083)'))) / (select extract(epoch from '2026-07-17 17:21:05'::timestamp) - extract(epoch from '2026-07-17 17:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813599 -3.500711)'), GeomFromEWKT('SRID=4674;POINT (-38.813676 -3.50083)'))) / (select extract(epoch from '2026-07-17 17:21:05'::timestamp) - extract(epoch from '2026-07-17 17:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.813773 -3.500981)', '2026-07-17 17:21:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813676 -3.50083)'), GeomFromEWKT('SRID=4674;POINT (-38.813773 -3.500981)'))) / (select extract(epoch from '2026-07-17 17:21:12'::timestamp) - extract(epoch from '2026-07-17 17:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813676 -3.50083)'), GeomFromEWKT('SRID=4674;POINT (-38.813773 -3.500981)'))) / (select extract(epoch from '2026-07-17 17:21:12'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47317, 'SRID=4674;POINT (-38.813856 -3.501131)', '2026-07-17 17:21:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813773 -3.500981)'), GeomFromEWKT('SRID=4674;POINT (-38.813856 -3.501131)'))) / (select extract(epoch from '2026-07-17 17:21:19'::timestamp) - extract(epoch from '2026-07-17 17:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813773 -3.500981)'), GeomFromEWKT('SRID=4674;POINT (-38.813856 -3.501131)'))) / (select extract(epoch from '2026-07-17 17:21:19'::timestamp) - extract(epoch from '2026-07-17 17:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.813918 -3.501301)', '2026-07-17 17:21:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813856 -3.501131)'), GeomFromEWKT('SRID=4674;POINT (-38.813918 -3.501301)'))) / (select extract(epoch from '2026-07-17 17:21:26'::timestamp) - extract(epoch from '2026-07-17 17:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813856 -3.501131)'), GeomFromEWKT('SRID=4674;POINT (-38.813918 -3.501301)'))) / (select extract(epoch from '2026-07-17 17:21:26'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47317, 'SRID=4674;POINT (-38.813991 -3.501432)', '2026-07-17 17:21:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813918 -3.501301)'), GeomFromEWKT('SRID=4674;POINT (-38.813991 -3.501432)'))) / (select extract(epoch from '2026-07-17 17:21:32'::timestamp) - extract(epoch from '2026-07-17 17:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813918 -3.501301)'), GeomFromEWKT('SRID=4674;POINT (-38.813991 -3.501432)'))) / (select extract(epoch from '2026-07-17 17:21:32'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47317, 'SRID=4674;POINT (-38.814053 -3.501573)', '2026-07-17 17:21:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813991 -3.501432)'), GeomFromEWKT('SRID=4674;POINT (-38.814053 -3.501573)'))) / (select extract(epoch from '2026-07-17 17:21:38'::timestamp) - extract(epoch from '2026-07-17 17:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813991 -3.501432)'), GeomFromEWKT('SRID=4674;POINT (-38.814053 -3.501573)'))) / (select extract(epoch from '2026-07-17 17:21:38'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47317, 'SRID=4674;POINT (-38.814094 -3.501696)', '2026-07-17 17:21:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814053 -3.501573)'), GeomFromEWKT('SRID=4674;POINT (-38.814094 -3.501696)'))) / (select extract(epoch from '2026-07-17 17:21:43'::timestamp) - extract(epoch from '2026-07-17 17:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814053 -3.501573)'), GeomFromEWKT('SRID=4674;POINT (-38.814094 -3.501696)'))) / (select extract(epoch from '2026-07-17 17:21:43'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47317, 'SRID=4674;POINT (-38.814168 -3.501853)', '2026-07-17 17:21:50', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814094 -3.501696)'), GeomFromEWKT('SRID=4674;POINT (-38.814168 -3.501853)'))) / (select extract(epoch from '2026-07-17 17:21:50'::timestamp) - extract(epoch from '2026-07-17 17:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814094 -3.501696)'), GeomFromEWKT('SRID=4674;POINT (-38.814168 -3.501853)'))) / (select extract(epoch from '2026-07-17 17:21:50'::timestamp) - extract(epoch from '2026-07-17 17:21: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'), 47317, 'SRID=4674;POINT (-38.814234 -3.502014)', '2026-07-17 17:21:57', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814168 -3.501853)'), GeomFromEWKT('SRID=4674;POINT (-38.814234 -3.502014)'))) / (select extract(epoch from '2026-07-17 17:21:57'::timestamp) - extract(epoch from '2026-07-17 17:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814168 -3.501853)'), GeomFromEWKT('SRID=4674;POINT (-38.814234 -3.502014)'))) / (select extract(epoch from '2026-07-17 17:21:57'::timestamp) - extract(epoch from '2026-07-17 17:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.814314 -3.502182)', '2026-07-17 17:22:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814234 -3.502014)'), GeomFromEWKT('SRID=4674;POINT (-38.814314 -3.502182)'))) / (select extract(epoch from '2026-07-17 17:22:05'::timestamp) - extract(epoch from '2026-07-17 17:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814234 -3.502014)'), GeomFromEWKT('SRID=4674;POINT (-38.814314 -3.502182)'))) / (select extract(epoch from '2026-07-17 17:22:05'::timestamp) - extract(epoch from '2026-07-17 17:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.814372 -3.502289)', '2026-07-17 17:22:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814314 -3.502182)'), GeomFromEWKT('SRID=4674;POINT (-38.814372 -3.502289)'))) / (select extract(epoch from '2026-07-17 17:22:10'::timestamp) - extract(epoch from '2026-07-17 17:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814314 -3.502182)'), GeomFromEWKT('SRID=4674;POINT (-38.814372 -3.502289)'))) / (select extract(epoch from '2026-07-17 17:22:10'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47317, 'SRID=4674;POINT (-38.814442 -3.502428)', '2026-07-17 17:22:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814372 -3.502289)'), GeomFromEWKT('SRID=4674;POINT (-38.814442 -3.502428)'))) / (select extract(epoch from '2026-07-17 17:22:16'::timestamp) - extract(epoch from '2026-07-17 17:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814372 -3.502289)'), GeomFromEWKT('SRID=4674;POINT (-38.814442 -3.502428)'))) / (select extract(epoch from '2026-07-17 17:22:16'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47317, 'SRID=4674;POINT (-38.814497 -3.502551)', '2026-07-17 17:22:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814442 -3.502428)'), GeomFromEWKT('SRID=4674;POINT (-38.814497 -3.502551)'))) / (select extract(epoch from '2026-07-17 17:22:22'::timestamp) - extract(epoch from '2026-07-17 17:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814442 -3.502428)'), GeomFromEWKT('SRID=4674;POINT (-38.814497 -3.502551)'))) / (select extract(epoch from '2026-07-17 17:22:22'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47317, 'SRID=4674;POINT (-38.814564 -3.502686)', '2026-07-17 17:22:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814497 -3.502551)'), GeomFromEWKT('SRID=4674;POINT (-38.814564 -3.502686)'))) / (select extract(epoch from '2026-07-17 17:22:28'::timestamp) - extract(epoch from '2026-07-17 17:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814497 -3.502551)'), GeomFromEWKT('SRID=4674;POINT (-38.814564 -3.502686)'))) / (select extract(epoch from '2026-07-17 17:22:28'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47317, 'SRID=4674;POINT (-38.814638 -3.502864)', '2026-07-17 17:22:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814564 -3.502686)'), GeomFromEWKT('SRID=4674;POINT (-38.814638 -3.502864)'))) / (select extract(epoch from '2026-07-17 17:22:36'::timestamp) - extract(epoch from '2026-07-17 17:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814564 -3.502686)'), GeomFromEWKT('SRID=4674;POINT (-38.814638 -3.502864)'))) / (select extract(epoch from '2026-07-17 17:22:36'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47317, 'SRID=4674;POINT (-38.814704 -3.503018)', '2026-07-17 17:22:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814638 -3.502864)'), GeomFromEWKT('SRID=4674;POINT (-38.814704 -3.503018)'))) / (select extract(epoch from '2026-07-17 17:22:43'::timestamp) - extract(epoch from '2026-07-17 17:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814638 -3.502864)'), GeomFromEWKT('SRID=4674;POINT (-38.814704 -3.503018)'))) / (select extract(epoch from '2026-07-17 17:22:43'::timestamp) - extract(epoch from '2026-07-17 17:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.814756 -3.503126)', '2026-07-17 17:22:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814704 -3.503018)'), GeomFromEWKT('SRID=4674;POINT (-38.814756 -3.503126)'))) / (select extract(epoch from '2026-07-17 17:22:48'::timestamp) - extract(epoch from '2026-07-17 17:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814704 -3.503018)'), GeomFromEWKT('SRID=4674;POINT (-38.814756 -3.503126)'))) / (select extract(epoch from '2026-07-17 17:22:48'::timestamp) - extract(epoch from '2026-07-17 17:22: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'), 47317, 'SRID=4674;POINT (-38.81484 -3.503271)', '2026-07-17 17:22:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814756 -3.503126)'), GeomFromEWKT('SRID=4674;POINT (-38.81484 -3.503271)'))) / (select extract(epoch from '2026-07-17 17:22:54'::timestamp) - extract(epoch from '2026-07-17 17:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814756 -3.503126)'), GeomFromEWKT('SRID=4674;POINT (-38.81484 -3.503271)'))) / (select extract(epoch from '2026-07-17 17:22:54'::timestamp) - extract(epoch from '2026-07-17 17:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.814937 -3.503428)', '2026-07-17 17:23:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81484 -3.503271)'), GeomFromEWKT('SRID=4674;POINT (-38.814937 -3.503428)'))) / (select extract(epoch from '2026-07-17 17:23:02'::timestamp) - extract(epoch from '2026-07-17 17:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81484 -3.503271)'), GeomFromEWKT('SRID=4674;POINT (-38.814937 -3.503428)'))) / (select extract(epoch from '2026-07-17 17:23:02'::timestamp) - extract(epoch from '2026-07-17 17:22:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.815013 -3.503552)', '2026-07-17 17:23:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814937 -3.503428)'), GeomFromEWKT('SRID=4674;POINT (-38.815013 -3.503552)'))) / (select extract(epoch from '2026-07-17 17:23:08'::timestamp) - extract(epoch from '2026-07-17 17:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814937 -3.503428)'), GeomFromEWKT('SRID=4674;POINT (-38.815013 -3.503552)'))) / (select extract(epoch from '2026-07-17 17:23:08'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47317, 'SRID=4674;POINT (-38.815095 -3.503701)', '2026-07-17 17:23:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815013 -3.503552)'), GeomFromEWKT('SRID=4674;POINT (-38.815095 -3.503701)'))) / (select extract(epoch from '2026-07-17 17:23:15'::timestamp) - extract(epoch from '2026-07-17 17:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815013 -3.503552)'), GeomFromEWKT('SRID=4674;POINT (-38.815095 -3.503701)'))) / (select extract(epoch from '2026-07-17 17:23:15'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47317, 'SRID=4674;POINT (-38.815182 -3.503865)', '2026-07-17 17:23:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815095 -3.503701)'), GeomFromEWKT('SRID=4674;POINT (-38.815182 -3.503865)'))) / (select extract(epoch from '2026-07-17 17:23:22'::timestamp) - extract(epoch from '2026-07-17 17:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815095 -3.503701)'), GeomFromEWKT('SRID=4674;POINT (-38.815182 -3.503865)'))) / (select extract(epoch from '2026-07-17 17:23:22'::timestamp) - extract(epoch from '2026-07-17 17:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.815247 -3.50403)', '2026-07-17 17:23:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815182 -3.503865)'), GeomFromEWKT('SRID=4674;POINT (-38.815247 -3.50403)'))) / (select extract(epoch from '2026-07-17 17:23:29'::timestamp) - extract(epoch from '2026-07-17 17:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815182 -3.503865)'), GeomFromEWKT('SRID=4674;POINT (-38.815247 -3.50403)'))) / (select extract(epoch from '2026-07-17 17:23:29'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47317, 'SRID=4674;POINT (-38.815358 -3.504186)', '2026-07-17 17:23:36', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815247 -3.50403)'), GeomFromEWKT('SRID=4674;POINT (-38.815358 -3.504186)'))) / (select extract(epoch from '2026-07-17 17:23:36'::timestamp) - extract(epoch from '2026-07-17 17:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815247 -3.50403)'), GeomFromEWKT('SRID=4674;POINT (-38.815358 -3.504186)'))) / (select extract(epoch from '2026-07-17 17:23:36'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47317, 'SRID=4674;POINT (-38.815431 -3.504326)', '2026-07-17 17:23:42', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815358 -3.504186)'), GeomFromEWKT('SRID=4674;POINT (-38.815431 -3.504326)'))) / (select extract(epoch from '2026-07-17 17:23:42'::timestamp) - extract(epoch from '2026-07-17 17:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815358 -3.504186)'), GeomFromEWKT('SRID=4674;POINT (-38.815431 -3.504326)'))) / (select extract(epoch from '2026-07-17 17:23:42'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47317, 'SRID=4674;POINT (-38.815502 -3.50448)', '2026-07-17 17:23:49', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815431 -3.504326)'), GeomFromEWKT('SRID=4674;POINT (-38.815502 -3.50448)'))) / (select extract(epoch from '2026-07-17 17:23:49'::timestamp) - extract(epoch from '2026-07-17 17:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815431 -3.504326)'), GeomFromEWKT('SRID=4674;POINT (-38.815502 -3.50448)'))) / (select extract(epoch from '2026-07-17 17:23:49'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47317, 'SRID=4674;POINT (-38.815565 -3.504611)', '2026-07-17 17:23:55', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815502 -3.50448)'), GeomFromEWKT('SRID=4674;POINT (-38.815565 -3.504611)'))) / (select extract(epoch from '2026-07-17 17:23:55'::timestamp) - extract(epoch from '2026-07-17 17:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815502 -3.50448)'), GeomFromEWKT('SRID=4674;POINT (-38.815565 -3.504611)'))) / (select extract(epoch from '2026-07-17 17:23:55'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.815614 -3.504724)', '2026-07-17 17:24:00', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815565 -3.504611)'), GeomFromEWKT('SRID=4674;POINT (-38.815614 -3.504724)'))) / (select extract(epoch from '2026-07-17 17:24:00'::timestamp) - extract(epoch from '2026-07-17 17:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815565 -3.504611)'), GeomFromEWKT('SRID=4674;POINT (-38.815614 -3.504724)'))) / (select extract(epoch from '2026-07-17 17:24:00'::timestamp) - extract(epoch from '2026-07-17 17:23: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'), 47317, 'SRID=4674;POINT (-38.815671 -3.504883)', '2026-07-17 17:24:07', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815614 -3.504724)'), GeomFromEWKT('SRID=4674;POINT (-38.815671 -3.504883)'))) / (select extract(epoch from '2026-07-17 17:24:07'::timestamp) - extract(epoch from '2026-07-17 17:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815614 -3.504724)'), GeomFromEWKT('SRID=4674;POINT (-38.815671 -3.504883)'))) / (select extract(epoch from '2026-07-17 17:24:07'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47317, 'SRID=4674;POINT (-38.815738 -3.505003)', '2026-07-17 17:24:13', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815671 -3.504883)'), GeomFromEWKT('SRID=4674;POINT (-38.815738 -3.505003)'))) / (select extract(epoch from '2026-07-17 17:24:13'::timestamp) - extract(epoch from '2026-07-17 17:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815671 -3.504883)'), GeomFromEWKT('SRID=4674;POINT (-38.815738 -3.505003)'))) / (select extract(epoch from '2026-07-17 17:24:13'::timestamp) - extract(epoch from '2026-07-17 17:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.815783 -3.505127)', '2026-07-17 17:24:19', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815738 -3.505003)'), GeomFromEWKT('SRID=4674;POINT (-38.815783 -3.505127)'))) / (select extract(epoch from '2026-07-17 17:24:19'::timestamp) - extract(epoch from '2026-07-17 17:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815738 -3.505003)'), GeomFromEWKT('SRID=4674;POINT (-38.815783 -3.505127)'))) / (select extract(epoch from '2026-07-17 17:24:19'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47317, 'SRID=4674;POINT (-38.815835 -3.505287)', '2026-07-17 17:24:26', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815783 -3.505127)'), GeomFromEWKT('SRID=4674;POINT (-38.815835 -3.505287)'))) / (select extract(epoch from '2026-07-17 17:24:26'::timestamp) - extract(epoch from '2026-07-17 17:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815783 -3.505127)'), GeomFromEWKT('SRID=4674;POINT (-38.815835 -3.505287)'))) / (select extract(epoch from '2026-07-17 17:24:26'::timestamp) - extract(epoch from '2026-07-17 17:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.815902 -3.505419)', '2026-07-17 17:24:32', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815835 -3.505287)'), GeomFromEWKT('SRID=4674;POINT (-38.815902 -3.505419)'))) / (select extract(epoch from '2026-07-17 17:24:32'::timestamp) - extract(epoch from '2026-07-17 17:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815835 -3.505287)'), GeomFromEWKT('SRID=4674;POINT (-38.815902 -3.505419)'))) / (select extract(epoch from '2026-07-17 17:24:32'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47317, 'SRID=4674;POINT (-38.815957 -3.505523)', '2026-07-17 17:24:37', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815902 -3.505419)'), GeomFromEWKT('SRID=4674;POINT (-38.815957 -3.505523)'))) / (select extract(epoch from '2026-07-17 17:24:37'::timestamp) - extract(epoch from '2026-07-17 17:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815902 -3.505419)'), GeomFromEWKT('SRID=4674;POINT (-38.815957 -3.505523)'))) / (select extract(epoch from '2026-07-17 17:24:37'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47317, 'SRID=4674;POINT (-38.816043 -3.505652)', '2026-07-17 17:24:43', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815957 -3.505523)'), GeomFromEWKT('SRID=4674;POINT (-38.816043 -3.505652)'))) / (select extract(epoch from '2026-07-17 17:24:43'::timestamp) - extract(epoch from '2026-07-17 17:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815957 -3.505523)'), GeomFromEWKT('SRID=4674;POINT (-38.816043 -3.505652)'))) / (select extract(epoch from '2026-07-17 17:24:43'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47317, 'SRID=4674;POINT (-38.816099 -3.505753)', '2026-07-17 17:24:48', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816043 -3.505652)'), GeomFromEWKT('SRID=4674;POINT (-38.816099 -3.505753)'))) / (select extract(epoch from '2026-07-17 17:24:48'::timestamp) - extract(epoch from '2026-07-17 17:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816043 -3.505652)'), GeomFromEWKT('SRID=4674;POINT (-38.816099 -3.505753)'))) / (select extract(epoch from '2026-07-17 17:24:48'::timestamp) - extract(epoch from '2026-07-17 17:24: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'), 47317, 'SRID=4674;POINT (-38.816146 -3.505856)', '2026-07-17 17:24:53', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816099 -3.505753)'), GeomFromEWKT('SRID=4674;POINT (-38.816146 -3.505856)'))) / (select extract(epoch from '2026-07-17 17:24:53'::timestamp) - extract(epoch from '2026-07-17 17:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816099 -3.505753)'), GeomFromEWKT('SRID=4674;POINT (-38.816146 -3.505856)'))) / (select extract(epoch from '2026-07-17 17:24:53'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.816195 -3.505982)', '2026-07-17 17:24:59', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816146 -3.505856)'), GeomFromEWKT('SRID=4674;POINT (-38.816195 -3.505982)'))) / (select extract(epoch from '2026-07-17 17:24:59'::timestamp) - extract(epoch from '2026-07-17 17:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816146 -3.505856)'), GeomFromEWKT('SRID=4674;POINT (-38.816195 -3.505982)'))) / (select extract(epoch from '2026-07-17 17:24:59'::timestamp) - extract(epoch from '2026-07-17 17:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.816257 -3.506142)', '2026-07-17 17:25:06', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816195 -3.505982)'), GeomFromEWKT('SRID=4674;POINT (-38.816257 -3.506142)'))) / (select extract(epoch from '2026-07-17 17:25:06'::timestamp) - extract(epoch from '2026-07-17 17:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816195 -3.505982)'), GeomFromEWKT('SRID=4674;POINT (-38.816257 -3.506142)'))) / (select extract(epoch from '2026-07-17 17:25:06'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.816295 -3.506242)', '2026-07-17 17:25:11', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816257 -3.506142)'), GeomFromEWKT('SRID=4674;POINT (-38.816295 -3.506242)'))) / (select extract(epoch from '2026-07-17 17:25:11'::timestamp) - extract(epoch from '2026-07-17 17:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816257 -3.506142)'), GeomFromEWKT('SRID=4674;POINT (-38.816295 -3.506242)'))) / (select extract(epoch from '2026-07-17 17:25:11'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47317, 'SRID=4674;POINT (-38.816349 -3.506367)', '2026-07-17 17:25:17', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816295 -3.506242)'), GeomFromEWKT('SRID=4674;POINT (-38.816349 -3.506367)'))) / (select extract(epoch from '2026-07-17 17:25:17'::timestamp) - extract(epoch from '2026-07-17 17:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816295 -3.506242)'), GeomFromEWKT('SRID=4674;POINT (-38.816349 -3.506367)'))) / (select extract(epoch from '2026-07-17 17:25:17'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47317, 'SRID=4674;POINT (-38.816404 -3.50648)', '2026-07-17 17:25:22', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816349 -3.506367)'), GeomFromEWKT('SRID=4674;POINT (-38.816404 -3.50648)'))) / (select extract(epoch from '2026-07-17 17:25:22'::timestamp) - extract(epoch from '2026-07-17 17:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816349 -3.506367)'), GeomFromEWKT('SRID=4674;POINT (-38.816404 -3.50648)'))) / (select extract(epoch from '2026-07-17 17:25:22'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.816457 -3.506607)', '2026-07-17 17:25:28', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816404 -3.50648)'), GeomFromEWKT('SRID=4674;POINT (-38.816457 -3.506607)'))) / (select extract(epoch from '2026-07-17 17:25:28'::timestamp) - extract(epoch from '2026-07-17 17:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816404 -3.50648)'), GeomFromEWKT('SRID=4674;POINT (-38.816457 -3.506607)'))) / (select extract(epoch from '2026-07-17 17:25:28'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47317, 'SRID=4674;POINT (-38.816528 -3.506763)', '2026-07-17 17:25:36', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816457 -3.506607)'), GeomFromEWKT('SRID=4674;POINT (-38.816528 -3.506763)'))) / (select extract(epoch from '2026-07-17 17:25:36'::timestamp) - extract(epoch from '2026-07-17 17:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816457 -3.506607)'), GeomFromEWKT('SRID=4674;POINT (-38.816528 -3.506763)'))) / (select extract(epoch from '2026-07-17 17:25:36'::timestamp) - extract(epoch from '2026-07-17 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'), 47317, 'SRID=4674;POINT (-38.816558 -3.506863)', '2026-07-17 17:25:41', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816528 -3.506763)'), GeomFromEWKT('SRID=4674;POINT (-38.816558 -3.506863)'))) / (select extract(epoch from '2026-07-17 17:25:41'::timestamp) - extract(epoch from '2026-07-17 17:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816528 -3.506763)'), GeomFromEWKT('SRID=4674;POINT (-38.816558 -3.506863)'))) / (select extract(epoch from '2026-07-17 17:25:41'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47317, 'SRID=4674;POINT (-38.816639 -3.507017)', '2026-07-17 17:25:48', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816558 -3.506863)'), GeomFromEWKT('SRID=4674;POINT (-38.816639 -3.507017)'))) / (select extract(epoch from '2026-07-17 17:25:48'::timestamp) - extract(epoch from '2026-07-17 17:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816558 -3.506863)'), GeomFromEWKT('SRID=4674;POINT (-38.816639 -3.507017)'))) / (select extract(epoch from '2026-07-17 17:25:48'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47317, 'SRID=4674;POINT (-38.816719 -3.507165)', '2026-07-17 17:25:55', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816639 -3.507017)'), GeomFromEWKT('SRID=4674;POINT (-38.816719 -3.507165)'))) / (select extract(epoch from '2026-07-17 17:25:55'::timestamp) - extract(epoch from '2026-07-17 17:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816639 -3.507017)'), GeomFromEWKT('SRID=4674;POINT (-38.816719 -3.507165)'))) / (select extract(epoch from '2026-07-17 17:25:55'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47317, 'SRID=4674;POINT (-38.816792 -3.507295)', '2026-07-17 17:26:01', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816719 -3.507165)'), GeomFromEWKT('SRID=4674;POINT (-38.816792 -3.507295)'))) / (select extract(epoch from '2026-07-17 17:26:01'::timestamp) - extract(epoch from '2026-07-17 17:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816719 -3.507165)'), GeomFromEWKT('SRID=4674;POINT (-38.816792 -3.507295)'))) / (select extract(epoch from '2026-07-17 17:26:01'::timestamp) - extract(epoch from '2026-07-17 17:25: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'), 47317, 'SRID=4674;POINT (-38.816845 -3.50743)', '2026-07-17 17:26:07', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816792 -3.507295)'), GeomFromEWKT('SRID=4674;POINT (-38.816845 -3.50743)'))) / (select extract(epoch from '2026-07-17 17:26:07'::timestamp) - extract(epoch from '2026-07-17 17:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816792 -3.507295)'), GeomFromEWKT('SRID=4674;POINT (-38.816845 -3.50743)'))) / (select extract(epoch from '2026-07-17 17:26:07'::timestamp) - extract(epoch from '2026-07-17 17:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.816894 -3.507609)', '2026-07-17 17:26:15', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816845 -3.50743)'), GeomFromEWKT('SRID=4674;POINT (-38.816894 -3.507609)'))) / (select extract(epoch from '2026-07-17 17:26:15'::timestamp) - extract(epoch from '2026-07-17 17:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816845 -3.50743)'), GeomFromEWKT('SRID=4674;POINT (-38.816894 -3.507609)'))) / (select extract(epoch from '2026-07-17 17:26:15'::timestamp) - extract(epoch from '2026-07-17 17:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.816939 -3.50774)', '2026-07-17 17:26:21', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816894 -3.507609)'), GeomFromEWKT('SRID=4674;POINT (-38.816939 -3.50774)'))) / (select extract(epoch from '2026-07-17 17:26:21'::timestamp) - extract(epoch from '2026-07-17 17:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816894 -3.507609)'), GeomFromEWKT('SRID=4674;POINT (-38.816939 -3.50774)'))) / (select extract(epoch from '2026-07-17 17:26:21'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.817001 -3.507899)', '2026-07-17 17:26:29', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816939 -3.50774)'), GeomFromEWKT('SRID=4674;POINT (-38.817001 -3.507899)'))) / (select extract(epoch from '2026-07-17 17:26:29'::timestamp) - extract(epoch from '2026-07-17 17:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816939 -3.50774)'), GeomFromEWKT('SRID=4674;POINT (-38.817001 -3.507899)'))) / (select extract(epoch from '2026-07-17 17:26:29'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47317, 'SRID=4674;POINT (-38.817042 -3.508032)', '2026-07-17 17:26:35', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817001 -3.507899)'), GeomFromEWKT('SRID=4674;POINT (-38.817042 -3.508032)'))) / (select extract(epoch from '2026-07-17 17:26:35'::timestamp) - extract(epoch from '2026-07-17 17:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817001 -3.507899)'), GeomFromEWKT('SRID=4674;POINT (-38.817042 -3.508032)'))) / (select extract(epoch from '2026-07-17 17:26:35'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47317, 'SRID=4674;POINT (-38.817101 -3.508178)', '2026-07-17 17:26:41', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817042 -3.508032)'), GeomFromEWKT('SRID=4674;POINT (-38.817101 -3.508178)'))) / (select extract(epoch from '2026-07-17 17:26:41'::timestamp) - extract(epoch from '2026-07-17 17:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817042 -3.508032)'), GeomFromEWKT('SRID=4674;POINT (-38.817101 -3.508178)'))) / (select extract(epoch from '2026-07-17 17:26:41'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47317, 'SRID=4674;POINT (-38.817172 -3.508354)', '2026-07-17 17:26:49', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817101 -3.508178)'), GeomFromEWKT('SRID=4674;POINT (-38.817172 -3.508354)'))) / (select extract(epoch from '2026-07-17 17:26:49'::timestamp) - extract(epoch from '2026-07-17 17:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817101 -3.508178)'), GeomFromEWKT('SRID=4674;POINT (-38.817172 -3.508354)'))) / (select extract(epoch from '2026-07-17 17:26:49'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47317, 'SRID=4674;POINT (-38.817211 -3.508501)', '2026-07-17 17:26:55', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817172 -3.508354)'), GeomFromEWKT('SRID=4674;POINT (-38.817211 -3.508501)'))) / (select extract(epoch from '2026-07-17 17:26:55'::timestamp) - extract(epoch from '2026-07-17 17:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817172 -3.508354)'), GeomFromEWKT('SRID=4674;POINT (-38.817211 -3.508501)'))) / (select extract(epoch from '2026-07-17 17:26:55'::timestamp) - extract(epoch from '2026-07-17 17:26: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'), 47317, 'SRID=4674;POINT (-38.817279 -3.508684)', '2026-07-17 17:27:03', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817211 -3.508501)'), GeomFromEWKT('SRID=4674;POINT (-38.817279 -3.508684)'))) / (select extract(epoch from '2026-07-17 17:27:03'::timestamp) - extract(epoch from '2026-07-17 17:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817211 -3.508501)'), GeomFromEWKT('SRID=4674;POINT (-38.817279 -3.508684)'))) / (select extract(epoch from '2026-07-17 17:27:03'::timestamp) - extract(epoch from '2026-07-17 17:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.817352 -3.508853)', '2026-07-17 17:27:10', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817279 -3.508684)'), GeomFromEWKT('SRID=4674;POINT (-38.817352 -3.508853)'))) / (select extract(epoch from '2026-07-17 17:27:10'::timestamp) - extract(epoch from '2026-07-17 17:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817279 -3.508684)'), GeomFromEWKT('SRID=4674;POINT (-38.817352 -3.508853)'))) / (select extract(epoch from '2026-07-17 17:27:10'::timestamp) - extract(epoch from '2026-07-17 17:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.817433 -3.508984)', '2026-07-17 17:27:16', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817352 -3.508853)'), GeomFromEWKT('SRID=4674;POINT (-38.817433 -3.508984)'))) / (select extract(epoch from '2026-07-17 17:27:16'::timestamp) - extract(epoch from '2026-07-17 17:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817352 -3.508853)'), GeomFromEWKT('SRID=4674;POINT (-38.817433 -3.508984)'))) / (select extract(epoch from '2026-07-17 17:27:16'::timestamp) - extract(epoch from '2026-07-17 17:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.817478 -3.509096)', '2026-07-17 17:27:21', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817433 -3.508984)'), GeomFromEWKT('SRID=4674;POINT (-38.817478 -3.509096)'))) / (select extract(epoch from '2026-07-17 17:27:21'::timestamp) - extract(epoch from '2026-07-17 17:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817433 -3.508984)'), GeomFromEWKT('SRID=4674;POINT (-38.817478 -3.509096)'))) / (select extract(epoch from '2026-07-17 17:27:21'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47317, 'SRID=4674;POINT (-38.817524 -3.509243)', '2026-07-17 17:27:28', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817478 -3.509096)'), GeomFromEWKT('SRID=4674;POINT (-38.817524 -3.509243)'))) / (select extract(epoch from '2026-07-17 17:27:28'::timestamp) - extract(epoch from '2026-07-17 17:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817478 -3.509096)'), GeomFromEWKT('SRID=4674;POINT (-38.817524 -3.509243)'))) / (select extract(epoch from '2026-07-17 17:27:28'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.817543 -3.509368)', '2026-07-17 17:27:34', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817524 -3.509243)'), GeomFromEWKT('SRID=4674;POINT (-38.817543 -3.509368)'))) / (select extract(epoch from '2026-07-17 17:27:34'::timestamp) - extract(epoch from '2026-07-17 17:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817524 -3.509243)'), GeomFromEWKT('SRID=4674;POINT (-38.817543 -3.509368)'))) / (select extract(epoch from '2026-07-17 17:27:34'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47317, 'SRID=4674;POINT (-38.817585 -3.509483)', '2026-07-17 17:27:39', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817543 -3.509368)'), GeomFromEWKT('SRID=4674;POINT (-38.817585 -3.509483)'))) / (select extract(epoch from '2026-07-17 17:27:39'::timestamp) - extract(epoch from '2026-07-17 17:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817543 -3.509368)'), GeomFromEWKT('SRID=4674;POINT (-38.817585 -3.509483)'))) / (select extract(epoch from '2026-07-17 17:27:39'::timestamp) - extract(epoch from '2026-07-17 17:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.817623 -3.509649)', '2026-07-17 17:27:46', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817585 -3.509483)'), GeomFromEWKT('SRID=4674;POINT (-38.817623 -3.509649)'))) / (select extract(epoch from '2026-07-17 17:27:46'::timestamp) - extract(epoch from '2026-07-17 17:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817585 -3.509483)'), GeomFromEWKT('SRID=4674;POINT (-38.817623 -3.509649)'))) / (select extract(epoch from '2026-07-17 17:27:46'::timestamp) - extract(epoch from '2026-07-17 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'), 47317, 'SRID=4674;POINT (-38.817664 -3.509778)', '2026-07-17 17:27:52', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817623 -3.509649)'), GeomFromEWKT('SRID=4674;POINT (-38.817664 -3.509778)'))) / (select extract(epoch from '2026-07-17 17:27:52'::timestamp) - extract(epoch from '2026-07-17 17:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817623 -3.509649)'), GeomFromEWKT('SRID=4674;POINT (-38.817664 -3.509778)'))) / (select extract(epoch from '2026-07-17 17:27:52'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47317, 'SRID=4674;POINT (-38.817737 -3.509933)', '2026-07-17 17:27:59', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817664 -3.509778)'), GeomFromEWKT('SRID=4674;POINT (-38.817737 -3.509933)'))) / (select extract(epoch from '2026-07-17 17:27:59'::timestamp) - extract(epoch from '2026-07-17 17:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817664 -3.509778)'), GeomFromEWKT('SRID=4674;POINT (-38.817737 -3.509933)'))) / (select extract(epoch from '2026-07-17 17:27:59'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47317, 'SRID=4674;POINT (-38.817786 -3.510064)', '2026-07-17 17:28:05', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817737 -3.509933)'), GeomFromEWKT('SRID=4674;POINT (-38.817786 -3.510064)'))) / (select extract(epoch from '2026-07-17 17:28:05'::timestamp) - extract(epoch from '2026-07-17 17:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817737 -3.509933)'), GeomFromEWKT('SRID=4674;POINT (-38.817786 -3.510064)'))) / (select extract(epoch from '2026-07-17 17:28:05'::timestamp) - extract(epoch from '2026-07-17 17:27: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'), 47317, 'SRID=4674;POINT (-38.817859 -3.510221)', '2026-07-17 17:28:12', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817786 -3.510064)'), GeomFromEWKT('SRID=4674;POINT (-38.817859 -3.510221)'))) / (select extract(epoch from '2026-07-17 17:28:12'::timestamp) - extract(epoch from '2026-07-17 17:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817786 -3.510064)'), GeomFromEWKT('SRID=4674;POINT (-38.817859 -3.510221)'))) / (select extract(epoch from '2026-07-17 17:28:12'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47317, 'SRID=4674;POINT (-38.817909 -3.510354)', '2026-07-17 17:28:18', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817859 -3.510221)'), GeomFromEWKT('SRID=4674;POINT (-38.817909 -3.510354)'))) / (select extract(epoch from '2026-07-17 17:28:18'::timestamp) - extract(epoch from '2026-07-17 17:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817859 -3.510221)'), GeomFromEWKT('SRID=4674;POINT (-38.817909 -3.510354)'))) / (select extract(epoch from '2026-07-17 17:28:18'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47317, 'SRID=4674;POINT (-38.817968 -3.510465)', '2026-07-17 17:28:23', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817909 -3.510354)'), GeomFromEWKT('SRID=4674;POINT (-38.817968 -3.510465)'))) / (select extract(epoch from '2026-07-17 17:28:23'::timestamp) - extract(epoch from '2026-07-17 17:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817909 -3.510354)'), GeomFromEWKT('SRID=4674;POINT (-38.817968 -3.510465)'))) / (select extract(epoch from '2026-07-17 17:28:23'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47317, 'SRID=4674;POINT (-38.818057 -3.510603)', '2026-07-17 17:28:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817968 -3.510465)'), GeomFromEWKT('SRID=4674;POINT (-38.818057 -3.510603)'))) / (select extract(epoch from '2026-07-17 17:28:30'::timestamp) - extract(epoch from '2026-07-17 17:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817968 -3.510465)'), GeomFromEWKT('SRID=4674;POINT (-38.818057 -3.510603)'))) / (select extract(epoch from '2026-07-17 17:28:30'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47317, 'SRID=4674;POINT (-38.818135 -3.510728)', '2026-07-17 17:28:36', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818057 -3.510603)'), GeomFromEWKT('SRID=4674;POINT (-38.818135 -3.510728)'))) / (select extract(epoch from '2026-07-17 17:28:36'::timestamp) - extract(epoch from '2026-07-17 17:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818057 -3.510603)'), GeomFromEWKT('SRID=4674;POINT (-38.818135 -3.510728)'))) / (select extract(epoch from '2026-07-17 17:28:36'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47317, 'SRID=4674;POINT (-38.818181 -3.510856)', '2026-07-17 17:28:42', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818135 -3.510728)'), GeomFromEWKT('SRID=4674;POINT (-38.818181 -3.510856)'))) / (select extract(epoch from '2026-07-17 17:28:42'::timestamp) - extract(epoch from '2026-07-17 17:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818135 -3.510728)'), GeomFromEWKT('SRID=4674;POINT (-38.818181 -3.510856)'))) / (select extract(epoch from '2026-07-17 17:28:42'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47317, 'SRID=4674;POINT (-38.818261 -3.511019)', '2026-07-17 17:28:50', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818181 -3.510856)'), GeomFromEWKT('SRID=4674;POINT (-38.818261 -3.511019)'))) / (select extract(epoch from '2026-07-17 17:28:50'::timestamp) - extract(epoch from '2026-07-17 17:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818181 -3.510856)'), GeomFromEWKT('SRID=4674;POINT (-38.818261 -3.511019)'))) / (select extract(epoch from '2026-07-17 17:28:50'::timestamp) - extract(epoch from '2026-07-17 17:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.818331 -3.511168)', '2026-07-17 17:28:57', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818261 -3.511019)'), GeomFromEWKT('SRID=4674;POINT (-38.818331 -3.511168)'))) / (select extract(epoch from '2026-07-17 17:28:57'::timestamp) - extract(epoch from '2026-07-17 17:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818261 -3.511019)'), GeomFromEWKT('SRID=4674;POINT (-38.818331 -3.511168)'))) / (select extract(epoch from '2026-07-17 17:28:57'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.818401 -3.511318)', '2026-07-17 17:29:04', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818331 -3.511168)'), GeomFromEWKT('SRID=4674;POINT (-38.818401 -3.511318)'))) / (select extract(epoch from '2026-07-17 17:29:04'::timestamp) - extract(epoch from '2026-07-17 17:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818331 -3.511168)'), GeomFromEWKT('SRID=4674;POINT (-38.818401 -3.511318)'))) / (select extract(epoch from '2026-07-17 17:29:04'::timestamp) - extract(epoch from '2026-07-17 17:28: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'), 47317, 'SRID=4674;POINT (-38.818467 -3.511475)', '2026-07-17 17:29:11', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818401 -3.511318)'), GeomFromEWKT('SRID=4674;POINT (-38.818467 -3.511475)'))) / (select extract(epoch from '2026-07-17 17:29:11'::timestamp) - extract(epoch from '2026-07-17 17:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818401 -3.511318)'), GeomFromEWKT('SRID=4674;POINT (-38.818467 -3.511475)'))) / (select extract(epoch from '2026-07-17 17:29:11'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47317, 'SRID=4674;POINT (-38.818521 -3.511634)', '2026-07-17 17:29:19', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818467 -3.511475)'), GeomFromEWKT('SRID=4674;POINT (-38.818521 -3.511634)'))) / (select extract(epoch from '2026-07-17 17:29:19'::timestamp) - extract(epoch from '2026-07-17 17:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818467 -3.511475)'), GeomFromEWKT('SRID=4674;POINT (-38.818521 -3.511634)'))) / (select extract(epoch from '2026-07-17 17:29:19'::timestamp) - extract(epoch from '2026-07-17 17:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.818573 -3.51174)', '2026-07-17 17:29:25', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818521 -3.511634)'), GeomFromEWKT('SRID=4674;POINT (-38.818573 -3.51174)'))) / (select extract(epoch from '2026-07-17 17:29:25'::timestamp) - extract(epoch from '2026-07-17 17:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818521 -3.511634)'), GeomFromEWKT('SRID=4674;POINT (-38.818573 -3.51174)'))) / (select extract(epoch from '2026-07-17 17:29:25'::timestamp) - extract(epoch from '2026-07-17 17:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.818652 -3.511891)', '2026-07-17 17:29:32', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818573 -3.51174)'), GeomFromEWKT('SRID=4674;POINT (-38.818652 -3.511891)'))) / (select extract(epoch from '2026-07-17 17:29:32'::timestamp) - extract(epoch from '2026-07-17 17:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818573 -3.51174)'), GeomFromEWKT('SRID=4674;POINT (-38.818652 -3.511891)'))) / (select extract(epoch from '2026-07-17 17:29:32'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47317, 'SRID=4674;POINT (-38.818722 -3.512082)', '2026-07-17 17:29:40', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818652 -3.511891)'), GeomFromEWKT('SRID=4674;POINT (-38.818722 -3.512082)'))) / (select extract(epoch from '2026-07-17 17:29:40'::timestamp) - extract(epoch from '2026-07-17 17:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818652 -3.511891)'), GeomFromEWKT('SRID=4674;POINT (-38.818722 -3.512082)'))) / (select extract(epoch from '2026-07-17 17:29:40'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47317, 'SRID=4674;POINT (-38.818801 -3.512231)', '2026-07-17 17:29:47', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818722 -3.512082)'), GeomFromEWKT('SRID=4674;POINT (-38.818801 -3.512231)'))) / (select extract(epoch from '2026-07-17 17:29:47'::timestamp) - extract(epoch from '2026-07-17 17:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818722 -3.512082)'), GeomFromEWKT('SRID=4674;POINT (-38.818801 -3.512231)'))) / (select extract(epoch from '2026-07-17 17:29:47'::timestamp) - extract(epoch from '2026-07-17 17:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.818865 -3.512347)', '2026-07-17 17:29:53', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818801 -3.512231)'), GeomFromEWKT('SRID=4674;POINT (-38.818865 -3.512347)'))) / (select extract(epoch from '2026-07-17 17:29:53'::timestamp) - extract(epoch from '2026-07-17 17:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818801 -3.512231)'), GeomFromEWKT('SRID=4674;POINT (-38.818865 -3.512347)'))) / (select extract(epoch from '2026-07-17 17:29:53'::timestamp) - extract(epoch from '2026-07-17 17:29: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'), 47317, 'SRID=4674;POINT (-38.818917 -3.512493)', '2026-07-17 17:30:00', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818865 -3.512347)'), GeomFromEWKT('SRID=4674;POINT (-38.818917 -3.512493)'))) / (select extract(epoch from '2026-07-17 17:30:00'::timestamp) - extract(epoch from '2026-07-17 17:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818865 -3.512347)'), GeomFromEWKT('SRID=4674;POINT (-38.818917 -3.512493)'))) / (select extract(epoch from '2026-07-17 17:30:00'::timestamp) - extract(epoch from '2026-07-17 17:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.818961 -3.512636)', '2026-07-17 17:30:06', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818917 -3.512493)'), GeomFromEWKT('SRID=4674;POINT (-38.818961 -3.512636)'))) / (select extract(epoch from '2026-07-17 17:30:06'::timestamp) - extract(epoch from '2026-07-17 17:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818917 -3.512493)'), GeomFromEWKT('SRID=4674;POINT (-38.818961 -3.512636)'))) / (select extract(epoch from '2026-07-17 17:30:06'::timestamp) - extract(epoch from '2026-07-17 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'), 47317, 'SRID=4674;POINT (-38.819016 -3.5128)', '2026-07-17 17:30:14', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818961 -3.512636)'), GeomFromEWKT('SRID=4674;POINT (-38.819016 -3.5128)'))) / (select extract(epoch from '2026-07-17 17:30:14'::timestamp) - extract(epoch from '2026-07-17 17:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818961 -3.512636)'), GeomFromEWKT('SRID=4674;POINT (-38.819016 -3.5128)'))) / (select extract(epoch from '2026-07-17 17:30:14'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.819081 -3.512968)', '2026-07-17 17:30:22', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819016 -3.5128)'), GeomFromEWKT('SRID=4674;POINT (-38.819081 -3.512968)'))) / (select extract(epoch from '2026-07-17 17:30:22'::timestamp) - extract(epoch from '2026-07-17 17:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819016 -3.5128)'), GeomFromEWKT('SRID=4674;POINT (-38.819081 -3.512968)'))) / (select extract(epoch from '2026-07-17 17:30:22'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47317, 'SRID=4674;POINT (-38.819125 -3.51309)', '2026-07-17 17:30:28', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819081 -3.512968)'), GeomFromEWKT('SRID=4674;POINT (-38.819125 -3.51309)'))) / (select extract(epoch from '2026-07-17 17:30:28'::timestamp) - extract(epoch from '2026-07-17 17:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819081 -3.512968)'), GeomFromEWKT('SRID=4674;POINT (-38.819125 -3.51309)'))) / (select extract(epoch from '2026-07-17 17:30:28'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47317, 'SRID=4674;POINT (-38.819177 -3.513222)', '2026-07-17 17:30:34', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819125 -3.51309)'), GeomFromEWKT('SRID=4674;POINT (-38.819177 -3.513222)'))) / (select extract(epoch from '2026-07-17 17:30:34'::timestamp) - extract(epoch from '2026-07-17 17:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819125 -3.51309)'), GeomFromEWKT('SRID=4674;POINT (-38.819177 -3.513222)'))) / (select extract(epoch from '2026-07-17 17:30:34'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.819209 -3.51335)', '2026-07-17 17:30:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819177 -3.513222)'), GeomFromEWKT('SRID=4674;POINT (-38.819209 -3.51335)'))) / (select extract(epoch from '2026-07-17 17:30:40'::timestamp) - extract(epoch from '2026-07-17 17:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819177 -3.513222)'), GeomFromEWKT('SRID=4674;POINT (-38.819209 -3.51335)'))) / (select extract(epoch from '2026-07-17 17:30:40'::timestamp) - extract(epoch from '2026-07-17 17:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.819259 -3.513498)', '2026-07-17 17:30:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819209 -3.51335)'), GeomFromEWKT('SRID=4674;POINT (-38.819259 -3.513498)'))) / (select extract(epoch from '2026-07-17 17:30:47'::timestamp) - extract(epoch from '2026-07-17 17:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819209 -3.51335)'), GeomFromEWKT('SRID=4674;POINT (-38.819259 -3.513498)'))) / (select extract(epoch from '2026-07-17 17:30:47'::timestamp) - extract(epoch from '2026-07-17 17:30: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'), 47317, 'SRID=4674;POINT (-38.819303 -3.513629)', '2026-07-17 17:30:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819259 -3.513498)'), GeomFromEWKT('SRID=4674;POINT (-38.819303 -3.513629)'))) / (select extract(epoch from '2026-07-17 17:30:53'::timestamp) - extract(epoch from '2026-07-17 17:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819259 -3.513498)'), GeomFromEWKT('SRID=4674;POINT (-38.819303 -3.513629)'))) / (select extract(epoch from '2026-07-17 17:30:53'::timestamp) - extract(epoch from '2026-07-17 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'), 47317, 'SRID=4674;POINT (-38.819358 -3.513775)', '2026-07-17 17:31:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819303 -3.513629)'), GeomFromEWKT('SRID=4674;POINT (-38.819358 -3.513775)'))) / (select extract(epoch from '2026-07-17 17:31:00'::timestamp) - extract(epoch from '2026-07-17 17:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819303 -3.513629)'), GeomFromEWKT('SRID=4674;POINT (-38.819358 -3.513775)'))) / (select extract(epoch from '2026-07-17 17:31:00'::timestamp) - extract(epoch from '2026-07-17 17:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.819401 -3.513883)', '2026-07-17 17:31:06', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819358 -3.513775)'), GeomFromEWKT('SRID=4674;POINT (-38.819401 -3.513883)'))) / (select extract(epoch from '2026-07-17 17:31:06'::timestamp) - extract(epoch from '2026-07-17 17:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819358 -3.513775)'), GeomFromEWKT('SRID=4674;POINT (-38.819401 -3.513883)'))) / (select extract(epoch from '2026-07-17 17:31:06'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47317, 'SRID=4674;POINT (-38.819459 -3.514048)', '2026-07-17 17:31:14', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819401 -3.513883)'), GeomFromEWKT('SRID=4674;POINT (-38.819459 -3.514048)'))) / (select extract(epoch from '2026-07-17 17:31:14'::timestamp) - extract(epoch from '2026-07-17 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819401 -3.513883)'), GeomFromEWKT('SRID=4674;POINT (-38.819459 -3.514048)'))) / (select extract(epoch from '2026-07-17 17:31:14'::timestamp) - extract(epoch from '2026-07-17 17:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.819475 -3.514145)', '2026-07-17 17:31:19', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819459 -3.514048)'), GeomFromEWKT('SRID=4674;POINT (-38.819475 -3.514145)'))) / (select extract(epoch from '2026-07-17 17:31:19'::timestamp) - extract(epoch from '2026-07-17 17:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819459 -3.514048)'), GeomFromEWKT('SRID=4674;POINT (-38.819475 -3.514145)'))) / (select extract(epoch from '2026-07-17 17:31:19'::timestamp) - extract(epoch from '2026-07-17 17:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.819531 -3.514295)', '2026-07-17 17:31:27', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819475 -3.514145)'), GeomFromEWKT('SRID=4674;POINT (-38.819531 -3.514295)'))) / (select extract(epoch from '2026-07-17 17:31:27'::timestamp) - extract(epoch from '2026-07-17 17:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819475 -3.514145)'), GeomFromEWKT('SRID=4674;POINT (-38.819531 -3.514295)'))) / (select extract(epoch from '2026-07-17 17:31:27'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47317, 'SRID=4674;POINT (-38.819584 -3.514425)', '2026-07-17 17:31:33', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819531 -3.514295)'), GeomFromEWKT('SRID=4674;POINT (-38.819584 -3.514425)'))) / (select extract(epoch from '2026-07-17 17:31:33'::timestamp) - extract(epoch from '2026-07-17 17:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819531 -3.514295)'), GeomFromEWKT('SRID=4674;POINT (-38.819584 -3.514425)'))) / (select extract(epoch from '2026-07-17 17:31:33'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47317, 'SRID=4674;POINT (-38.819654 -3.514556)', '2026-07-17 17:31:40', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819584 -3.514425)'), GeomFromEWKT('SRID=4674;POINT (-38.819654 -3.514556)'))) / (select extract(epoch from '2026-07-17 17:31:40'::timestamp) - extract(epoch from '2026-07-17 17:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819584 -3.514425)'), GeomFromEWKT('SRID=4674;POINT (-38.819654 -3.514556)'))) / (select extract(epoch from '2026-07-17 17:31:40'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47317, 'SRID=4674;POINT (-38.819712 -3.514685)', '2026-07-17 17:31:46', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819654 -3.514556)'), GeomFromEWKT('SRID=4674;POINT (-38.819712 -3.514685)'))) / (select extract(epoch from '2026-07-17 17:31:46'::timestamp) - extract(epoch from '2026-07-17 17:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819654 -3.514556)'), GeomFromEWKT('SRID=4674;POINT (-38.819712 -3.514685)'))) / (select extract(epoch from '2026-07-17 17:31:46'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47317, 'SRID=4674;POINT (-38.81977 -3.514821)', '2026-07-17 17:31:52', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819712 -3.514685)'), GeomFromEWKT('SRID=4674;POINT (-38.81977 -3.514821)'))) / (select extract(epoch from '2026-07-17 17:31:52'::timestamp) - extract(epoch from '2026-07-17 17:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819712 -3.514685)'), GeomFromEWKT('SRID=4674;POINT (-38.81977 -3.514821)'))) / (select extract(epoch from '2026-07-17 17:31:52'::timestamp) - extract(epoch from '2026-07-17 17:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
