BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.357173 -2.808491)', '2026-07-20 04:40:07', 2.8, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.357165 -2.808495)', '2026-07-20 04:40:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357173 -2.808491)'), GeomFromEWKT('SRID=4674;POINT (-40.357165 -2.808495)'))) / (select extract(epoch from '2026-07-20 04:40:33'::timestamp) - extract(epoch from '2026-07-20 04:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357173 -2.808491)'), GeomFromEWKT('SRID=4674;POINT (-40.357165 -2.808495)'))) / (select extract(epoch from '2026-07-20 04:40:33'::timestamp) - extract(epoch from '2026-07-20 04:40: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'), 47645, 'SRID=4674;POINT (-40.357151 -2.808496)', '2026-07-20 04:40:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357165 -2.808495)'), GeomFromEWKT('SRID=4674;POINT (-40.357151 -2.808496)'))) / (select extract(epoch from '2026-07-20 04:40:56'::timestamp) - extract(epoch from '2026-07-20 04:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357165 -2.808495)'), GeomFromEWKT('SRID=4674;POINT (-40.357151 -2.808496)'))) / (select extract(epoch from '2026-07-20 04:40:56'::timestamp) - extract(epoch from '2026-07-20 04: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'), 47645, 'SRID=4674;POINT (-40.357154 -2.80849)', '2026-07-20 04:41:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357151 -2.808496)'), GeomFromEWKT('SRID=4674;POINT (-40.357154 -2.80849)'))) / (select extract(epoch from '2026-07-20 04:41:40'::timestamp) - extract(epoch from '2026-07-20 04:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357151 -2.808496)'), GeomFromEWKT('SRID=4674;POINT (-40.357154 -2.80849)'))) / (select extract(epoch from '2026-07-20 04:41:40'::timestamp) - extract(epoch from '2026-07-20 04: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'), 47645, 'SRID=4674;POINT (-40.357184 -2.808406)', '2026-07-20 04:41:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357154 -2.80849)'), GeomFromEWKT('SRID=4674;POINT (-40.357184 -2.808406)'))) / (select extract(epoch from '2026-07-20 04:41:52'::timestamp) - extract(epoch from '2026-07-20 04:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357154 -2.80849)'), GeomFromEWKT('SRID=4674;POINT (-40.357184 -2.808406)'))) / (select extract(epoch from '2026-07-20 04:41:52'::timestamp) - extract(epoch from '2026-07-20 04:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.357208 -2.808338)', '2026-07-20 04:42:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357184 -2.808406)'), GeomFromEWKT('SRID=4674;POINT (-40.357208 -2.808338)'))) / (select extract(epoch from '2026-07-20 04:42:06'::timestamp) - extract(epoch from '2026-07-20 04:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357184 -2.808406)'), GeomFromEWKT('SRID=4674;POINT (-40.357208 -2.808338)'))) / (select extract(epoch from '2026-07-20 04:42:06'::timestamp) - extract(epoch from '2026-07-20 04:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.357228 -2.808322)', '2026-07-20 04:42:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357208 -2.808338)'), GeomFromEWKT('SRID=4674;POINT (-40.357228 -2.808322)'))) / (select extract(epoch from '2026-07-20 04:42:19'::timestamp) - extract(epoch from '2026-07-20 04:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357208 -2.808338)'), GeomFromEWKT('SRID=4674;POINT (-40.357228 -2.808322)'))) / (select extract(epoch from '2026-07-20 04:42:19'::timestamp) - extract(epoch from '2026-07-20 04:42: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'), 47645, 'SRID=4674;POINT (-40.357252 -2.808313)', '2026-07-20 04:42:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357228 -2.808322)'), GeomFromEWKT('SRID=4674;POINT (-40.357252 -2.808313)'))) / (select extract(epoch from '2026-07-20 04:42:37'::timestamp) - extract(epoch from '2026-07-20 04:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357228 -2.808322)'), GeomFromEWKT('SRID=4674;POINT (-40.357252 -2.808313)'))) / (select extract(epoch from '2026-07-20 04:42:37'::timestamp) - extract(epoch from '2026-07-20 04:42: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'), 47645, 'SRID=4674;POINT (-40.357277 -2.80833)', '2026-07-20 04:42:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357252 -2.808313)'), GeomFromEWKT('SRID=4674;POINT (-40.357277 -2.80833)'))) / (select extract(epoch from '2026-07-20 04:42:49'::timestamp) - extract(epoch from '2026-07-20 04:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357252 -2.808313)'), GeomFromEWKT('SRID=4674;POINT (-40.357277 -2.80833)'))) / (select extract(epoch from '2026-07-20 04:42:49'::timestamp) - extract(epoch from '2026-07-20 04:42: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'), 47645, 'SRID=4674;POINT (-40.357305 -2.808342)', '2026-07-20 04:42:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357277 -2.80833)'), GeomFromEWKT('SRID=4674;POINT (-40.357305 -2.808342)'))) / (select extract(epoch from '2026-07-20 04:42:59'::timestamp) - extract(epoch from '2026-07-20 04:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357277 -2.80833)'), GeomFromEWKT('SRID=4674;POINT (-40.357305 -2.808342)'))) / (select extract(epoch from '2026-07-20 04:42:59'::timestamp) - extract(epoch from '2026-07-20 04:42: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'), 47645, 'SRID=4674;POINT (-40.357297 -2.808329)', '2026-07-20 04:43:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357305 -2.808342)'), GeomFromEWKT('SRID=4674;POINT (-40.357297 -2.808329)'))) / (select extract(epoch from '2026-07-20 04:43:13'::timestamp) - extract(epoch from '2026-07-20 04:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357305 -2.808342)'), GeomFromEWKT('SRID=4674;POINT (-40.357297 -2.808329)'))) / (select extract(epoch from '2026-07-20 04:43:13'::timestamp) - extract(epoch from '2026-07-20 04:42: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'), 47645, 'SRID=4674;POINT (-40.357253 -2.808244)', '2026-07-20 04:43:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357297 -2.808329)'), GeomFromEWKT('SRID=4674;POINT (-40.357253 -2.808244)'))) / (select extract(epoch from '2026-07-20 04:43:20'::timestamp) - extract(epoch from '2026-07-20 04:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357297 -2.808329)'), GeomFromEWKT('SRID=4674;POINT (-40.357253 -2.808244)'))) / (select extract(epoch from '2026-07-20 04:43:20'::timestamp) - extract(epoch from '2026-07-20 04:43: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'), 47645, 'SRID=4674;POINT (-40.357185 -2.808116)', '2026-07-20 04:43:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357253 -2.808244)'), GeomFromEWKT('SRID=4674;POINT (-40.357185 -2.808116)'))) / (select extract(epoch from '2026-07-20 04:43:28'::timestamp) - extract(epoch from '2026-07-20 04:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357253 -2.808244)'), GeomFromEWKT('SRID=4674;POINT (-40.357185 -2.808116)'))) / (select extract(epoch from '2026-07-20 04:43:28'::timestamp) - extract(epoch from '2026-07-20 04:43: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'), 47645, 'SRID=4674;POINT (-40.357097 -2.807988)', '2026-07-20 04:43:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357185 -2.808116)'), GeomFromEWKT('SRID=4674;POINT (-40.357097 -2.807988)'))) / (select extract(epoch from '2026-07-20 04:43:36'::timestamp) - extract(epoch from '2026-07-20 04:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357185 -2.808116)'), GeomFromEWKT('SRID=4674;POINT (-40.357097 -2.807988)'))) / (select extract(epoch from '2026-07-20 04:43:36'::timestamp) - extract(epoch from '2026-07-20 04:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.357012 -2.807866)', '2026-07-20 04:43:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357097 -2.807988)'), GeomFromEWKT('SRID=4674;POINT (-40.357012 -2.807866)'))) / (select extract(epoch from '2026-07-20 04:43:44'::timestamp) - extract(epoch from '2026-07-20 04:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357097 -2.807988)'), GeomFromEWKT('SRID=4674;POINT (-40.357012 -2.807866)'))) / (select extract(epoch from '2026-07-20 04:43:44'::timestamp) - extract(epoch from '2026-07-20 04:43: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'), 47645, 'SRID=4674;POINT (-40.356937 -2.807745)', '2026-07-20 04:43:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357012 -2.807866)'), GeomFromEWKT('SRID=4674;POINT (-40.356937 -2.807745)'))) / (select extract(epoch from '2026-07-20 04:43:52'::timestamp) - extract(epoch from '2026-07-20 04:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357012 -2.807866)'), GeomFromEWKT('SRID=4674;POINT (-40.356937 -2.807745)'))) / (select extract(epoch from '2026-07-20 04:43:52'::timestamp) - extract(epoch from '2026-07-20 04: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'), 47645, 'SRID=4674;POINT (-40.356843 -2.807573)', '2026-07-20 04:44:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356937 -2.807745)'), GeomFromEWKT('SRID=4674;POINT (-40.356843 -2.807573)'))) / (select extract(epoch from '2026-07-20 04:44:02'::timestamp) - extract(epoch from '2026-07-20 04:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356937 -2.807745)'), GeomFromEWKT('SRID=4674;POINT (-40.356843 -2.807573)'))) / (select extract(epoch from '2026-07-20 04:44:02'::timestamp) - extract(epoch from '2026-07-20 04:43: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'), 47645, 'SRID=4674;POINT (-40.356754 -2.807415)', '2026-07-20 04:44:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356843 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.356754 -2.807415)'))) / (select extract(epoch from '2026-07-20 04:44:11'::timestamp) - extract(epoch from '2026-07-20 04:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356843 -2.807573)'), GeomFromEWKT('SRID=4674;POINT (-40.356754 -2.807415)'))) / (select extract(epoch from '2026-07-20 04:44:11'::timestamp) - extract(epoch from '2026-07-20 04:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.35663 -2.807229)', '2026-07-20 04:44:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356754 -2.807415)'), GeomFromEWKT('SRID=4674;POINT (-40.35663 -2.807229)'))) / (select extract(epoch from '2026-07-20 04:44:22'::timestamp) - extract(epoch from '2026-07-20 04:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356754 -2.807415)'), GeomFromEWKT('SRID=4674;POINT (-40.35663 -2.807229)'))) / (select extract(epoch from '2026-07-20 04:44:22'::timestamp) - extract(epoch from '2026-07-20 04:44: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'), 47645, 'SRID=4674;POINT (-40.356531 -2.807109)', '2026-07-20 04:44:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35663 -2.807229)'), GeomFromEWKT('SRID=4674;POINT (-40.356531 -2.807109)'))) / (select extract(epoch from '2026-07-20 04:44:30'::timestamp) - extract(epoch from '2026-07-20 04:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35663 -2.807229)'), GeomFromEWKT('SRID=4674;POINT (-40.356531 -2.807109)'))) / (select extract(epoch from '2026-07-20 04:44:30'::timestamp) - extract(epoch from '2026-07-20 04:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356399 -2.806952)', '2026-07-20 04:44:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356531 -2.807109)'), GeomFromEWKT('SRID=4674;POINT (-40.356399 -2.806952)'))) / (select extract(epoch from '2026-07-20 04:44:40'::timestamp) - extract(epoch from '2026-07-20 04:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356531 -2.807109)'), GeomFromEWKT('SRID=4674;POINT (-40.356399 -2.806952)'))) / (select extract(epoch from '2026-07-20 04:44:40'::timestamp) - extract(epoch from '2026-07-20 04:44:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.356271 -2.806807)', '2026-07-20 04:44:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356399 -2.806952)'), GeomFromEWKT('SRID=4674;POINT (-40.356271 -2.806807)'))) / (select extract(epoch from '2026-07-20 04:44:50'::timestamp) - extract(epoch from '2026-07-20 04:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356399 -2.806952)'), GeomFromEWKT('SRID=4674;POINT (-40.356271 -2.806807)'))) / (select extract(epoch from '2026-07-20 04:44:50'::timestamp) - extract(epoch from '2026-07-20 04:44: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'), 47645, 'SRID=4674;POINT (-40.356135 -2.806643)', '2026-07-20 04:45:01', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356271 -2.806807)'), GeomFromEWKT('SRID=4674;POINT (-40.356135 -2.806643)'))) / (select extract(epoch from '2026-07-20 04:45:01'::timestamp) - extract(epoch from '2026-07-20 04:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356271 -2.806807)'), GeomFromEWKT('SRID=4674;POINT (-40.356135 -2.806643)'))) / (select extract(epoch from '2026-07-20 04:45:01'::timestamp) - extract(epoch from '2026-07-20 04:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.355988 -2.806473)', '2026-07-20 04:45:12', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356135 -2.806643)'), GeomFromEWKT('SRID=4674;POINT (-40.355988 -2.806473)'))) / (select extract(epoch from '2026-07-20 04:45:12'::timestamp) - extract(epoch from '2026-07-20 04:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356135 -2.806643)'), GeomFromEWKT('SRID=4674;POINT (-40.355988 -2.806473)'))) / (select extract(epoch from '2026-07-20 04:45:12'::timestamp) - extract(epoch from '2026-07-20 04:45: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'), 47645, 'SRID=4674;POINT (-40.355869 -2.806348)', '2026-07-20 04:45:21', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355988 -2.806473)'), GeomFromEWKT('SRID=4674;POINT (-40.355869 -2.806348)'))) / (select extract(epoch from '2026-07-20 04:45:21'::timestamp) - extract(epoch from '2026-07-20 04:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355988 -2.806473)'), GeomFromEWKT('SRID=4674;POINT (-40.355869 -2.806348)'))) / (select extract(epoch from '2026-07-20 04:45:21'::timestamp) - extract(epoch from '2026-07-20 04:45: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'), 47645, 'SRID=4674;POINT (-40.355726 -2.806293)', '2026-07-20 04:45:29', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355869 -2.806348)'), GeomFromEWKT('SRID=4674;POINT (-40.355726 -2.806293)'))) / (select extract(epoch from '2026-07-20 04:45:29'::timestamp) - extract(epoch from '2026-07-20 04:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355869 -2.806348)'), GeomFromEWKT('SRID=4674;POINT (-40.355726 -2.806293)'))) / (select extract(epoch from '2026-07-20 04:45:29'::timestamp) - extract(epoch from '2026-07-20 04:45: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'), 47645, 'SRID=4674;POINT (-40.355543 -2.806218)', '2026-07-20 04:45:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355726 -2.806293)'), GeomFromEWKT('SRID=4674;POINT (-40.355543 -2.806218)'))) / (select extract(epoch from '2026-07-20 04:45:39'::timestamp) - extract(epoch from '2026-07-20 04:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355726 -2.806293)'), GeomFromEWKT('SRID=4674;POINT (-40.355543 -2.806218)'))) / (select extract(epoch from '2026-07-20 04:45:39'::timestamp) - extract(epoch from '2026-07-20 04:45: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'), 47645, 'SRID=4674;POINT (-40.355399 -2.806148)', '2026-07-20 04:45:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355543 -2.806218)'), GeomFromEWKT('SRID=4674;POINT (-40.355399 -2.806148)'))) / (select extract(epoch from '2026-07-20 04:45:47'::timestamp) - extract(epoch from '2026-07-20 04:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355543 -2.806218)'), GeomFromEWKT('SRID=4674;POINT (-40.355399 -2.806148)'))) / (select extract(epoch from '2026-07-20 04:45:47'::timestamp) - extract(epoch from '2026-07-20 04:45: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'), 47645, 'SRID=4674;POINT (-40.355262 -2.806102)', '2026-07-20 04:45:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355399 -2.806148)'), GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.806102)'))) / (select extract(epoch from '2026-07-20 04:45:54'::timestamp) - extract(epoch from '2026-07-20 04:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355399 -2.806148)'), GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.806102)'))) / (select extract(epoch from '2026-07-20 04:45:54'::timestamp) - extract(epoch from '2026-07-20 04:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.355129 -2.806054)', '2026-07-20 04:46:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.806102)'), GeomFromEWKT('SRID=4674;POINT (-40.355129 -2.806054)'))) / (select extract(epoch from '2026-07-20 04:46:01'::timestamp) - extract(epoch from '2026-07-20 04:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355262 -2.806102)'), GeomFromEWKT('SRID=4674;POINT (-40.355129 -2.806054)'))) / (select extract(epoch from '2026-07-20 04:46:01'::timestamp) - extract(epoch from '2026-07-20 04:45: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'), 47645, 'SRID=4674;POINT (-40.354981 -2.805999)', '2026-07-20 04:46:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355129 -2.806054)'), GeomFromEWKT('SRID=4674;POINT (-40.354981 -2.805999)'))) / (select extract(epoch from '2026-07-20 04:46:09'::timestamp) - extract(epoch from '2026-07-20 04:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355129 -2.806054)'), GeomFromEWKT('SRID=4674;POINT (-40.354981 -2.805999)'))) / (select extract(epoch from '2026-07-20 04:46:09'::timestamp) - extract(epoch from '2026-07-20 04:46:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.354799 -2.805947)', '2026-07-20 04:46:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354981 -2.805999)'), GeomFromEWKT('SRID=4674;POINT (-40.354799 -2.805947)'))) / (select extract(epoch from '2026-07-20 04:46:18'::timestamp) - extract(epoch from '2026-07-20 04:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354981 -2.805999)'), GeomFromEWKT('SRID=4674;POINT (-40.354799 -2.805947)'))) / (select extract(epoch from '2026-07-20 04:46:18'::timestamp) - extract(epoch from '2026-07-20 04:46: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'), 47645, 'SRID=4674;POINT (-40.354618 -2.805889)', '2026-07-20 04:46:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354799 -2.805947)'), GeomFromEWKT('SRID=4674;POINT (-40.354618 -2.805889)'))) / (select extract(epoch from '2026-07-20 04:46:27'::timestamp) - extract(epoch from '2026-07-20 04:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354799 -2.805947)'), GeomFromEWKT('SRID=4674;POINT (-40.354618 -2.805889)'))) / (select extract(epoch from '2026-07-20 04:46:27'::timestamp) - extract(epoch from '2026-07-20 04:46: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'), 47645, 'SRID=4674;POINT (-40.35447 -2.805843)', '2026-07-20 04:46:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354618 -2.805889)'), GeomFromEWKT('SRID=4674;POINT (-40.35447 -2.805843)'))) / (select extract(epoch from '2026-07-20 04:46:35'::timestamp) - extract(epoch from '2026-07-20 04:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354618 -2.805889)'), GeomFromEWKT('SRID=4674;POINT (-40.35447 -2.805843)'))) / (select extract(epoch from '2026-07-20 04:46:35'::timestamp) - extract(epoch from '2026-07-20 04:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.35425 -2.805794)', '2026-07-20 04:46:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35447 -2.805843)'), GeomFromEWKT('SRID=4674;POINT (-40.35425 -2.805794)'))) / (select extract(epoch from '2026-07-20 04:46:46'::timestamp) - extract(epoch from '2026-07-20 04:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35447 -2.805843)'), GeomFromEWKT('SRID=4674;POINT (-40.35425 -2.805794)'))) / (select extract(epoch from '2026-07-20 04:46:46'::timestamp) - extract(epoch from '2026-07-20 04:46: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'), 47645, 'SRID=4674;POINT (-40.354058 -2.805754)', '2026-07-20 04:46:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35425 -2.805794)'), GeomFromEWKT('SRID=4674;POINT (-40.354058 -2.805754)'))) / (select extract(epoch from '2026-07-20 04:46:56'::timestamp) - extract(epoch from '2026-07-20 04:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35425 -2.805794)'), GeomFromEWKT('SRID=4674;POINT (-40.354058 -2.805754)'))) / (select extract(epoch from '2026-07-20 04:46:56'::timestamp) - extract(epoch from '2026-07-20 04:46: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'), 47645, 'SRID=4674;POINT (-40.353896 -2.805697)', '2026-07-20 04:47:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354058 -2.805754)'), GeomFromEWKT('SRID=4674;POINT (-40.353896 -2.805697)'))) / (select extract(epoch from '2026-07-20 04:47:05'::timestamp) - extract(epoch from '2026-07-20 04:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354058 -2.805754)'), GeomFromEWKT('SRID=4674;POINT (-40.353896 -2.805697)'))) / (select extract(epoch from '2026-07-20 04:47:05'::timestamp) - extract(epoch from '2026-07-20 04:46: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'), 47645, 'SRID=4674;POINT (-40.353773 -2.805633)', '2026-07-20 04:47:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353896 -2.805697)'), GeomFromEWKT('SRID=4674;POINT (-40.353773 -2.805633)'))) / (select extract(epoch from '2026-07-20 04:47:13'::timestamp) - extract(epoch from '2026-07-20 04:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353896 -2.805697)'), GeomFromEWKT('SRID=4674;POINT (-40.353773 -2.805633)'))) / (select extract(epoch from '2026-07-20 04:47:13'::timestamp) - extract(epoch from '2026-07-20 04:47: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'), 47645, 'SRID=4674;POINT (-40.35364 -2.805589)', '2026-07-20 04:47:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353773 -2.805633)'), GeomFromEWKT('SRID=4674;POINT (-40.35364 -2.805589)'))) / (select extract(epoch from '2026-07-20 04:47:20'::timestamp) - extract(epoch from '2026-07-20 04:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353773 -2.805633)'), GeomFromEWKT('SRID=4674;POINT (-40.35364 -2.805589)'))) / (select extract(epoch from '2026-07-20 04:47:20'::timestamp) - extract(epoch from '2026-07-20 04:47: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'), 47645, 'SRID=4674;POINT (-40.353529 -2.805543)', '2026-07-20 04:47:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35364 -2.805589)'), GeomFromEWKT('SRID=4674;POINT (-40.353529 -2.805543)'))) / (select extract(epoch from '2026-07-20 04:47:27'::timestamp) - extract(epoch from '2026-07-20 04:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35364 -2.805589)'), GeomFromEWKT('SRID=4674;POINT (-40.353529 -2.805543)'))) / (select extract(epoch from '2026-07-20 04:47:27'::timestamp) - extract(epoch from '2026-07-20 04:47: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'), 47645, 'SRID=4674;POINT (-40.353395 -2.805465)', '2026-07-20 04:47:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353529 -2.805543)'), GeomFromEWKT('SRID=4674;POINT (-40.353395 -2.805465)'))) / (select extract(epoch from '2026-07-20 04:47:35'::timestamp) - extract(epoch from '2026-07-20 04:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353529 -2.805543)'), GeomFromEWKT('SRID=4674;POINT (-40.353395 -2.805465)'))) / (select extract(epoch from '2026-07-20 04:47:35'::timestamp) - extract(epoch from '2026-07-20 04:47: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'), 47645, 'SRID=4674;POINT (-40.353248 -2.805389)', '2026-07-20 04:47:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353395 -2.805465)'), GeomFromEWKT('SRID=4674;POINT (-40.353248 -2.805389)'))) / (select extract(epoch from '2026-07-20 04:47:43'::timestamp) - extract(epoch from '2026-07-20 04:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353395 -2.805465)'), GeomFromEWKT('SRID=4674;POINT (-40.353248 -2.805389)'))) / (select extract(epoch from '2026-07-20 04:47:43'::timestamp) - extract(epoch from '2026-07-20 04:47: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'), 47645, 'SRID=4674;POINT (-40.353072 -2.805293)', '2026-07-20 04:47:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353248 -2.805389)'), GeomFromEWKT('SRID=4674;POINT (-40.353072 -2.805293)'))) / (select extract(epoch from '2026-07-20 04:47:53'::timestamp) - extract(epoch from '2026-07-20 04:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353248 -2.805389)'), GeomFromEWKT('SRID=4674;POINT (-40.353072 -2.805293)'))) / (select extract(epoch from '2026-07-20 04:47:53'::timestamp) - extract(epoch from '2026-07-20 04:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.352897 -2.805203)', '2026-07-20 04:48:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353072 -2.805293)'), GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.805203)'))) / (select extract(epoch from '2026-07-20 04:48:03'::timestamp) - extract(epoch from '2026-07-20 04:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353072 -2.805293)'), GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.805203)'))) / (select extract(epoch from '2026-07-20 04:48:03'::timestamp) - extract(epoch from '2026-07-20 04:47: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'), 47645, 'SRID=4674;POINT (-40.352779 -2.805119)', '2026-07-20 04:48:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.805203)'), GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.805119)'))) / (select extract(epoch from '2026-07-20 04:48:11'::timestamp) - extract(epoch from '2026-07-20 04:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352897 -2.805203)'), GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.805119)'))) / (select extract(epoch from '2026-07-20 04:48:11'::timestamp) - extract(epoch from '2026-07-20 04:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.352671 -2.805017)', '2026-07-20 04:48:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.805119)'), GeomFromEWKT('SRID=4674;POINT (-40.352671 -2.805017)'))) / (select extract(epoch from '2026-07-20 04:48:18'::timestamp) - extract(epoch from '2026-07-20 04:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352779 -2.805119)'), GeomFromEWKT('SRID=4674;POINT (-40.352671 -2.805017)'))) / (select extract(epoch from '2026-07-20 04:48:18'::timestamp) - extract(epoch from '2026-07-20 04:48: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'), 47645, 'SRID=4674;POINT (-40.352563 -2.804905)', '2026-07-20 04:48:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352671 -2.805017)'), GeomFromEWKT('SRID=4674;POINT (-40.352563 -2.804905)'))) / (select extract(epoch from '2026-07-20 04:48:26'::timestamp) - extract(epoch from '2026-07-20 04:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352671 -2.805017)'), GeomFromEWKT('SRID=4674;POINT (-40.352563 -2.804905)'))) / (select extract(epoch from '2026-07-20 04:48:26'::timestamp) - extract(epoch from '2026-07-20 04:48: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'), 47645, 'SRID=4674;POINT (-40.352442 -2.804809)', '2026-07-20 04:48:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352563 -2.804905)'), GeomFromEWKT('SRID=4674;POINT (-40.352442 -2.804809)'))) / (select extract(epoch from '2026-07-20 04:48:34'::timestamp) - extract(epoch from '2026-07-20 04:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352563 -2.804905)'), GeomFromEWKT('SRID=4674;POINT (-40.352442 -2.804809)'))) / (select extract(epoch from '2026-07-20 04:48:34'::timestamp) - extract(epoch from '2026-07-20 04:48: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'), 47645, 'SRID=4674;POINT (-40.352325 -2.804726)', '2026-07-20 04:48:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352442 -2.804809)'), GeomFromEWKT('SRID=4674;POINT (-40.352325 -2.804726)'))) / (select extract(epoch from '2026-07-20 04:48:42'::timestamp) - extract(epoch from '2026-07-20 04:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352442 -2.804809)'), GeomFromEWKT('SRID=4674;POINT (-40.352325 -2.804726)'))) / (select extract(epoch from '2026-07-20 04:48:42'::timestamp) - extract(epoch from '2026-07-20 04:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.352211 -2.804656)', '2026-07-20 04:48:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352325 -2.804726)'), GeomFromEWKT('SRID=4674;POINT (-40.352211 -2.804656)'))) / (select extract(epoch from '2026-07-20 04:48:49'::timestamp) - extract(epoch from '2026-07-20 04:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352325 -2.804726)'), GeomFromEWKT('SRID=4674;POINT (-40.352211 -2.804656)'))) / (select extract(epoch from '2026-07-20 04:48:49'::timestamp) - extract(epoch from '2026-07-20 04:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.352081 -2.804584)', '2026-07-20 04:48:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352211 -2.804656)'), GeomFromEWKT('SRID=4674;POINT (-40.352081 -2.804584)'))) / (select extract(epoch from '2026-07-20 04:48:57'::timestamp) - extract(epoch from '2026-07-20 04:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352211 -2.804656)'), GeomFromEWKT('SRID=4674;POINT (-40.352081 -2.804584)'))) / (select extract(epoch from '2026-07-20 04:48:57'::timestamp) - extract(epoch from '2026-07-20 04:48: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'), 47645, 'SRID=4674;POINT (-40.351931 -2.804509)', '2026-07-20 04:49:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352081 -2.804584)'), GeomFromEWKT('SRID=4674;POINT (-40.351931 -2.804509)'))) / (select extract(epoch from '2026-07-20 04:49:06'::timestamp) - extract(epoch from '2026-07-20 04:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352081 -2.804584)'), GeomFromEWKT('SRID=4674;POINT (-40.351931 -2.804509)'))) / (select extract(epoch from '2026-07-20 04:49:06'::timestamp) - extract(epoch from '2026-07-20 04:48: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'), 47645, 'SRID=4674;POINT (-40.351758 -2.804413)', '2026-07-20 04:49:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351931 -2.804509)'), GeomFromEWKT('SRID=4674;POINT (-40.351758 -2.804413)'))) / (select extract(epoch from '2026-07-20 04:49:16'::timestamp) - extract(epoch from '2026-07-20 04:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351931 -2.804509)'), GeomFromEWKT('SRID=4674;POINT (-40.351758 -2.804413)'))) / (select extract(epoch from '2026-07-20 04:49:16'::timestamp) - extract(epoch from '2026-07-20 04:49: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'), 47645, 'SRID=4674;POINT (-40.351586 -2.804295)', '2026-07-20 04:49:27', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351758 -2.804413)'), GeomFromEWKT('SRID=4674;POINT (-40.351586 -2.804295)'))) / (select extract(epoch from '2026-07-20 04:49:27'::timestamp) - extract(epoch from '2026-07-20 04:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351758 -2.804413)'), GeomFromEWKT('SRID=4674;POINT (-40.351586 -2.804295)'))) / (select extract(epoch from '2026-07-20 04:49:27'::timestamp) - extract(epoch from '2026-07-20 04:49: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'), 47645, 'SRID=4674;POINT (-40.351448 -2.804184)', '2026-07-20 04:49:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351586 -2.804295)'), GeomFromEWKT('SRID=4674;POINT (-40.351448 -2.804184)'))) / (select extract(epoch from '2026-07-20 04:49:37'::timestamp) - extract(epoch from '2026-07-20 04:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351586 -2.804295)'), GeomFromEWKT('SRID=4674;POINT (-40.351448 -2.804184)'))) / (select extract(epoch from '2026-07-20 04:49:37'::timestamp) - extract(epoch from '2026-07-20 04:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.351325 -2.804077)', '2026-07-20 04:49:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351448 -2.804184)'), GeomFromEWKT('SRID=4674;POINT (-40.351325 -2.804077)'))) / (select extract(epoch from '2026-07-20 04:49:46'::timestamp) - extract(epoch from '2026-07-20 04:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351448 -2.804184)'), GeomFromEWKT('SRID=4674;POINT (-40.351325 -2.804077)'))) / (select extract(epoch from '2026-07-20 04:49:46'::timestamp) - extract(epoch from '2026-07-20 04:49: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'), 47645, 'SRID=4674;POINT (-40.35115 -2.80395)', '2026-07-20 04:49:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351325 -2.804077)'), GeomFromEWKT('SRID=4674;POINT (-40.35115 -2.80395)'))) / (select extract(epoch from '2026-07-20 04:49:57'::timestamp) - extract(epoch from '2026-07-20 04:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351325 -2.804077)'), GeomFromEWKT('SRID=4674;POINT (-40.35115 -2.80395)'))) / (select extract(epoch from '2026-07-20 04:49:57'::timestamp) - extract(epoch from '2026-07-20 04:49: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'), 47645, 'SRID=4674;POINT (-40.351045 -2.803872)', '2026-07-20 04:50:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35115 -2.80395)'), GeomFromEWKT('SRID=4674;POINT (-40.351045 -2.803872)'))) / (select extract(epoch from '2026-07-20 04:50:04'::timestamp) - extract(epoch from '2026-07-20 04:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35115 -2.80395)'), GeomFromEWKT('SRID=4674;POINT (-40.351045 -2.803872)'))) / (select extract(epoch from '2026-07-20 04:50:04'::timestamp) - extract(epoch from '2026-07-20 04:49: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'), 47645, 'SRID=4674;POINT (-40.350901 -2.80378)', '2026-07-20 04:50:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351045 -2.803872)'), GeomFromEWKT('SRID=4674;POINT (-40.350901 -2.80378)'))) / (select extract(epoch from '2026-07-20 04:50:13'::timestamp) - extract(epoch from '2026-07-20 04:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351045 -2.803872)'), GeomFromEWKT('SRID=4674;POINT (-40.350901 -2.80378)'))) / (select extract(epoch from '2026-07-20 04:50:13'::timestamp) - extract(epoch from '2026-07-20 04:50:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.350739 -2.803683)', '2026-07-20 04:50:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350901 -2.80378)'), GeomFromEWKT('SRID=4674;POINT (-40.350739 -2.803683)'))) / (select extract(epoch from '2026-07-20 04:50:23'::timestamp) - extract(epoch from '2026-07-20 04:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350901 -2.80378)'), GeomFromEWKT('SRID=4674;POINT (-40.350739 -2.803683)'))) / (select extract(epoch from '2026-07-20 04:50:23'::timestamp) - extract(epoch from '2026-07-20 04:50: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'), 47645, 'SRID=4674;POINT (-40.350632 -2.803598)', '2026-07-20 04:50:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350739 -2.803683)'), GeomFromEWKT('SRID=4674;POINT (-40.350632 -2.803598)'))) / (select extract(epoch from '2026-07-20 04:50:30'::timestamp) - extract(epoch from '2026-07-20 04:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350739 -2.803683)'), GeomFromEWKT('SRID=4674;POINT (-40.350632 -2.803598)'))) / (select extract(epoch from '2026-07-20 04:50:30'::timestamp) - extract(epoch from '2026-07-20 04:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.350486 -2.80349)', '2026-07-20 04:50:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350632 -2.803598)'), GeomFromEWKT('SRID=4674;POINT (-40.350486 -2.80349)'))) / (select extract(epoch from '2026-07-20 04:50:39'::timestamp) - extract(epoch from '2026-07-20 04:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350632 -2.803598)'), GeomFromEWKT('SRID=4674;POINT (-40.350486 -2.80349)'))) / (select extract(epoch from '2026-07-20 04:50:39'::timestamp) - extract(epoch from '2026-07-20 04:50: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'), 47645, 'SRID=4674;POINT (-40.350353 -2.803375)', '2026-07-20 04:50:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350486 -2.80349)'), GeomFromEWKT('SRID=4674;POINT (-40.350353 -2.803375)'))) / (select extract(epoch from '2026-07-20 04:50:48'::timestamp) - extract(epoch from '2026-07-20 04:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350486 -2.80349)'), GeomFromEWKT('SRID=4674;POINT (-40.350353 -2.803375)'))) / (select extract(epoch from '2026-07-20 04:50:48'::timestamp) - extract(epoch from '2026-07-20 04:50: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'), 47645, 'SRID=4674;POINT (-40.350209 -2.803258)', '2026-07-20 04:50:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350353 -2.803375)'), GeomFromEWKT('SRID=4674;POINT (-40.350209 -2.803258)'))) / (select extract(epoch from '2026-07-20 04:50:58'::timestamp) - extract(epoch from '2026-07-20 04:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350353 -2.803375)'), GeomFromEWKT('SRID=4674;POINT (-40.350209 -2.803258)'))) / (select extract(epoch from '2026-07-20 04:50:58'::timestamp) - extract(epoch from '2026-07-20 04:50: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'), 47645, 'SRID=4674;POINT (-40.350073 -2.803194)', '2026-07-20 04:51:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350209 -2.803258)'), GeomFromEWKT('SRID=4674;POINT (-40.350073 -2.803194)'))) / (select extract(epoch from '2026-07-20 04:51:06'::timestamp) - extract(epoch from '2026-07-20 04:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350209 -2.803258)'), GeomFromEWKT('SRID=4674;POINT (-40.350073 -2.803194)'))) / (select extract(epoch from '2026-07-20 04:51:06'::timestamp) - extract(epoch from '2026-07-20 04:50: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'), 47645, 'SRID=4674;POINT (-40.349906 -2.803102)', '2026-07-20 04:51:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350073 -2.803194)'), GeomFromEWKT('SRID=4674;POINT (-40.349906 -2.803102)'))) / (select extract(epoch from '2026-07-20 04:51:16'::timestamp) - extract(epoch from '2026-07-20 04:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350073 -2.803194)'), GeomFromEWKT('SRID=4674;POINT (-40.349906 -2.803102)'))) / (select extract(epoch from '2026-07-20 04:51:16'::timestamp) - extract(epoch from '2026-07-20 04:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.349771 -2.803)', '2026-07-20 04:51:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349906 -2.803102)'), GeomFromEWKT('SRID=4674;POINT (-40.349771 -2.803)'))) / (select extract(epoch from '2026-07-20 04:51:25'::timestamp) - extract(epoch from '2026-07-20 04:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349906 -2.803102)'), GeomFromEWKT('SRID=4674;POINT (-40.349771 -2.803)'))) / (select extract(epoch from '2026-07-20 04:51:25'::timestamp) - extract(epoch from '2026-07-20 04:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.349648 -2.802924)', '2026-07-20 04:51:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349771 -2.803)'), GeomFromEWKT('SRID=4674;POINT (-40.349648 -2.802924)'))) / (select extract(epoch from '2026-07-20 04:51:33'::timestamp) - extract(epoch from '2026-07-20 04:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349771 -2.803)'), GeomFromEWKT('SRID=4674;POINT (-40.349648 -2.802924)'))) / (select extract(epoch from '2026-07-20 04:51:33'::timestamp) - extract(epoch from '2026-07-20 04:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.349498 -2.802859)', '2026-07-20 04:51:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349648 -2.802924)'), GeomFromEWKT('SRID=4674;POINT (-40.349498 -2.802859)'))) / (select extract(epoch from '2026-07-20 04:51:42'::timestamp) - extract(epoch from '2026-07-20 04:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349648 -2.802924)'), GeomFromEWKT('SRID=4674;POINT (-40.349498 -2.802859)'))) / (select extract(epoch from '2026-07-20 04:51:42'::timestamp) - extract(epoch from '2026-07-20 04:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.349326 -2.802779)', '2026-07-20 04:51:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349498 -2.802859)'), GeomFromEWKT('SRID=4674;POINT (-40.349326 -2.802779)'))) / (select extract(epoch from '2026-07-20 04:51:52'::timestamp) - extract(epoch from '2026-07-20 04:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349498 -2.802859)'), GeomFromEWKT('SRID=4674;POINT (-40.349326 -2.802779)'))) / (select extract(epoch from '2026-07-20 04:51:52'::timestamp) - extract(epoch from '2026-07-20 04:51: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'), 47645, 'SRID=4674;POINT (-40.349151 -2.802685)', '2026-07-20 04:52:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349326 -2.802779)'), GeomFromEWKT('SRID=4674;POINT (-40.349151 -2.802685)'))) / (select extract(epoch from '2026-07-20 04:52:02'::timestamp) - extract(epoch from '2026-07-20 04:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349326 -2.802779)'), GeomFromEWKT('SRID=4674;POINT (-40.349151 -2.802685)'))) / (select extract(epoch from '2026-07-20 04:52:02'::timestamp) - extract(epoch from '2026-07-20 04:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.349007 -2.802628)', '2026-07-20 04:52:10', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349151 -2.802685)'), GeomFromEWKT('SRID=4674;POINT (-40.349007 -2.802628)'))) / (select extract(epoch from '2026-07-20 04:52:10'::timestamp) - extract(epoch from '2026-07-20 04:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349151 -2.802685)'), GeomFromEWKT('SRID=4674;POINT (-40.349007 -2.802628)'))) / (select extract(epoch from '2026-07-20 04:52:10'::timestamp) - extract(epoch from '2026-07-20 04:52: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'), 47645, 'SRID=4674;POINT (-40.348871 -2.802564)', '2026-07-20 04:52:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349007 -2.802628)'), GeomFromEWKT('SRID=4674;POINT (-40.348871 -2.802564)'))) / (select extract(epoch from '2026-07-20 04:52:18'::timestamp) - extract(epoch from '2026-07-20 04:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349007 -2.802628)'), GeomFromEWKT('SRID=4674;POINT (-40.348871 -2.802564)'))) / (select extract(epoch from '2026-07-20 04:52:18'::timestamp) - extract(epoch from '2026-07-20 04:52: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'), 47645, 'SRID=4674;POINT (-40.348716 -2.802519)', '2026-07-20 04:52:26', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348871 -2.802564)'), GeomFromEWKT('SRID=4674;POINT (-40.348716 -2.802519)'))) / (select extract(epoch from '2026-07-20 04:52:26'::timestamp) - extract(epoch from '2026-07-20 04:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348871 -2.802564)'), GeomFromEWKT('SRID=4674;POINT (-40.348716 -2.802519)'))) / (select extract(epoch from '2026-07-20 04:52:26'::timestamp) - extract(epoch from '2026-07-20 04:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.348559 -2.802476)', '2026-07-20 04:52:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348716 -2.802519)'), GeomFromEWKT('SRID=4674;POINT (-40.348559 -2.802476)'))) / (select extract(epoch from '2026-07-20 04:52:35'::timestamp) - extract(epoch from '2026-07-20 04:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348716 -2.802519)'), GeomFromEWKT('SRID=4674;POINT (-40.348559 -2.802476)'))) / (select extract(epoch from '2026-07-20 04:52:35'::timestamp) - extract(epoch from '2026-07-20 04:52: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'), 47645, 'SRID=4674;POINT (-40.348407 -2.802463)', '2026-07-20 04:52:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348559 -2.802476)'), GeomFromEWKT('SRID=4674;POINT (-40.348407 -2.802463)'))) / (select extract(epoch from '2026-07-20 04:52:43'::timestamp) - extract(epoch from '2026-07-20 04:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348559 -2.802476)'), GeomFromEWKT('SRID=4674;POINT (-40.348407 -2.802463)'))) / (select extract(epoch from '2026-07-20 04:52:43'::timestamp) - extract(epoch from '2026-07-20 04:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.348256 -2.802432)', '2026-07-20 04:52:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348407 -2.802463)'), GeomFromEWKT('SRID=4674;POINT (-40.348256 -2.802432)'))) / (select extract(epoch from '2026-07-20 04:52:51'::timestamp) - extract(epoch from '2026-07-20 04:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348407 -2.802463)'), GeomFromEWKT('SRID=4674;POINT (-40.348256 -2.802432)'))) / (select extract(epoch from '2026-07-20 04:52:51'::timestamp) - extract(epoch from '2026-07-20 04:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.34812 -2.80238)', '2026-07-20 04:52:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348256 -2.802432)'), GeomFromEWKT('SRID=4674;POINT (-40.34812 -2.80238)'))) / (select extract(epoch from '2026-07-20 04:52:59'::timestamp) - extract(epoch from '2026-07-20 04:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348256 -2.802432)'), GeomFromEWKT('SRID=4674;POINT (-40.34812 -2.80238)'))) / (select extract(epoch from '2026-07-20 04:52:59'::timestamp) - extract(epoch from '2026-07-20 04:52: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'), 47645, 'SRID=4674;POINT (-40.347956 -2.802313)', '2026-07-20 04:53:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34812 -2.80238)'), GeomFromEWKT('SRID=4674;POINT (-40.347956 -2.802313)'))) / (select extract(epoch from '2026-07-20 04:53:08'::timestamp) - extract(epoch from '2026-07-20 04:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34812 -2.80238)'), GeomFromEWKT('SRID=4674;POINT (-40.347956 -2.802313)'))) / (select extract(epoch from '2026-07-20 04:53:08'::timestamp) - extract(epoch from '2026-07-20 04:52: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'), 47645, 'SRID=4674;POINT (-40.347773 -2.802247)', '2026-07-20 04:53:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347956 -2.802313)'), GeomFromEWKT('SRID=4674;POINT (-40.347773 -2.802247)'))) / (select extract(epoch from '2026-07-20 04:53:18'::timestamp) - extract(epoch from '2026-07-20 04:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347956 -2.802313)'), GeomFromEWKT('SRID=4674;POINT (-40.347773 -2.802247)'))) / (select extract(epoch from '2026-07-20 04:53:18'::timestamp) - extract(epoch from '2026-07-20 04:53: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'), 47645, 'SRID=4674;POINT (-40.347575 -2.802174)', '2026-07-20 04:53:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347773 -2.802247)'), GeomFromEWKT('SRID=4674;POINT (-40.347575 -2.802174)'))) / (select extract(epoch from '2026-07-20 04:53:29'::timestamp) - extract(epoch from '2026-07-20 04:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347773 -2.802247)'), GeomFromEWKT('SRID=4674;POINT (-40.347575 -2.802174)'))) / (select extract(epoch from '2026-07-20 04:53:29'::timestamp) - extract(epoch from '2026-07-20 04:53: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'), 47645, 'SRID=4674;POINT (-40.34744 -2.802128)', '2026-07-20 04:53:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347575 -2.802174)'), GeomFromEWKT('SRID=4674;POINT (-40.34744 -2.802128)'))) / (select extract(epoch from '2026-07-20 04:53:37'::timestamp) - extract(epoch from '2026-07-20 04:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347575 -2.802174)'), GeomFromEWKT('SRID=4674;POINT (-40.34744 -2.802128)'))) / (select extract(epoch from '2026-07-20 04:53:37'::timestamp) - extract(epoch from '2026-07-20 04:53: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'), 47645, 'SRID=4674;POINT (-40.347291 -2.802061)', '2026-07-20 04:53:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34744 -2.802128)'), GeomFromEWKT('SRID=4674;POINT (-40.347291 -2.802061)'))) / (select extract(epoch from '2026-07-20 04:53:46'::timestamp) - extract(epoch from '2026-07-20 04:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34744 -2.802128)'), GeomFromEWKT('SRID=4674;POINT (-40.347291 -2.802061)'))) / (select extract(epoch from '2026-07-20 04:53:46'::timestamp) - extract(epoch from '2026-07-20 04:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.34713 -2.802)', '2026-07-20 04:53:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347291 -2.802061)'), GeomFromEWKT('SRID=4674;POINT (-40.34713 -2.802)'))) / (select extract(epoch from '2026-07-20 04:53:55'::timestamp) - extract(epoch from '2026-07-20 04:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347291 -2.802061)'), GeomFromEWKT('SRID=4674;POINT (-40.34713 -2.802)'))) / (select extract(epoch from '2026-07-20 04:53:55'::timestamp) - extract(epoch from '2026-07-20 04:53: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'), 47645, 'SRID=4674;POINT (-40.346965 -2.801941)', '2026-07-20 04:54:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34713 -2.802)'), GeomFromEWKT('SRID=4674;POINT (-40.346965 -2.801941)'))) / (select extract(epoch from '2026-07-20 04:54:04'::timestamp) - extract(epoch from '2026-07-20 04:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34713 -2.802)'), GeomFromEWKT('SRID=4674;POINT (-40.346965 -2.801941)'))) / (select extract(epoch from '2026-07-20 04:54:04'::timestamp) - extract(epoch from '2026-07-20 04:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.346787 -2.801869)', '2026-07-20 04:54:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346965 -2.801941)'), GeomFromEWKT('SRID=4674;POINT (-40.346787 -2.801869)'))) / (select extract(epoch from '2026-07-20 04:54:14'::timestamp) - extract(epoch from '2026-07-20 04:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346965 -2.801941)'), GeomFromEWKT('SRID=4674;POINT (-40.346787 -2.801869)'))) / (select extract(epoch from '2026-07-20 04:54:14'::timestamp) - extract(epoch from '2026-07-20 04:54:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.346573 -2.80179)', '2026-07-20 04:54:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346787 -2.801869)'), GeomFromEWKT('SRID=4674;POINT (-40.346573 -2.80179)'))) / (select extract(epoch from '2026-07-20 04:54:26'::timestamp) - extract(epoch from '2026-07-20 04:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346787 -2.801869)'), GeomFromEWKT('SRID=4674;POINT (-40.346573 -2.80179)'))) / (select extract(epoch from '2026-07-20 04:54:26'::timestamp) - extract(epoch from '2026-07-20 04:54: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'), 47645, 'SRID=4674;POINT (-40.346404 -2.801738)', '2026-07-20 04:54:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346573 -2.80179)'), GeomFromEWKT('SRID=4674;POINT (-40.346404 -2.801738)'))) / (select extract(epoch from '2026-07-20 04:54:36'::timestamp) - extract(epoch from '2026-07-20 04:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346573 -2.80179)'), GeomFromEWKT('SRID=4674;POINT (-40.346404 -2.801738)'))) / (select extract(epoch from '2026-07-20 04:54:36'::timestamp) - extract(epoch from '2026-07-20 04:54: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'), 47645, 'SRID=4674;POINT (-40.346231 -2.80169)', '2026-07-20 04:54:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346404 -2.801738)'), GeomFromEWKT('SRID=4674;POINT (-40.346231 -2.80169)'))) / (select extract(epoch from '2026-07-20 04:54:45'::timestamp) - extract(epoch from '2026-07-20 04:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346404 -2.801738)'), GeomFromEWKT('SRID=4674;POINT (-40.346231 -2.80169)'))) / (select extract(epoch from '2026-07-20 04:54:45'::timestamp) - extract(epoch from '2026-07-20 04:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.346054 -2.801663)', '2026-07-20 04:54:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346231 -2.80169)'), GeomFromEWKT('SRID=4674;POINT (-40.346054 -2.801663)'))) / (select extract(epoch from '2026-07-20 04:54:54'::timestamp) - extract(epoch from '2026-07-20 04:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346231 -2.80169)'), GeomFromEWKT('SRID=4674;POINT (-40.346054 -2.801663)'))) / (select extract(epoch from '2026-07-20 04:54:54'::timestamp) - extract(epoch from '2026-07-20 04:54: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'), 47645, 'SRID=4674;POINT (-40.345924 -2.801631)', '2026-07-20 04:55:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346054 -2.801663)'), GeomFromEWKT('SRID=4674;POINT (-40.345924 -2.801631)'))) / (select extract(epoch from '2026-07-20 04:55:01'::timestamp) - extract(epoch from '2026-07-20 04:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346054 -2.801663)'), GeomFromEWKT('SRID=4674;POINT (-40.345924 -2.801631)'))) / (select extract(epoch from '2026-07-20 04:55:01'::timestamp) - extract(epoch from '2026-07-20 04:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.345763 -2.801604)', '2026-07-20 04:55:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345924 -2.801631)'), GeomFromEWKT('SRID=4674;POINT (-40.345763 -2.801604)'))) / (select extract(epoch from '2026-07-20 04:55:10'::timestamp) - extract(epoch from '2026-07-20 04:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345924 -2.801631)'), GeomFromEWKT('SRID=4674;POINT (-40.345763 -2.801604)'))) / (select extract(epoch from '2026-07-20 04:55:10'::timestamp) - extract(epoch from '2026-07-20 04:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.345615 -2.801591)', '2026-07-20 04:55:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345763 -2.801604)'), GeomFromEWKT('SRID=4674;POINT (-40.345615 -2.801591)'))) / (select extract(epoch from '2026-07-20 04:55:18'::timestamp) - extract(epoch from '2026-07-20 04:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345763 -2.801604)'), GeomFromEWKT('SRID=4674;POINT (-40.345615 -2.801591)'))) / (select extract(epoch from '2026-07-20 04:55:18'::timestamp) - extract(epoch from '2026-07-20 04:55: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'), 47645, 'SRID=4674;POINT (-40.345444 -2.801581)', '2026-07-20 04:55:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345615 -2.801591)'), GeomFromEWKT('SRID=4674;POINT (-40.345444 -2.801581)'))) / (select extract(epoch from '2026-07-20 04:55:27'::timestamp) - extract(epoch from '2026-07-20 04:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345615 -2.801591)'), GeomFromEWKT('SRID=4674;POINT (-40.345444 -2.801581)'))) / (select extract(epoch from '2026-07-20 04:55:27'::timestamp) - extract(epoch from '2026-07-20 04:55: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'), 47645, 'SRID=4674;POINT (-40.345265 -2.80157)', '2026-07-20 04:55:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345444 -2.801581)'), GeomFromEWKT('SRID=4674;POINT (-40.345265 -2.80157)'))) / (select extract(epoch from '2026-07-20 04:55:36'::timestamp) - extract(epoch from '2026-07-20 04:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345444 -2.801581)'), GeomFromEWKT('SRID=4674;POINT (-40.345265 -2.80157)'))) / (select extract(epoch from '2026-07-20 04:55:36'::timestamp) - extract(epoch from '2026-07-20 04:55:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.345113 -2.801545)', '2026-07-20 04:55:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345265 -2.80157)'), GeomFromEWKT('SRID=4674;POINT (-40.345113 -2.801545)'))) / (select extract(epoch from '2026-07-20 04:55:44'::timestamp) - extract(epoch from '2026-07-20 04:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345265 -2.80157)'), GeomFromEWKT('SRID=4674;POINT (-40.345113 -2.801545)'))) / (select extract(epoch from '2026-07-20 04:55:44'::timestamp) - extract(epoch from '2026-07-20 04:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.344984 -2.801529)', '2026-07-20 04:55:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345113 -2.801545)'), GeomFromEWKT('SRID=4674;POINT (-40.344984 -2.801529)'))) / (select extract(epoch from '2026-07-20 04:55:51'::timestamp) - extract(epoch from '2026-07-20 04:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345113 -2.801545)'), GeomFromEWKT('SRID=4674;POINT (-40.344984 -2.801529)'))) / (select extract(epoch from '2026-07-20 04:55:51'::timestamp) - extract(epoch from '2026-07-20 04:55: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'), 47645, 'SRID=4674;POINT (-40.344816 -2.801507)', '2026-07-20 04:56:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344984 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.344816 -2.801507)'))) / (select extract(epoch from '2026-07-20 04:56:00'::timestamp) - extract(epoch from '2026-07-20 04:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344984 -2.801529)'), GeomFromEWKT('SRID=4674;POINT (-40.344816 -2.801507)'))) / (select extract(epoch from '2026-07-20 04:56:00'::timestamp) - extract(epoch from '2026-07-20 04:55: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'), 47645, 'SRID=4674;POINT (-40.344662 -2.80145)', '2026-07-20 04:56:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344816 -2.801507)'), GeomFromEWKT('SRID=4674;POINT (-40.344662 -2.80145)'))) / (select extract(epoch from '2026-07-20 04:56:09'::timestamp) - extract(epoch from '2026-07-20 04:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344816 -2.801507)'), GeomFromEWKT('SRID=4674;POINT (-40.344662 -2.80145)'))) / (select extract(epoch from '2026-07-20 04:56:09'::timestamp) - extract(epoch from '2026-07-20 04:56: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'), 47645, 'SRID=4674;POINT (-40.344524 -2.801395)', '2026-07-20 04:56:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344662 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.344524 -2.801395)'))) / (select extract(epoch from '2026-07-20 04:56:17'::timestamp) - extract(epoch from '2026-07-20 04:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344662 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.344524 -2.801395)'))) / (select extract(epoch from '2026-07-20 04:56:17'::timestamp) - extract(epoch from '2026-07-20 04:56: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'), 47645, 'SRID=4674;POINT (-40.344351 -2.801329)', '2026-07-20 04:56:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344524 -2.801395)'), GeomFromEWKT('SRID=4674;POINT (-40.344351 -2.801329)'))) / (select extract(epoch from '2026-07-20 04:56:27'::timestamp) - extract(epoch from '2026-07-20 04:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344524 -2.801395)'), GeomFromEWKT('SRID=4674;POINT (-40.344351 -2.801329)'))) / (select extract(epoch from '2026-07-20 04:56:27'::timestamp) - extract(epoch from '2026-07-20 04:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.344202 -2.801271)', '2026-07-20 04:56:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344351 -2.801329)'), GeomFromEWKT('SRID=4674;POINT (-40.344202 -2.801271)'))) / (select extract(epoch from '2026-07-20 04:56:36'::timestamp) - extract(epoch from '2026-07-20 04:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344351 -2.801329)'), GeomFromEWKT('SRID=4674;POINT (-40.344202 -2.801271)'))) / (select extract(epoch from '2026-07-20 04:56:36'::timestamp) - extract(epoch from '2026-07-20 04:56:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.344087 -2.801185)', '2026-07-20 04:56:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344202 -2.801271)'), GeomFromEWKT('SRID=4674;POINT (-40.344087 -2.801185)'))) / (select extract(epoch from '2026-07-20 04:56:44'::timestamp) - extract(epoch from '2026-07-20 04:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344202 -2.801271)'), GeomFromEWKT('SRID=4674;POINT (-40.344087 -2.801185)'))) / (select extract(epoch from '2026-07-20 04:56:44'::timestamp) - extract(epoch from '2026-07-20 04:56: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'), 47645, 'SRID=4674;POINT (-40.343934 -2.801056)', '2026-07-20 04:56:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344087 -2.801185)'), GeomFromEWKT('SRID=4674;POINT (-40.343934 -2.801056)'))) / (select extract(epoch from '2026-07-20 04:56:55'::timestamp) - extract(epoch from '2026-07-20 04:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344087 -2.801185)'), GeomFromEWKT('SRID=4674;POINT (-40.343934 -2.801056)'))) / (select extract(epoch from '2026-07-20 04:56:55'::timestamp) - extract(epoch from '2026-07-20 04: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'), 47645, 'SRID=4674;POINT (-40.343801 -2.800977)', '2026-07-20 04:57:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343934 -2.801056)'), GeomFromEWKT('SRID=4674;POINT (-40.343801 -2.800977)'))) / (select extract(epoch from '2026-07-20 04:57:04'::timestamp) - extract(epoch from '2026-07-20 04:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343934 -2.801056)'), GeomFromEWKT('SRID=4674;POINT (-40.343801 -2.800977)'))) / (select extract(epoch from '2026-07-20 04:57:04'::timestamp) - extract(epoch from '2026-07-20 04:56: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'), 47645, 'SRID=4674;POINT (-40.343672 -2.800906)', '2026-07-20 04:57:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343801 -2.800977)'), GeomFromEWKT('SRID=4674;POINT (-40.343672 -2.800906)'))) / (select extract(epoch from '2026-07-20 04:57:12'::timestamp) - extract(epoch from '2026-07-20 04:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343801 -2.800977)'), GeomFromEWKT('SRID=4674;POINT (-40.343672 -2.800906)'))) / (select extract(epoch from '2026-07-20 04:57:12'::timestamp) - extract(epoch from '2026-07-20 04:57: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'), 47645, 'SRID=4674;POINT (-40.343623 -2.800793)', '2026-07-20 04:57:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343672 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.343623 -2.800793)'))) / (select extract(epoch from '2026-07-20 04:57:19'::timestamp) - extract(epoch from '2026-07-20 04:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343672 -2.800906)'), GeomFromEWKT('SRID=4674;POINT (-40.343623 -2.800793)'))) / (select extract(epoch from '2026-07-20 04:57:19'::timestamp) - extract(epoch from '2026-07-20 04:57: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'), 47645, 'SRID=4674;POINT (-40.343503 -2.800684)', '2026-07-20 04:57:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343623 -2.800793)'), GeomFromEWKT('SRID=4674;POINT (-40.343503 -2.800684)'))) / (select extract(epoch from '2026-07-20 04:57:28'::timestamp) - extract(epoch from '2026-07-20 04:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343623 -2.800793)'), GeomFromEWKT('SRID=4674;POINT (-40.343503 -2.800684)'))) / (select extract(epoch from '2026-07-20 04:57:28'::timestamp) - extract(epoch from '2026-07-20 04:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.343358 -2.800636)', '2026-07-20 04:57:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343503 -2.800684)'), GeomFromEWKT('SRID=4674;POINT (-40.343358 -2.800636)'))) / (select extract(epoch from '2026-07-20 04:57:36'::timestamp) - extract(epoch from '2026-07-20 04:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343503 -2.800684)'), GeomFromEWKT('SRID=4674;POINT (-40.343358 -2.800636)'))) / (select extract(epoch from '2026-07-20 04:57:36'::timestamp) - extract(epoch from '2026-07-20 04:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.343219 -2.800545)', '2026-07-20 04:57:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343358 -2.800636)'), GeomFromEWKT('SRID=4674;POINT (-40.343219 -2.800545)'))) / (select extract(epoch from '2026-07-20 04:57:45'::timestamp) - extract(epoch from '2026-07-20 04:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343358 -2.800636)'), GeomFromEWKT('SRID=4674;POINT (-40.343219 -2.800545)'))) / (select extract(epoch from '2026-07-20 04:57:45'::timestamp) - extract(epoch from '2026-07-20 04:57: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'), 47645, 'SRID=4674;POINT (-40.343091 -2.800414)', '2026-07-20 04:57:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343219 -2.800545)'), GeomFromEWKT('SRID=4674;POINT (-40.343091 -2.800414)'))) / (select extract(epoch from '2026-07-20 04:57:55'::timestamp) - extract(epoch from '2026-07-20 04:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343219 -2.800545)'), GeomFromEWKT('SRID=4674;POINT (-40.343091 -2.800414)'))) / (select extract(epoch from '2026-07-20 04:57:55'::timestamp) - extract(epoch from '2026-07-20 04:57: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'), 47645, 'SRID=4674;POINT (-40.342948 -2.800305)', '2026-07-20 04:58:05', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343091 -2.800414)'), GeomFromEWKT('SRID=4674;POINT (-40.342948 -2.800305)'))) / (select extract(epoch from '2026-07-20 04:58:05'::timestamp) - extract(epoch from '2026-07-20 04:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343091 -2.800414)'), GeomFromEWKT('SRID=4674;POINT (-40.342948 -2.800305)'))) / (select extract(epoch from '2026-07-20 04:58:05'::timestamp) - extract(epoch from '2026-07-20 04:57: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'), 47645, 'SRID=4674;POINT (-40.342778 -2.800227)', '2026-07-20 04:58:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342948 -2.800305)'), GeomFromEWKT('SRID=4674;POINT (-40.342778 -2.800227)'))) / (select extract(epoch from '2026-07-20 04:58:15'::timestamp) - extract(epoch from '2026-07-20 04:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342948 -2.800305)'), GeomFromEWKT('SRID=4674;POINT (-40.342778 -2.800227)'))) / (select extract(epoch from '2026-07-20 04:58:15'::timestamp) - extract(epoch from '2026-07-20 04:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.342644 -2.800118)', '2026-07-20 04:58:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342778 -2.800227)'), GeomFromEWKT('SRID=4674;POINT (-40.342644 -2.800118)'))) / (select extract(epoch from '2026-07-20 04:58:24'::timestamp) - extract(epoch from '2026-07-20 04:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342778 -2.800227)'), GeomFromEWKT('SRID=4674;POINT (-40.342644 -2.800118)'))) / (select extract(epoch from '2026-07-20 04:58:24'::timestamp) - extract(epoch from '2026-07-20 04:58: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'), 47645, 'SRID=4674;POINT (-40.342491 -2.800003)', '2026-07-20 04:58:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342644 -2.800118)'), GeomFromEWKT('SRID=4674;POINT (-40.342491 -2.800003)'))) / (select extract(epoch from '2026-07-20 04:58:34'::timestamp) - extract(epoch from '2026-07-20 04:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342644 -2.800118)'), GeomFromEWKT('SRID=4674;POINT (-40.342491 -2.800003)'))) / (select extract(epoch from '2026-07-20 04:58:34'::timestamp) - extract(epoch from '2026-07-20 04:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.342341 -2.799908)', '2026-07-20 04:58:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342491 -2.800003)'), GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.799908)'))) / (select extract(epoch from '2026-07-20 04:58:44'::timestamp) - extract(epoch from '2026-07-20 04:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342491 -2.800003)'), GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.799908)'))) / (select extract(epoch from '2026-07-20 04:58:44'::timestamp) - extract(epoch from '2026-07-20 04:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.342197 -2.799817)', '2026-07-20 04:58:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.799908)'), GeomFromEWKT('SRID=4674;POINT (-40.342197 -2.799817)'))) / (select extract(epoch from '2026-07-20 04:58:53'::timestamp) - extract(epoch from '2026-07-20 04:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.799908)'), GeomFromEWKT('SRID=4674;POINT (-40.342197 -2.799817)'))) / (select extract(epoch from '2026-07-20 04:58:53'::timestamp) - extract(epoch from '2026-07-20 04: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'), 47645, 'SRID=4674;POINT (-40.342007 -2.799743)', '2026-07-20 04:59:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342197 -2.799817)'), GeomFromEWKT('SRID=4674;POINT (-40.342007 -2.799743)'))) / (select extract(epoch from '2026-07-20 04:59:04'::timestamp) - extract(epoch from '2026-07-20 04:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342197 -2.799817)'), GeomFromEWKT('SRID=4674;POINT (-40.342007 -2.799743)'))) / (select extract(epoch from '2026-07-20 04:59:04'::timestamp) - extract(epoch from '2026-07-20 04:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.341833 -2.799675)', '2026-07-20 04:59:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342007 -2.799743)'), GeomFromEWKT('SRID=4674;POINT (-40.341833 -2.799675)'))) / (select extract(epoch from '2026-07-20 04:59:14'::timestamp) - extract(epoch from '2026-07-20 04:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342007 -2.799743)'), GeomFromEWKT('SRID=4674;POINT (-40.341833 -2.799675)'))) / (select extract(epoch from '2026-07-20 04:59:14'::timestamp) - extract(epoch from '2026-07-20 04:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.341691 -2.799615)', '2026-07-20 04:59:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341833 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.341691 -2.799615)'))) / (select extract(epoch from '2026-07-20 04:59:22'::timestamp) - extract(epoch from '2026-07-20 04:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341833 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.341691 -2.799615)'))) / (select extract(epoch from '2026-07-20 04:59:22'::timestamp) - extract(epoch from '2026-07-20 04:59: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'), 47645, 'SRID=4674;POINT (-40.341573 -2.799571)', '2026-07-20 04:59:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341691 -2.799615)'), GeomFromEWKT('SRID=4674;POINT (-40.341573 -2.799571)'))) / (select extract(epoch from '2026-07-20 04:59:29'::timestamp) - extract(epoch from '2026-07-20 04:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341691 -2.799615)'), GeomFromEWKT('SRID=4674;POINT (-40.341573 -2.799571)'))) / (select extract(epoch from '2026-07-20 04:59:29'::timestamp) - extract(epoch from '2026-07-20 04:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.341428 -2.79952)', '2026-07-20 04:59:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341573 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.341428 -2.79952)'))) / (select extract(epoch from '2026-07-20 04:59:37'::timestamp) - extract(epoch from '2026-07-20 04:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341573 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.341428 -2.79952)'))) / (select extract(epoch from '2026-07-20 04:59:37'::timestamp) - extract(epoch from '2026-07-20 04:59: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'), 47645, 'SRID=4674;POINT (-40.341262 -2.799467)', '2026-07-20 04:59:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341428 -2.79952)'), GeomFromEWKT('SRID=4674;POINT (-40.341262 -2.799467)'))) / (select extract(epoch from '2026-07-20 04:59:46'::timestamp) - extract(epoch from '2026-07-20 04:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341428 -2.79952)'), GeomFromEWKT('SRID=4674;POINT (-40.341262 -2.799467)'))) / (select extract(epoch from '2026-07-20 04:59:46'::timestamp) - extract(epoch from '2026-07-20 04:59: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'), 47645, 'SRID=4674;POINT (-40.341091 -2.799423)', '2026-07-20 04:59:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341262 -2.799467)'), GeomFromEWKT('SRID=4674;POINT (-40.341091 -2.799423)'))) / (select extract(epoch from '2026-07-20 04:59:55'::timestamp) - extract(epoch from '2026-07-20 04:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341262 -2.799467)'), GeomFromEWKT('SRID=4674;POINT (-40.341091 -2.799423)'))) / (select extract(epoch from '2026-07-20 04:59:55'::timestamp) - extract(epoch from '2026-07-20 04:59: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'), 47645, 'SRID=4674;POINT (-40.340924 -2.79938)', '2026-07-20 05:00:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341091 -2.799423)'), GeomFromEWKT('SRID=4674;POINT (-40.340924 -2.79938)'))) / (select extract(epoch from '2026-07-20 05:00:04'::timestamp) - extract(epoch from '2026-07-20 04:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341091 -2.799423)'), GeomFromEWKT('SRID=4674;POINT (-40.340924 -2.79938)'))) / (select extract(epoch from '2026-07-20 05:00:04'::timestamp) - extract(epoch from '2026-07-20 04:59: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'), 47645, 'SRID=4674;POINT (-40.340773 -2.799324)', '2026-07-20 05:00:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340924 -2.79938)'), GeomFromEWKT('SRID=4674;POINT (-40.340773 -2.799324)'))) / (select extract(epoch from '2026-07-20 05:00:13'::timestamp) - extract(epoch from '2026-07-20 05:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340924 -2.79938)'), GeomFromEWKT('SRID=4674;POINT (-40.340773 -2.799324)'))) / (select extract(epoch from '2026-07-20 05:00:13'::timestamp) - extract(epoch from '2026-07-20 05:00: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'), 47645, 'SRID=4674;POINT (-40.340651 -2.799268)', '2026-07-20 05:00:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340773 -2.799324)'), GeomFromEWKT('SRID=4674;POINT (-40.340651 -2.799268)'))) / (select extract(epoch from '2026-07-20 05:00:21'::timestamp) - extract(epoch from '2026-07-20 05:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340773 -2.799324)'), GeomFromEWKT('SRID=4674;POINT (-40.340651 -2.799268)'))) / (select extract(epoch from '2026-07-20 05:00:21'::timestamp) - extract(epoch from '2026-07-20 05:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.340536 -2.799248)', '2026-07-20 05:00:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340651 -2.799268)'), GeomFromEWKT('SRID=4674;POINT (-40.340536 -2.799248)'))) / (select extract(epoch from '2026-07-20 05:00:28'::timestamp) - extract(epoch from '2026-07-20 05:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340651 -2.799268)'), GeomFromEWKT('SRID=4674;POINT (-40.340536 -2.799248)'))) / (select extract(epoch from '2026-07-20 05:00:28'::timestamp) - extract(epoch from '2026-07-20 05:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.340377 -2.799224)', '2026-07-20 05:00:37', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340536 -2.799248)'), GeomFromEWKT('SRID=4674;POINT (-40.340377 -2.799224)'))) / (select extract(epoch from '2026-07-20 05:00:37'::timestamp) - extract(epoch from '2026-07-20 05:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340536 -2.799248)'), GeomFromEWKT('SRID=4674;POINT (-40.340377 -2.799224)'))) / (select extract(epoch from '2026-07-20 05:00:37'::timestamp) - extract(epoch from '2026-07-20 05:00: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'), 47645, 'SRID=4674;POINT (-40.340246 -2.799215)', '2026-07-20 05:00:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340377 -2.799224)'), GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.799215)'))) / (select extract(epoch from '2026-07-20 05:00:44'::timestamp) - extract(epoch from '2026-07-20 05:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340377 -2.799224)'), GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.799215)'))) / (select extract(epoch from '2026-07-20 05:00:44'::timestamp) - extract(epoch from '2026-07-20 05:00: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'), 47645, 'SRID=4674;POINT (-40.34007 -2.799193)', '2026-07-20 05:00:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.799215)'), GeomFromEWKT('SRID=4674;POINT (-40.34007 -2.799193)'))) / (select extract(epoch from '2026-07-20 05:00:53'::timestamp) - extract(epoch from '2026-07-20 05:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340246 -2.799215)'), GeomFromEWKT('SRID=4674;POINT (-40.34007 -2.799193)'))) / (select extract(epoch from '2026-07-20 05:00:53'::timestamp) - extract(epoch from '2026-07-20 05:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.339906 -2.799192)', '2026-07-20 05:01:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34007 -2.799193)'), GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.799192)'))) / (select extract(epoch from '2026-07-20 05:01:01'::timestamp) - extract(epoch from '2026-07-20 05:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34007 -2.799193)'), GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.799192)'))) / (select extract(epoch from '2026-07-20 05:01:01'::timestamp) - extract(epoch from '2026-07-20 05:00: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'), 47645, 'SRID=4674;POINT (-40.339749 -2.799219)', '2026-07-20 05:01:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.339749 -2.799219)'))) / (select extract(epoch from '2026-07-20 05:01:09'::timestamp) - extract(epoch from '2026-07-20 05:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339906 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.339749 -2.799219)'))) / (select extract(epoch from '2026-07-20 05:01:09'::timestamp) - extract(epoch from '2026-07-20 05:01: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'), 47645, 'SRID=4674;POINT (-40.3396 -2.799232)', '2026-07-20 05:01:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339749 -2.799219)'), GeomFromEWKT('SRID=4674;POINT (-40.3396 -2.799232)'))) / (select extract(epoch from '2026-07-20 05:01:17'::timestamp) - extract(epoch from '2026-07-20 05:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339749 -2.799219)'), GeomFromEWKT('SRID=4674;POINT (-40.3396 -2.799232)'))) / (select extract(epoch from '2026-07-20 05:01:17'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.339419 -2.799234)', '2026-07-20 05:01:27', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3396 -2.799232)'), GeomFromEWKT('SRID=4674;POINT (-40.339419 -2.799234)'))) / (select extract(epoch from '2026-07-20 05:01:27'::timestamp) - extract(epoch from '2026-07-20 05:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3396 -2.799232)'), GeomFromEWKT('SRID=4674;POINT (-40.339419 -2.799234)'))) / (select extract(epoch from '2026-07-20 05:01:27'::timestamp) - extract(epoch from '2026-07-20 05:01: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'), 47645, 'SRID=4674;POINT (-40.339272 -2.799228)', '2026-07-20 05:01:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339419 -2.799234)'), GeomFromEWKT('SRID=4674;POINT (-40.339272 -2.799228)'))) / (select extract(epoch from '2026-07-20 05:01:35'::timestamp) - extract(epoch from '2026-07-20 05:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339419 -2.799234)'), GeomFromEWKT('SRID=4674;POINT (-40.339272 -2.799228)'))) / (select extract(epoch from '2026-07-20 05:01:35'::timestamp) - extract(epoch from '2026-07-20 05:01: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'), 47645, 'SRID=4674;POINT (-40.339094 -2.799225)', '2026-07-20 05:01:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339272 -2.799228)'), GeomFromEWKT('SRID=4674;POINT (-40.339094 -2.799225)'))) / (select extract(epoch from '2026-07-20 05:01:44'::timestamp) - extract(epoch from '2026-07-20 05:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339272 -2.799228)'), GeomFromEWKT('SRID=4674;POINT (-40.339094 -2.799225)'))) / (select extract(epoch from '2026-07-20 05:01:44'::timestamp) - extract(epoch from '2026-07-20 05:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.338921 -2.799206)', '2026-07-20 05:01:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339094 -2.799225)'), GeomFromEWKT('SRID=4674;POINT (-40.338921 -2.799206)'))) / (select extract(epoch from '2026-07-20 05:01:53'::timestamp) - extract(epoch from '2026-07-20 05:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339094 -2.799225)'), GeomFromEWKT('SRID=4674;POINT (-40.338921 -2.799206)'))) / (select extract(epoch from '2026-07-20 05:01:53'::timestamp) - extract(epoch from '2026-07-20 05:01: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'), 47645, 'SRID=4674;POINT (-40.338736 -2.799144)', '2026-07-20 05:02:03', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338921 -2.799206)'), GeomFromEWKT('SRID=4674;POINT (-40.338736 -2.799144)'))) / (select extract(epoch from '2026-07-20 05:02:03'::timestamp) - extract(epoch from '2026-07-20 05:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338921 -2.799206)'), GeomFromEWKT('SRID=4674;POINT (-40.338736 -2.799144)'))) / (select extract(epoch from '2026-07-20 05:02:03'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.338568 -2.799109)', '2026-07-20 05:02:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338736 -2.799144)'), GeomFromEWKT('SRID=4674;POINT (-40.338568 -2.799109)'))) / (select extract(epoch from '2026-07-20 05:02:12'::timestamp) - extract(epoch from '2026-07-20 05:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338736 -2.799144)'), GeomFromEWKT('SRID=4674;POINT (-40.338568 -2.799109)'))) / (select extract(epoch from '2026-07-20 05:02:12'::timestamp) - extract(epoch from '2026-07-20 05:02: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'), 47645, 'SRID=4674;POINT (-40.338413 -2.799054)', '2026-07-20 05:02:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338568 -2.799109)'), GeomFromEWKT('SRID=4674;POINT (-40.338413 -2.799054)'))) / (select extract(epoch from '2026-07-20 05:02:21'::timestamp) - extract(epoch from '2026-07-20 05:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338568 -2.799109)'), GeomFromEWKT('SRID=4674;POINT (-40.338413 -2.799054)'))) / (select extract(epoch from '2026-07-20 05:02:21'::timestamp) - extract(epoch from '2026-07-20 05:02: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'), 47645, 'SRID=4674;POINT (-40.338259 -2.799)', '2026-07-20 05:02:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338413 -2.799054)'), GeomFromEWKT('SRID=4674;POINT (-40.338259 -2.799)'))) / (select extract(epoch from '2026-07-20 05:02:30'::timestamp) - extract(epoch from '2026-07-20 05:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338413 -2.799054)'), GeomFromEWKT('SRID=4674;POINT (-40.338259 -2.799)'))) / (select extract(epoch from '2026-07-20 05:02:30'::timestamp) - extract(epoch from '2026-07-20 05:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.338038 -2.798927)', '2026-07-20 05:02:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338259 -2.799)'), GeomFromEWKT('SRID=4674;POINT (-40.338038 -2.798927)'))) / (select extract(epoch from '2026-07-20 05:02:43'::timestamp) - extract(epoch from '2026-07-20 05:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338259 -2.799)'), GeomFromEWKT('SRID=4674;POINT (-40.338038 -2.798927)'))) / (select extract(epoch from '2026-07-20 05:02:43'::timestamp) - extract(epoch from '2026-07-20 05:02: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'), 47645, 'SRID=4674;POINT (-40.337891 -2.798853)', '2026-07-20 05:02:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338038 -2.798927)'), GeomFromEWKT('SRID=4674;POINT (-40.337891 -2.798853)'))) / (select extract(epoch from '2026-07-20 05:02:52'::timestamp) - extract(epoch from '2026-07-20 05:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338038 -2.798927)'), GeomFromEWKT('SRID=4674;POINT (-40.337891 -2.798853)'))) / (select extract(epoch from '2026-07-20 05:02:52'::timestamp) - extract(epoch from '2026-07-20 05:02: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'), 47645, 'SRID=4674;POINT (-40.337748 -2.798794)', '2026-07-20 05:03:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337891 -2.798853)'), GeomFromEWKT('SRID=4674;POINT (-40.337748 -2.798794)'))) / (select extract(epoch from '2026-07-20 05:03:00'::timestamp) - extract(epoch from '2026-07-20 05:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337891 -2.798853)'), GeomFromEWKT('SRID=4674;POINT (-40.337748 -2.798794)'))) / (select extract(epoch from '2026-07-20 05:03:00'::timestamp) - extract(epoch from '2026-07-20 05:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.337583 -2.79872)', '2026-07-20 05:03:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337748 -2.798794)'), GeomFromEWKT('SRID=4674;POINT (-40.337583 -2.79872)'))) / (select extract(epoch from '2026-07-20 05:03:10'::timestamp) - extract(epoch from '2026-07-20 05:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337748 -2.798794)'), GeomFromEWKT('SRID=4674;POINT (-40.337583 -2.79872)'))) / (select extract(epoch from '2026-07-20 05:03:10'::timestamp) - extract(epoch from '2026-07-20 05:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.337426 -2.798636)', '2026-07-20 05:03:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337583 -2.79872)'), GeomFromEWKT('SRID=4674;POINT (-40.337426 -2.798636)'))) / (select extract(epoch from '2026-07-20 05:03:20'::timestamp) - extract(epoch from '2026-07-20 05:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337583 -2.79872)'), GeomFromEWKT('SRID=4674;POINT (-40.337426 -2.798636)'))) / (select extract(epoch from '2026-07-20 05:03:20'::timestamp) - extract(epoch from '2026-07-20 05:03: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'), 47645, 'SRID=4674;POINT (-40.337301 -2.798575)', '2026-07-20 05:03:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337426 -2.798636)'), GeomFromEWKT('SRID=4674;POINT (-40.337301 -2.798575)'))) / (select extract(epoch from '2026-07-20 05:03:28'::timestamp) - extract(epoch from '2026-07-20 05:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337426 -2.798636)'), GeomFromEWKT('SRID=4674;POINT (-40.337301 -2.798575)'))) / (select extract(epoch from '2026-07-20 05:03:28'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.337158 -2.798495)', '2026-07-20 05:03:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337301 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.337158 -2.798495)'))) / (select extract(epoch from '2026-07-20 05:03:37'::timestamp) - extract(epoch from '2026-07-20 05:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337301 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.337158 -2.798495)'))) / (select extract(epoch from '2026-07-20 05:03:37'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.337029 -2.798419)', '2026-07-20 05:03:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337158 -2.798495)'), GeomFromEWKT('SRID=4674;POINT (-40.337029 -2.798419)'))) / (select extract(epoch from '2026-07-20 05:03:45'::timestamp) - extract(epoch from '2026-07-20 05:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337158 -2.798495)'), GeomFromEWKT('SRID=4674;POINT (-40.337029 -2.798419)'))) / (select extract(epoch from '2026-07-20 05:03:45'::timestamp) - extract(epoch from '2026-07-20 05:03: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'), 47645, 'SRID=4674;POINT (-40.33691 -2.798361)', '2026-07-20 05:03:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337029 -2.798419)'), GeomFromEWKT('SRID=4674;POINT (-40.33691 -2.798361)'))) / (select extract(epoch from '2026-07-20 05:03:52'::timestamp) - extract(epoch from '2026-07-20 05:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337029 -2.798419)'), GeomFromEWKT('SRID=4674;POINT (-40.33691 -2.798361)'))) / (select extract(epoch from '2026-07-20 05:03:52'::timestamp) - extract(epoch from '2026-07-20 05:03: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'), 47645, 'SRID=4674;POINT (-40.336757 -2.798262)', '2026-07-20 05:04:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33691 -2.798361)'), GeomFromEWKT('SRID=4674;POINT (-40.336757 -2.798262)'))) / (select extract(epoch from '2026-07-20 05:04:02'::timestamp) - extract(epoch from '2026-07-20 05:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33691 -2.798361)'), GeomFromEWKT('SRID=4674;POINT (-40.336757 -2.798262)'))) / (select extract(epoch from '2026-07-20 05:04:02'::timestamp) - extract(epoch from '2026-07-20 05:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.336617 -2.798181)', '2026-07-20 05:04:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336757 -2.798262)'), GeomFromEWKT('SRID=4674;POINT (-40.336617 -2.798181)'))) / (select extract(epoch from '2026-07-20 05:04:11'::timestamp) - extract(epoch from '2026-07-20 05:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336757 -2.798262)'), GeomFromEWKT('SRID=4674;POINT (-40.336617 -2.798181)'))) / (select extract(epoch from '2026-07-20 05:04:11'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.336463 -2.798099)', '2026-07-20 05:04:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336617 -2.798181)'), GeomFromEWKT('SRID=4674;POINT (-40.336463 -2.798099)'))) / (select extract(epoch from '2026-07-20 05:04:20'::timestamp) - extract(epoch from '2026-07-20 05:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336617 -2.798181)'), GeomFromEWKT('SRID=4674;POINT (-40.336463 -2.798099)'))) / (select extract(epoch from '2026-07-20 05:04:20'::timestamp) - extract(epoch from '2026-07-20 05:04: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'), 47645, 'SRID=4674;POINT (-40.336309 -2.79802)', '2026-07-20 05:04:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336463 -2.798099)'), GeomFromEWKT('SRID=4674;POINT (-40.336309 -2.79802)'))) / (select extract(epoch from '2026-07-20 05:04:29'::timestamp) - extract(epoch from '2026-07-20 05:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336463 -2.798099)'), GeomFromEWKT('SRID=4674;POINT (-40.336309 -2.79802)'))) / (select extract(epoch from '2026-07-20 05:04:29'::timestamp) - extract(epoch from '2026-07-20 05:04: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'), 47645, 'SRID=4674;POINT (-40.336145 -2.797922)', '2026-07-20 05:04:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336309 -2.79802)'), GeomFromEWKT('SRID=4674;POINT (-40.336145 -2.797922)'))) / (select extract(epoch from '2026-07-20 05:04:39'::timestamp) - extract(epoch from '2026-07-20 05:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336309 -2.79802)'), GeomFromEWKT('SRID=4674;POINT (-40.336145 -2.797922)'))) / (select extract(epoch from '2026-07-20 05:04:39'::timestamp) - extract(epoch from '2026-07-20 05:04: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'), 47645, 'SRID=4674;POINT (-40.336017 -2.797817)', '2026-07-20 05:04:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336145 -2.797922)'), GeomFromEWKT('SRID=4674;POINT (-40.336017 -2.797817)'))) / (select extract(epoch from '2026-07-20 05:04:48'::timestamp) - extract(epoch from '2026-07-20 05:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336145 -2.797922)'), GeomFromEWKT('SRID=4674;POINT (-40.336017 -2.797817)'))) / (select extract(epoch from '2026-07-20 05:04:48'::timestamp) - extract(epoch from '2026-07-20 05:04: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'), 47645, 'SRID=4674;POINT (-40.33592 -2.797709)', '2026-07-20 05:04:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336017 -2.797817)'), GeomFromEWKT('SRID=4674;POINT (-40.33592 -2.797709)'))) / (select extract(epoch from '2026-07-20 05:04:56'::timestamp) - extract(epoch from '2026-07-20 05:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336017 -2.797817)'), GeomFromEWKT('SRID=4674;POINT (-40.33592 -2.797709)'))) / (select extract(epoch from '2026-07-20 05:04:56'::timestamp) - extract(epoch from '2026-07-20 05:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.335827 -2.797592)', '2026-07-20 05:05:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33592 -2.797709)'), GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.797592)'))) / (select extract(epoch from '2026-07-20 05:05:04'::timestamp) - extract(epoch from '2026-07-20 05:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33592 -2.797709)'), GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.797592)'))) / (select extract(epoch from '2026-07-20 05:05:04'::timestamp) - extract(epoch from '2026-07-20 05:04: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'), 47645, 'SRID=4674;POINT (-40.335733 -2.797444)', '2026-07-20 05:05:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.797592)'), GeomFromEWKT('SRID=4674;POINT (-40.335733 -2.797444)'))) / (select extract(epoch from '2026-07-20 05:05:13'::timestamp) - extract(epoch from '2026-07-20 05:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.797592)'), GeomFromEWKT('SRID=4674;POINT (-40.335733 -2.797444)'))) / (select extract(epoch from '2026-07-20 05:05:13'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.33564 -2.7973)', '2026-07-20 05:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335733 -2.797444)'), GeomFromEWKT('SRID=4674;POINT (-40.33564 -2.7973)'))) / (select extract(epoch from '2026-07-20 05:05:22'::timestamp) - extract(epoch from '2026-07-20 05:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335733 -2.797444)'), GeomFromEWKT('SRID=4674;POINT (-40.33564 -2.7973)'))) / (select extract(epoch from '2026-07-20 05:05:22'::timestamp) - extract(epoch from '2026-07-20 05:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.335558 -2.797177)', '2026-07-20 05:05:31', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33564 -2.7973)'), GeomFromEWKT('SRID=4674;POINT (-40.335558 -2.797177)'))) / (select extract(epoch from '2026-07-20 05:05:31'::timestamp) - extract(epoch from '2026-07-20 05:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33564 -2.7973)'), GeomFromEWKT('SRID=4674;POINT (-40.335558 -2.797177)'))) / (select extract(epoch from '2026-07-20 05:05:31'::timestamp) - extract(epoch from '2026-07-20 05:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.335442 -2.797024)', '2026-07-20 05:05:41', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335558 -2.797177)'), GeomFromEWKT('SRID=4674;POINT (-40.335442 -2.797024)'))) / (select extract(epoch from '2026-07-20 05:05:41'::timestamp) - extract(epoch from '2026-07-20 05:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335558 -2.797177)'), GeomFromEWKT('SRID=4674;POINT (-40.335442 -2.797024)'))) / (select extract(epoch from '2026-07-20 05:05:41'::timestamp) - extract(epoch from '2026-07-20 05:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.335367 -2.796879)', '2026-07-20 05:05:50', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335442 -2.797024)'), GeomFromEWKT('SRID=4674;POINT (-40.335367 -2.796879)'))) / (select extract(epoch from '2026-07-20 05:05:50'::timestamp) - extract(epoch from '2026-07-20 05:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335442 -2.797024)'), GeomFromEWKT('SRID=4674;POINT (-40.335367 -2.796879)'))) / (select extract(epoch from '2026-07-20 05:05:50'::timestamp) - extract(epoch from '2026-07-20 05:05:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.335268 -2.796741)', '2026-07-20 05:06:00', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335367 -2.796879)'), GeomFromEWKT('SRID=4674;POINT (-40.335268 -2.796741)'))) / (select extract(epoch from '2026-07-20 05:06:00'::timestamp) - extract(epoch from '2026-07-20 05:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335367 -2.796879)'), GeomFromEWKT('SRID=4674;POINT (-40.335268 -2.796741)'))) / (select extract(epoch from '2026-07-20 05:06:00'::timestamp) - extract(epoch from '2026-07-20 05:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.335208 -2.796626)', '2026-07-20 05:06:08', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335268 -2.796741)'), GeomFromEWKT('SRID=4674;POINT (-40.335208 -2.796626)'))) / (select extract(epoch from '2026-07-20 05:06:08'::timestamp) - extract(epoch from '2026-07-20 05:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335268 -2.796741)'), GeomFromEWKT('SRID=4674;POINT (-40.335208 -2.796626)'))) / (select extract(epoch from '2026-07-20 05:06:08'::timestamp) - extract(epoch from '2026-07-20 05:06: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'), 47645, 'SRID=4674;POINT (-40.335143 -2.796478)', '2026-07-20 05:06:17', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335208 -2.796626)'), GeomFromEWKT('SRID=4674;POINT (-40.335143 -2.796478)'))) / (select extract(epoch from '2026-07-20 05:06:17'::timestamp) - extract(epoch from '2026-07-20 05:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335208 -2.796626)'), GeomFromEWKT('SRID=4674;POINT (-40.335143 -2.796478)'))) / (select extract(epoch from '2026-07-20 05:06:17'::timestamp) - extract(epoch from '2026-07-20 05:06: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'), 47645, 'SRID=4674;POINT (-40.335075 -2.796342)', '2026-07-20 05:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335143 -2.796478)'), GeomFromEWKT('SRID=4674;POINT (-40.335075 -2.796342)'))) / (select extract(epoch from '2026-07-20 05:06:25'::timestamp) - extract(epoch from '2026-07-20 05:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335143 -2.796478)'), GeomFromEWKT('SRID=4674;POINT (-40.335075 -2.796342)'))) / (select extract(epoch from '2026-07-20 05:06:25'::timestamp) - extract(epoch from '2026-07-20 05:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.334988 -2.796202)', '2026-07-20 05:06:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335075 -2.796342)'), GeomFromEWKT('SRID=4674;POINT (-40.334988 -2.796202)'))) / (select extract(epoch from '2026-07-20 05:06:34'::timestamp) - extract(epoch from '2026-07-20 05:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335075 -2.796342)'), GeomFromEWKT('SRID=4674;POINT (-40.334988 -2.796202)'))) / (select extract(epoch from '2026-07-20 05:06:34'::timestamp) - extract(epoch from '2026-07-20 05:06: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'), 47645, 'SRID=4674;POINT (-40.334864 -2.79609)', '2026-07-20 05:06:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334988 -2.796202)'), GeomFromEWKT('SRID=4674;POINT (-40.334864 -2.79609)'))) / (select extract(epoch from '2026-07-20 05:06:43'::timestamp) - extract(epoch from '2026-07-20 05:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334988 -2.796202)'), GeomFromEWKT('SRID=4674;POINT (-40.334864 -2.79609)'))) / (select extract(epoch from '2026-07-20 05:06:43'::timestamp) - extract(epoch from '2026-07-20 05:06: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'), 47645, 'SRID=4674;POINT (-40.33474 -2.79598)', '2026-07-20 05:06:52', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334864 -2.79609)'), GeomFromEWKT('SRID=4674;POINT (-40.33474 -2.79598)'))) / (select extract(epoch from '2026-07-20 05:06:52'::timestamp) - extract(epoch from '2026-07-20 05:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334864 -2.79609)'), GeomFromEWKT('SRID=4674;POINT (-40.33474 -2.79598)'))) / (select extract(epoch from '2026-07-20 05:06:52'::timestamp) - extract(epoch from '2026-07-20 05:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.334645 -2.795871)', '2026-07-20 05:07:00', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33474 -2.79598)'), GeomFromEWKT('SRID=4674;POINT (-40.334645 -2.795871)'))) / (select extract(epoch from '2026-07-20 05:07:00'::timestamp) - extract(epoch from '2026-07-20 05:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33474 -2.79598)'), GeomFromEWKT('SRID=4674;POINT (-40.334645 -2.795871)'))) / (select extract(epoch from '2026-07-20 05:07:00'::timestamp) - extract(epoch from '2026-07-20 05:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.334573 -2.795719)', '2026-07-20 05:07:09', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334645 -2.795871)'), GeomFromEWKT('SRID=4674;POINT (-40.334573 -2.795719)'))) / (select extract(epoch from '2026-07-20 05:07:09'::timestamp) - extract(epoch from '2026-07-20 05:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334645 -2.795871)'), GeomFromEWKT('SRID=4674;POINT (-40.334573 -2.795719)'))) / (select extract(epoch from '2026-07-20 05:07:09'::timestamp) - extract(epoch from '2026-07-20 05:07: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'), 47645, 'SRID=4674;POINT (-40.334492 -2.795584)', '2026-07-20 05:07:18', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334573 -2.795719)'), GeomFromEWKT('SRID=4674;POINT (-40.334492 -2.795584)'))) / (select extract(epoch from '2026-07-20 05:07:18'::timestamp) - extract(epoch from '2026-07-20 05:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334573 -2.795719)'), GeomFromEWKT('SRID=4674;POINT (-40.334492 -2.795584)'))) / (select extract(epoch from '2026-07-20 05:07:18'::timestamp) - extract(epoch from '2026-07-20 05:07: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'), 47645, 'SRID=4674;POINT (-40.33441 -2.795473)', '2026-07-20 05:07:26', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334492 -2.795584)'), GeomFromEWKT('SRID=4674;POINT (-40.33441 -2.795473)'))) / (select extract(epoch from '2026-07-20 05:07:26'::timestamp) - extract(epoch from '2026-07-20 05:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334492 -2.795584)'), GeomFromEWKT('SRID=4674;POINT (-40.33441 -2.795473)'))) / (select extract(epoch from '2026-07-20 05:07:26'::timestamp) - extract(epoch from '2026-07-20 05:07: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'), 47645, 'SRID=4674;POINT (-40.334333 -2.795367)', '2026-07-20 05:07:34', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33441 -2.795473)'), GeomFromEWKT('SRID=4674;POINT (-40.334333 -2.795367)'))) / (select extract(epoch from '2026-07-20 05:07:34'::timestamp) - extract(epoch from '2026-07-20 05:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33441 -2.795473)'), GeomFromEWKT('SRID=4674;POINT (-40.334333 -2.795367)'))) / (select extract(epoch from '2026-07-20 05:07:34'::timestamp) - extract(epoch from '2026-07-20 05:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.334256 -2.795263)', '2026-07-20 05:07:42', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334333 -2.795367)'), GeomFromEWKT('SRID=4674;POINT (-40.334256 -2.795263)'))) / (select extract(epoch from '2026-07-20 05:07:42'::timestamp) - extract(epoch from '2026-07-20 05:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334333 -2.795367)'), GeomFromEWKT('SRID=4674;POINT (-40.334256 -2.795263)'))) / (select extract(epoch from '2026-07-20 05:07:42'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.334188 -2.795139)', '2026-07-20 05:07:50', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334256 -2.795263)'), GeomFromEWKT('SRID=4674;POINT (-40.334188 -2.795139)'))) / (select extract(epoch from '2026-07-20 05:07:50'::timestamp) - extract(epoch from '2026-07-20 05:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334256 -2.795263)'), GeomFromEWKT('SRID=4674;POINT (-40.334188 -2.795139)'))) / (select extract(epoch from '2026-07-20 05:07:50'::timestamp) - extract(epoch from '2026-07-20 05:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.334114 -2.795011)', '2026-07-20 05:07:58', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334188 -2.795139)'), GeomFromEWKT('SRID=4674;POINT (-40.334114 -2.795011)'))) / (select extract(epoch from '2026-07-20 05:07:58'::timestamp) - extract(epoch from '2026-07-20 05:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334188 -2.795139)'), GeomFromEWKT('SRID=4674;POINT (-40.334114 -2.795011)'))) / (select extract(epoch from '2026-07-20 05:07:58'::timestamp) - extract(epoch from '2026-07-20 05:07: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'), 47645, 'SRID=4674;POINT (-40.334046 -2.794895)', '2026-07-20 05:08:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334114 -2.795011)'), GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.794895)'))) / (select extract(epoch from '2026-07-20 05:08:07'::timestamp) - extract(epoch from '2026-07-20 05:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334114 -2.795011)'), GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.794895)'))) / (select extract(epoch from '2026-07-20 05:08:07'::timestamp) - extract(epoch from '2026-07-20 05:07: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'), 47645, 'SRID=4674;POINT (-40.333987 -2.794768)', '2026-07-20 05:08:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.794895)'), GeomFromEWKT('SRID=4674;POINT (-40.333987 -2.794768)'))) / (select extract(epoch from '2026-07-20 05:08:16'::timestamp) - extract(epoch from '2026-07-20 05:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.794895)'), GeomFromEWKT('SRID=4674;POINT (-40.333987 -2.794768)'))) / (select extract(epoch from '2026-07-20 05:08:16'::timestamp) - extract(epoch from '2026-07-20 05:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.33393 -2.79465)', '2026-07-20 05:08:25', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333987 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.33393 -2.79465)'))) / (select extract(epoch from '2026-07-20 05:08:25'::timestamp) - extract(epoch from '2026-07-20 05:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333987 -2.794768)'), GeomFromEWKT('SRID=4674;POINT (-40.33393 -2.79465)'))) / (select extract(epoch from '2026-07-20 05:08:25'::timestamp) - extract(epoch from '2026-07-20 05:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.333856 -2.794544)', '2026-07-20 05:08:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33393 -2.79465)'), GeomFromEWKT('SRID=4674;POINT (-40.333856 -2.794544)'))) / (select extract(epoch from '2026-07-20 05:08:34'::timestamp) - extract(epoch from '2026-07-20 05:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33393 -2.79465)'), GeomFromEWKT('SRID=4674;POINT (-40.333856 -2.794544)'))) / (select extract(epoch from '2026-07-20 05:08:34'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.333753 -2.794457)', '2026-07-20 05:08:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333856 -2.794544)'), GeomFromEWKT('SRID=4674;POINT (-40.333753 -2.794457)'))) / (select extract(epoch from '2026-07-20 05:08:43'::timestamp) - extract(epoch from '2026-07-20 05:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333856 -2.794544)'), GeomFromEWKT('SRID=4674;POINT (-40.333753 -2.794457)'))) / (select extract(epoch from '2026-07-20 05:08:43'::timestamp) - extract(epoch from '2026-07-20 05:08: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'), 47645, 'SRID=4674;POINT (-40.333655 -2.794367)', '2026-07-20 05:08:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333753 -2.794457)'), GeomFromEWKT('SRID=4674;POINT (-40.333655 -2.794367)'))) / (select extract(epoch from '2026-07-20 05:08:51'::timestamp) - extract(epoch from '2026-07-20 05:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333753 -2.794457)'), GeomFromEWKT('SRID=4674;POINT (-40.333655 -2.794367)'))) / (select extract(epoch from '2026-07-20 05:08:51'::timestamp) - extract(epoch from '2026-07-20 05:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.333554 -2.794238)', '2026-07-20 05:09:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333655 -2.794367)'), GeomFromEWKT('SRID=4674;POINT (-40.333554 -2.794238)'))) / (select extract(epoch from '2026-07-20 05:09:01'::timestamp) - extract(epoch from '2026-07-20 05:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333655 -2.794367)'), GeomFromEWKT('SRID=4674;POINT (-40.333554 -2.794238)'))) / (select extract(epoch from '2026-07-20 05:09:01'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.333487 -2.794095)', '2026-07-20 05:09:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333554 -2.794238)'), GeomFromEWKT('SRID=4674;POINT (-40.333487 -2.794095)'))) / (select extract(epoch from '2026-07-20 05:09:10'::timestamp) - extract(epoch from '2026-07-20 05:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333554 -2.794238)'), GeomFromEWKT('SRID=4674;POINT (-40.333487 -2.794095)'))) / (select extract(epoch from '2026-07-20 05:09:10'::timestamp) - extract(epoch from '2026-07-20 05:09: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'), 47645, 'SRID=4674;POINT (-40.333451 -2.793962)', '2026-07-20 05:09:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333487 -2.794095)'), GeomFromEWKT('SRID=4674;POINT (-40.333451 -2.793962)'))) / (select extract(epoch from '2026-07-20 05:09:18'::timestamp) - extract(epoch from '2026-07-20 05:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333487 -2.794095)'), GeomFromEWKT('SRID=4674;POINT (-40.333451 -2.793962)'))) / (select extract(epoch from '2026-07-20 05:09:18'::timestamp) - extract(epoch from '2026-07-20 05:09: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'), 47645, 'SRID=4674;POINT (-40.33341 -2.793833)', '2026-07-20 05:09:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333451 -2.793962)'), GeomFromEWKT('SRID=4674;POINT (-40.33341 -2.793833)'))) / (select extract(epoch from '2026-07-20 05:09:26'::timestamp) - extract(epoch from '2026-07-20 05:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333451 -2.793962)'), GeomFromEWKT('SRID=4674;POINT (-40.33341 -2.793833)'))) / (select extract(epoch from '2026-07-20 05:09:26'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.333367 -2.793691)', '2026-07-20 05:09:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33341 -2.793833)'), GeomFromEWKT('SRID=4674;POINT (-40.333367 -2.793691)'))) / (select extract(epoch from '2026-07-20 05:09:35'::timestamp) - extract(epoch from '2026-07-20 05:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33341 -2.793833)'), GeomFromEWKT('SRID=4674;POINT (-40.333367 -2.793691)'))) / (select extract(epoch from '2026-07-20 05:09:35'::timestamp) - extract(epoch from '2026-07-20 05:09: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'), 47645, 'SRID=4674;POINT (-40.333319 -2.793565)', '2026-07-20 05:09:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333367 -2.793691)'), GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.793565)'))) / (select extract(epoch from '2026-07-20 05:09:44'::timestamp) - extract(epoch from '2026-07-20 05:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333367 -2.793691)'), GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.793565)'))) / (select extract(epoch from '2026-07-20 05:09:44'::timestamp) - extract(epoch from '2026-07-20 05:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.333286 -2.793474)', '2026-07-20 05:09:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.793565)'), GeomFromEWKT('SRID=4674;POINT (-40.333286 -2.793474)'))) / (select extract(epoch from '2026-07-20 05:09:50'::timestamp) - extract(epoch from '2026-07-20 05:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333319 -2.793565)'), GeomFromEWKT('SRID=4674;POINT (-40.333286 -2.793474)'))) / (select extract(epoch from '2026-07-20 05:09:50'::timestamp) - extract(epoch from '2026-07-20 05:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.333234 -2.793346)', '2026-07-20 05:10:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333286 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.333234 -2.793346)'))) / (select extract(epoch from '2026-07-20 05:10:00'::timestamp) - extract(epoch from '2026-07-20 05:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333286 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.333234 -2.793346)'))) / (select extract(epoch from '2026-07-20 05:10:00'::timestamp) - extract(epoch from '2026-07-20 05:09: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'), 47645, 'SRID=4674;POINT (-40.333169 -2.79324)', '2026-07-20 05:10:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333234 -2.793346)'), GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.79324)'))) / (select extract(epoch from '2026-07-20 05:10:09'::timestamp) - extract(epoch from '2026-07-20 05:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333234 -2.793346)'), GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.79324)'))) / (select extract(epoch from '2026-07-20 05:10:09'::timestamp) - extract(epoch from '2026-07-20 05:10: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'), 47645, 'SRID=4674;POINT (-40.333098 -2.793133)', '2026-07-20 05:10:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.79324)'), GeomFromEWKT('SRID=4674;POINT (-40.333098 -2.793133)'))) / (select extract(epoch from '2026-07-20 05:10:18'::timestamp) - extract(epoch from '2026-07-20 05:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.79324)'), GeomFromEWKT('SRID=4674;POINT (-40.333098 -2.793133)'))) / (select extract(epoch from '2026-07-20 05:10:18'::timestamp) - extract(epoch from '2026-07-20 05:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.33307 -2.793097)', '2026-07-20 05:10:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333098 -2.793133)'), GeomFromEWKT('SRID=4674;POINT (-40.33307 -2.793097)'))) / (select extract(epoch from '2026-07-20 05:10:22'::timestamp) - extract(epoch from '2026-07-20 05:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333098 -2.793133)'), GeomFromEWKT('SRID=4674;POINT (-40.33307 -2.793097)'))) / (select extract(epoch from '2026-07-20 05:10:22'::timestamp) - extract(epoch from '2026-07-20 05:10: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'), 47645, 'SRID=4674;POINT (-40.333045 -2.793052)', '2026-07-20 05:10:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33307 -2.793097)'), GeomFromEWKT('SRID=4674;POINT (-40.333045 -2.793052)'))) / (select extract(epoch from '2026-07-20 05:10:26'::timestamp) - extract(epoch from '2026-07-20 05:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33307 -2.793097)'), GeomFromEWKT('SRID=4674;POINT (-40.333045 -2.793052)'))) / (select extract(epoch from '2026-07-20 05:10:26'::timestamp) - extract(epoch from '2026-07-20 05:10: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'), 47645, 'SRID=4674;POINT (-40.332972 -2.79294)', '2026-07-20 05:10:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333045 -2.793052)'), GeomFromEWKT('SRID=4674;POINT (-40.332972 -2.79294)'))) / (select extract(epoch from '2026-07-20 05:10:35'::timestamp) - extract(epoch from '2026-07-20 05:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333045 -2.793052)'), GeomFromEWKT('SRID=4674;POINT (-40.332972 -2.79294)'))) / (select extract(epoch from '2026-07-20 05:10:35'::timestamp) - extract(epoch from '2026-07-20 05:10: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'), 47645, 'SRID=4674;POINT (-40.332874 -2.792835)', '2026-07-20 05:10:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332972 -2.79294)'), GeomFromEWKT('SRID=4674;POINT (-40.332874 -2.792835)'))) / (select extract(epoch from '2026-07-20 05:10:44'::timestamp) - extract(epoch from '2026-07-20 05:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332972 -2.79294)'), GeomFromEWKT('SRID=4674;POINT (-40.332874 -2.792835)'))) / (select extract(epoch from '2026-07-20 05:10:44'::timestamp) - extract(epoch from '2026-07-20 05:10:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.332786 -2.792742)', '2026-07-20 05:10:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332874 -2.792835)'), GeomFromEWKT('SRID=4674;POINT (-40.332786 -2.792742)'))) / (select extract(epoch from '2026-07-20 05:10:52'::timestamp) - extract(epoch from '2026-07-20 05:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332874 -2.792835)'), GeomFromEWKT('SRID=4674;POINT (-40.332786 -2.792742)'))) / (select extract(epoch from '2026-07-20 05:10:52'::timestamp) - extract(epoch from '2026-07-20 05:10: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'), 47645, 'SRID=4674;POINT (-40.332721 -2.79263)', '2026-07-20 05:11:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332786 -2.792742)'), GeomFromEWKT('SRID=4674;POINT (-40.332721 -2.79263)'))) / (select extract(epoch from '2026-07-20 05:11:01'::timestamp) - extract(epoch from '2026-07-20 05:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332786 -2.792742)'), GeomFromEWKT('SRID=4674;POINT (-40.332721 -2.79263)'))) / (select extract(epoch from '2026-07-20 05:11:01'::timestamp) - extract(epoch from '2026-07-20 05:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.332659 -2.79252)', '2026-07-20 05:11:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332721 -2.79263)'), GeomFromEWKT('SRID=4674;POINT (-40.332659 -2.79252)'))) / (select extract(epoch from '2026-07-20 05:11:09'::timestamp) - extract(epoch from '2026-07-20 05:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332721 -2.79263)'), GeomFromEWKT('SRID=4674;POINT (-40.332659 -2.79252)'))) / (select extract(epoch from '2026-07-20 05:11:09'::timestamp) - extract(epoch from '2026-07-20 05:11: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'), 47645, 'SRID=4674;POINT (-40.332614 -2.792398)', '2026-07-20 05:11:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332659 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.332614 -2.792398)'))) / (select extract(epoch from '2026-07-20 05:11:17'::timestamp) - extract(epoch from '2026-07-20 05:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332659 -2.79252)'), GeomFromEWKT('SRID=4674;POINT (-40.332614 -2.792398)'))) / (select extract(epoch from '2026-07-20 05:11:17'::timestamp) - extract(epoch from '2026-07-20 05:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.332554 -2.792296)', '2026-07-20 05:11:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332614 -2.792398)'), GeomFromEWKT('SRID=4674;POINT (-40.332554 -2.792296)'))) / (select extract(epoch from '2026-07-20 05:11:24'::timestamp) - extract(epoch from '2026-07-20 05:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332614 -2.792398)'), GeomFromEWKT('SRID=4674;POINT (-40.332554 -2.792296)'))) / (select extract(epoch from '2026-07-20 05:11:24'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.332486 -2.79217)', '2026-07-20 05:11:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332554 -2.792296)'), GeomFromEWKT('SRID=4674;POINT (-40.332486 -2.79217)'))) / (select extract(epoch from '2026-07-20 05:11:32'::timestamp) - extract(epoch from '2026-07-20 05:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332554 -2.792296)'), GeomFromEWKT('SRID=4674;POINT (-40.332486 -2.79217)'))) / (select extract(epoch from '2026-07-20 05:11:32'::timestamp) - extract(epoch from '2026-07-20 05:11: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'), 47645, 'SRID=4674;POINT (-40.332427 -2.792045)', '2026-07-20 05:11:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332486 -2.79217)'), GeomFromEWKT('SRID=4674;POINT (-40.332427 -2.792045)'))) / (select extract(epoch from '2026-07-20 05:11:41'::timestamp) - extract(epoch from '2026-07-20 05:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332486 -2.79217)'), GeomFromEWKT('SRID=4674;POINT (-40.332427 -2.792045)'))) / (select extract(epoch from '2026-07-20 05:11:41'::timestamp) - extract(epoch from '2026-07-20 05:11: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'), 47645, 'SRID=4674;POINT (-40.332382 -2.79192)', '2026-07-20 05:11:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332427 -2.792045)'), GeomFromEWKT('SRID=4674;POINT (-40.332382 -2.79192)'))) / (select extract(epoch from '2026-07-20 05:11:49'::timestamp) - extract(epoch from '2026-07-20 05:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332427 -2.792045)'), GeomFromEWKT('SRID=4674;POINT (-40.332382 -2.79192)'))) / (select extract(epoch from '2026-07-20 05:11:49'::timestamp) - extract(epoch from '2026-07-20 05:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.332373 -2.791822)', '2026-07-20 05:11:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332382 -2.79192)'), GeomFromEWKT('SRID=4674;POINT (-40.332373 -2.791822)'))) / (select extract(epoch from '2026-07-20 05:11:56'::timestamp) - extract(epoch from '2026-07-20 05:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332382 -2.79192)'), GeomFromEWKT('SRID=4674;POINT (-40.332373 -2.791822)'))) / (select extract(epoch from '2026-07-20 05:11:56'::timestamp) - extract(epoch from '2026-07-20 05:11: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'), 47645, 'SRID=4674;POINT (-40.332369 -2.791709)', '2026-07-20 05:12:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332373 -2.791822)'), GeomFromEWKT('SRID=4674;POINT (-40.332369 -2.791709)'))) / (select extract(epoch from '2026-07-20 05:12:04'::timestamp) - extract(epoch from '2026-07-20 05:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332373 -2.791822)'), GeomFromEWKT('SRID=4674;POINT (-40.332369 -2.791709)'))) / (select extract(epoch from '2026-07-20 05:12:04'::timestamp) - extract(epoch from '2026-07-20 05:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.33233 -2.79161)', '2026-07-20 05:12:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332369 -2.791709)'), GeomFromEWKT('SRID=4674;POINT (-40.33233 -2.79161)'))) / (select extract(epoch from '2026-07-20 05:12:11'::timestamp) - extract(epoch from '2026-07-20 05:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332369 -2.791709)'), GeomFromEWKT('SRID=4674;POINT (-40.33233 -2.79161)'))) / (select extract(epoch from '2026-07-20 05:12:11'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.332279 -2.791521)', '2026-07-20 05:12:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33233 -2.79161)'), GeomFromEWKT('SRID=4674;POINT (-40.332279 -2.791521)'))) / (select extract(epoch from '2026-07-20 05:12:18'::timestamp) - extract(epoch from '2026-07-20 05:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33233 -2.79161)'), GeomFromEWKT('SRID=4674;POINT (-40.332279 -2.791521)'))) / (select extract(epoch from '2026-07-20 05:12:18'::timestamp) - extract(epoch from '2026-07-20 05:12: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'), 47645, 'SRID=4674;POINT (-40.332263 -2.791415)', '2026-07-20 05:12:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332279 -2.791521)'), GeomFromEWKT('SRID=4674;POINT (-40.332263 -2.791415)'))) / (select extract(epoch from '2026-07-20 05:12:27'::timestamp) - extract(epoch from '2026-07-20 05:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332279 -2.791521)'), GeomFromEWKT('SRID=4674;POINT (-40.332263 -2.791415)'))) / (select extract(epoch from '2026-07-20 05:12:27'::timestamp) - extract(epoch from '2026-07-20 05:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.332226 -2.791309)', '2026-07-20 05:12:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332263 -2.791415)'), GeomFromEWKT('SRID=4674;POINT (-40.332226 -2.791309)'))) / (select extract(epoch from '2026-07-20 05:12:36'::timestamp) - extract(epoch from '2026-07-20 05:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332263 -2.791415)'), GeomFromEWKT('SRID=4674;POINT (-40.332226 -2.791309)'))) / (select extract(epoch from '2026-07-20 05:12:36'::timestamp) - extract(epoch from '2026-07-20 05:12: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'), 47645, 'SRID=4674;POINT (-40.332203 -2.791194)', '2026-07-20 05:12:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332226 -2.791309)'), GeomFromEWKT('SRID=4674;POINT (-40.332203 -2.791194)'))) / (select extract(epoch from '2026-07-20 05:12:44'::timestamp) - extract(epoch from '2026-07-20 05:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332226 -2.791309)'), GeomFromEWKT('SRID=4674;POINT (-40.332203 -2.791194)'))) / (select extract(epoch from '2026-07-20 05:12:44'::timestamp) - extract(epoch from '2026-07-20 05:12: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'), 47645, 'SRID=4674;POINT (-40.332176 -2.791097)', '2026-07-20 05:12:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332203 -2.791194)'), GeomFromEWKT('SRID=4674;POINT (-40.332176 -2.791097)'))) / (select extract(epoch from '2026-07-20 05:12:52'::timestamp) - extract(epoch from '2026-07-20 05:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332203 -2.791194)'), GeomFromEWKT('SRID=4674;POINT (-40.332176 -2.791097)'))) / (select extract(epoch from '2026-07-20 05:12:52'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.332132 -2.790982)', '2026-07-20 05:13:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332176 -2.791097)'), GeomFromEWKT('SRID=4674;POINT (-40.332132 -2.790982)'))) / (select extract(epoch from '2026-07-20 05:13:01'::timestamp) - extract(epoch from '2026-07-20 05:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332176 -2.791097)'), GeomFromEWKT('SRID=4674;POINT (-40.332132 -2.790982)'))) / (select extract(epoch from '2026-07-20 05:13:01'::timestamp) - extract(epoch from '2026-07-20 05:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.332082 -2.790881)', '2026-07-20 05:13:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332132 -2.790982)'), GeomFromEWKT('SRID=4674;POINT (-40.332082 -2.790881)'))) / (select extract(epoch from '2026-07-20 05:13:10'::timestamp) - extract(epoch from '2026-07-20 05:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332132 -2.790982)'), GeomFromEWKT('SRID=4674;POINT (-40.332082 -2.790881)'))) / (select extract(epoch from '2026-07-20 05:13:10'::timestamp) - extract(epoch from '2026-07-20 05:13: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'), 47645, 'SRID=4674;POINT (-40.332034 -2.790775)', '2026-07-20 05:13:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332082 -2.790881)'), GeomFromEWKT('SRID=4674;POINT (-40.332034 -2.790775)'))) / (select extract(epoch from '2026-07-20 05:13:18'::timestamp) - extract(epoch from '2026-07-20 05:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332082 -2.790881)'), GeomFromEWKT('SRID=4674;POINT (-40.332034 -2.790775)'))) / (select extract(epoch from '2026-07-20 05:13:18'::timestamp) - extract(epoch from '2026-07-20 05:13: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'), 47645, 'SRID=4674;POINT (-40.331977 -2.790654)', '2026-07-20 05:13:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332034 -2.790775)'), GeomFromEWKT('SRID=4674;POINT (-40.331977 -2.790654)'))) / (select extract(epoch from '2026-07-20 05:13:27'::timestamp) - extract(epoch from '2026-07-20 05:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332034 -2.790775)'), GeomFromEWKT('SRID=4674;POINT (-40.331977 -2.790654)'))) / (select extract(epoch from '2026-07-20 05:13:27'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.331913 -2.790547)', '2026-07-20 05:13:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331977 -2.790654)'), GeomFromEWKT('SRID=4674;POINT (-40.331913 -2.790547)'))) / (select extract(epoch from '2026-07-20 05:13:35'::timestamp) - extract(epoch from '2026-07-20 05:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331977 -2.790654)'), GeomFromEWKT('SRID=4674;POINT (-40.331913 -2.790547)'))) / (select extract(epoch from '2026-07-20 05:13:35'::timestamp) - extract(epoch from '2026-07-20 05:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331875 -2.790446)', '2026-07-20 05:13:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331913 -2.790547)'), GeomFromEWKT('SRID=4674;POINT (-40.331875 -2.790446)'))) / (select extract(epoch from '2026-07-20 05:13:43'::timestamp) - extract(epoch from '2026-07-20 05:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331913 -2.790547)'), GeomFromEWKT('SRID=4674;POINT (-40.331875 -2.790446)'))) / (select extract(epoch from '2026-07-20 05:13:43'::timestamp) - extract(epoch from '2026-07-20 05:13: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'), 47645, 'SRID=4674;POINT (-40.331832 -2.790362)', '2026-07-20 05:13:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331875 -2.790446)'), GeomFromEWKT('SRID=4674;POINT (-40.331832 -2.790362)'))) / (select extract(epoch from '2026-07-20 05:13:50'::timestamp) - extract(epoch from '2026-07-20 05:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331875 -2.790446)'), GeomFromEWKT('SRID=4674;POINT (-40.331832 -2.790362)'))) / (select extract(epoch from '2026-07-20 05:13:50'::timestamp) - extract(epoch from '2026-07-20 05:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331803 -2.790231)', '2026-07-20 05:13:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331832 -2.790362)'), GeomFromEWKT('SRID=4674;POINT (-40.331803 -2.790231)'))) / (select extract(epoch from '2026-07-20 05:13:59'::timestamp) - extract(epoch from '2026-07-20 05:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331832 -2.790362)'), GeomFromEWKT('SRID=4674;POINT (-40.331803 -2.790231)'))) / (select extract(epoch from '2026-07-20 05:13:59'::timestamp) - extract(epoch from '2026-07-20 05:13: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'), 47645, 'SRID=4674;POINT (-40.331785 -2.790124)', '2026-07-20 05:14:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331803 -2.790231)'), GeomFromEWKT('SRID=4674;POINT (-40.331785 -2.790124)'))) / (select extract(epoch from '2026-07-20 05:14:07'::timestamp) - extract(epoch from '2026-07-20 05:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331803 -2.790231)'), GeomFromEWKT('SRID=4674;POINT (-40.331785 -2.790124)'))) / (select extract(epoch from '2026-07-20 05:14:07'::timestamp) - extract(epoch from '2026-07-20 05:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331774 -2.790023)', '2026-07-20 05:14:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331785 -2.790124)'), GeomFromEWKT('SRID=4674;POINT (-40.331774 -2.790023)'))) / (select extract(epoch from '2026-07-20 05:14:14'::timestamp) - extract(epoch from '2026-07-20 05:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331785 -2.790124)'), GeomFromEWKT('SRID=4674;POINT (-40.331774 -2.790023)'))) / (select extract(epoch from '2026-07-20 05:14:14'::timestamp) - extract(epoch from '2026-07-20 05:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331773 -2.789896)', '2026-07-20 05:14:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331774 -2.790023)'), GeomFromEWKT('SRID=4674;POINT (-40.331773 -2.789896)'))) / (select extract(epoch from '2026-07-20 05:14:22'::timestamp) - extract(epoch from '2026-07-20 05:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331774 -2.790023)'), GeomFromEWKT('SRID=4674;POINT (-40.331773 -2.789896)'))) / (select extract(epoch from '2026-07-20 05:14:22'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.331751 -2.789802)', '2026-07-20 05:14:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331773 -2.789896)'), GeomFromEWKT('SRID=4674;POINT (-40.331751 -2.789802)'))) / (select extract(epoch from '2026-07-20 05:14:29'::timestamp) - extract(epoch from '2026-07-20 05:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331773 -2.789896)'), GeomFromEWKT('SRID=4674;POINT (-40.331751 -2.789802)'))) / (select extract(epoch from '2026-07-20 05:14:29'::timestamp) - extract(epoch from '2026-07-20 05:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331724 -2.789685)', '2026-07-20 05:14:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331751 -2.789802)'), GeomFromEWKT('SRID=4674;POINT (-40.331724 -2.789685)'))) / (select extract(epoch from '2026-07-20 05:14:37'::timestamp) - extract(epoch from '2026-07-20 05:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331751 -2.789802)'), GeomFromEWKT('SRID=4674;POINT (-40.331724 -2.789685)'))) / (select extract(epoch from '2026-07-20 05:14:37'::timestamp) - extract(epoch from '2026-07-20 05:14: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'), 47645, 'SRID=4674;POINT (-40.331705 -2.789527)', '2026-07-20 05:14:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331724 -2.789685)'), GeomFromEWKT('SRID=4674;POINT (-40.331705 -2.789527)'))) / (select extract(epoch from '2026-07-20 05:14:46'::timestamp) - extract(epoch from '2026-07-20 05:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331724 -2.789685)'), GeomFromEWKT('SRID=4674;POINT (-40.331705 -2.789527)'))) / (select extract(epoch from '2026-07-20 05:14:46'::timestamp) - extract(epoch from '2026-07-20 05:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331697 -2.7894)', '2026-07-20 05:14:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331705 -2.789527)'), GeomFromEWKT('SRID=4674;POINT (-40.331697 -2.7894)'))) / (select extract(epoch from '2026-07-20 05:14:54'::timestamp) - extract(epoch from '2026-07-20 05:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331705 -2.789527)'), GeomFromEWKT('SRID=4674;POINT (-40.331697 -2.7894)'))) / (select extract(epoch from '2026-07-20 05:14:54'::timestamp) - extract(epoch from '2026-07-20 05:14: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'), 47645, 'SRID=4674;POINT (-40.331687 -2.789252)', '2026-07-20 05:15:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331697 -2.7894)'), GeomFromEWKT('SRID=4674;POINT (-40.331687 -2.789252)'))) / (select extract(epoch from '2026-07-20 05:15:03'::timestamp) - extract(epoch from '2026-07-20 05:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331697 -2.7894)'), GeomFromEWKT('SRID=4674;POINT (-40.331687 -2.789252)'))) / (select extract(epoch from '2026-07-20 05:15:03'::timestamp) - extract(epoch from '2026-07-20 05:14: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'), 47645, 'SRID=4674;POINT (-40.331678 -2.789144)', '2026-07-20 05:15:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331687 -2.789252)'), GeomFromEWKT('SRID=4674;POINT (-40.331678 -2.789144)'))) / (select extract(epoch from '2026-07-20 05:15:11'::timestamp) - extract(epoch from '2026-07-20 05:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331687 -2.789252)'), GeomFromEWKT('SRID=4674;POINT (-40.331678 -2.789144)'))) / (select extract(epoch from '2026-07-20 05:15:11'::timestamp) - extract(epoch from '2026-07-20 05:15: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'), 47645, 'SRID=4674;POINT (-40.331676 -2.789046)', '2026-07-20 05:15:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331678 -2.789144)'), GeomFromEWKT('SRID=4674;POINT (-40.331676 -2.789046)'))) / (select extract(epoch from '2026-07-20 05:15:18'::timestamp) - extract(epoch from '2026-07-20 05:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331678 -2.789144)'), GeomFromEWKT('SRID=4674;POINT (-40.331676 -2.789046)'))) / (select extract(epoch from '2026-07-20 05:15:18'::timestamp) - extract(epoch from '2026-07-20 05:15: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'), 47645, 'SRID=4674;POINT (-40.331696 -2.788941)', '2026-07-20 05:15:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331676 -2.789046)'), GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.788941)'))) / (select extract(epoch from '2026-07-20 05:15:25'::timestamp) - extract(epoch from '2026-07-20 05:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331676 -2.789046)'), GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.788941)'))) / (select extract(epoch from '2026-07-20 05:15:25'::timestamp) - extract(epoch from '2026-07-20 05:15: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'), 47645, 'SRID=4674;POINT (-40.331695 -2.788796)', '2026-07-20 05:15:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.788941)'), GeomFromEWKT('SRID=4674;POINT (-40.331695 -2.788796)'))) / (select extract(epoch from '2026-07-20 05:15:34'::timestamp) - extract(epoch from '2026-07-20 05:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.788941)'), GeomFromEWKT('SRID=4674;POINT (-40.331695 -2.788796)'))) / (select extract(epoch from '2026-07-20 05:15:34'::timestamp) - extract(epoch from '2026-07-20 05:15: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'), 47645, 'SRID=4674;POINT (-40.331693 -2.788733)', '2026-07-20 05:15:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331695 -2.788796)'), GeomFromEWKT('SRID=4674;POINT (-40.331693 -2.788733)'))) / (select extract(epoch from '2026-07-20 05:15:39'::timestamp) - extract(epoch from '2026-07-20 05:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331695 -2.788796)'), GeomFromEWKT('SRID=4674;POINT (-40.331693 -2.788733)'))) / (select extract(epoch from '2026-07-20 05:15:39'::timestamp) - extract(epoch from '2026-07-20 05:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331696 -2.788714)', '2026-07-20 05:15:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331693 -2.788733)'), GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.788714)'))) / (select extract(epoch from '2026-07-20 05:15:41'::timestamp) - extract(epoch from '2026-07-20 05:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331693 -2.788733)'), GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.788714)'))) / (select extract(epoch from '2026-07-20 05:15:41'::timestamp) - extract(epoch from '2026-07-20 05:15: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'), 47645, 'SRID=4674;POINT (-40.331682 -2.788632)', '2026-07-20 05:15:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.788714)'), GeomFromEWKT('SRID=4674;POINT (-40.331682 -2.788632)'))) / (select extract(epoch from '2026-07-20 05:15:48'::timestamp) - extract(epoch from '2026-07-20 05:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.788714)'), GeomFromEWKT('SRID=4674;POINT (-40.331682 -2.788632)'))) / (select extract(epoch from '2026-07-20 05:15:48'::timestamp) - extract(epoch from '2026-07-20 05:15: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'), 47645, 'SRID=4674;POINT (-40.331666 -2.788538)', '2026-07-20 05:15:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331682 -2.788632)'), GeomFromEWKT('SRID=4674;POINT (-40.331666 -2.788538)'))) / (select extract(epoch from '2026-07-20 05:15:55'::timestamp) - extract(epoch from '2026-07-20 05:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331682 -2.788632)'), GeomFromEWKT('SRID=4674;POINT (-40.331666 -2.788538)'))) / (select extract(epoch from '2026-07-20 05:15:55'::timestamp) - extract(epoch from '2026-07-20 05:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331655 -2.788432)', '2026-07-20 05:16:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331666 -2.788538)'), GeomFromEWKT('SRID=4674;POINT (-40.331655 -2.788432)'))) / (select extract(epoch from '2026-07-20 05:16:03'::timestamp) - extract(epoch from '2026-07-20 05:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331666 -2.788538)'), GeomFromEWKT('SRID=4674;POINT (-40.331655 -2.788432)'))) / (select extract(epoch from '2026-07-20 05:16:03'::timestamp) - extract(epoch from '2026-07-20 05:15: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'), 47645, 'SRID=4674;POINT (-40.331631 -2.788312)', '2026-07-20 05:16:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331655 -2.788432)'), GeomFromEWKT('SRID=4674;POINT (-40.331631 -2.788312)'))) / (select extract(epoch from '2026-07-20 05:16:11'::timestamp) - extract(epoch from '2026-07-20 05:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331655 -2.788432)'), GeomFromEWKT('SRID=4674;POINT (-40.331631 -2.788312)'))) / (select extract(epoch from '2026-07-20 05:16:11'::timestamp) - extract(epoch from '2026-07-20 05:16: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'), 47645, 'SRID=4674;POINT (-40.331596 -2.788217)', '2026-07-20 05:16:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331631 -2.788312)'), GeomFromEWKT('SRID=4674;POINT (-40.331596 -2.788217)'))) / (select extract(epoch from '2026-07-20 05:16:18'::timestamp) - extract(epoch from '2026-07-20 05:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331631 -2.788312)'), GeomFromEWKT('SRID=4674;POINT (-40.331596 -2.788217)'))) / (select extract(epoch from '2026-07-20 05:16:18'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.331573 -2.788128)', '2026-07-20 05:16:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331596 -2.788217)'), GeomFromEWKT('SRID=4674;POINT (-40.331573 -2.788128)'))) / (select extract(epoch from '2026-07-20 05:16:25'::timestamp) - extract(epoch from '2026-07-20 05:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331596 -2.788217)'), GeomFromEWKT('SRID=4674;POINT (-40.331573 -2.788128)'))) / (select extract(epoch from '2026-07-20 05:16:25'::timestamp) - extract(epoch from '2026-07-20 05:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.33153 -2.788018)', '2026-07-20 05:16:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331573 -2.788128)'), GeomFromEWKT('SRID=4674;POINT (-40.33153 -2.788018)'))) / (select extract(epoch from '2026-07-20 05:16:33'::timestamp) - extract(epoch from '2026-07-20 05:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331573 -2.788128)'), GeomFromEWKT('SRID=4674;POINT (-40.33153 -2.788018)'))) / (select extract(epoch from '2026-07-20 05:16:33'::timestamp) - extract(epoch from '2026-07-20 05:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331507 -2.787909)', '2026-07-20 05:16:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33153 -2.788018)'), GeomFromEWKT('SRID=4674;POINT (-40.331507 -2.787909)'))) / (select extract(epoch from '2026-07-20 05:16:40'::timestamp) - extract(epoch from '2026-07-20 05:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33153 -2.788018)'), GeomFromEWKT('SRID=4674;POINT (-40.331507 -2.787909)'))) / (select extract(epoch from '2026-07-20 05:16:40'::timestamp) - extract(epoch from '2026-07-20 05:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331496 -2.787802)', '2026-07-20 05:16:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331507 -2.787909)'), GeomFromEWKT('SRID=4674;POINT (-40.331496 -2.787802)'))) / (select extract(epoch from '2026-07-20 05:16:48'::timestamp) - extract(epoch from '2026-07-20 05:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331507 -2.787909)'), GeomFromEWKT('SRID=4674;POINT (-40.331496 -2.787802)'))) / (select extract(epoch from '2026-07-20 05:16:48'::timestamp) - extract(epoch from '2026-07-20 05:16: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'), 47645, 'SRID=4674;POINT (-40.331481 -2.787713)', '2026-07-20 05:16:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331496 -2.787802)'), GeomFromEWKT('SRID=4674;POINT (-40.331481 -2.787713)'))) / (select extract(epoch from '2026-07-20 05:16:54'::timestamp) - extract(epoch from '2026-07-20 05:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331496 -2.787802)'), GeomFromEWKT('SRID=4674;POINT (-40.331481 -2.787713)'))) / (select extract(epoch from '2026-07-20 05:16:54'::timestamp) - extract(epoch from '2026-07-20 05:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331445 -2.7876)', '2026-07-20 05:17:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331481 -2.787713)'), GeomFromEWKT('SRID=4674;POINT (-40.331445 -2.7876)'))) / (select extract(epoch from '2026-07-20 05:17:02'::timestamp) - extract(epoch from '2026-07-20 05:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331481 -2.787713)'), GeomFromEWKT('SRID=4674;POINT (-40.331445 -2.7876)'))) / (select extract(epoch from '2026-07-20 05:17:02'::timestamp) - extract(epoch from '2026-07-20 05:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331406 -2.787464)', '2026-07-20 05:17:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331445 -2.7876)'), GeomFromEWKT('SRID=4674;POINT (-40.331406 -2.787464)'))) / (select extract(epoch from '2026-07-20 05:17:11'::timestamp) - extract(epoch from '2026-07-20 05:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331445 -2.7876)'), GeomFromEWKT('SRID=4674;POINT (-40.331406 -2.787464)'))) / (select extract(epoch from '2026-07-20 05:17:11'::timestamp) - extract(epoch from '2026-07-20 05:17: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'), 47645, 'SRID=4674;POINT (-40.331356 -2.787327)', '2026-07-20 05:17:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331406 -2.787464)'), GeomFromEWKT('SRID=4674;POINT (-40.331356 -2.787327)'))) / (select extract(epoch from '2026-07-20 05:17:21'::timestamp) - extract(epoch from '2026-07-20 05:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331406 -2.787464)'), GeomFromEWKT('SRID=4674;POINT (-40.331356 -2.787327)'))) / (select extract(epoch from '2026-07-20 05:17:21'::timestamp) - extract(epoch from '2026-07-20 05:17: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'), 47645, 'SRID=4674;POINT (-40.331321 -2.787242)', '2026-07-20 05:17:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331356 -2.787327)'), GeomFromEWKT('SRID=4674;POINT (-40.331321 -2.787242)'))) / (select extract(epoch from '2026-07-20 05:17:27'::timestamp) - extract(epoch from '2026-07-20 05:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331356 -2.787327)'), GeomFromEWKT('SRID=4674;POINT (-40.331321 -2.787242)'))) / (select extract(epoch from '2026-07-20 05:17:27'::timestamp) - extract(epoch from '2026-07-20 05:17: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'), 47645, 'SRID=4674;POINT (-40.331283 -2.787153)', '2026-07-20 05:17:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331321 -2.787242)'), GeomFromEWKT('SRID=4674;POINT (-40.331283 -2.787153)'))) / (select extract(epoch from '2026-07-20 05:17:33'::timestamp) - extract(epoch from '2026-07-20 05:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331321 -2.787242)'), GeomFromEWKT('SRID=4674;POINT (-40.331283 -2.787153)'))) / (select extract(epoch from '2026-07-20 05:17:33'::timestamp) - extract(epoch from '2026-07-20 05:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.331258 -2.787065)', '2026-07-20 05:17:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331283 -2.787153)'), GeomFromEWKT('SRID=4674;POINT (-40.331258 -2.787065)'))) / (select extract(epoch from '2026-07-20 05:17:40'::timestamp) - extract(epoch from '2026-07-20 05:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331283 -2.787153)'), GeomFromEWKT('SRID=4674;POINT (-40.331258 -2.787065)'))) / (select extract(epoch from '2026-07-20 05:17:40'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.331217 -2.786966)', '2026-07-20 05:17:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331258 -2.787065)'), GeomFromEWKT('SRID=4674;POINT (-40.331217 -2.786966)'))) / (select extract(epoch from '2026-07-20 05:17:47'::timestamp) - extract(epoch from '2026-07-20 05:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331258 -2.787065)'), GeomFromEWKT('SRID=4674;POINT (-40.331217 -2.786966)'))) / (select extract(epoch from '2026-07-20 05:17:47'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.331176 -2.786835)', '2026-07-20 05:17:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331217 -2.786966)'), GeomFromEWKT('SRID=4674;POINT (-40.331176 -2.786835)'))) / (select extract(epoch from '2026-07-20 05:17:56'::timestamp) - extract(epoch from '2026-07-20 05:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331217 -2.786966)'), GeomFromEWKT('SRID=4674;POINT (-40.331176 -2.786835)'))) / (select extract(epoch from '2026-07-20 05:17:56'::timestamp) - extract(epoch from '2026-07-20 05:17: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'), 47645, 'SRID=4674;POINT (-40.331133 -2.786731)', '2026-07-20 05:18:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331176 -2.786835)'), GeomFromEWKT('SRID=4674;POINT (-40.331133 -2.786731)'))) / (select extract(epoch from '2026-07-20 05:18:04'::timestamp) - extract(epoch from '2026-07-20 05:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331176 -2.786835)'), GeomFromEWKT('SRID=4674;POINT (-40.331133 -2.786731)'))) / (select extract(epoch from '2026-07-20 05:18:04'::timestamp) - extract(epoch from '2026-07-20 05:17: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'), 47645, 'SRID=4674;POINT (-40.331131 -2.786719)', '2026-07-20 05:18:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331133 -2.786731)'), GeomFromEWKT('SRID=4674;POINT (-40.331131 -2.786719)'))) / (select extract(epoch from '2026-07-20 05:18:05'::timestamp) - extract(epoch from '2026-07-20 05:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331133 -2.786731)'), GeomFromEWKT('SRID=4674;POINT (-40.331131 -2.786719)'))) / (select extract(epoch from '2026-07-20 05:18:05'::timestamp) - extract(epoch from '2026-07-20 05:18: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'), 47645, 'SRID=4674;POINT (-40.331118 -2.786663)', '2026-07-20 05:18:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331131 -2.786719)'), GeomFromEWKT('SRID=4674;POINT (-40.331118 -2.786663)'))) / (select extract(epoch from '2026-07-20 05:18:10'::timestamp) - extract(epoch from '2026-07-20 05:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331131 -2.786719)'), GeomFromEWKT('SRID=4674;POINT (-40.331118 -2.786663)'))) / (select extract(epoch from '2026-07-20 05:18:10'::timestamp) - extract(epoch from '2026-07-20 05:18: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'), 47645, 'SRID=4674;POINT (-40.331095 -2.786588)', '2026-07-20 05:18:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331118 -2.786663)'), GeomFromEWKT('SRID=4674;POINT (-40.331095 -2.786588)'))) / (select extract(epoch from '2026-07-20 05:18:16'::timestamp) - extract(epoch from '2026-07-20 05:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331118 -2.786663)'), GeomFromEWKT('SRID=4674;POINT (-40.331095 -2.786588)'))) / (select extract(epoch from '2026-07-20 05:18:16'::timestamp) - extract(epoch from '2026-07-20 05:18: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'), 47645, 'SRID=4674;POINT (-40.331059 -2.786503)', '2026-07-20 05:18:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331095 -2.786588)'), GeomFromEWKT('SRID=4674;POINT (-40.331059 -2.786503)'))) / (select extract(epoch from '2026-07-20 05:18:23'::timestamp) - extract(epoch from '2026-07-20 05:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331095 -2.786588)'), GeomFromEWKT('SRID=4674;POINT (-40.331059 -2.786503)'))) / (select extract(epoch from '2026-07-20 05:18:23'::timestamp) - extract(epoch from '2026-07-20 05:18: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'), 47645, 'SRID=4674;POINT (-40.331029 -2.7864)', '2026-07-20 05:18:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331059 -2.786503)'), GeomFromEWKT('SRID=4674;POINT (-40.331029 -2.7864)'))) / (select extract(epoch from '2026-07-20 05:18:30'::timestamp) - extract(epoch from '2026-07-20 05:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331059 -2.786503)'), GeomFromEWKT('SRID=4674;POINT (-40.331029 -2.7864)'))) / (select extract(epoch from '2026-07-20 05:18:30'::timestamp) - extract(epoch from '2026-07-20 05:18: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'), 47645, 'SRID=4674;POINT (-40.330988 -2.786309)', '2026-07-20 05:18:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331029 -2.7864)'), GeomFromEWKT('SRID=4674;POINT (-40.330988 -2.786309)'))) / (select extract(epoch from '2026-07-20 05:18:37'::timestamp) - extract(epoch from '2026-07-20 05:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331029 -2.7864)'), GeomFromEWKT('SRID=4674;POINT (-40.330988 -2.786309)'))) / (select extract(epoch from '2026-07-20 05:18:37'::timestamp) - extract(epoch from '2026-07-20 05:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.330952 -2.786224)', '2026-07-20 05:18:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330988 -2.786309)'), GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.786224)'))) / (select extract(epoch from '2026-07-20 05:18:44'::timestamp) - extract(epoch from '2026-07-20 05:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330988 -2.786309)'), GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.786224)'))) / (select extract(epoch from '2026-07-20 05:18:44'::timestamp) - extract(epoch from '2026-07-20 05:18: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'), 47645, 'SRID=4674;POINT (-40.330926 -2.786146)', '2026-07-20 05:18:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.786224)'), GeomFromEWKT('SRID=4674;POINT (-40.330926 -2.786146)'))) / (select extract(epoch from '2026-07-20 05:18:51'::timestamp) - extract(epoch from '2026-07-20 05:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330952 -2.786224)'), GeomFromEWKT('SRID=4674;POINT (-40.330926 -2.786146)'))) / (select extract(epoch from '2026-07-20 05:18:51'::timestamp) - extract(epoch from '2026-07-20 05:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.330904 -2.786059)', '2026-07-20 05:18:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330926 -2.786146)'), GeomFromEWKT('SRID=4674;POINT (-40.330904 -2.786059)'))) / (select extract(epoch from '2026-07-20 05:18:58'::timestamp) - extract(epoch from '2026-07-20 05:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330926 -2.786146)'), GeomFromEWKT('SRID=4674;POINT (-40.330904 -2.786059)'))) / (select extract(epoch from '2026-07-20 05:18:58'::timestamp) - extract(epoch from '2026-07-20 05:18: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'), 47645, 'SRID=4674;POINT (-40.330868 -2.785962)', '2026-07-20 05:19:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330904 -2.786059)'), GeomFromEWKT('SRID=4674;POINT (-40.330868 -2.785962)'))) / (select extract(epoch from '2026-07-20 05:19:07'::timestamp) - extract(epoch from '2026-07-20 05:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330904 -2.786059)'), GeomFromEWKT('SRID=4674;POINT (-40.330868 -2.785962)'))) / (select extract(epoch from '2026-07-20 05:19:07'::timestamp) - extract(epoch from '2026-07-20 05:18: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'), 47645, 'SRID=4674;POINT (-40.330803 -2.785842)', '2026-07-20 05:19:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330868 -2.785962)'), GeomFromEWKT('SRID=4674;POINT (-40.330803 -2.785842)'))) / (select extract(epoch from '2026-07-20 05:19:16'::timestamp) - extract(epoch from '2026-07-20 05:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330868 -2.785962)'), GeomFromEWKT('SRID=4674;POINT (-40.330803 -2.785842)'))) / (select extract(epoch from '2026-07-20 05:19:16'::timestamp) - extract(epoch from '2026-07-20 05:19: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'), 47645, 'SRID=4674;POINT (-40.33076 -2.785762)', '2026-07-20 05:19:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330803 -2.785842)'), GeomFromEWKT('SRID=4674;POINT (-40.33076 -2.785762)'))) / (select extract(epoch from '2026-07-20 05:19:23'::timestamp) - extract(epoch from '2026-07-20 05:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330803 -2.785842)'), GeomFromEWKT('SRID=4674;POINT (-40.33076 -2.785762)'))) / (select extract(epoch from '2026-07-20 05:19:23'::timestamp) - extract(epoch from '2026-07-20 05:19: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'), 47645, 'SRID=4674;POINT (-40.330717 -2.785692)', '2026-07-20 05:19:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33076 -2.785762)'), GeomFromEWKT('SRID=4674;POINT (-40.330717 -2.785692)'))) / (select extract(epoch from '2026-07-20 05:19:31'::timestamp) - extract(epoch from '2026-07-20 05:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33076 -2.785762)'), GeomFromEWKT('SRID=4674;POINT (-40.330717 -2.785692)'))) / (select extract(epoch from '2026-07-20 05:19:31'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.330663 -2.785617)', '2026-07-20 05:19:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330717 -2.785692)'), GeomFromEWKT('SRID=4674;POINT (-40.330663 -2.785617)'))) / (select extract(epoch from '2026-07-20 05:19:39'::timestamp) - extract(epoch from '2026-07-20 05:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330717 -2.785692)'), GeomFromEWKT('SRID=4674;POINT (-40.330663 -2.785617)'))) / (select extract(epoch from '2026-07-20 05:19:39'::timestamp) - extract(epoch from '2026-07-20 05:19: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'), 47645, 'SRID=4674;POINT (-40.330602 -2.785494)', '2026-07-20 05:19:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330663 -2.785617)'), GeomFromEWKT('SRID=4674;POINT (-40.330602 -2.785494)'))) / (select extract(epoch from '2026-07-20 05:19:48'::timestamp) - extract(epoch from '2026-07-20 05:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330663 -2.785617)'), GeomFromEWKT('SRID=4674;POINT (-40.330602 -2.785494)'))) / (select extract(epoch from '2026-07-20 05:19:48'::timestamp) - extract(epoch from '2026-07-20 05:19: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'), 47645, 'SRID=4674;POINT (-40.330546 -2.785426)', '2026-07-20 05:19:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330602 -2.785494)'), GeomFromEWKT('SRID=4674;POINT (-40.330546 -2.785426)'))) / (select extract(epoch from '2026-07-20 05:19:54'::timestamp) - extract(epoch from '2026-07-20 05:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330602 -2.785494)'), GeomFromEWKT('SRID=4674;POINT (-40.330546 -2.785426)'))) / (select extract(epoch from '2026-07-20 05:19:54'::timestamp) - extract(epoch from '2026-07-20 05:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.330508 -2.785362)', '2026-07-20 05:20:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330546 -2.785426)'), GeomFromEWKT('SRID=4674;POINT (-40.330508 -2.785362)'))) / (select extract(epoch from '2026-07-20 05:20:00'::timestamp) - extract(epoch from '2026-07-20 05:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330546 -2.785426)'), GeomFromEWKT('SRID=4674;POINT (-40.330508 -2.785362)'))) / (select extract(epoch from '2026-07-20 05:20:00'::timestamp) - extract(epoch from '2026-07-20 05:19: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'), 47645, 'SRID=4674;POINT (-40.330462 -2.785253)', '2026-07-20 05:20:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330508 -2.785362)'), GeomFromEWKT('SRID=4674;POINT (-40.330462 -2.785253)'))) / (select extract(epoch from '2026-07-20 05:20:09'::timestamp) - extract(epoch from '2026-07-20 05:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330508 -2.785362)'), GeomFromEWKT('SRID=4674;POINT (-40.330462 -2.785253)'))) / (select extract(epoch from '2026-07-20 05:20:09'::timestamp) - extract(epoch from '2026-07-20 05:20: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'), 47645, 'SRID=4674;POINT (-40.330439 -2.785199)', '2026-07-20 05:20:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330462 -2.785253)'), GeomFromEWKT('SRID=4674;POINT (-40.330439 -2.785199)'))) / (select extract(epoch from '2026-07-20 05:20:16'::timestamp) - extract(epoch from '2026-07-20 05:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330462 -2.785253)'), GeomFromEWKT('SRID=4674;POINT (-40.330439 -2.785199)'))) / (select extract(epoch from '2026-07-20 05:20:16'::timestamp) - extract(epoch from '2026-07-20 05:20: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'), 47645, 'SRID=4674;POINT (-40.33038 -2.78509)', '2026-07-20 05:20:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330439 -2.785199)'), GeomFromEWKT('SRID=4674;POINT (-40.33038 -2.78509)'))) / (select extract(epoch from '2026-07-20 05:20:26'::timestamp) - extract(epoch from '2026-07-20 05:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330439 -2.785199)'), GeomFromEWKT('SRID=4674;POINT (-40.33038 -2.78509)'))) / (select extract(epoch from '2026-07-20 05:20:26'::timestamp) - extract(epoch from '2026-07-20 05:20: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'), 47645, 'SRID=4674;POINT (-40.330352 -2.785015)', '2026-07-20 05:20:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33038 -2.78509)'), GeomFromEWKT('SRID=4674;POINT (-40.330352 -2.785015)'))) / (select extract(epoch from '2026-07-20 05:20:32'::timestamp) - extract(epoch from '2026-07-20 05:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33038 -2.78509)'), GeomFromEWKT('SRID=4674;POINT (-40.330352 -2.785015)'))) / (select extract(epoch from '2026-07-20 05:20:32'::timestamp) - extract(epoch from '2026-07-20 05:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.330306 -2.784903)', '2026-07-20 05:20:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330352 -2.785015)'), GeomFromEWKT('SRID=4674;POINT (-40.330306 -2.784903)'))) / (select extract(epoch from '2026-07-20 05:20:41'::timestamp) - extract(epoch from '2026-07-20 05:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330352 -2.785015)'), GeomFromEWKT('SRID=4674;POINT (-40.330306 -2.784903)'))) / (select extract(epoch from '2026-07-20 05:20:41'::timestamp) - extract(epoch from '2026-07-20 05:20: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'), 47645, 'SRID=4674;POINT (-40.33025 -2.784776)', '2026-07-20 05:20:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330306 -2.784903)'), GeomFromEWKT('SRID=4674;POINT (-40.33025 -2.784776)'))) / (select extract(epoch from '2026-07-20 05:20:50'::timestamp) - extract(epoch from '2026-07-20 05:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330306 -2.784903)'), GeomFromEWKT('SRID=4674;POINT (-40.33025 -2.784776)'))) / (select extract(epoch from '2026-07-20 05:20:50'::timestamp) - extract(epoch from '2026-07-20 05:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.330194 -2.784669)', '2026-07-20 05:20:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33025 -2.784776)'), GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.784669)'))) / (select extract(epoch from '2026-07-20 05:20:58'::timestamp) - extract(epoch from '2026-07-20 05:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33025 -2.784776)'), GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.784669)'))) / (select extract(epoch from '2026-07-20 05:20:58'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.330162 -2.784576)', '2026-07-20 05:21:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.784669)'), GeomFromEWKT('SRID=4674;POINT (-40.330162 -2.784576)'))) / (select extract(epoch from '2026-07-20 05:21:05'::timestamp) - extract(epoch from '2026-07-20 05:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330194 -2.784669)'), GeomFromEWKT('SRID=4674;POINT (-40.330162 -2.784576)'))) / (select extract(epoch from '2026-07-20 05:21:05'::timestamp) - extract(epoch from '2026-07-20 05:20: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'), 47645, 'SRID=4674;POINT (-40.330115 -2.784476)', '2026-07-20 05:21:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330162 -2.784576)'), GeomFromEWKT('SRID=4674;POINT (-40.330115 -2.784476)'))) / (select extract(epoch from '2026-07-20 05:21:13'::timestamp) - extract(epoch from '2026-07-20 05:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330162 -2.784576)'), GeomFromEWKT('SRID=4674;POINT (-40.330115 -2.784476)'))) / (select extract(epoch from '2026-07-20 05:21:13'::timestamp) - extract(epoch from '2026-07-20 05:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.33007 -2.784384)', '2026-07-20 05:21:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330115 -2.784476)'), GeomFromEWKT('SRID=4674;POINT (-40.33007 -2.784384)'))) / (select extract(epoch from '2026-07-20 05:21:21'::timestamp) - extract(epoch from '2026-07-20 05:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330115 -2.784476)'), GeomFromEWKT('SRID=4674;POINT (-40.33007 -2.784384)'))) / (select extract(epoch from '2026-07-20 05:21:21'::timestamp) - extract(epoch from '2026-07-20 05:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.330027 -2.784289)', '2026-07-20 05:21:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33007 -2.784384)'), GeomFromEWKT('SRID=4674;POINT (-40.330027 -2.784289)'))) / (select extract(epoch from '2026-07-20 05:21:28'::timestamp) - extract(epoch from '2026-07-20 05:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33007 -2.784384)'), GeomFromEWKT('SRID=4674;POINT (-40.330027 -2.784289)'))) / (select extract(epoch from '2026-07-20 05:21:28'::timestamp) - extract(epoch from '2026-07-20 05:21: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'), 47645, 'SRID=4674;POINT (-40.33001 -2.78422)', '2026-07-20 05:21:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330027 -2.784289)'), GeomFromEWKT('SRID=4674;POINT (-40.33001 -2.78422)'))) / (select extract(epoch from '2026-07-20 05:21:34'::timestamp) - extract(epoch from '2026-07-20 05:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330027 -2.784289)'), GeomFromEWKT('SRID=4674;POINT (-40.33001 -2.78422)'))) / (select extract(epoch from '2026-07-20 05:21:34'::timestamp) - extract(epoch from '2026-07-20 05:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329988 -2.78411)', '2026-07-20 05:21:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33001 -2.78422)'), GeomFromEWKT('SRID=4674;POINT (-40.329988 -2.78411)'))) / (select extract(epoch from '2026-07-20 05:21:42'::timestamp) - extract(epoch from '2026-07-20 05:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33001 -2.78422)'), GeomFromEWKT('SRID=4674;POINT (-40.329988 -2.78411)'))) / (select extract(epoch from '2026-07-20 05:21:42'::timestamp) - extract(epoch from '2026-07-20 05:21: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'), 47645, 'SRID=4674;POINT (-40.329979 -2.784002)', '2026-07-20 05:21:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329988 -2.78411)'), GeomFromEWKT('SRID=4674;POINT (-40.329979 -2.784002)'))) / (select extract(epoch from '2026-07-20 05:21:50'::timestamp) - extract(epoch from '2026-07-20 05:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329988 -2.78411)'), GeomFromEWKT('SRID=4674;POINT (-40.329979 -2.784002)'))) / (select extract(epoch from '2026-07-20 05:21:50'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329939 -2.783902)', '2026-07-20 05:21:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329979 -2.784002)'), GeomFromEWKT('SRID=4674;POINT (-40.329939 -2.783902)'))) / (select extract(epoch from '2026-07-20 05:21:57'::timestamp) - extract(epoch from '2026-07-20 05:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329979 -2.784002)'), GeomFromEWKT('SRID=4674;POINT (-40.329939 -2.783902)'))) / (select extract(epoch from '2026-07-20 05:21:57'::timestamp) - extract(epoch from '2026-07-20 05:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329905 -2.783792)', '2026-07-20 05:22:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329939 -2.783902)'), GeomFromEWKT('SRID=4674;POINT (-40.329905 -2.783792)'))) / (select extract(epoch from '2026-07-20 05:22:04'::timestamp) - extract(epoch from '2026-07-20 05:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329939 -2.783902)'), GeomFromEWKT('SRID=4674;POINT (-40.329905 -2.783792)'))) / (select extract(epoch from '2026-07-20 05:22:04'::timestamp) - extract(epoch from '2026-07-20 05:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329873 -2.783704)', '2026-07-20 05:22:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329905 -2.783792)'), GeomFromEWKT('SRID=4674;POINT (-40.329873 -2.783704)'))) / (select extract(epoch from '2026-07-20 05:22:10'::timestamp) - extract(epoch from '2026-07-20 05:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329905 -2.783792)'), GeomFromEWKT('SRID=4674;POINT (-40.329873 -2.783704)'))) / (select extract(epoch from '2026-07-20 05:22:10'::timestamp) - extract(epoch from '2026-07-20 05:22: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'), 47645, 'SRID=4674;POINT (-40.329856 -2.783599)', '2026-07-20 05:22:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329873 -2.783704)'), GeomFromEWKT('SRID=4674;POINT (-40.329856 -2.783599)'))) / (select extract(epoch from '2026-07-20 05:22:18'::timestamp) - extract(epoch from '2026-07-20 05:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329873 -2.783704)'), GeomFromEWKT('SRID=4674;POINT (-40.329856 -2.783599)'))) / (select extract(epoch from '2026-07-20 05:22:18'::timestamp) - extract(epoch from '2026-07-20 05:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329828 -2.783492)', '2026-07-20 05:22:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329856 -2.783599)'), GeomFromEWKT('SRID=4674;POINT (-40.329828 -2.783492)'))) / (select extract(epoch from '2026-07-20 05:22:26'::timestamp) - extract(epoch from '2026-07-20 05:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329856 -2.783599)'), GeomFromEWKT('SRID=4674;POINT (-40.329828 -2.783492)'))) / (select extract(epoch from '2026-07-20 05:22:26'::timestamp) - extract(epoch from '2026-07-20 05:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329811 -2.783381)', '2026-07-20 05:22:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329828 -2.783492)'), GeomFromEWKT('SRID=4674;POINT (-40.329811 -2.783381)'))) / (select extract(epoch from '2026-07-20 05:22:34'::timestamp) - extract(epoch from '2026-07-20 05:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329828 -2.783492)'), GeomFromEWKT('SRID=4674;POINT (-40.329811 -2.783381)'))) / (select extract(epoch from '2026-07-20 05:22:34'::timestamp) - extract(epoch from '2026-07-20 05:22: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'), 47645, 'SRID=4674;POINT (-40.329799 -2.783282)', '2026-07-20 05:22:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329811 -2.783381)'), GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.783282)'))) / (select extract(epoch from '2026-07-20 05:22:41'::timestamp) - extract(epoch from '2026-07-20 05:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329811 -2.783381)'), GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.783282)'))) / (select extract(epoch from '2026-07-20 05:22:41'::timestamp) - extract(epoch from '2026-07-20 05:22: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'), 47645, 'SRID=4674;POINT (-40.329792 -2.783134)', '2026-07-20 05:22:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.783282)'), GeomFromEWKT('SRID=4674;POINT (-40.329792 -2.783134)'))) / (select extract(epoch from '2026-07-20 05:22:51'::timestamp) - extract(epoch from '2026-07-20 05:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.783282)'), GeomFromEWKT('SRID=4674;POINT (-40.329792 -2.783134)'))) / (select extract(epoch from '2026-07-20 05:22:51'::timestamp) - extract(epoch from '2026-07-20 05:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329769 -2.783013)', '2026-07-20 05:22:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329792 -2.783134)'), GeomFromEWKT('SRID=4674;POINT (-40.329769 -2.783013)'))) / (select extract(epoch from '2026-07-20 05:22:59'::timestamp) - extract(epoch from '2026-07-20 05:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329792 -2.783134)'), GeomFromEWKT('SRID=4674;POINT (-40.329769 -2.783013)'))) / (select extract(epoch from '2026-07-20 05:22:59'::timestamp) - extract(epoch from '2026-07-20 05:22: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'), 47645, 'SRID=4674;POINT (-40.329737 -2.782922)', '2026-07-20 05:23:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329769 -2.783013)'), GeomFromEWKT('SRID=4674;POINT (-40.329737 -2.782922)'))) / (select extract(epoch from '2026-07-20 05:23:06'::timestamp) - extract(epoch from '2026-07-20 05:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329769 -2.783013)'), GeomFromEWKT('SRID=4674;POINT (-40.329737 -2.782922)'))) / (select extract(epoch from '2026-07-20 05:23:06'::timestamp) - extract(epoch from '2026-07-20 05:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329731 -2.782812)', '2026-07-20 05:23:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329737 -2.782922)'), GeomFromEWKT('SRID=4674;POINT (-40.329731 -2.782812)'))) / (select extract(epoch from '2026-07-20 05:23:13'::timestamp) - extract(epoch from '2026-07-20 05:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329737 -2.782922)'), GeomFromEWKT('SRID=4674;POINT (-40.329731 -2.782812)'))) / (select extract(epoch from '2026-07-20 05:23:13'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329715 -2.782687)', '2026-07-20 05:23:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329731 -2.782812)'), GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782687)'))) / (select extract(epoch from '2026-07-20 05:23:22'::timestamp) - extract(epoch from '2026-07-20 05:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329731 -2.782812)'), GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782687)'))) / (select extract(epoch from '2026-07-20 05:23:22'::timestamp) - extract(epoch from '2026-07-20 05:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329717 -2.782589)', '2026-07-20 05:23:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782687)'), GeomFromEWKT('SRID=4674;POINT (-40.329717 -2.782589)'))) / (select extract(epoch from '2026-07-20 05:23:29'::timestamp) - extract(epoch from '2026-07-20 05:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782687)'), GeomFromEWKT('SRID=4674;POINT (-40.329717 -2.782589)'))) / (select extract(epoch from '2026-07-20 05:23:29'::timestamp) - extract(epoch from '2026-07-20 05:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329715 -2.782494)', '2026-07-20 05:23:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329717 -2.782589)'), GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782494)'))) / (select extract(epoch from '2026-07-20 05:23:36'::timestamp) - extract(epoch from '2026-07-20 05:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329717 -2.782589)'), GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782494)'))) / (select extract(epoch from '2026-07-20 05:23:36'::timestamp) - extract(epoch from '2026-07-20 05:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329715 -2.782451)', '2026-07-20 05:23:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782494)'), GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782451)'))) / (select extract(epoch from '2026-07-20 05:23:40'::timestamp) - extract(epoch from '2026-07-20 05:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782494)'), GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782451)'))) / (select extract(epoch from '2026-07-20 05:23:40'::timestamp) - extract(epoch from '2026-07-20 05:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329707 -2.782418)', '2026-07-20 05:23:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782451)'), GeomFromEWKT('SRID=4674;POINT (-40.329707 -2.782418)'))) / (select extract(epoch from '2026-07-20 05:23:43'::timestamp) - extract(epoch from '2026-07-20 05:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329715 -2.782451)'), GeomFromEWKT('SRID=4674;POINT (-40.329707 -2.782418)'))) / (select extract(epoch from '2026-07-20 05:23:43'::timestamp) - extract(epoch from '2026-07-20 05:23: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'), 47645, 'SRID=4674;POINT (-40.329682 -2.782331)', '2026-07-20 05:23:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329707 -2.782418)'), GeomFromEWKT('SRID=4674;POINT (-40.329682 -2.782331)'))) / (select extract(epoch from '2026-07-20 05:23:50'::timestamp) - extract(epoch from '2026-07-20 05:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329707 -2.782418)'), GeomFromEWKT('SRID=4674;POINT (-40.329682 -2.782331)'))) / (select extract(epoch from '2026-07-20 05:23:50'::timestamp) - extract(epoch from '2026-07-20 05:23: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'), 47645, 'SRID=4674;POINT (-40.329633 -2.782203)', '2026-07-20 05:24:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329682 -2.782331)'), GeomFromEWKT('SRID=4674;POINT (-40.329633 -2.782203)'))) / (select extract(epoch from '2026-07-20 05:24:00'::timestamp) - extract(epoch from '2026-07-20 05:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329682 -2.782331)'), GeomFromEWKT('SRID=4674;POINT (-40.329633 -2.782203)'))) / (select extract(epoch from '2026-07-20 05:24:00'::timestamp) - extract(epoch from '2026-07-20 05:23: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'), 47645, 'SRID=4674;POINT (-40.3296 -2.782095)', '2026-07-20 05:24:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329633 -2.782203)'), GeomFromEWKT('SRID=4674;POINT (-40.3296 -2.782095)'))) / (select extract(epoch from '2026-07-20 05:24:08'::timestamp) - extract(epoch from '2026-07-20 05:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329633 -2.782203)'), GeomFromEWKT('SRID=4674;POINT (-40.3296 -2.782095)'))) / (select extract(epoch from '2026-07-20 05:24:08'::timestamp) - extract(epoch from '2026-07-20 05:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329552 -2.781984)', '2026-07-20 05:24:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3296 -2.782095)'), GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.781984)'))) / (select extract(epoch from '2026-07-20 05:24:16'::timestamp) - extract(epoch from '2026-07-20 05:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3296 -2.782095)'), GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.781984)'))) / (select extract(epoch from '2026-07-20 05:24:16'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329503 -2.781852)', '2026-07-20 05:24:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.781984)'), GeomFromEWKT('SRID=4674;POINT (-40.329503 -2.781852)'))) / (select extract(epoch from '2026-07-20 05:24:26'::timestamp) - extract(epoch from '2026-07-20 05:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.781984)'), GeomFromEWKT('SRID=4674;POINT (-40.329503 -2.781852)'))) / (select extract(epoch from '2026-07-20 05:24:26'::timestamp) - extract(epoch from '2026-07-20 05:24: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'), 47645, 'SRID=4674;POINT (-40.329497 -2.781741)', '2026-07-20 05:24:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329503 -2.781852)'), GeomFromEWKT('SRID=4674;POINT (-40.329497 -2.781741)'))) / (select extract(epoch from '2026-07-20 05:24:33'::timestamp) - extract(epoch from '2026-07-20 05:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329503 -2.781852)'), GeomFromEWKT('SRID=4674;POINT (-40.329497 -2.781741)'))) / (select extract(epoch from '2026-07-20 05:24:33'::timestamp) - extract(epoch from '2026-07-20 05:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.3295 -2.781615)', '2026-07-20 05:24:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329497 -2.781741)'), GeomFromEWKT('SRID=4674;POINT (-40.3295 -2.781615)'))) / (select extract(epoch from '2026-07-20 05:24:40'::timestamp) - extract(epoch from '2026-07-20 05:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329497 -2.781741)'), GeomFromEWKT('SRID=4674;POINT (-40.3295 -2.781615)'))) / (select extract(epoch from '2026-07-20 05:24:40'::timestamp) - extract(epoch from '2026-07-20 05:24: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'), 47645, 'SRID=4674;POINT (-40.329474 -2.78149)', '2026-07-20 05:24:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3295 -2.781615)'), GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.78149)'))) / (select extract(epoch from '2026-07-20 05:24:48'::timestamp) - extract(epoch from '2026-07-20 05:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3295 -2.781615)'), GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.78149)'))) / (select extract(epoch from '2026-07-20 05:24:48'::timestamp) - extract(epoch from '2026-07-20 05:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329456 -2.781364)', '2026-07-20 05:24:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.78149)'), GeomFromEWKT('SRID=4674;POINT (-40.329456 -2.781364)'))) / (select extract(epoch from '2026-07-20 05:24:56'::timestamp) - extract(epoch from '2026-07-20 05:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.78149)'), GeomFromEWKT('SRID=4674;POINT (-40.329456 -2.781364)'))) / (select extract(epoch from '2026-07-20 05:24:56'::timestamp) - extract(epoch from '2026-07-20 05:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329437 -2.781215)', '2026-07-20 05:25:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329456 -2.781364)'), GeomFromEWKT('SRID=4674;POINT (-40.329437 -2.781215)'))) / (select extract(epoch from '2026-07-20 05:25:06'::timestamp) - extract(epoch from '2026-07-20 05:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329456 -2.781364)'), GeomFromEWKT('SRID=4674;POINT (-40.329437 -2.781215)'))) / (select extract(epoch from '2026-07-20 05:25:06'::timestamp) - extract(epoch from '2026-07-20 05:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329428 -2.78111)', '2026-07-20 05:25:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329437 -2.781215)'), GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.78111)'))) / (select extract(epoch from '2026-07-20 05:25:13'::timestamp) - extract(epoch from '2026-07-20 05:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329437 -2.781215)'), GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.78111)'))) / (select extract(epoch from '2026-07-20 05:25:13'::timestamp) - extract(epoch from '2026-07-20 05:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329404 -2.78099)', '2026-07-20 05:25:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.78111)'), GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.78099)'))) / (select extract(epoch from '2026-07-20 05:25:21'::timestamp) - extract(epoch from '2026-07-20 05:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.78111)'), GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.78099)'))) / (select extract(epoch from '2026-07-20 05:25:21'::timestamp) - extract(epoch from '2026-07-20 05:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329404 -2.780874)', '2026-07-20 05:25:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.78099)'), GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.780874)'))) / (select extract(epoch from '2026-07-20 05:25:28'::timestamp) - extract(epoch from '2026-07-20 05:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.78099)'), GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.780874)'))) / (select extract(epoch from '2026-07-20 05:25:28'::timestamp) - extract(epoch from '2026-07-20 05:25: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'), 47645, 'SRID=4674;POINT (-40.329409 -2.78077)', '2026-07-20 05:25:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.780874)'), GeomFromEWKT('SRID=4674;POINT (-40.329409 -2.78077)'))) / (select extract(epoch from '2026-07-20 05:25:35'::timestamp) - extract(epoch from '2026-07-20 05:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.780874)'), GeomFromEWKT('SRID=4674;POINT (-40.329409 -2.78077)'))) / (select extract(epoch from '2026-07-20 05:25:35'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329412 -2.78065)', '2026-07-20 05:25:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329409 -2.78077)'), GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.78065)'))) / (select extract(epoch from '2026-07-20 05:25:42'::timestamp) - extract(epoch from '2026-07-20 05:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329409 -2.78077)'), GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.78065)'))) / (select extract(epoch from '2026-07-20 05:25:42'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329398 -2.78056)', '2026-07-20 05:25:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.78065)'), GeomFromEWKT('SRID=4674;POINT (-40.329398 -2.78056)'))) / (select extract(epoch from '2026-07-20 05:25:48'::timestamp) - extract(epoch from '2026-07-20 05:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329412 -2.78065)'), GeomFromEWKT('SRID=4674;POINT (-40.329398 -2.78056)'))) / (select extract(epoch from '2026-07-20 05:25:48'::timestamp) - extract(epoch from '2026-07-20 05:25: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'), 47645, 'SRID=4674;POINT (-40.329415 -2.780438)', '2026-07-20 05:25:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329398 -2.78056)'), GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.780438)'))) / (select extract(epoch from '2026-07-20 05:25:55'::timestamp) - extract(epoch from '2026-07-20 05:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329398 -2.78056)'), GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.780438)'))) / (select extract(epoch from '2026-07-20 05:25:55'::timestamp) - extract(epoch from '2026-07-20 05:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329419 -2.780323)', '2026-07-20 05:26:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.780438)'), GeomFromEWKT('SRID=4674;POINT (-40.329419 -2.780323)'))) / (select extract(epoch from '2026-07-20 05:26:02'::timestamp) - extract(epoch from '2026-07-20 05:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.780438)'), GeomFromEWKT('SRID=4674;POINT (-40.329419 -2.780323)'))) / (select extract(epoch from '2026-07-20 05:26:02'::timestamp) - extract(epoch from '2026-07-20 05:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329422 -2.780213)', '2026-07-20 05:26:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329419 -2.780323)'), GeomFromEWKT('SRID=4674;POINT (-40.329422 -2.780213)'))) / (select extract(epoch from '2026-07-20 05:26:09'::timestamp) - extract(epoch from '2026-07-20 05:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329419 -2.780323)'), GeomFromEWKT('SRID=4674;POINT (-40.329422 -2.780213)'))) / (select extract(epoch from '2026-07-20 05:26:09'::timestamp) - extract(epoch from '2026-07-20 05:26: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'), 47645, 'SRID=4674;POINT (-40.329424 -2.780094)', '2026-07-20 05:26:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329422 -2.780213)'), GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.780094)'))) / (select extract(epoch from '2026-07-20 05:26:16'::timestamp) - extract(epoch from '2026-07-20 05:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329422 -2.780213)'), GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.780094)'))) / (select extract(epoch from '2026-07-20 05:26:16'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329424 -2.779991)', '2026-07-20 05:26:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.780094)'), GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.779991)'))) / (select extract(epoch from '2026-07-20 05:26:22'::timestamp) - extract(epoch from '2026-07-20 05:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.780094)'), GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.779991)'))) / (select extract(epoch from '2026-07-20 05:26:22'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329421 -2.779897)', '2026-07-20 05:26:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.779991)'), GeomFromEWKT('SRID=4674;POINT (-40.329421 -2.779897)'))) / (select extract(epoch from '2026-07-20 05:26:28'::timestamp) - extract(epoch from '2026-07-20 05:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.779991)'), GeomFromEWKT('SRID=4674;POINT (-40.329421 -2.779897)'))) / (select extract(epoch from '2026-07-20 05:26:28'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329417 -2.779881)', '2026-07-20 05:26:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329421 -2.779897)'), GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.779881)'))) / (select extract(epoch from '2026-07-20 05:26:29'::timestamp) - extract(epoch from '2026-07-20 05:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329421 -2.779897)'), GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.779881)'))) / (select extract(epoch from '2026-07-20 05:26:29'::timestamp) - extract(epoch from '2026-07-20 05:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329415 -2.779772)', '2026-07-20 05:26:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.779881)'), GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.779772)'))) / (select extract(epoch from '2026-07-20 05:26:36'::timestamp) - extract(epoch from '2026-07-20 05:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.779881)'), GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.779772)'))) / (select extract(epoch from '2026-07-20 05:26:36'::timestamp) - extract(epoch from '2026-07-20 05:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32941 -2.779677)', '2026-07-20 05:26:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.779772)'), GeomFromEWKT('SRID=4674;POINT (-40.32941 -2.779677)'))) / (select extract(epoch from '2026-07-20 05:26:42'::timestamp) - extract(epoch from '2026-07-20 05:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.779772)'), GeomFromEWKT('SRID=4674;POINT (-40.32941 -2.779677)'))) / (select extract(epoch from '2026-07-20 05:26:42'::timestamp) - extract(epoch from '2026-07-20 05:26:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329418 -2.779574)', '2026-07-20 05:26:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32941 -2.779677)'), GeomFromEWKT('SRID=4674;POINT (-40.329418 -2.779574)'))) / (select extract(epoch from '2026-07-20 05:26:49'::timestamp) - extract(epoch from '2026-07-20 05:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32941 -2.779677)'), GeomFromEWKT('SRID=4674;POINT (-40.329418 -2.779574)'))) / (select extract(epoch from '2026-07-20 05:26:49'::timestamp) - extract(epoch from '2026-07-20 05:26: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'), 47645, 'SRID=4674;POINT (-40.329417 -2.779471)', '2026-07-20 05:26:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329418 -2.779574)'), GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.779471)'))) / (select extract(epoch from '2026-07-20 05:26:56'::timestamp) - extract(epoch from '2026-07-20 05:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329418 -2.779574)'), GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.779471)'))) / (select extract(epoch from '2026-07-20 05:26:56'::timestamp) - extract(epoch from '2026-07-20 05:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329401 -2.779346)', '2026-07-20 05:27:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.779471)'), GeomFromEWKT('SRID=4674;POINT (-40.329401 -2.779346)'))) / (select extract(epoch from '2026-07-20 05:27:04'::timestamp) - extract(epoch from '2026-07-20 05:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.779471)'), GeomFromEWKT('SRID=4674;POINT (-40.329401 -2.779346)'))) / (select extract(epoch from '2026-07-20 05:27:04'::timestamp) - extract(epoch from '2026-07-20 05:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329404 -2.779234)', '2026-07-20 05:27:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329401 -2.779346)'), GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.779234)'))) / (select extract(epoch from '2026-07-20 05:27:11'::timestamp) - extract(epoch from '2026-07-20 05:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329401 -2.779346)'), GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.779234)'))) / (select extract(epoch from '2026-07-20 05:27:11'::timestamp) - extract(epoch from '2026-07-20 05:27: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'), 47645, 'SRID=4674;POINT (-40.329391 -2.779112)', '2026-07-20 05:27:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.779234)'), GeomFromEWKT('SRID=4674;POINT (-40.329391 -2.779112)'))) / (select extract(epoch from '2026-07-20 05:27:18'::timestamp) - extract(epoch from '2026-07-20 05:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329404 -2.779234)'), GeomFromEWKT('SRID=4674;POINT (-40.329391 -2.779112)'))) / (select extract(epoch from '2026-07-20 05:27:18'::timestamp) - extract(epoch from '2026-07-20 05:27: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'), 47645, 'SRID=4674;POINT (-40.329385 -2.779005)', '2026-07-20 05:27:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329391 -2.779112)'), GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.779005)'))) / (select extract(epoch from '2026-07-20 05:27:24'::timestamp) - extract(epoch from '2026-07-20 05:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329391 -2.779112)'), GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.779005)'))) / (select extract(epoch from '2026-07-20 05:27:24'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329378 -2.778892)', '2026-07-20 05:27:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.779005)'), GeomFromEWKT('SRID=4674;POINT (-40.329378 -2.778892)'))) / (select extract(epoch from '2026-07-20 05:27:31'::timestamp) - extract(epoch from '2026-07-20 05:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329385 -2.779005)'), GeomFromEWKT('SRID=4674;POINT (-40.329378 -2.778892)'))) / (select extract(epoch from '2026-07-20 05:27:31'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329367 -2.778766)', '2026-07-20 05:27:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329378 -2.778892)'), GeomFromEWKT('SRID=4674;POINT (-40.329367 -2.778766)'))) / (select extract(epoch from '2026-07-20 05:27:39'::timestamp) - extract(epoch from '2026-07-20 05:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329378 -2.778892)'), GeomFromEWKT('SRID=4674;POINT (-40.329367 -2.778766)'))) / (select extract(epoch from '2026-07-20 05:27:39'::timestamp) - extract(epoch from '2026-07-20 05:27: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'), 47645, 'SRID=4674;POINT (-40.329305 -2.778673)', '2026-07-20 05:27:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329367 -2.778766)'), GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.778673)'))) / (select extract(epoch from '2026-07-20 05:27:48'::timestamp) - extract(epoch from '2026-07-20 05:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329367 -2.778766)'), GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.778673)'))) / (select extract(epoch from '2026-07-20 05:27:48'::timestamp) - extract(epoch from '2026-07-20 05:27:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329256 -2.778563)', '2026-07-20 05:27:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.778673)'), GeomFromEWKT('SRID=4674;POINT (-40.329256 -2.778563)'))) / (select extract(epoch from '2026-07-20 05:27:57'::timestamp) - extract(epoch from '2026-07-20 05:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.778673)'), GeomFromEWKT('SRID=4674;POINT (-40.329256 -2.778563)'))) / (select extract(epoch from '2026-07-20 05:27:57'::timestamp) - extract(epoch from '2026-07-20 05:27: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'), 47645, 'SRID=4674;POINT (-40.329231 -2.778457)', '2026-07-20 05:28:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329256 -2.778563)'), GeomFromEWKT('SRID=4674;POINT (-40.329231 -2.778457)'))) / (select extract(epoch from '2026-07-20 05:28:05'::timestamp) - extract(epoch from '2026-07-20 05:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329256 -2.778563)'), GeomFromEWKT('SRID=4674;POINT (-40.329231 -2.778457)'))) / (select extract(epoch from '2026-07-20 05:28:05'::timestamp) - extract(epoch from '2026-07-20 05:27: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'), 47645, 'SRID=4674;POINT (-40.329193 -2.778352)', '2026-07-20 05:28:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329231 -2.778457)'), GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.778352)'))) / (select extract(epoch from '2026-07-20 05:28:14'::timestamp) - extract(epoch from '2026-07-20 05:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329231 -2.778457)'), GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.778352)'))) / (select extract(epoch from '2026-07-20 05:28:14'::timestamp) - extract(epoch from '2026-07-20 05:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329165 -2.778244)', '2026-07-20 05:28:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.778352)'), GeomFromEWKT('SRID=4674;POINT (-40.329165 -2.778244)'))) / (select extract(epoch from '2026-07-20 05:28:24'::timestamp) - extract(epoch from '2026-07-20 05:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329193 -2.778352)'), GeomFromEWKT('SRID=4674;POINT (-40.329165 -2.778244)'))) / (select extract(epoch from '2026-07-20 05:28:24'::timestamp) - extract(epoch from '2026-07-20 05:28: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'), 47645, 'SRID=4674;POINT (-40.329106 -2.778134)', '2026-07-20 05:28:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329165 -2.778244)'), GeomFromEWKT('SRID=4674;POINT (-40.329106 -2.778134)'))) / (select extract(epoch from '2026-07-20 05:28:32'::timestamp) - extract(epoch from '2026-07-20 05:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329165 -2.778244)'), GeomFromEWKT('SRID=4674;POINT (-40.329106 -2.778134)'))) / (select extract(epoch from '2026-07-20 05:28:32'::timestamp) - extract(epoch from '2026-07-20 05:28: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'), 47645, 'SRID=4674;POINT (-40.329059 -2.778026)', '2026-07-20 05:28:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329106 -2.778134)'), GeomFromEWKT('SRID=4674;POINT (-40.329059 -2.778026)'))) / (select extract(epoch from '2026-07-20 05:28:40'::timestamp) - extract(epoch from '2026-07-20 05:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329106 -2.778134)'), GeomFromEWKT('SRID=4674;POINT (-40.329059 -2.778026)'))) / (select extract(epoch from '2026-07-20 05:28:40'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329045 -2.777988)', '2026-07-20 05:28:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329059 -2.778026)'), GeomFromEWKT('SRID=4674;POINT (-40.329045 -2.777988)'))) / (select extract(epoch from '2026-07-20 05:28:43'::timestamp) - extract(epoch from '2026-07-20 05:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329059 -2.778026)'), GeomFromEWKT('SRID=4674;POINT (-40.329045 -2.777988)'))) / (select extract(epoch from '2026-07-20 05:28:43'::timestamp) - extract(epoch from '2026-07-20 05:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.329036 -2.777932)', '2026-07-20 05:28:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329045 -2.777988)'), GeomFromEWKT('SRID=4674;POINT (-40.329036 -2.777932)'))) / (select extract(epoch from '2026-07-20 05:28:47'::timestamp) - extract(epoch from '2026-07-20 05:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329045 -2.777988)'), GeomFromEWKT('SRID=4674;POINT (-40.329036 -2.777932)'))) / (select extract(epoch from '2026-07-20 05:28:47'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.329011 -2.777842)', '2026-07-20 05:28:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329036 -2.777932)'), GeomFromEWKT('SRID=4674;POINT (-40.329011 -2.777842)'))) / (select extract(epoch from '2026-07-20 05:28:54'::timestamp) - extract(epoch from '2026-07-20 05:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329036 -2.777932)'), GeomFromEWKT('SRID=4674;POINT (-40.329011 -2.777842)'))) / (select extract(epoch from '2026-07-20 05:28:54'::timestamp) - extract(epoch from '2026-07-20 05:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328974 -2.777746)', '2026-07-20 05:29:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329011 -2.777842)'), GeomFromEWKT('SRID=4674;POINT (-40.328974 -2.777746)'))) / (select extract(epoch from '2026-07-20 05:29:02'::timestamp) - extract(epoch from '2026-07-20 05:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329011 -2.777842)'), GeomFromEWKT('SRID=4674;POINT (-40.328974 -2.777746)'))) / (select extract(epoch from '2026-07-20 05:29:02'::timestamp) - extract(epoch from '2026-07-20 05:28: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'), 47645, 'SRID=4674;POINT (-40.328932 -2.777657)', '2026-07-20 05:29:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328974 -2.777746)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.777657)'))) / (select extract(epoch from '2026-07-20 05:29:09'::timestamp) - extract(epoch from '2026-07-20 05:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328974 -2.777746)'), GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.777657)'))) / (select extract(epoch from '2026-07-20 05:29:09'::timestamp) - extract(epoch from '2026-07-20 05:29: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'), 47645, 'SRID=4674;POINT (-40.328871 -2.777574)', '2026-07-20 05:29:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.777657)'), GeomFromEWKT('SRID=4674;POINT (-40.328871 -2.777574)'))) / (select extract(epoch from '2026-07-20 05:29:17'::timestamp) - extract(epoch from '2026-07-20 05:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328932 -2.777657)'), GeomFromEWKT('SRID=4674;POINT (-40.328871 -2.777574)'))) / (select extract(epoch from '2026-07-20 05:29:17'::timestamp) - extract(epoch from '2026-07-20 05:29: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'), 47645, 'SRID=4674;POINT (-40.328821 -2.777487)', '2026-07-20 05:29:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328871 -2.777574)'), GeomFromEWKT('SRID=4674;POINT (-40.328821 -2.777487)'))) / (select extract(epoch from '2026-07-20 05:29:25'::timestamp) - extract(epoch from '2026-07-20 05:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328871 -2.777574)'), GeomFromEWKT('SRID=4674;POINT (-40.328821 -2.777487)'))) / (select extract(epoch from '2026-07-20 05:29:25'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328803 -2.777414)', '2026-07-20 05:29:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328821 -2.777487)'), GeomFromEWKT('SRID=4674;POINT (-40.328803 -2.777414)'))) / (select extract(epoch from '2026-07-20 05:29:32'::timestamp) - extract(epoch from '2026-07-20 05:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328821 -2.777487)'), GeomFromEWKT('SRID=4674;POINT (-40.328803 -2.777414)'))) / (select extract(epoch from '2026-07-20 05:29:32'::timestamp) - extract(epoch from '2026-07-20 05:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328786 -2.777312)', '2026-07-20 05:29:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328803 -2.777414)'), GeomFromEWKT('SRID=4674;POINT (-40.328786 -2.777312)'))) / (select extract(epoch from '2026-07-20 05:29:39'::timestamp) - extract(epoch from '2026-07-20 05:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328803 -2.777414)'), GeomFromEWKT('SRID=4674;POINT (-40.328786 -2.777312)'))) / (select extract(epoch from '2026-07-20 05:29:39'::timestamp) - extract(epoch from '2026-07-20 05:29:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328776 -2.777196)', '2026-07-20 05:29:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328786 -2.777312)'), GeomFromEWKT('SRID=4674;POINT (-40.328776 -2.777196)'))) / (select extract(epoch from '2026-07-20 05:29:46'::timestamp) - extract(epoch from '2026-07-20 05:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328786 -2.777312)'), GeomFromEWKT('SRID=4674;POINT (-40.328776 -2.777196)'))) / (select extract(epoch from '2026-07-20 05:29:46'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328773 -2.777182)', '2026-07-20 05:29:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328776 -2.777196)'), GeomFromEWKT('SRID=4674;POINT (-40.328773 -2.777182)'))) / (select extract(epoch from '2026-07-20 05:29:47'::timestamp) - extract(epoch from '2026-07-20 05:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328776 -2.777196)'), GeomFromEWKT('SRID=4674;POINT (-40.328773 -2.777182)'))) / (select extract(epoch from '2026-07-20 05:29:47'::timestamp) - extract(epoch from '2026-07-20 05:29: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'), 47645, 'SRID=4674;POINT (-40.328746 -2.777113)', '2026-07-20 05:29:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328773 -2.777182)'), GeomFromEWKT('SRID=4674;POINT (-40.328746 -2.777113)'))) / (select extract(epoch from '2026-07-20 05:29:52'::timestamp) - extract(epoch from '2026-07-20 05:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328773 -2.777182)'), GeomFromEWKT('SRID=4674;POINT (-40.328746 -2.777113)'))) / (select extract(epoch from '2026-07-20 05:29:52'::timestamp) - extract(epoch from '2026-07-20 05:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328706 -2.776989)', '2026-07-20 05:30:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328746 -2.777113)'), GeomFromEWKT('SRID=4674;POINT (-40.328706 -2.776989)'))) / (select extract(epoch from '2026-07-20 05:30:00'::timestamp) - extract(epoch from '2026-07-20 05:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328746 -2.777113)'), GeomFromEWKT('SRID=4674;POINT (-40.328706 -2.776989)'))) / (select extract(epoch from '2026-07-20 05:30:00'::timestamp) - extract(epoch from '2026-07-20 05:29: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'), 47645, 'SRID=4674;POINT (-40.328679 -2.776886)', '2026-07-20 05:30:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328706 -2.776989)'), GeomFromEWKT('SRID=4674;POINT (-40.328679 -2.776886)'))) / (select extract(epoch from '2026-07-20 05:30:07'::timestamp) - extract(epoch from '2026-07-20 05:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328706 -2.776989)'), GeomFromEWKT('SRID=4674;POINT (-40.328679 -2.776886)'))) / (select extract(epoch from '2026-07-20 05:30:07'::timestamp) - extract(epoch from '2026-07-20 05:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328673 -2.776795)', '2026-07-20 05:30:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328679 -2.776886)'), GeomFromEWKT('SRID=4674;POINT (-40.328673 -2.776795)'))) / (select extract(epoch from '2026-07-20 05:30:15'::timestamp) - extract(epoch from '2026-07-20 05:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328679 -2.776886)'), GeomFromEWKT('SRID=4674;POINT (-40.328673 -2.776795)'))) / (select extract(epoch from '2026-07-20 05:30:15'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328677 -2.776669)', '2026-07-20 05:30:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328673 -2.776795)'), GeomFromEWKT('SRID=4674;POINT (-40.328677 -2.776669)'))) / (select extract(epoch from '2026-07-20 05:30:23'::timestamp) - extract(epoch from '2026-07-20 05:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328673 -2.776795)'), GeomFromEWKT('SRID=4674;POINT (-40.328677 -2.776669)'))) / (select extract(epoch from '2026-07-20 05:30:23'::timestamp) - extract(epoch from '2026-07-20 05:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328664 -2.776535)', '2026-07-20 05:30:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328677 -2.776669)'), GeomFromEWKT('SRID=4674;POINT (-40.328664 -2.776535)'))) / (select extract(epoch from '2026-07-20 05:30:32'::timestamp) - extract(epoch from '2026-07-20 05:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328677 -2.776669)'), GeomFromEWKT('SRID=4674;POINT (-40.328664 -2.776535)'))) / (select extract(epoch from '2026-07-20 05:30:32'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328657 -2.776437)', '2026-07-20 05:30:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328664 -2.776535)'), GeomFromEWKT('SRID=4674;POINT (-40.328657 -2.776437)'))) / (select extract(epoch from '2026-07-20 05:30:39'::timestamp) - extract(epoch from '2026-07-20 05:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328664 -2.776535)'), GeomFromEWKT('SRID=4674;POINT (-40.328657 -2.776437)'))) / (select extract(epoch from '2026-07-20 05:30:39'::timestamp) - extract(epoch from '2026-07-20 05:30: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'), 47645, 'SRID=4674;POINT (-40.328633 -2.776332)', '2026-07-20 05:30:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328657 -2.776437)'), GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.776332)'))) / (select extract(epoch from '2026-07-20 05:30:46'::timestamp) - extract(epoch from '2026-07-20 05:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328657 -2.776437)'), GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.776332)'))) / (select extract(epoch from '2026-07-20 05:30:46'::timestamp) - extract(epoch from '2026-07-20 05:30: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'), 47645, 'SRID=4674;POINT (-40.328586 -2.776227)', '2026-07-20 05:30:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.776332)'), GeomFromEWKT('SRID=4674;POINT (-40.328586 -2.776227)'))) / (select extract(epoch from '2026-07-20 05:30:54'::timestamp) - extract(epoch from '2026-07-20 05:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328633 -2.776332)'), GeomFromEWKT('SRID=4674;POINT (-40.328586 -2.776227)'))) / (select extract(epoch from '2026-07-20 05:30:54'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328554 -2.776128)', '2026-07-20 05:31:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328586 -2.776227)'), GeomFromEWKT('SRID=4674;POINT (-40.328554 -2.776128)'))) / (select extract(epoch from '2026-07-20 05:31:02'::timestamp) - extract(epoch from '2026-07-20 05:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328586 -2.776227)'), GeomFromEWKT('SRID=4674;POINT (-40.328554 -2.776128)'))) / (select extract(epoch from '2026-07-20 05:31:02'::timestamp) - extract(epoch from '2026-07-20 05:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328492 -2.776045)', '2026-07-20 05:31:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328554 -2.776128)'), GeomFromEWKT('SRID=4674;POINT (-40.328492 -2.776045)'))) / (select extract(epoch from '2026-07-20 05:31:09'::timestamp) - extract(epoch from '2026-07-20 05:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328554 -2.776128)'), GeomFromEWKT('SRID=4674;POINT (-40.328492 -2.776045)'))) / (select extract(epoch from '2026-07-20 05:31:09'::timestamp) - extract(epoch from '2026-07-20 05:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328426 -2.775946)', '2026-07-20 05:31:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328492 -2.776045)'), GeomFromEWKT('SRID=4674;POINT (-40.328426 -2.775946)'))) / (select extract(epoch from '2026-07-20 05:31:17'::timestamp) - extract(epoch from '2026-07-20 05:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328492 -2.776045)'), GeomFromEWKT('SRID=4674;POINT (-40.328426 -2.775946)'))) / (select extract(epoch from '2026-07-20 05:31:17'::timestamp) - extract(epoch from '2026-07-20 05:31: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'), 47645, 'SRID=4674;POINT (-40.328394 -2.775838)', '2026-07-20 05:31:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328426 -2.775946)'), GeomFromEWKT('SRID=4674;POINT (-40.328394 -2.775838)'))) / (select extract(epoch from '2026-07-20 05:31:25'::timestamp) - extract(epoch from '2026-07-20 05:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328426 -2.775946)'), GeomFromEWKT('SRID=4674;POINT (-40.328394 -2.775838)'))) / (select extract(epoch from '2026-07-20 05:31:25'::timestamp) - extract(epoch from '2026-07-20 05:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328372 -2.775744)', '2026-07-20 05:31:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328394 -2.775838)'), GeomFromEWKT('SRID=4674;POINT (-40.328372 -2.775744)'))) / (select extract(epoch from '2026-07-20 05:31:32'::timestamp) - extract(epoch from '2026-07-20 05:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328394 -2.775838)'), GeomFromEWKT('SRID=4674;POINT (-40.328372 -2.775744)'))) / (select extract(epoch from '2026-07-20 05:31:32'::timestamp) - extract(epoch from '2026-07-20 05:31: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'), 47645, 'SRID=4674;POINT (-40.328322 -2.775645)', '2026-07-20 05:31:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328372 -2.775744)'), GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.775645)'))) / (select extract(epoch from '2026-07-20 05:31:39'::timestamp) - extract(epoch from '2026-07-20 05:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328372 -2.775744)'), GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.775645)'))) / (select extract(epoch from '2026-07-20 05:31:39'::timestamp) - extract(epoch from '2026-07-20 05:31: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'), 47645, 'SRID=4674;POINT (-40.328295 -2.775529)', '2026-07-20 05:31:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.775645)'), GeomFromEWKT('SRID=4674;POINT (-40.328295 -2.775529)'))) / (select extract(epoch from '2026-07-20 05:31:47'::timestamp) - extract(epoch from '2026-07-20 05:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.775645)'), GeomFromEWKT('SRID=4674;POINT (-40.328295 -2.775529)'))) / (select extract(epoch from '2026-07-20 05:31:47'::timestamp) - extract(epoch from '2026-07-20 05:31: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'), 47645, 'SRID=4674;POINT (-40.328258 -2.775431)', '2026-07-20 05:31:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328295 -2.775529)'), GeomFromEWKT('SRID=4674;POINT (-40.328258 -2.775431)'))) / (select extract(epoch from '2026-07-20 05:31:54'::timestamp) - extract(epoch from '2026-07-20 05:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328295 -2.775529)'), GeomFromEWKT('SRID=4674;POINT (-40.328258 -2.775431)'))) / (select extract(epoch from '2026-07-20 05:31:54'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328262 -2.775402)', '2026-07-20 05:31:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328258 -2.775431)'), GeomFromEWKT('SRID=4674;POINT (-40.328262 -2.775402)'))) / (select extract(epoch from '2026-07-20 05:31:56'::timestamp) - extract(epoch from '2026-07-20 05:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328258 -2.775431)'), GeomFromEWKT('SRID=4674;POINT (-40.328262 -2.775402)'))) / (select extract(epoch from '2026-07-20 05:31:56'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.32828 -2.775346)', '2026-07-20 05:31:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328262 -2.775402)'), GeomFromEWKT('SRID=4674;POINT (-40.32828 -2.775346)'))) / (select extract(epoch from '2026-07-20 05:31:59'::timestamp) - extract(epoch from '2026-07-20 05:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328262 -2.775402)'), GeomFromEWKT('SRID=4674;POINT (-40.32828 -2.775346)'))) / (select extract(epoch from '2026-07-20 05:31:59'::timestamp) - extract(epoch from '2026-07-20 05:31: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'), 47645, 'SRID=4674;POINT (-40.3283 -2.775254)', '2026-07-20 05:32:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32828 -2.775346)'), GeomFromEWKT('SRID=4674;POINT (-40.3283 -2.775254)'))) / (select extract(epoch from '2026-07-20 05:32:04'::timestamp) - extract(epoch from '2026-07-20 05:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32828 -2.775346)'), GeomFromEWKT('SRID=4674;POINT (-40.3283 -2.775254)'))) / (select extract(epoch from '2026-07-20 05:32:04'::timestamp) - extract(epoch from '2026-07-20 05:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328314 -2.77511)', '2026-07-20 05:32:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3283 -2.775254)'), GeomFromEWKT('SRID=4674;POINT (-40.328314 -2.77511)'))) / (select extract(epoch from '2026-07-20 05:32:12'::timestamp) - extract(epoch from '2026-07-20 05:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3283 -2.775254)'), GeomFromEWKT('SRID=4674;POINT (-40.328314 -2.77511)'))) / (select extract(epoch from '2026-07-20 05:32:12'::timestamp) - extract(epoch from '2026-07-20 05:32: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'), 47645, 'SRID=4674;POINT (-40.328306 -2.775004)', '2026-07-20 05:32:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328314 -2.77511)'), GeomFromEWKT('SRID=4674;POINT (-40.328306 -2.775004)'))) / (select extract(epoch from '2026-07-20 05:32:18'::timestamp) - extract(epoch from '2026-07-20 05:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328314 -2.77511)'), GeomFromEWKT('SRID=4674;POINT (-40.328306 -2.775004)'))) / (select extract(epoch from '2026-07-20 05:32:18'::timestamp) - extract(epoch from '2026-07-20 05:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32829 -2.774861)', '2026-07-20 05:32:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328306 -2.775004)'), GeomFromEWKT('SRID=4674;POINT (-40.32829 -2.774861)'))) / (select extract(epoch from '2026-07-20 05:32:26'::timestamp) - extract(epoch from '2026-07-20 05:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328306 -2.775004)'), GeomFromEWKT('SRID=4674;POINT (-40.32829 -2.774861)'))) / (select extract(epoch from '2026-07-20 05:32:26'::timestamp) - extract(epoch from '2026-07-20 05:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328294 -2.774752)', '2026-07-20 05:32:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32829 -2.774861)'), GeomFromEWKT('SRID=4674;POINT (-40.328294 -2.774752)'))) / (select extract(epoch from '2026-07-20 05:32:32'::timestamp) - extract(epoch from '2026-07-20 05:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32829 -2.774861)'), GeomFromEWKT('SRID=4674;POINT (-40.328294 -2.774752)'))) / (select extract(epoch from '2026-07-20 05:32:32'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.32829 -2.774645)', '2026-07-20 05:32:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328294 -2.774752)'), GeomFromEWKT('SRID=4674;POINT (-40.32829 -2.774645)'))) / (select extract(epoch from '2026-07-20 05:32:38'::timestamp) - extract(epoch from '2026-07-20 05:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328294 -2.774752)'), GeomFromEWKT('SRID=4674;POINT (-40.32829 -2.774645)'))) / (select extract(epoch from '2026-07-20 05:32:38'::timestamp) - extract(epoch from '2026-07-20 05:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328292 -2.774526)', '2026-07-20 05:32:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32829 -2.774645)'), GeomFromEWKT('SRID=4674;POINT (-40.328292 -2.774526)'))) / (select extract(epoch from '2026-07-20 05:32:45'::timestamp) - extract(epoch from '2026-07-20 05:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32829 -2.774645)'), GeomFromEWKT('SRID=4674;POINT (-40.328292 -2.774526)'))) / (select extract(epoch from '2026-07-20 05:32:45'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328297 -2.774388)', '2026-07-20 05:32:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328292 -2.774526)'), GeomFromEWKT('SRID=4674;POINT (-40.328297 -2.774388)'))) / (select extract(epoch from '2026-07-20 05:32:53'::timestamp) - extract(epoch from '2026-07-20 05:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328292 -2.774526)'), GeomFromEWKT('SRID=4674;POINT (-40.328297 -2.774388)'))) / (select extract(epoch from '2026-07-20 05:32:53'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328288 -2.774245)', '2026-07-20 05:33:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328297 -2.774388)'), GeomFromEWKT('SRID=4674;POINT (-40.328288 -2.774245)'))) / (select extract(epoch from '2026-07-20 05:33:02'::timestamp) - extract(epoch from '2026-07-20 05:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328297 -2.774388)'), GeomFromEWKT('SRID=4674;POINT (-40.328288 -2.774245)'))) / (select extract(epoch from '2026-07-20 05:33:02'::timestamp) - extract(epoch from '2026-07-20 05:32: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'), 47645, 'SRID=4674;POINT (-40.328283 -2.774134)', '2026-07-20 05:33:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328288 -2.774245)'), GeomFromEWKT('SRID=4674;POINT (-40.328283 -2.774134)'))) / (select extract(epoch from '2026-07-20 05:33:09'::timestamp) - extract(epoch from '2026-07-20 05:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328288 -2.774245)'), GeomFromEWKT('SRID=4674;POINT (-40.328283 -2.774134)'))) / (select extract(epoch from '2026-07-20 05:33:09'::timestamp) - extract(epoch from '2026-07-20 05:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328248 -2.774008)', '2026-07-20 05:33:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328283 -2.774134)'), GeomFromEWKT('SRID=4674;POINT (-40.328248 -2.774008)'))) / (select extract(epoch from '2026-07-20 05:33:17'::timestamp) - extract(epoch from '2026-07-20 05:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328283 -2.774134)'), GeomFromEWKT('SRID=4674;POINT (-40.328248 -2.774008)'))) / (select extract(epoch from '2026-07-20 05:33:17'::timestamp) - extract(epoch from '2026-07-20 05:33: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'), 47645, 'SRID=4674;POINT (-40.328204 -2.773902)', '2026-07-20 05:33:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328248 -2.774008)'), GeomFromEWKT('SRID=4674;POINT (-40.328204 -2.773902)'))) / (select extract(epoch from '2026-07-20 05:33:25'::timestamp) - extract(epoch from '2026-07-20 05:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328248 -2.774008)'), GeomFromEWKT('SRID=4674;POINT (-40.328204 -2.773902)'))) / (select extract(epoch from '2026-07-20 05:33:25'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328201 -2.773875)', '2026-07-20 05:33:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328204 -2.773902)'), GeomFromEWKT('SRID=4674;POINT (-40.328201 -2.773875)'))) / (select extract(epoch from '2026-07-20 05:33:27'::timestamp) - extract(epoch from '2026-07-20 05:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328204 -2.773902)'), GeomFromEWKT('SRID=4674;POINT (-40.328201 -2.773875)'))) / (select extract(epoch from '2026-07-20 05:33:27'::timestamp) - extract(epoch from '2026-07-20 05:33: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'), 47645, 'SRID=4674;POINT (-40.328179 -2.773833)', '2026-07-20 05:33:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328201 -2.773875)'), GeomFromEWKT('SRID=4674;POINT (-40.328179 -2.773833)'))) / (select extract(epoch from '2026-07-20 05:33:31'::timestamp) - extract(epoch from '2026-07-20 05:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328201 -2.773875)'), GeomFromEWKT('SRID=4674;POINT (-40.328179 -2.773833)'))) / (select extract(epoch from '2026-07-20 05:33:31'::timestamp) - extract(epoch from '2026-07-20 05:33: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'), 47645, 'SRID=4674;POINT (-40.328101 -2.77371)', '2026-07-20 05:33:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328179 -2.773833)'), GeomFromEWKT('SRID=4674;POINT (-40.328101 -2.77371)'))) / (select extract(epoch from '2026-07-20 05:33:41'::timestamp) - extract(epoch from '2026-07-20 05:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328179 -2.773833)'), GeomFromEWKT('SRID=4674;POINT (-40.328101 -2.77371)'))) / (select extract(epoch from '2026-07-20 05:33:41'::timestamp) - extract(epoch from '2026-07-20 05:33: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'), 47645, 'SRID=4674;POINT (-40.328057 -2.773593)', '2026-07-20 05:33:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328101 -2.77371)'), GeomFromEWKT('SRID=4674;POINT (-40.328057 -2.773593)'))) / (select extract(epoch from '2026-07-20 05:33:49'::timestamp) - extract(epoch from '2026-07-20 05:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328101 -2.77371)'), GeomFromEWKT('SRID=4674;POINT (-40.328057 -2.773593)'))) / (select extract(epoch from '2026-07-20 05:33:49'::timestamp) - extract(epoch from '2026-07-20 05:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328031 -2.773486)', '2026-07-20 05:33:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328057 -2.773593)'), GeomFromEWKT('SRID=4674;POINT (-40.328031 -2.773486)'))) / (select extract(epoch from '2026-07-20 05:33:55'::timestamp) - extract(epoch from '2026-07-20 05:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328057 -2.773593)'), GeomFromEWKT('SRID=4674;POINT (-40.328031 -2.773486)'))) / (select extract(epoch from '2026-07-20 05:33:55'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328002 -2.773342)', '2026-07-20 05:34:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328031 -2.773486)'), GeomFromEWKT('SRID=4674;POINT (-40.328002 -2.773342)'))) / (select extract(epoch from '2026-07-20 05:34:04'::timestamp) - extract(epoch from '2026-07-20 05:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328031 -2.773486)'), GeomFromEWKT('SRID=4674;POINT (-40.328002 -2.773342)'))) / (select extract(epoch from '2026-07-20 05:34:04'::timestamp) - extract(epoch from '2026-07-20 05:33: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'), 47645, 'SRID=4674;POINT (-40.32797 -2.773257)', '2026-07-20 05:34:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328002 -2.773342)'), GeomFromEWKT('SRID=4674;POINT (-40.32797 -2.773257)'))) / (select extract(epoch from '2026-07-20 05:34:10'::timestamp) - extract(epoch from '2026-07-20 05:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328002 -2.773342)'), GeomFromEWKT('SRID=4674;POINT (-40.32797 -2.773257)'))) / (select extract(epoch from '2026-07-20 05:34:10'::timestamp) - extract(epoch from '2026-07-20 05:34: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'), 47645, 'SRID=4674;POINT (-40.327921 -2.773152)', '2026-07-20 05:34:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32797 -2.773257)'), GeomFromEWKT('SRID=4674;POINT (-40.327921 -2.773152)'))) / (select extract(epoch from '2026-07-20 05:34:17'::timestamp) - extract(epoch from '2026-07-20 05:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32797 -2.773257)'), GeomFromEWKT('SRID=4674;POINT (-40.327921 -2.773152)'))) / (select extract(epoch from '2026-07-20 05:34:17'::timestamp) - extract(epoch from '2026-07-20 05:34: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'), 47645, 'SRID=4674;POINT (-40.327838 -2.773027)', '2026-07-20 05:34:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327921 -2.773152)'), GeomFromEWKT('SRID=4674;POINT (-40.327838 -2.773027)'))) / (select extract(epoch from '2026-07-20 05:34:27'::timestamp) - extract(epoch from '2026-07-20 05:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327921 -2.773152)'), GeomFromEWKT('SRID=4674;POINT (-40.327838 -2.773027)'))) / (select extract(epoch from '2026-07-20 05:34:27'::timestamp) - extract(epoch from '2026-07-20 05:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32779 -2.772898)', '2026-07-20 05:34:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327838 -2.773027)'), GeomFromEWKT('SRID=4674;POINT (-40.32779 -2.772898)'))) / (select extract(epoch from '2026-07-20 05:34:36'::timestamp) - extract(epoch from '2026-07-20 05:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327838 -2.773027)'), GeomFromEWKT('SRID=4674;POINT (-40.32779 -2.772898)'))) / (select extract(epoch from '2026-07-20 05:34:36'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.32776 -2.772833)', '2026-07-20 05:34:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32779 -2.772898)'), GeomFromEWKT('SRID=4674;POINT (-40.32776 -2.772833)'))) / (select extract(epoch from '2026-07-20 05:34:41'::timestamp) - extract(epoch from '2026-07-20 05:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32779 -2.772898)'), GeomFromEWKT('SRID=4674;POINT (-40.32776 -2.772833)'))) / (select extract(epoch from '2026-07-20 05:34:41'::timestamp) - extract(epoch from '2026-07-20 05:34: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'), 47645, 'SRID=4674;POINT (-40.327743 -2.772823)', '2026-07-20 05:34:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32776 -2.772833)'), GeomFromEWKT('SRID=4674;POINT (-40.327743 -2.772823)'))) / (select extract(epoch from '2026-07-20 05:34:43'::timestamp) - extract(epoch from '2026-07-20 05:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32776 -2.772833)'), GeomFromEWKT('SRID=4674;POINT (-40.327743 -2.772823)'))) / (select extract(epoch from '2026-07-20 05:34:43'::timestamp) - extract(epoch from '2026-07-20 05:34: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'), 47645, 'SRID=4674;POINT (-40.327694 -2.772775)', '2026-07-20 05:34:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327743 -2.772823)'), GeomFromEWKT('SRID=4674;POINT (-40.327694 -2.772775)'))) / (select extract(epoch from '2026-07-20 05:34:51'::timestamp) - extract(epoch from '2026-07-20 05:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327743 -2.772823)'), GeomFromEWKT('SRID=4674;POINT (-40.327694 -2.772775)'))) / (select extract(epoch from '2026-07-20 05:34:51'::timestamp) - extract(epoch from '2026-07-20 05:34: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'), 47645, 'SRID=4674;POINT (-40.327626 -2.772717)', '2026-07-20 05:34:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327694 -2.772775)'), GeomFromEWKT('SRID=4674;POINT (-40.327626 -2.772717)'))) / (select extract(epoch from '2026-07-20 05:34:59'::timestamp) - extract(epoch from '2026-07-20 05:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327694 -2.772775)'), GeomFromEWKT('SRID=4674;POINT (-40.327626 -2.772717)'))) / (select extract(epoch from '2026-07-20 05:34:59'::timestamp) - extract(epoch from '2026-07-20 05:34: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'), 47645, 'SRID=4674;POINT (-40.327572 -2.772666)', '2026-07-20 05:35:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327626 -2.772717)'), GeomFromEWKT('SRID=4674;POINT (-40.327572 -2.772666)'))) / (select extract(epoch from '2026-07-20 05:35:06'::timestamp) - extract(epoch from '2026-07-20 05:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327626 -2.772717)'), GeomFromEWKT('SRID=4674;POINT (-40.327572 -2.772666)'))) / (select extract(epoch from '2026-07-20 05:35:06'::timestamp) - extract(epoch from '2026-07-20 05:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327542 -2.772627)', '2026-07-20 05:35:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327572 -2.772666)'), GeomFromEWKT('SRID=4674;POINT (-40.327542 -2.772627)'))) / (select extract(epoch from '2026-07-20 05:35:11'::timestamp) - extract(epoch from '2026-07-20 05:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327572 -2.772666)'), GeomFromEWKT('SRID=4674;POINT (-40.327542 -2.772627)'))) / (select extract(epoch from '2026-07-20 05:35:11'::timestamp) - extract(epoch from '2026-07-20 05:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327535 -2.772614)', '2026-07-20 05:35:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327542 -2.772627)'), GeomFromEWKT('SRID=4674;POINT (-40.327535 -2.772614)'))) / (select extract(epoch from '2026-07-20 05:35:13'::timestamp) - extract(epoch from '2026-07-20 05:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327542 -2.772627)'), GeomFromEWKT('SRID=4674;POINT (-40.327535 -2.772614)'))) / (select extract(epoch from '2026-07-20 05:35:13'::timestamp) - extract(epoch from '2026-07-20 05:35: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'), 47645, 'SRID=4674;POINT (-40.327492 -2.77254)', '2026-07-20 05:35:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327535 -2.772614)'), GeomFromEWKT('SRID=4674;POINT (-40.327492 -2.77254)'))) / (select extract(epoch from '2026-07-20 05:35:24'::timestamp) - extract(epoch from '2026-07-20 05:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327535 -2.772614)'), GeomFromEWKT('SRID=4674;POINT (-40.327492 -2.77254)'))) / (select extract(epoch from '2026-07-20 05:35:24'::timestamp) - extract(epoch from '2026-07-20 05:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327448 -2.772481)', '2026-07-20 05:35:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327492 -2.77254)'), GeomFromEWKT('SRID=4674;POINT (-40.327448 -2.772481)'))) / (select extract(epoch from '2026-07-20 05:35:33'::timestamp) - extract(epoch from '2026-07-20 05:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327492 -2.77254)'), GeomFromEWKT('SRID=4674;POINT (-40.327448 -2.772481)'))) / (select extract(epoch from '2026-07-20 05:35:33'::timestamp) - extract(epoch from '2026-07-20 05:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327412 -2.772354)', '2026-07-20 05:35:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327448 -2.772481)'), GeomFromEWKT('SRID=4674;POINT (-40.327412 -2.772354)'))) / (select extract(epoch from '2026-07-20 05:35:46'::timestamp) - extract(epoch from '2026-07-20 05:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327448 -2.772481)'), GeomFromEWKT('SRID=4674;POINT (-40.327412 -2.772354)'))) / (select extract(epoch from '2026-07-20 05:35:46'::timestamp) - extract(epoch from '2026-07-20 05:35: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'), 47645, 'SRID=4674;POINT (-40.327373 -2.772231)', '2026-07-20 05:36:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327412 -2.772354)'), GeomFromEWKT('SRID=4674;POINT (-40.327373 -2.772231)'))) / (select extract(epoch from '2026-07-20 05:36:00'::timestamp) - extract(epoch from '2026-07-20 05:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327412 -2.772354)'), GeomFromEWKT('SRID=4674;POINT (-40.327373 -2.772231)'))) / (select extract(epoch from '2026-07-20 05:36:00'::timestamp) - extract(epoch from '2026-07-20 05:35: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'), 47645, 'SRID=4674;POINT (-40.327336 -2.772122)', '2026-07-20 05:36:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327373 -2.772231)'), GeomFromEWKT('SRID=4674;POINT (-40.327336 -2.772122)'))) / (select extract(epoch from '2026-07-20 05:36:14'::timestamp) - extract(epoch from '2026-07-20 05:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327373 -2.772231)'), GeomFromEWKT('SRID=4674;POINT (-40.327336 -2.772122)'))) / (select extract(epoch from '2026-07-20 05:36:14'::timestamp) - extract(epoch from '2026-07-20 05:36: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'), 47645, 'SRID=4674;POINT (-40.327289 -2.772012)', '2026-07-20 05:36:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327336 -2.772122)'), GeomFromEWKT('SRID=4674;POINT (-40.327289 -2.772012)'))) / (select extract(epoch from '2026-07-20 05:36:27'::timestamp) - extract(epoch from '2026-07-20 05:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327336 -2.772122)'), GeomFromEWKT('SRID=4674;POINT (-40.327289 -2.772012)'))) / (select extract(epoch from '2026-07-20 05:36:27'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.327336 -2.771917)', '2026-07-20 05:36:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327289 -2.772012)'), GeomFromEWKT('SRID=4674;POINT (-40.327336 -2.771917)'))) / (select extract(epoch from '2026-07-20 05:36:35'::timestamp) - extract(epoch from '2026-07-20 05:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327289 -2.772012)'), GeomFromEWKT('SRID=4674;POINT (-40.327336 -2.771917)'))) / (select extract(epoch from '2026-07-20 05:36:35'::timestamp) - extract(epoch from '2026-07-20 05:36: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'), 47645, 'SRID=4674;POINT (-40.327351 -2.771907)', '2026-07-20 05:36:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327336 -2.771917)'), GeomFromEWKT('SRID=4674;POINT (-40.327351 -2.771907)'))) / (select extract(epoch from '2026-07-20 05:36:36'::timestamp) - extract(epoch from '2026-07-20 05:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327336 -2.771917)'), GeomFromEWKT('SRID=4674;POINT (-40.327351 -2.771907)'))) / (select extract(epoch from '2026-07-20 05:36:36'::timestamp) - extract(epoch from '2026-07-20 05:36: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'), 47645, 'SRID=4674;POINT (-40.327444 -2.771832)', '2026-07-20 05:36:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327351 -2.771907)'), GeomFromEWKT('SRID=4674;POINT (-40.327444 -2.771832)'))) / (select extract(epoch from '2026-07-20 05:36:43'::timestamp) - extract(epoch from '2026-07-20 05:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327351 -2.771907)'), GeomFromEWKT('SRID=4674;POINT (-40.327444 -2.771832)'))) / (select extract(epoch from '2026-07-20 05:36:43'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.327515 -2.771771)', '2026-07-20 05:36:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327444 -2.771832)'), GeomFromEWKT('SRID=4674;POINT (-40.327515 -2.771771)'))) / (select extract(epoch from '2026-07-20 05:36:48'::timestamp) - extract(epoch from '2026-07-20 05:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327444 -2.771832)'), GeomFromEWKT('SRID=4674;POINT (-40.327515 -2.771771)'))) / (select extract(epoch from '2026-07-20 05:36:48'::timestamp) - extract(epoch from '2026-07-20 05:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.327591 -2.771726)', '2026-07-20 05:36:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327515 -2.771771)'), GeomFromEWKT('SRID=4674;POINT (-40.327591 -2.771726)'))) / (select extract(epoch from '2026-07-20 05:36:53'::timestamp) - extract(epoch from '2026-07-20 05:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327515 -2.771771)'), GeomFromEWKT('SRID=4674;POINT (-40.327591 -2.771726)'))) / (select extract(epoch from '2026-07-20 05:36:53'::timestamp) - extract(epoch from '2026-07-20 05:36: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'), 47645, 'SRID=4674;POINT (-40.32771 -2.771712)', '2026-07-20 05:36:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327591 -2.771726)'), GeomFromEWKT('SRID=4674;POINT (-40.32771 -2.771712)'))) / (select extract(epoch from '2026-07-20 05:36:59'::timestamp) - extract(epoch from '2026-07-20 05:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327591 -2.771726)'), GeomFromEWKT('SRID=4674;POINT (-40.32771 -2.771712)'))) / (select extract(epoch from '2026-07-20 05:36:59'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.327827 -2.771708)', '2026-07-20 05:37:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32771 -2.771712)'), GeomFromEWKT('SRID=4674;POINT (-40.327827 -2.771708)'))) / (select extract(epoch from '2026-07-20 05:37:05'::timestamp) - extract(epoch from '2026-07-20 05:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32771 -2.771712)'), GeomFromEWKT('SRID=4674;POINT (-40.327827 -2.771708)'))) / (select extract(epoch from '2026-07-20 05:37:05'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.327956 -2.771729)', '2026-07-20 05:37:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327827 -2.771708)'), GeomFromEWKT('SRID=4674;POINT (-40.327956 -2.771729)'))) / (select extract(epoch from '2026-07-20 05:37:12'::timestamp) - extract(epoch from '2026-07-20 05:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327827 -2.771708)'), GeomFromEWKT('SRID=4674;POINT (-40.327956 -2.771729)'))) / (select extract(epoch from '2026-07-20 05:37:12'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328068 -2.771773)', '2026-07-20 05:37:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327956 -2.771729)'), GeomFromEWKT('SRID=4674;POINT (-40.328068 -2.771773)'))) / (select extract(epoch from '2026-07-20 05:37:18'::timestamp) - extract(epoch from '2026-07-20 05:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327956 -2.771729)'), GeomFromEWKT('SRID=4674;POINT (-40.328068 -2.771773)'))) / (select extract(epoch from '2026-07-20 05:37:18'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328184 -2.771808)', '2026-07-20 05:37:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328068 -2.771773)'), GeomFromEWKT('SRID=4674;POINT (-40.328184 -2.771808)'))) / (select extract(epoch from '2026-07-20 05:37:24'::timestamp) - extract(epoch from '2026-07-20 05:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328068 -2.771773)'), GeomFromEWKT('SRID=4674;POINT (-40.328184 -2.771808)'))) / (select extract(epoch from '2026-07-20 05:37:24'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328303 -2.77184)', '2026-07-20 05:37:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328184 -2.771808)'), GeomFromEWKT('SRID=4674;POINT (-40.328303 -2.77184)'))) / (select extract(epoch from '2026-07-20 05:37:30'::timestamp) - extract(epoch from '2026-07-20 05:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328184 -2.771808)'), GeomFromEWKT('SRID=4674;POINT (-40.328303 -2.77184)'))) / (select extract(epoch from '2026-07-20 05:37:30'::timestamp) - extract(epoch from '2026-07-20 05:37: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'), 47645, 'SRID=4674;POINT (-40.328417 -2.771866)', '2026-07-20 05:37:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328303 -2.77184)'), GeomFromEWKT('SRID=4674;POINT (-40.328417 -2.771866)'))) / (select extract(epoch from '2026-07-20 05:37:36'::timestamp) - extract(epoch from '2026-07-20 05:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328303 -2.77184)'), GeomFromEWKT('SRID=4674;POINT (-40.328417 -2.771866)'))) / (select extract(epoch from '2026-07-20 05:37:36'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328529 -2.771899)', '2026-07-20 05:37:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328417 -2.771866)'), GeomFromEWKT('SRID=4674;POINT (-40.328529 -2.771899)'))) / (select extract(epoch from '2026-07-20 05:37:42'::timestamp) - extract(epoch from '2026-07-20 05:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328417 -2.771866)'), GeomFromEWKT('SRID=4674;POINT (-40.328529 -2.771899)'))) / (select extract(epoch from '2026-07-20 05:37:42'::timestamp) - extract(epoch from '2026-07-20 05:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328638 -2.771944)', '2026-07-20 05:37:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328529 -2.771899)'), GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.771944)'))) / (select extract(epoch from '2026-07-20 05:37:48'::timestamp) - extract(epoch from '2026-07-20 05:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328529 -2.771899)'), GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.771944)'))) / (select extract(epoch from '2026-07-20 05:37:48'::timestamp) - extract(epoch from '2026-07-20 05:37: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'), 47645, 'SRID=4674;POINT (-40.328722 -2.771985)', '2026-07-20 05:37:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.771944)'), GeomFromEWKT('SRID=4674;POINT (-40.328722 -2.771985)'))) / (select extract(epoch from '2026-07-20 05:37:53'::timestamp) - extract(epoch from '2026-07-20 05:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.771944)'), GeomFromEWKT('SRID=4674;POINT (-40.328722 -2.771985)'))) / (select extract(epoch from '2026-07-20 05:37:53'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.32883 -2.772061)', '2026-07-20 05:38:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328722 -2.771985)'), GeomFromEWKT('SRID=4674;POINT (-40.32883 -2.772061)'))) / (select extract(epoch from '2026-07-20 05:38:00'::timestamp) - extract(epoch from '2026-07-20 05:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328722 -2.771985)'), GeomFromEWKT('SRID=4674;POINT (-40.32883 -2.772061)'))) / (select extract(epoch from '2026-07-20 05:38:00'::timestamp) - extract(epoch from '2026-07-20 05:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328888 -2.772133)', '2026-07-20 05:38:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32883 -2.772061)'), GeomFromEWKT('SRID=4674;POINT (-40.328888 -2.772133)'))) / (select extract(epoch from '2026-07-20 05:38:05'::timestamp) - extract(epoch from '2026-07-20 05:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32883 -2.772061)'), GeomFromEWKT('SRID=4674;POINT (-40.328888 -2.772133)'))) / (select extract(epoch from '2026-07-20 05:38:05'::timestamp) - extract(epoch from '2026-07-20 05:38:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328954 -2.772223)', '2026-07-20 05:38:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328888 -2.772133)'), GeomFromEWKT('SRID=4674;POINT (-40.328954 -2.772223)'))) / (select extract(epoch from '2026-07-20 05:38:11'::timestamp) - extract(epoch from '2026-07-20 05:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328888 -2.772133)'), GeomFromEWKT('SRID=4674;POINT (-40.328954 -2.772223)'))) / (select extract(epoch from '2026-07-20 05:38:11'::timestamp) - extract(epoch from '2026-07-20 05:38:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328984 -2.772299)', '2026-07-20 05:38:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328954 -2.772223)'), GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.772299)'))) / (select extract(epoch from '2026-07-20 05:38:17'::timestamp) - extract(epoch from '2026-07-20 05:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328954 -2.772223)'), GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.772299)'))) / (select extract(epoch from '2026-07-20 05:38:17'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328979 -2.772365)', '2026-07-20 05:38:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.772299)'), GeomFromEWKT('SRID=4674;POINT (-40.328979 -2.772365)'))) / (select extract(epoch from '2026-07-20 05:38:23'::timestamp) - extract(epoch from '2026-07-20 05:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328984 -2.772299)'), GeomFromEWKT('SRID=4674;POINT (-40.328979 -2.772365)'))) / (select extract(epoch from '2026-07-20 05:38:23'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328918 -2.772426)', '2026-07-20 05:38:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328979 -2.772365)'), GeomFromEWKT('SRID=4674;POINT (-40.328918 -2.772426)'))) / (select extract(epoch from '2026-07-20 05:38:33'::timestamp) - extract(epoch from '2026-07-20 05:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328979 -2.772365)'), GeomFromEWKT('SRID=4674;POINT (-40.328918 -2.772426)'))) / (select extract(epoch from '2026-07-20 05:38:33'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328867 -2.772438)', '2026-07-20 05:38:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328918 -2.772426)'), GeomFromEWKT('SRID=4674;POINT (-40.328867 -2.772438)'))) / (select extract(epoch from '2026-07-20 05:38:43'::timestamp) - extract(epoch from '2026-07-20 05:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328918 -2.772426)'), GeomFromEWKT('SRID=4674;POINT (-40.328867 -2.772438)'))) / (select extract(epoch from '2026-07-20 05:38:43'::timestamp) - extract(epoch from '2026-07-20 05:38: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'), 47645, 'SRID=4674;POINT (-40.328881 -2.772443)', '2026-07-20 05:38:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328867 -2.772438)'), GeomFromEWKT('SRID=4674;POINT (-40.328881 -2.772443)'))) / (select extract(epoch from '2026-07-20 05:38:52'::timestamp) - extract(epoch from '2026-07-20 05:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328867 -2.772438)'), GeomFromEWKT('SRID=4674;POINT (-40.328881 -2.772443)'))) / (select extract(epoch from '2026-07-20 05:38:52'::timestamp) - extract(epoch from '2026-07-20 05:38: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'), 47645, 'SRID=4674;POINT (-40.328897 -2.772415)', '2026-07-20 05:39:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328881 -2.772443)'), GeomFromEWKT('SRID=4674;POINT (-40.328897 -2.772415)'))) / (select extract(epoch from '2026-07-20 05:39:02'::timestamp) - extract(epoch from '2026-07-20 05:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328881 -2.772443)'), GeomFromEWKT('SRID=4674;POINT (-40.328897 -2.772415)'))) / (select extract(epoch from '2026-07-20 05:39:02'::timestamp) - extract(epoch from '2026-07-20 05:38: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'), 47645, 'SRID=4674;POINT (-40.328906 -2.772396)', '2026-07-20 05:39:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328897 -2.772415)'), GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.772396)'))) / (select extract(epoch from '2026-07-20 05:39:17'::timestamp) - extract(epoch from '2026-07-20 05:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328897 -2.772415)'), GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.772396)'))) / (select extract(epoch from '2026-07-20 05:39:17'::timestamp) - extract(epoch from '2026-07-20 05:39: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'), 47645, 'SRID=4674;POINT (-40.328913 -2.772384)', '2026-07-20 05:39:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.772396)'), GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.772384)'))) / (select extract(epoch from '2026-07-20 05:39:32'::timestamp) - extract(epoch from '2026-07-20 05:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.772396)'), GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.772384)'))) / (select extract(epoch from '2026-07-20 05:39:32'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328917 -2.772381)', '2026-07-20 05:39:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.772384)'), GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.772381)'))) / (select extract(epoch from '2026-07-20 05:39:44'::timestamp) - extract(epoch from '2026-07-20 05:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328913 -2.772384)'), GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.772381)'))) / (select extract(epoch from '2026-07-20 05:39:44'::timestamp) - extract(epoch from '2026-07-20 05:39: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'), 47645, 'SRID=4674;POINT (-40.328924 -2.772373)', '2026-07-20 05:39:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.772381)'), GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.772373)'))) / (select extract(epoch from '2026-07-20 05:39:57'::timestamp) - extract(epoch from '2026-07-20 05:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.772381)'), GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.772373)'))) / (select extract(epoch from '2026-07-20 05:39:57'::timestamp) - extract(epoch from '2026-07-20 05:39: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'), 47645, 'SRID=4674;POINT (-40.328922 -2.772376)', '2026-07-20 05:40:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.772373)'), GeomFromEWKT('SRID=4674;POINT (-40.328922 -2.772376)'))) / (select extract(epoch from '2026-07-20 05:40:13'::timestamp) - extract(epoch from '2026-07-20 05:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.772373)'), GeomFromEWKT('SRID=4674;POINT (-40.328922 -2.772376)'))) / (select extract(epoch from '2026-07-20 05:40:13'::timestamp) - extract(epoch from '2026-07-20 05:39: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'), 47645, 'SRID=4674;POINT (-40.328917 -2.772376)', '2026-07-20 05:40:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328922 -2.772376)'), GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.772376)'))) / (select extract(epoch from '2026-07-20 05:40:31'::timestamp) - extract(epoch from '2026-07-20 05:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328922 -2.772376)'), GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.772376)'))) / (select extract(epoch from '2026-07-20 05:40:31'::timestamp) - extract(epoch from '2026-07-20 05:40: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'), 47645, 'SRID=4674;POINT (-40.328919 -2.772365)', '2026-07-20 05:40:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.772376)'), GeomFromEWKT('SRID=4674;POINT (-40.328919 -2.772365)'))) / (select extract(epoch from '2026-07-20 05:40:43'::timestamp) - extract(epoch from '2026-07-20 05:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328917 -2.772376)'), GeomFromEWKT('SRID=4674;POINT (-40.328919 -2.772365)'))) / (select extract(epoch from '2026-07-20 05:40:43'::timestamp) - extract(epoch from '2026-07-20 05:40: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'), 47645, 'SRID=4674;POINT (-40.328924 -2.77238)', '2026-07-20 05:41:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328919 -2.772365)'), GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.77238)'))) / (select extract(epoch from '2026-07-20 05:41:02'::timestamp) - extract(epoch from '2026-07-20 05:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328919 -2.772365)'), GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.77238)'))) / (select extract(epoch from '2026-07-20 05:41:02'::timestamp) - extract(epoch from '2026-07-20 05: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'), 47645, 'SRID=4674;POINT (-40.328924 -2.772383)', '2026-07-20 05:41:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.77238)'), GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.772383)'))) / (select extract(epoch from '2026-07-20 05:41:09'::timestamp) - extract(epoch from '2026-07-20 05:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.77238)'), GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.772383)'))) / (select extract(epoch from '2026-07-20 05:41:09'::timestamp) - extract(epoch from '2026-07-20 05:41: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'), 47645, 'SRID=4674;POINT (-40.328928 -2.772376)', '2026-07-20 05:41:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.772383)'), GeomFromEWKT('SRID=4674;POINT (-40.328928 -2.772376)'))) / (select extract(epoch from '2026-07-20 05:41:26'::timestamp) - extract(epoch from '2026-07-20 05:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328924 -2.772383)'), GeomFromEWKT('SRID=4674;POINT (-40.328928 -2.772376)'))) / (select extract(epoch from '2026-07-20 05:41:26'::timestamp) - extract(epoch from '2026-07-20 05:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328938 -2.772361)', '2026-07-20 05:41:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328928 -2.772376)'), GeomFromEWKT('SRID=4674;POINT (-40.328938 -2.772361)'))) / (select extract(epoch from '2026-07-20 05:41:38'::timestamp) - extract(epoch from '2026-07-20 05:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328928 -2.772376)'), GeomFromEWKT('SRID=4674;POINT (-40.328938 -2.772361)'))) / (select extract(epoch from '2026-07-20 05:41:38'::timestamp) - extract(epoch from '2026-07-20 05:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328946 -2.772383)', '2026-07-20 05:41:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328938 -2.772361)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.772383)'))) / (select extract(epoch from '2026-07-20 05:41:50'::timestamp) - extract(epoch from '2026-07-20 05:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328938 -2.772361)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.772383)'))) / (select extract(epoch from '2026-07-20 05:41:50'::timestamp) - extract(epoch from '2026-07-20 05:41: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'), 47645, 'SRID=4674;POINT (-40.328942 -2.772368)', '2026-07-20 05:42:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.772383)'), GeomFromEWKT('SRID=4674;POINT (-40.328942 -2.772368)'))) / (select extract(epoch from '2026-07-20 05:42:00'::timestamp) - extract(epoch from '2026-07-20 05:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.772383)'), GeomFromEWKT('SRID=4674;POINT (-40.328942 -2.772368)'))) / (select extract(epoch from '2026-07-20 05:42:00'::timestamp) - extract(epoch from '2026-07-20 05:41: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'), 47645, 'SRID=4674;POINT (-40.328933 -2.772343)', '2026-07-20 05:42:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328942 -2.772368)'), GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.772343)'))) / (select extract(epoch from '2026-07-20 05:42:12'::timestamp) - extract(epoch from '2026-07-20 05:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328942 -2.772368)'), GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.772343)'))) / (select extract(epoch from '2026-07-20 05:42:12'::timestamp) - extract(epoch from '2026-07-20 05:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328906 -2.772362)', '2026-07-20 05:42:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.772343)'), GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.772362)'))) / (select extract(epoch from '2026-07-20 05:42:21'::timestamp) - extract(epoch from '2026-07-20 05:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328933 -2.772343)'), GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.772362)'))) / (select extract(epoch from '2026-07-20 05:42:21'::timestamp) - extract(epoch from '2026-07-20 05:42: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'), 47645, 'SRID=4674;POINT (-40.328877 -2.772363)', '2026-07-20 05:42:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.772362)'), GeomFromEWKT('SRID=4674;POINT (-40.328877 -2.772363)'))) / (select extract(epoch from '2026-07-20 05:42:31'::timestamp) - extract(epoch from '2026-07-20 05:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328906 -2.772362)'), GeomFromEWKT('SRID=4674;POINT (-40.328877 -2.772363)'))) / (select extract(epoch from '2026-07-20 05:42:31'::timestamp) - extract(epoch from '2026-07-20 05:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328853 -2.772351)', '2026-07-20 05:42:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328877 -2.772363)'), GeomFromEWKT('SRID=4674;POINT (-40.328853 -2.772351)'))) / (select extract(epoch from '2026-07-20 05:42:43'::timestamp) - extract(epoch from '2026-07-20 05:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328877 -2.772363)'), GeomFromEWKT('SRID=4674;POINT (-40.328853 -2.772351)'))) / (select extract(epoch from '2026-07-20 05:42:43'::timestamp) - extract(epoch from '2026-07-20 05:42: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'), 47645, 'SRID=4674;POINT (-40.328794 -2.772332)', '2026-07-20 05:42:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328853 -2.772351)'), GeomFromEWKT('SRID=4674;POINT (-40.328794 -2.772332)'))) / (select extract(epoch from '2026-07-20 05:42:54'::timestamp) - extract(epoch from '2026-07-20 05:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328853 -2.772351)'), GeomFromEWKT('SRID=4674;POINT (-40.328794 -2.772332)'))) / (select extract(epoch from '2026-07-20 05:42:54'::timestamp) - extract(epoch from '2026-07-20 05:42: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'), 47645, 'SRID=4674;POINT (-40.328729 -2.772334)', '2026-07-20 05:43:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328794 -2.772332)'), GeomFromEWKT('SRID=4674;POINT (-40.328729 -2.772334)'))) / (select extract(epoch from '2026-07-20 05:43:08'::timestamp) - extract(epoch from '2026-07-20 05:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328794 -2.772332)'), GeomFromEWKT('SRID=4674;POINT (-40.328729 -2.772334)'))) / (select extract(epoch from '2026-07-20 05:43:08'::timestamp) - extract(epoch from '2026-07-20 05:42: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'), 47645, 'SRID=4674;POINT (-40.328694 -2.77231)', '2026-07-20 05:43:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328729 -2.772334)'), GeomFromEWKT('SRID=4674;POINT (-40.328694 -2.77231)'))) / (select extract(epoch from '2026-07-20 05:43:19'::timestamp) - extract(epoch from '2026-07-20 05:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328729 -2.772334)'), GeomFromEWKT('SRID=4674;POINT (-40.328694 -2.77231)'))) / (select extract(epoch from '2026-07-20 05:43:19'::timestamp) - extract(epoch from '2026-07-20 05:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328665 -2.772313)', '2026-07-20 05:43:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328694 -2.77231)'), GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.772313)'))) / (select extract(epoch from '2026-07-20 05:43:29'::timestamp) - extract(epoch from '2026-07-20 05:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328694 -2.77231)'), GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.772313)'))) / (select extract(epoch from '2026-07-20 05:43:29'::timestamp) - extract(epoch from '2026-07-20 05:43: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'), 47645, 'SRID=4674;POINT (-40.328614 -2.77229)', '2026-07-20 05:43:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.772313)'), GeomFromEWKT('SRID=4674;POINT (-40.328614 -2.77229)'))) / (select extract(epoch from '2026-07-20 05:43:40'::timestamp) - extract(epoch from '2026-07-20 05:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.772313)'), GeomFromEWKT('SRID=4674;POINT (-40.328614 -2.77229)'))) / (select extract(epoch from '2026-07-20 05:43:40'::timestamp) - extract(epoch from '2026-07-20 05:43: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'), 47645, 'SRID=4674;POINT (-40.328557 -2.77228)', '2026-07-20 05:43:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328614 -2.77229)'), GeomFromEWKT('SRID=4674;POINT (-40.328557 -2.77228)'))) / (select extract(epoch from '2026-07-20 05:43:54'::timestamp) - extract(epoch from '2026-07-20 05:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328614 -2.77229)'), GeomFromEWKT('SRID=4674;POINT (-40.328557 -2.77228)'))) / (select extract(epoch from '2026-07-20 05:43:54'::timestamp) - extract(epoch from '2026-07-20 05:43: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'), 47645, 'SRID=4674;POINT (-40.328524 -2.772275)', '2026-07-20 05:44:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328557 -2.77228)'), GeomFromEWKT('SRID=4674;POINT (-40.328524 -2.772275)'))) / (select extract(epoch from '2026-07-20 05:44:04'::timestamp) - extract(epoch from '2026-07-20 05:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328557 -2.77228)'), GeomFromEWKT('SRID=4674;POINT (-40.328524 -2.772275)'))) / (select extract(epoch from '2026-07-20 05:44:04'::timestamp) - extract(epoch from '2026-07-20 05:43: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'), 47645, 'SRID=4674;POINT (-40.328496 -2.77226)', '2026-07-20 05:44:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328524 -2.772275)'), GeomFromEWKT('SRID=4674;POINT (-40.328496 -2.77226)'))) / (select extract(epoch from '2026-07-20 05:44:18'::timestamp) - extract(epoch from '2026-07-20 05:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328524 -2.772275)'), GeomFromEWKT('SRID=4674;POINT (-40.328496 -2.77226)'))) / (select extract(epoch from '2026-07-20 05:44:18'::timestamp) - extract(epoch from '2026-07-20 05:44:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328444 -2.772245)', '2026-07-20 05:44:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328496 -2.77226)'), GeomFromEWKT('SRID=4674;POINT (-40.328444 -2.772245)'))) / (select extract(epoch from '2026-07-20 05:44:31'::timestamp) - extract(epoch from '2026-07-20 05:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328496 -2.77226)'), GeomFromEWKT('SRID=4674;POINT (-40.328444 -2.772245)'))) / (select extract(epoch from '2026-07-20 05:44:31'::timestamp) - extract(epoch from '2026-07-20 05:44: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'), 47645, 'SRID=4674;POINT (-40.328407 -2.77221)', '2026-07-20 05:44:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328444 -2.772245)'), GeomFromEWKT('SRID=4674;POINT (-40.328407 -2.77221)'))) / (select extract(epoch from '2026-07-20 05:44:41'::timestamp) - extract(epoch from '2026-07-20 05:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328444 -2.772245)'), GeomFromEWKT('SRID=4674;POINT (-40.328407 -2.77221)'))) / (select extract(epoch from '2026-07-20 05:44:41'::timestamp) - extract(epoch from '2026-07-20 05:44: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'), 47645, 'SRID=4674;POINT (-40.328349 -2.772196)', '2026-07-20 05:44:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328407 -2.77221)'), GeomFromEWKT('SRID=4674;POINT (-40.328349 -2.772196)'))) / (select extract(epoch from '2026-07-20 05:44:55'::timestamp) - extract(epoch from '2026-07-20 05:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328407 -2.77221)'), GeomFromEWKT('SRID=4674;POINT (-40.328349 -2.772196)'))) / (select extract(epoch from '2026-07-20 05:44:55'::timestamp) - extract(epoch from '2026-07-20 05:44: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'), 47645, 'SRID=4674;POINT (-40.328309 -2.772174)', '2026-07-20 05:45:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328349 -2.772196)'), GeomFromEWKT('SRID=4674;POINT (-40.328309 -2.772174)'))) / (select extract(epoch from '2026-07-20 05:45:06'::timestamp) - extract(epoch from '2026-07-20 05:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328349 -2.772196)'), GeomFromEWKT('SRID=4674;POINT (-40.328309 -2.772174)'))) / (select extract(epoch from '2026-07-20 05:45:06'::timestamp) - extract(epoch from '2026-07-20 05:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328259 -2.772165)', '2026-07-20 05:45:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328309 -2.772174)'), GeomFromEWKT('SRID=4674;POINT (-40.328259 -2.772165)'))) / (select extract(epoch from '2026-07-20 05:45:24'::timestamp) - extract(epoch from '2026-07-20 05:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328309 -2.772174)'), GeomFromEWKT('SRID=4674;POINT (-40.328259 -2.772165)'))) / (select extract(epoch from '2026-07-20 05:45:24'::timestamp) - extract(epoch from '2026-07-20 05:45: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'), 47645, 'SRID=4674;POINT (-40.328227 -2.772143)', '2026-07-20 05:45:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328259 -2.772165)'), GeomFromEWKT('SRID=4674;POINT (-40.328227 -2.772143)'))) / (select extract(epoch from '2026-07-20 05:45:36'::timestamp) - extract(epoch from '2026-07-20 05:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328259 -2.772165)'), GeomFromEWKT('SRID=4674;POINT (-40.328227 -2.772143)'))) / (select extract(epoch from '2026-07-20 05:45:36'::timestamp) - extract(epoch from '2026-07-20 05:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328194 -2.772131)', '2026-07-20 05:45:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328227 -2.772143)'), GeomFromEWKT('SRID=4674;POINT (-40.328194 -2.772131)'))) / (select extract(epoch from '2026-07-20 05:45:49'::timestamp) - extract(epoch from '2026-07-20 05:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328227 -2.772143)'), GeomFromEWKT('SRID=4674;POINT (-40.328194 -2.772131)'))) / (select extract(epoch from '2026-07-20 05:45:49'::timestamp) - extract(epoch from '2026-07-20 05:45: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'), 47645, 'SRID=4674;POINT (-40.328175 -2.772125)', '2026-07-20 05:45:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328194 -2.772131)'), GeomFromEWKT('SRID=4674;POINT (-40.328175 -2.772125)'))) / (select extract(epoch from '2026-07-20 05:45:58'::timestamp) - extract(epoch from '2026-07-20 05:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328194 -2.772131)'), GeomFromEWKT('SRID=4674;POINT (-40.328175 -2.772125)'))) / (select extract(epoch from '2026-07-20 05:45:58'::timestamp) - extract(epoch from '2026-07-20 05:45: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'), 47645, 'SRID=4674;POINT (-40.328136 -2.772126)', '2026-07-20 05:46:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328175 -2.772125)'), GeomFromEWKT('SRID=4674;POINT (-40.328136 -2.772126)'))) / (select extract(epoch from '2026-07-20 05:46:14'::timestamp) - extract(epoch from '2026-07-20 05:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328175 -2.772125)'), GeomFromEWKT('SRID=4674;POINT (-40.328136 -2.772126)'))) / (select extract(epoch from '2026-07-20 05:46:14'::timestamp) - extract(epoch from '2026-07-20 05:45: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'), 47645, 'SRID=4674;POINT (-40.3281 -2.772117)', '2026-07-20 05:46:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328136 -2.772126)'), GeomFromEWKT('SRID=4674;POINT (-40.3281 -2.772117)'))) / (select extract(epoch from '2026-07-20 05:46:23'::timestamp) - extract(epoch from '2026-07-20 05:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328136 -2.772126)'), GeomFromEWKT('SRID=4674;POINT (-40.3281 -2.772117)'))) / (select extract(epoch from '2026-07-20 05:46:23'::timestamp) - extract(epoch from '2026-07-20 05:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.32808 -2.772097)', '2026-07-20 05:46:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3281 -2.772117)'), GeomFromEWKT('SRID=4674;POINT (-40.32808 -2.772097)'))) / (select extract(epoch from '2026-07-20 05:46:29'::timestamp) - extract(epoch from '2026-07-20 05:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3281 -2.772117)'), GeomFromEWKT('SRID=4674;POINT (-40.32808 -2.772097)'))) / (select extract(epoch from '2026-07-20 05:46:29'::timestamp) - extract(epoch from '2026-07-20 05:46: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'), 47645, 'SRID=4674;POINT (-40.32804 -2.772078)', '2026-07-20 05:46:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32808 -2.772097)'), GeomFromEWKT('SRID=4674;POINT (-40.32804 -2.772078)'))) / (select extract(epoch from '2026-07-20 05:46:41'::timestamp) - extract(epoch from '2026-07-20 05:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32808 -2.772097)'), GeomFromEWKT('SRID=4674;POINT (-40.32804 -2.772078)'))) / (select extract(epoch from '2026-07-20 05:46:41'::timestamp) - extract(epoch from '2026-07-20 05:46: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'), 47645, 'SRID=4674;POINT (-40.328019 -2.772081)', '2026-07-20 05:46:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32804 -2.772078)'), GeomFromEWKT('SRID=4674;POINT (-40.328019 -2.772081)'))) / (select extract(epoch from '2026-07-20 05:46:51'::timestamp) - extract(epoch from '2026-07-20 05:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32804 -2.772078)'), GeomFromEWKT('SRID=4674;POINT (-40.328019 -2.772081)'))) / (select extract(epoch from '2026-07-20 05:46:51'::timestamp) - extract(epoch from '2026-07-20 05:46: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'), 47645, 'SRID=4674;POINT (-40.328002 -2.772057)', '2026-07-20 05:47:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328019 -2.772081)'), GeomFromEWKT('SRID=4674;POINT (-40.328002 -2.772057)'))) / (select extract(epoch from '2026-07-20 05:47:02'::timestamp) - extract(epoch from '2026-07-20 05:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328019 -2.772081)'), GeomFromEWKT('SRID=4674;POINT (-40.328002 -2.772057)'))) / (select extract(epoch from '2026-07-20 05:47:02'::timestamp) - extract(epoch from '2026-07-20 05:46: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'), 47645, 'SRID=4674;POINT (-40.328012 -2.772049)', '2026-07-20 05:47:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328002 -2.772057)'), GeomFromEWKT('SRID=4674;POINT (-40.328012 -2.772049)'))) / (select extract(epoch from '2026-07-20 05:47:12'::timestamp) - extract(epoch from '2026-07-20 05:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328002 -2.772057)'), GeomFromEWKT('SRID=4674;POINT (-40.328012 -2.772049)'))) / (select extract(epoch from '2026-07-20 05:47:12'::timestamp) - extract(epoch from '2026-07-20 05:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47645, 'SRID=4674;POINT (-40.328013 -2.772049)', '2026-07-20 05:47:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328012 -2.772049)'), GeomFromEWKT('SRID=4674;POINT (-40.328013 -2.772049)'))) / (select extract(epoch from '2026-07-20 05:47:25'::timestamp) - extract(epoch from '2026-07-20 05:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328012 -2.772049)'), GeomFromEWKT('SRID=4674;POINT (-40.328013 -2.772049)'))) / (select extract(epoch from '2026-07-20 05:47:25'::timestamp) - extract(epoch from '2026-07-20 05:47:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
