 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.369476 -2.798504)', '2026-06-05 14:54:51', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369301 -2.798541)'), GeomFromEWKT('SRID=4674;POINT (-40.369476 -2.798504)'))) / (select extract(epoch from '2026-06-05 14:54:51'::timestamp) - extract(epoch from '2026-06-05 14:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369301 -2.798541)'), GeomFromEWKT('SRID=4674;POINT (-40.369476 -2.798504)'))) / (select extract(epoch from '2026-06-05 14:54:51'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.369608 -2.798467)', '2026-06-05 14:54:57', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369476 -2.798504)'), GeomFromEWKT('SRID=4674;POINT (-40.369608 -2.798467)'))) / (select extract(epoch from '2026-06-05 14:54:57'::timestamp) - extract(epoch from '2026-06-05 14:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369476 -2.798504)'), GeomFromEWKT('SRID=4674;POINT (-40.369608 -2.798467)'))) / (select extract(epoch from '2026-06-05 14:54:57'::timestamp) - extract(epoch from '2026-06-05 14:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.369806 -2.798401)', '2026-06-05 14:55:06', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369608 -2.798467)'), GeomFromEWKT('SRID=4674;POINT (-40.369806 -2.798401)'))) / (select extract(epoch from '2026-06-05 14:55:06'::timestamp) - extract(epoch from '2026-06-05 14:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369608 -2.798467)'), GeomFromEWKT('SRID=4674;POINT (-40.369806 -2.798401)'))) / (select extract(epoch from '2026-06-05 14:55:06'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.369953 -2.798331)', '2026-06-05 14:55:13', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369806 -2.798401)'), GeomFromEWKT('SRID=4674;POINT (-40.369953 -2.798331)'))) / (select extract(epoch from '2026-06-05 14:55:13'::timestamp) - extract(epoch from '2026-06-05 14:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369806 -2.798401)'), GeomFromEWKT('SRID=4674;POINT (-40.369953 -2.798331)'))) / (select extract(epoch from '2026-06-05 14:55:13'::timestamp) - extract(epoch from '2026-06-05 14:55: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'), 46721, 'SRID=4674;POINT (-40.370072 -2.798264)', '2026-06-05 14:55:19', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369953 -2.798331)'), GeomFromEWKT('SRID=4674;POINT (-40.370072 -2.798264)'))) / (select extract(epoch from '2026-06-05 14:55:19'::timestamp) - extract(epoch from '2026-06-05 14:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369953 -2.798331)'), GeomFromEWKT('SRID=4674;POINT (-40.370072 -2.798264)'))) / (select extract(epoch from '2026-06-05 14:55:19'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.370227 -2.798184)', '2026-06-05 14:55:27', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370072 -2.798264)'), GeomFromEWKT('SRID=4674;POINT (-40.370227 -2.798184)'))) / (select extract(epoch from '2026-06-05 14:55:27'::timestamp) - extract(epoch from '2026-06-05 14:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370072 -2.798264)'), GeomFromEWKT('SRID=4674;POINT (-40.370227 -2.798184)'))) / (select extract(epoch from '2026-06-05 14:55:27'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.370342 -2.798118)', '2026-06-05 14:55:33', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370227 -2.798184)'), GeomFromEWKT('SRID=4674;POINT (-40.370342 -2.798118)'))) / (select extract(epoch from '2026-06-05 14:55:33'::timestamp) - extract(epoch from '2026-06-05 14:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370227 -2.798184)'), GeomFromEWKT('SRID=4674;POINT (-40.370342 -2.798118)'))) / (select extract(epoch from '2026-06-05 14:55:33'::timestamp) - extract(epoch from '2026-06-05 14:55:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.370486 -2.798034)', '2026-06-05 14:55:40', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370342 -2.798118)'), GeomFromEWKT('SRID=4674;POINT (-40.370486 -2.798034)'))) / (select extract(epoch from '2026-06-05 14:55:40'::timestamp) - extract(epoch from '2026-06-05 14:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370342 -2.798118)'), GeomFromEWKT('SRID=4674;POINT (-40.370486 -2.798034)'))) / (select extract(epoch from '2026-06-05 14:55:40'::timestamp) - extract(epoch from '2026-06-05 14:55: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'), 46721, 'SRID=4674;POINT (-40.370625 -2.797947)', '2026-06-05 14:55:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370486 -2.798034)'), GeomFromEWKT('SRID=4674;POINT (-40.370625 -2.797947)'))) / (select extract(epoch from '2026-06-05 14:55:47'::timestamp) - extract(epoch from '2026-06-05 14:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370486 -2.798034)'), GeomFromEWKT('SRID=4674;POINT (-40.370625 -2.797947)'))) / (select extract(epoch from '2026-06-05 14:55:47'::timestamp) - extract(epoch from '2026-06-05 14:55: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'), 46721, 'SRID=4674;POINT (-40.370822 -2.797836)', '2026-06-05 14:55:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370625 -2.797947)'), GeomFromEWKT('SRID=4674;POINT (-40.370822 -2.797836)'))) / (select extract(epoch from '2026-06-05 14:55:56'::timestamp) - extract(epoch from '2026-06-05 14:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370625 -2.797947)'), GeomFromEWKT('SRID=4674;POINT (-40.370822 -2.797836)'))) / (select extract(epoch from '2026-06-05 14:55:56'::timestamp) - extract(epoch from '2026-06-05 14:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.370963 -2.79774)', '2026-06-05 14:56:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370822 -2.797836)'), GeomFromEWKT('SRID=4674;POINT (-40.370963 -2.79774)'))) / (select extract(epoch from '2026-06-05 14:56:03'::timestamp) - extract(epoch from '2026-06-05 14:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370822 -2.797836)'), GeomFromEWKT('SRID=4674;POINT (-40.370963 -2.79774)'))) / (select extract(epoch from '2026-06-05 14:56:03'::timestamp) - extract(epoch from '2026-06-05 14:55: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'), 46721, 'SRID=4674;POINT (-40.371119 -2.797626)', '2026-06-05 14:56:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370963 -2.79774)'), GeomFromEWKT('SRID=4674;POINT (-40.371119 -2.797626)'))) / (select extract(epoch from '2026-06-05 14:56:11'::timestamp) - extract(epoch from '2026-06-05 14:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370963 -2.79774)'), GeomFromEWKT('SRID=4674;POINT (-40.371119 -2.797626)'))) / (select extract(epoch from '2026-06-05 14:56:11'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.371268 -2.797515)', '2026-06-05 14:56:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371119 -2.797626)'), GeomFromEWKT('SRID=4674;POINT (-40.371268 -2.797515)'))) / (select extract(epoch from '2026-06-05 14:56:19'::timestamp) - extract(epoch from '2026-06-05 14:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371119 -2.797626)'), GeomFromEWKT('SRID=4674;POINT (-40.371268 -2.797515)'))) / (select extract(epoch from '2026-06-05 14:56:19'::timestamp) - extract(epoch from '2026-06-05 14:56: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'), 46721, 'SRID=4674;POINT (-40.371346 -2.797451)', '2026-06-05 14:56:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371268 -2.797515)'), GeomFromEWKT('SRID=4674;POINT (-40.371346 -2.797451)'))) / (select extract(epoch from '2026-06-05 14:56:24'::timestamp) - extract(epoch from '2026-06-05 14:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371268 -2.797515)'), GeomFromEWKT('SRID=4674;POINT (-40.371346 -2.797451)'))) / (select extract(epoch from '2026-06-05 14:56:24'::timestamp) - extract(epoch from '2026-06-05 14:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.37144 -2.79737)', '2026-06-05 14:56:30', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371346 -2.797451)'), GeomFromEWKT('SRID=4674;POINT (-40.37144 -2.79737)'))) / (select extract(epoch from '2026-06-05 14:56:30'::timestamp) - extract(epoch from '2026-06-05 14:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371346 -2.797451)'), GeomFromEWKT('SRID=4674;POINT (-40.37144 -2.79737)'))) / (select extract(epoch from '2026-06-05 14:56:30'::timestamp) - extract(epoch from '2026-06-05 14:56: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'), 46721, 'SRID=4674;POINT (-40.371561 -2.797257)', '2026-06-05 14:56:37', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37144 -2.79737)'), GeomFromEWKT('SRID=4674;POINT (-40.371561 -2.797257)'))) / (select extract(epoch from '2026-06-05 14:56:37'::timestamp) - extract(epoch from '2026-06-05 14:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37144 -2.79737)'), GeomFromEWKT('SRID=4674;POINT (-40.371561 -2.797257)'))) / (select extract(epoch from '2026-06-05 14:56:37'::timestamp) - extract(epoch from '2026-06-05 14:56: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'), 46721, 'SRID=4674;POINT (-40.371694 -2.797157)', '2026-06-05 14:56:44', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371561 -2.797257)'), GeomFromEWKT('SRID=4674;POINT (-40.371694 -2.797157)'))) / (select extract(epoch from '2026-06-05 14:56:44'::timestamp) - extract(epoch from '2026-06-05 14:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371561 -2.797257)'), GeomFromEWKT('SRID=4674;POINT (-40.371694 -2.797157)'))) / (select extract(epoch from '2026-06-05 14:56:44'::timestamp) - extract(epoch from '2026-06-05 14:56: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'), 46721, 'SRID=4674;POINT (-40.371797 -2.797067)', '2026-06-05 14:56:50', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371694 -2.797157)'), GeomFromEWKT('SRID=4674;POINT (-40.371797 -2.797067)'))) / (select extract(epoch from '2026-06-05 14:56:50'::timestamp) - extract(epoch from '2026-06-05 14:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371694 -2.797157)'), GeomFromEWKT('SRID=4674;POINT (-40.371797 -2.797067)'))) / (select extract(epoch from '2026-06-05 14:56:50'::timestamp) - extract(epoch from '2026-06-05 14:56: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'), 46721, 'SRID=4674;POINT (-40.371981 -2.796928)', '2026-06-05 14:56:59', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371797 -2.797067)'), GeomFromEWKT('SRID=4674;POINT (-40.371981 -2.796928)'))) / (select extract(epoch from '2026-06-05 14:56:59'::timestamp) - extract(epoch from '2026-06-05 14:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371797 -2.797067)'), GeomFromEWKT('SRID=4674;POINT (-40.371981 -2.796928)'))) / (select extract(epoch from '2026-06-05 14:56:59'::timestamp) - extract(epoch from '2026-06-05 14:56: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'), 46721, 'SRID=4674;POINT (-40.372147 -2.79679)', '2026-06-05 14:57:07', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371981 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.372147 -2.79679)'))) / (select extract(epoch from '2026-06-05 14:57:07'::timestamp) - extract(epoch from '2026-06-05 14:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371981 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.372147 -2.79679)'))) / (select extract(epoch from '2026-06-05 14:57:07'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.37236 -2.796633)', '2026-06-05 14:57:16', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372147 -2.79679)'), GeomFromEWKT('SRID=4674;POINT (-40.37236 -2.796633)'))) / (select extract(epoch from '2026-06-05 14:57:16'::timestamp) - extract(epoch from '2026-06-05 14:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372147 -2.79679)'), GeomFromEWKT('SRID=4674;POINT (-40.37236 -2.796633)'))) / (select extract(epoch from '2026-06-05 14:57:16'::timestamp) - extract(epoch from '2026-06-05 14:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.372543 -2.796524)', '2026-06-05 14:57:23', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37236 -2.796633)'), GeomFromEWKT('SRID=4674;POINT (-40.372543 -2.796524)'))) / (select extract(epoch from '2026-06-05 14:57:23'::timestamp) - extract(epoch from '2026-06-05 14:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37236 -2.796633)'), GeomFromEWKT('SRID=4674;POINT (-40.372543 -2.796524)'))) / (select extract(epoch from '2026-06-05 14:57:23'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.372752 -2.796392)', '2026-06-05 14:57:32', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372543 -2.796524)'), GeomFromEWKT('SRID=4674;POINT (-40.372752 -2.796392)'))) / (select extract(epoch from '2026-06-05 14:57:32'::timestamp) - extract(epoch from '2026-06-05 14:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372543 -2.796524)'), GeomFromEWKT('SRID=4674;POINT (-40.372752 -2.796392)'))) / (select extract(epoch from '2026-06-05 14:57:32'::timestamp) - extract(epoch from '2026-06-05 14:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.372896 -2.796297)', '2026-06-05 14:57:38', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372752 -2.796392)'), GeomFromEWKT('SRID=4674;POINT (-40.372896 -2.796297)'))) / (select extract(epoch from '2026-06-05 14:57:38'::timestamp) - extract(epoch from '2026-06-05 14:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372752 -2.796392)'), GeomFromEWKT('SRID=4674;POINT (-40.372896 -2.796297)'))) / (select extract(epoch from '2026-06-05 14:57:38'::timestamp) - extract(epoch from '2026-06-05 14:57: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'), 46721, 'SRID=4674;POINT (-40.373099 -2.796153)', '2026-06-05 14:57:47', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372896 -2.796297)'), GeomFromEWKT('SRID=4674;POINT (-40.373099 -2.796153)'))) / (select extract(epoch from '2026-06-05 14:57:47'::timestamp) - extract(epoch from '2026-06-05 14:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372896 -2.796297)'), GeomFromEWKT('SRID=4674;POINT (-40.373099 -2.796153)'))) / (select extract(epoch from '2026-06-05 14:57:47'::timestamp) - extract(epoch from '2026-06-05 14:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.373287 -2.796054)', '2026-06-05 14:57:54', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373099 -2.796153)'), GeomFromEWKT('SRID=4674;POINT (-40.373287 -2.796054)'))) / (select extract(epoch from '2026-06-05 14:57:54'::timestamp) - extract(epoch from '2026-06-05 14:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373099 -2.796153)'), GeomFromEWKT('SRID=4674;POINT (-40.373287 -2.796054)'))) / (select extract(epoch from '2026-06-05 14:57:54'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.373452 -2.79599)', '2026-06-05 14:58:00', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373287 -2.796054)'), GeomFromEWKT('SRID=4674;POINT (-40.373452 -2.79599)'))) / (select extract(epoch from '2026-06-05 14:58:00'::timestamp) - extract(epoch from '2026-06-05 14:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373287 -2.796054)'), GeomFromEWKT('SRID=4674;POINT (-40.373452 -2.79599)'))) / (select extract(epoch from '2026-06-05 14:58:00'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.373626 -2.795887)', '2026-06-05 14:58:07', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373452 -2.79599)'), GeomFromEWKT('SRID=4674;POINT (-40.373626 -2.795887)'))) / (select extract(epoch from '2026-06-05 14:58:07'::timestamp) - extract(epoch from '2026-06-05 14:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373452 -2.79599)'), GeomFromEWKT('SRID=4674;POINT (-40.373626 -2.795887)'))) / (select extract(epoch from '2026-06-05 14:58:07'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.373776 -2.795808)', '2026-06-05 14:58:13', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373626 -2.795887)'), GeomFromEWKT('SRID=4674;POINT (-40.373776 -2.795808)'))) / (select extract(epoch from '2026-06-05 14:58:13'::timestamp) - extract(epoch from '2026-06-05 14:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373626 -2.795887)'), GeomFromEWKT('SRID=4674;POINT (-40.373776 -2.795808)'))) / (select extract(epoch from '2026-06-05 14:58:13'::timestamp) - extract(epoch from '2026-06-05 14:58: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'), 46721, 'SRID=4674;POINT (-40.373937 -2.795691)', '2026-06-05 14:58:20', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373776 -2.795808)'), GeomFromEWKT('SRID=4674;POINT (-40.373937 -2.795691)'))) / (select extract(epoch from '2026-06-05 14:58:20'::timestamp) - extract(epoch from '2026-06-05 14:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373776 -2.795808)'), GeomFromEWKT('SRID=4674;POINT (-40.373937 -2.795691)'))) / (select extract(epoch from '2026-06-05 14:58:20'::timestamp) - extract(epoch from '2026-06-05 14: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'), 46721, 'SRID=4674;POINT (-40.374095 -2.79557)', '2026-06-05 14:58:28', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373937 -2.795691)'), GeomFromEWKT('SRID=4674;POINT (-40.374095 -2.79557)'))) / (select extract(epoch from '2026-06-05 14:58:28'::timestamp) - extract(epoch from '2026-06-05 14:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373937 -2.795691)'), GeomFromEWKT('SRID=4674;POINT (-40.374095 -2.79557)'))) / (select extract(epoch from '2026-06-05 14:58:28'::timestamp) - extract(epoch from '2026-06-05 14:58: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'), 46721, 'SRID=4674;POINT (-40.374287 -2.79544)', '2026-06-05 14:58:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374095 -2.79557)'), GeomFromEWKT('SRID=4674;POINT (-40.374287 -2.79544)'))) / (select extract(epoch from '2026-06-05 14:58:37'::timestamp) - extract(epoch from '2026-06-05 14:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374095 -2.79557)'), GeomFromEWKT('SRID=4674;POINT (-40.374287 -2.79544)'))) / (select extract(epoch from '2026-06-05 14:58:37'::timestamp) - extract(epoch from '2026-06-05 14:58:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.374444 -2.795345)', '2026-06-05 14:58:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374287 -2.79544)'), GeomFromEWKT('SRID=4674;POINT (-40.374444 -2.795345)'))) / (select extract(epoch from '2026-06-05 14:58:44'::timestamp) - extract(epoch from '2026-06-05 14:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374287 -2.79544)'), GeomFromEWKT('SRID=4674;POINT (-40.374444 -2.795345)'))) / (select extract(epoch from '2026-06-05 14:58:44'::timestamp) - extract(epoch from '2026-06-05 14:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.374627 -2.795228)', '2026-06-05 14:58:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374444 -2.795345)'), GeomFromEWKT('SRID=4674;POINT (-40.374627 -2.795228)'))) / (select extract(epoch from '2026-06-05 14:58:52'::timestamp) - extract(epoch from '2026-06-05 14:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374444 -2.795345)'), GeomFromEWKT('SRID=4674;POINT (-40.374627 -2.795228)'))) / (select extract(epoch from '2026-06-05 14:58:52'::timestamp) - extract(epoch from '2026-06-05 14:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.374746 -2.795159)', '2026-06-05 14:58:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374627 -2.795228)'), GeomFromEWKT('SRID=4674;POINT (-40.374746 -2.795159)'))) / (select extract(epoch from '2026-06-05 14:58:57'::timestamp) - extract(epoch from '2026-06-05 14:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374627 -2.795228)'), GeomFromEWKT('SRID=4674;POINT (-40.374746 -2.795159)'))) / (select extract(epoch from '2026-06-05 14:58:57'::timestamp) - extract(epoch from '2026-06-05 14:58: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'), 46721, 'SRID=4674;POINT (-40.374906 -2.795086)', '2026-06-05 14:59:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374746 -2.795159)'), GeomFromEWKT('SRID=4674;POINT (-40.374906 -2.795086)'))) / (select extract(epoch from '2026-06-05 14:59:03'::timestamp) - extract(epoch from '2026-06-05 14:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374746 -2.795159)'), GeomFromEWKT('SRID=4674;POINT (-40.374906 -2.795086)'))) / (select extract(epoch from '2026-06-05 14:59:03'::timestamp) - extract(epoch from '2026-06-05 14:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.375039 -2.795026)', '2026-06-05 14:59:08', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374906 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.375039 -2.795026)'))) / (select extract(epoch from '2026-06-05 14:59:08'::timestamp) - extract(epoch from '2026-06-05 14:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374906 -2.795086)'), GeomFromEWKT('SRID=4674;POINT (-40.375039 -2.795026)'))) / (select extract(epoch from '2026-06-05 14:59:08'::timestamp) - extract(epoch from '2026-06-05 14:59: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'), 46721, 'SRID=4674;POINT (-40.375238 -2.794904)', '2026-06-05 14:59:16', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375039 -2.795026)'), GeomFromEWKT('SRID=4674;POINT (-40.375238 -2.794904)'))) / (select extract(epoch from '2026-06-05 14:59:16'::timestamp) - extract(epoch from '2026-06-05 14:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375039 -2.795026)'), GeomFromEWKT('SRID=4674;POINT (-40.375238 -2.794904)'))) / (select extract(epoch from '2026-06-05 14:59:16'::timestamp) - extract(epoch from '2026-06-05 14:59: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'), 46721, 'SRID=4674;POINT (-40.375426 -2.794834)', '2026-06-05 14:59:23', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375238 -2.794904)'), GeomFromEWKT('SRID=4674;POINT (-40.375426 -2.794834)'))) / (select extract(epoch from '2026-06-05 14:59:23'::timestamp) - extract(epoch from '2026-06-05 14:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375238 -2.794904)'), GeomFromEWKT('SRID=4674;POINT (-40.375426 -2.794834)'))) / (select extract(epoch from '2026-06-05 14:59:23'::timestamp) - extract(epoch from '2026-06-05 14:59: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'), 46721, 'SRID=4674;POINT (-40.375596 -2.794749)', '2026-06-05 14:59:30', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375426 -2.794834)'), GeomFromEWKT('SRID=4674;POINT (-40.375596 -2.794749)'))) / (select extract(epoch from '2026-06-05 14:59:30'::timestamp) - extract(epoch from '2026-06-05 14:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375426 -2.794834)'), GeomFromEWKT('SRID=4674;POINT (-40.375596 -2.794749)'))) / (select extract(epoch from '2026-06-05 14:59:30'::timestamp) - extract(epoch from '2026-06-05 14:59: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'), 46721, 'SRID=4674;POINT (-40.37578 -2.794644)', '2026-06-05 14:59:38', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375596 -2.794749)'), GeomFromEWKT('SRID=4674;POINT (-40.37578 -2.794644)'))) / (select extract(epoch from '2026-06-05 14:59:38'::timestamp) - extract(epoch from '2026-06-05 14:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375596 -2.794749)'), GeomFromEWKT('SRID=4674;POINT (-40.37578 -2.794644)'))) / (select extract(epoch from '2026-06-05 14:59:38'::timestamp) - extract(epoch from '2026-06-05 14:59: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'), 46721, 'SRID=4674;POINT (-40.375933 -2.794567)', '2026-06-05 14:59:44', -9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37578 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.375933 -2.794567)'))) / (select extract(epoch from '2026-06-05 14:59:44'::timestamp) - extract(epoch from '2026-06-05 14:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37578 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.375933 -2.794567)'))) / (select extract(epoch from '2026-06-05 14:59:44'::timestamp) - extract(epoch from '2026-06-05 14:59: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'), 46721, 'SRID=4674;POINT (-40.37609 -2.794493)', '2026-06-05 14:59:50', -9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375933 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.37609 -2.794493)'))) / (select extract(epoch from '2026-06-05 14:59:50'::timestamp) - extract(epoch from '2026-06-05 14:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375933 -2.794567)'), GeomFromEWKT('SRID=4674;POINT (-40.37609 -2.794493)'))) / (select extract(epoch from '2026-06-05 14:59:50'::timestamp) - extract(epoch from '2026-06-05 14:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.376282 -2.794426)', '2026-06-05 14:59:57', -10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37609 -2.794493)'), GeomFromEWKT('SRID=4674;POINT (-40.376282 -2.794426)'))) / (select extract(epoch from '2026-06-05 14:59:57'::timestamp) - extract(epoch from '2026-06-05 14:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37609 -2.794493)'), GeomFromEWKT('SRID=4674;POINT (-40.376282 -2.794426)'))) / (select extract(epoch from '2026-06-05 14:59:57'::timestamp) - extract(epoch from '2026-06-05 14:59: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'), 46721, 'SRID=4674;POINT (-40.376433 -2.79434)', '2026-06-05 15:00:03', -10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376282 -2.794426)'), GeomFromEWKT('SRID=4674;POINT (-40.376433 -2.79434)'))) / (select extract(epoch from '2026-06-05 15:00:03'::timestamp) - extract(epoch from '2026-06-05 14:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376282 -2.794426)'), GeomFromEWKT('SRID=4674;POINT (-40.376433 -2.79434)'))) / (select extract(epoch from '2026-06-05 15:00:03'::timestamp) - extract(epoch from '2026-06-05 14:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.376588 -2.79424)', '2026-06-05 15:00:10', -9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376433 -2.79434)'), GeomFromEWKT('SRID=4674;POINT (-40.376588 -2.79424)'))) / (select extract(epoch from '2026-06-05 15:00:10'::timestamp) - extract(epoch from '2026-06-05 15:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376433 -2.79434)'), GeomFromEWKT('SRID=4674;POINT (-40.376588 -2.79424)'))) / (select extract(epoch from '2026-06-05 15:00:10'::timestamp) - extract(epoch from '2026-06-05 15:00: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'), 46721, 'SRID=4674;POINT (-40.376745 -2.794182)', '2026-06-05 15:00:16', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376588 -2.79424)'), GeomFromEWKT('SRID=4674;POINT (-40.376745 -2.794182)'))) / (select extract(epoch from '2026-06-05 15:00:16'::timestamp) - extract(epoch from '2026-06-05 15:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376588 -2.79424)'), GeomFromEWKT('SRID=4674;POINT (-40.376745 -2.794182)'))) / (select extract(epoch from '2026-06-05 15:00:16'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.37696 -2.794111)', '2026-06-05 15:00:24', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376745 -2.794182)'), GeomFromEWKT('SRID=4674;POINT (-40.37696 -2.794111)'))) / (select extract(epoch from '2026-06-05 15:00:24'::timestamp) - extract(epoch from '2026-06-05 15:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376745 -2.794182)'), GeomFromEWKT('SRID=4674;POINT (-40.37696 -2.794111)'))) / (select extract(epoch from '2026-06-05 15:00:24'::timestamp) - extract(epoch from '2026-06-05 15:00: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'), 46721, 'SRID=4674;POINT (-40.377092 -2.794076)', '2026-06-05 15:00:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37696 -2.794111)'), GeomFromEWKT('SRID=4674;POINT (-40.377092 -2.794076)'))) / (select extract(epoch from '2026-06-05 15:00:29'::timestamp) - extract(epoch from '2026-06-05 15:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37696 -2.794111)'), GeomFromEWKT('SRID=4674;POINT (-40.377092 -2.794076)'))) / (select extract(epoch from '2026-06-05 15:00:29'::timestamp) - extract(epoch from '2026-06-05 15:00: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'), 46721, 'SRID=4674;POINT (-40.37726 -2.794005)', '2026-06-05 15:00:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377092 -2.794076)'), GeomFromEWKT('SRID=4674;POINT (-40.37726 -2.794005)'))) / (select extract(epoch from '2026-06-05 15:00:36'::timestamp) - extract(epoch from '2026-06-05 15:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377092 -2.794076)'), GeomFromEWKT('SRID=4674;POINT (-40.37726 -2.794005)'))) / (select extract(epoch from '2026-06-05 15:00:36'::timestamp) - extract(epoch from '2026-06-05 15:00: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'), 46721, 'SRID=4674;POINT (-40.377419 -2.793942)', '2026-06-05 15:00:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37726 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.377419 -2.793942)'))) / (select extract(epoch from '2026-06-05 15:00:43'::timestamp) - extract(epoch from '2026-06-05 15:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37726 -2.794005)'), GeomFromEWKT('SRID=4674;POINT (-40.377419 -2.793942)'))) / (select extract(epoch from '2026-06-05 15:00:43'::timestamp) - extract(epoch from '2026-06-05 15:00: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'), 46721, 'SRID=4674;POINT (-40.377537 -2.793891)', '2026-06-05 15:00:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377419 -2.793942)'), GeomFromEWKT('SRID=4674;POINT (-40.377537 -2.793891)'))) / (select extract(epoch from '2026-06-05 15:00:48'::timestamp) - extract(epoch from '2026-06-05 15:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377419 -2.793942)'), GeomFromEWKT('SRID=4674;POINT (-40.377537 -2.793891)'))) / (select extract(epoch from '2026-06-05 15:00:48'::timestamp) - extract(epoch from '2026-06-05 15:00:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.377692 -2.793815)', '2026-06-05 15:00:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377537 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.377692 -2.793815)'))) / (select extract(epoch from '2026-06-05 15:00:54'::timestamp) - extract(epoch from '2026-06-05 15:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377537 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.377692 -2.793815)'))) / (select extract(epoch from '2026-06-05 15:00:54'::timestamp) - extract(epoch from '2026-06-05 15:00: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'), 46721, 'SRID=4674;POINT (-40.377813 -2.793745)', '2026-06-05 15:00:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377692 -2.793815)'), GeomFromEWKT('SRID=4674;POINT (-40.377813 -2.793745)'))) / (select extract(epoch from '2026-06-05 15:00:59'::timestamp) - extract(epoch from '2026-06-05 15:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377692 -2.793815)'), GeomFromEWKT('SRID=4674;POINT (-40.377813 -2.793745)'))) / (select extract(epoch from '2026-06-05 15:00:59'::timestamp) - extract(epoch from '2026-06-05 15:00: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'), 46721, 'SRID=4674;POINT (-40.377947 -2.793682)', '2026-06-05 15:01:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377813 -2.793745)'), GeomFromEWKT('SRID=4674;POINT (-40.377947 -2.793682)'))) / (select extract(epoch from '2026-06-05 15:01:04'::timestamp) - extract(epoch from '2026-06-05 15:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377813 -2.793745)'), GeomFromEWKT('SRID=4674;POINT (-40.377947 -2.793682)'))) / (select extract(epoch from '2026-06-05 15:01:04'::timestamp) - extract(epoch from '2026-06-05 15:00: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'), 46721, 'SRID=4674;POINT (-40.378085 -2.793612)', '2026-06-05 15:01:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377947 -2.793682)'), GeomFromEWKT('SRID=4674;POINT (-40.378085 -2.793612)'))) / (select extract(epoch from '2026-06-05 15:01:09'::timestamp) - extract(epoch from '2026-06-05 15:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377947 -2.793682)'), GeomFromEWKT('SRID=4674;POINT (-40.378085 -2.793612)'))) / (select extract(epoch from '2026-06-05 15:01:09'::timestamp) - extract(epoch from '2026-06-05 15:01: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'), 46721, 'SRID=4674;POINT (-40.378273 -2.793538)', '2026-06-05 15:01:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378085 -2.793612)'), GeomFromEWKT('SRID=4674;POINT (-40.378273 -2.793538)'))) / (select extract(epoch from '2026-06-05 15:01:16'::timestamp) - extract(epoch from '2026-06-05 15:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378085 -2.793612)'), GeomFromEWKT('SRID=4674;POINT (-40.378273 -2.793538)'))) / (select extract(epoch from '2026-06-05 15:01:16'::timestamp) - extract(epoch from '2026-06-05 15:01: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'), 46721, 'SRID=4674;POINT (-40.378429 -2.793474)', '2026-06-05 15:01:22', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378273 -2.793538)'), GeomFromEWKT('SRID=4674;POINT (-40.378429 -2.793474)'))) / (select extract(epoch from '2026-06-05 15:01:22'::timestamp) - extract(epoch from '2026-06-05 15:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378273 -2.793538)'), GeomFromEWKT('SRID=4674;POINT (-40.378429 -2.793474)'))) / (select extract(epoch from '2026-06-05 15:01:22'::timestamp) - extract(epoch from '2026-06-05 15:01: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'), 46721, 'SRID=4674;POINT (-40.3786 -2.7934)', '2026-06-05 15:01:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378429 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.3786 -2.7934)'))) / (select extract(epoch from '2026-06-05 15:01:29'::timestamp) - extract(epoch from '2026-06-05 15:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378429 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.3786 -2.7934)'))) / (select extract(epoch from '2026-06-05 15:01:29'::timestamp) - extract(epoch from '2026-06-05 15:01: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'), 46721, 'SRID=4674;POINT (-40.378722 -2.793333)', '2026-06-05 15:01:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3786 -2.7934)'), GeomFromEWKT('SRID=4674;POINT (-40.378722 -2.793333)'))) / (select extract(epoch from '2026-06-05 15:01:34'::timestamp) - extract(epoch from '2026-06-05 15:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3786 -2.7934)'), GeomFromEWKT('SRID=4674;POINT (-40.378722 -2.793333)'))) / (select extract(epoch from '2026-06-05 15:01:34'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.378899 -2.793227)', '2026-06-05 15:01:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378722 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.378899 -2.793227)'))) / (select extract(epoch from '2026-06-05 15:01:41'::timestamp) - extract(epoch from '2026-06-05 15:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378722 -2.793333)'), GeomFromEWKT('SRID=4674;POINT (-40.378899 -2.793227)'))) / (select extract(epoch from '2026-06-05 15:01:41'::timestamp) - extract(epoch from '2026-06-05 15:01: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'), 46721, 'SRID=4674;POINT (-40.379013 -2.79316)', '2026-06-05 15:01:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378899 -2.793227)'), GeomFromEWKT('SRID=4674;POINT (-40.379013 -2.79316)'))) / (select extract(epoch from '2026-06-05 15:01:46'::timestamp) - extract(epoch from '2026-06-05 15:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378899 -2.793227)'), GeomFromEWKT('SRID=4674;POINT (-40.379013 -2.79316)'))) / (select extract(epoch from '2026-06-05 15:01:46'::timestamp) - extract(epoch from '2026-06-05 15:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.379177 -2.793067)', '2026-06-05 15:01:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379013 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.379177 -2.793067)'))) / (select extract(epoch from '2026-06-05 15:01:53'::timestamp) - extract(epoch from '2026-06-05 15:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379013 -2.79316)'), GeomFromEWKT('SRID=4674;POINT (-40.379177 -2.793067)'))) / (select extract(epoch from '2026-06-05 15:01:53'::timestamp) - extract(epoch from '2026-06-05 15:01: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'), 46721, 'SRID=4674;POINT (-40.379346 -2.79296)', '2026-06-05 15:02:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379177 -2.793067)'), GeomFromEWKT('SRID=4674;POINT (-40.379346 -2.79296)'))) / (select extract(epoch from '2026-06-05 15:02:00'::timestamp) - extract(epoch from '2026-06-05 15:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379177 -2.793067)'), GeomFromEWKT('SRID=4674;POINT (-40.379346 -2.79296)'))) / (select extract(epoch from '2026-06-05 15:02:00'::timestamp) - extract(epoch from '2026-06-05 15:01: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'), 46721, 'SRID=4674;POINT (-40.379517 -2.792881)', '2026-06-05 15:02:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379346 -2.79296)'), GeomFromEWKT('SRID=4674;POINT (-40.379517 -2.792881)'))) / (select extract(epoch from '2026-06-05 15:02:07'::timestamp) - extract(epoch from '2026-06-05 15:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379346 -2.79296)'), GeomFromEWKT('SRID=4674;POINT (-40.379517 -2.792881)'))) / (select extract(epoch from '2026-06-05 15:02:07'::timestamp) - extract(epoch from '2026-06-05 15:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.379688 -2.792778)', '2026-06-05 15:02:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379517 -2.792881)'), GeomFromEWKT('SRID=4674;POINT (-40.379688 -2.792778)'))) / (select extract(epoch from '2026-06-05 15:02:14'::timestamp) - extract(epoch from '2026-06-05 15:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379517 -2.792881)'), GeomFromEWKT('SRID=4674;POINT (-40.379688 -2.792778)'))) / (select extract(epoch from '2026-06-05 15:02:14'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.379814 -2.792674)', '2026-06-05 15:02:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379688 -2.792778)'), GeomFromEWKT('SRID=4674;POINT (-40.379814 -2.792674)'))) / (select extract(epoch from '2026-06-05 15:02:20'::timestamp) - extract(epoch from '2026-06-05 15:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379688 -2.792778)'), GeomFromEWKT('SRID=4674;POINT (-40.379814 -2.792674)'))) / (select extract(epoch from '2026-06-05 15:02:20'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.379946 -2.792589)', '2026-06-05 15:02:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379814 -2.792674)'), GeomFromEWKT('SRID=4674;POINT (-40.379946 -2.792589)'))) / (select extract(epoch from '2026-06-05 15:02:26'::timestamp) - extract(epoch from '2026-06-05 15:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379814 -2.792674)'), GeomFromEWKT('SRID=4674;POINT (-40.379946 -2.792589)'))) / (select extract(epoch from '2026-06-05 15:02:26'::timestamp) - extract(epoch from '2026-06-05 15:02: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'), 46721, 'SRID=4674;POINT (-40.380068 -2.792522)', '2026-06-05 15:02:31', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379946 -2.792589)'), GeomFromEWKT('SRID=4674;POINT (-40.380068 -2.792522)'))) / (select extract(epoch from '2026-06-05 15:02:31'::timestamp) - extract(epoch from '2026-06-05 15:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379946 -2.792589)'), GeomFromEWKT('SRID=4674;POINT (-40.380068 -2.792522)'))) / (select extract(epoch from '2026-06-05 15:02:31'::timestamp) - extract(epoch from '2026-06-05 15:02: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'), 46721, 'SRID=4674;POINT (-40.380212 -2.792457)', '2026-06-05 15:02:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380068 -2.792522)'), GeomFromEWKT('SRID=4674;POINT (-40.380212 -2.792457)'))) / (select extract(epoch from '2026-06-05 15:02:36'::timestamp) - extract(epoch from '2026-06-05 15:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380068 -2.792522)'), GeomFromEWKT('SRID=4674;POINT (-40.380212 -2.792457)'))) / (select extract(epoch from '2026-06-05 15:02:36'::timestamp) - extract(epoch from '2026-06-05 15:02: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'), 46721, 'SRID=4674;POINT (-40.380385 -2.792397)', '2026-06-05 15:02:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380212 -2.792457)'), GeomFromEWKT('SRID=4674;POINT (-40.380385 -2.792397)'))) / (select extract(epoch from '2026-06-05 15:02:42'::timestamp) - extract(epoch from '2026-06-05 15:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380212 -2.792457)'), GeomFromEWKT('SRID=4674;POINT (-40.380385 -2.792397)'))) / (select extract(epoch from '2026-06-05 15:02:42'::timestamp) - extract(epoch from '2026-06-05 15:02: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'), 46721, 'SRID=4674;POINT (-40.380598 -2.792338)', '2026-06-05 15:02:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380385 -2.792397)'), GeomFromEWKT('SRID=4674;POINT (-40.380598 -2.792338)'))) / (select extract(epoch from '2026-06-05 15:02:49'::timestamp) - extract(epoch from '2026-06-05 15:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380385 -2.792397)'), GeomFromEWKT('SRID=4674;POINT (-40.380598 -2.792338)'))) / (select extract(epoch from '2026-06-05 15:02:49'::timestamp) - extract(epoch from '2026-06-05 15:02: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'), 46721, 'SRID=4674;POINT (-40.380754 -2.79225)', '2026-06-05 15:02:55', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380598 -2.792338)'), GeomFromEWKT('SRID=4674;POINT (-40.380754 -2.79225)'))) / (select extract(epoch from '2026-06-05 15:02:55'::timestamp) - extract(epoch from '2026-06-05 15:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380598 -2.792338)'), GeomFromEWKT('SRID=4674;POINT (-40.380754 -2.79225)'))) / (select extract(epoch from '2026-06-05 15:02:55'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.380905 -2.792188)', '2026-06-05 15:03:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380754 -2.79225)'), GeomFromEWKT('SRID=4674;POINT (-40.380905 -2.792188)'))) / (select extract(epoch from '2026-06-05 15:03:01'::timestamp) - extract(epoch from '2026-06-05 15:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380754 -2.79225)'), GeomFromEWKT('SRID=4674;POINT (-40.380905 -2.792188)'))) / (select extract(epoch from '2026-06-05 15:03:01'::timestamp) - extract(epoch from '2026-06-05 15:02: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'), 46721, 'SRID=4674;POINT (-40.381113 -2.792072)', '2026-06-05 15:03:09', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380905 -2.792188)'), GeomFromEWKT('SRID=4674;POINT (-40.381113 -2.792072)'))) / (select extract(epoch from '2026-06-05 15:03:09'::timestamp) - extract(epoch from '2026-06-05 15:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380905 -2.792188)'), GeomFromEWKT('SRID=4674;POINT (-40.381113 -2.792072)'))) / (select extract(epoch from '2026-06-05 15:03:09'::timestamp) - extract(epoch from '2026-06-05 15:03: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'), 46721, 'SRID=4674;POINT (-40.381239 -2.791986)', '2026-06-05 15:03:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381113 -2.792072)'), GeomFromEWKT('SRID=4674;POINT (-40.381239 -2.791986)'))) / (select extract(epoch from '2026-06-05 15:03:14'::timestamp) - extract(epoch from '2026-06-05 15:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381113 -2.792072)'), GeomFromEWKT('SRID=4674;POINT (-40.381239 -2.791986)'))) / (select extract(epoch from '2026-06-05 15:03:14'::timestamp) - extract(epoch from '2026-06-05 15:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.381385 -2.791894)', '2026-06-05 15:03:20', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381239 -2.791986)'), GeomFromEWKT('SRID=4674;POINT (-40.381385 -2.791894)'))) / (select extract(epoch from '2026-06-05 15:03:20'::timestamp) - extract(epoch from '2026-06-05 15:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381239 -2.791986)'), GeomFromEWKT('SRID=4674;POINT (-40.381385 -2.791894)'))) / (select extract(epoch from '2026-06-05 15:03:20'::timestamp) - extract(epoch from '2026-06-05 15:03: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'), 46721, 'SRID=4674;POINT (-40.381578 -2.791765)', '2026-06-05 15:03:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381385 -2.791894)'), GeomFromEWKT('SRID=4674;POINT (-40.381578 -2.791765)'))) / (select extract(epoch from '2026-06-05 15:03:28'::timestamp) - extract(epoch from '2026-06-05 15:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381385 -2.791894)'), GeomFromEWKT('SRID=4674;POINT (-40.381578 -2.791765)'))) / (select extract(epoch from '2026-06-05 15:03:28'::timestamp) - extract(epoch from '2026-06-05 15:03: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'), 46721, 'SRID=4674;POINT (-40.381721 -2.791665)', '2026-06-05 15:03:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381578 -2.791765)'), GeomFromEWKT('SRID=4674;POINT (-40.381721 -2.791665)'))) / (select extract(epoch from '2026-06-05 15:03:34'::timestamp) - extract(epoch from '2026-06-05 15:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381578 -2.791765)'), GeomFromEWKT('SRID=4674;POINT (-40.381721 -2.791665)'))) / (select extract(epoch from '2026-06-05 15:03:34'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.381877 -2.791561)', '2026-06-05 15:03:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381721 -2.791665)'), GeomFromEWKT('SRID=4674;POINT (-40.381877 -2.791561)'))) / (select extract(epoch from '2026-06-05 15:03:40'::timestamp) - extract(epoch from '2026-06-05 15:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381721 -2.791665)'), GeomFromEWKT('SRID=4674;POINT (-40.381877 -2.791561)'))) / (select extract(epoch from '2026-06-05 15:03:40'::timestamp) - extract(epoch from '2026-06-05 15:03: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'), 46721, 'SRID=4674;POINT (-40.382058 -2.791455)', '2026-06-05 15:03:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381877 -2.791561)'), GeomFromEWKT('SRID=4674;POINT (-40.382058 -2.791455)'))) / (select extract(epoch from '2026-06-05 15:03:47'::timestamp) - extract(epoch from '2026-06-05 15:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381877 -2.791561)'), GeomFromEWKT('SRID=4674;POINT (-40.382058 -2.791455)'))) / (select extract(epoch from '2026-06-05 15:03:47'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.382258 -2.79132)', '2026-06-05 15:03:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382058 -2.791455)'), GeomFromEWKT('SRID=4674;POINT (-40.382258 -2.79132)'))) / (select extract(epoch from '2026-06-05 15:03:55'::timestamp) - extract(epoch from '2026-06-05 15:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382058 -2.791455)'), GeomFromEWKT('SRID=4674;POINT (-40.382258 -2.79132)'))) / (select extract(epoch from '2026-06-05 15:03:55'::timestamp) - extract(epoch from '2026-06-05 15:03: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'), 46721, 'SRID=4674;POINT (-40.382444 -2.791211)', '2026-06-05 15:04:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382258 -2.79132)'), GeomFromEWKT('SRID=4674;POINT (-40.382444 -2.791211)'))) / (select extract(epoch from '2026-06-05 15:04:02'::timestamp) - extract(epoch from '2026-06-05 15:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382258 -2.79132)'), GeomFromEWKT('SRID=4674;POINT (-40.382444 -2.791211)'))) / (select extract(epoch from '2026-06-05 15:04:02'::timestamp) - extract(epoch from '2026-06-05 15:03: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'), 46721, 'SRID=4674;POINT (-40.382603 -2.791074)', '2026-06-05 15:04:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382444 -2.791211)'), GeomFromEWKT('SRID=4674;POINT (-40.382603 -2.791074)'))) / (select extract(epoch from '2026-06-05 15:04:09'::timestamp) - extract(epoch from '2026-06-05 15:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382444 -2.791211)'), GeomFromEWKT('SRID=4674;POINT (-40.382603 -2.791074)'))) / (select extract(epoch from '2026-06-05 15:04:09'::timestamp) - extract(epoch from '2026-06-05 15:04: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'), 46721, 'SRID=4674;POINT (-40.382785 -2.790945)', '2026-06-05 15:04:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382603 -2.791074)'), GeomFromEWKT('SRID=4674;POINT (-40.382785 -2.790945)'))) / (select extract(epoch from '2026-06-05 15:04:17'::timestamp) - extract(epoch from '2026-06-05 15:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382603 -2.791074)'), GeomFromEWKT('SRID=4674;POINT (-40.382785 -2.790945)'))) / (select extract(epoch from '2026-06-05 15:04:17'::timestamp) - extract(epoch from '2026-06-05 15:04: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'), 46721, 'SRID=4674;POINT (-40.382945 -2.790833)', '2026-06-05 15:04:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382785 -2.790945)'), GeomFromEWKT('SRID=4674;POINT (-40.382945 -2.790833)'))) / (select extract(epoch from '2026-06-05 15:04:24'::timestamp) - extract(epoch from '2026-06-05 15:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382785 -2.790945)'), GeomFromEWKT('SRID=4674;POINT (-40.382945 -2.790833)'))) / (select extract(epoch from '2026-06-05 15:04:24'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.383086 -2.790731)', '2026-06-05 15:04:30', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382945 -2.790833)'), GeomFromEWKT('SRID=4674;POINT (-40.383086 -2.790731)'))) / (select extract(epoch from '2026-06-05 15:04:30'::timestamp) - extract(epoch from '2026-06-05 15:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382945 -2.790833)'), GeomFromEWKT('SRID=4674;POINT (-40.383086 -2.790731)'))) / (select extract(epoch from '2026-06-05 15:04:30'::timestamp) - extract(epoch from '2026-06-05 15:04: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'), 46721, 'SRID=4674;POINT (-40.383245 -2.790613)', '2026-06-05 15:04:37', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383086 -2.790731)'), GeomFromEWKT('SRID=4674;POINT (-40.383245 -2.790613)'))) / (select extract(epoch from '2026-06-05 15:04:37'::timestamp) - extract(epoch from '2026-06-05 15:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383086 -2.790731)'), GeomFromEWKT('SRID=4674;POINT (-40.383245 -2.790613)'))) / (select extract(epoch from '2026-06-05 15:04:37'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.383382 -2.790522)', '2026-06-05 15:04:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383245 -2.790613)'), GeomFromEWKT('SRID=4674;POINT (-40.383382 -2.790522)'))) / (select extract(epoch from '2026-06-05 15:04:43'::timestamp) - extract(epoch from '2026-06-05 15:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383245 -2.790613)'), GeomFromEWKT('SRID=4674;POINT (-40.383382 -2.790522)'))) / (select extract(epoch from '2026-06-05 15:04:43'::timestamp) - extract(epoch from '2026-06-05 15:04: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'), 46721, 'SRID=4674;POINT (-40.383538 -2.790408)', '2026-06-05 15:04:50', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383382 -2.790522)'), GeomFromEWKT('SRID=4674;POINT (-40.383538 -2.790408)'))) / (select extract(epoch from '2026-06-05 15:04:50'::timestamp) - extract(epoch from '2026-06-05 15:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383382 -2.790522)'), GeomFromEWKT('SRID=4674;POINT (-40.383538 -2.790408)'))) / (select extract(epoch from '2026-06-05 15:04:50'::timestamp) - extract(epoch from '2026-06-05 15:04: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'), 46721, 'SRID=4674;POINT (-40.383686 -2.790287)', '2026-06-05 15:04:57', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383538 -2.790408)'), GeomFromEWKT('SRID=4674;POINT (-40.383686 -2.790287)'))) / (select extract(epoch from '2026-06-05 15:04:57'::timestamp) - extract(epoch from '2026-06-05 15:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383538 -2.790408)'), GeomFromEWKT('SRID=4674;POINT (-40.383686 -2.790287)'))) / (select extract(epoch from '2026-06-05 15:04:57'::timestamp) - extract(epoch from '2026-06-05 15:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.383843 -2.790175)', '2026-06-05 15:05:04', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383686 -2.790287)'), GeomFromEWKT('SRID=4674;POINT (-40.383843 -2.790175)'))) / (select extract(epoch from '2026-06-05 15:05:04'::timestamp) - extract(epoch from '2026-06-05 15:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383686 -2.790287)'), GeomFromEWKT('SRID=4674;POINT (-40.383843 -2.790175)'))) / (select extract(epoch from '2026-06-05 15:05:04'::timestamp) - extract(epoch from '2026-06-05 15:04: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'), 46721, 'SRID=4674;POINT (-40.383995 -2.790067)', '2026-06-05 15:05:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383843 -2.790175)'), GeomFromEWKT('SRID=4674;POINT (-40.383995 -2.790067)'))) / (select extract(epoch from '2026-06-05 15:05:11'::timestamp) - extract(epoch from '2026-06-05 15:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383843 -2.790175)'), GeomFromEWKT('SRID=4674;POINT (-40.383995 -2.790067)'))) / (select extract(epoch from '2026-06-05 15:05:11'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.384139 -2.789975)', '2026-06-05 15:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383995 -2.790067)'), GeomFromEWKT('SRID=4674;POINT (-40.384139 -2.789975)'))) / (select extract(epoch from '2026-06-05 15:05:17'::timestamp) - extract(epoch from '2026-06-05 15:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383995 -2.790067)'), GeomFromEWKT('SRID=4674;POINT (-40.384139 -2.789975)'))) / (select extract(epoch from '2026-06-05 15:05:17'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.384283 -2.789889)', '2026-06-05 15:05:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384139 -2.789975)'), GeomFromEWKT('SRID=4674;POINT (-40.384283 -2.789889)'))) / (select extract(epoch from '2026-06-05 15:05:23'::timestamp) - extract(epoch from '2026-06-05 15:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384139 -2.789975)'), GeomFromEWKT('SRID=4674;POINT (-40.384283 -2.789889)'))) / (select extract(epoch from '2026-06-05 15:05:23'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.384451 -2.78979)', '2026-06-05 15:05:30', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384283 -2.789889)'), GeomFromEWKT('SRID=4674;POINT (-40.384451 -2.78979)'))) / (select extract(epoch from '2026-06-05 15:05:30'::timestamp) - extract(epoch from '2026-06-05 15:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384283 -2.789889)'), GeomFromEWKT('SRID=4674;POINT (-40.384451 -2.78979)'))) / (select extract(epoch from '2026-06-05 15:05:30'::timestamp) - extract(epoch from '2026-06-05 15:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.384626 -2.789692)', '2026-06-05 15:05:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384451 -2.78979)'), GeomFromEWKT('SRID=4674;POINT (-40.384626 -2.789692)'))) / (select extract(epoch from '2026-06-05 15:05:37'::timestamp) - extract(epoch from '2026-06-05 15:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384451 -2.78979)'), GeomFromEWKT('SRID=4674;POINT (-40.384626 -2.789692)'))) / (select extract(epoch from '2026-06-05 15:05:37'::timestamp) - extract(epoch from '2026-06-05 15:05: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'), 46721, 'SRID=4674;POINT (-40.384819 -2.789563)', '2026-06-05 15:05:45', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384626 -2.789692)'), GeomFromEWKT('SRID=4674;POINT (-40.384819 -2.789563)'))) / (select extract(epoch from '2026-06-05 15:05:45'::timestamp) - extract(epoch from '2026-06-05 15:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384626 -2.789692)'), GeomFromEWKT('SRID=4674;POINT (-40.384819 -2.789563)'))) / (select extract(epoch from '2026-06-05 15:05:45'::timestamp) - extract(epoch from '2026-06-05 15:05: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'), 46721, 'SRID=4674;POINT (-40.384987 -2.78944)', '2026-06-05 15:05:52', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384819 -2.789563)'), GeomFromEWKT('SRID=4674;POINT (-40.384987 -2.78944)'))) / (select extract(epoch from '2026-06-05 15:05:52'::timestamp) - extract(epoch from '2026-06-05 15:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384819 -2.789563)'), GeomFromEWKT('SRID=4674;POINT (-40.384987 -2.78944)'))) / (select extract(epoch from '2026-06-05 15:05:52'::timestamp) - extract(epoch from '2026-06-05 15:05: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'), 46721, 'SRID=4674;POINT (-40.385124 -2.789346)', '2026-06-05 15:05:58', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384987 -2.78944)'), GeomFromEWKT('SRID=4674;POINT (-40.385124 -2.789346)'))) / (select extract(epoch from '2026-06-05 15:05:58'::timestamp) - extract(epoch from '2026-06-05 15:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384987 -2.78944)'), GeomFromEWKT('SRID=4674;POINT (-40.385124 -2.789346)'))) / (select extract(epoch from '2026-06-05 15:05:58'::timestamp) - extract(epoch from '2026-06-05 15:05: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'), 46721, 'SRID=4674;POINT (-40.385277 -2.789263)', '2026-06-05 15:06:04', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385124 -2.789346)'), GeomFromEWKT('SRID=4674;POINT (-40.385277 -2.789263)'))) / (select extract(epoch from '2026-06-05 15:06:04'::timestamp) - extract(epoch from '2026-06-05 15:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385124 -2.789346)'), GeomFromEWKT('SRID=4674;POINT (-40.385277 -2.789263)'))) / (select extract(epoch from '2026-06-05 15:06:04'::timestamp) - extract(epoch from '2026-06-05 15:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.385508 -2.789136)', '2026-06-05 15:06:13', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385277 -2.789263)'), GeomFromEWKT('SRID=4674;POINT (-40.385508 -2.789136)'))) / (select extract(epoch from '2026-06-05 15:06:13'::timestamp) - extract(epoch from '2026-06-05 15:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385277 -2.789263)'), GeomFromEWKT('SRID=4674;POINT (-40.385508 -2.789136)'))) / (select extract(epoch from '2026-06-05 15:06:13'::timestamp) - extract(epoch from '2026-06-05 15:06:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.385689 -2.789047)', '2026-06-05 15:06:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385508 -2.789136)'), GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.789047)'))) / (select extract(epoch from '2026-06-05 15:06:20'::timestamp) - extract(epoch from '2026-06-05 15:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385508 -2.789136)'), GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.789047)'))) / (select extract(epoch from '2026-06-05 15:06:20'::timestamp) - extract(epoch from '2026-06-05 15:06: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'), 46721, 'SRID=4674;POINT (-40.385841 -2.788983)', '2026-06-05 15:06:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.789047)'), GeomFromEWKT('SRID=4674;POINT (-40.385841 -2.788983)'))) / (select extract(epoch from '2026-06-05 15:06:26'::timestamp) - extract(epoch from '2026-06-05 15:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385689 -2.789047)'), GeomFromEWKT('SRID=4674;POINT (-40.385841 -2.788983)'))) / (select extract(epoch from '2026-06-05 15:06:26'::timestamp) - extract(epoch from '2026-06-05 15:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.38601 -2.788907)', '2026-06-05 15:06:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385841 -2.788983)'), GeomFromEWKT('SRID=4674;POINT (-40.38601 -2.788907)'))) / (select extract(epoch from '2026-06-05 15:06:33'::timestamp) - extract(epoch from '2026-06-05 15:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385841 -2.788983)'), GeomFromEWKT('SRID=4674;POINT (-40.38601 -2.788907)'))) / (select extract(epoch from '2026-06-05 15:06:33'::timestamp) - extract(epoch from '2026-06-05 15:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.386157 -2.788835)', '2026-06-05 15:06:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38601 -2.788907)'), GeomFromEWKT('SRID=4674;POINT (-40.386157 -2.788835)'))) / (select extract(epoch from '2026-06-05 15:06:39'::timestamp) - extract(epoch from '2026-06-05 15:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38601 -2.788907)'), GeomFromEWKT('SRID=4674;POINT (-40.386157 -2.788835)'))) / (select extract(epoch from '2026-06-05 15:06:39'::timestamp) - extract(epoch from '2026-06-05 15:06: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'), 46721, 'SRID=4674;POINT (-40.386272 -2.788768)', '2026-06-05 15:06:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386157 -2.788835)'), GeomFromEWKT('SRID=4674;POINT (-40.386272 -2.788768)'))) / (select extract(epoch from '2026-06-05 15:06:44'::timestamp) - extract(epoch from '2026-06-05 15:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386157 -2.788835)'), GeomFromEWKT('SRID=4674;POINT (-40.386272 -2.788768)'))) / (select extract(epoch from '2026-06-05 15:06:44'::timestamp) - extract(epoch from '2026-06-05 15:06: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'), 46721, 'SRID=4674;POINT (-40.386428 -2.788672)', '2026-06-05 15:06:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386272 -2.788768)'), GeomFromEWKT('SRID=4674;POINT (-40.386428 -2.788672)'))) / (select extract(epoch from '2026-06-05 15:06:51'::timestamp) - extract(epoch from '2026-06-05 15:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386272 -2.788768)'), GeomFromEWKT('SRID=4674;POINT (-40.386428 -2.788672)'))) / (select extract(epoch from '2026-06-05 15:06:51'::timestamp) - extract(epoch from '2026-06-05 15:06: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'), 46721, 'SRID=4674;POINT (-40.386588 -2.788587)', '2026-06-05 15:06:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386428 -2.788672)'), GeomFromEWKT('SRID=4674;POINT (-40.386588 -2.788587)'))) / (select extract(epoch from '2026-06-05 15:06:58'::timestamp) - extract(epoch from '2026-06-05 15:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386428 -2.788672)'), GeomFromEWKT('SRID=4674;POINT (-40.386588 -2.788587)'))) / (select extract(epoch from '2026-06-05 15:06:58'::timestamp) - extract(epoch from '2026-06-05 15:06: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'), 46721, 'SRID=4674;POINT (-40.386759 -2.788534)', '2026-06-05 15:07:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386588 -2.788587)'), GeomFromEWKT('SRID=4674;POINT (-40.386759 -2.788534)'))) / (select extract(epoch from '2026-06-05 15:07:05'::timestamp) - extract(epoch from '2026-06-05 15:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386588 -2.788587)'), GeomFromEWKT('SRID=4674;POINT (-40.386759 -2.788534)'))) / (select extract(epoch from '2026-06-05 15:07:05'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.386965 -2.78847)', '2026-06-05 15:07:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386759 -2.788534)'), GeomFromEWKT('SRID=4674;POINT (-40.386965 -2.78847)'))) / (select extract(epoch from '2026-06-05 15:07:13'::timestamp) - extract(epoch from '2026-06-05 15:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386759 -2.788534)'), GeomFromEWKT('SRID=4674;POINT (-40.386965 -2.78847)'))) / (select extract(epoch from '2026-06-05 15:07:13'::timestamp) - extract(epoch from '2026-06-05 15:07: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'), 46721, 'SRID=4674;POINT (-40.387171 -2.78839)', '2026-06-05 15:07:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386965 -2.78847)'), GeomFromEWKT('SRID=4674;POINT (-40.387171 -2.78839)'))) / (select extract(epoch from '2026-06-05 15:07:21'::timestamp) - extract(epoch from '2026-06-05 15:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386965 -2.78847)'), GeomFromEWKT('SRID=4674;POINT (-40.387171 -2.78839)'))) / (select extract(epoch from '2026-06-05 15:07:21'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.387352 -2.788299)', '2026-06-05 15:07:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387171 -2.78839)'), GeomFromEWKT('SRID=4674;POINT (-40.387352 -2.788299)'))) / (select extract(epoch from '2026-06-05 15:07:28'::timestamp) - extract(epoch from '2026-06-05 15:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387171 -2.78839)'), GeomFromEWKT('SRID=4674;POINT (-40.387352 -2.788299)'))) / (select extract(epoch from '2026-06-05 15:07:28'::timestamp) - extract(epoch from '2026-06-05 15:07: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'), 46721, 'SRID=4674;POINT (-40.387496 -2.788223)', '2026-06-05 15:07:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387352 -2.788299)'), GeomFromEWKT('SRID=4674;POINT (-40.387496 -2.788223)'))) / (select extract(epoch from '2026-06-05 15:07:34'::timestamp) - extract(epoch from '2026-06-05 15:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387352 -2.788299)'), GeomFromEWKT('SRID=4674;POINT (-40.387496 -2.788223)'))) / (select extract(epoch from '2026-06-05 15:07:34'::timestamp) - extract(epoch from '2026-06-05 15:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.38766 -2.788134)', '2026-06-05 15:07:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387496 -2.788223)'), GeomFromEWKT('SRID=4674;POINT (-40.38766 -2.788134)'))) / (select extract(epoch from '2026-06-05 15:07:41'::timestamp) - extract(epoch from '2026-06-05 15:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387496 -2.788223)'), GeomFromEWKT('SRID=4674;POINT (-40.38766 -2.788134)'))) / (select extract(epoch from '2026-06-05 15:07:41'::timestamp) - extract(epoch from '2026-06-05 15:07: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'), 46721, 'SRID=4674;POINT (-40.387821 -2.788048)', '2026-06-05 15:07:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38766 -2.788134)'), GeomFromEWKT('SRID=4674;POINT (-40.387821 -2.788048)'))) / (select extract(epoch from '2026-06-05 15:07:48'::timestamp) - extract(epoch from '2026-06-05 15:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38766 -2.788134)'), GeomFromEWKT('SRID=4674;POINT (-40.387821 -2.788048)'))) / (select extract(epoch from '2026-06-05 15:07:48'::timestamp) - extract(epoch from '2026-06-05 15:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.387994 -2.787964)', '2026-06-05 15:07:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387821 -2.788048)'), GeomFromEWKT('SRID=4674;POINT (-40.387994 -2.787964)'))) / (select extract(epoch from '2026-06-05 15:07:55'::timestamp) - extract(epoch from '2026-06-05 15:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387821 -2.788048)'), GeomFromEWKT('SRID=4674;POINT (-40.387994 -2.787964)'))) / (select extract(epoch from '2026-06-05 15:07:55'::timestamp) - extract(epoch from '2026-06-05 15:07: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'), 46721, 'SRID=4674;POINT (-40.388167 -2.787876)', '2026-06-05 15:08:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387994 -2.787964)'), GeomFromEWKT('SRID=4674;POINT (-40.388167 -2.787876)'))) / (select extract(epoch from '2026-06-05 15:08:02'::timestamp) - extract(epoch from '2026-06-05 15:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387994 -2.787964)'), GeomFromEWKT('SRID=4674;POINT (-40.388167 -2.787876)'))) / (select extract(epoch from '2026-06-05 15:08:02'::timestamp) - extract(epoch from '2026-06-05 15:07: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'), 46721, 'SRID=4674;POINT (-40.38833 -2.787798)', '2026-06-05 15:08:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388167 -2.787876)'), GeomFromEWKT('SRID=4674;POINT (-40.38833 -2.787798)'))) / (select extract(epoch from '2026-06-05 15:08:09'::timestamp) - extract(epoch from '2026-06-05 15:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388167 -2.787876)'), GeomFromEWKT('SRID=4674;POINT (-40.38833 -2.787798)'))) / (select extract(epoch from '2026-06-05 15:08:09'::timestamp) - extract(epoch from '2026-06-05 15:08: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'), 46721, 'SRID=4674;POINT (-40.388515 -2.787721)', '2026-06-05 15:08:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38833 -2.787798)'), GeomFromEWKT('SRID=4674;POINT (-40.388515 -2.787721)'))) / (select extract(epoch from '2026-06-05 15:08:17'::timestamp) - extract(epoch from '2026-06-05 15:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38833 -2.787798)'), GeomFromEWKT('SRID=4674;POINT (-40.388515 -2.787721)'))) / (select extract(epoch from '2026-06-05 15:08:17'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.3887 -2.78764)', '2026-06-05 15:08:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388515 -2.787721)'), GeomFromEWKT('SRID=4674;POINT (-40.3887 -2.78764)'))) / (select extract(epoch from '2026-06-05 15:08:25'::timestamp) - extract(epoch from '2026-06-05 15:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388515 -2.787721)'), GeomFromEWKT('SRID=4674;POINT (-40.3887 -2.78764)'))) / (select extract(epoch from '2026-06-05 15:08:25'::timestamp) - extract(epoch from '2026-06-05 15:08: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'), 46721, 'SRID=4674;POINT (-40.388859 -2.787565)', '2026-06-05 15:08:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3887 -2.78764)'), GeomFromEWKT('SRID=4674;POINT (-40.388859 -2.787565)'))) / (select extract(epoch from '2026-06-05 15:08:32'::timestamp) - extract(epoch from '2026-06-05 15:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3887 -2.78764)'), GeomFromEWKT('SRID=4674;POINT (-40.388859 -2.787565)'))) / (select extract(epoch from '2026-06-05 15:08:32'::timestamp) - extract(epoch from '2026-06-05 15:08: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'), 46721, 'SRID=4674;POINT (-40.389017 -2.787487)', '2026-06-05 15:08:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388859 -2.787565)'), GeomFromEWKT('SRID=4674;POINT (-40.389017 -2.787487)'))) / (select extract(epoch from '2026-06-05 15:08:39'::timestamp) - extract(epoch from '2026-06-05 15:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388859 -2.787565)'), GeomFromEWKT('SRID=4674;POINT (-40.389017 -2.787487)'))) / (select extract(epoch from '2026-06-05 15:08:39'::timestamp) - extract(epoch from '2026-06-05 15:08: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'), 46721, 'SRID=4674;POINT (-40.389148 -2.787444)', '2026-06-05 15:08:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389017 -2.787487)'), GeomFromEWKT('SRID=4674;POINT (-40.389148 -2.787444)'))) / (select extract(epoch from '2026-06-05 15:08:44'::timestamp) - extract(epoch from '2026-06-05 15:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389017 -2.787487)'), GeomFromEWKT('SRID=4674;POINT (-40.389148 -2.787444)'))) / (select extract(epoch from '2026-06-05 15:08:44'::timestamp) - extract(epoch from '2026-06-05 15:08: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'), 46721, 'SRID=4674;POINT (-40.389308 -2.787366)', '2026-06-05 15:08:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389148 -2.787444)'), GeomFromEWKT('SRID=4674;POINT (-40.389308 -2.787366)'))) / (select extract(epoch from '2026-06-05 15:08:51'::timestamp) - extract(epoch from '2026-06-05 15:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389148 -2.787444)'), GeomFromEWKT('SRID=4674;POINT (-40.389308 -2.787366)'))) / (select extract(epoch from '2026-06-05 15:08:51'::timestamp) - extract(epoch from '2026-06-05 15:08: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'), 46721, 'SRID=4674;POINT (-40.389444 -2.787304)', '2026-06-05 15:08:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389308 -2.787366)'), GeomFromEWKT('SRID=4674;POINT (-40.389444 -2.787304)'))) / (select extract(epoch from '2026-06-05 15:08:57'::timestamp) - extract(epoch from '2026-06-05 15:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389308 -2.787366)'), GeomFromEWKT('SRID=4674;POINT (-40.389444 -2.787304)'))) / (select extract(epoch from '2026-06-05 15:08:57'::timestamp) - extract(epoch from '2026-06-05 15:08: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'), 46721, 'SRID=4674;POINT (-40.389599 -2.787226)', '2026-06-05 15:09:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389444 -2.787304)'), GeomFromEWKT('SRID=4674;POINT (-40.389599 -2.787226)'))) / (select extract(epoch from '2026-06-05 15:09:04'::timestamp) - extract(epoch from '2026-06-05 15:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389444 -2.787304)'), GeomFromEWKT('SRID=4674;POINT (-40.389599 -2.787226)'))) / (select extract(epoch from '2026-06-05 15:09:04'::timestamp) - extract(epoch from '2026-06-05 15:08: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'), 46721, 'SRID=4674;POINT (-40.389768 -2.787128)', '2026-06-05 15:09:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389599 -2.787226)'), GeomFromEWKT('SRID=4674;POINT (-40.389768 -2.787128)'))) / (select extract(epoch from '2026-06-05 15:09:11'::timestamp) - extract(epoch from '2026-06-05 15:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389599 -2.787226)'), GeomFromEWKT('SRID=4674;POINT (-40.389768 -2.787128)'))) / (select extract(epoch from '2026-06-05 15:09:11'::timestamp) - extract(epoch from '2026-06-05 15:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.389907 -2.787029)', '2026-06-05 15:09:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389768 -2.787128)'), GeomFromEWKT('SRID=4674;POINT (-40.389907 -2.787029)'))) / (select extract(epoch from '2026-06-05 15:09:18'::timestamp) - extract(epoch from '2026-06-05 15:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389768 -2.787128)'), GeomFromEWKT('SRID=4674;POINT (-40.389907 -2.787029)'))) / (select extract(epoch from '2026-06-05 15:09:18'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.390085 -2.78691)', '2026-06-05 15:09:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389907 -2.787029)'), GeomFromEWKT('SRID=4674;POINT (-40.390085 -2.78691)'))) / (select extract(epoch from '2026-06-05 15:09:27'::timestamp) - extract(epoch from '2026-06-05 15:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389907 -2.787029)'), GeomFromEWKT('SRID=4674;POINT (-40.390085 -2.78691)'))) / (select extract(epoch from '2026-06-05 15:09:27'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.390218 -2.786834)', '2026-06-05 15:09:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390085 -2.78691)'), GeomFromEWKT('SRID=4674;POINT (-40.390218 -2.786834)'))) / (select extract(epoch from '2026-06-05 15:09:33'::timestamp) - extract(epoch from '2026-06-05 15:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390085 -2.78691)'), GeomFromEWKT('SRID=4674;POINT (-40.390218 -2.786834)'))) / (select extract(epoch from '2026-06-05 15:09:33'::timestamp) - extract(epoch from '2026-06-05 15:09: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'), 46721, 'SRID=4674;POINT (-40.390352 -2.786765)', '2026-06-05 15:09:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390218 -2.786834)'), GeomFromEWKT('SRID=4674;POINT (-40.390352 -2.786765)'))) / (select extract(epoch from '2026-06-05 15:09:39'::timestamp) - extract(epoch from '2026-06-05 15:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390218 -2.786834)'), GeomFromEWKT('SRID=4674;POINT (-40.390352 -2.786765)'))) / (select extract(epoch from '2026-06-05 15:09:39'::timestamp) - extract(epoch from '2026-06-05 15:09: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'), 46721, 'SRID=4674;POINT (-40.390481 -2.786686)', '2026-06-05 15:09:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390352 -2.786765)'), GeomFromEWKT('SRID=4674;POINT (-40.390481 -2.786686)'))) / (select extract(epoch from '2026-06-05 15:09:45'::timestamp) - extract(epoch from '2026-06-05 15:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390352 -2.786765)'), GeomFromEWKT('SRID=4674;POINT (-40.390481 -2.786686)'))) / (select extract(epoch from '2026-06-05 15:09:45'::timestamp) - extract(epoch from '2026-06-05 15:09: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'), 46721, 'SRID=4674;POINT (-40.390597 -2.786611)', '2026-06-05 15:09:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390481 -2.786686)'), GeomFromEWKT('SRID=4674;POINT (-40.390597 -2.786611)'))) / (select extract(epoch from '2026-06-05 15:09:51'::timestamp) - extract(epoch from '2026-06-05 15:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390481 -2.786686)'), GeomFromEWKT('SRID=4674;POINT (-40.390597 -2.786611)'))) / (select extract(epoch from '2026-06-05 15:09:51'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.390702 -2.786546)', '2026-06-05 15:09:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390597 -2.786611)'), GeomFromEWKT('SRID=4674;POINT (-40.390702 -2.786546)'))) / (select extract(epoch from '2026-06-05 15:09:56'::timestamp) - extract(epoch from '2026-06-05 15:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390597 -2.786611)'), GeomFromEWKT('SRID=4674;POINT (-40.390702 -2.786546)'))) / (select extract(epoch from '2026-06-05 15:09:56'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.390825 -2.786468)', '2026-06-05 15:10:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390702 -2.786546)'), GeomFromEWKT('SRID=4674;POINT (-40.390825 -2.786468)'))) / (select extract(epoch from '2026-06-05 15:10:02'::timestamp) - extract(epoch from '2026-06-05 15:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390702 -2.786546)'), GeomFromEWKT('SRID=4674;POINT (-40.390825 -2.786468)'))) / (select extract(epoch from '2026-06-05 15:10:02'::timestamp) - extract(epoch from '2026-06-05 15:09: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'), 46721, 'SRID=4674;POINT (-40.390956 -2.786378)', '2026-06-05 15:10:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390825 -2.786468)'), GeomFromEWKT('SRID=4674;POINT (-40.390956 -2.786378)'))) / (select extract(epoch from '2026-06-05 15:10:08'::timestamp) - extract(epoch from '2026-06-05 15:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390825 -2.786468)'), GeomFromEWKT('SRID=4674;POINT (-40.390956 -2.786378)'))) / (select extract(epoch from '2026-06-05 15:10:08'::timestamp) - extract(epoch from '2026-06-05 15:10: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'), 46721, 'SRID=4674;POINT (-40.391043 -2.7863)', '2026-06-05 15:10:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390956 -2.786378)'), GeomFromEWKT('SRID=4674;POINT (-40.391043 -2.7863)'))) / (select extract(epoch from '2026-06-05 15:10:13'::timestamp) - extract(epoch from '2026-06-05 15:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390956 -2.786378)'), GeomFromEWKT('SRID=4674;POINT (-40.391043 -2.7863)'))) / (select extract(epoch from '2026-06-05 15:10:13'::timestamp) - extract(epoch from '2026-06-05 15:10: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'), 46721, 'SRID=4674;POINT (-40.391163 -2.786189)', '2026-06-05 15:10:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391043 -2.7863)'), GeomFromEWKT('SRID=4674;POINT (-40.391163 -2.786189)'))) / (select extract(epoch from '2026-06-05 15:10:20'::timestamp) - extract(epoch from '2026-06-05 15:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391043 -2.7863)'), GeomFromEWKT('SRID=4674;POINT (-40.391163 -2.786189)'))) / (select extract(epoch from '2026-06-05 15:10:20'::timestamp) - extract(epoch from '2026-06-05 15:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.391301 -2.786096)', '2026-06-05 15:10:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391163 -2.786189)'), GeomFromEWKT('SRID=4674;POINT (-40.391301 -2.786096)'))) / (select extract(epoch from '2026-06-05 15:10:27'::timestamp) - extract(epoch from '2026-06-05 15:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391163 -2.786189)'), GeomFromEWKT('SRID=4674;POINT (-40.391301 -2.786096)'))) / (select extract(epoch from '2026-06-05 15:10:27'::timestamp) - extract(epoch from '2026-06-05 15:10: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'), 46721, 'SRID=4674;POINT (-40.391449 -2.785988)', '2026-06-05 15:10:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391301 -2.786096)'), GeomFromEWKT('SRID=4674;POINT (-40.391449 -2.785988)'))) / (select extract(epoch from '2026-06-05 15:10:34'::timestamp) - extract(epoch from '2026-06-05 15:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391301 -2.786096)'), GeomFromEWKT('SRID=4674;POINT (-40.391449 -2.785988)'))) / (select extract(epoch from '2026-06-05 15:10:34'::timestamp) - extract(epoch from '2026-06-05 15:10: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'), 46721, 'SRID=4674;POINT (-40.391596 -2.785888)', '2026-06-05 15:10:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391449 -2.785988)'), GeomFromEWKT('SRID=4674;POINT (-40.391596 -2.785888)'))) / (select extract(epoch from '2026-06-05 15:10:41'::timestamp) - extract(epoch from '2026-06-05 15:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391449 -2.785988)'), GeomFromEWKT('SRID=4674;POINT (-40.391596 -2.785888)'))) / (select extract(epoch from '2026-06-05 15:10:41'::timestamp) - extract(epoch from '2026-06-05 15:10: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'), 46721, 'SRID=4674;POINT (-40.391725 -2.785802)', '2026-06-05 15:10:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391596 -2.785888)'), GeomFromEWKT('SRID=4674;POINT (-40.391725 -2.785802)'))) / (select extract(epoch from '2026-06-05 15:10:47'::timestamp) - extract(epoch from '2026-06-05 15:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391596 -2.785888)'), GeomFromEWKT('SRID=4674;POINT (-40.391725 -2.785802)'))) / (select extract(epoch from '2026-06-05 15:10:47'::timestamp) - extract(epoch from '2026-06-05 15:10: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'), 46721, 'SRID=4674;POINT (-40.391879 -2.785727)', '2026-06-05 15:10:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391725 -2.785802)'), GeomFromEWKT('SRID=4674;POINT (-40.391879 -2.785727)'))) / (select extract(epoch from '2026-06-05 15:10:53'::timestamp) - extract(epoch from '2026-06-05 15:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391725 -2.785802)'), GeomFromEWKT('SRID=4674;POINT (-40.391879 -2.785727)'))) / (select extract(epoch from '2026-06-05 15:10:53'::timestamp) - extract(epoch from '2026-06-05 15:10: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'), 46721, 'SRID=4674;POINT (-40.392028 -2.785655)', '2026-06-05 15:10:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391879 -2.785727)'), GeomFromEWKT('SRID=4674;POINT (-40.392028 -2.785655)'))) / (select extract(epoch from '2026-06-05 15:10:59'::timestamp) - extract(epoch from '2026-06-05 15:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391879 -2.785727)'), GeomFromEWKT('SRID=4674;POINT (-40.392028 -2.785655)'))) / (select extract(epoch from '2026-06-05 15:10:59'::timestamp) - extract(epoch from '2026-06-05 15:10: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'), 46721, 'SRID=4674;POINT (-40.392176 -2.785604)', '2026-06-05 15:11:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392028 -2.785655)'), GeomFromEWKT('SRID=4674;POINT (-40.392176 -2.785604)'))) / (select extract(epoch from '2026-06-05 15:11:04'::timestamp) - extract(epoch from '2026-06-05 15:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392028 -2.785655)'), GeomFromEWKT('SRID=4674;POINT (-40.392176 -2.785604)'))) / (select extract(epoch from '2026-06-05 15:11:04'::timestamp) - extract(epoch from '2026-06-05 15:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.392265 -2.78555)', '2026-06-05 15:11:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392176 -2.785604)'), GeomFromEWKT('SRID=4674;POINT (-40.392265 -2.78555)'))) / (select extract(epoch from '2026-06-05 15:11:08'::timestamp) - extract(epoch from '2026-06-05 15:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392176 -2.785604)'), GeomFromEWKT('SRID=4674;POINT (-40.392265 -2.78555)'))) / (select extract(epoch from '2026-06-05 15:11:08'::timestamp) - extract(epoch from '2026-06-05 15:11:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.392366 -2.785499)', '2026-06-05 15:11:12', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392265 -2.78555)'), GeomFromEWKT('SRID=4674;POINT (-40.392366 -2.785499)'))) / (select extract(epoch from '2026-06-05 15:11:12'::timestamp) - extract(epoch from '2026-06-05 15:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392265 -2.78555)'), GeomFromEWKT('SRID=4674;POINT (-40.392366 -2.785499)'))) / (select extract(epoch from '2026-06-05 15:11:12'::timestamp) - extract(epoch from '2026-06-05 15:11: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'), 46721, 'SRID=4674;POINT (-40.392482 -2.78543)', '2026-06-05 15:11:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392366 -2.785499)'), GeomFromEWKT('SRID=4674;POINT (-40.392482 -2.78543)'))) / (select extract(epoch from '2026-06-05 15:11:17'::timestamp) - extract(epoch from '2026-06-05 15:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392366 -2.785499)'), GeomFromEWKT('SRID=4674;POINT (-40.392482 -2.78543)'))) / (select extract(epoch from '2026-06-05 15:11:17'::timestamp) - extract(epoch from '2026-06-05 15:11: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'), 46721, 'SRID=4674;POINT (-40.392594 -2.785366)', '2026-06-05 15:11:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392482 -2.78543)'), GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.785366)'))) / (select extract(epoch from '2026-06-05 15:11:22'::timestamp) - extract(epoch from '2026-06-05 15:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392482 -2.78543)'), GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.785366)'))) / (select extract(epoch from '2026-06-05 15:11:22'::timestamp) - extract(epoch from '2026-06-05 15:11: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'), 46721, 'SRID=4674;POINT (-40.392726 -2.785286)', '2026-06-05 15:11:28', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.785366)'), GeomFromEWKT('SRID=4674;POINT (-40.392726 -2.785286)'))) / (select extract(epoch from '2026-06-05 15:11:28'::timestamp) - extract(epoch from '2026-06-05 15:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392594 -2.785366)'), GeomFromEWKT('SRID=4674;POINT (-40.392726 -2.785286)'))) / (select extract(epoch from '2026-06-05 15:11:28'::timestamp) - extract(epoch from '2026-06-05 15:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.392874 -2.785192)', '2026-06-05 15:11:35', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392726 -2.785286)'), GeomFromEWKT('SRID=4674;POINT (-40.392874 -2.785192)'))) / (select extract(epoch from '2026-06-05 15:11:35'::timestamp) - extract(epoch from '2026-06-05 15:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392726 -2.785286)'), GeomFromEWKT('SRID=4674;POINT (-40.392874 -2.785192)'))) / (select extract(epoch from '2026-06-05 15:11:35'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.392992 -2.785136)', '2026-06-05 15:11:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392874 -2.785192)'), GeomFromEWKT('SRID=4674;POINT (-40.392992 -2.785136)'))) / (select extract(epoch from '2026-06-05 15:11:40'::timestamp) - extract(epoch from '2026-06-05 15:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392874 -2.785192)'), GeomFromEWKT('SRID=4674;POINT (-40.392992 -2.785136)'))) / (select extract(epoch from '2026-06-05 15:11:40'::timestamp) - extract(epoch from '2026-06-05 15:11: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'), 46721, 'SRID=4674;POINT (-40.393168 -2.785067)', '2026-06-05 15:11:47', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392992 -2.785136)'), GeomFromEWKT('SRID=4674;POINT (-40.393168 -2.785067)'))) / (select extract(epoch from '2026-06-05 15:11:47'::timestamp) - extract(epoch from '2026-06-05 15:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392992 -2.785136)'), GeomFromEWKT('SRID=4674;POINT (-40.393168 -2.785067)'))) / (select extract(epoch from '2026-06-05 15:11:47'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.393318 -2.784996)', '2026-06-05 15:11:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393168 -2.785067)'), GeomFromEWKT('SRID=4674;POINT (-40.393318 -2.784996)'))) / (select extract(epoch from '2026-06-05 15:11:53'::timestamp) - extract(epoch from '2026-06-05 15:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393168 -2.785067)'), GeomFromEWKT('SRID=4674;POINT (-40.393318 -2.784996)'))) / (select extract(epoch from '2026-06-05 15:11:53'::timestamp) - extract(epoch from '2026-06-05 15:11: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'), 46721, 'SRID=4674;POINT (-40.393429 -2.78492)', '2026-06-05 15:11:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393318 -2.784996)'), GeomFromEWKT('SRID=4674;POINT (-40.393429 -2.78492)'))) / (select extract(epoch from '2026-06-05 15:11:58'::timestamp) - extract(epoch from '2026-06-05 15:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393318 -2.784996)'), GeomFromEWKT('SRID=4674;POINT (-40.393429 -2.78492)'))) / (select extract(epoch from '2026-06-05 15:11:58'::timestamp) - extract(epoch from '2026-06-05 15:11:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.39357 -2.784831)', '2026-06-05 15:12:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393429 -2.78492)'), GeomFromEWKT('SRID=4674;POINT (-40.39357 -2.784831)'))) / (select extract(epoch from '2026-06-05 15:12:04'::timestamp) - extract(epoch from '2026-06-05 15:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393429 -2.78492)'), GeomFromEWKT('SRID=4674;POINT (-40.39357 -2.784831)'))) / (select extract(epoch from '2026-06-05 15:12:04'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.393712 -2.78475)', '2026-06-05 15:12:10', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39357 -2.784831)'), GeomFromEWKT('SRID=4674;POINT (-40.393712 -2.78475)'))) / (select extract(epoch from '2026-06-05 15:12:10'::timestamp) - extract(epoch from '2026-06-05 15:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39357 -2.784831)'), GeomFromEWKT('SRID=4674;POINT (-40.393712 -2.78475)'))) / (select extract(epoch from '2026-06-05 15:12:10'::timestamp) - extract(epoch from '2026-06-05 15:12: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'), 46721, 'SRID=4674;POINT (-40.39383 -2.784682)', '2026-06-05 15:12:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393712 -2.78475)'), GeomFromEWKT('SRID=4674;POINT (-40.39383 -2.784682)'))) / (select extract(epoch from '2026-06-05 15:12:15'::timestamp) - extract(epoch from '2026-06-05 15:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393712 -2.78475)'), GeomFromEWKT('SRID=4674;POINT (-40.39383 -2.784682)'))) / (select extract(epoch from '2026-06-05 15:12:15'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.393935 -2.784637)', '2026-06-05 15:12:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39383 -2.784682)'), GeomFromEWKT('SRID=4674;POINT (-40.393935 -2.784637)'))) / (select extract(epoch from '2026-06-05 15:12:19'::timestamp) - extract(epoch from '2026-06-05 15:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39383 -2.784682)'), GeomFromEWKT('SRID=4674;POINT (-40.393935 -2.784637)'))) / (select extract(epoch from '2026-06-05 15:12:19'::timestamp) - extract(epoch from '2026-06-05 15:12: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'), 46721, 'SRID=4674;POINT (-40.394072 -2.784549)', '2026-06-05 15:12:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393935 -2.784637)'), GeomFromEWKT('SRID=4674;POINT (-40.394072 -2.784549)'))) / (select extract(epoch from '2026-06-05 15:12:25'::timestamp) - extract(epoch from '2026-06-05 15:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393935 -2.784637)'), GeomFromEWKT('SRID=4674;POINT (-40.394072 -2.784549)'))) / (select extract(epoch from '2026-06-05 15:12:25'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.394232 -2.784428)', '2026-06-05 15:12:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394072 -2.784549)'), GeomFromEWKT('SRID=4674;POINT (-40.394232 -2.784428)'))) / (select extract(epoch from '2026-06-05 15:12:33'::timestamp) - extract(epoch from '2026-06-05 15:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394072 -2.784549)'), GeomFromEWKT('SRID=4674;POINT (-40.394232 -2.784428)'))) / (select extract(epoch from '2026-06-05 15:12:33'::timestamp) - extract(epoch from '2026-06-05 15:12: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'), 46721, 'SRID=4674;POINT (-40.394338 -2.784358)', '2026-06-05 15:12:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394232 -2.784428)'), GeomFromEWKT('SRID=4674;POINT (-40.394338 -2.784358)'))) / (select extract(epoch from '2026-06-05 15:12:38'::timestamp) - extract(epoch from '2026-06-05 15:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394232 -2.784428)'), GeomFromEWKT('SRID=4674;POINT (-40.394338 -2.784358)'))) / (select extract(epoch from '2026-06-05 15:12:38'::timestamp) - extract(epoch from '2026-06-05 15:12: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'), 46721, 'SRID=4674;POINT (-40.394454 -2.784279)', '2026-06-05 15:12:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394338 -2.784358)'), GeomFromEWKT('SRID=4674;POINT (-40.394454 -2.784279)'))) / (select extract(epoch from '2026-06-05 15:12:44'::timestamp) - extract(epoch from '2026-06-05 15:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394338 -2.784358)'), GeomFromEWKT('SRID=4674;POINT (-40.394454 -2.784279)'))) / (select extract(epoch from '2026-06-05 15:12:44'::timestamp) - extract(epoch from '2026-06-05 15:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.394578 -2.784191)', '2026-06-05 15:12:50', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394454 -2.784279)'), GeomFromEWKT('SRID=4674;POINT (-40.394578 -2.784191)'))) / (select extract(epoch from '2026-06-05 15:12:50'::timestamp) - extract(epoch from '2026-06-05 15:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394454 -2.784279)'), GeomFromEWKT('SRID=4674;POINT (-40.394578 -2.784191)'))) / (select extract(epoch from '2026-06-05 15:12:50'::timestamp) - extract(epoch from '2026-06-05 15:12: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'), 46721, 'SRID=4674;POINT (-40.394735 -2.784069)', '2026-06-05 15:12:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394578 -2.784191)'), GeomFromEWKT('SRID=4674;POINT (-40.394735 -2.784069)'))) / (select extract(epoch from '2026-06-05 15:12:58'::timestamp) - extract(epoch from '2026-06-05 15:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394578 -2.784191)'), GeomFromEWKT('SRID=4674;POINT (-40.394735 -2.784069)'))) / (select extract(epoch from '2026-06-05 15:12:58'::timestamp) - extract(epoch from '2026-06-05 15:12: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'), 46721, 'SRID=4674;POINT (-40.394858 -2.783954)', '2026-06-05 15:13:05', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394735 -2.784069)'), GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.783954)'))) / (select extract(epoch from '2026-06-05 15:13:05'::timestamp) - extract(epoch from '2026-06-05 15:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394735 -2.784069)'), GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.783954)'))) / (select extract(epoch from '2026-06-05 15:13:05'::timestamp) - extract(epoch from '2026-06-05 15:12: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'), 46721, 'SRID=4674;POINT (-40.394976 -2.783867)', '2026-06-05 15:13:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.783954)'), GeomFromEWKT('SRID=4674;POINT (-40.394976 -2.783867)'))) / (select extract(epoch from '2026-06-05 15:13:11'::timestamp) - extract(epoch from '2026-06-05 15:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.783954)'), GeomFromEWKT('SRID=4674;POINT (-40.394976 -2.783867)'))) / (select extract(epoch from '2026-06-05 15:13:11'::timestamp) - extract(epoch from '2026-06-05 15:13: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'), 46721, 'SRID=4674;POINT (-40.395134 -2.783771)', '2026-06-05 15:13:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394976 -2.783867)'), GeomFromEWKT('SRID=4674;POINT (-40.395134 -2.783771)'))) / (select extract(epoch from '2026-06-05 15:13:18'::timestamp) - extract(epoch from '2026-06-05 15:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394976 -2.783867)'), GeomFromEWKT('SRID=4674;POINT (-40.395134 -2.783771)'))) / (select extract(epoch from '2026-06-05 15:13:18'::timestamp) - extract(epoch from '2026-06-05 15:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.395301 -2.783677)', '2026-06-05 15:13:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395134 -2.783771)'), GeomFromEWKT('SRID=4674;POINT (-40.395301 -2.783677)'))) / (select extract(epoch from '2026-06-05 15:13:25'::timestamp) - extract(epoch from '2026-06-05 15:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395134 -2.783771)'), GeomFromEWKT('SRID=4674;POINT (-40.395301 -2.783677)'))) / (select extract(epoch from '2026-06-05 15:13:25'::timestamp) - extract(epoch from '2026-06-05 15:13: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'), 46721, 'SRID=4674;POINT (-40.395451 -2.783598)', '2026-06-05 15:13:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395301 -2.783677)'), GeomFromEWKT('SRID=4674;POINT (-40.395451 -2.783598)'))) / (select extract(epoch from '2026-06-05 15:13:31'::timestamp) - extract(epoch from '2026-06-05 15:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395301 -2.783677)'), GeomFromEWKT('SRID=4674;POINT (-40.395451 -2.783598)'))) / (select extract(epoch from '2026-06-05 15:13:31'::timestamp) - extract(epoch from '2026-06-05 15:13: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'), 46721, 'SRID=4674;POINT (-40.39557 -2.78353)', '2026-06-05 15:13:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395451 -2.783598)'), GeomFromEWKT('SRID=4674;POINT (-40.39557 -2.78353)'))) / (select extract(epoch from '2026-06-05 15:13:36'::timestamp) - extract(epoch from '2026-06-05 15:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395451 -2.783598)'), GeomFromEWKT('SRID=4674;POINT (-40.39557 -2.78353)'))) / (select extract(epoch from '2026-06-05 15:13:36'::timestamp) - extract(epoch from '2026-06-05 15:13:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.395657 -2.783488)', '2026-06-05 15:13:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39557 -2.78353)'), GeomFromEWKT('SRID=4674;POINT (-40.395657 -2.783488)'))) / (select extract(epoch from '2026-06-05 15:13:40'::timestamp) - extract(epoch from '2026-06-05 15:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39557 -2.78353)'), GeomFromEWKT('SRID=4674;POINT (-40.395657 -2.783488)'))) / (select extract(epoch from '2026-06-05 15:13:40'::timestamp) - extract(epoch from '2026-06-05 15:13:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.395754 -2.783436)', '2026-06-05 15:13:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395657 -2.783488)'), GeomFromEWKT('SRID=4674;POINT (-40.395754 -2.783436)'))) / (select extract(epoch from '2026-06-05 15:13:44'::timestamp) - extract(epoch from '2026-06-05 15:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395657 -2.783488)'), GeomFromEWKT('SRID=4674;POINT (-40.395754 -2.783436)'))) / (select extract(epoch from '2026-06-05 15:13:44'::timestamp) - extract(epoch from '2026-06-05 15:13: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'), 46721, 'SRID=4674;POINT (-40.395902 -2.783333)', '2026-06-05 15:13:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395754 -2.783436)'), GeomFromEWKT('SRID=4674;POINT (-40.395902 -2.783333)'))) / (select extract(epoch from '2026-06-05 15:13:51'::timestamp) - extract(epoch from '2026-06-05 15:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395754 -2.783436)'), GeomFromEWKT('SRID=4674;POINT (-40.395902 -2.783333)'))) / (select extract(epoch from '2026-06-05 15:13:51'::timestamp) - extract(epoch from '2026-06-05 15:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396048 -2.783242)', '2026-06-05 15:13:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395902 -2.783333)'), GeomFromEWKT('SRID=4674;POINT (-40.396048 -2.783242)'))) / (select extract(epoch from '2026-06-05 15:13:58'::timestamp) - extract(epoch from '2026-06-05 15:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395902 -2.783333)'), GeomFromEWKT('SRID=4674;POINT (-40.396048 -2.783242)'))) / (select extract(epoch from '2026-06-05 15:13:58'::timestamp) - extract(epoch from '2026-06-05 15:13: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'), 46721, 'SRID=4674;POINT (-40.396146 -2.783183)', '2026-06-05 15:14:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396048 -2.783242)'), GeomFromEWKT('SRID=4674;POINT (-40.396146 -2.783183)'))) / (select extract(epoch from '2026-06-05 15:14:03'::timestamp) - extract(epoch from '2026-06-05 15:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396048 -2.783242)'), GeomFromEWKT('SRID=4674;POINT (-40.396146 -2.783183)'))) / (select extract(epoch from '2026-06-05 15:14:03'::timestamp) - extract(epoch from '2026-06-05 15:13: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'), 46721, 'SRID=4674;POINT (-40.396269 -2.783094)', '2026-06-05 15:14:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396146 -2.783183)'), GeomFromEWKT('SRID=4674;POINT (-40.396269 -2.783094)'))) / (select extract(epoch from '2026-06-05 15:14:09'::timestamp) - extract(epoch from '2026-06-05 15:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396146 -2.783183)'), GeomFromEWKT('SRID=4674;POINT (-40.396269 -2.783094)'))) / (select extract(epoch from '2026-06-05 15:14:09'::timestamp) - extract(epoch from '2026-06-05 15:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396375 -2.783019)', '2026-06-05 15:14:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396269 -2.783094)'), GeomFromEWKT('SRID=4674;POINT (-40.396375 -2.783019)'))) / (select extract(epoch from '2026-06-05 15:14:14'::timestamp) - extract(epoch from '2026-06-05 15:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396269 -2.783094)'), GeomFromEWKT('SRID=4674;POINT (-40.396375 -2.783019)'))) / (select extract(epoch from '2026-06-05 15:14:14'::timestamp) - extract(epoch from '2026-06-05 15:14: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'), 46721, 'SRID=4674;POINT (-40.396503 -2.782901)', '2026-06-05 15:14:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396375 -2.783019)'), GeomFromEWKT('SRID=4674;POINT (-40.396503 -2.782901)'))) / (select extract(epoch from '2026-06-05 15:14:21'::timestamp) - extract(epoch from '2026-06-05 15:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396375 -2.783019)'), GeomFromEWKT('SRID=4674;POINT (-40.396503 -2.782901)'))) / (select extract(epoch from '2026-06-05 15:14:21'::timestamp) - extract(epoch from '2026-06-05 15:14: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'), 46721, 'SRID=4674;POINT (-40.396609 -2.782829)', '2026-06-05 15:14:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396503 -2.782901)'), GeomFromEWKT('SRID=4674;POINT (-40.396609 -2.782829)'))) / (select extract(epoch from '2026-06-05 15:14:26'::timestamp) - extract(epoch from '2026-06-05 15:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396503 -2.782901)'), GeomFromEWKT('SRID=4674;POINT (-40.396609 -2.782829)'))) / (select extract(epoch from '2026-06-05 15:14:26'::timestamp) - extract(epoch from '2026-06-05 15:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396728 -2.782737)', '2026-06-05 15:14:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396609 -2.782829)'), GeomFromEWKT('SRID=4674;POINT (-40.396728 -2.782737)'))) / (select extract(epoch from '2026-06-05 15:14:32'::timestamp) - extract(epoch from '2026-06-05 15:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396609 -2.782829)'), GeomFromEWKT('SRID=4674;POINT (-40.396728 -2.782737)'))) / (select extract(epoch from '2026-06-05 15:14:32'::timestamp) - extract(epoch from '2026-06-05 15:14: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'), 46721, 'SRID=4674;POINT (-40.396849 -2.782654)', '2026-06-05 15:14:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396728 -2.782737)'), GeomFromEWKT('SRID=4674;POINT (-40.396849 -2.782654)'))) / (select extract(epoch from '2026-06-05 15:14:38'::timestamp) - extract(epoch from '2026-06-05 15:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396728 -2.782737)'), GeomFromEWKT('SRID=4674;POINT (-40.396849 -2.782654)'))) / (select extract(epoch from '2026-06-05 15:14:38'::timestamp) - extract(epoch from '2026-06-05 15:14: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'), 46721, 'SRID=4674;POINT (-40.396968 -2.782587)', '2026-06-05 15:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396849 -2.782654)'), GeomFromEWKT('SRID=4674;POINT (-40.396968 -2.782587)'))) / (select extract(epoch from '2026-06-05 15:14:44'::timestamp) - extract(epoch from '2026-06-05 15:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396849 -2.782654)'), GeomFromEWKT('SRID=4674;POINT (-40.396968 -2.782587)'))) / (select extract(epoch from '2026-06-05 15:14:44'::timestamp) - extract(epoch from '2026-06-05 15:14:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.397098 -2.782495)', '2026-06-05 15:14:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396968 -2.782587)'), GeomFromEWKT('SRID=4674;POINT (-40.397098 -2.782495)'))) / (select extract(epoch from '2026-06-05 15:14:51'::timestamp) - extract(epoch from '2026-06-05 15:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396968 -2.782587)'), GeomFromEWKT('SRID=4674;POINT (-40.397098 -2.782495)'))) / (select extract(epoch from '2026-06-05 15:14:51'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.397208 -2.782406)', '2026-06-05 15:14:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397098 -2.782495)'), GeomFromEWKT('SRID=4674;POINT (-40.397208 -2.782406)'))) / (select extract(epoch from '2026-06-05 15:14:58'::timestamp) - extract(epoch from '2026-06-05 15:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397098 -2.782495)'), GeomFromEWKT('SRID=4674;POINT (-40.397208 -2.782406)'))) / (select extract(epoch from '2026-06-05 15:14:58'::timestamp) - extract(epoch from '2026-06-05 15:14: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'), 46721, 'SRID=4674;POINT (-40.397342 -2.782304)', '2026-06-05 15:15:06', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397208 -2.782406)'), GeomFromEWKT('SRID=4674;POINT (-40.397342 -2.782304)'))) / (select extract(epoch from '2026-06-05 15:15:06'::timestamp) - extract(epoch from '2026-06-05 15:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397208 -2.782406)'), GeomFromEWKT('SRID=4674;POINT (-40.397342 -2.782304)'))) / (select extract(epoch from '2026-06-05 15:15:06'::timestamp) - extract(epoch from '2026-06-05 15:14: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'), 46721, 'SRID=4674;POINT (-40.397471 -2.782213)', '2026-06-05 15:15:13', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397342 -2.782304)'), GeomFromEWKT('SRID=4674;POINT (-40.397471 -2.782213)'))) / (select extract(epoch from '2026-06-05 15:15:13'::timestamp) - extract(epoch from '2026-06-05 15:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397342 -2.782304)'), GeomFromEWKT('SRID=4674;POINT (-40.397471 -2.782213)'))) / (select extract(epoch from '2026-06-05 15:15:13'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.397603 -2.782109)', '2026-06-05 15:15:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397471 -2.782213)'), GeomFromEWKT('SRID=4674;POINT (-40.397603 -2.782109)'))) / (select extract(epoch from '2026-06-05 15:15:21'::timestamp) - extract(epoch from '2026-06-05 15:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397471 -2.782213)'), GeomFromEWKT('SRID=4674;POINT (-40.397603 -2.782109)'))) / (select extract(epoch from '2026-06-05 15:15:21'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.397676 -2.78203)', '2026-06-05 15:15:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397603 -2.782109)'), GeomFromEWKT('SRID=4674;POINT (-40.397676 -2.78203)'))) / (select extract(epoch from '2026-06-05 15:15:26'::timestamp) - extract(epoch from '2026-06-05 15:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397603 -2.782109)'), GeomFromEWKT('SRID=4674;POINT (-40.397676 -2.78203)'))) / (select extract(epoch from '2026-06-05 15:15:26'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.397746 -2.781936)', '2026-06-05 15:15:32', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397676 -2.78203)'), GeomFromEWKT('SRID=4674;POINT (-40.397746 -2.781936)'))) / (select extract(epoch from '2026-06-05 15:15:32'::timestamp) - extract(epoch from '2026-06-05 15:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397676 -2.78203)'), GeomFromEWKT('SRID=4674;POINT (-40.397746 -2.781936)'))) / (select extract(epoch from '2026-06-05 15:15:32'::timestamp) - extract(epoch from '2026-06-05 15:15: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'), 46721, 'SRID=4674;POINT (-40.397808 -2.781859)', '2026-06-05 15:15:38', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397746 -2.781936)'), GeomFromEWKT('SRID=4674;POINT (-40.397808 -2.781859)'))) / (select extract(epoch from '2026-06-05 15:15:38'::timestamp) - extract(epoch from '2026-06-05 15:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397746 -2.781936)'), GeomFromEWKT('SRID=4674;POINT (-40.397808 -2.781859)'))) / (select extract(epoch from '2026-06-05 15:15:38'::timestamp) - extract(epoch from '2026-06-05 15:15: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'), 46721, 'SRID=4674;POINT (-40.397909 -2.781754)', '2026-06-05 15:15:46', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397808 -2.781859)'), GeomFromEWKT('SRID=4674;POINT (-40.397909 -2.781754)'))) / (select extract(epoch from '2026-06-05 15:15:46'::timestamp) - extract(epoch from '2026-06-05 15:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397808 -2.781859)'), GeomFromEWKT('SRID=4674;POINT (-40.397909 -2.781754)'))) / (select extract(epoch from '2026-06-05 15:15:46'::timestamp) - extract(epoch from '2026-06-05 15:15: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'), 46721, 'SRID=4674;POINT (-40.398018 -2.781673)', '2026-06-05 15:15:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397909 -2.781754)'), GeomFromEWKT('SRID=4674;POINT (-40.398018 -2.781673)'))) / (select extract(epoch from '2026-06-05 15:15:52'::timestamp) - extract(epoch from '2026-06-05 15:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397909 -2.781754)'), GeomFromEWKT('SRID=4674;POINT (-40.398018 -2.781673)'))) / (select extract(epoch from '2026-06-05 15:15:52'::timestamp) - extract(epoch from '2026-06-05 15:15: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'), 46721, 'SRID=4674;POINT (-40.398131 -2.781607)', '2026-06-05 15:15:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398018 -2.781673)'), GeomFromEWKT('SRID=4674;POINT (-40.398131 -2.781607)'))) / (select extract(epoch from '2026-06-05 15:15:57'::timestamp) - extract(epoch from '2026-06-05 15:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398018 -2.781673)'), GeomFromEWKT('SRID=4674;POINT (-40.398131 -2.781607)'))) / (select extract(epoch from '2026-06-05 15:15:57'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.398288 -2.781495)', '2026-06-05 15:16:05', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398131 -2.781607)'), GeomFromEWKT('SRID=4674;POINT (-40.398288 -2.781495)'))) / (select extract(epoch from '2026-06-05 15:16:05'::timestamp) - extract(epoch from '2026-06-05 15:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398131 -2.781607)'), GeomFromEWKT('SRID=4674;POINT (-40.398288 -2.781495)'))) / (select extract(epoch from '2026-06-05 15:16:05'::timestamp) - extract(epoch from '2026-06-05 15:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.398416 -2.781411)', '2026-06-05 15:16:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398288 -2.781495)'), GeomFromEWKT('SRID=4674;POINT (-40.398416 -2.781411)'))) / (select extract(epoch from '2026-06-05 15:16:11'::timestamp) - extract(epoch from '2026-06-05 15:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398288 -2.781495)'), GeomFromEWKT('SRID=4674;POINT (-40.398416 -2.781411)'))) / (select extract(epoch from '2026-06-05 15:16:11'::timestamp) - extract(epoch from '2026-06-05 15:16: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'), 46721, 'SRID=4674;POINT (-40.398532 -2.781316)', '2026-06-05 15:16:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398416 -2.781411)'), GeomFromEWKT('SRID=4674;POINT (-40.398532 -2.781316)'))) / (select extract(epoch from '2026-06-05 15:16:17'::timestamp) - extract(epoch from '2026-06-05 15:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398416 -2.781411)'), GeomFromEWKT('SRID=4674;POINT (-40.398532 -2.781316)'))) / (select extract(epoch from '2026-06-05 15:16:17'::timestamp) - extract(epoch from '2026-06-05 15:16: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'), 46721, 'SRID=4674;POINT (-40.398662 -2.781228)', '2026-06-05 15:16:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398532 -2.781316)'), GeomFromEWKT('SRID=4674;POINT (-40.398662 -2.781228)'))) / (select extract(epoch from '2026-06-05 15:16:23'::timestamp) - extract(epoch from '2026-06-05 15:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398532 -2.781316)'), GeomFromEWKT('SRID=4674;POINT (-40.398662 -2.781228)'))) / (select extract(epoch from '2026-06-05 15:16:23'::timestamp) - extract(epoch from '2026-06-05 15:16: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'), 46721, 'SRID=4674;POINT (-40.398806 -2.781129)', '2026-06-05 15:16:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398662 -2.781228)'), GeomFromEWKT('SRID=4674;POINT (-40.398806 -2.781129)'))) / (select extract(epoch from '2026-06-05 15:16:30'::timestamp) - extract(epoch from '2026-06-05 15:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398662 -2.781228)'), GeomFromEWKT('SRID=4674;POINT (-40.398806 -2.781129)'))) / (select extract(epoch from '2026-06-05 15:16:30'::timestamp) - extract(epoch from '2026-06-05 15:16: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'), 46721, 'SRID=4674;POINT (-40.398966 -2.78104)', '2026-06-05 15:16:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398806 -2.781129)'), GeomFromEWKT('SRID=4674;POINT (-40.398966 -2.78104)'))) / (select extract(epoch from '2026-06-05 15:16:37'::timestamp) - extract(epoch from '2026-06-05 15:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398806 -2.781129)'), GeomFromEWKT('SRID=4674;POINT (-40.398966 -2.78104)'))) / (select extract(epoch from '2026-06-05 15:16:37'::timestamp) - extract(epoch from '2026-06-05 15:16: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'), 46721, 'SRID=4674;POINT (-40.399137 -2.780949)', '2026-06-05 15:16:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398966 -2.78104)'), GeomFromEWKT('SRID=4674;POINT (-40.399137 -2.780949)'))) / (select extract(epoch from '2026-06-05 15:16:44'::timestamp) - extract(epoch from '2026-06-05 15:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398966 -2.78104)'), GeomFromEWKT('SRID=4674;POINT (-40.399137 -2.780949)'))) / (select extract(epoch from '2026-06-05 15:16:44'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.399296 -2.780852)', '2026-06-05 15:16:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399137 -2.780949)'), GeomFromEWKT('SRID=4674;POINT (-40.399296 -2.780852)'))) / (select extract(epoch from '2026-06-05 15:16:51'::timestamp) - extract(epoch from '2026-06-05 15:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399137 -2.780949)'), GeomFromEWKT('SRID=4674;POINT (-40.399296 -2.780852)'))) / (select extract(epoch from '2026-06-05 15:16:51'::timestamp) - extract(epoch from '2026-06-05 15:16: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'), 46721, 'SRID=4674;POINT (-40.399421 -2.780761)', '2026-06-05 15:16:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399296 -2.780852)'), GeomFromEWKT('SRID=4674;POINT (-40.399421 -2.780761)'))) / (select extract(epoch from '2026-06-05 15:16:57'::timestamp) - extract(epoch from '2026-06-05 15:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399296 -2.780852)'), GeomFromEWKT('SRID=4674;POINT (-40.399421 -2.780761)'))) / (select extract(epoch from '2026-06-05 15:16:57'::timestamp) - extract(epoch from '2026-06-05 15:16: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'), 46721, 'SRID=4674;POINT (-40.39951 -2.780709)', '2026-06-05 15:17:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399421 -2.780761)'), GeomFromEWKT('SRID=4674;POINT (-40.39951 -2.780709)'))) / (select extract(epoch from '2026-06-05 15:17:01'::timestamp) - extract(epoch from '2026-06-05 15:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399421 -2.780761)'), GeomFromEWKT('SRID=4674;POINT (-40.39951 -2.780709)'))) / (select extract(epoch from '2026-06-05 15:17:01'::timestamp) - extract(epoch from '2026-06-05 15:16: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'), 46721, 'SRID=4674;POINT (-40.399643 -2.780623)', '2026-06-05 15:17:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39951 -2.780709)'), GeomFromEWKT('SRID=4674;POINT (-40.399643 -2.780623)'))) / (select extract(epoch from '2026-06-05 15:17:07'::timestamp) - extract(epoch from '2026-06-05 15:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39951 -2.780709)'), GeomFromEWKT('SRID=4674;POINT (-40.399643 -2.780623)'))) / (select extract(epoch from '2026-06-05 15:17:07'::timestamp) - extract(epoch from '2026-06-05 15:17: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'), 46721, 'SRID=4674;POINT (-40.399776 -2.780529)', '2026-06-05 15:17:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399643 -2.780623)'), GeomFromEWKT('SRID=4674;POINT (-40.399776 -2.780529)'))) / (select extract(epoch from '2026-06-05 15:17:13'::timestamp) - extract(epoch from '2026-06-05 15:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399643 -2.780623)'), GeomFromEWKT('SRID=4674;POINT (-40.399776 -2.780529)'))) / (select extract(epoch from '2026-06-05 15:17:13'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.399878 -2.780449)', '2026-06-05 15:17:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399776 -2.780529)'), GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.780449)'))) / (select extract(epoch from '2026-06-05 15:17:18'::timestamp) - extract(epoch from '2026-06-05 15:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399776 -2.780529)'), GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.780449)'))) / (select extract(epoch from '2026-06-05 15:17:18'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.399982 -2.78037)', '2026-06-05 15:17:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.780449)'), GeomFromEWKT('SRID=4674;POINT (-40.399982 -2.78037)'))) / (select extract(epoch from '2026-06-05 15:17:23'::timestamp) - extract(epoch from '2026-06-05 15:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399878 -2.780449)'), GeomFromEWKT('SRID=4674;POINT (-40.399982 -2.78037)'))) / (select extract(epoch from '2026-06-05 15:17:23'::timestamp) - extract(epoch from '2026-06-05 15:17:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.400094 -2.780294)', '2026-06-05 15:17:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399982 -2.78037)'), GeomFromEWKT('SRID=4674;POINT (-40.400094 -2.780294)'))) / (select extract(epoch from '2026-06-05 15:17:28'::timestamp) - extract(epoch from '2026-06-05 15:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399982 -2.78037)'), GeomFromEWKT('SRID=4674;POINT (-40.400094 -2.780294)'))) / (select extract(epoch from '2026-06-05 15:17:28'::timestamp) - extract(epoch from '2026-06-05 15:17: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'), 46721, 'SRID=4674;POINT (-40.400203 -2.780215)', '2026-06-05 15:17:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400094 -2.780294)'), GeomFromEWKT('SRID=4674;POINT (-40.400203 -2.780215)'))) / (select extract(epoch from '2026-06-05 15:17:33'::timestamp) - extract(epoch from '2026-06-05 15:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400094 -2.780294)'), GeomFromEWKT('SRID=4674;POINT (-40.400203 -2.780215)'))) / (select extract(epoch from '2026-06-05 15:17:33'::timestamp) - extract(epoch from '2026-06-05 15:17: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'), 46721, 'SRID=4674;POINT (-40.40036 -2.780104)', '2026-06-05 15:17:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400203 -2.780215)'), GeomFromEWKT('SRID=4674;POINT (-40.40036 -2.780104)'))) / (select extract(epoch from '2026-06-05 15:17:40'::timestamp) - extract(epoch from '2026-06-05 15:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400203 -2.780215)'), GeomFromEWKT('SRID=4674;POINT (-40.40036 -2.780104)'))) / (select extract(epoch from '2026-06-05 15:17:40'::timestamp) - extract(epoch from '2026-06-05 15:17: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'), 46721, 'SRID=4674;POINT (-40.400469 -2.780024)', '2026-06-05 15:17:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40036 -2.780104)'), GeomFromEWKT('SRID=4674;POINT (-40.400469 -2.780024)'))) / (select extract(epoch from '2026-06-05 15:17:45'::timestamp) - extract(epoch from '2026-06-05 15:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40036 -2.780104)'), GeomFromEWKT('SRID=4674;POINT (-40.400469 -2.780024)'))) / (select extract(epoch from '2026-06-05 15:17:45'::timestamp) - extract(epoch from '2026-06-05 15:17: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'), 46721, 'SRID=4674;POINT (-40.400669 -2.779879)', '2026-06-05 15:17:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400469 -2.780024)'), GeomFromEWKT('SRID=4674;POINT (-40.400669 -2.779879)'))) / (select extract(epoch from '2026-06-05 15:17:54'::timestamp) - extract(epoch from '2026-06-05 15:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400469 -2.780024)'), GeomFromEWKT('SRID=4674;POINT (-40.400669 -2.779879)'))) / (select extract(epoch from '2026-06-05 15:17:54'::timestamp) - extract(epoch from '2026-06-05 15:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.400869 -2.77977)', '2026-06-05 15:18:02', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400669 -2.779879)'), GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.77977)'))) / (select extract(epoch from '2026-06-05 15:18:02'::timestamp) - extract(epoch from '2026-06-05 15:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400669 -2.779879)'), GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.77977)'))) / (select extract(epoch from '2026-06-05 15:18:02'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.401026 -2.779677)', '2026-06-05 15:18:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.77977)'), GeomFromEWKT('SRID=4674;POINT (-40.401026 -2.779677)'))) / (select extract(epoch from '2026-06-05 15:18:08'::timestamp) - extract(epoch from '2026-06-05 15:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.77977)'), GeomFromEWKT('SRID=4674;POINT (-40.401026 -2.779677)'))) / (select extract(epoch from '2026-06-05 15:18:08'::timestamp) - extract(epoch from '2026-06-05 15:18: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'), 46721, 'SRID=4674;POINT (-40.401176 -2.779562)', '2026-06-05 15:18:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401026 -2.779677)'), GeomFromEWKT('SRID=4674;POINT (-40.401176 -2.779562)'))) / (select extract(epoch from '2026-06-05 15:18:15'::timestamp) - extract(epoch from '2026-06-05 15:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401026 -2.779677)'), GeomFromEWKT('SRID=4674;POINT (-40.401176 -2.779562)'))) / (select extract(epoch from '2026-06-05 15:18:15'::timestamp) - extract(epoch from '2026-06-05 15:18: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'), 46721, 'SRID=4674;POINT (-40.401332 -2.779477)', '2026-06-05 15:18:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401176 -2.779562)'), GeomFromEWKT('SRID=4674;POINT (-40.401332 -2.779477)'))) / (select extract(epoch from '2026-06-05 15:18:21'::timestamp) - extract(epoch from '2026-06-05 15:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401176 -2.779562)'), GeomFromEWKT('SRID=4674;POINT (-40.401332 -2.779477)'))) / (select extract(epoch from '2026-06-05 15:18:21'::timestamp) - extract(epoch from '2026-06-05 15:18: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'), 46721, 'SRID=4674;POINT (-40.401501 -2.779365)', '2026-06-05 15:18:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401332 -2.779477)'), GeomFromEWKT('SRID=4674;POINT (-40.401501 -2.779365)'))) / (select extract(epoch from '2026-06-05 15:18:28'::timestamp) - extract(epoch from '2026-06-05 15:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401332 -2.779477)'), GeomFromEWKT('SRID=4674;POINT (-40.401501 -2.779365)'))) / (select extract(epoch from '2026-06-05 15:18:28'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.401662 -2.77925)', '2026-06-05 15:18:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401501 -2.779365)'), GeomFromEWKT('SRID=4674;POINT (-40.401662 -2.77925)'))) / (select extract(epoch from '2026-06-05 15:18:35'::timestamp) - extract(epoch from '2026-06-05 15:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401501 -2.779365)'), GeomFromEWKT('SRID=4674;POINT (-40.401662 -2.77925)'))) / (select extract(epoch from '2026-06-05 15:18:35'::timestamp) - extract(epoch from '2026-06-05 15:18: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'), 46721, 'SRID=4674;POINT (-40.40181 -2.779182)', '2026-06-05 15:18:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401662 -2.77925)'), GeomFromEWKT('SRID=4674;POINT (-40.40181 -2.779182)'))) / (select extract(epoch from '2026-06-05 15:18:41'::timestamp) - extract(epoch from '2026-06-05 15:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401662 -2.77925)'), GeomFromEWKT('SRID=4674;POINT (-40.40181 -2.779182)'))) / (select extract(epoch from '2026-06-05 15:18:41'::timestamp) - extract(epoch from '2026-06-05 15:18: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'), 46721, 'SRID=4674;POINT (-40.401995 -2.779087)', '2026-06-05 15:18:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40181 -2.779182)'), GeomFromEWKT('SRID=4674;POINT (-40.401995 -2.779087)'))) / (select extract(epoch from '2026-06-05 15:18:48'::timestamp) - extract(epoch from '2026-06-05 15:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40181 -2.779182)'), GeomFromEWKT('SRID=4674;POINT (-40.401995 -2.779087)'))) / (select extract(epoch from '2026-06-05 15:18:48'::timestamp) - extract(epoch from '2026-06-05 15:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.40218 -2.778988)', '2026-06-05 15:18:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401995 -2.779087)'), GeomFromEWKT('SRID=4674;POINT (-40.40218 -2.778988)'))) / (select extract(epoch from '2026-06-05 15:18:55'::timestamp) - extract(epoch from '2026-06-05 15:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401995 -2.779087)'), GeomFromEWKT('SRID=4674;POINT (-40.40218 -2.778988)'))) / (select extract(epoch from '2026-06-05 15:18:55'::timestamp) - extract(epoch from '2026-06-05 15:18: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'), 46721, 'SRID=4674;POINT (-40.402337 -2.778927)', '2026-06-05 15:19:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40218 -2.778988)'), GeomFromEWKT('SRID=4674;POINT (-40.402337 -2.778927)'))) / (select extract(epoch from '2026-06-05 15:19:01'::timestamp) - extract(epoch from '2026-06-05 15:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40218 -2.778988)'), GeomFromEWKT('SRID=4674;POINT (-40.402337 -2.778927)'))) / (select extract(epoch from '2026-06-05 15:19:01'::timestamp) - extract(epoch from '2026-06-05 15:18: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'), 46721, 'SRID=4674;POINT (-40.402457 -2.778868)', '2026-06-05 15:19:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402337 -2.778927)'), GeomFromEWKT('SRID=4674;POINT (-40.402457 -2.778868)'))) / (select extract(epoch from '2026-06-05 15:19:05'::timestamp) - extract(epoch from '2026-06-05 15:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402337 -2.778927)'), GeomFromEWKT('SRID=4674;POINT (-40.402457 -2.778868)'))) / (select extract(epoch from '2026-06-05 15:19:05'::timestamp) - extract(epoch from '2026-06-05 15:19: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'), 46721, 'SRID=4674;POINT (-40.402612 -2.778778)', '2026-06-05 15:19:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402457 -2.778868)'), GeomFromEWKT('SRID=4674;POINT (-40.402612 -2.778778)'))) / (select extract(epoch from '2026-06-05 15:19:11'::timestamp) - extract(epoch from '2026-06-05 15:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402457 -2.778868)'), GeomFromEWKT('SRID=4674;POINT (-40.402612 -2.778778)'))) / (select extract(epoch from '2026-06-05 15:19:11'::timestamp) - extract(epoch from '2026-06-05 15:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.402774 -2.778656)', '2026-06-05 15:19:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402612 -2.778778)'), GeomFromEWKT('SRID=4674;POINT (-40.402774 -2.778656)'))) / (select extract(epoch from '2026-06-05 15:19:18'::timestamp) - extract(epoch from '2026-06-05 15:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402612 -2.778778)'), GeomFromEWKT('SRID=4674;POINT (-40.402774 -2.778656)'))) / (select extract(epoch from '2026-06-05 15:19:18'::timestamp) - extract(epoch from '2026-06-05 15:19: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'), 46721, 'SRID=4674;POINT (-40.402876 -2.778564)', '2026-06-05 15:19:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402774 -2.778656)'), GeomFromEWKT('SRID=4674;POINT (-40.402876 -2.778564)'))) / (select extract(epoch from '2026-06-05 15:19:23'::timestamp) - extract(epoch from '2026-06-05 15:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402774 -2.778656)'), GeomFromEWKT('SRID=4674;POINT (-40.402876 -2.778564)'))) / (select extract(epoch from '2026-06-05 15:19:23'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.40298 -2.778458)', '2026-06-05 15:19:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402876 -2.778564)'), GeomFromEWKT('SRID=4674;POINT (-40.40298 -2.778458)'))) / (select extract(epoch from '2026-06-05 15:19:29'::timestamp) - extract(epoch from '2026-06-05 15:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402876 -2.778564)'), GeomFromEWKT('SRID=4674;POINT (-40.40298 -2.778458)'))) / (select extract(epoch from '2026-06-05 15:19:29'::timestamp) - extract(epoch from '2026-06-05 15:19: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'), 46721, 'SRID=4674;POINT (-40.403118 -2.778367)', '2026-06-05 15:19:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40298 -2.778458)'), GeomFromEWKT('SRID=4674;POINT (-40.403118 -2.778367)'))) / (select extract(epoch from '2026-06-05 15:19:35'::timestamp) - extract(epoch from '2026-06-05 15:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40298 -2.778458)'), GeomFromEWKT('SRID=4674;POINT (-40.403118 -2.778367)'))) / (select extract(epoch from '2026-06-05 15:19:35'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.403257 -2.778305)', '2026-06-05 15:19:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403118 -2.778367)'), GeomFromEWKT('SRID=4674;POINT (-40.403257 -2.778305)'))) / (select extract(epoch from '2026-06-05 15:19:40'::timestamp) - extract(epoch from '2026-06-05 15:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403118 -2.778367)'), GeomFromEWKT('SRID=4674;POINT (-40.403257 -2.778305)'))) / (select extract(epoch from '2026-06-05 15:19:40'::timestamp) - extract(epoch from '2026-06-05 15:19: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'), 46721, 'SRID=4674;POINT (-40.403428 -2.778249)', '2026-06-05 15:19:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403257 -2.778305)'), GeomFromEWKT('SRID=4674;POINT (-40.403428 -2.778249)'))) / (select extract(epoch from '2026-06-05 15:19:46'::timestamp) - extract(epoch from '2026-06-05 15:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403257 -2.778305)'), GeomFromEWKT('SRID=4674;POINT (-40.403428 -2.778249)'))) / (select extract(epoch from '2026-06-05 15:19:46'::timestamp) - extract(epoch from '2026-06-05 15:19: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'), 46721, 'SRID=4674;POINT (-40.403607 -2.77817)', '2026-06-05 15:19:52', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403428 -2.778249)'), GeomFromEWKT('SRID=4674;POINT (-40.403607 -2.77817)'))) / (select extract(epoch from '2026-06-05 15:19:52'::timestamp) - extract(epoch from '2026-06-05 15:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403428 -2.778249)'), GeomFromEWKT('SRID=4674;POINT (-40.403607 -2.77817)'))) / (select extract(epoch from '2026-06-05 15:19:52'::timestamp) - extract(epoch from '2026-06-05 15:19: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'), 46721, 'SRID=4674;POINT (-40.403763 -2.778122)', '2026-06-05 15:19:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403607 -2.77817)'), GeomFromEWKT('SRID=4674;POINT (-40.403763 -2.778122)'))) / (select extract(epoch from '2026-06-05 15:19:58'::timestamp) - extract(epoch from '2026-06-05 15:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403607 -2.77817)'), GeomFromEWKT('SRID=4674;POINT (-40.403763 -2.778122)'))) / (select extract(epoch from '2026-06-05 15:19:58'::timestamp) - extract(epoch from '2026-06-05 15:19: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'), 46721, 'SRID=4674;POINT (-40.403981 -2.77805)', '2026-06-05 15:20:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403763 -2.778122)'), GeomFromEWKT('SRID=4674;POINT (-40.403981 -2.77805)'))) / (select extract(epoch from '2026-06-05 15:20:06'::timestamp) - extract(epoch from '2026-06-05 15:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403763 -2.778122)'), GeomFromEWKT('SRID=4674;POINT (-40.403981 -2.77805)'))) / (select extract(epoch from '2026-06-05 15:20:06'::timestamp) - extract(epoch from '2026-06-05 15:19: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'), 46721, 'SRID=4674;POINT (-40.404156 -2.777991)', '2026-06-05 15:20:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403981 -2.77805)'), GeomFromEWKT('SRID=4674;POINT (-40.404156 -2.777991)'))) / (select extract(epoch from '2026-06-05 15:20:13'::timestamp) - extract(epoch from '2026-06-05 15:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403981 -2.77805)'), GeomFromEWKT('SRID=4674;POINT (-40.404156 -2.777991)'))) / (select extract(epoch from '2026-06-05 15:20:13'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.404343 -2.77795)', '2026-06-05 15:20:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404156 -2.777991)'), GeomFromEWKT('SRID=4674;POINT (-40.404343 -2.77795)'))) / (select extract(epoch from '2026-06-05 15:20:20'::timestamp) - extract(epoch from '2026-06-05 15:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404156 -2.777991)'), GeomFromEWKT('SRID=4674;POINT (-40.404343 -2.77795)'))) / (select extract(epoch from '2026-06-05 15:20:20'::timestamp) - extract(epoch from '2026-06-05 15:20: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'), 46721, 'SRID=4674;POINT (-40.404532 -2.777918)', '2026-06-05 15:20:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404343 -2.77795)'), GeomFromEWKT('SRID=4674;POINT (-40.404532 -2.777918)'))) / (select extract(epoch from '2026-06-05 15:20:27'::timestamp) - extract(epoch from '2026-06-05 15:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404343 -2.77795)'), GeomFromEWKT('SRID=4674;POINT (-40.404532 -2.777918)'))) / (select extract(epoch from '2026-06-05 15:20:27'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.404692 -2.777903)', '2026-06-05 15:20:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404532 -2.777918)'), GeomFromEWKT('SRID=4674;POINT (-40.404692 -2.777903)'))) / (select extract(epoch from '2026-06-05 15:20:33'::timestamp) - extract(epoch from '2026-06-05 15:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404532 -2.777918)'), GeomFromEWKT('SRID=4674;POINT (-40.404692 -2.777903)'))) / (select extract(epoch from '2026-06-05 15:20:33'::timestamp) - extract(epoch from '2026-06-05 15:20: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'), 46721, 'SRID=4674;POINT (-40.404858 -2.777872)', '2026-06-05 15:20:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404692 -2.777903)'), GeomFromEWKT('SRID=4674;POINT (-40.404858 -2.777872)'))) / (select extract(epoch from '2026-06-05 15:20:39'::timestamp) - extract(epoch from '2026-06-05 15:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404692 -2.777903)'), GeomFromEWKT('SRID=4674;POINT (-40.404858 -2.777872)'))) / (select extract(epoch from '2026-06-05 15:20:39'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.405017 -2.777812)', '2026-06-05 15:20:45', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404858 -2.777872)'), GeomFromEWKT('SRID=4674;POINT (-40.405017 -2.777812)'))) / (select extract(epoch from '2026-06-05 15:20:45'::timestamp) - extract(epoch from '2026-06-05 15:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404858 -2.777872)'), GeomFromEWKT('SRID=4674;POINT (-40.405017 -2.777812)'))) / (select extract(epoch from '2026-06-05 15:20:45'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.405156 -2.777743)', '2026-06-05 15:20:50', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405017 -2.777812)'), GeomFromEWKT('SRID=4674;POINT (-40.405156 -2.777743)'))) / (select extract(epoch from '2026-06-05 15:20:50'::timestamp) - extract(epoch from '2026-06-05 15:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405017 -2.777812)'), GeomFromEWKT('SRID=4674;POINT (-40.405156 -2.777743)'))) / (select extract(epoch from '2026-06-05 15:20:50'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.405294 -2.777676)', '2026-06-05 15:20:55', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405156 -2.777743)'), GeomFromEWKT('SRID=4674;POINT (-40.405294 -2.777676)'))) / (select extract(epoch from '2026-06-05 15:20:55'::timestamp) - extract(epoch from '2026-06-05 15:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405156 -2.777743)'), GeomFromEWKT('SRID=4674;POINT (-40.405294 -2.777676)'))) / (select extract(epoch from '2026-06-05 15:20:55'::timestamp) - extract(epoch from '2026-06-05 15:20: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'), 46721, 'SRID=4674;POINT (-40.405486 -2.777563)', '2026-06-05 15:21:02', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405294 -2.777676)'), GeomFromEWKT('SRID=4674;POINT (-40.405486 -2.777563)'))) / (select extract(epoch from '2026-06-05 15:21:02'::timestamp) - extract(epoch from '2026-06-05 15:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405294 -2.777676)'), GeomFromEWKT('SRID=4674;POINT (-40.405486 -2.777563)'))) / (select extract(epoch from '2026-06-05 15:21:02'::timestamp) - extract(epoch from '2026-06-05 15:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.405676 -2.777461)', '2026-06-05 15:21:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405486 -2.777563)'), GeomFromEWKT('SRID=4674;POINT (-40.405676 -2.777461)'))) / (select extract(epoch from '2026-06-05 15:21:09'::timestamp) - extract(epoch from '2026-06-05 15:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405486 -2.777563)'), GeomFromEWKT('SRID=4674;POINT (-40.405676 -2.777461)'))) / (select extract(epoch from '2026-06-05 15:21:09'::timestamp) - extract(epoch from '2026-06-05 15:21: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'), 46721, 'SRID=4674;POINT (-40.405823 -2.777352)', '2026-06-05 15:21:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405676 -2.777461)'), GeomFromEWKT('SRID=4674;POINT (-40.405823 -2.777352)'))) / (select extract(epoch from '2026-06-05 15:21:15'::timestamp) - extract(epoch from '2026-06-05 15:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405676 -2.777461)'), GeomFromEWKT('SRID=4674;POINT (-40.405823 -2.777352)'))) / (select extract(epoch from '2026-06-05 15:21:15'::timestamp) - extract(epoch from '2026-06-05 15:21: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'), 46721, 'SRID=4674;POINT (-40.406024 -2.777215)', '2026-06-05 15:21:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405823 -2.777352)'), GeomFromEWKT('SRID=4674;POINT (-40.406024 -2.777215)'))) / (select extract(epoch from '2026-06-05 15:21:23'::timestamp) - extract(epoch from '2026-06-05 15:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405823 -2.777352)'), GeomFromEWKT('SRID=4674;POINT (-40.406024 -2.777215)'))) / (select extract(epoch from '2026-06-05 15:21:23'::timestamp) - extract(epoch from '2026-06-05 15:21: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'), 46721, 'SRID=4674;POINT (-40.406186 -2.777099)', '2026-06-05 15:21:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406024 -2.777215)'), GeomFromEWKT('SRID=4674;POINT (-40.406186 -2.777099)'))) / (select extract(epoch from '2026-06-05 15:21:29'::timestamp) - extract(epoch from '2026-06-05 15:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406024 -2.777215)'), GeomFromEWKT('SRID=4674;POINT (-40.406186 -2.777099)'))) / (select extract(epoch from '2026-06-05 15:21:29'::timestamp) - extract(epoch from '2026-06-05 15:21: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'), 46721, 'SRID=4674;POINT (-40.406316 -2.776978)', '2026-06-05 15:21:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406186 -2.777099)'), GeomFromEWKT('SRID=4674;POINT (-40.406316 -2.776978)'))) / (select extract(epoch from '2026-06-05 15:21:35'::timestamp) - extract(epoch from '2026-06-05 15:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406186 -2.777099)'), GeomFromEWKT('SRID=4674;POINT (-40.406316 -2.776978)'))) / (select extract(epoch from '2026-06-05 15:21:35'::timestamp) - extract(epoch from '2026-06-05 15:21: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'), 46721, 'SRID=4674;POINT (-40.406458 -2.776852)', '2026-06-05 15:21:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406316 -2.776978)'), GeomFromEWKT('SRID=4674;POINT (-40.406458 -2.776852)'))) / (select extract(epoch from '2026-06-05 15:21:42'::timestamp) - extract(epoch from '2026-06-05 15:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406316 -2.776978)'), GeomFromEWKT('SRID=4674;POINT (-40.406458 -2.776852)'))) / (select extract(epoch from '2026-06-05 15:21:42'::timestamp) - extract(epoch from '2026-06-05 15:21: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'), 46721, 'SRID=4674;POINT (-40.406594 -2.776741)', '2026-06-05 15:21:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406458 -2.776852)'), GeomFromEWKT('SRID=4674;POINT (-40.406594 -2.776741)'))) / (select extract(epoch from '2026-06-05 15:21:48'::timestamp) - extract(epoch from '2026-06-05 15:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406458 -2.776852)'), GeomFromEWKT('SRID=4674;POINT (-40.406594 -2.776741)'))) / (select extract(epoch from '2026-06-05 15:21:48'::timestamp) - extract(epoch from '2026-06-05 15:21:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.406752 -2.776624)', '2026-06-05 15:21:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406594 -2.776741)'), GeomFromEWKT('SRID=4674;POINT (-40.406752 -2.776624)'))) / (select extract(epoch from '2026-06-05 15:21:55'::timestamp) - extract(epoch from '2026-06-05 15:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406594 -2.776741)'), GeomFromEWKT('SRID=4674;POINT (-40.406752 -2.776624)'))) / (select extract(epoch from '2026-06-05 15:21:55'::timestamp) - extract(epoch from '2026-06-05 15:21: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'), 46721, 'SRID=4674;POINT (-40.406899 -2.776531)', '2026-06-05 15:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406752 -2.776624)'), GeomFromEWKT('SRID=4674;POINT (-40.406899 -2.776531)'))) / (select extract(epoch from '2026-06-05 15:22:01'::timestamp) - extract(epoch from '2026-06-05 15:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406752 -2.776624)'), GeomFromEWKT('SRID=4674;POINT (-40.406899 -2.776531)'))) / (select extract(epoch from '2026-06-05 15:22:01'::timestamp) - extract(epoch from '2026-06-05 15:21: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'), 46721, 'SRID=4674;POINT (-40.407029 -2.776449)', '2026-06-05 15:22:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406899 -2.776531)'), GeomFromEWKT('SRID=4674;POINT (-40.407029 -2.776449)'))) / (select extract(epoch from '2026-06-05 15:22:06'::timestamp) - extract(epoch from '2026-06-05 15:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406899 -2.776531)'), GeomFromEWKT('SRID=4674;POINT (-40.407029 -2.776449)'))) / (select extract(epoch from '2026-06-05 15:22:06'::timestamp) - extract(epoch from '2026-06-05 15:22: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'), 46721, 'SRID=4674;POINT (-40.407212 -2.776301)', '2026-06-05 15:22:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407029 -2.776449)'), GeomFromEWKT('SRID=4674;POINT (-40.407212 -2.776301)'))) / (select extract(epoch from '2026-06-05 15:22:14'::timestamp) - extract(epoch from '2026-06-05 15:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407029 -2.776449)'), GeomFromEWKT('SRID=4674;POINT (-40.407212 -2.776301)'))) / (select extract(epoch from '2026-06-05 15:22:14'::timestamp) - extract(epoch from '2026-06-05 15:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.407386 -2.77616)', '2026-06-05 15:22:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407212 -2.776301)'), GeomFromEWKT('SRID=4674;POINT (-40.407386 -2.77616)'))) / (select extract(epoch from '2026-06-05 15:22:22'::timestamp) - extract(epoch from '2026-06-05 15:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407212 -2.776301)'), GeomFromEWKT('SRID=4674;POINT (-40.407386 -2.77616)'))) / (select extract(epoch from '2026-06-05 15:22:22'::timestamp) - extract(epoch from '2026-06-05 15:22: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'), 46721, 'SRID=4674;POINT (-40.407568 -2.775984)', '2026-06-05 15:22:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407386 -2.77616)'), GeomFromEWKT('SRID=4674;POINT (-40.407568 -2.775984)'))) / (select extract(epoch from '2026-06-05 15:22:32'::timestamp) - extract(epoch from '2026-06-05 15:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407386 -2.77616)'), GeomFromEWKT('SRID=4674;POINT (-40.407568 -2.775984)'))) / (select extract(epoch from '2026-06-05 15:22:32'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.407694 -2.775845)', '2026-06-05 15:22:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407568 -2.775984)'), GeomFromEWKT('SRID=4674;POINT (-40.407694 -2.775845)'))) / (select extract(epoch from '2026-06-05 15:22:40'::timestamp) - extract(epoch from '2026-06-05 15:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407568 -2.775984)'), GeomFromEWKT('SRID=4674;POINT (-40.407694 -2.775845)'))) / (select extract(epoch from '2026-06-05 15:22:40'::timestamp) - extract(epoch from '2026-06-05 15:22: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'), 46721, 'SRID=4674;POINT (-40.407822 -2.775733)', '2026-06-05 15:22:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407694 -2.775845)'), GeomFromEWKT('SRID=4674;POINT (-40.407822 -2.775733)'))) / (select extract(epoch from '2026-06-05 15:22:47'::timestamp) - extract(epoch from '2026-06-05 15:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407694 -2.775845)'), GeomFromEWKT('SRID=4674;POINT (-40.407822 -2.775733)'))) / (select extract(epoch from '2026-06-05 15:22:47'::timestamp) - extract(epoch from '2026-06-05 15:22: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'), 46721, 'SRID=4674;POINT (-40.40798 -2.775596)', '2026-06-05 15:22:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407822 -2.775733)'), GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.775596)'))) / (select extract(epoch from '2026-06-05 15:22:55'::timestamp) - extract(epoch from '2026-06-05 15:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407822 -2.775733)'), GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.775596)'))) / (select extract(epoch from '2026-06-05 15:22:55'::timestamp) - extract(epoch from '2026-06-05 15:22: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'), 46721, 'SRID=4674;POINT (-40.408107 -2.775496)', '2026-06-05 15:23:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.775596)'), GeomFromEWKT('SRID=4674;POINT (-40.408107 -2.775496)'))) / (select extract(epoch from '2026-06-05 15:23:01'::timestamp) - extract(epoch from '2026-06-05 15:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40798 -2.775596)'), GeomFromEWKT('SRID=4674;POINT (-40.408107 -2.775496)'))) / (select extract(epoch from '2026-06-05 15:23:01'::timestamp) - extract(epoch from '2026-06-05 15:22: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'), 46721, 'SRID=4674;POINT (-40.408195 -2.775408)', '2026-06-05 15:23:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408107 -2.775496)'), GeomFromEWKT('SRID=4674;POINT (-40.408195 -2.775408)'))) / (select extract(epoch from '2026-06-05 15:23:06'::timestamp) - extract(epoch from '2026-06-05 15:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408107 -2.775496)'), GeomFromEWKT('SRID=4674;POINT (-40.408195 -2.775408)'))) / (select extract(epoch from '2026-06-05 15:23:06'::timestamp) - extract(epoch from '2026-06-05 15:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.408353 -2.775262)', '2026-06-05 15:23:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408195 -2.775408)'), GeomFromEWKT('SRID=4674;POINT (-40.408353 -2.775262)'))) / (select extract(epoch from '2026-06-05 15:23:14'::timestamp) - extract(epoch from '2026-06-05 15:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408195 -2.775408)'), GeomFromEWKT('SRID=4674;POINT (-40.408353 -2.775262)'))) / (select extract(epoch from '2026-06-05 15:23:14'::timestamp) - extract(epoch from '2026-06-05 15:23: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'), 46721, 'SRID=4674;POINT (-40.408466 -2.775154)', '2026-06-05 15:23:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408353 -2.775262)'), GeomFromEWKT('SRID=4674;POINT (-40.408466 -2.775154)'))) / (select extract(epoch from '2026-06-05 15:23:20'::timestamp) - extract(epoch from '2026-06-05 15:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408353 -2.775262)'), GeomFromEWKT('SRID=4674;POINT (-40.408466 -2.775154)'))) / (select extract(epoch from '2026-06-05 15:23:20'::timestamp) - extract(epoch from '2026-06-05 15:23: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'), 46721, 'SRID=4674;POINT (-40.408615 -2.775029)', '2026-06-05 15:23:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408466 -2.775154)'), GeomFromEWKT('SRID=4674;POINT (-40.408615 -2.775029)'))) / (select extract(epoch from '2026-06-05 15:23:27'::timestamp) - extract(epoch from '2026-06-05 15:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408466 -2.775154)'), GeomFromEWKT('SRID=4674;POINT (-40.408615 -2.775029)'))) / (select extract(epoch from '2026-06-05 15:23:27'::timestamp) - extract(epoch from '2026-06-05 15:23: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'), 46721, 'SRID=4674;POINT (-40.408731 -2.774927)', '2026-06-05 15:23:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408615 -2.775029)'), GeomFromEWKT('SRID=4674;POINT (-40.408731 -2.774927)'))) / (select extract(epoch from '2026-06-05 15:23:32'::timestamp) - extract(epoch from '2026-06-05 15:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408615 -2.775029)'), GeomFromEWKT('SRID=4674;POINT (-40.408731 -2.774927)'))) / (select extract(epoch from '2026-06-05 15:23:32'::timestamp) - extract(epoch from '2026-06-05 15:23: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'), 46721, 'SRID=4674;POINT (-40.408871 -2.774784)', '2026-06-05 15:23:39', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408731 -2.774927)'), GeomFromEWKT('SRID=4674;POINT (-40.408871 -2.774784)'))) / (select extract(epoch from '2026-06-05 15:23:39'::timestamp) - extract(epoch from '2026-06-05 15:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408731 -2.774927)'), GeomFromEWKT('SRID=4674;POINT (-40.408871 -2.774784)'))) / (select extract(epoch from '2026-06-05 15:23:39'::timestamp) - extract(epoch from '2026-06-05 15:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.408989 -2.774676)', '2026-06-05 15:23:45', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408871 -2.774784)'), GeomFromEWKT('SRID=4674;POINT (-40.408989 -2.774676)'))) / (select extract(epoch from '2026-06-05 15:23:45'::timestamp) - extract(epoch from '2026-06-05 15:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408871 -2.774784)'), GeomFromEWKT('SRID=4674;POINT (-40.408989 -2.774676)'))) / (select extract(epoch from '2026-06-05 15:23:45'::timestamp) - extract(epoch from '2026-06-05 15:23: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'), 46721, 'SRID=4674;POINT (-40.409132 -2.774583)', '2026-06-05 15:23:51', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408989 -2.774676)'), GeomFromEWKT('SRID=4674;POINT (-40.409132 -2.774583)'))) / (select extract(epoch from '2026-06-05 15:23:51'::timestamp) - extract(epoch from '2026-06-05 15:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408989 -2.774676)'), GeomFromEWKT('SRID=4674;POINT (-40.409132 -2.774583)'))) / (select extract(epoch from '2026-06-05 15:23:51'::timestamp) - extract(epoch from '2026-06-05 15:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.409239 -2.774482)', '2026-06-05 15:23:56', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409132 -2.774583)'), GeomFromEWKT('SRID=4674;POINT (-40.409239 -2.774482)'))) / (select extract(epoch from '2026-06-05 15:23:56'::timestamp) - extract(epoch from '2026-06-05 15:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409132 -2.774583)'), GeomFromEWKT('SRID=4674;POINT (-40.409239 -2.774482)'))) / (select extract(epoch from '2026-06-05 15:23:56'::timestamp) - extract(epoch from '2026-06-05 15:23: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'), 46721, 'SRID=4674;POINT (-40.409365 -2.774358)', '2026-06-05 15:24:02', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409239 -2.774482)'), GeomFromEWKT('SRID=4674;POINT (-40.409365 -2.774358)'))) / (select extract(epoch from '2026-06-05 15:24:02'::timestamp) - extract(epoch from '2026-06-05 15:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409239 -2.774482)'), GeomFromEWKT('SRID=4674;POINT (-40.409365 -2.774358)'))) / (select extract(epoch from '2026-06-05 15:24:02'::timestamp) - extract(epoch from '2026-06-05 15:23: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'), 46721, 'SRID=4674;POINT (-40.409503 -2.774255)', '2026-06-05 15:24:08', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409365 -2.774358)'), GeomFromEWKT('SRID=4674;POINT (-40.409503 -2.774255)'))) / (select extract(epoch from '2026-06-05 15:24:08'::timestamp) - extract(epoch from '2026-06-05 15:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409365 -2.774358)'), GeomFromEWKT('SRID=4674;POINT (-40.409503 -2.774255)'))) / (select extract(epoch from '2026-06-05 15:24:08'::timestamp) - extract(epoch from '2026-06-05 15:24: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'), 46721, 'SRID=4674;POINT (-40.409669 -2.774128)', '2026-06-05 15:24:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409503 -2.774255)'), GeomFromEWKT('SRID=4674;POINT (-40.409669 -2.774128)'))) / (select extract(epoch from '2026-06-05 15:24:15'::timestamp) - extract(epoch from '2026-06-05 15:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409503 -2.774255)'), GeomFromEWKT('SRID=4674;POINT (-40.409669 -2.774128)'))) / (select extract(epoch from '2026-06-05 15:24:15'::timestamp) - extract(epoch from '2026-06-05 15:24: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'), 46721, 'SRID=4674;POINT (-40.409855 -2.773996)', '2026-06-05 15:24:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409669 -2.774128)'), GeomFromEWKT('SRID=4674;POINT (-40.409855 -2.773996)'))) / (select extract(epoch from '2026-06-05 15:24:22'::timestamp) - extract(epoch from '2026-06-05 15:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409669 -2.774128)'), GeomFromEWKT('SRID=4674;POINT (-40.409855 -2.773996)'))) / (select extract(epoch from '2026-06-05 15:24:22'::timestamp) - extract(epoch from '2026-06-05 15:24: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'), 46721, 'SRID=4674;POINT (-40.409991 -2.773909)', '2026-06-05 15:24:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409855 -2.773996)'), GeomFromEWKT('SRID=4674;POINT (-40.409991 -2.773909)'))) / (select extract(epoch from '2026-06-05 15:24:27'::timestamp) - extract(epoch from '2026-06-05 15:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409855 -2.773996)'), GeomFromEWKT('SRID=4674;POINT (-40.409991 -2.773909)'))) / (select extract(epoch from '2026-06-05 15:24:27'::timestamp) - extract(epoch from '2026-06-05 15:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.410124 -2.773839)', '2026-06-05 15:24:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409991 -2.773909)'), GeomFromEWKT('SRID=4674;POINT (-40.410124 -2.773839)'))) / (select extract(epoch from '2026-06-05 15:24:32'::timestamp) - extract(epoch from '2026-06-05 15:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409991 -2.773909)'), GeomFromEWKT('SRID=4674;POINT (-40.410124 -2.773839)'))) / (select extract(epoch from '2026-06-05 15:24:32'::timestamp) - extract(epoch from '2026-06-05 15:24: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'), 46721, 'SRID=4674;POINT (-40.410294 -2.773777)', '2026-06-05 15:24:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410124 -2.773839)'), GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.773777)'))) / (select extract(epoch from '2026-06-05 15:24:38'::timestamp) - extract(epoch from '2026-06-05 15:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410124 -2.773839)'), GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.773777)'))) / (select extract(epoch from '2026-06-05 15:24:38'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.41048 -2.773708)', '2026-06-05 15:24:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.773777)'), GeomFromEWKT('SRID=4674;POINT (-40.41048 -2.773708)'))) / (select extract(epoch from '2026-06-05 15:24:44'::timestamp) - extract(epoch from '2026-06-05 15:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410294 -2.773777)'), GeomFromEWKT('SRID=4674;POINT (-40.41048 -2.773708)'))) / (select extract(epoch from '2026-06-05 15:24:44'::timestamp) - extract(epoch from '2026-06-05 15:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.410676 -2.773625)', '2026-06-05 15:24:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41048 -2.773708)'), GeomFromEWKT('SRID=4674;POINT (-40.410676 -2.773625)'))) / (select extract(epoch from '2026-06-05 15:24:51'::timestamp) - extract(epoch from '2026-06-05 15:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41048 -2.773708)'), GeomFromEWKT('SRID=4674;POINT (-40.410676 -2.773625)'))) / (select extract(epoch from '2026-06-05 15:24:51'::timestamp) - extract(epoch from '2026-06-05 15:24: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'), 46721, 'SRID=4674;POINT (-40.410876 -2.773555)', '2026-06-05 15:24:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410676 -2.773625)'), GeomFromEWKT('SRID=4674;POINT (-40.410876 -2.773555)'))) / (select extract(epoch from '2026-06-05 15:24:58'::timestamp) - extract(epoch from '2026-06-05 15:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410676 -2.773625)'), GeomFromEWKT('SRID=4674;POINT (-40.410876 -2.773555)'))) / (select extract(epoch from '2026-06-05 15:24:58'::timestamp) - extract(epoch from '2026-06-05 15:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.411015 -2.77352)', '2026-06-05 15:25:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410876 -2.773555)'), GeomFromEWKT('SRID=4674;POINT (-40.411015 -2.77352)'))) / (select extract(epoch from '2026-06-05 15:25:03'::timestamp) - extract(epoch from '2026-06-05 15:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410876 -2.773555)'), GeomFromEWKT('SRID=4674;POINT (-40.411015 -2.77352)'))) / (select extract(epoch from '2026-06-05 15:25:03'::timestamp) - extract(epoch from '2026-06-05 15:24: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'), 46721, 'SRID=4674;POINT (-40.411159 -2.773457)', '2026-06-05 15:25:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411015 -2.77352)'), GeomFromEWKT('SRID=4674;POINT (-40.411159 -2.773457)'))) / (select extract(epoch from '2026-06-05 15:25:09'::timestamp) - extract(epoch from '2026-06-05 15:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411015 -2.77352)'), GeomFromEWKT('SRID=4674;POINT (-40.411159 -2.773457)'))) / (select extract(epoch from '2026-06-05 15:25:09'::timestamp) - extract(epoch from '2026-06-05 15:25: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'), 46721, 'SRID=4674;POINT (-40.411332 -2.773375)', '2026-06-05 15:25:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411159 -2.773457)'), GeomFromEWKT('SRID=4674;POINT (-40.411332 -2.773375)'))) / (select extract(epoch from '2026-06-05 15:25:16'::timestamp) - extract(epoch from '2026-06-05 15:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411159 -2.773457)'), GeomFromEWKT('SRID=4674;POINT (-40.411332 -2.773375)'))) / (select extract(epoch from '2026-06-05 15:25:16'::timestamp) - extract(epoch from '2026-06-05 15:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.411507 -2.773314)', '2026-06-05 15:25:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411332 -2.773375)'), GeomFromEWKT('SRID=4674;POINT (-40.411507 -2.773314)'))) / (select extract(epoch from '2026-06-05 15:25:23'::timestamp) - extract(epoch from '2026-06-05 15:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411332 -2.773375)'), GeomFromEWKT('SRID=4674;POINT (-40.411507 -2.773314)'))) / (select extract(epoch from '2026-06-05 15:25:23'::timestamp) - extract(epoch from '2026-06-05 15:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.411659 -2.773261)', '2026-06-05 15:25:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411507 -2.773314)'), GeomFromEWKT('SRID=4674;POINT (-40.411659 -2.773261)'))) / (select extract(epoch from '2026-06-05 15:25:28'::timestamp) - extract(epoch from '2026-06-05 15:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411507 -2.773314)'), GeomFromEWKT('SRID=4674;POINT (-40.411659 -2.773261)'))) / (select extract(epoch from '2026-06-05 15:25:28'::timestamp) - extract(epoch from '2026-06-05 15:25: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'), 46721, 'SRID=4674;POINT (-40.411853 -2.773237)', '2026-06-05 15:25:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411659 -2.773261)'), GeomFromEWKT('SRID=4674;POINT (-40.411853 -2.773237)'))) / (select extract(epoch from '2026-06-05 15:25:35'::timestamp) - extract(epoch from '2026-06-05 15:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411659 -2.773261)'), GeomFromEWKT('SRID=4674;POINT (-40.411853 -2.773237)'))) / (select extract(epoch from '2026-06-05 15:25:35'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.411984 -2.773199)', '2026-06-05 15:25:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411853 -2.773237)'), GeomFromEWKT('SRID=4674;POINT (-40.411984 -2.773199)'))) / (select extract(epoch from '2026-06-05 15:25:40'::timestamp) - extract(epoch from '2026-06-05 15:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411853 -2.773237)'), GeomFromEWKT('SRID=4674;POINT (-40.411984 -2.773199)'))) / (select extract(epoch from '2026-06-05 15:25:40'::timestamp) - extract(epoch from '2026-06-05 15:25: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'), 46721, 'SRID=4674;POINT (-40.412115 -2.77314)', '2026-06-05 15:25:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411984 -2.773199)'), GeomFromEWKT('SRID=4674;POINT (-40.412115 -2.77314)'))) / (select extract(epoch from '2026-06-05 15:25:45'::timestamp) - extract(epoch from '2026-06-05 15:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411984 -2.773199)'), GeomFromEWKT('SRID=4674;POINT (-40.412115 -2.77314)'))) / (select extract(epoch from '2026-06-05 15:25:45'::timestamp) - extract(epoch from '2026-06-05 15:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.4123 -2.773056)', '2026-06-05 15:25:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412115 -2.77314)'), GeomFromEWKT('SRID=4674;POINT (-40.4123 -2.773056)'))) / (select extract(epoch from '2026-06-05 15:25:52'::timestamp) - extract(epoch from '2026-06-05 15:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412115 -2.77314)'), GeomFromEWKT('SRID=4674;POINT (-40.4123 -2.773056)'))) / (select extract(epoch from '2026-06-05 15:25:52'::timestamp) - extract(epoch from '2026-06-05 15:25: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'), 46721, 'SRID=4674;POINT (-40.412426 -2.773005)', '2026-06-05 15:25:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4123 -2.773056)'), GeomFromEWKT('SRID=4674;POINT (-40.412426 -2.773005)'))) / (select extract(epoch from '2026-06-05 15:25:57'::timestamp) - extract(epoch from '2026-06-05 15:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4123 -2.773056)'), GeomFromEWKT('SRID=4674;POINT (-40.412426 -2.773005)'))) / (select extract(epoch from '2026-06-05 15:25:57'::timestamp) - extract(epoch from '2026-06-05 15:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.412582 -2.772948)', '2026-06-05 15:26:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412426 -2.773005)'), GeomFromEWKT('SRID=4674;POINT (-40.412582 -2.772948)'))) / (select extract(epoch from '2026-06-05 15:26:03'::timestamp) - extract(epoch from '2026-06-05 15:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412426 -2.773005)'), GeomFromEWKT('SRID=4674;POINT (-40.412582 -2.772948)'))) / (select extract(epoch from '2026-06-05 15:26:03'::timestamp) - extract(epoch from '2026-06-05 15:25: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'), 46721, 'SRID=4674;POINT (-40.412726 -2.772874)', '2026-06-05 15:26:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412582 -2.772948)'), GeomFromEWKT('SRID=4674;POINT (-40.412726 -2.772874)'))) / (select extract(epoch from '2026-06-05 15:26:09'::timestamp) - extract(epoch from '2026-06-05 15:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412582 -2.772948)'), GeomFromEWKT('SRID=4674;POINT (-40.412726 -2.772874)'))) / (select extract(epoch from '2026-06-05 15:26:09'::timestamp) - extract(epoch from '2026-06-05 15:26: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'), 46721, 'SRID=4674;POINT (-40.412889 -2.77278)', '2026-06-05 15:26:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412726 -2.772874)'), GeomFromEWKT('SRID=4674;POINT (-40.412889 -2.77278)'))) / (select extract(epoch from '2026-06-05 15:26:16'::timestamp) - extract(epoch from '2026-06-05 15:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412726 -2.772874)'), GeomFromEWKT('SRID=4674;POINT (-40.412889 -2.77278)'))) / (select extract(epoch from '2026-06-05 15:26:16'::timestamp) - extract(epoch from '2026-06-05 15:26:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.413029 -2.772701)', '2026-06-05 15:26:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412889 -2.77278)'), GeomFromEWKT('SRID=4674;POINT (-40.413029 -2.772701)'))) / (select extract(epoch from '2026-06-05 15:26:22'::timestamp) - extract(epoch from '2026-06-05 15:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412889 -2.77278)'), GeomFromEWKT('SRID=4674;POINT (-40.413029 -2.772701)'))) / (select extract(epoch from '2026-06-05 15:26:22'::timestamp) - extract(epoch from '2026-06-05 15:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.41317 -2.772642)', '2026-06-05 15:26:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413029 -2.772701)'), GeomFromEWKT('SRID=4674;POINT (-40.41317 -2.772642)'))) / (select extract(epoch from '2026-06-05 15:26:27'::timestamp) - extract(epoch from '2026-06-05 15:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413029 -2.772701)'), GeomFromEWKT('SRID=4674;POINT (-40.41317 -2.772642)'))) / (select extract(epoch from '2026-06-05 15:26:27'::timestamp) - extract(epoch from '2026-06-05 15:26: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'), 46721, 'SRID=4674;POINT (-40.413304 -2.77259)', '2026-06-05 15:26:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41317 -2.772642)'), GeomFromEWKT('SRID=4674;POINT (-40.413304 -2.77259)'))) / (select extract(epoch from '2026-06-05 15:26:32'::timestamp) - extract(epoch from '2026-06-05 15:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41317 -2.772642)'), GeomFromEWKT('SRID=4674;POINT (-40.413304 -2.77259)'))) / (select extract(epoch from '2026-06-05 15:26:32'::timestamp) - extract(epoch from '2026-06-05 15:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.413421 -2.77251)', '2026-06-05 15:26:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413304 -2.77259)'), GeomFromEWKT('SRID=4674;POINT (-40.413421 -2.77251)'))) / (select extract(epoch from '2026-06-05 15:26:37'::timestamp) - extract(epoch from '2026-06-05 15:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413304 -2.77259)'), GeomFromEWKT('SRID=4674;POINT (-40.413421 -2.77251)'))) / (select extract(epoch from '2026-06-05 15:26:37'::timestamp) - extract(epoch from '2026-06-05 15:26: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'), 46721, 'SRID=4674;POINT (-40.413561 -2.772425)', '2026-06-05 15:26:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413421 -2.77251)'), GeomFromEWKT('SRID=4674;POINT (-40.413561 -2.772425)'))) / (select extract(epoch from '2026-06-05 15:26:43'::timestamp) - extract(epoch from '2026-06-05 15:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413421 -2.77251)'), GeomFromEWKT('SRID=4674;POINT (-40.413561 -2.772425)'))) / (select extract(epoch from '2026-06-05 15:26:43'::timestamp) - extract(epoch from '2026-06-05 15:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.41368 -2.772362)', '2026-06-05 15:26:48', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413561 -2.772425)'), GeomFromEWKT('SRID=4674;POINT (-40.41368 -2.772362)'))) / (select extract(epoch from '2026-06-05 15:26:48'::timestamp) - extract(epoch from '2026-06-05 15:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413561 -2.772425)'), GeomFromEWKT('SRID=4674;POINT (-40.41368 -2.772362)'))) / (select extract(epoch from '2026-06-05 15:26:48'::timestamp) - extract(epoch from '2026-06-05 15:26: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'), 46721, 'SRID=4674;POINT (-40.413836 -2.772295)', '2026-06-05 15:26:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41368 -2.772362)'), GeomFromEWKT('SRID=4674;POINT (-40.413836 -2.772295)'))) / (select extract(epoch from '2026-06-05 15:26:54'::timestamp) - extract(epoch from '2026-06-05 15:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41368 -2.772362)'), GeomFromEWKT('SRID=4674;POINT (-40.413836 -2.772295)'))) / (select extract(epoch from '2026-06-05 15:26:54'::timestamp) - extract(epoch from '2026-06-05 15:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.413955 -2.77223)', '2026-06-05 15:26:59', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413836 -2.772295)'), GeomFromEWKT('SRID=4674;POINT (-40.413955 -2.77223)'))) / (select extract(epoch from '2026-06-05 15:26:59'::timestamp) - extract(epoch from '2026-06-05 15:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413836 -2.772295)'), GeomFromEWKT('SRID=4674;POINT (-40.413955 -2.77223)'))) / (select extract(epoch from '2026-06-05 15:26:59'::timestamp) - extract(epoch from '2026-06-05 15:26: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'), 46721, 'SRID=4674;POINT (-40.414062 -2.77213)', '2026-06-05 15:27:05', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413955 -2.77223)'), GeomFromEWKT('SRID=4674;POINT (-40.414062 -2.77213)'))) / (select extract(epoch from '2026-06-05 15:27:05'::timestamp) - extract(epoch from '2026-06-05 15:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413955 -2.77223)'), GeomFromEWKT('SRID=4674;POINT (-40.414062 -2.77213)'))) / (select extract(epoch from '2026-06-05 15:27:05'::timestamp) - extract(epoch from '2026-06-05 15:26: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'), 46721, 'SRID=4674;POINT (-40.414208 -2.771993)', '2026-06-05 15:27:13', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414062 -2.77213)'), GeomFromEWKT('SRID=4674;POINT (-40.414208 -2.771993)'))) / (select extract(epoch from '2026-06-05 15:27:13'::timestamp) - extract(epoch from '2026-06-05 15:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414062 -2.77213)'), GeomFromEWKT('SRID=4674;POINT (-40.414208 -2.771993)'))) / (select extract(epoch from '2026-06-05 15:27:13'::timestamp) - extract(epoch from '2026-06-05 15:27: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'), 46721, 'SRID=4674;POINT (-40.414314 -2.771905)', '2026-06-05 15:27:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414208 -2.771993)'), GeomFromEWKT('SRID=4674;POINT (-40.414314 -2.771905)'))) / (select extract(epoch from '2026-06-05 15:27:18'::timestamp) - extract(epoch from '2026-06-05 15:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414208 -2.771993)'), GeomFromEWKT('SRID=4674;POINT (-40.414314 -2.771905)'))) / (select extract(epoch from '2026-06-05 15:27:18'::timestamp) - extract(epoch from '2026-06-05 15:27: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'), 46721, 'SRID=4674;POINT (-40.414436 -2.771804)', '2026-06-05 15:27:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414314 -2.771905)'), GeomFromEWKT('SRID=4674;POINT (-40.414436 -2.771804)'))) / (select extract(epoch from '2026-06-05 15:27:24'::timestamp) - extract(epoch from '2026-06-05 15:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414314 -2.771905)'), GeomFromEWKT('SRID=4674;POINT (-40.414436 -2.771804)'))) / (select extract(epoch from '2026-06-05 15:27:24'::timestamp) - extract(epoch from '2026-06-05 15:27: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'), 46721, 'SRID=4674;POINT (-40.414548 -2.771699)', '2026-06-05 15:27:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414436 -2.771804)'), GeomFromEWKT('SRID=4674;POINT (-40.414548 -2.771699)'))) / (select extract(epoch from '2026-06-05 15:27:30'::timestamp) - extract(epoch from '2026-06-05 15:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414436 -2.771804)'), GeomFromEWKT('SRID=4674;POINT (-40.414548 -2.771699)'))) / (select extract(epoch from '2026-06-05 15:27:30'::timestamp) - extract(epoch from '2026-06-05 15:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.414679 -2.771607)', '2026-06-05 15:27:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414548 -2.771699)'), GeomFromEWKT('SRID=4674;POINT (-40.414679 -2.771607)'))) / (select extract(epoch from '2026-06-05 15:27:36'::timestamp) - extract(epoch from '2026-06-05 15:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414548 -2.771699)'), GeomFromEWKT('SRID=4674;POINT (-40.414679 -2.771607)'))) / (select extract(epoch from '2026-06-05 15:27:36'::timestamp) - extract(epoch from '2026-06-05 15:27: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'), 46721, 'SRID=4674;POINT (-40.41476 -2.771527)', '2026-06-05 15:27:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414679 -2.771607)'), GeomFromEWKT('SRID=4674;POINT (-40.41476 -2.771527)'))) / (select extract(epoch from '2026-06-05 15:27:40'::timestamp) - extract(epoch from '2026-06-05 15:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414679 -2.771607)'), GeomFromEWKT('SRID=4674;POINT (-40.41476 -2.771527)'))) / (select extract(epoch from '2026-06-05 15:27:40'::timestamp) - extract(epoch from '2026-06-05 15:27: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'), 46721, 'SRID=4674;POINT (-40.414878 -2.771422)', '2026-06-05 15:27:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41476 -2.771527)'), GeomFromEWKT('SRID=4674;POINT (-40.414878 -2.771422)'))) / (select extract(epoch from '2026-06-05 15:27:46'::timestamp) - extract(epoch from '2026-06-05 15:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41476 -2.771527)'), GeomFromEWKT('SRID=4674;POINT (-40.414878 -2.771422)'))) / (select extract(epoch from '2026-06-05 15:27:46'::timestamp) - extract(epoch from '2026-06-05 15:27: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'), 46721, 'SRID=4674;POINT (-40.414989 -2.771339)', '2026-06-05 15:27:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414878 -2.771422)'), GeomFromEWKT('SRID=4674;POINT (-40.414989 -2.771339)'))) / (select extract(epoch from '2026-06-05 15:27:51'::timestamp) - extract(epoch from '2026-06-05 15:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414878 -2.771422)'), GeomFromEWKT('SRID=4674;POINT (-40.414989 -2.771339)'))) / (select extract(epoch from '2026-06-05 15:27:51'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.41514 -2.771223)', '2026-06-05 15:27:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414989 -2.771339)'), GeomFromEWKT('SRID=4674;POINT (-40.41514 -2.771223)'))) / (select extract(epoch from '2026-06-05 15:27:58'::timestamp) - extract(epoch from '2026-06-05 15:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414989 -2.771339)'), GeomFromEWKT('SRID=4674;POINT (-40.41514 -2.771223)'))) / (select extract(epoch from '2026-06-05 15:27:58'::timestamp) - extract(epoch from '2026-06-05 15:27: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'), 46721, 'SRID=4674;POINT (-40.415284 -2.771127)', '2026-06-05 15:28:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41514 -2.771223)'), GeomFromEWKT('SRID=4674;POINT (-40.415284 -2.771127)'))) / (select extract(epoch from '2026-06-05 15:28:04'::timestamp) - extract(epoch from '2026-06-05 15:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41514 -2.771223)'), GeomFromEWKT('SRID=4674;POINT (-40.415284 -2.771127)'))) / (select extract(epoch from '2026-06-05 15:28:04'::timestamp) - extract(epoch from '2026-06-05 15:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.415446 -2.771054)', '2026-06-05 15:28:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415284 -2.771127)'), GeomFromEWKT('SRID=4674;POINT (-40.415446 -2.771054)'))) / (select extract(epoch from '2026-06-05 15:28:10'::timestamp) - extract(epoch from '2026-06-05 15:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415284 -2.771127)'), GeomFromEWKT('SRID=4674;POINT (-40.415446 -2.771054)'))) / (select extract(epoch from '2026-06-05 15:28:10'::timestamp) - extract(epoch from '2026-06-05 15:28:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.415577 -2.77098)', '2026-06-05 15:28:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415446 -2.771054)'), GeomFromEWKT('SRID=4674;POINT (-40.415577 -2.77098)'))) / (select extract(epoch from '2026-06-05 15:28:15'::timestamp) - extract(epoch from '2026-06-05 15:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415446 -2.771054)'), GeomFromEWKT('SRID=4674;POINT (-40.415577 -2.77098)'))) / (select extract(epoch from '2026-06-05 15:28:15'::timestamp) - extract(epoch from '2026-06-05 15:28: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'), 46721, 'SRID=4674;POINT (-40.415752 -2.770859)', '2026-06-05 15:28:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415577 -2.77098)'), GeomFromEWKT('SRID=4674;POINT (-40.415752 -2.770859)'))) / (select extract(epoch from '2026-06-05 15:28:22'::timestamp) - extract(epoch from '2026-06-05 15:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415577 -2.77098)'), GeomFromEWKT('SRID=4674;POINT (-40.415752 -2.770859)'))) / (select extract(epoch from '2026-06-05 15:28:22'::timestamp) - extract(epoch from '2026-06-05 15:28:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.415863 -2.770762)', '2026-06-05 15:28:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415752 -2.770859)'), GeomFromEWKT('SRID=4674;POINT (-40.415863 -2.770762)'))) / (select extract(epoch from '2026-06-05 15:28:27'::timestamp) - extract(epoch from '2026-06-05 15:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415752 -2.770859)'), GeomFromEWKT('SRID=4674;POINT (-40.415863 -2.770762)'))) / (select extract(epoch from '2026-06-05 15:28:27'::timestamp) - extract(epoch from '2026-06-05 15:28: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'), 46721, 'SRID=4674;POINT (-40.415962 -2.770662)', '2026-06-05 15:28:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415863 -2.770762)'), GeomFromEWKT('SRID=4674;POINT (-40.415962 -2.770662)'))) / (select extract(epoch from '2026-06-05 15:28:32'::timestamp) - extract(epoch from '2026-06-05 15:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415863 -2.770762)'), GeomFromEWKT('SRID=4674;POINT (-40.415962 -2.770662)'))) / (select extract(epoch from '2026-06-05 15:28:32'::timestamp) - extract(epoch from '2026-06-05 15:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.416048 -2.770565)', '2026-06-05 15:28:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415962 -2.770662)'), GeomFromEWKT('SRID=4674;POINT (-40.416048 -2.770565)'))) / (select extract(epoch from '2026-06-05 15:28:37'::timestamp) - extract(epoch from '2026-06-05 15:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415962 -2.770662)'), GeomFromEWKT('SRID=4674;POINT (-40.416048 -2.770565)'))) / (select extract(epoch from '2026-06-05 15:28:37'::timestamp) - extract(epoch from '2026-06-05 15:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.416163 -2.770446)', '2026-06-05 15:28:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416048 -2.770565)'), GeomFromEWKT('SRID=4674;POINT (-40.416163 -2.770446)'))) / (select extract(epoch from '2026-06-05 15:28:43'::timestamp) - extract(epoch from '2026-06-05 15:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416048 -2.770565)'), GeomFromEWKT('SRID=4674;POINT (-40.416163 -2.770446)'))) / (select extract(epoch from '2026-06-05 15:28:43'::timestamp) - extract(epoch from '2026-06-05 15:28: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'), 46721, 'SRID=4674;POINT (-40.416287 -2.770339)', '2026-06-05 15:28:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416163 -2.770446)'), GeomFromEWKT('SRID=4674;POINT (-40.416287 -2.770339)'))) / (select extract(epoch from '2026-06-05 15:28:49'::timestamp) - extract(epoch from '2026-06-05 15:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416163 -2.770446)'), GeomFromEWKT('SRID=4674;POINT (-40.416287 -2.770339)'))) / (select extract(epoch from '2026-06-05 15:28:49'::timestamp) - extract(epoch from '2026-06-05 15:28: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'), 46721, 'SRID=4674;POINT (-40.416442 -2.77026)', '2026-06-05 15:28:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416287 -2.770339)'), GeomFromEWKT('SRID=4674;POINT (-40.416442 -2.77026)'))) / (select extract(epoch from '2026-06-05 15:28:55'::timestamp) - extract(epoch from '2026-06-05 15:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416287 -2.770339)'), GeomFromEWKT('SRID=4674;POINT (-40.416442 -2.77026)'))) / (select extract(epoch from '2026-06-05 15:28:55'::timestamp) - extract(epoch from '2026-06-05 15:28: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'), 46721, 'SRID=4674;POINT (-40.416573 -2.770197)', '2026-06-05 15:29:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416442 -2.77026)'), GeomFromEWKT('SRID=4674;POINT (-40.416573 -2.770197)'))) / (select extract(epoch from '2026-06-05 15:29:00'::timestamp) - extract(epoch from '2026-06-05 15:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416442 -2.77026)'), GeomFromEWKT('SRID=4674;POINT (-40.416573 -2.770197)'))) / (select extract(epoch from '2026-06-05 15:29:00'::timestamp) - extract(epoch from '2026-06-05 15:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.41673 -2.770101)', '2026-06-05 15:29:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416573 -2.770197)'), GeomFromEWKT('SRID=4674;POINT (-40.41673 -2.770101)'))) / (select extract(epoch from '2026-06-05 15:29:06'::timestamp) - extract(epoch from '2026-06-05 15:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416573 -2.770197)'), GeomFromEWKT('SRID=4674;POINT (-40.41673 -2.770101)'))) / (select extract(epoch from '2026-06-05 15:29:06'::timestamp) - extract(epoch from '2026-06-05 15:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.416852 -2.770012)', '2026-06-05 15:29:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41673 -2.770101)'), GeomFromEWKT('SRID=4674;POINT (-40.416852 -2.770012)'))) / (select extract(epoch from '2026-06-05 15:29:11'::timestamp) - extract(epoch from '2026-06-05 15:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41673 -2.770101)'), GeomFromEWKT('SRID=4674;POINT (-40.416852 -2.770012)'))) / (select extract(epoch from '2026-06-05 15:29:11'::timestamp) - extract(epoch from '2026-06-05 15:29: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'), 46721, 'SRID=4674;POINT (-40.41701 -2.769902)', '2026-06-05 15:29:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416852 -2.770012)'), GeomFromEWKT('SRID=4674;POINT (-40.41701 -2.769902)'))) / (select extract(epoch from '2026-06-05 15:29:17'::timestamp) - extract(epoch from '2026-06-05 15:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416852 -2.770012)'), GeomFromEWKT('SRID=4674;POINT (-40.41701 -2.769902)'))) / (select extract(epoch from '2026-06-05 15:29:17'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.417162 -2.769812)', '2026-06-05 15:29:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41701 -2.769902)'), GeomFromEWKT('SRID=4674;POINT (-40.417162 -2.769812)'))) / (select extract(epoch from '2026-06-05 15:29:23'::timestamp) - extract(epoch from '2026-06-05 15:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41701 -2.769902)'), GeomFromEWKT('SRID=4674;POINT (-40.417162 -2.769812)'))) / (select extract(epoch from '2026-06-05 15:29:23'::timestamp) - extract(epoch from '2026-06-05 15:29: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'), 46721, 'SRID=4674;POINT (-40.417298 -2.769749)', '2026-06-05 15:29:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417162 -2.769812)'), GeomFromEWKT('SRID=4674;POINT (-40.417298 -2.769749)'))) / (select extract(epoch from '2026-06-05 15:29:28'::timestamp) - extract(epoch from '2026-06-05 15:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417162 -2.769812)'), GeomFromEWKT('SRID=4674;POINT (-40.417298 -2.769749)'))) / (select extract(epoch from '2026-06-05 15:29:28'::timestamp) - extract(epoch from '2026-06-05 15:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.41743 -2.769674)', '2026-06-05 15:29:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417298 -2.769749)'), GeomFromEWKT('SRID=4674;POINT (-40.41743 -2.769674)'))) / (select extract(epoch from '2026-06-05 15:29:33'::timestamp) - extract(epoch from '2026-06-05 15:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417298 -2.769749)'), GeomFromEWKT('SRID=4674;POINT (-40.41743 -2.769674)'))) / (select extract(epoch from '2026-06-05 15:29:33'::timestamp) - extract(epoch from '2026-06-05 15:29: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'), 46721, 'SRID=4674;POINT (-40.417578 -2.769571)', '2026-06-05 15:29:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41743 -2.769674)'), GeomFromEWKT('SRID=4674;POINT (-40.417578 -2.769571)'))) / (select extract(epoch from '2026-06-05 15:29:39'::timestamp) - extract(epoch from '2026-06-05 15:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41743 -2.769674)'), GeomFromEWKT('SRID=4674;POINT (-40.417578 -2.769571)'))) / (select extract(epoch from '2026-06-05 15:29:39'::timestamp) - extract(epoch from '2026-06-05 15:29: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'), 46721, 'SRID=4674;POINT (-40.417715 -2.769506)', '2026-06-05 15:29:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417578 -2.769571)'), GeomFromEWKT('SRID=4674;POINT (-40.417715 -2.769506)'))) / (select extract(epoch from '2026-06-05 15:29:44'::timestamp) - extract(epoch from '2026-06-05 15:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417578 -2.769571)'), GeomFromEWKT('SRID=4674;POINT (-40.417715 -2.769506)'))) / (select extract(epoch from '2026-06-05 15:29:44'::timestamp) - extract(epoch from '2026-06-05 15:29: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'), 46721, 'SRID=4674;POINT (-40.417865 -2.769455)', '2026-06-05 15:29:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417715 -2.769506)'), GeomFromEWKT('SRID=4674;POINT (-40.417865 -2.769455)'))) / (select extract(epoch from '2026-06-05 15:29:50'::timestamp) - extract(epoch from '2026-06-05 15:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417715 -2.769506)'), GeomFromEWKT('SRID=4674;POINT (-40.417865 -2.769455)'))) / (select extract(epoch from '2026-06-05 15:29:50'::timestamp) - extract(epoch from '2026-06-05 15:29: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'), 46721, 'SRID=4674;POINT (-40.418067 -2.76935)', '2026-06-05 15:29:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417865 -2.769455)'), GeomFromEWKT('SRID=4674;POINT (-40.418067 -2.76935)'))) / (select extract(epoch from '2026-06-05 15:29:58'::timestamp) - extract(epoch from '2026-06-05 15:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417865 -2.769455)'), GeomFromEWKT('SRID=4674;POINT (-40.418067 -2.76935)'))) / (select extract(epoch from '2026-06-05 15:29:58'::timestamp) - extract(epoch from '2026-06-05 15:29: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'), 46721, 'SRID=4674;POINT (-40.418171 -2.769293)', '2026-06-05 15:30:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418067 -2.76935)'), GeomFromEWKT('SRID=4674;POINT (-40.418171 -2.769293)'))) / (select extract(epoch from '2026-06-05 15:30:02'::timestamp) - extract(epoch from '2026-06-05 15:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418067 -2.76935)'), GeomFromEWKT('SRID=4674;POINT (-40.418171 -2.769293)'))) / (select extract(epoch from '2026-06-05 15:30:02'::timestamp) - extract(epoch from '2026-06-05 15:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.418299 -2.7692)', '2026-06-05 15:30:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418171 -2.769293)'), GeomFromEWKT('SRID=4674;POINT (-40.418299 -2.7692)'))) / (select extract(epoch from '2026-06-05 15:30:07'::timestamp) - extract(epoch from '2026-06-05 15:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418171 -2.769293)'), GeomFromEWKT('SRID=4674;POINT (-40.418299 -2.7692)'))) / (select extract(epoch from '2026-06-05 15:30:07'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.418421 -2.769107)', '2026-06-05 15:30:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418299 -2.7692)'), GeomFromEWKT('SRID=4674;POINT (-40.418421 -2.769107)'))) / (select extract(epoch from '2026-06-05 15:30:12'::timestamp) - extract(epoch from '2026-06-05 15:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418299 -2.7692)'), GeomFromEWKT('SRID=4674;POINT (-40.418421 -2.769107)'))) / (select extract(epoch from '2026-06-05 15:30:12'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.418545 -2.769026)', '2026-06-05 15:30:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418421 -2.769107)'), GeomFromEWKT('SRID=4674;POINT (-40.418545 -2.769026)'))) / (select extract(epoch from '2026-06-05 15:30:17'::timestamp) - extract(epoch from '2026-06-05 15:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418421 -2.769107)'), GeomFromEWKT('SRID=4674;POINT (-40.418545 -2.769026)'))) / (select extract(epoch from '2026-06-05 15:30:17'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.418689 -2.768923)', '2026-06-05 15:30:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418545 -2.769026)'), GeomFromEWKT('SRID=4674;POINT (-40.418689 -2.768923)'))) / (select extract(epoch from '2026-06-05 15:30:23'::timestamp) - extract(epoch from '2026-06-05 15:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418545 -2.769026)'), GeomFromEWKT('SRID=4674;POINT (-40.418689 -2.768923)'))) / (select extract(epoch from '2026-06-05 15:30:23'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.418818 -2.768803)', '2026-06-05 15:30:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418689 -2.768923)'), GeomFromEWKT('SRID=4674;POINT (-40.418818 -2.768803)'))) / (select extract(epoch from '2026-06-05 15:30:29'::timestamp) - extract(epoch from '2026-06-05 15:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418689 -2.768923)'), GeomFromEWKT('SRID=4674;POINT (-40.418818 -2.768803)'))) / (select extract(epoch from '2026-06-05 15:30:29'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.418949 -2.768673)', '2026-06-05 15:30:35', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418818 -2.768803)'), GeomFromEWKT('SRID=4674;POINT (-40.418949 -2.768673)'))) / (select extract(epoch from '2026-06-05 15:30:35'::timestamp) - extract(epoch from '2026-06-05 15:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418818 -2.768803)'), GeomFromEWKT('SRID=4674;POINT (-40.418949 -2.768673)'))) / (select extract(epoch from '2026-06-05 15:30:35'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.419088 -2.768565)', '2026-06-05 15:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418949 -2.768673)'), GeomFromEWKT('SRID=4674;POINT (-40.419088 -2.768565)'))) / (select extract(epoch from '2026-06-05 15:30:41'::timestamp) - extract(epoch from '2026-06-05 15:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.418949 -2.768673)'), GeomFromEWKT('SRID=4674;POINT (-40.419088 -2.768565)'))) / (select extract(epoch from '2026-06-05 15:30:41'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.419214 -2.76848)', '2026-06-05 15:30:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419088 -2.768565)'), GeomFromEWKT('SRID=4674;POINT (-40.419214 -2.76848)'))) / (select extract(epoch from '2026-06-05 15:30:46'::timestamp) - extract(epoch from '2026-06-05 15:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419088 -2.768565)'), GeomFromEWKT('SRID=4674;POINT (-40.419214 -2.76848)'))) / (select extract(epoch from '2026-06-05 15:30:46'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.419357 -2.768378)', '2026-06-05 15:30:52', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419214 -2.76848)'), GeomFromEWKT('SRID=4674;POINT (-40.419357 -2.768378)'))) / (select extract(epoch from '2026-06-05 15:30:52'::timestamp) - extract(epoch from '2026-06-05 15:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419214 -2.76848)'), GeomFromEWKT('SRID=4674;POINT (-40.419357 -2.768378)'))) / (select extract(epoch from '2026-06-05 15:30:52'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.419375 -2.768364)', '2026-06-05 15:30:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419357 -2.768378)'), GeomFromEWKT('SRID=4674;POINT (-40.419375 -2.768364)'))) / (select extract(epoch from '2026-06-05 15:30:53'::timestamp) - extract(epoch from '2026-06-05 15:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419357 -2.768378)'), GeomFromEWKT('SRID=4674;POINT (-40.419375 -2.768364)'))) / (select extract(epoch from '2026-06-05 15:30:53'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.419444 -2.76832)', '2026-06-05 15:30:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419375 -2.768364)'), GeomFromEWKT('SRID=4674;POINT (-40.419444 -2.76832)'))) / (select extract(epoch from '2026-06-05 15:30:56'::timestamp) - extract(epoch from '2026-06-05 15:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419375 -2.768364)'), GeomFromEWKT('SRID=4674;POINT (-40.419444 -2.76832)'))) / (select extract(epoch from '2026-06-05 15:30:56'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.41954 -2.768236)', '2026-06-05 15:31:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419444 -2.76832)'), GeomFromEWKT('SRID=4674;POINT (-40.41954 -2.768236)'))) / (select extract(epoch from '2026-06-05 15:31:01'::timestamp) - extract(epoch from '2026-06-05 15:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419444 -2.76832)'), GeomFromEWKT('SRID=4674;POINT (-40.41954 -2.768236)'))) / (select extract(epoch from '2026-06-05 15:31:01'::timestamp) - extract(epoch from '2026-06-05 15:30: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'), 46721, 'SRID=4674;POINT (-40.419653 -2.768154)', '2026-06-05 15:31:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41954 -2.768236)'), GeomFromEWKT('SRID=4674;POINT (-40.419653 -2.768154)'))) / (select extract(epoch from '2026-06-05 15:31:06'::timestamp) - extract(epoch from '2026-06-05 15:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41954 -2.768236)'), GeomFromEWKT('SRID=4674;POINT (-40.419653 -2.768154)'))) / (select extract(epoch from '2026-06-05 15:31:06'::timestamp) - extract(epoch from '2026-06-05 15:31: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'), 46721, 'SRID=4674;POINT (-40.419826 -2.768028)', '2026-06-05 15:31:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419653 -2.768154)'), GeomFromEWKT('SRID=4674;POINT (-40.419826 -2.768028)'))) / (select extract(epoch from '2026-06-05 15:31:13'::timestamp) - extract(epoch from '2026-06-05 15:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419653 -2.768154)'), GeomFromEWKT('SRID=4674;POINT (-40.419826 -2.768028)'))) / (select extract(epoch from '2026-06-05 15:31:13'::timestamp) - extract(epoch from '2026-06-05 15: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'), 46721, 'SRID=4674;POINT (-40.419945 -2.767948)', '2026-06-05 15:31:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419826 -2.768028)'), GeomFromEWKT('SRID=4674;POINT (-40.419945 -2.767948)'))) / (select extract(epoch from '2026-06-05 15:31:18'::timestamp) - extract(epoch from '2026-06-05 15:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419826 -2.768028)'), GeomFromEWKT('SRID=4674;POINT (-40.419945 -2.767948)'))) / (select extract(epoch from '2026-06-05 15:31:18'::timestamp) - extract(epoch from '2026-06-05 15:31: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'), 46721, 'SRID=4674;POINT (-40.420155 -2.767796)', '2026-06-05 15:31:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419945 -2.767948)'), GeomFromEWKT('SRID=4674;POINT (-40.420155 -2.767796)'))) / (select extract(epoch from '2026-06-05 15:31:26'::timestamp) - extract(epoch from '2026-06-05 15:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.419945 -2.767948)'), GeomFromEWKT('SRID=4674;POINT (-40.420155 -2.767796)'))) / (select extract(epoch from '2026-06-05 15:31:26'::timestamp) - extract(epoch from '2026-06-05 15:31:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.420293 -2.767715)', '2026-06-05 15:31:31', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420155 -2.767796)'), GeomFromEWKT('SRID=4674;POINT (-40.420293 -2.767715)'))) / (select extract(epoch from '2026-06-05 15:31:31'::timestamp) - extract(epoch from '2026-06-05 15:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420155 -2.767796)'), GeomFromEWKT('SRID=4674;POINT (-40.420293 -2.767715)'))) / (select extract(epoch from '2026-06-05 15:31:31'::timestamp) - extract(epoch from '2026-06-05 15:31: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'), 46721, 'SRID=4674;POINT (-40.420453 -2.767612)', '2026-06-05 15:31:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420293 -2.767715)'), GeomFromEWKT('SRID=4674;POINT (-40.420453 -2.767612)'))) / (select extract(epoch from '2026-06-05 15:31:37'::timestamp) - extract(epoch from '2026-06-05 15:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420293 -2.767715)'), GeomFromEWKT('SRID=4674;POINT (-40.420453 -2.767612)'))) / (select extract(epoch from '2026-06-05 15:31:37'::timestamp) - extract(epoch from '2026-06-05 15:31: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'), 46721, 'SRID=4674;POINT (-40.420565 -2.767545)', '2026-06-05 15:31:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420453 -2.767612)'), GeomFromEWKT('SRID=4674;POINT (-40.420565 -2.767545)'))) / (select extract(epoch from '2026-06-05 15:31:41'::timestamp) - extract(epoch from '2026-06-05 15:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420453 -2.767612)'), GeomFromEWKT('SRID=4674;POINT (-40.420565 -2.767545)'))) / (select extract(epoch from '2026-06-05 15:31:41'::timestamp) - extract(epoch from '2026-06-05 15:31: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'), 46721, 'SRID=4674;POINT (-40.420716 -2.767442)', '2026-06-05 15:31:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420565 -2.767545)'), GeomFromEWKT('SRID=4674;POINT (-40.420716 -2.767442)'))) / (select extract(epoch from '2026-06-05 15:31:47'::timestamp) - extract(epoch from '2026-06-05 15:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420565 -2.767545)'), GeomFromEWKT('SRID=4674;POINT (-40.420716 -2.767442)'))) / (select extract(epoch from '2026-06-05 15:31:47'::timestamp) - extract(epoch from '2026-06-05 15:31: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'), 46721, 'SRID=4674;POINT (-40.420892 -2.767326)', '2026-06-05 15:31:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420716 -2.767442)'), GeomFromEWKT('SRID=4674;POINT (-40.420892 -2.767326)'))) / (select extract(epoch from '2026-06-05 15:31:54'::timestamp) - extract(epoch from '2026-06-05 15:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420716 -2.767442)'), GeomFromEWKT('SRID=4674;POINT (-40.420892 -2.767326)'))) / (select extract(epoch from '2026-06-05 15:31:54'::timestamp) - extract(epoch from '2026-06-05 15:31: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'), 46721, 'SRID=4674;POINT (-40.421043 -2.767215)', '2026-06-05 15:32:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420892 -2.767326)'), GeomFromEWKT('SRID=4674;POINT (-40.421043 -2.767215)'))) / (select extract(epoch from '2026-06-05 15:32:00'::timestamp) - extract(epoch from '2026-06-05 15:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.420892 -2.767326)'), GeomFromEWKT('SRID=4674;POINT (-40.421043 -2.767215)'))) / (select extract(epoch from '2026-06-05 15:32:00'::timestamp) - extract(epoch from '2026-06-05 15:31: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'), 46721, 'SRID=4674;POINT (-40.421215 -2.767107)', '2026-06-05 15:32:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421043 -2.767215)'), GeomFromEWKT('SRID=4674;POINT (-40.421215 -2.767107)'))) / (select extract(epoch from '2026-06-05 15:32:07'::timestamp) - extract(epoch from '2026-06-05 15:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421043 -2.767215)'), GeomFromEWKT('SRID=4674;POINT (-40.421215 -2.767107)'))) / (select extract(epoch from '2026-06-05 15:32:07'::timestamp) - extract(epoch from '2026-06-05 15:32: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'), 46721, 'SRID=4674;POINT (-40.421429 -2.767007)', '2026-06-05 15:32:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421215 -2.767107)'), GeomFromEWKT('SRID=4674;POINT (-40.421429 -2.767007)'))) / (select extract(epoch from '2026-06-05 15:32:15'::timestamp) - extract(epoch from '2026-06-05 15:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421215 -2.767107)'), GeomFromEWKT('SRID=4674;POINT (-40.421429 -2.767007)'))) / (select extract(epoch from '2026-06-05 15:32:15'::timestamp) - extract(epoch from '2026-06-05 15:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.42154 -2.766924)', '2026-06-05 15:32:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421429 -2.767007)'), GeomFromEWKT('SRID=4674;POINT (-40.42154 -2.766924)'))) / (select extract(epoch from '2026-06-05 15:32:20'::timestamp) - extract(epoch from '2026-06-05 15:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421429 -2.767007)'), GeomFromEWKT('SRID=4674;POINT (-40.42154 -2.766924)'))) / (select extract(epoch from '2026-06-05 15:32:20'::timestamp) - extract(epoch from '2026-06-05 15:32: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'), 46721, 'SRID=4674;POINT (-40.421672 -2.766809)', '2026-06-05 15:32:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42154 -2.766924)'), GeomFromEWKT('SRID=4674;POINT (-40.421672 -2.766809)'))) / (select extract(epoch from '2026-06-05 15:32:26'::timestamp) - extract(epoch from '2026-06-05 15:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42154 -2.766924)'), GeomFromEWKT('SRID=4674;POINT (-40.421672 -2.766809)'))) / (select extract(epoch from '2026-06-05 15:32:26'::timestamp) - extract(epoch from '2026-06-05 15:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.42184 -2.766689)', '2026-06-05 15:32:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421672 -2.766809)'), GeomFromEWKT('SRID=4674;POINT (-40.42184 -2.766689)'))) / (select extract(epoch from '2026-06-05 15:32:33'::timestamp) - extract(epoch from '2026-06-05 15:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421672 -2.766809)'), GeomFromEWKT('SRID=4674;POINT (-40.42184 -2.766689)'))) / (select extract(epoch from '2026-06-05 15:32:33'::timestamp) - extract(epoch from '2026-06-05 15:32: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'), 46721, 'SRID=4674;POINT (-40.421967 -2.766602)', '2026-06-05 15:32:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42184 -2.766689)'), GeomFromEWKT('SRID=4674;POINT (-40.421967 -2.766602)'))) / (select extract(epoch from '2026-06-05 15:32:38'::timestamp) - extract(epoch from '2026-06-05 15:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42184 -2.766689)'), GeomFromEWKT('SRID=4674;POINT (-40.421967 -2.766602)'))) / (select extract(epoch from '2026-06-05 15:32:38'::timestamp) - extract(epoch from '2026-06-05 15:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.422135 -2.766483)', '2026-06-05 15:32:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421967 -2.766602)'), GeomFromEWKT('SRID=4674;POINT (-40.422135 -2.766483)'))) / (select extract(epoch from '2026-06-05 15:32:45'::timestamp) - extract(epoch from '2026-06-05 15:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.421967 -2.766602)'), GeomFromEWKT('SRID=4674;POINT (-40.422135 -2.766483)'))) / (select extract(epoch from '2026-06-05 15:32:45'::timestamp) - extract(epoch from '2026-06-05 15:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.42228 -2.766378)', '2026-06-05 15:32:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422135 -2.766483)'), GeomFromEWKT('SRID=4674;POINT (-40.42228 -2.766378)'))) / (select extract(epoch from '2026-06-05 15:32:51'::timestamp) - extract(epoch from '2026-06-05 15:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422135 -2.766483)'), GeomFromEWKT('SRID=4674;POINT (-40.42228 -2.766378)'))) / (select extract(epoch from '2026-06-05 15:32:51'::timestamp) - extract(epoch from '2026-06-05 15:32: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'), 46721, 'SRID=4674;POINT (-40.422428 -2.766273)', '2026-06-05 15:32:57', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42228 -2.766378)'), GeomFromEWKT('SRID=4674;POINT (-40.422428 -2.766273)'))) / (select extract(epoch from '2026-06-05 15:32:57'::timestamp) - extract(epoch from '2026-06-05 15:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42228 -2.766378)'), GeomFromEWKT('SRID=4674;POINT (-40.422428 -2.766273)'))) / (select extract(epoch from '2026-06-05 15:32:57'::timestamp) - extract(epoch from '2026-06-05 15:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.422658 -2.766093)', '2026-06-05 15:33:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422428 -2.766273)'), GeomFromEWKT('SRID=4674;POINT (-40.422658 -2.766093)'))) / (select extract(epoch from '2026-06-05 15:33:07'::timestamp) - extract(epoch from '2026-06-05 15:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422428 -2.766273)'), GeomFromEWKT('SRID=4674;POINT (-40.422658 -2.766093)'))) / (select extract(epoch from '2026-06-05 15:33:07'::timestamp) - extract(epoch from '2026-06-05 15:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.422771 -2.765996)', '2026-06-05 15:33:12', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422658 -2.766093)'), GeomFromEWKT('SRID=4674;POINT (-40.422771 -2.765996)'))) / (select extract(epoch from '2026-06-05 15:33:12'::timestamp) - extract(epoch from '2026-06-05 15:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422658 -2.766093)'), GeomFromEWKT('SRID=4674;POINT (-40.422771 -2.765996)'))) / (select extract(epoch from '2026-06-05 15:33:12'::timestamp) - extract(epoch from '2026-06-05 15:33: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'), 46721, 'SRID=4674;POINT (-40.422893 -2.765905)', '2026-06-05 15:33:17', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422771 -2.765996)'), GeomFromEWKT('SRID=4674;POINT (-40.422893 -2.765905)'))) / (select extract(epoch from '2026-06-05 15:33:17'::timestamp) - extract(epoch from '2026-06-05 15:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422771 -2.765996)'), GeomFromEWKT('SRID=4674;POINT (-40.422893 -2.765905)'))) / (select extract(epoch from '2026-06-05 15:33:17'::timestamp) - extract(epoch from '2026-06-05 15:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.422992 -2.765807)', '2026-06-05 15:33:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422893 -2.765905)'), GeomFromEWKT('SRID=4674;POINT (-40.422992 -2.765807)'))) / (select extract(epoch from '2026-06-05 15:33:22'::timestamp) - extract(epoch from '2026-06-05 15:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422893 -2.765905)'), GeomFromEWKT('SRID=4674;POINT (-40.422992 -2.765807)'))) / (select extract(epoch from '2026-06-05 15:33:22'::timestamp) - extract(epoch from '2026-06-05 15:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.423123 -2.76568)', '2026-06-05 15:33:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422992 -2.765807)'), GeomFromEWKT('SRID=4674;POINT (-40.423123 -2.76568)'))) / (select extract(epoch from '2026-06-05 15:33:29'::timestamp) - extract(epoch from '2026-06-05 15:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.422992 -2.765807)'), GeomFromEWKT('SRID=4674;POINT (-40.423123 -2.76568)'))) / (select extract(epoch from '2026-06-05 15:33:29'::timestamp) - extract(epoch from '2026-06-05 15:33: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'), 46721, 'SRID=4674;POINT (-40.423274 -2.765551)', '2026-06-05 15:33:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423123 -2.76568)'), GeomFromEWKT('SRID=4674;POINT (-40.423274 -2.765551)'))) / (select extract(epoch from '2026-06-05 15:33:36'::timestamp) - extract(epoch from '2026-06-05 15:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423123 -2.76568)'), GeomFromEWKT('SRID=4674;POINT (-40.423274 -2.765551)'))) / (select extract(epoch from '2026-06-05 15:33:36'::timestamp) - extract(epoch from '2026-06-05 15:33: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'), 46721, 'SRID=4674;POINT (-40.423408 -2.765439)', '2026-06-05 15:33:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423274 -2.765551)'), GeomFromEWKT('SRID=4674;POINT (-40.423408 -2.765439)'))) / (select extract(epoch from '2026-06-05 15:33:42'::timestamp) - extract(epoch from '2026-06-05 15:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423274 -2.765551)'), GeomFromEWKT('SRID=4674;POINT (-40.423408 -2.765439)'))) / (select extract(epoch from '2026-06-05 15:33:42'::timestamp) - extract(epoch from '2026-06-05 15:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.423579 -2.765308)', '2026-06-05 15:33:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423408 -2.765439)'), GeomFromEWKT('SRID=4674;POINT (-40.423579 -2.765308)'))) / (select extract(epoch from '2026-06-05 15:33:49'::timestamp) - extract(epoch from '2026-06-05 15:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423408 -2.765439)'), GeomFromEWKT('SRID=4674;POINT (-40.423579 -2.765308)'))) / (select extract(epoch from '2026-06-05 15:33:49'::timestamp) - extract(epoch from '2026-06-05 15:33: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'), 46721, 'SRID=4674;POINT (-40.423785 -2.765186)', '2026-06-05 15:33:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423579 -2.765308)'), GeomFromEWKT('SRID=4674;POINT (-40.423785 -2.765186)'))) / (select extract(epoch from '2026-06-05 15:33:57'::timestamp) - extract(epoch from '2026-06-05 15:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423579 -2.765308)'), GeomFromEWKT('SRID=4674;POINT (-40.423785 -2.765186)'))) / (select extract(epoch from '2026-06-05 15:33:57'::timestamp) - extract(epoch from '2026-06-05 15:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.423949 -2.765098)', '2026-06-05 15:34:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423785 -2.765186)'), GeomFromEWKT('SRID=4674;POINT (-40.423949 -2.765098)'))) / (select extract(epoch from '2026-06-05 15:34:03'::timestamp) - extract(epoch from '2026-06-05 15:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423785 -2.765186)'), GeomFromEWKT('SRID=4674;POINT (-40.423949 -2.765098)'))) / (select extract(epoch from '2026-06-05 15:34:03'::timestamp) - extract(epoch from '2026-06-05 15:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.424083 -2.765031)', '2026-06-05 15:34:08', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423949 -2.765098)'), GeomFromEWKT('SRID=4674;POINT (-40.424083 -2.765031)'))) / (select extract(epoch from '2026-06-05 15:34:08'::timestamp) - extract(epoch from '2026-06-05 15:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.423949 -2.765098)'), GeomFromEWKT('SRID=4674;POINT (-40.424083 -2.765031)'))) / (select extract(epoch from '2026-06-05 15:34:08'::timestamp) - extract(epoch from '2026-06-05 15:34: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'), 46721, 'SRID=4674;POINT (-40.424211 -2.764945)', '2026-06-05 15:34:13', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424083 -2.765031)'), GeomFromEWKT('SRID=4674;POINT (-40.424211 -2.764945)'))) / (select extract(epoch from '2026-06-05 15:34:13'::timestamp) - extract(epoch from '2026-06-05 15:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424083 -2.765031)'), GeomFromEWKT('SRID=4674;POINT (-40.424211 -2.764945)'))) / (select extract(epoch from '2026-06-05 15:34:13'::timestamp) - extract(epoch from '2026-06-05 15:34: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'), 46721, 'SRID=4674;POINT (-40.424376 -2.764817)', '2026-06-05 15:34:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424211 -2.764945)'), GeomFromEWKT('SRID=4674;POINT (-40.424376 -2.764817)'))) / (select extract(epoch from '2026-06-05 15:34:20'::timestamp) - extract(epoch from '2026-06-05 15:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424211 -2.764945)'), GeomFromEWKT('SRID=4674;POINT (-40.424376 -2.764817)'))) / (select extract(epoch from '2026-06-05 15:34:20'::timestamp) - extract(epoch from '2026-06-05 15:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.42454 -2.76468)', '2026-06-05 15:34:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424376 -2.764817)'), GeomFromEWKT('SRID=4674;POINT (-40.42454 -2.76468)'))) / (select extract(epoch from '2026-06-05 15:34:27'::timestamp) - extract(epoch from '2026-06-05 15:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424376 -2.764817)'), GeomFromEWKT('SRID=4674;POINT (-40.42454 -2.76468)'))) / (select extract(epoch from '2026-06-05 15:34:27'::timestamp) - extract(epoch from '2026-06-05 15:34: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'), 46721, 'SRID=4674;POINT (-40.424697 -2.764593)', '2026-06-05 15:34:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42454 -2.76468)'), GeomFromEWKT('SRID=4674;POINT (-40.424697 -2.764593)'))) / (select extract(epoch from '2026-06-05 15:34:33'::timestamp) - extract(epoch from '2026-06-05 15:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42454 -2.76468)'), GeomFromEWKT('SRID=4674;POINT (-40.424697 -2.764593)'))) / (select extract(epoch from '2026-06-05 15:34:33'::timestamp) - extract(epoch from '2026-06-05 15:34: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'), 46721, 'SRID=4674;POINT (-40.424822 -2.764519)', '2026-06-05 15:34:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424697 -2.764593)'), GeomFromEWKT('SRID=4674;POINT (-40.424822 -2.764519)'))) / (select extract(epoch from '2026-06-05 15:34:38'::timestamp) - extract(epoch from '2026-06-05 15:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424697 -2.764593)'), GeomFromEWKT('SRID=4674;POINT (-40.424822 -2.764519)'))) / (select extract(epoch from '2026-06-05 15:34:38'::timestamp) - extract(epoch from '2026-06-05 15:34: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'), 46721, 'SRID=4674;POINT (-40.424958 -2.76441)', '2026-06-05 15:34:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424822 -2.764519)'), GeomFromEWKT('SRID=4674;POINT (-40.424958 -2.76441)'))) / (select extract(epoch from '2026-06-05 15:34:44'::timestamp) - extract(epoch from '2026-06-05 15:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424822 -2.764519)'), GeomFromEWKT('SRID=4674;POINT (-40.424958 -2.76441)'))) / (select extract(epoch from '2026-06-05 15:34:44'::timestamp) - extract(epoch from '2026-06-05 15:34: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'), 46721, 'SRID=4674;POINT (-40.425066 -2.764309)', '2026-06-05 15:34:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424958 -2.76441)'), GeomFromEWKT('SRID=4674;POINT (-40.425066 -2.764309)'))) / (select extract(epoch from '2026-06-05 15:34:49'::timestamp) - extract(epoch from '2026-06-05 15:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.424958 -2.76441)'), GeomFromEWKT('SRID=4674;POINT (-40.425066 -2.764309)'))) / (select extract(epoch from '2026-06-05 15:34:49'::timestamp) - extract(epoch from '2026-06-05 15:34: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'), 46721, 'SRID=4674;POINT (-40.425293 -2.764162)', '2026-06-05 15:34:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425066 -2.764309)'), GeomFromEWKT('SRID=4674;POINT (-40.425293 -2.764162)'))) / (select extract(epoch from '2026-06-05 15:34:58'::timestamp) - extract(epoch from '2026-06-05 15:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425066 -2.764309)'), GeomFromEWKT('SRID=4674;POINT (-40.425293 -2.764162)'))) / (select extract(epoch from '2026-06-05 15:34:58'::timestamp) - extract(epoch from '2026-06-05 15:34: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'), 46721, 'SRID=4674;POINT (-40.425441 -2.764052)', '2026-06-05 15:35:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425293 -2.764162)'), GeomFromEWKT('SRID=4674;POINT (-40.425441 -2.764052)'))) / (select extract(epoch from '2026-06-05 15:35:04'::timestamp) - extract(epoch from '2026-06-05 15:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425293 -2.764162)'), GeomFromEWKT('SRID=4674;POINT (-40.425441 -2.764052)'))) / (select extract(epoch from '2026-06-05 15:35:04'::timestamp) - extract(epoch from '2026-06-05 15:34: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'), 46721, 'SRID=4674;POINT (-40.425583 -2.763947)', '2026-06-05 15:35:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425441 -2.764052)'), GeomFromEWKT('SRID=4674;POINT (-40.425583 -2.763947)'))) / (select extract(epoch from '2026-06-05 15:35:10'::timestamp) - extract(epoch from '2026-06-05 15:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425441 -2.764052)'), GeomFromEWKT('SRID=4674;POINT (-40.425583 -2.763947)'))) / (select extract(epoch from '2026-06-05 15:35:10'::timestamp) - extract(epoch from '2026-06-05 15:35:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.425721 -2.763869)', '2026-06-05 15:35:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425583 -2.763947)'), GeomFromEWKT('SRID=4674;POINT (-40.425721 -2.763869)'))) / (select extract(epoch from '2026-06-05 15:35:15'::timestamp) - extract(epoch from '2026-06-05 15:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425583 -2.763947)'), GeomFromEWKT('SRID=4674;POINT (-40.425721 -2.763869)'))) / (select extract(epoch from '2026-06-05 15:35:15'::timestamp) - extract(epoch from '2026-06-05 15:35: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'), 46721, 'SRID=4674;POINT (-40.425887 -2.763771)', '2026-06-05 15:35:21', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425721 -2.763869)'), GeomFromEWKT('SRID=4674;POINT (-40.425887 -2.763771)'))) / (select extract(epoch from '2026-06-05 15:35:21'::timestamp) - extract(epoch from '2026-06-05 15:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425721 -2.763869)'), GeomFromEWKT('SRID=4674;POINT (-40.425887 -2.763771)'))) / (select extract(epoch from '2026-06-05 15:35:21'::timestamp) - extract(epoch from '2026-06-05 15:35: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'), 46721, 'SRID=4674;POINT (-40.426014 -2.763709)', '2026-06-05 15:35:26', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425887 -2.763771)'), GeomFromEWKT('SRID=4674;POINT (-40.426014 -2.763709)'))) / (select extract(epoch from '2026-06-05 15:35:26'::timestamp) - extract(epoch from '2026-06-05 15:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.425887 -2.763771)'), GeomFromEWKT('SRID=4674;POINT (-40.426014 -2.763709)'))) / (select extract(epoch from '2026-06-05 15:35:26'::timestamp) - extract(epoch from '2026-06-05 15:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.426175 -2.763635)', '2026-06-05 15:35:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426014 -2.763709)'), GeomFromEWKT('SRID=4674;POINT (-40.426175 -2.763635)'))) / (select extract(epoch from '2026-06-05 15:35:32'::timestamp) - extract(epoch from '2026-06-05 15:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426014 -2.763709)'), GeomFromEWKT('SRID=4674;POINT (-40.426175 -2.763635)'))) / (select extract(epoch from '2026-06-05 15:35:32'::timestamp) - extract(epoch from '2026-06-05 15:35: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'), 46721, 'SRID=4674;POINT (-40.42634 -2.763557)', '2026-06-05 15:35:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426175 -2.763635)'), GeomFromEWKT('SRID=4674;POINT (-40.42634 -2.763557)'))) / (select extract(epoch from '2026-06-05 15:35:38'::timestamp) - extract(epoch from '2026-06-05 15:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426175 -2.763635)'), GeomFromEWKT('SRID=4674;POINT (-40.42634 -2.763557)'))) / (select extract(epoch from '2026-06-05 15:35:38'::timestamp) - extract(epoch from '2026-06-05 15:35: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'), 46721, 'SRID=4674;POINT (-40.426502 -2.763505)', '2026-06-05 15:35:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42634 -2.763557)'), GeomFromEWKT('SRID=4674;POINT (-40.426502 -2.763505)'))) / (select extract(epoch from '2026-06-05 15:35:44'::timestamp) - extract(epoch from '2026-06-05 15:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42634 -2.763557)'), GeomFromEWKT('SRID=4674;POINT (-40.426502 -2.763505)'))) / (select extract(epoch from '2026-06-05 15:35:44'::timestamp) - extract(epoch from '2026-06-05 15:35: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'), 46721, 'SRID=4674;POINT (-40.426676 -2.763434)', '2026-06-05 15:35:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426502 -2.763505)'), GeomFromEWKT('SRID=4674;POINT (-40.426676 -2.763434)'))) / (select extract(epoch from '2026-06-05 15:35:50'::timestamp) - extract(epoch from '2026-06-05 15:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426502 -2.763505)'), GeomFromEWKT('SRID=4674;POINT (-40.426676 -2.763434)'))) / (select extract(epoch from '2026-06-05 15:35:50'::timestamp) - extract(epoch from '2026-06-05 15:35: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'), 46721, 'SRID=4674;POINT (-40.426835 -2.763351)', '2026-06-05 15:35:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426676 -2.763434)'), GeomFromEWKT('SRID=4674;POINT (-40.426835 -2.763351)'))) / (select extract(epoch from '2026-06-05 15:35:56'::timestamp) - extract(epoch from '2026-06-05 15:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426676 -2.763434)'), GeomFromEWKT('SRID=4674;POINT (-40.426835 -2.763351)'))) / (select extract(epoch from '2026-06-05 15:35:56'::timestamp) - extract(epoch from '2026-06-05 15:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.427 -2.763243)', '2026-06-05 15:36:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426835 -2.763351)'), GeomFromEWKT('SRID=4674;POINT (-40.427 -2.763243)'))) / (select extract(epoch from '2026-06-05 15:36:02'::timestamp) - extract(epoch from '2026-06-05 15:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.426835 -2.763351)'), GeomFromEWKT('SRID=4674;POINT (-40.427 -2.763243)'))) / (select extract(epoch from '2026-06-05 15:36:02'::timestamp) - extract(epoch from '2026-06-05 15:35: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'), 46721, 'SRID=4674;POINT (-40.427148 -2.763132)', '2026-06-05 15:36:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427 -2.763243)'), GeomFromEWKT('SRID=4674;POINT (-40.427148 -2.763132)'))) / (select extract(epoch from '2026-06-05 15:36:08'::timestamp) - extract(epoch from '2026-06-05 15:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427 -2.763243)'), GeomFromEWKT('SRID=4674;POINT (-40.427148 -2.763132)'))) / (select extract(epoch from '2026-06-05 15:36:08'::timestamp) - extract(epoch from '2026-06-05 15:36: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'), 46721, 'SRID=4674;POINT (-40.427291 -2.763034)', '2026-06-05 15:36:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427148 -2.763132)'), GeomFromEWKT('SRID=4674;POINT (-40.427291 -2.763034)'))) / (select extract(epoch from '2026-06-05 15:36:14'::timestamp) - extract(epoch from '2026-06-05 15:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427148 -2.763132)'), GeomFromEWKT('SRID=4674;POINT (-40.427291 -2.763034)'))) / (select extract(epoch from '2026-06-05 15:36:14'::timestamp) - extract(epoch from '2026-06-05 15:36: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'), 46721, 'SRID=4674;POINT (-40.427433 -2.762949)', '2026-06-05 15:36:19', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427291 -2.763034)'), GeomFromEWKT('SRID=4674;POINT (-40.427433 -2.762949)'))) / (select extract(epoch from '2026-06-05 15:36:19'::timestamp) - extract(epoch from '2026-06-05 15:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427291 -2.763034)'), GeomFromEWKT('SRID=4674;POINT (-40.427433 -2.762949)'))) / (select extract(epoch from '2026-06-05 15:36:19'::timestamp) - extract(epoch from '2026-06-05 15:36: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'), 46721, 'SRID=4674;POINT (-40.427563 -2.762885)', '2026-06-05 15:36:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427433 -2.762949)'), GeomFromEWKT('SRID=4674;POINT (-40.427563 -2.762885)'))) / (select extract(epoch from '2026-06-05 15:36:24'::timestamp) - extract(epoch from '2026-06-05 15:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427433 -2.762949)'), GeomFromEWKT('SRID=4674;POINT (-40.427563 -2.762885)'))) / (select extract(epoch from '2026-06-05 15:36:24'::timestamp) - extract(epoch from '2026-06-05 15:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.42772 -2.762793)', '2026-06-05 15:36:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427563 -2.762885)'), GeomFromEWKT('SRID=4674;POINT (-40.42772 -2.762793)'))) / (select extract(epoch from '2026-06-05 15:36:30'::timestamp) - extract(epoch from '2026-06-05 15:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427563 -2.762885)'), GeomFromEWKT('SRID=4674;POINT (-40.42772 -2.762793)'))) / (select extract(epoch from '2026-06-05 15:36:30'::timestamp) - extract(epoch from '2026-06-05 15:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.427898 -2.762714)', '2026-06-05 15:36:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42772 -2.762793)'), GeomFromEWKT('SRID=4674;POINT (-40.427898 -2.762714)'))) / (select extract(epoch from '2026-06-05 15:36:36'::timestamp) - extract(epoch from '2026-06-05 15:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42772 -2.762793)'), GeomFromEWKT('SRID=4674;POINT (-40.427898 -2.762714)'))) / (select extract(epoch from '2026-06-05 15:36:36'::timestamp) - extract(epoch from '2026-06-05 15:36: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'), 46721, 'SRID=4674;POINT (-40.428056 -2.76265)', '2026-06-05 15:36:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427898 -2.762714)'), GeomFromEWKT('SRID=4674;POINT (-40.428056 -2.76265)'))) / (select extract(epoch from '2026-06-05 15:36:41'::timestamp) - extract(epoch from '2026-06-05 15:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.427898 -2.762714)'), GeomFromEWKT('SRID=4674;POINT (-40.428056 -2.76265)'))) / (select extract(epoch from '2026-06-05 15:36:41'::timestamp) - extract(epoch from '2026-06-05 15:36: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'), 46721, 'SRID=4674;POINT (-40.42821 -2.762591)', '2026-06-05 15:36:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428056 -2.76265)'), GeomFromEWKT('SRID=4674;POINT (-40.42821 -2.762591)'))) / (select extract(epoch from '2026-06-05 15:36:46'::timestamp) - extract(epoch from '2026-06-05 15:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428056 -2.76265)'), GeomFromEWKT('SRID=4674;POINT (-40.42821 -2.762591)'))) / (select extract(epoch from '2026-06-05 15:36:46'::timestamp) - extract(epoch from '2026-06-05 15:36: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'), 46721, 'SRID=4674;POINT (-40.428432 -2.762516)', '2026-06-05 15:36:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42821 -2.762591)'), GeomFromEWKT('SRID=4674;POINT (-40.428432 -2.762516)'))) / (select extract(epoch from '2026-06-05 15:36:53'::timestamp) - extract(epoch from '2026-06-05 15:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42821 -2.762591)'), GeomFromEWKT('SRID=4674;POINT (-40.428432 -2.762516)'))) / (select extract(epoch from '2026-06-05 15:36:53'::timestamp) - extract(epoch from '2026-06-05 15:36: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'), 46721, 'SRID=4674;POINT (-40.428614 -2.762442)', '2026-06-05 15:36:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428432 -2.762516)'), GeomFromEWKT('SRID=4674;POINT (-40.428614 -2.762442)'))) / (select extract(epoch from '2026-06-05 15:36:59'::timestamp) - extract(epoch from '2026-06-05 15:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428432 -2.762516)'), GeomFromEWKT('SRID=4674;POINT (-40.428614 -2.762442)'))) / (select extract(epoch from '2026-06-05 15:36:59'::timestamp) - extract(epoch from '2026-06-05 15:36: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'), 46721, 'SRID=4674;POINT (-40.42877 -2.762364)', '2026-06-05 15:37:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428614 -2.762442)'), GeomFromEWKT('SRID=4674;POINT (-40.42877 -2.762364)'))) / (select extract(epoch from '2026-06-05 15:37:05'::timestamp) - extract(epoch from '2026-06-05 15:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428614 -2.762442)'), GeomFromEWKT('SRID=4674;POINT (-40.42877 -2.762364)'))) / (select extract(epoch from '2026-06-05 15:37:05'::timestamp) - extract(epoch from '2026-06-05 15:36: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'), 46721, 'SRID=4674;POINT (-40.428939 -2.762265)', '2026-06-05 15:37:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42877 -2.762364)'), GeomFromEWKT('SRID=4674;POINT (-40.428939 -2.762265)'))) / (select extract(epoch from '2026-06-05 15:37:12'::timestamp) - extract(epoch from '2026-06-05 15:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.42877 -2.762364)'), GeomFromEWKT('SRID=4674;POINT (-40.428939 -2.762265)'))) / (select extract(epoch from '2026-06-05 15:37:12'::timestamp) - extract(epoch from '2026-06-05 15:37: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'), 46721, 'SRID=4674;POINT (-40.429082 -2.762149)', '2026-06-05 15:37:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428939 -2.762265)'), GeomFromEWKT('SRID=4674;POINT (-40.429082 -2.762149)'))) / (select extract(epoch from '2026-06-05 15:37:18'::timestamp) - extract(epoch from '2026-06-05 15:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.428939 -2.762265)'), GeomFromEWKT('SRID=4674;POINT (-40.429082 -2.762149)'))) / (select extract(epoch from '2026-06-05 15:37:18'::timestamp) - extract(epoch from '2026-06-05 15:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.429208 -2.76207)', '2026-06-05 15:37:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429082 -2.762149)'), GeomFromEWKT('SRID=4674;POINT (-40.429208 -2.76207)'))) / (select extract(epoch from '2026-06-05 15:37:23'::timestamp) - extract(epoch from '2026-06-05 15:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429082 -2.762149)'), GeomFromEWKT('SRID=4674;POINT (-40.429208 -2.76207)'))) / (select extract(epoch from '2026-06-05 15:37:23'::timestamp) - extract(epoch from '2026-06-05 15:37: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'), 46721, 'SRID=4674;POINT (-40.429384 -2.76196)', '2026-06-05 15:37:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429208 -2.76207)'), GeomFromEWKT('SRID=4674;POINT (-40.429384 -2.76196)'))) / (select extract(epoch from '2026-06-05 15:37:30'::timestamp) - extract(epoch from '2026-06-05 15:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429208 -2.76207)'), GeomFromEWKT('SRID=4674;POINT (-40.429384 -2.76196)'))) / (select extract(epoch from '2026-06-05 15:37:30'::timestamp) - extract(epoch from '2026-06-05 15:37: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'), 46721, 'SRID=4674;POINT (-40.429555 -2.761847)', '2026-06-05 15:37:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429384 -2.76196)'), GeomFromEWKT('SRID=4674;POINT (-40.429555 -2.761847)'))) / (select extract(epoch from '2026-06-05 15:37:37'::timestamp) - extract(epoch from '2026-06-05 15:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429384 -2.76196)'), GeomFromEWKT('SRID=4674;POINT (-40.429555 -2.761847)'))) / (select extract(epoch from '2026-06-05 15:37:37'::timestamp) - extract(epoch from '2026-06-05 15:37: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'), 46721, 'SRID=4674;POINT (-40.429699 -2.761728)', '2026-06-05 15:37:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429555 -2.761847)'), GeomFromEWKT('SRID=4674;POINT (-40.429699 -2.761728)'))) / (select extract(epoch from '2026-06-05 15:37:43'::timestamp) - extract(epoch from '2026-06-05 15:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429555 -2.761847)'), GeomFromEWKT('SRID=4674;POINT (-40.429699 -2.761728)'))) / (select extract(epoch from '2026-06-05 15:37:43'::timestamp) - extract(epoch from '2026-06-05 15:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.429831 -2.761638)', '2026-06-05 15:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429699 -2.761728)'), GeomFromEWKT('SRID=4674;POINT (-40.429831 -2.761638)'))) / (select extract(epoch from '2026-06-05 15:37:48'::timestamp) - extract(epoch from '2026-06-05 15:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429699 -2.761728)'), GeomFromEWKT('SRID=4674;POINT (-40.429831 -2.761638)'))) / (select extract(epoch from '2026-06-05 15:37:48'::timestamp) - extract(epoch from '2026-06-05 15:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.430002 -2.761546)', '2026-06-05 15:37:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429831 -2.761638)'), GeomFromEWKT('SRID=4674;POINT (-40.430002 -2.761546)'))) / (select extract(epoch from '2026-06-05 15:37:55'::timestamp) - extract(epoch from '2026-06-05 15:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.429831 -2.761638)'), GeomFromEWKT('SRID=4674;POINT (-40.430002 -2.761546)'))) / (select extract(epoch from '2026-06-05 15:37:55'::timestamp) - extract(epoch from '2026-06-05 15:37: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'), 46721, 'SRID=4674;POINT (-40.430144 -2.761472)', '2026-06-05 15:38:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430002 -2.761546)'), GeomFromEWKT('SRID=4674;POINT (-40.430144 -2.761472)'))) / (select extract(epoch from '2026-06-05 15:38:01'::timestamp) - extract(epoch from '2026-06-05 15:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430002 -2.761546)'), GeomFromEWKT('SRID=4674;POINT (-40.430144 -2.761472)'))) / (select extract(epoch from '2026-06-05 15:38:01'::timestamp) - extract(epoch from '2026-06-05 15:37: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'), 46721, 'SRID=4674;POINT (-40.43028 -2.761397)', '2026-06-05 15:38:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430144 -2.761472)'), GeomFromEWKT('SRID=4674;POINT (-40.43028 -2.761397)'))) / (select extract(epoch from '2026-06-05 15:38:06'::timestamp) - extract(epoch from '2026-06-05 15:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430144 -2.761472)'), GeomFromEWKT('SRID=4674;POINT (-40.43028 -2.761397)'))) / (select extract(epoch from '2026-06-05 15:38:06'::timestamp) - extract(epoch from '2026-06-05 15:38: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'), 46721, 'SRID=4674;POINT (-40.430415 -2.761334)', '2026-06-05 15:38:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43028 -2.761397)'), GeomFromEWKT('SRID=4674;POINT (-40.430415 -2.761334)'))) / (select extract(epoch from '2026-06-05 15:38:11'::timestamp) - extract(epoch from '2026-06-05 15:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43028 -2.761397)'), GeomFromEWKT('SRID=4674;POINT (-40.430415 -2.761334)'))) / (select extract(epoch from '2026-06-05 15:38:11'::timestamp) - extract(epoch from '2026-06-05 15:38: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'), 46721, 'SRID=4674;POINT (-40.430567 -2.761252)', '2026-06-05 15:38:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430415 -2.761334)'), GeomFromEWKT('SRID=4674;POINT (-40.430567 -2.761252)'))) / (select extract(epoch from '2026-06-05 15:38:17'::timestamp) - extract(epoch from '2026-06-05 15:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430415 -2.761334)'), GeomFromEWKT('SRID=4674;POINT (-40.430567 -2.761252)'))) / (select extract(epoch from '2026-06-05 15:38:17'::timestamp) - extract(epoch from '2026-06-05 15:38: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'), 46721, 'SRID=4674;POINT (-40.430734 -2.761167)', '2026-06-05 15:38:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430567 -2.761252)'), GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.761167)'))) / (select extract(epoch from '2026-06-05 15:38:23'::timestamp) - extract(epoch from '2026-06-05 15:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430567 -2.761252)'), GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.761167)'))) / (select extract(epoch from '2026-06-05 15:38:23'::timestamp) - extract(epoch from '2026-06-05 15:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.430896 -2.761087)', '2026-06-05 15:38:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.761167)'), GeomFromEWKT('SRID=4674;POINT (-40.430896 -2.761087)'))) / (select extract(epoch from '2026-06-05 15:38:29'::timestamp) - extract(epoch from '2026-06-05 15:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430734 -2.761167)'), GeomFromEWKT('SRID=4674;POINT (-40.430896 -2.761087)'))) / (select extract(epoch from '2026-06-05 15:38:29'::timestamp) - extract(epoch from '2026-06-05 15:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.431087 -2.760983)', '2026-06-05 15:38:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430896 -2.761087)'), GeomFromEWKT('SRID=4674;POINT (-40.431087 -2.760983)'))) / (select extract(epoch from '2026-06-05 15:38:36'::timestamp) - extract(epoch from '2026-06-05 15:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.430896 -2.761087)'), GeomFromEWKT('SRID=4674;POINT (-40.431087 -2.760983)'))) / (select extract(epoch from '2026-06-05 15:38:36'::timestamp) - extract(epoch from '2026-06-05 15:38: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'), 46721, 'SRID=4674;POINT (-40.431248 -2.760896)', '2026-06-05 15:38:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431087 -2.760983)'), GeomFromEWKT('SRID=4674;POINT (-40.431248 -2.760896)'))) / (select extract(epoch from '2026-06-05 15:38:42'::timestamp) - extract(epoch from '2026-06-05 15:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431087 -2.760983)'), GeomFromEWKT('SRID=4674;POINT (-40.431248 -2.760896)'))) / (select extract(epoch from '2026-06-05 15:38:42'::timestamp) - extract(epoch from '2026-06-05 15:38: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'), 46721, 'SRID=4674;POINT (-40.431432 -2.760797)', '2026-06-05 15:38:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431248 -2.760896)'), GeomFromEWKT('SRID=4674;POINT (-40.431432 -2.760797)'))) / (select extract(epoch from '2026-06-05 15:38:49'::timestamp) - extract(epoch from '2026-06-05 15:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431248 -2.760896)'), GeomFromEWKT('SRID=4674;POINT (-40.431432 -2.760797)'))) / (select extract(epoch from '2026-06-05 15:38:49'::timestamp) - extract(epoch from '2026-06-05 15:38: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'), 46721, 'SRID=4674;POINT (-40.4316 -2.760725)', '2026-06-05 15:38:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431432 -2.760797)'), GeomFromEWKT('SRID=4674;POINT (-40.4316 -2.760725)'))) / (select extract(epoch from '2026-06-05 15:38:55'::timestamp) - extract(epoch from '2026-06-05 15:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431432 -2.760797)'), GeomFromEWKT('SRID=4674;POINT (-40.4316 -2.760725)'))) / (select extract(epoch from '2026-06-05 15:38:55'::timestamp) - extract(epoch from '2026-06-05 15:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.431779 -2.760665)', '2026-06-05 15:39:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4316 -2.760725)'), GeomFromEWKT('SRID=4674;POINT (-40.431779 -2.760665)'))) / (select extract(epoch from '2026-06-05 15:39:01'::timestamp) - extract(epoch from '2026-06-05 15:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4316 -2.760725)'), GeomFromEWKT('SRID=4674;POINT (-40.431779 -2.760665)'))) / (select extract(epoch from '2026-06-05 15:39:01'::timestamp) - extract(epoch from '2026-06-05 15:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.431921 -2.760616)', '2026-06-05 15:39:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431779 -2.760665)'), GeomFromEWKT('SRID=4674;POINT (-40.431921 -2.760616)'))) / (select extract(epoch from '2026-06-05 15:39:06'::timestamp) - extract(epoch from '2026-06-05 15:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431779 -2.760665)'), GeomFromEWKT('SRID=4674;POINT (-40.431921 -2.760616)'))) / (select extract(epoch from '2026-06-05 15:39:06'::timestamp) - extract(epoch from '2026-06-05 15:39: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'), 46721, 'SRID=4674;POINT (-40.432055 -2.760575)', '2026-06-05 15:39:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431921 -2.760616)'), GeomFromEWKT('SRID=4674;POINT (-40.432055 -2.760575)'))) / (select extract(epoch from '2026-06-05 15:39:11'::timestamp) - extract(epoch from '2026-06-05 15:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.431921 -2.760616)'), GeomFromEWKT('SRID=4674;POINT (-40.432055 -2.760575)'))) / (select extract(epoch from '2026-06-05 15:39:11'::timestamp) - extract(epoch from '2026-06-05 15:39: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'), 46721, 'SRID=4674;POINT (-40.432223 -2.760518)', '2026-06-05 15:39:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432055 -2.760575)'), GeomFromEWKT('SRID=4674;POINT (-40.432223 -2.760518)'))) / (select extract(epoch from '2026-06-05 15:39:17'::timestamp) - extract(epoch from '2026-06-05 15:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432055 -2.760575)'), GeomFromEWKT('SRID=4674;POINT (-40.432223 -2.760518)'))) / (select extract(epoch from '2026-06-05 15:39:17'::timestamp) - extract(epoch from '2026-06-05 15:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.432379 -2.760433)', '2026-06-05 15:39:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432223 -2.760518)'), GeomFromEWKT('SRID=4674;POINT (-40.432379 -2.760433)'))) / (select extract(epoch from '2026-06-05 15:39:23'::timestamp) - extract(epoch from '2026-06-05 15:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432223 -2.760518)'), GeomFromEWKT('SRID=4674;POINT (-40.432379 -2.760433)'))) / (select extract(epoch from '2026-06-05 15:39:23'::timestamp) - extract(epoch from '2026-06-05 15:39: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'), 46721, 'SRID=4674;POINT (-40.43253 -2.76034)', '2026-06-05 15:39:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432379 -2.760433)'), GeomFromEWKT('SRID=4674;POINT (-40.43253 -2.76034)'))) / (select extract(epoch from '2026-06-05 15:39:29'::timestamp) - extract(epoch from '2026-06-05 15:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432379 -2.760433)'), GeomFromEWKT('SRID=4674;POINT (-40.43253 -2.76034)'))) / (select extract(epoch from '2026-06-05 15:39:29'::timestamp) - extract(epoch from '2026-06-05 15:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.432659 -2.760265)', '2026-06-05 15:39:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43253 -2.76034)'), GeomFromEWKT('SRID=4674;POINT (-40.432659 -2.760265)'))) / (select extract(epoch from '2026-06-05 15:39:34'::timestamp) - extract(epoch from '2026-06-05 15:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43253 -2.76034)'), GeomFromEWKT('SRID=4674;POINT (-40.432659 -2.760265)'))) / (select extract(epoch from '2026-06-05 15:39:34'::timestamp) - extract(epoch from '2026-06-05 15:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.432802 -2.760165)', '2026-06-05 15:39:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432659 -2.760265)'), GeomFromEWKT('SRID=4674;POINT (-40.432802 -2.760165)'))) / (select extract(epoch from '2026-06-05 15:39:40'::timestamp) - extract(epoch from '2026-06-05 15:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432659 -2.760265)'), GeomFromEWKT('SRID=4674;POINT (-40.432802 -2.760165)'))) / (select extract(epoch from '2026-06-05 15:39:40'::timestamp) - extract(epoch from '2026-06-05 15:39: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'), 46721, 'SRID=4674;POINT (-40.43296 -2.760039)', '2026-06-05 15:39:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432802 -2.760165)'), GeomFromEWKT('SRID=4674;POINT (-40.43296 -2.760039)'))) / (select extract(epoch from '2026-06-05 15:39:47'::timestamp) - extract(epoch from '2026-06-05 15:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.432802 -2.760165)'), GeomFromEWKT('SRID=4674;POINT (-40.43296 -2.760039)'))) / (select extract(epoch from '2026-06-05 15:39:47'::timestamp) - extract(epoch from '2026-06-05 15:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.433095 -2.759909)', '2026-06-05 15:39:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43296 -2.760039)'), GeomFromEWKT('SRID=4674;POINT (-40.433095 -2.759909)'))) / (select extract(epoch from '2026-06-05 15:39:53'::timestamp) - extract(epoch from '2026-06-05 15:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43296 -2.760039)'), GeomFromEWKT('SRID=4674;POINT (-40.433095 -2.759909)'))) / (select extract(epoch from '2026-06-05 15:39:53'::timestamp) - extract(epoch from '2026-06-05 15:39: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'), 46721, 'SRID=4674;POINT (-40.43327 -2.759775)', '2026-06-05 15:40:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433095 -2.759909)'), GeomFromEWKT('SRID=4674;POINT (-40.43327 -2.759775)'))) / (select extract(epoch from '2026-06-05 15:40:00'::timestamp) - extract(epoch from '2026-06-05 15:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433095 -2.759909)'), GeomFromEWKT('SRID=4674;POINT (-40.43327 -2.759775)'))) / (select extract(epoch from '2026-06-05 15:40:00'::timestamp) - extract(epoch from '2026-06-05 15:39: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'), 46721, 'SRID=4674;POINT (-40.433538 -2.759611)', '2026-06-05 15:40:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43327 -2.759775)'), GeomFromEWKT('SRID=4674;POINT (-40.433538 -2.759611)'))) / (select extract(epoch from '2026-06-05 15:40:10'::timestamp) - extract(epoch from '2026-06-05 15:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43327 -2.759775)'), GeomFromEWKT('SRID=4674;POINT (-40.433538 -2.759611)'))) / (select extract(epoch from '2026-06-05 15:40:10'::timestamp) - extract(epoch from '2026-06-05 15:40: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'), 46721, 'SRID=4674;POINT (-40.433675 -2.75954)', '2026-06-05 15:40:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433538 -2.759611)'), GeomFromEWKT('SRID=4674;POINT (-40.433675 -2.75954)'))) / (select extract(epoch from '2026-06-05 15:40:15'::timestamp) - extract(epoch from '2026-06-05 15:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433538 -2.759611)'), GeomFromEWKT('SRID=4674;POINT (-40.433675 -2.75954)'))) / (select extract(epoch from '2026-06-05 15:40:15'::timestamp) - extract(epoch from '2026-06-05 15:40: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'), 46721, 'SRID=4674;POINT (-40.433804 -2.75945)', '2026-06-05 15:40:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433675 -2.75954)'), GeomFromEWKT('SRID=4674;POINT (-40.433804 -2.75945)'))) / (select extract(epoch from '2026-06-05 15:40:20'::timestamp) - extract(epoch from '2026-06-05 15:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433675 -2.75954)'), GeomFromEWKT('SRID=4674;POINT (-40.433804 -2.75945)'))) / (select extract(epoch from '2026-06-05 15:40:20'::timestamp) - extract(epoch from '2026-06-05 15:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.433953 -2.759329)', '2026-06-05 15:40:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433804 -2.75945)'), GeomFromEWKT('SRID=4674;POINT (-40.433953 -2.759329)'))) / (select extract(epoch from '2026-06-05 15:40:26'::timestamp) - extract(epoch from '2026-06-05 15:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433804 -2.75945)'), GeomFromEWKT('SRID=4674;POINT (-40.433953 -2.759329)'))) / (select extract(epoch from '2026-06-05 15:40:26'::timestamp) - extract(epoch from '2026-06-05 15:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.434142 -2.759224)', '2026-06-05 15:40:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433953 -2.759329)'), GeomFromEWKT('SRID=4674;POINT (-40.434142 -2.759224)'))) / (select extract(epoch from '2026-06-05 15:40:33'::timestamp) - extract(epoch from '2026-06-05 15:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.433953 -2.759329)'), GeomFromEWKT('SRID=4674;POINT (-40.434142 -2.759224)'))) / (select extract(epoch from '2026-06-05 15:40:33'::timestamp) - extract(epoch from '2026-06-05 15:40: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'), 46721, 'SRID=4674;POINT (-40.434256 -2.759159)', '2026-06-05 15:40:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434142 -2.759224)'), GeomFromEWKT('SRID=4674;POINT (-40.434256 -2.759159)'))) / (select extract(epoch from '2026-06-05 15:40:38'::timestamp) - extract(epoch from '2026-06-05 15:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434142 -2.759224)'), GeomFromEWKT('SRID=4674;POINT (-40.434256 -2.759159)'))) / (select extract(epoch from '2026-06-05 15:40:38'::timestamp) - extract(epoch from '2026-06-05 15:40: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'), 46721, 'SRID=4674;POINT (-40.434395 -2.759095)', '2026-06-05 15:40:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434256 -2.759159)'), GeomFromEWKT('SRID=4674;POINT (-40.434395 -2.759095)'))) / (select extract(epoch from '2026-06-05 15:40:43'::timestamp) - extract(epoch from '2026-06-05 15:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434256 -2.759159)'), GeomFromEWKT('SRID=4674;POINT (-40.434395 -2.759095)'))) / (select extract(epoch from '2026-06-05 15:40:43'::timestamp) - extract(epoch from '2026-06-05 15:40: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'), 46721, 'SRID=4674;POINT (-40.434558 -2.759009)', '2026-06-05 15:40:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434395 -2.759095)'), GeomFromEWKT('SRID=4674;POINT (-40.434558 -2.759009)'))) / (select extract(epoch from '2026-06-05 15:40:49'::timestamp) - extract(epoch from '2026-06-05 15:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434395 -2.759095)'), GeomFromEWKT('SRID=4674;POINT (-40.434558 -2.759009)'))) / (select extract(epoch from '2026-06-05 15:40:49'::timestamp) - extract(epoch from '2026-06-05 15:40: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'), 46721, 'SRID=4674;POINT (-40.434733 -2.758952)', '2026-06-05 15:40:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434558 -2.759009)'), GeomFromEWKT('SRID=4674;POINT (-40.434733 -2.758952)'))) / (select extract(epoch from '2026-06-05 15:40:56'::timestamp) - extract(epoch from '2026-06-05 15:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434558 -2.759009)'), GeomFromEWKT('SRID=4674;POINT (-40.434733 -2.758952)'))) / (select extract(epoch from '2026-06-05 15:40:56'::timestamp) - extract(epoch from '2026-06-05 15:40: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'), 46721, 'SRID=4674;POINT (-40.43486 -2.758909)', '2026-06-05 15:41:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434733 -2.758952)'), GeomFromEWKT('SRID=4674;POINT (-40.43486 -2.758909)'))) / (select extract(epoch from '2026-06-05 15:41:01'::timestamp) - extract(epoch from '2026-06-05 15:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.434733 -2.758952)'), GeomFromEWKT('SRID=4674;POINT (-40.43486 -2.758909)'))) / (select extract(epoch from '2026-06-05 15:41:01'::timestamp) - extract(epoch from '2026-06-05 15:40: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'), 46721, 'SRID=4674;POINT (-40.435011 -2.758861)', '2026-06-05 15:41:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43486 -2.758909)'), GeomFromEWKT('SRID=4674;POINT (-40.435011 -2.758861)'))) / (select extract(epoch from '2026-06-05 15:41:07'::timestamp) - extract(epoch from '2026-06-05 15:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43486 -2.758909)'), GeomFromEWKT('SRID=4674;POINT (-40.435011 -2.758861)'))) / (select extract(epoch from '2026-06-05 15:41:07'::timestamp) - extract(epoch from '2026-06-05 15:41: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'), 46721, 'SRID=4674;POINT (-40.435166 -2.758795)', '2026-06-05 15:41:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435011 -2.758861)'), GeomFromEWKT('SRID=4674;POINT (-40.435166 -2.758795)'))) / (select extract(epoch from '2026-06-05 15:41:13'::timestamp) - extract(epoch from '2026-06-05 15:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435011 -2.758861)'), GeomFromEWKT('SRID=4674;POINT (-40.435166 -2.758795)'))) / (select extract(epoch from '2026-06-05 15:41:13'::timestamp) - extract(epoch from '2026-06-05 15:41: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'), 46721, 'SRID=4674;POINT (-40.435296 -2.758764)', '2026-06-05 15:41:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435166 -2.758795)'), GeomFromEWKT('SRID=4674;POINT (-40.435296 -2.758764)'))) / (select extract(epoch from '2026-06-05 15:41:18'::timestamp) - extract(epoch from '2026-06-05 15:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435166 -2.758795)'), GeomFromEWKT('SRID=4674;POINT (-40.435296 -2.758764)'))) / (select extract(epoch from '2026-06-05 15:41:18'::timestamp) - extract(epoch from '2026-06-05 15:41: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'), 46721, 'SRID=4674;POINT (-40.435447 -2.758744)', '2026-06-05 15:41:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435296 -2.758764)'), GeomFromEWKT('SRID=4674;POINT (-40.435447 -2.758744)'))) / (select extract(epoch from '2026-06-05 15:41:24'::timestamp) - extract(epoch from '2026-06-05 15:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435296 -2.758764)'), GeomFromEWKT('SRID=4674;POINT (-40.435447 -2.758744)'))) / (select extract(epoch from '2026-06-05 15:41:24'::timestamp) - extract(epoch from '2026-06-05 15:41: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'), 46721, 'SRID=4674;POINT (-40.435596 -2.758719)', '2026-06-05 15:41:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435447 -2.758744)'), GeomFromEWKT('SRID=4674;POINT (-40.435596 -2.758719)'))) / (select extract(epoch from '2026-06-05 15:41:30'::timestamp) - extract(epoch from '2026-06-05 15:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435447 -2.758744)'), GeomFromEWKT('SRID=4674;POINT (-40.435596 -2.758719)'))) / (select extract(epoch from '2026-06-05 15:41:30'::timestamp) - extract(epoch from '2026-06-05 15:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.435739 -2.758717)', '2026-06-05 15:41:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435596 -2.758719)'), GeomFromEWKT('SRID=4674;POINT (-40.435739 -2.758717)'))) / (select extract(epoch from '2026-06-05 15:41:35'::timestamp) - extract(epoch from '2026-06-05 15:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435596 -2.758719)'), GeomFromEWKT('SRID=4674;POINT (-40.435739 -2.758717)'))) / (select extract(epoch from '2026-06-05 15:41:35'::timestamp) - extract(epoch from '2026-06-05 15:41: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'), 46721, 'SRID=4674;POINT (-40.435889 -2.758691)', '2026-06-05 15:41:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435739 -2.758717)'), GeomFromEWKT('SRID=4674;POINT (-40.435889 -2.758691)'))) / (select extract(epoch from '2026-06-05 15:41:41'::timestamp) - extract(epoch from '2026-06-05 15:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435739 -2.758717)'), GeomFromEWKT('SRID=4674;POINT (-40.435889 -2.758691)'))) / (select extract(epoch from '2026-06-05 15:41:41'::timestamp) - extract(epoch from '2026-06-05 15:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.436041 -2.758684)', '2026-06-05 15:41:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435889 -2.758691)'), GeomFromEWKT('SRID=4674;POINT (-40.436041 -2.758684)'))) / (select extract(epoch from '2026-06-05 15:41:47'::timestamp) - extract(epoch from '2026-06-05 15:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.435889 -2.758691)'), GeomFromEWKT('SRID=4674;POINT (-40.436041 -2.758684)'))) / (select extract(epoch from '2026-06-05 15:41:47'::timestamp) - extract(epoch from '2026-06-05 15:41: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'), 46721, 'SRID=4674;POINT (-40.43622 -2.758659)', '2026-06-05 15:41:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436041 -2.758684)'), GeomFromEWKT('SRID=4674;POINT (-40.43622 -2.758659)'))) / (select extract(epoch from '2026-06-05 15:41:54'::timestamp) - extract(epoch from '2026-06-05 15:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436041 -2.758684)'), GeomFromEWKT('SRID=4674;POINT (-40.43622 -2.758659)'))) / (select extract(epoch from '2026-06-05 15:41:54'::timestamp) - extract(epoch from '2026-06-05 15:41: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'), 46721, 'SRID=4674;POINT (-40.436456 -2.758594)', '2026-06-05 15:42:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43622 -2.758659)'), GeomFromEWKT('SRID=4674;POINT (-40.436456 -2.758594)'))) / (select extract(epoch from '2026-06-05 15:42:03'::timestamp) - extract(epoch from '2026-06-05 15:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43622 -2.758659)'), GeomFromEWKT('SRID=4674;POINT (-40.436456 -2.758594)'))) / (select extract(epoch from '2026-06-05 15:42:03'::timestamp) - extract(epoch from '2026-06-05 15:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.436651 -2.758539)', '2026-06-05 15:42:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436456 -2.758594)'), GeomFromEWKT('SRID=4674;POINT (-40.436651 -2.758539)'))) / (select extract(epoch from '2026-06-05 15:42:10'::timestamp) - extract(epoch from '2026-06-05 15:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436456 -2.758594)'), GeomFromEWKT('SRID=4674;POINT (-40.436651 -2.758539)'))) / (select extract(epoch from '2026-06-05 15:42:10'::timestamp) - extract(epoch from '2026-06-05 15:42: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'), 46721, 'SRID=4674;POINT (-40.436819 -2.758474)', '2026-06-05 15:42:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436651 -2.758539)'), GeomFromEWKT('SRID=4674;POINT (-40.436819 -2.758474)'))) / (select extract(epoch from '2026-06-05 15:42:16'::timestamp) - extract(epoch from '2026-06-05 15:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436651 -2.758539)'), GeomFromEWKT('SRID=4674;POINT (-40.436819 -2.758474)'))) / (select extract(epoch from '2026-06-05 15:42:16'::timestamp) - extract(epoch from '2026-06-05 15:42: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'), 46721, 'SRID=4674;POINT (-40.43697 -2.758417)', '2026-06-05 15:42:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436819 -2.758474)'), GeomFromEWKT('SRID=4674;POINT (-40.43697 -2.758417)'))) / (select extract(epoch from '2026-06-05 15:42:22'::timestamp) - extract(epoch from '2026-06-05 15:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.436819 -2.758474)'), GeomFromEWKT('SRID=4674;POINT (-40.43697 -2.758417)'))) / (select extract(epoch from '2026-06-05 15:42:22'::timestamp) - extract(epoch from '2026-06-05 15:42: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'), 46721, 'SRID=4674;POINT (-40.437146 -2.758343)', '2026-06-05 15:42:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43697 -2.758417)'), GeomFromEWKT('SRID=4674;POINT (-40.437146 -2.758343)'))) / (select extract(epoch from '2026-06-05 15:42:29'::timestamp) - extract(epoch from '2026-06-05 15:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43697 -2.758417)'), GeomFromEWKT('SRID=4674;POINT (-40.437146 -2.758343)'))) / (select extract(epoch from '2026-06-05 15:42:29'::timestamp) - extract(epoch from '2026-06-05 15:42: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'), 46721, 'SRID=4674;POINT (-40.437301 -2.758291)', '2026-06-05 15:42:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437146 -2.758343)'), GeomFromEWKT('SRID=4674;POINT (-40.437301 -2.758291)'))) / (select extract(epoch from '2026-06-05 15:42:35'::timestamp) - extract(epoch from '2026-06-05 15:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437146 -2.758343)'), GeomFromEWKT('SRID=4674;POINT (-40.437301 -2.758291)'))) / (select extract(epoch from '2026-06-05 15:42:35'::timestamp) - extract(epoch from '2026-06-05 15:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.437446 -2.758252)', '2026-06-05 15:42:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437301 -2.758291)'), GeomFromEWKT('SRID=4674;POINT (-40.437446 -2.758252)'))) / (select extract(epoch from '2026-06-05 15:42:40'::timestamp) - extract(epoch from '2026-06-05 15:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437301 -2.758291)'), GeomFromEWKT('SRID=4674;POINT (-40.437446 -2.758252)'))) / (select extract(epoch from '2026-06-05 15:42:40'::timestamp) - extract(epoch from '2026-06-05 15:42: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'), 46721, 'SRID=4674;POINT (-40.437603 -2.75819)', '2026-06-05 15:42:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437446 -2.758252)'), GeomFromEWKT('SRID=4674;POINT (-40.437603 -2.75819)'))) / (select extract(epoch from '2026-06-05 15:42:46'::timestamp) - extract(epoch from '2026-06-05 15:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437446 -2.758252)'), GeomFromEWKT('SRID=4674;POINT (-40.437603 -2.75819)'))) / (select extract(epoch from '2026-06-05 15:42:46'::timestamp) - extract(epoch from '2026-06-05 15:42: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'), 46721, 'SRID=4674;POINT (-40.43774 -2.758126)', '2026-06-05 15:42:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437603 -2.75819)'), GeomFromEWKT('SRID=4674;POINT (-40.43774 -2.758126)'))) / (select extract(epoch from '2026-06-05 15:42:51'::timestamp) - extract(epoch from '2026-06-05 15:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437603 -2.75819)'), GeomFromEWKT('SRID=4674;POINT (-40.43774 -2.758126)'))) / (select extract(epoch from '2026-06-05 15:42:51'::timestamp) - extract(epoch from '2026-06-05 15:42: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'), 46721, 'SRID=4674;POINT (-40.437927 -2.758014)', '2026-06-05 15:42:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43774 -2.758126)'), GeomFromEWKT('SRID=4674;POINT (-40.437927 -2.758014)'))) / (select extract(epoch from '2026-06-05 15:42:58'::timestamp) - extract(epoch from '2026-06-05 15:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.43774 -2.758126)'), GeomFromEWKT('SRID=4674;POINT (-40.437927 -2.758014)'))) / (select extract(epoch from '2026-06-05 15:42:58'::timestamp) - extract(epoch from '2026-06-05 15:42: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'), 46721, 'SRID=4674;POINT (-40.438112 -2.75791)', '2026-06-05 15:43:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437927 -2.758014)'), GeomFromEWKT('SRID=4674;POINT (-40.438112 -2.75791)'))) / (select extract(epoch from '2026-06-05 15:43:04'::timestamp) - extract(epoch from '2026-06-05 15:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.437927 -2.758014)'), GeomFromEWKT('SRID=4674;POINT (-40.438112 -2.75791)'))) / (select extract(epoch from '2026-06-05 15:43:04'::timestamp) - extract(epoch from '2026-06-05 15:42: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'), 46721, 'SRID=4674;POINT (-40.438282 -2.757832)', '2026-06-05 15:43:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438112 -2.75791)'), GeomFromEWKT('SRID=4674;POINT (-40.438282 -2.757832)'))) / (select extract(epoch from '2026-06-05 15:43:10'::timestamp) - extract(epoch from '2026-06-05 15:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438112 -2.75791)'), GeomFromEWKT('SRID=4674;POINT (-40.438282 -2.757832)'))) / (select extract(epoch from '2026-06-05 15:43:10'::timestamp) - extract(epoch from '2026-06-05 15:43: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'), 46721, 'SRID=4674;POINT (-40.438441 -2.757743)', '2026-06-05 15:43:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438282 -2.757832)'), GeomFromEWKT('SRID=4674;POINT (-40.438441 -2.757743)'))) / (select extract(epoch from '2026-06-05 15:43:16'::timestamp) - extract(epoch from '2026-06-05 15:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438282 -2.757832)'), GeomFromEWKT('SRID=4674;POINT (-40.438441 -2.757743)'))) / (select extract(epoch from '2026-06-05 15:43:16'::timestamp) - extract(epoch from '2026-06-05 15:43: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'), 46721, 'SRID=4674;POINT (-40.438683 -2.757606)', '2026-06-05 15:43:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438441 -2.757743)'), GeomFromEWKT('SRID=4674;POINT (-40.438683 -2.757606)'))) / (select extract(epoch from '2026-06-05 15:43:25'::timestamp) - extract(epoch from '2026-06-05 15:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438441 -2.757743)'), GeomFromEWKT('SRID=4674;POINT (-40.438683 -2.757606)'))) / (select extract(epoch from '2026-06-05 15:43:25'::timestamp) - extract(epoch from '2026-06-05 15:43: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'), 46721, 'SRID=4674;POINT (-40.438859 -2.75751)', '2026-06-05 15:43:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438683 -2.757606)'), GeomFromEWKT('SRID=4674;POINT (-40.438859 -2.75751)'))) / (select extract(epoch from '2026-06-05 15:43:31'::timestamp) - extract(epoch from '2026-06-05 15:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438683 -2.757606)'), GeomFromEWKT('SRID=4674;POINT (-40.438859 -2.75751)'))) / (select extract(epoch from '2026-06-05 15:43:31'::timestamp) - extract(epoch from '2026-06-05 15:43: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'), 46721, 'SRID=4674;POINT (-40.439029 -2.757399)', '2026-06-05 15:43:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438859 -2.75751)'), GeomFromEWKT('SRID=4674;POINT (-40.439029 -2.757399)'))) / (select extract(epoch from '2026-06-05 15:43:38'::timestamp) - extract(epoch from '2026-06-05 15:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.438859 -2.75751)'), GeomFromEWKT('SRID=4674;POINT (-40.439029 -2.757399)'))) / (select extract(epoch from '2026-06-05 15:43:38'::timestamp) - extract(epoch from '2026-06-05 15:43: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'), 46721, 'SRID=4674;POINT (-40.439169 -2.757301)', '2026-06-05 15:43:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439029 -2.757399)'), GeomFromEWKT('SRID=4674;POINT (-40.439169 -2.757301)'))) / (select extract(epoch from '2026-06-05 15:43:44'::timestamp) - extract(epoch from '2026-06-05 15:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439029 -2.757399)'), GeomFromEWKT('SRID=4674;POINT (-40.439169 -2.757301)'))) / (select extract(epoch from '2026-06-05 15:43:44'::timestamp) - extract(epoch from '2026-06-05 15:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.439306 -2.757195)', '2026-06-05 15:43:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439169 -2.757301)'), GeomFromEWKT('SRID=4674;POINT (-40.439306 -2.757195)'))) / (select extract(epoch from '2026-06-05 15:43:50'::timestamp) - extract(epoch from '2026-06-05 15:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439169 -2.757301)'), GeomFromEWKT('SRID=4674;POINT (-40.439306 -2.757195)'))) / (select extract(epoch from '2026-06-05 15:43:50'::timestamp) - extract(epoch from '2026-06-05 15:43: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'), 46721, 'SRID=4674;POINT (-40.439425 -2.757097)', '2026-06-05 15:43:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439306 -2.757195)'), GeomFromEWKT('SRID=4674;POINT (-40.439425 -2.757097)'))) / (select extract(epoch from '2026-06-05 15:43:55'::timestamp) - extract(epoch from '2026-06-05 15:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.439306 -2.757195)'), GeomFromEWKT('SRID=4674;POINT (-40.439425 -2.757097)'))) / (select extract(epoch from '2026-06-05 15:43:55'::timestamp) - extract(epoch from '2026-06-05 15:43:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
