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'), 47841, 'SRID=4674;POINT (-40.354612 -2.806987)', '2026-07-10 02:53:04', 18, 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'), 47841, 'SRID=4674;POINT (-40.354646 -2.806939)', '2026-07-10 02:53:20', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354612 -2.806987)'), GeomFromEWKT('SRID=4674;POINT (-40.354646 -2.806939)'))) / (select extract(epoch from '2026-07-10 02:53:20'::timestamp) - extract(epoch from '2026-07-10 02:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354612 -2.806987)'), GeomFromEWKT('SRID=4674;POINT (-40.354646 -2.806939)'))) / (select extract(epoch from '2026-07-10 02:53:20'::timestamp) - extract(epoch from '2026-07-10 02:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.354665 -2.806915)', '2026-07-10 02:53:37', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354646 -2.806939)'), GeomFromEWKT('SRID=4674;POINT (-40.354665 -2.806915)'))) / (select extract(epoch from '2026-07-10 02:53:37'::timestamp) - extract(epoch from '2026-07-10 02:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354646 -2.806939)'), GeomFromEWKT('SRID=4674;POINT (-40.354665 -2.806915)'))) / (select extract(epoch from '2026-07-10 02:53:37'::timestamp) - extract(epoch from '2026-07-10 02:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.354675 -2.806915)', '2026-07-10 02:54:02', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354665 -2.806915)'), GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.806915)'))) / (select extract(epoch from '2026-07-10 02:54:02'::timestamp) - extract(epoch from '2026-07-10 02:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354665 -2.806915)'), GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.806915)'))) / (select extract(epoch from '2026-07-10 02:54:02'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47841, 'SRID=4674;POINT (-40.354687 -2.806922)', '2026-07-10 02:54:20', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.806915)'), GeomFromEWKT('SRID=4674;POINT (-40.354687 -2.806922)'))) / (select extract(epoch from '2026-07-10 02:54:20'::timestamp) - extract(epoch from '2026-07-10 02:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354675 -2.806915)'), GeomFromEWKT('SRID=4674;POINT (-40.354687 -2.806922)'))) / (select extract(epoch from '2026-07-10 02:54:20'::timestamp) - extract(epoch from '2026-07-10 02:54: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'), 47841, 'SRID=4674;POINT (-40.354702 -2.80692)', '2026-07-10 02:54:30', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354687 -2.806922)'), GeomFromEWKT('SRID=4674;POINT (-40.354702 -2.80692)'))) / (select extract(epoch from '2026-07-10 02:54:30'::timestamp) - extract(epoch from '2026-07-10 02:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354687 -2.806922)'), GeomFromEWKT('SRID=4674;POINT (-40.354702 -2.80692)'))) / (select extract(epoch from '2026-07-10 02:54:30'::timestamp) - extract(epoch from '2026-07-10 02:54: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'), 47841, 'SRID=4674;POINT (-40.354735 -2.806894)', '2026-07-10 02:54:40', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354702 -2.80692)'), GeomFromEWKT('SRID=4674;POINT (-40.354735 -2.806894)'))) / (select extract(epoch from '2026-07-10 02:54:40'::timestamp) - extract(epoch from '2026-07-10 02:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354702 -2.80692)'), GeomFromEWKT('SRID=4674;POINT (-40.354735 -2.806894)'))) / (select extract(epoch from '2026-07-10 02:54:40'::timestamp) - extract(epoch from '2026-07-10 02:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.354779 -2.806863)', '2026-07-10 02:54:53', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354735 -2.806894)'), GeomFromEWKT('SRID=4674;POINT (-40.354779 -2.806863)'))) / (select extract(epoch from '2026-07-10 02:54:53'::timestamp) - extract(epoch from '2026-07-10 02:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354735 -2.806894)'), GeomFromEWKT('SRID=4674;POINT (-40.354779 -2.806863)'))) / (select extract(epoch from '2026-07-10 02:54:53'::timestamp) - extract(epoch from '2026-07-10 02:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.354795 -2.806858)', '2026-07-10 02:55:11', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354779 -2.806863)'), GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.806858)'))) / (select extract(epoch from '2026-07-10 02:55:11'::timestamp) - extract(epoch from '2026-07-10 02:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354779 -2.806863)'), GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.806858)'))) / (select extract(epoch from '2026-07-10 02:55:11'::timestamp) - extract(epoch from '2026-07-10 02:54: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'), 47841, 'SRID=4674;POINT (-40.354809 -2.806854)', '2026-07-10 02:55:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.806858)'), GeomFromEWKT('SRID=4674;POINT (-40.354809 -2.806854)'))) / (select extract(epoch from '2026-07-10 02:55:27'::timestamp) - extract(epoch from '2026-07-10 02:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354795 -2.806858)'), GeomFromEWKT('SRID=4674;POINT (-40.354809 -2.806854)'))) / (select extract(epoch from '2026-07-10 02:55:27'::timestamp) - extract(epoch from '2026-07-10 02:55: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'), 47841, 'SRID=4674;POINT (-40.354818 -2.806851)', '2026-07-10 02:55:35', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354809 -2.806854)'), GeomFromEWKT('SRID=4674;POINT (-40.354818 -2.806851)'))) / (select extract(epoch from '2026-07-10 02:55:35'::timestamp) - extract(epoch from '2026-07-10 02:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354809 -2.806854)'), GeomFromEWKT('SRID=4674;POINT (-40.354818 -2.806851)'))) / (select extract(epoch from '2026-07-10 02:55:35'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47841, 'SRID=4674;POINT (-40.354832 -2.806849)', '2026-07-10 02:55:52', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354818 -2.806851)'), GeomFromEWKT('SRID=4674;POINT (-40.354832 -2.806849)'))) / (select extract(epoch from '2026-07-10 02:55:52'::timestamp) - extract(epoch from '2026-07-10 02:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354818 -2.806851)'), GeomFromEWKT('SRID=4674;POINT (-40.354832 -2.806849)'))) / (select extract(epoch from '2026-07-10 02:55:52'::timestamp) - extract(epoch from '2026-07-10 02:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.354847 -2.806852)', '2026-07-10 02:56:09', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354832 -2.806849)'), GeomFromEWKT('SRID=4674;POINT (-40.354847 -2.806852)'))) / (select extract(epoch from '2026-07-10 02:56:09'::timestamp) - extract(epoch from '2026-07-10 02:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354832 -2.806849)'), GeomFromEWKT('SRID=4674;POINT (-40.354847 -2.806852)'))) / (select extract(epoch from '2026-07-10 02:56:09'::timestamp) - extract(epoch from '2026-07-10 02:55: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'), 47841, 'SRID=4674;POINT (-40.354859 -2.806858)', '2026-07-10 02:56:24', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354847 -2.806852)'), GeomFromEWKT('SRID=4674;POINT (-40.354859 -2.806858)'))) / (select extract(epoch from '2026-07-10 02:56:24'::timestamp) - extract(epoch from '2026-07-10 02:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354847 -2.806852)'), GeomFromEWKT('SRID=4674;POINT (-40.354859 -2.806858)'))) / (select extract(epoch from '2026-07-10 02:56:24'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47841, 'SRID=4674;POINT (-40.354875 -2.806855)', '2026-07-10 02:56:37', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354859 -2.806858)'), GeomFromEWKT('SRID=4674;POINT (-40.354875 -2.806855)'))) / (select extract(epoch from '2026-07-10 02:56:37'::timestamp) - extract(epoch from '2026-07-10 02:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354859 -2.806858)'), GeomFromEWKT('SRID=4674;POINT (-40.354875 -2.806855)'))) / (select extract(epoch from '2026-07-10 02:56:37'::timestamp) - extract(epoch from '2026-07-10 02:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.354925 -2.806843)', '2026-07-10 02:56:48', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354875 -2.806855)'), GeomFromEWKT('SRID=4674;POINT (-40.354925 -2.806843)'))) / (select extract(epoch from '2026-07-10 02:56:48'::timestamp) - extract(epoch from '2026-07-10 02:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354875 -2.806855)'), GeomFromEWKT('SRID=4674;POINT (-40.354925 -2.806843)'))) / (select extract(epoch from '2026-07-10 02:56:48'::timestamp) - extract(epoch from '2026-07-10 02:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.35499 -2.806805)', '2026-07-10 02:56:59', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354925 -2.806843)'), GeomFromEWKT('SRID=4674;POINT (-40.35499 -2.806805)'))) / (select extract(epoch from '2026-07-10 02:56:59'::timestamp) - extract(epoch from '2026-07-10 02:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354925 -2.806843)'), GeomFromEWKT('SRID=4674;POINT (-40.35499 -2.806805)'))) / (select extract(epoch from '2026-07-10 02:56:59'::timestamp) - extract(epoch from '2026-07-10 02:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.355051 -2.806781)', '2026-07-10 02:57:11', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35499 -2.806805)'), GeomFromEWKT('SRID=4674;POINT (-40.355051 -2.806781)'))) / (select extract(epoch from '2026-07-10 02:57:11'::timestamp) - extract(epoch from '2026-07-10 02:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35499 -2.806805)'), GeomFromEWKT('SRID=4674;POINT (-40.355051 -2.806781)'))) / (select extract(epoch from '2026-07-10 02:57:11'::timestamp) - extract(epoch from '2026-07-10 02:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.355092 -2.806783)', '2026-07-10 02:57:23', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355051 -2.806781)'), GeomFromEWKT('SRID=4674;POINT (-40.355092 -2.806783)'))) / (select extract(epoch from '2026-07-10 02:57:23'::timestamp) - extract(epoch from '2026-07-10 02:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355051 -2.806781)'), GeomFromEWKT('SRID=4674;POINT (-40.355092 -2.806783)'))) / (select extract(epoch from '2026-07-10 02:57:23'::timestamp) - extract(epoch from '2026-07-10 02:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.355142 -2.806787)', '2026-07-10 02:57:38', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355092 -2.806783)'), GeomFromEWKT('SRID=4674;POINT (-40.355142 -2.806787)'))) / (select extract(epoch from '2026-07-10 02:57:38'::timestamp) - extract(epoch from '2026-07-10 02:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355092 -2.806783)'), GeomFromEWKT('SRID=4674;POINT (-40.355142 -2.806787)'))) / (select extract(epoch from '2026-07-10 02:57:38'::timestamp) - extract(epoch from '2026-07-10 02:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.355226 -2.806745)', '2026-07-10 02:57:50', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355142 -2.806787)'), GeomFromEWKT('SRID=4674;POINT (-40.355226 -2.806745)'))) / (select extract(epoch from '2026-07-10 02:57:50'::timestamp) - extract(epoch from '2026-07-10 02:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355142 -2.806787)'), GeomFromEWKT('SRID=4674;POINT (-40.355226 -2.806745)'))) / (select extract(epoch from '2026-07-10 02:57:50'::timestamp) - extract(epoch from '2026-07-10 02:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.35533 -2.806639)', '2026-07-10 02:57:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355226 -2.806745)'), GeomFromEWKT('SRID=4674;POINT (-40.35533 -2.806639)'))) / (select extract(epoch from '2026-07-10 02:57:58'::timestamp) - extract(epoch from '2026-07-10 02:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355226 -2.806745)'), GeomFromEWKT('SRID=4674;POINT (-40.35533 -2.806639)'))) / (select extract(epoch from '2026-07-10 02:57:58'::timestamp) - extract(epoch from '2026-07-10 02:57: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'), 47841, 'SRID=4674;POINT (-40.35544 -2.806514)', '2026-07-10 02:58:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35533 -2.806639)'), GeomFromEWKT('SRID=4674;POINT (-40.35544 -2.806514)'))) / (select extract(epoch from '2026-07-10 02:58:06'::timestamp) - extract(epoch from '2026-07-10 02:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35533 -2.806639)'), GeomFromEWKT('SRID=4674;POINT (-40.35544 -2.806514)'))) / (select extract(epoch from '2026-07-10 02:58:06'::timestamp) - extract(epoch from '2026-07-10 02:57: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'), 47841, 'SRID=4674;POINT (-40.355495 -2.806372)', '2026-07-10 02:58:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35544 -2.806514)'), GeomFromEWKT('SRID=4674;POINT (-40.355495 -2.806372)'))) / (select extract(epoch from '2026-07-10 02:58:14'::timestamp) - extract(epoch from '2026-07-10 02:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35544 -2.806514)'), GeomFromEWKT('SRID=4674;POINT (-40.355495 -2.806372)'))) / (select extract(epoch from '2026-07-10 02:58:14'::timestamp) - extract(epoch from '2026-07-10 02:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.35546 -2.806276)', '2026-07-10 02:58:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355495 -2.806372)'), GeomFromEWKT('SRID=4674;POINT (-40.35546 -2.806276)'))) / (select extract(epoch from '2026-07-10 02:58:20'::timestamp) - extract(epoch from '2026-07-10 02:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355495 -2.806372)'), GeomFromEWKT('SRID=4674;POINT (-40.35546 -2.806276)'))) / (select extract(epoch from '2026-07-10 02:58:20'::timestamp) - extract(epoch from '2026-07-10 02:58:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.35535 -2.806221)', '2026-07-10 02:58:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35546 -2.806276)'), GeomFromEWKT('SRID=4674;POINT (-40.35535 -2.806221)'))) / (select extract(epoch from '2026-07-10 02:58:28'::timestamp) - extract(epoch from '2026-07-10 02:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35546 -2.806276)'), GeomFromEWKT('SRID=4674;POINT (-40.35535 -2.806221)'))) / (select extract(epoch from '2026-07-10 02:58:28'::timestamp) - extract(epoch from '2026-07-10 02:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.355218 -2.806195)', '2026-07-10 02:58:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35535 -2.806221)'), GeomFromEWKT('SRID=4674;POINT (-40.355218 -2.806195)'))) / (select extract(epoch from '2026-07-10 02:58:35'::timestamp) - extract(epoch from '2026-07-10 02:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35535 -2.806221)'), GeomFromEWKT('SRID=4674;POINT (-40.355218 -2.806195)'))) / (select extract(epoch from '2026-07-10 02:58:35'::timestamp) - extract(epoch from '2026-07-10 02:58:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.355016 -2.806145)', '2026-07-10 02:58:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355218 -2.806195)'), GeomFromEWKT('SRID=4674;POINT (-40.355016 -2.806145)'))) / (select extract(epoch from '2026-07-10 02:58:45'::timestamp) - extract(epoch from '2026-07-10 02:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355218 -2.806195)'), GeomFromEWKT('SRID=4674;POINT (-40.355016 -2.806145)'))) / (select extract(epoch from '2026-07-10 02:58:45'::timestamp) - extract(epoch from '2026-07-10 02:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.354817 -2.806085)', '2026-07-10 02:58:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355016 -2.806145)'), GeomFromEWKT('SRID=4674;POINT (-40.354817 -2.806085)'))) / (select extract(epoch from '2026-07-10 02:58:55'::timestamp) - extract(epoch from '2026-07-10 02:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355016 -2.806145)'), GeomFromEWKT('SRID=4674;POINT (-40.354817 -2.806085)'))) / (select extract(epoch from '2026-07-10 02:58:55'::timestamp) - extract(epoch from '2026-07-10 02:58: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'), 47841, 'SRID=4674;POINT (-40.354639 -2.805995)', '2026-07-10 02:59:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354817 -2.806085)'), GeomFromEWKT('SRID=4674;POINT (-40.354639 -2.805995)'))) / (select extract(epoch from '2026-07-10 02:59:05'::timestamp) - extract(epoch from '2026-07-10 02:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354817 -2.806085)'), GeomFromEWKT('SRID=4674;POINT (-40.354639 -2.805995)'))) / (select extract(epoch from '2026-07-10 02:59:05'::timestamp) - extract(epoch from '2026-07-10 02:58: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'), 47841, 'SRID=4674;POINT (-40.354509 -2.805947)', '2026-07-10 02:59:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354639 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.354509 -2.805947)'))) / (select extract(epoch from '2026-07-10 02:59:12'::timestamp) - extract(epoch from '2026-07-10 02:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354639 -2.805995)'), GeomFromEWKT('SRID=4674;POINT (-40.354509 -2.805947)'))) / (select extract(epoch from '2026-07-10 02:59:12'::timestamp) - extract(epoch from '2026-07-10 02:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.354324 -2.80591)', '2026-07-10 02:59:21', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354509 -2.805947)'), GeomFromEWKT('SRID=4674;POINT (-40.354324 -2.80591)'))) / (select extract(epoch from '2026-07-10 02:59:21'::timestamp) - extract(epoch from '2026-07-10 02:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354509 -2.805947)'), GeomFromEWKT('SRID=4674;POINT (-40.354324 -2.80591)'))) / (select extract(epoch from '2026-07-10 02:59:21'::timestamp) - extract(epoch from '2026-07-10 02:59: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'), 47841, 'SRID=4674;POINT (-40.354166 -2.805854)', '2026-07-10 02:59:29', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354324 -2.80591)'), GeomFromEWKT('SRID=4674;POINT (-40.354166 -2.805854)'))) / (select extract(epoch from '2026-07-10 02:59:29'::timestamp) - extract(epoch from '2026-07-10 02:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354324 -2.80591)'), GeomFromEWKT('SRID=4674;POINT (-40.354166 -2.805854)'))) / (select extract(epoch from '2026-07-10 02:59:29'::timestamp) - extract(epoch from '2026-07-10 02:59: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'), 47841, 'SRID=4674;POINT (-40.354 -2.805766)', '2026-07-10 02:59:38', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354166 -2.805854)'), GeomFromEWKT('SRID=4674;POINT (-40.354 -2.805766)'))) / (select extract(epoch from '2026-07-10 02:59:38'::timestamp) - extract(epoch from '2026-07-10 02:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354166 -2.805854)'), GeomFromEWKT('SRID=4674;POINT (-40.354 -2.805766)'))) / (select extract(epoch from '2026-07-10 02:59:38'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47841, 'SRID=4674;POINT (-40.353829 -2.805691)', '2026-07-10 02:59:47', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354 -2.805766)'), GeomFromEWKT('SRID=4674;POINT (-40.353829 -2.805691)'))) / (select extract(epoch from '2026-07-10 02:59:47'::timestamp) - extract(epoch from '2026-07-10 02:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354 -2.805766)'), GeomFromEWKT('SRID=4674;POINT (-40.353829 -2.805691)'))) / (select extract(epoch from '2026-07-10 02:59:47'::timestamp) - extract(epoch from '2026-07-10 02:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.353691 -2.805608)', '2026-07-10 02:59:55', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353829 -2.805691)'), GeomFromEWKT('SRID=4674;POINT (-40.353691 -2.805608)'))) / (select extract(epoch from '2026-07-10 02:59:55'::timestamp) - extract(epoch from '2026-07-10 02:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353829 -2.805691)'), GeomFromEWKT('SRID=4674;POINT (-40.353691 -2.805608)'))) / (select extract(epoch from '2026-07-10 02:59:55'::timestamp) - extract(epoch from '2026-07-10 02:59: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'), 47841, 'SRID=4674;POINT (-40.353544 -2.805525)', '2026-07-10 03:00:03', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353691 -2.805608)'), GeomFromEWKT('SRID=4674;POINT (-40.353544 -2.805525)'))) / (select extract(epoch from '2026-07-10 03:00:03'::timestamp) - extract(epoch from '2026-07-10 02:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353691 -2.805608)'), GeomFromEWKT('SRID=4674;POINT (-40.353544 -2.805525)'))) / (select extract(epoch from '2026-07-10 03:00:03'::timestamp) - extract(epoch from '2026-07-10 02: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'), 47841, 'SRID=4674;POINT (-40.353404 -2.805474)', '2026-07-10 03:00:11', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353544 -2.805525)'), GeomFromEWKT('SRID=4674;POINT (-40.353404 -2.805474)'))) / (select extract(epoch from '2026-07-10 03:00:11'::timestamp) - extract(epoch from '2026-07-10 03:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353544 -2.805525)'), GeomFromEWKT('SRID=4674;POINT (-40.353404 -2.805474)'))) / (select extract(epoch from '2026-07-10 03:00:11'::timestamp) - extract(epoch from '2026-07-10 03:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.353244 -2.8054)', '2026-07-10 03:00:20', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353404 -2.805474)'), GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.8054)'))) / (select extract(epoch from '2026-07-10 03:00:20'::timestamp) - extract(epoch from '2026-07-10 03:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353404 -2.805474)'), GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.8054)'))) / (select extract(epoch from '2026-07-10 03:00:20'::timestamp) - extract(epoch from '2026-07-10 03:00:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.353072 -2.80536)', '2026-07-10 03:00:28', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.8054)'), GeomFromEWKT('SRID=4674;POINT (-40.353072 -2.80536)'))) / (select extract(epoch from '2026-07-10 03:00:28'::timestamp) - extract(epoch from '2026-07-10 03:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.8054)'), GeomFromEWKT('SRID=4674;POINT (-40.353072 -2.80536)'))) / (select extract(epoch from '2026-07-10 03:00:28'::timestamp) - extract(epoch from '2026-07-10 03:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.352908 -2.805305)', '2026-07-10 03:00:36', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353072 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.352908 -2.805305)'))) / (select extract(epoch from '2026-07-10 03:00:36'::timestamp) - extract(epoch from '2026-07-10 03:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353072 -2.80536)'), GeomFromEWKT('SRID=4674;POINT (-40.352908 -2.805305)'))) / (select extract(epoch from '2026-07-10 03:00:36'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.352739 -2.805256)', '2026-07-10 03:00:44', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352908 -2.805305)'), GeomFromEWKT('SRID=4674;POINT (-40.352739 -2.805256)'))) / (select extract(epoch from '2026-07-10 03:00:44'::timestamp) - extract(epoch from '2026-07-10 03:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352908 -2.805305)'), GeomFromEWKT('SRID=4674;POINT (-40.352739 -2.805256)'))) / (select extract(epoch from '2026-07-10 03:00:44'::timestamp) - extract(epoch from '2026-07-10 03:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.352623 -2.805186)', '2026-07-10 03:00:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352739 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.352623 -2.805186)'))) / (select extract(epoch from '2026-07-10 03:00:51'::timestamp) - extract(epoch from '2026-07-10 03:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352739 -2.805256)'), GeomFromEWKT('SRID=4674;POINT (-40.352623 -2.805186)'))) / (select extract(epoch from '2026-07-10 03:00:51'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.352497 -2.805097)', '2026-07-10 03:00:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352623 -2.805186)'), GeomFromEWKT('SRID=4674;POINT (-40.352497 -2.805097)'))) / (select extract(epoch from '2026-07-10 03:00:59'::timestamp) - extract(epoch from '2026-07-10 03:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352623 -2.805186)'), GeomFromEWKT('SRID=4674;POINT (-40.352497 -2.805097)'))) / (select extract(epoch from '2026-07-10 03:00:59'::timestamp) - extract(epoch from '2026-07-10 03:00: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'), 47841, 'SRID=4674;POINT (-40.352338 -2.805013)', '2026-07-10 03:01:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352497 -2.805097)'), GeomFromEWKT('SRID=4674;POINT (-40.352338 -2.805013)'))) / (select extract(epoch from '2026-07-10 03:01:08'::timestamp) - extract(epoch from '2026-07-10 03:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352497 -2.805097)'), GeomFromEWKT('SRID=4674;POINT (-40.352338 -2.805013)'))) / (select extract(epoch from '2026-07-10 03:01:08'::timestamp) - extract(epoch from '2026-07-10 03:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.352168 -2.804947)', '2026-07-10 03:01:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352338 -2.805013)'), GeomFromEWKT('SRID=4674;POINT (-40.352168 -2.804947)'))) / (select extract(epoch from '2026-07-10 03:01:17'::timestamp) - extract(epoch from '2026-07-10 03:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352338 -2.805013)'), GeomFromEWKT('SRID=4674;POINT (-40.352168 -2.804947)'))) / (select extract(epoch from '2026-07-10 03:01:17'::timestamp) - extract(epoch from '2026-07-10 03:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.351981 -2.804897)', '2026-07-10 03:01:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352168 -2.804947)'), GeomFromEWKT('SRID=4674;POINT (-40.351981 -2.804897)'))) / (select extract(epoch from '2026-07-10 03:01:26'::timestamp) - extract(epoch from '2026-07-10 03:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352168 -2.804947)'), GeomFromEWKT('SRID=4674;POINT (-40.351981 -2.804897)'))) / (select extract(epoch from '2026-07-10 03:01:26'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.35181 -2.804824)', '2026-07-10 03:01:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351981 -2.804897)'), GeomFromEWKT('SRID=4674;POINT (-40.35181 -2.804824)'))) / (select extract(epoch from '2026-07-10 03:01:35'::timestamp) - extract(epoch from '2026-07-10 03:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351981 -2.804897)'), GeomFromEWKT('SRID=4674;POINT (-40.35181 -2.804824)'))) / (select extract(epoch from '2026-07-10 03:01:35'::timestamp) - extract(epoch from '2026-07-10 03:01: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'), 47841, 'SRID=4674;POINT (-40.351681 -2.804755)', '2026-07-10 03:01:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35181 -2.804824)'), GeomFromEWKT('SRID=4674;POINT (-40.351681 -2.804755)'))) / (select extract(epoch from '2026-07-10 03:01:42'::timestamp) - extract(epoch from '2026-07-10 03:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35181 -2.804824)'), GeomFromEWKT('SRID=4674;POINT (-40.351681 -2.804755)'))) / (select extract(epoch from '2026-07-10 03:01:42'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.351527 -2.804685)', '2026-07-10 03:01:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351681 -2.804755)'), GeomFromEWKT('SRID=4674;POINT (-40.351527 -2.804685)'))) / (select extract(epoch from '2026-07-10 03:01:50'::timestamp) - extract(epoch from '2026-07-10 03:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351681 -2.804755)'), GeomFromEWKT('SRID=4674;POINT (-40.351527 -2.804685)'))) / (select extract(epoch from '2026-07-10 03:01:50'::timestamp) - extract(epoch from '2026-07-10 03:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.351358 -2.804588)', '2026-07-10 03:01:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351527 -2.804685)'), GeomFromEWKT('SRID=4674;POINT (-40.351358 -2.804588)'))) / (select extract(epoch from '2026-07-10 03:01:59'::timestamp) - extract(epoch from '2026-07-10 03:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351527 -2.804685)'), GeomFromEWKT('SRID=4674;POINT (-40.351358 -2.804588)'))) / (select extract(epoch from '2026-07-10 03:01:59'::timestamp) - extract(epoch from '2026-07-10 03:01: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'), 47841, 'SRID=4674;POINT (-40.351178 -2.804488)', '2026-07-10 03:02:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351358 -2.804588)'), GeomFromEWKT('SRID=4674;POINT (-40.351178 -2.804488)'))) / (select extract(epoch from '2026-07-10 03:02:09'::timestamp) - extract(epoch from '2026-07-10 03:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351358 -2.804588)'), GeomFromEWKT('SRID=4674;POINT (-40.351178 -2.804488)'))) / (select extract(epoch from '2026-07-10 03:02:09'::timestamp) - extract(epoch from '2026-07-10 03:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.351024 -2.804398)', '2026-07-10 03:02:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351178 -2.804488)'), GeomFromEWKT('SRID=4674;POINT (-40.351024 -2.804398)'))) / (select extract(epoch from '2026-07-10 03:02:18'::timestamp) - extract(epoch from '2026-07-10 03:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351178 -2.804488)'), GeomFromEWKT('SRID=4674;POINT (-40.351024 -2.804398)'))) / (select extract(epoch from '2026-07-10 03:02:18'::timestamp) - extract(epoch from '2026-07-10 03:02: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'), 47841, 'SRID=4674;POINT (-40.350837 -2.804292)', '2026-07-10 03:02:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351024 -2.804398)'), GeomFromEWKT('SRID=4674;POINT (-40.350837 -2.804292)'))) / (select extract(epoch from '2026-07-10 03:02:28'::timestamp) - extract(epoch from '2026-07-10 03:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351024 -2.804398)'), GeomFromEWKT('SRID=4674;POINT (-40.350837 -2.804292)'))) / (select extract(epoch from '2026-07-10 03:02:28'::timestamp) - extract(epoch from '2026-07-10 03:02: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'), 47841, 'SRID=4674;POINT (-40.350677 -2.804207)', '2026-07-10 03:02:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350837 -2.804292)'), GeomFromEWKT('SRID=4674;POINT (-40.350677 -2.804207)'))) / (select extract(epoch from '2026-07-10 03:02:36'::timestamp) - extract(epoch from '2026-07-10 03:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350837 -2.804292)'), GeomFromEWKT('SRID=4674;POINT (-40.350677 -2.804207)'))) / (select extract(epoch from '2026-07-10 03:02:36'::timestamp) - extract(epoch from '2026-07-10 03:02:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.350502 -2.804121)', '2026-07-10 03:02:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350677 -2.804207)'), GeomFromEWKT('SRID=4674;POINT (-40.350502 -2.804121)'))) / (select extract(epoch from '2026-07-10 03:02:45'::timestamp) - extract(epoch from '2026-07-10 03:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350677 -2.804207)'), GeomFromEWKT('SRID=4674;POINT (-40.350502 -2.804121)'))) / (select extract(epoch from '2026-07-10 03:02:45'::timestamp) - extract(epoch from '2026-07-10 03:02:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.350347 -2.80403)', '2026-07-10 03:02:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350502 -2.804121)'), GeomFromEWKT('SRID=4674;POINT (-40.350347 -2.80403)'))) / (select extract(epoch from '2026-07-10 03:02:53'::timestamp) - extract(epoch from '2026-07-10 03:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350502 -2.804121)'), GeomFromEWKT('SRID=4674;POINT (-40.350347 -2.80403)'))) / (select extract(epoch from '2026-07-10 03:02:53'::timestamp) - extract(epoch from '2026-07-10 03:02: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'), 47841, 'SRID=4674;POINT (-40.350178 -2.803911)', '2026-07-10 03:03:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350347 -2.80403)'), GeomFromEWKT('SRID=4674;POINT (-40.350178 -2.803911)'))) / (select extract(epoch from '2026-07-10 03:03:02'::timestamp) - extract(epoch from '2026-07-10 03:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350347 -2.80403)'), GeomFromEWKT('SRID=4674;POINT (-40.350178 -2.803911)'))) / (select extract(epoch from '2026-07-10 03:03:02'::timestamp) - extract(epoch from '2026-07-10 03:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.349996 -2.803776)', '2026-07-10 03:03:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350178 -2.803911)'), GeomFromEWKT('SRID=4674;POINT (-40.349996 -2.803776)'))) / (select extract(epoch from '2026-07-10 03:03:12'::timestamp) - extract(epoch from '2026-07-10 03:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350178 -2.803911)'), GeomFromEWKT('SRID=4674;POINT (-40.349996 -2.803776)'))) / (select extract(epoch from '2026-07-10 03:03:12'::timestamp) - extract(epoch from '2026-07-10 03:03: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'), 47841, 'SRID=4674;POINT (-40.349842 -2.803674)', '2026-07-10 03:03:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349996 -2.803776)'), GeomFromEWKT('SRID=4674;POINT (-40.349842 -2.803674)'))) / (select extract(epoch from '2026-07-10 03:03:20'::timestamp) - extract(epoch from '2026-07-10 03:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349996 -2.803776)'), GeomFromEWKT('SRID=4674;POINT (-40.349842 -2.803674)'))) / (select extract(epoch from '2026-07-10 03:03:20'::timestamp) - extract(epoch from '2026-07-10 03:03: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'), 47841, 'SRID=4674;POINT (-40.349701 -2.803553)', '2026-07-10 03:03:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349842 -2.803674)'), GeomFromEWKT('SRID=4674;POINT (-40.349701 -2.803553)'))) / (select extract(epoch from '2026-07-10 03:03:29'::timestamp) - extract(epoch from '2026-07-10 03:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349842 -2.803674)'), GeomFromEWKT('SRID=4674;POINT (-40.349701 -2.803553)'))) / (select extract(epoch from '2026-07-10 03:03:29'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.34956 -2.803419)', '2026-07-10 03:03:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349701 -2.803553)'), GeomFromEWKT('SRID=4674;POINT (-40.34956 -2.803419)'))) / (select extract(epoch from '2026-07-10 03:03:38'::timestamp) - extract(epoch from '2026-07-10 03:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349701 -2.803553)'), GeomFromEWKT('SRID=4674;POINT (-40.34956 -2.803419)'))) / (select extract(epoch from '2026-07-10 03:03:38'::timestamp) - extract(epoch from '2026-07-10 03:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.349384 -2.803284)', '2026-07-10 03:03:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34956 -2.803419)'), GeomFromEWKT('SRID=4674;POINT (-40.349384 -2.803284)'))) / (select extract(epoch from '2026-07-10 03:03:48'::timestamp) - extract(epoch from '2026-07-10 03:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34956 -2.803419)'), GeomFromEWKT('SRID=4674;POINT (-40.349384 -2.803284)'))) / (select extract(epoch from '2026-07-10 03:03:48'::timestamp) - extract(epoch from '2026-07-10 03:03: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'), 47841, 'SRID=4674;POINT (-40.349246 -2.803173)', '2026-07-10 03:03:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349384 -2.803284)'), GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.803173)'))) / (select extract(epoch from '2026-07-10 03:03:56'::timestamp) - extract(epoch from '2026-07-10 03:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349384 -2.803284)'), GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.803173)'))) / (select extract(epoch from '2026-07-10 03:03:56'::timestamp) - extract(epoch from '2026-07-10 03:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.349038 -2.80304)', '2026-07-10 03:04:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.803173)'), GeomFromEWKT('SRID=4674;POINT (-40.349038 -2.80304)'))) / (select extract(epoch from '2026-07-10 03:04:07'::timestamp) - extract(epoch from '2026-07-10 03:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.803173)'), GeomFromEWKT('SRID=4674;POINT (-40.349038 -2.80304)'))) / (select extract(epoch from '2026-07-10 03:04:07'::timestamp) - extract(epoch from '2026-07-10 03:03: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'), 47841, 'SRID=4674;POINT (-40.348895 -2.802936)', '2026-07-10 03:04:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349038 -2.80304)'), GeomFromEWKT('SRID=4674;POINT (-40.348895 -2.802936)'))) / (select extract(epoch from '2026-07-10 03:04:15'::timestamp) - extract(epoch from '2026-07-10 03:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349038 -2.80304)'), GeomFromEWKT('SRID=4674;POINT (-40.348895 -2.802936)'))) / (select extract(epoch from '2026-07-10 03:04:15'::timestamp) - extract(epoch from '2026-07-10 03:04: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'), 47841, 'SRID=4674;POINT (-40.348749 -2.802838)', '2026-07-10 03:04:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348895 -2.802936)'), GeomFromEWKT('SRID=4674;POINT (-40.348749 -2.802838)'))) / (select extract(epoch from '2026-07-10 03:04:23'::timestamp) - extract(epoch from '2026-07-10 03:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348895 -2.802936)'), GeomFromEWKT('SRID=4674;POINT (-40.348749 -2.802838)'))) / (select extract(epoch from '2026-07-10 03:04:23'::timestamp) - extract(epoch from '2026-07-10 03:04: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'), 47841, 'SRID=4674;POINT (-40.348589 -2.802714)', '2026-07-10 03:04:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348749 -2.802838)'), GeomFromEWKT('SRID=4674;POINT (-40.348589 -2.802714)'))) / (select extract(epoch from '2026-07-10 03:04:32'::timestamp) - extract(epoch from '2026-07-10 03:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348749 -2.802838)'), GeomFromEWKT('SRID=4674;POINT (-40.348589 -2.802714)'))) / (select extract(epoch from '2026-07-10 03:04:32'::timestamp) - extract(epoch from '2026-07-10 03:04: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'), 47841, 'SRID=4674;POINT (-40.348473 -2.802622)', '2026-07-10 03:04:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348589 -2.802714)'), GeomFromEWKT('SRID=4674;POINT (-40.348473 -2.802622)'))) / (select extract(epoch from '2026-07-10 03:04:39'::timestamp) - extract(epoch from '2026-07-10 03:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348589 -2.802714)'), GeomFromEWKT('SRID=4674;POINT (-40.348473 -2.802622)'))) / (select extract(epoch from '2026-07-10 03:04:39'::timestamp) - extract(epoch from '2026-07-10 03:04: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'), 47841, 'SRID=4674;POINT (-40.348315 -2.802512)', '2026-07-10 03:04:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348473 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.348315 -2.802512)'))) / (select extract(epoch from '2026-07-10 03:04:48'::timestamp) - extract(epoch from '2026-07-10 03:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348473 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.348315 -2.802512)'))) / (select extract(epoch from '2026-07-10 03:04:48'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.348164 -2.802433)', '2026-07-10 03:04:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348315 -2.802512)'), GeomFromEWKT('SRID=4674;POINT (-40.348164 -2.802433)'))) / (select extract(epoch from '2026-07-10 03:04:56'::timestamp) - extract(epoch from '2026-07-10 03:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348315 -2.802512)'), GeomFromEWKT('SRID=4674;POINT (-40.348164 -2.802433)'))) / (select extract(epoch from '2026-07-10 03:04:56'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.347995 -2.802339)', '2026-07-10 03:05:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348164 -2.802433)'), GeomFromEWKT('SRID=4674;POINT (-40.347995 -2.802339)'))) / (select extract(epoch from '2026-07-10 03:05:05'::timestamp) - extract(epoch from '2026-07-10 03:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348164 -2.802433)'), GeomFromEWKT('SRID=4674;POINT (-40.347995 -2.802339)'))) / (select extract(epoch from '2026-07-10 03:05:05'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.347782 -2.802225)', '2026-07-10 03:05:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347995 -2.802339)'), GeomFromEWKT('SRID=4674;POINT (-40.347782 -2.802225)'))) / (select extract(epoch from '2026-07-10 03:05:16'::timestamp) - extract(epoch from '2026-07-10 03:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347995 -2.802339)'), GeomFromEWKT('SRID=4674;POINT (-40.347782 -2.802225)'))) / (select extract(epoch from '2026-07-10 03:05:16'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47841, 'SRID=4674;POINT (-40.347615 -2.802115)', '2026-07-10 03:05:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347782 -2.802225)'), GeomFromEWKT('SRID=4674;POINT (-40.347615 -2.802115)'))) / (select extract(epoch from '2026-07-10 03:05:25'::timestamp) - extract(epoch from '2026-07-10 03:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347782 -2.802225)'), GeomFromEWKT('SRID=4674;POINT (-40.347615 -2.802115)'))) / (select extract(epoch from '2026-07-10 03:05:25'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47841, 'SRID=4674;POINT (-40.347471 -2.80201)', '2026-07-10 03:05:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347615 -2.802115)'), GeomFromEWKT('SRID=4674;POINT (-40.347471 -2.80201)'))) / (select extract(epoch from '2026-07-10 03:05:33'::timestamp) - extract(epoch from '2026-07-10 03:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347615 -2.802115)'), GeomFromEWKT('SRID=4674;POINT (-40.347471 -2.80201)'))) / (select extract(epoch from '2026-07-10 03:05:33'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47841, 'SRID=4674;POINT (-40.347271 -2.801914)', '2026-07-10 03:05:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347471 -2.80201)'), GeomFromEWKT('SRID=4674;POINT (-40.347271 -2.801914)'))) / (select extract(epoch from '2026-07-10 03:05:43'::timestamp) - extract(epoch from '2026-07-10 03:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347471 -2.80201)'), GeomFromEWKT('SRID=4674;POINT (-40.347271 -2.801914)'))) / (select extract(epoch from '2026-07-10 03:05:43'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47841, 'SRID=4674;POINT (-40.34709 -2.80183)', '2026-07-10 03:05:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347271 -2.801914)'), GeomFromEWKT('SRID=4674;POINT (-40.34709 -2.80183)'))) / (select extract(epoch from '2026-07-10 03:05:52'::timestamp) - extract(epoch from '2026-07-10 03:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347271 -2.801914)'), GeomFromEWKT('SRID=4674;POINT (-40.34709 -2.80183)'))) / (select extract(epoch from '2026-07-10 03:05:52'::timestamp) - extract(epoch from '2026-07-10 03:05: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'), 47841, 'SRID=4674;POINT (-40.346898 -2.801802)', '2026-07-10 03:06:01', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34709 -2.80183)'), GeomFromEWKT('SRID=4674;POINT (-40.346898 -2.801802)'))) / (select extract(epoch from '2026-07-10 03:06:01'::timestamp) - extract(epoch from '2026-07-10 03:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34709 -2.80183)'), GeomFromEWKT('SRID=4674;POINT (-40.346898 -2.801802)'))) / (select extract(epoch from '2026-07-10 03:06:01'::timestamp) - extract(epoch from '2026-07-10 03:05:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.346727 -2.80176)', '2026-07-10 03:06:09', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346898 -2.801802)'), GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.80176)'))) / (select extract(epoch from '2026-07-10 03:06:09'::timestamp) - extract(epoch from '2026-07-10 03:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346898 -2.801802)'), GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.80176)'))) / (select extract(epoch from '2026-07-10 03:06:09'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47841, 'SRID=4674;POINT (-40.346514 -2.80172)', '2026-07-10 03:06:19', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.346514 -2.80172)'))) / (select extract(epoch from '2026-07-10 03:06:19'::timestamp) - extract(epoch from '2026-07-10 03:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346727 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.346514 -2.80172)'))) / (select extract(epoch from '2026-07-10 03:06:19'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47841, 'SRID=4674;POINT (-40.346352 -2.801683)', '2026-07-10 03:06:27', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346514 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.346352 -2.801683)'))) / (select extract(epoch from '2026-07-10 03:06:27'::timestamp) - extract(epoch from '2026-07-10 03:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346514 -2.80172)'), GeomFromEWKT('SRID=4674;POINT (-40.346352 -2.801683)'))) / (select extract(epoch from '2026-07-10 03:06:27'::timestamp) - extract(epoch from '2026-07-10 03:06:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.346156 -2.801638)', '2026-07-10 03:06:36', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346352 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.346156 -2.801638)'))) / (select extract(epoch from '2026-07-10 03:06:36'::timestamp) - extract(epoch from '2026-07-10 03:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346352 -2.801683)'), GeomFromEWKT('SRID=4674;POINT (-40.346156 -2.801638)'))) / (select extract(epoch from '2026-07-10 03:06:36'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47841, 'SRID=4674;POINT (-40.345967 -2.801579)', '2026-07-10 03:06:45', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346156 -2.801638)'), GeomFromEWKT('SRID=4674;POINT (-40.345967 -2.801579)'))) / (select extract(epoch from '2026-07-10 03:06:45'::timestamp) - extract(epoch from '2026-07-10 03:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346156 -2.801638)'), GeomFromEWKT('SRID=4674;POINT (-40.345967 -2.801579)'))) / (select extract(epoch from '2026-07-10 03:06:45'::timestamp) - extract(epoch from '2026-07-10 03:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.345779 -2.801551)', '2026-07-10 03:06:54', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345967 -2.801579)'), GeomFromEWKT('SRID=4674;POINT (-40.345779 -2.801551)'))) / (select extract(epoch from '2026-07-10 03:06:54'::timestamp) - extract(epoch from '2026-07-10 03:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345967 -2.801579)'), GeomFromEWKT('SRID=4674;POINT (-40.345779 -2.801551)'))) / (select extract(epoch from '2026-07-10 03:06:54'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47841, 'SRID=4674;POINT (-40.345543 -2.801521)', '2026-07-10 03:07:04', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345779 -2.801551)'), GeomFromEWKT('SRID=4674;POINT (-40.345543 -2.801521)'))) / (select extract(epoch from '2026-07-10 03:07:04'::timestamp) - extract(epoch from '2026-07-10 03:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345779 -2.801551)'), GeomFromEWKT('SRID=4674;POINT (-40.345543 -2.801521)'))) / (select extract(epoch from '2026-07-10 03:07:04'::timestamp) - extract(epoch from '2026-07-10 03:06: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'), 47841, 'SRID=4674;POINT (-40.345373 -2.801506)', '2026-07-10 03:07:12', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345543 -2.801521)'), GeomFromEWKT('SRID=4674;POINT (-40.345373 -2.801506)'))) / (select extract(epoch from '2026-07-10 03:07:12'::timestamp) - extract(epoch from '2026-07-10 03:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345543 -2.801521)'), GeomFromEWKT('SRID=4674;POINT (-40.345373 -2.801506)'))) / (select extract(epoch from '2026-07-10 03:07:12'::timestamp) - extract(epoch from '2026-07-10 03:07: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'), 47841, 'SRID=4674;POINT (-40.345192 -2.801505)', '2026-07-10 03:07:21', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345373 -2.801506)'), GeomFromEWKT('SRID=4674;POINT (-40.345192 -2.801505)'))) / (select extract(epoch from '2026-07-10 03:07:21'::timestamp) - extract(epoch from '2026-07-10 03:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345373 -2.801506)'), GeomFromEWKT('SRID=4674;POINT (-40.345192 -2.801505)'))) / (select extract(epoch from '2026-07-10 03:07:21'::timestamp) - extract(epoch from '2026-07-10 03:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.345001 -2.801479)', '2026-07-10 03:07:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345192 -2.801505)'), GeomFromEWKT('SRID=4674;POINT (-40.345001 -2.801479)'))) / (select extract(epoch from '2026-07-10 03:07:30'::timestamp) - extract(epoch from '2026-07-10 03:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345192 -2.801505)'), GeomFromEWKT('SRID=4674;POINT (-40.345001 -2.801479)'))) / (select extract(epoch from '2026-07-10 03:07:30'::timestamp) - extract(epoch from '2026-07-10 03:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.34476 -2.801455)', '2026-07-10 03:07:41', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345001 -2.801479)'), GeomFromEWKT('SRID=4674;POINT (-40.34476 -2.801455)'))) / (select extract(epoch from '2026-07-10 03:07:41'::timestamp) - extract(epoch from '2026-07-10 03:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345001 -2.801479)'), GeomFromEWKT('SRID=4674;POINT (-40.34476 -2.801455)'))) / (select extract(epoch from '2026-07-10 03:07:41'::timestamp) - extract(epoch from '2026-07-10 03:07: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'), 47841, 'SRID=4674;POINT (-40.344559 -2.801403)', '2026-07-10 03:07:51', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34476 -2.801455)'), GeomFromEWKT('SRID=4674;POINT (-40.344559 -2.801403)'))) / (select extract(epoch from '2026-07-10 03:07:51'::timestamp) - extract(epoch from '2026-07-10 03:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34476 -2.801455)'), GeomFromEWKT('SRID=4674;POINT (-40.344559 -2.801403)'))) / (select extract(epoch from '2026-07-10 03:07:51'::timestamp) - extract(epoch from '2026-07-10 03:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.344422 -2.801364)', '2026-07-10 03:07:58', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344559 -2.801403)'), GeomFromEWKT('SRID=4674;POINT (-40.344422 -2.801364)'))) / (select extract(epoch from '2026-07-10 03:07:58'::timestamp) - extract(epoch from '2026-07-10 03:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344559 -2.801403)'), GeomFromEWKT('SRID=4674;POINT (-40.344422 -2.801364)'))) / (select extract(epoch from '2026-07-10 03:07:58'::timestamp) - extract(epoch from '2026-07-10 03:07: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'), 47841, 'SRID=4674;POINT (-40.344273 -2.801328)', '2026-07-10 03:08:05', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344422 -2.801364)'), GeomFromEWKT('SRID=4674;POINT (-40.344273 -2.801328)'))) / (select extract(epoch from '2026-07-10 03:08:05'::timestamp) - extract(epoch from '2026-07-10 03:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344422 -2.801364)'), GeomFromEWKT('SRID=4674;POINT (-40.344273 -2.801328)'))) / (select extract(epoch from '2026-07-10 03:08:05'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.344124 -2.801305)', '2026-07-10 03:08:12', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344273 -2.801328)'), GeomFromEWKT('SRID=4674;POINT (-40.344124 -2.801305)'))) / (select extract(epoch from '2026-07-10 03:08:12'::timestamp) - extract(epoch from '2026-07-10 03:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344273 -2.801328)'), GeomFromEWKT('SRID=4674;POINT (-40.344124 -2.801305)'))) / (select extract(epoch from '2026-07-10 03:08:12'::timestamp) - extract(epoch from '2026-07-10 03:08: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'), 47841, 'SRID=4674;POINT (-40.343953 -2.801265)', '2026-07-10 03:08:20', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344124 -2.801305)'), GeomFromEWKT('SRID=4674;POINT (-40.343953 -2.801265)'))) / (select extract(epoch from '2026-07-10 03:08:20'::timestamp) - extract(epoch from '2026-07-10 03:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344124 -2.801305)'), GeomFromEWKT('SRID=4674;POINT (-40.343953 -2.801265)'))) / (select extract(epoch from '2026-07-10 03:08:20'::timestamp) - extract(epoch from '2026-07-10 03:08: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'), 47841, 'SRID=4674;POINT (-40.34374 -2.801214)', '2026-07-10 03:08:30', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343953 -2.801265)'), GeomFromEWKT('SRID=4674;POINT (-40.34374 -2.801214)'))) / (select extract(epoch from '2026-07-10 03:08:30'::timestamp) - extract(epoch from '2026-07-10 03:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343953 -2.801265)'), GeomFromEWKT('SRID=4674;POINT (-40.34374 -2.801214)'))) / (select extract(epoch from '2026-07-10 03:08:30'::timestamp) - extract(epoch from '2026-07-10 03:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.343584 -2.801197)', '2026-07-10 03:08:37', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34374 -2.801214)'), GeomFromEWKT('SRID=4674;POINT (-40.343584 -2.801197)'))) / (select extract(epoch from '2026-07-10 03:08:37'::timestamp) - extract(epoch from '2026-07-10 03:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34374 -2.801214)'), GeomFromEWKT('SRID=4674;POINT (-40.343584 -2.801197)'))) / (select extract(epoch from '2026-07-10 03:08:37'::timestamp) - extract(epoch from '2026-07-10 03:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.343406 -2.801178)', '2026-07-10 03:08:45', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343584 -2.801197)'), GeomFromEWKT('SRID=4674;POINT (-40.343406 -2.801178)'))) / (select extract(epoch from '2026-07-10 03:08:45'::timestamp) - extract(epoch from '2026-07-10 03:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343584 -2.801197)'), GeomFromEWKT('SRID=4674;POINT (-40.343406 -2.801178)'))) / (select extract(epoch from '2026-07-10 03:08:45'::timestamp) - extract(epoch from '2026-07-10 03:08: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'), 47841, 'SRID=4674;POINT (-40.3432 -2.801156)', '2026-07-10 03:08:54', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343406 -2.801178)'), GeomFromEWKT('SRID=4674;POINT (-40.3432 -2.801156)'))) / (select extract(epoch from '2026-07-10 03:08:54'::timestamp) - extract(epoch from '2026-07-10 03:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343406 -2.801178)'), GeomFromEWKT('SRID=4674;POINT (-40.3432 -2.801156)'))) / (select extract(epoch from '2026-07-10 03:08:54'::timestamp) - extract(epoch from '2026-07-10 03:08: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'), 47841, 'SRID=4674;POINT (-40.343021 -2.801136)', '2026-07-10 03:09:02', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3432 -2.801156)'), GeomFromEWKT('SRID=4674;POINT (-40.343021 -2.801136)'))) / (select extract(epoch from '2026-07-10 03:09:02'::timestamp) - extract(epoch from '2026-07-10 03:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3432 -2.801156)'), GeomFromEWKT('SRID=4674;POINT (-40.343021 -2.801136)'))) / (select extract(epoch from '2026-07-10 03:09:02'::timestamp) - extract(epoch from '2026-07-10 03:08: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'), 47841, 'SRID=4674;POINT (-40.342819 -2.801086)', '2026-07-10 03:09:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343021 -2.801136)'), GeomFromEWKT('SRID=4674;POINT (-40.342819 -2.801086)'))) / (select extract(epoch from '2026-07-10 03:09:12'::timestamp) - extract(epoch from '2026-07-10 03:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343021 -2.801136)'), GeomFromEWKT('SRID=4674;POINT (-40.342819 -2.801086)'))) / (select extract(epoch from '2026-07-10 03:09:12'::timestamp) - extract(epoch from '2026-07-10 03:09: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'), 47841, 'SRID=4674;POINT (-40.342614 -2.801064)', '2026-07-10 03:09:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342819 -2.801086)'), GeomFromEWKT('SRID=4674;POINT (-40.342614 -2.801064)'))) / (select extract(epoch from '2026-07-10 03:09:22'::timestamp) - extract(epoch from '2026-07-10 03:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342819 -2.801086)'), GeomFromEWKT('SRID=4674;POINT (-40.342614 -2.801064)'))) / (select extract(epoch from '2026-07-10 03:09:22'::timestamp) - extract(epoch from '2026-07-10 03:09: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'), 47841, 'SRID=4674;POINT (-40.342413 -2.801048)', '2026-07-10 03:09:31', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342614 -2.801064)'), GeomFromEWKT('SRID=4674;POINT (-40.342413 -2.801048)'))) / (select extract(epoch from '2026-07-10 03:09:31'::timestamp) - extract(epoch from '2026-07-10 03:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342614 -2.801064)'), GeomFromEWKT('SRID=4674;POINT (-40.342413 -2.801048)'))) / (select extract(epoch from '2026-07-10 03:09:31'::timestamp) - extract(epoch from '2026-07-10 03:09: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'), 47841, 'SRID=4674;POINT (-40.342215 -2.801033)', '2026-07-10 03:09:40', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342413 -2.801048)'), GeomFromEWKT('SRID=4674;POINT (-40.342215 -2.801033)'))) / (select extract(epoch from '2026-07-10 03:09:40'::timestamp) - extract(epoch from '2026-07-10 03:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342413 -2.801048)'), GeomFromEWKT('SRID=4674;POINT (-40.342215 -2.801033)'))) / (select extract(epoch from '2026-07-10 03:09:40'::timestamp) - extract(epoch from '2026-07-10 03:09: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'), 47841, 'SRID=4674;POINT (-40.342015 -2.80103)', '2026-07-10 03:09:49', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342215 -2.801033)'), GeomFromEWKT('SRID=4674;POINT (-40.342015 -2.80103)'))) / (select extract(epoch from '2026-07-10 03:09:49'::timestamp) - extract(epoch from '2026-07-10 03:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342215 -2.801033)'), GeomFromEWKT('SRID=4674;POINT (-40.342015 -2.80103)'))) / (select extract(epoch from '2026-07-10 03:09:49'::timestamp) - extract(epoch from '2026-07-10 03:09: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'), 47841, 'SRID=4674;POINT (-40.341872 -2.801009)', '2026-07-10 03:09:56', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342015 -2.80103)'), GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.801009)'))) / (select extract(epoch from '2026-07-10 03:09:56'::timestamp) - extract(epoch from '2026-07-10 03:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342015 -2.80103)'), GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.801009)'))) / (select extract(epoch from '2026-07-10 03:09:56'::timestamp) - extract(epoch from '2026-07-10 03:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.341755 -2.800986)', '2026-07-10 03:10:02', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.801009)'), GeomFromEWKT('SRID=4674;POINT (-40.341755 -2.800986)'))) / (select extract(epoch from '2026-07-10 03:10:02'::timestamp) - extract(epoch from '2026-07-10 03:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341872 -2.801009)'), GeomFromEWKT('SRID=4674;POINT (-40.341755 -2.800986)'))) / (select extract(epoch from '2026-07-10 03:10:02'::timestamp) - extract(epoch from '2026-07-10 03:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.341603 -2.800969)', '2026-07-10 03:10:09', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341755 -2.800986)'), GeomFromEWKT('SRID=4674;POINT (-40.341603 -2.800969)'))) / (select extract(epoch from '2026-07-10 03:10:09'::timestamp) - extract(epoch from '2026-07-10 03:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341755 -2.800986)'), GeomFromEWKT('SRID=4674;POINT (-40.341603 -2.800969)'))) / (select extract(epoch from '2026-07-10 03:10:09'::timestamp) - extract(epoch from '2026-07-10 03:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.341447 -2.800954)', '2026-07-10 03:10:16', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341603 -2.800969)'), GeomFromEWKT('SRID=4674;POINT (-40.341447 -2.800954)'))) / (select extract(epoch from '2026-07-10 03:10:16'::timestamp) - extract(epoch from '2026-07-10 03:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341603 -2.800969)'), GeomFromEWKT('SRID=4674;POINT (-40.341447 -2.800954)'))) / (select extract(epoch from '2026-07-10 03:10:16'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.341253 -2.800918)', '2026-07-10 03:10:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341447 -2.800954)'), GeomFromEWKT('SRID=4674;POINT (-40.341253 -2.800918)'))) / (select extract(epoch from '2026-07-10 03:10:25'::timestamp) - extract(epoch from '2026-07-10 03:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341447 -2.800954)'), GeomFromEWKT('SRID=4674;POINT (-40.341253 -2.800918)'))) / (select extract(epoch from '2026-07-10 03:10:25'::timestamp) - extract(epoch from '2026-07-10 03:10: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'), 47841, 'SRID=4674;POINT (-40.341082 -2.800892)', '2026-07-10 03:10:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341253 -2.800918)'), GeomFromEWKT('SRID=4674;POINT (-40.341082 -2.800892)'))) / (select extract(epoch from '2026-07-10 03:10:33'::timestamp) - extract(epoch from '2026-07-10 03:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341253 -2.800918)'), GeomFromEWKT('SRID=4674;POINT (-40.341082 -2.800892)'))) / (select extract(epoch from '2026-07-10 03:10:33'::timestamp) - extract(epoch from '2026-07-10 03:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.340909 -2.800872)', '2026-07-10 03:10:41', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341082 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.340909 -2.800872)'))) / (select extract(epoch from '2026-07-10 03:10:41'::timestamp) - extract(epoch from '2026-07-10 03:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341082 -2.800892)'), GeomFromEWKT('SRID=4674;POINT (-40.340909 -2.800872)'))) / (select extract(epoch from '2026-07-10 03:10:41'::timestamp) - extract(epoch from '2026-07-10 03:10: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'), 47841, 'SRID=4674;POINT (-40.340688 -2.800831)', '2026-07-10 03:10:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340909 -2.800872)'), GeomFromEWKT('SRID=4674;POINT (-40.340688 -2.800831)'))) / (select extract(epoch from '2026-07-10 03:10:51'::timestamp) - extract(epoch from '2026-07-10 03:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340909 -2.800872)'), GeomFromEWKT('SRID=4674;POINT (-40.340688 -2.800831)'))) / (select extract(epoch from '2026-07-10 03:10:51'::timestamp) - extract(epoch from '2026-07-10 03:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.340459 -2.800794)', '2026-07-10 03:11:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340688 -2.800831)'), GeomFromEWKT('SRID=4674;POINT (-40.340459 -2.800794)'))) / (select extract(epoch from '2026-07-10 03:11:01'::timestamp) - extract(epoch from '2026-07-10 03:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340688 -2.800831)'), GeomFromEWKT('SRID=4674;POINT (-40.340459 -2.800794)'))) / (select extract(epoch from '2026-07-10 03:11:01'::timestamp) - extract(epoch from '2026-07-10 03:10: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'), 47841, 'SRID=4674;POINT (-40.340273 -2.80075)', '2026-07-10 03:11:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340459 -2.800794)'), GeomFromEWKT('SRID=4674;POINT (-40.340273 -2.80075)'))) / (select extract(epoch from '2026-07-10 03:11:10'::timestamp) - extract(epoch from '2026-07-10 03:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340459 -2.800794)'), GeomFromEWKT('SRID=4674;POINT (-40.340273 -2.80075)'))) / (select extract(epoch from '2026-07-10 03:11:10'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.340066 -2.800693)', '2026-07-10 03:11:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340273 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.340066 -2.800693)'))) / (select extract(epoch from '2026-07-10 03:11:20'::timestamp) - extract(epoch from '2026-07-10 03:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340273 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.340066 -2.800693)'))) / (select extract(epoch from '2026-07-10 03:11:20'::timestamp) - extract(epoch from '2026-07-10 03:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.339865 -2.80064)', '2026-07-10 03:11:30', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340066 -2.800693)'), GeomFromEWKT('SRID=4674;POINT (-40.339865 -2.80064)'))) / (select extract(epoch from '2026-07-10 03:11:30'::timestamp) - extract(epoch from '2026-07-10 03:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340066 -2.800693)'), GeomFromEWKT('SRID=4674;POINT (-40.339865 -2.80064)'))) / (select extract(epoch from '2026-07-10 03:11:30'::timestamp) - extract(epoch from '2026-07-10 03:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.339691 -2.800606)', '2026-07-10 03:11:38', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339865 -2.80064)'), GeomFromEWKT('SRID=4674;POINT (-40.339691 -2.800606)'))) / (select extract(epoch from '2026-07-10 03:11:38'::timestamp) - extract(epoch from '2026-07-10 03:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339865 -2.80064)'), GeomFromEWKT('SRID=4674;POINT (-40.339691 -2.800606)'))) / (select extract(epoch from '2026-07-10 03:11:38'::timestamp) - extract(epoch from '2026-07-10 03:11: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'), 47841, 'SRID=4674;POINT (-40.339516 -2.800577)', '2026-07-10 03:11:46', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339691 -2.800606)'), GeomFromEWKT('SRID=4674;POINT (-40.339516 -2.800577)'))) / (select extract(epoch from '2026-07-10 03:11:46'::timestamp) - extract(epoch from '2026-07-10 03:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339691 -2.800606)'), GeomFromEWKT('SRID=4674;POINT (-40.339516 -2.800577)'))) / (select extract(epoch from '2026-07-10 03:11:46'::timestamp) - extract(epoch from '2026-07-10 03:11: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'), 47841, 'SRID=4674;POINT (-40.339345 -2.800542)', '2026-07-10 03:11:54', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339516 -2.800577)'), GeomFromEWKT('SRID=4674;POINT (-40.339345 -2.800542)'))) / (select extract(epoch from '2026-07-10 03:11:54'::timestamp) - extract(epoch from '2026-07-10 03:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339516 -2.800577)'), GeomFromEWKT('SRID=4674;POINT (-40.339345 -2.800542)'))) / (select extract(epoch from '2026-07-10 03:11:54'::timestamp) - extract(epoch from '2026-07-10 03:11: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'), 47841, 'SRID=4674;POINT (-40.339162 -2.800517)', '2026-07-10 03:12:02', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339345 -2.800542)'), GeomFromEWKT('SRID=4674;POINT (-40.339162 -2.800517)'))) / (select extract(epoch from '2026-07-10 03:12:02'::timestamp) - extract(epoch from '2026-07-10 03:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339345 -2.800542)'), GeomFromEWKT('SRID=4674;POINT (-40.339162 -2.800517)'))) / (select extract(epoch from '2026-07-10 03:12:02'::timestamp) - extract(epoch from '2026-07-10 03:11: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'), 47841, 'SRID=4674;POINT (-40.338958 -2.8005)', '2026-07-10 03:12:11', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339162 -2.800517)'), GeomFromEWKT('SRID=4674;POINT (-40.338958 -2.8005)'))) / (select extract(epoch from '2026-07-10 03:12:11'::timestamp) - extract(epoch from '2026-07-10 03:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339162 -2.800517)'), GeomFromEWKT('SRID=4674;POINT (-40.338958 -2.8005)'))) / (select extract(epoch from '2026-07-10 03:12:11'::timestamp) - extract(epoch from '2026-07-10 03:12: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'), 47841, 'SRID=4674;POINT (-40.338796 -2.800485)', '2026-07-10 03:12:18', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338958 -2.8005)'), GeomFromEWKT('SRID=4674;POINT (-40.338796 -2.800485)'))) / (select extract(epoch from '2026-07-10 03:12:18'::timestamp) - extract(epoch from '2026-07-10 03:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338958 -2.8005)'), GeomFromEWKT('SRID=4674;POINT (-40.338796 -2.800485)'))) / (select extract(epoch from '2026-07-10 03:12:18'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.338651 -2.800448)', '2026-07-10 03:12:25', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338796 -2.800485)'), GeomFromEWKT('SRID=4674;POINT (-40.338651 -2.800448)'))) / (select extract(epoch from '2026-07-10 03:12:25'::timestamp) - extract(epoch from '2026-07-10 03:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338796 -2.800485)'), GeomFromEWKT('SRID=4674;POINT (-40.338651 -2.800448)'))) / (select extract(epoch from '2026-07-10 03:12:25'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.338441 -2.800413)', '2026-07-10 03:12:34', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338651 -2.800448)'), GeomFromEWKT('SRID=4674;POINT (-40.338441 -2.800413)'))) / (select extract(epoch from '2026-07-10 03:12:34'::timestamp) - extract(epoch from '2026-07-10 03:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338651 -2.800448)'), GeomFromEWKT('SRID=4674;POINT (-40.338441 -2.800413)'))) / (select extract(epoch from '2026-07-10 03:12:34'::timestamp) - extract(epoch from '2026-07-10 03:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.338251 -2.800382)', '2026-07-10 03:12:43', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338441 -2.800413)'), GeomFromEWKT('SRID=4674;POINT (-40.338251 -2.800382)'))) / (select extract(epoch from '2026-07-10 03:12:43'::timestamp) - extract(epoch from '2026-07-10 03:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338441 -2.800413)'), GeomFromEWKT('SRID=4674;POINT (-40.338251 -2.800382)'))) / (select extract(epoch from '2026-07-10 03:12:43'::timestamp) - extract(epoch from '2026-07-10 03:12: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'), 47841, 'SRID=4674;POINT (-40.338027 -2.800367)', '2026-07-10 03:12:53', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338251 -2.800382)'), GeomFromEWKT('SRID=4674;POINT (-40.338027 -2.800367)'))) / (select extract(epoch from '2026-07-10 03:12:53'::timestamp) - extract(epoch from '2026-07-10 03:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338251 -2.800382)'), GeomFromEWKT('SRID=4674;POINT (-40.338027 -2.800367)'))) / (select extract(epoch from '2026-07-10 03:12:53'::timestamp) - extract(epoch from '2026-07-10 03:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.337859 -2.800324)', '2026-07-10 03:13:01', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338027 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.337859 -2.800324)'))) / (select extract(epoch from '2026-07-10 03:13:01'::timestamp) - extract(epoch from '2026-07-10 03:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338027 -2.800367)'), GeomFromEWKT('SRID=4674;POINT (-40.337859 -2.800324)'))) / (select extract(epoch from '2026-07-10 03:13:01'::timestamp) - extract(epoch from '2026-07-10 03:12: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'), 47841, 'SRID=4674;POINT (-40.337645 -2.800287)', '2026-07-10 03:13:11', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337859 -2.800324)'), GeomFromEWKT('SRID=4674;POINT (-40.337645 -2.800287)'))) / (select extract(epoch from '2026-07-10 03:13:11'::timestamp) - extract(epoch from '2026-07-10 03:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337859 -2.800324)'), GeomFromEWKT('SRID=4674;POINT (-40.337645 -2.800287)'))) / (select extract(epoch from '2026-07-10 03:13:11'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.337447 -2.800237)', '2026-07-10 03:13:20', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337645 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.337447 -2.800237)'))) / (select extract(epoch from '2026-07-10 03:13:20'::timestamp) - extract(epoch from '2026-07-10 03:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337645 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.337447 -2.800237)'))) / (select extract(epoch from '2026-07-10 03:13:20'::timestamp) - extract(epoch from '2026-07-10 03:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.337229 -2.800217)', '2026-07-10 03:13:30', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337447 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.337229 -2.800217)'))) / (select extract(epoch from '2026-07-10 03:13:30'::timestamp) - extract(epoch from '2026-07-10 03:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337447 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.337229 -2.800217)'))) / (select extract(epoch from '2026-07-10 03:13:30'::timestamp) - extract(epoch from '2026-07-10 03:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.336994 -2.800207)', '2026-07-10 03:13:41', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337229 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.336994 -2.800207)'))) / (select extract(epoch from '2026-07-10 03:13:41'::timestamp) - extract(epoch from '2026-07-10 03:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337229 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.336994 -2.800207)'))) / (select extract(epoch from '2026-07-10 03:13:41'::timestamp) - extract(epoch from '2026-07-10 03:13: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'), 47841, 'SRID=4674;POINT (-40.336816 -2.800202)', '2026-07-10 03:13:49', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336994 -2.800207)'), GeomFromEWKT('SRID=4674;POINT (-40.336816 -2.800202)'))) / (select extract(epoch from '2026-07-10 03:13:49'::timestamp) - extract(epoch from '2026-07-10 03:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336994 -2.800207)'), GeomFromEWKT('SRID=4674;POINT (-40.336816 -2.800202)'))) / (select extract(epoch from '2026-07-10 03:13:49'::timestamp) - extract(epoch from '2026-07-10 03:13: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'), 47841, 'SRID=4674;POINT (-40.336621 -2.800215)', '2026-07-10 03:13:58', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336816 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.336621 -2.800215)'))) / (select extract(epoch from '2026-07-10 03:13:58'::timestamp) - extract(epoch from '2026-07-10 03:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336816 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.336621 -2.800215)'))) / (select extract(epoch from '2026-07-10 03:13:58'::timestamp) - extract(epoch from '2026-07-10 03:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.336448 -2.800218)', '2026-07-10 03:14:06', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336621 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.336448 -2.800218)'))) / (select extract(epoch from '2026-07-10 03:14:06'::timestamp) - extract(epoch from '2026-07-10 03:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336621 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.336448 -2.800218)'))) / (select extract(epoch from '2026-07-10 03:14:06'::timestamp) - extract(epoch from '2026-07-10 03:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.336248 -2.800219)', '2026-07-10 03:14:15', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336448 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.336248 -2.800219)'))) / (select extract(epoch from '2026-07-10 03:14:15'::timestamp) - extract(epoch from '2026-07-10 03:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336448 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.336248 -2.800219)'))) / (select extract(epoch from '2026-07-10 03:14:15'::timestamp) - extract(epoch from '2026-07-10 03:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.336067 -2.800235)', '2026-07-10 03:14:23', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336248 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.336067 -2.800235)'))) / (select extract(epoch from '2026-07-10 03:14:23'::timestamp) - extract(epoch from '2026-07-10 03:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336248 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.336067 -2.800235)'))) / (select extract(epoch from '2026-07-10 03:14:23'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47841, 'SRID=4674;POINT (-40.335876 -2.800249)', '2026-07-10 03:14:32', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336067 -2.800235)'), GeomFromEWKT('SRID=4674;POINT (-40.335876 -2.800249)'))) / (select extract(epoch from '2026-07-10 03:14:32'::timestamp) - extract(epoch from '2026-07-10 03:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336067 -2.800235)'), GeomFromEWKT('SRID=4674;POINT (-40.335876 -2.800249)'))) / (select extract(epoch from '2026-07-10 03:14:32'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47841, 'SRID=4674;POINT (-40.335701 -2.800238)', '2026-07-10 03:14:40', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335876 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.335701 -2.800238)'))) / (select extract(epoch from '2026-07-10 03:14:40'::timestamp) - extract(epoch from '2026-07-10 03:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335876 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.335701 -2.800238)'))) / (select extract(epoch from '2026-07-10 03:14:40'::timestamp) - extract(epoch from '2026-07-10 03:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.335497 -2.800235)', '2026-07-10 03:14:49', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335701 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.335497 -2.800235)'))) / (select extract(epoch from '2026-07-10 03:14:49'::timestamp) - extract(epoch from '2026-07-10 03:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335701 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.335497 -2.800235)'))) / (select extract(epoch from '2026-07-10 03:14:49'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47841, 'SRID=4674;POINT (-40.335328 -2.800232)', '2026-07-10 03:14:57', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335497 -2.800235)'), GeomFromEWKT('SRID=4674;POINT (-40.335328 -2.800232)'))) / (select extract(epoch from '2026-07-10 03:14:57'::timestamp) - extract(epoch from '2026-07-10 03:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335497 -2.800235)'), GeomFromEWKT('SRID=4674;POINT (-40.335328 -2.800232)'))) / (select extract(epoch from '2026-07-10 03:14:57'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47841, 'SRID=4674;POINT (-40.335153 -2.800231)', '2026-07-10 03:15:05', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335328 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.335153 -2.800231)'))) / (select extract(epoch from '2026-07-10 03:15:05'::timestamp) - extract(epoch from '2026-07-10 03:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335328 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.335153 -2.800231)'))) / (select extract(epoch from '2026-07-10 03:15:05'::timestamp) - extract(epoch from '2026-07-10 03:14: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'), 47841, 'SRID=4674;POINT (-40.334994 -2.800233)', '2026-07-10 03:15:12', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335153 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.334994 -2.800233)'))) / (select extract(epoch from '2026-07-10 03:15:12'::timestamp) - extract(epoch from '2026-07-10 03:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335153 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.334994 -2.800233)'))) / (select extract(epoch from '2026-07-10 03:15:12'::timestamp) - extract(epoch from '2026-07-10 03:15: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'), 47841, 'SRID=4674;POINT (-40.33478 -2.800254)', '2026-07-10 03:15:21', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334994 -2.800233)'), GeomFromEWKT('SRID=4674;POINT (-40.33478 -2.800254)'))) / (select extract(epoch from '2026-07-10 03:15:21'::timestamp) - extract(epoch from '2026-07-10 03:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334994 -2.800233)'), GeomFromEWKT('SRID=4674;POINT (-40.33478 -2.800254)'))) / (select extract(epoch from '2026-07-10 03:15:21'::timestamp) - extract(epoch from '2026-07-10 03:15: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'), 47841, 'SRID=4674;POINT (-40.334594 -2.800266)', '2026-07-10 03:15:30', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33478 -2.800254)'), GeomFromEWKT('SRID=4674;POINT (-40.334594 -2.800266)'))) / (select extract(epoch from '2026-07-10 03:15:30'::timestamp) - extract(epoch from '2026-07-10 03:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33478 -2.800254)'), GeomFromEWKT('SRID=4674;POINT (-40.334594 -2.800266)'))) / (select extract(epoch from '2026-07-10 03:15:30'::timestamp) - extract(epoch from '2026-07-10 03:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.334416 -2.800297)', '2026-07-10 03:15:39', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334594 -2.800266)'), GeomFromEWKT('SRID=4674;POINT (-40.334416 -2.800297)'))) / (select extract(epoch from '2026-07-10 03:15:39'::timestamp) - extract(epoch from '2026-07-10 03:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334594 -2.800266)'), GeomFromEWKT('SRID=4674;POINT (-40.334416 -2.800297)'))) / (select extract(epoch from '2026-07-10 03:15:39'::timestamp) - extract(epoch from '2026-07-10 03:15: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'), 47841, 'SRID=4674;POINT (-40.334225 -2.800298)', '2026-07-10 03:15:48', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334416 -2.800297)'), GeomFromEWKT('SRID=4674;POINT (-40.334225 -2.800298)'))) / (select extract(epoch from '2026-07-10 03:15:48'::timestamp) - extract(epoch from '2026-07-10 03:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334416 -2.800297)'), GeomFromEWKT('SRID=4674;POINT (-40.334225 -2.800298)'))) / (select extract(epoch from '2026-07-10 03:15:48'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.33401 -2.800323)', '2026-07-10 03:15:58', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334225 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.33401 -2.800323)'))) / (select extract(epoch from '2026-07-10 03:15:58'::timestamp) - extract(epoch from '2026-07-10 03:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334225 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.33401 -2.800323)'))) / (select extract(epoch from '2026-07-10 03:15:58'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.333813 -2.800341)', '2026-07-10 03:16:07', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33401 -2.800323)'), GeomFromEWKT('SRID=4674;POINT (-40.333813 -2.800341)'))) / (select extract(epoch from '2026-07-10 03:16:07'::timestamp) - extract(epoch from '2026-07-10 03:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33401 -2.800323)'), GeomFromEWKT('SRID=4674;POINT (-40.333813 -2.800341)'))) / (select extract(epoch from '2026-07-10 03:16:07'::timestamp) - extract(epoch from '2026-07-10 03:15: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'), 47841, 'SRID=4674;POINT (-40.333607 -2.800351)', '2026-07-10 03:16:17', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333813 -2.800341)'), GeomFromEWKT('SRID=4674;POINT (-40.333607 -2.800351)'))) / (select extract(epoch from '2026-07-10 03:16:17'::timestamp) - extract(epoch from '2026-07-10 03:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333813 -2.800341)'), GeomFromEWKT('SRID=4674;POINT (-40.333607 -2.800351)'))) / (select extract(epoch from '2026-07-10 03:16:17'::timestamp) - extract(epoch from '2026-07-10 03:16: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'), 47841, 'SRID=4674;POINT (-40.333445 -2.800355)', '2026-07-10 03:16:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333607 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.333445 -2.800355)'))) / (select extract(epoch from '2026-07-10 03:16:25'::timestamp) - extract(epoch from '2026-07-10 03:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333607 -2.800351)'), GeomFromEWKT('SRID=4674;POINT (-40.333445 -2.800355)'))) / (select extract(epoch from '2026-07-10 03:16:25'::timestamp) - extract(epoch from '2026-07-10 03:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.333231 -2.800399)', '2026-07-10 03:16:35', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333445 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.333231 -2.800399)'))) / (select extract(epoch from '2026-07-10 03:16:35'::timestamp) - extract(epoch from '2026-07-10 03:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333445 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.333231 -2.800399)'))) / (select extract(epoch from '2026-07-10 03:16:35'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.332994 -2.800429)', '2026-07-10 03:16:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333231 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.332994 -2.800429)'))) / (select extract(epoch from '2026-07-10 03:16:46'::timestamp) - extract(epoch from '2026-07-10 03:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333231 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.332994 -2.800429)'))) / (select extract(epoch from '2026-07-10 03:16:46'::timestamp) - extract(epoch from '2026-07-10 03:16: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'), 47841, 'SRID=4674;POINT (-40.332821 -2.800449)', '2026-07-10 03:16:54', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332994 -2.800429)'), GeomFromEWKT('SRID=4674;POINT (-40.332821 -2.800449)'))) / (select extract(epoch from '2026-07-10 03:16:54'::timestamp) - extract(epoch from '2026-07-10 03:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332994 -2.800429)'), GeomFromEWKT('SRID=4674;POINT (-40.332821 -2.800449)'))) / (select extract(epoch from '2026-07-10 03:16:54'::timestamp) - extract(epoch from '2026-07-10 03:16: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'), 47841, 'SRID=4674;POINT (-40.332609 -2.800462)', '2026-07-10 03:17:03', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332821 -2.800449)'), GeomFromEWKT('SRID=4674;POINT (-40.332609 -2.800462)'))) / (select extract(epoch from '2026-07-10 03:17:03'::timestamp) - extract(epoch from '2026-07-10 03:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332821 -2.800449)'), GeomFromEWKT('SRID=4674;POINT (-40.332609 -2.800462)'))) / (select extract(epoch from '2026-07-10 03:17:03'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.332421 -2.800457)', '2026-07-10 03:17:12', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332609 -2.800462)'), GeomFromEWKT('SRID=4674;POINT (-40.332421 -2.800457)'))) / (select extract(epoch from '2026-07-10 03:17:12'::timestamp) - extract(epoch from '2026-07-10 03:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332609 -2.800462)'), GeomFromEWKT('SRID=4674;POINT (-40.332421 -2.800457)'))) / (select extract(epoch from '2026-07-10 03:17:12'::timestamp) - extract(epoch from '2026-07-10 03:17: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'), 47841, 'SRID=4674;POINT (-40.332204 -2.800442)', '2026-07-10 03:17:22', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332421 -2.800457)'), GeomFromEWKT('SRID=4674;POINT (-40.332204 -2.800442)'))) / (select extract(epoch from '2026-07-10 03:17:22'::timestamp) - extract(epoch from '2026-07-10 03:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332421 -2.800457)'), GeomFromEWKT('SRID=4674;POINT (-40.332204 -2.800442)'))) / (select extract(epoch from '2026-07-10 03:17:22'::timestamp) - extract(epoch from '2026-07-10 03:17: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'), 47841, 'SRID=4674;POINT (-40.332002 -2.800447)', '2026-07-10 03:17:31', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332204 -2.800442)'), GeomFromEWKT('SRID=4674;POINT (-40.332002 -2.800447)'))) / (select extract(epoch from '2026-07-10 03:17:31'::timestamp) - extract(epoch from '2026-07-10 03:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332204 -2.800442)'), GeomFromEWKT('SRID=4674;POINT (-40.332002 -2.800447)'))) / (select extract(epoch from '2026-07-10 03:17:31'::timestamp) - extract(epoch from '2026-07-10 03:17: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'), 47841, 'SRID=4674;POINT (-40.331809 -2.800455)', '2026-07-10 03:17:40', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332002 -2.800447)'), GeomFromEWKT('SRID=4674;POINT (-40.331809 -2.800455)'))) / (select extract(epoch from '2026-07-10 03:17:40'::timestamp) - extract(epoch from '2026-07-10 03:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332002 -2.800447)'), GeomFromEWKT('SRID=4674;POINT (-40.331809 -2.800455)'))) / (select extract(epoch from '2026-07-10 03:17:40'::timestamp) - extract(epoch from '2026-07-10 03:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.331628 -2.800449)', '2026-07-10 03:17:48', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331809 -2.800455)'), GeomFromEWKT('SRID=4674;POINT (-40.331628 -2.800449)'))) / (select extract(epoch from '2026-07-10 03:17:48'::timestamp) - extract(epoch from '2026-07-10 03:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331809 -2.800455)'), GeomFromEWKT('SRID=4674;POINT (-40.331628 -2.800449)'))) / (select extract(epoch from '2026-07-10 03:17:48'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.331445 -2.800444)', '2026-07-10 03:17:56', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331628 -2.800449)'), GeomFromEWKT('SRID=4674;POINT (-40.331445 -2.800444)'))) / (select extract(epoch from '2026-07-10 03:17:56'::timestamp) - extract(epoch from '2026-07-10 03:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331628 -2.800449)'), GeomFromEWKT('SRID=4674;POINT (-40.331445 -2.800444)'))) / (select extract(epoch from '2026-07-10 03:17:56'::timestamp) - extract(epoch from '2026-07-10 03:17: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'), 47841, 'SRID=4674;POINT (-40.331276 -2.800452)', '2026-07-10 03:18:04', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331445 -2.800444)'), GeomFromEWKT('SRID=4674;POINT (-40.331276 -2.800452)'))) / (select extract(epoch from '2026-07-10 03:18:04'::timestamp) - extract(epoch from '2026-07-10 03:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331445 -2.800444)'), GeomFromEWKT('SRID=4674;POINT (-40.331276 -2.800452)'))) / (select extract(epoch from '2026-07-10 03:18:04'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.331102 -2.80044)', '2026-07-10 03:18:12', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331276 -2.800452)'), GeomFromEWKT('SRID=4674;POINT (-40.331102 -2.80044)'))) / (select extract(epoch from '2026-07-10 03:18:12'::timestamp) - extract(epoch from '2026-07-10 03:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331276 -2.800452)'), GeomFromEWKT('SRID=4674;POINT (-40.331102 -2.80044)'))) / (select extract(epoch from '2026-07-10 03:18:12'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.330933 -2.800423)', '2026-07-10 03:18:20', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331102 -2.80044)'), GeomFromEWKT('SRID=4674;POINT (-40.330933 -2.800423)'))) / (select extract(epoch from '2026-07-10 03:18:20'::timestamp) - extract(epoch from '2026-07-10 03:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331102 -2.80044)'), GeomFromEWKT('SRID=4674;POINT (-40.330933 -2.800423)'))) / (select extract(epoch from '2026-07-10 03:18:20'::timestamp) - extract(epoch from '2026-07-10 03:18: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'), 47841, 'SRID=4674;POINT (-40.330762 -2.80042)', '2026-07-10 03:18:28', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330933 -2.800423)'), GeomFromEWKT('SRID=4674;POINT (-40.330762 -2.80042)'))) / (select extract(epoch from '2026-07-10 03:18:28'::timestamp) - extract(epoch from '2026-07-10 03:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330933 -2.800423)'), GeomFromEWKT('SRID=4674;POINT (-40.330762 -2.80042)'))) / (select extract(epoch from '2026-07-10 03:18:28'::timestamp) - extract(epoch from '2026-07-10 03:18: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'), 47841, 'SRID=4674;POINT (-40.330537 -2.800449)', '2026-07-10 03:18:38', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330762 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.330537 -2.800449)'))) / (select extract(epoch from '2026-07-10 03:18:38'::timestamp) - extract(epoch from '2026-07-10 03:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330762 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.330537 -2.800449)'))) / (select extract(epoch from '2026-07-10 03:18:38'::timestamp) - extract(epoch from '2026-07-10 03:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.330396 -2.800455)', '2026-07-10 03:18:45', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330537 -2.800449)'), GeomFromEWKT('SRID=4674;POINT (-40.330396 -2.800455)'))) / (select extract(epoch from '2026-07-10 03:18:45'::timestamp) - extract(epoch from '2026-07-10 03:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330537 -2.800449)'), GeomFromEWKT('SRID=4674;POINT (-40.330396 -2.800455)'))) / (select extract(epoch from '2026-07-10 03:18:45'::timestamp) - extract(epoch from '2026-07-10 03:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.330223 -2.800468)', '2026-07-10 03:18:53', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330396 -2.800455)'), GeomFromEWKT('SRID=4674;POINT (-40.330223 -2.800468)'))) / (select extract(epoch from '2026-07-10 03:18:53'::timestamp) - extract(epoch from '2026-07-10 03:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330396 -2.800455)'), GeomFromEWKT('SRID=4674;POINT (-40.330223 -2.800468)'))) / (select extract(epoch from '2026-07-10 03:18:53'::timestamp) - extract(epoch from '2026-07-10 03:18: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'), 47841, 'SRID=4674;POINT (-40.329995 -2.800473)', '2026-07-10 03:19:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330223 -2.800468)'), GeomFromEWKT('SRID=4674;POINT (-40.329995 -2.800473)'))) / (select extract(epoch from '2026-07-10 03:19:03'::timestamp) - extract(epoch from '2026-07-10 03:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330223 -2.800468)'), GeomFromEWKT('SRID=4674;POINT (-40.329995 -2.800473)'))) / (select extract(epoch from '2026-07-10 03:19:03'::timestamp) - extract(epoch from '2026-07-10 03:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.329803 -2.800475)', '2026-07-10 03:19:12', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329995 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.329803 -2.800475)'))) / (select extract(epoch from '2026-07-10 03:19:12'::timestamp) - extract(epoch from '2026-07-10 03:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329995 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.329803 -2.800475)'))) / (select extract(epoch from '2026-07-10 03:19:12'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47841, 'SRID=4674;POINT (-40.329623 -2.800468)', '2026-07-10 03:19:20', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329803 -2.800475)'), GeomFromEWKT('SRID=4674;POINT (-40.329623 -2.800468)'))) / (select extract(epoch from '2026-07-10 03:19:20'::timestamp) - extract(epoch from '2026-07-10 03:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329803 -2.800475)'), GeomFromEWKT('SRID=4674;POINT (-40.329623 -2.800468)'))) / (select extract(epoch from '2026-07-10 03:19:20'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47841, 'SRID=4674;POINT (-40.329403 -2.800461)', '2026-07-10 03:19:30', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329623 -2.800468)'), GeomFromEWKT('SRID=4674;POINT (-40.329403 -2.800461)'))) / (select extract(epoch from '2026-07-10 03:19:30'::timestamp) - extract(epoch from '2026-07-10 03:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329623 -2.800468)'), GeomFromEWKT('SRID=4674;POINT (-40.329403 -2.800461)'))) / (select extract(epoch from '2026-07-10 03:19:30'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47841, 'SRID=4674;POINT (-40.329221 -2.800462)', '2026-07-10 03:19:38', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329403 -2.800461)'), GeomFromEWKT('SRID=4674;POINT (-40.329221 -2.800462)'))) / (select extract(epoch from '2026-07-10 03:19:38'::timestamp) - extract(epoch from '2026-07-10 03:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329403 -2.800461)'), GeomFromEWKT('SRID=4674;POINT (-40.329221 -2.800462)'))) / (select extract(epoch from '2026-07-10 03:19:38'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47841, 'SRID=4674;POINT (-40.329024 -2.800458)', '2026-07-10 03:19:48', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329221 -2.800462)'), GeomFromEWKT('SRID=4674;POINT (-40.329024 -2.800458)'))) / (select extract(epoch from '2026-07-10 03:19:48'::timestamp) - extract(epoch from '2026-07-10 03:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329221 -2.800462)'), GeomFromEWKT('SRID=4674;POINT (-40.329024 -2.800458)'))) / (select extract(epoch from '2026-07-10 03:19:48'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47841, 'SRID=4674;POINT (-40.328886 -2.800441)', '2026-07-10 03:19:55', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329024 -2.800458)'), GeomFromEWKT('SRID=4674;POINT (-40.328886 -2.800441)'))) / (select extract(epoch from '2026-07-10 03:19:55'::timestamp) - extract(epoch from '2026-07-10 03:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329024 -2.800458)'), GeomFromEWKT('SRID=4674;POINT (-40.328886 -2.800441)'))) / (select extract(epoch from '2026-07-10 03:19:55'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.328653 -2.800436)', '2026-07-10 03:20:05', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328886 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.328653 -2.800436)'))) / (select extract(epoch from '2026-07-10 03:20:05'::timestamp) - extract(epoch from '2026-07-10 03:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328886 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.328653 -2.800436)'))) / (select extract(epoch from '2026-07-10 03:20:05'::timestamp) - extract(epoch from '2026-07-10 03:19: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'), 47841, 'SRID=4674;POINT (-40.328478 -2.800416)', '2026-07-10 03:20:13', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328653 -2.800436)'), GeomFromEWKT('SRID=4674;POINT (-40.328478 -2.800416)'))) / (select extract(epoch from '2026-07-10 03:20:13'::timestamp) - extract(epoch from '2026-07-10 03:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328653 -2.800436)'), GeomFromEWKT('SRID=4674;POINT (-40.328478 -2.800416)'))) / (select extract(epoch from '2026-07-10 03:20:13'::timestamp) - extract(epoch from '2026-07-10 03:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.328322 -2.800392)', '2026-07-10 03:20:20', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328478 -2.800416)'), GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.800392)'))) / (select extract(epoch from '2026-07-10 03:20:20'::timestamp) - extract(epoch from '2026-07-10 03:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328478 -2.800416)'), GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.800392)'))) / (select extract(epoch from '2026-07-10 03:20:20'::timestamp) - extract(epoch from '2026-07-10 03:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.328099 -2.800372)', '2026-07-10 03:20:30', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.328099 -2.800372)'))) / (select extract(epoch from '2026-07-10 03:20:30'::timestamp) - extract(epoch from '2026-07-10 03:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328322 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.328099 -2.800372)'))) / (select extract(epoch from '2026-07-10 03:20:30'::timestamp) - extract(epoch from '2026-07-10 03:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.327889 -2.800358)', '2026-07-10 03:20:39', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328099 -2.800372)'), GeomFromEWKT('SRID=4674;POINT (-40.327889 -2.800358)'))) / (select extract(epoch from '2026-07-10 03:20:39'::timestamp) - extract(epoch from '2026-07-10 03:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328099 -2.800372)'), GeomFromEWKT('SRID=4674;POINT (-40.327889 -2.800358)'))) / (select extract(epoch from '2026-07-10 03:20:39'::timestamp) - extract(epoch from '2026-07-10 03:20: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'), 47841, 'SRID=4674;POINT (-40.327698 -2.800358)', '2026-07-10 03:20:48', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327889 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.327698 -2.800358)'))) / (select extract(epoch from '2026-07-10 03:20:48'::timestamp) - extract(epoch from '2026-07-10 03:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327889 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.327698 -2.800358)'))) / (select extract(epoch from '2026-07-10 03:20:48'::timestamp) - extract(epoch from '2026-07-10 03:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.327492 -2.800349)', '2026-07-10 03:20:58', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327698 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.327492 -2.800349)'))) / (select extract(epoch from '2026-07-10 03:20:58'::timestamp) - extract(epoch from '2026-07-10 03:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327698 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.327492 -2.800349)'))) / (select extract(epoch from '2026-07-10 03:20:58'::timestamp) - extract(epoch from '2026-07-10 03:20: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'), 47841, 'SRID=4674;POINT (-40.327271 -2.800333)', '2026-07-10 03:21:08', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327492 -2.800349)'), GeomFromEWKT('SRID=4674;POINT (-40.327271 -2.800333)'))) / (select extract(epoch from '2026-07-10 03:21:08'::timestamp) - extract(epoch from '2026-07-10 03:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327492 -2.800349)'), GeomFromEWKT('SRID=4674;POINT (-40.327271 -2.800333)'))) / (select extract(epoch from '2026-07-10 03:21:08'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.32708 -2.800324)', '2026-07-10 03:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327271 -2.800333)'), GeomFromEWKT('SRID=4674;POINT (-40.32708 -2.800324)'))) / (select extract(epoch from '2026-07-10 03:21:17'::timestamp) - extract(epoch from '2026-07-10 03:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327271 -2.800333)'), GeomFromEWKT('SRID=4674;POINT (-40.32708 -2.800324)'))) / (select extract(epoch from '2026-07-10 03:21:17'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47841, 'SRID=4674;POINT (-40.326891 -2.800298)', '2026-07-10 03:21:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32708 -2.800324)'), GeomFromEWKT('SRID=4674;POINT (-40.326891 -2.800298)'))) / (select extract(epoch from '2026-07-10 03:21:26'::timestamp) - extract(epoch from '2026-07-10 03:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32708 -2.800324)'), GeomFromEWKT('SRID=4674;POINT (-40.326891 -2.800298)'))) / (select extract(epoch from '2026-07-10 03:21:26'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47841, 'SRID=4674;POINT (-40.32671 -2.800303)', '2026-07-10 03:21:34', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326891 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.32671 -2.800303)'))) / (select extract(epoch from '2026-07-10 03:21:34'::timestamp) - extract(epoch from '2026-07-10 03:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326891 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.32671 -2.800303)'))) / (select extract(epoch from '2026-07-10 03:21:34'::timestamp) - extract(epoch from '2026-07-10 03:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.326486 -2.800293)', '2026-07-10 03:21:44', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32671 -2.800303)'), GeomFromEWKT('SRID=4674;POINT (-40.326486 -2.800293)'))) / (select extract(epoch from '2026-07-10 03:21:44'::timestamp) - extract(epoch from '2026-07-10 03:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32671 -2.800303)'), GeomFromEWKT('SRID=4674;POINT (-40.326486 -2.800293)'))) / (select extract(epoch from '2026-07-10 03:21:44'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.326341 -2.800282)', '2026-07-10 03:21:51', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326486 -2.800293)'), GeomFromEWKT('SRID=4674;POINT (-40.326341 -2.800282)'))) / (select extract(epoch from '2026-07-10 03:21:51'::timestamp) - extract(epoch from '2026-07-10 03:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326486 -2.800293)'), GeomFromEWKT('SRID=4674;POINT (-40.326341 -2.800282)'))) / (select extract(epoch from '2026-07-10 03:21:51'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47841, 'SRID=4674;POINT (-40.326155 -2.800268)', '2026-07-10 03:21:59', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326341 -2.800282)'), GeomFromEWKT('SRID=4674;POINT (-40.326155 -2.800268)'))) / (select extract(epoch from '2026-07-10 03:21:59'::timestamp) - extract(epoch from '2026-07-10 03:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326341 -2.800282)'), GeomFromEWKT('SRID=4674;POINT (-40.326155 -2.800268)'))) / (select extract(epoch from '2026-07-10 03:21:59'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47841, 'SRID=4674;POINT (-40.325977 -2.800272)', '2026-07-10 03:22:07', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326155 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.325977 -2.800272)'))) / (select extract(epoch from '2026-07-10 03:22:07'::timestamp) - extract(epoch from '2026-07-10 03:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326155 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.325977 -2.800272)'))) / (select extract(epoch from '2026-07-10 03:22:07'::timestamp) - extract(epoch from '2026-07-10 03:21: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'), 47841, 'SRID=4674;POINT (-40.325818 -2.800276)', '2026-07-10 03:22:15', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325977 -2.800272)'), GeomFromEWKT('SRID=4674;POINT (-40.325818 -2.800276)'))) / (select extract(epoch from '2026-07-10 03:22:15'::timestamp) - extract(epoch from '2026-07-10 03:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325977 -2.800272)'), GeomFromEWKT('SRID=4674;POINT (-40.325818 -2.800276)'))) / (select extract(epoch from '2026-07-10 03:22:15'::timestamp) - extract(epoch from '2026-07-10 03:22: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'), 47841, 'SRID=4674;POINT (-40.325644 -2.800331)', '2026-07-10 03:22:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325818 -2.800276)'), GeomFromEWKT('SRID=4674;POINT (-40.325644 -2.800331)'))) / (select extract(epoch from '2026-07-10 03:22:24'::timestamp) - extract(epoch from '2026-07-10 03:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325818 -2.800276)'), GeomFromEWKT('SRID=4674;POINT (-40.325644 -2.800331)'))) / (select extract(epoch from '2026-07-10 03:22:24'::timestamp) - extract(epoch from '2026-07-10 03:22: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'), 47841, 'SRID=4674;POINT (-40.32543 -2.80039)', '2026-07-10 03:22:34', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325644 -2.800331)'), GeomFromEWKT('SRID=4674;POINT (-40.32543 -2.80039)'))) / (select extract(epoch from '2026-07-10 03:22:34'::timestamp) - extract(epoch from '2026-07-10 03:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325644 -2.800331)'), GeomFromEWKT('SRID=4674;POINT (-40.32543 -2.80039)'))) / (select extract(epoch from '2026-07-10 03:22:34'::timestamp) - extract(epoch from '2026-07-10 03:22:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.325266 -2.800427)', '2026-07-10 03:22:42', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32543 -2.80039)'), GeomFromEWKT('SRID=4674;POINT (-40.325266 -2.800427)'))) / (select extract(epoch from '2026-07-10 03:22:42'::timestamp) - extract(epoch from '2026-07-10 03:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32543 -2.80039)'), GeomFromEWKT('SRID=4674;POINT (-40.325266 -2.800427)'))) / (select extract(epoch from '2026-07-10 03:22:42'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.325069 -2.800509)', '2026-07-10 03:22:52', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325266 -2.800427)'), GeomFromEWKT('SRID=4674;POINT (-40.325069 -2.800509)'))) / (select extract(epoch from '2026-07-10 03:22:52'::timestamp) - extract(epoch from '2026-07-10 03:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325266 -2.800427)'), GeomFromEWKT('SRID=4674;POINT (-40.325069 -2.800509)'))) / (select extract(epoch from '2026-07-10 03:22:52'::timestamp) - extract(epoch from '2026-07-10 03:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324914 -2.800578)', '2026-07-10 03:23:00', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325069 -2.800509)'), GeomFromEWKT('SRID=4674;POINT (-40.324914 -2.800578)'))) / (select extract(epoch from '2026-07-10 03:23:00'::timestamp) - extract(epoch from '2026-07-10 03:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325069 -2.800509)'), GeomFromEWKT('SRID=4674;POINT (-40.324914 -2.800578)'))) / (select extract(epoch from '2026-07-10 03:23:00'::timestamp) - extract(epoch from '2026-07-10 03:22: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'), 47841, 'SRID=4674;POINT (-40.32477 -2.800655)', '2026-07-10 03:23:08', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324914 -2.800578)'), GeomFromEWKT('SRID=4674;POINT (-40.32477 -2.800655)'))) / (select extract(epoch from '2026-07-10 03:23:08'::timestamp) - extract(epoch from '2026-07-10 03:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324914 -2.800578)'), GeomFromEWKT('SRID=4674;POINT (-40.32477 -2.800655)'))) / (select extract(epoch from '2026-07-10 03:23:08'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47841, 'SRID=4674;POINT (-40.324632 -2.800759)', '2026-07-10 03:23:16', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32477 -2.800655)'), GeomFromEWKT('SRID=4674;POINT (-40.324632 -2.800759)'))) / (select extract(epoch from '2026-07-10 03:23:16'::timestamp) - extract(epoch from '2026-07-10 03:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32477 -2.800655)'), GeomFromEWKT('SRID=4674;POINT (-40.324632 -2.800759)'))) / (select extract(epoch from '2026-07-10 03:23:16'::timestamp) - extract(epoch from '2026-07-10 03:23:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.3245 -2.800878)', '2026-07-10 03:23:25', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324632 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.3245 -2.800878)'))) / (select extract(epoch from '2026-07-10 03:23:25'::timestamp) - extract(epoch from '2026-07-10 03:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324632 -2.800759)'), GeomFromEWKT('SRID=4674;POINT (-40.3245 -2.800878)'))) / (select extract(epoch from '2026-07-10 03:23:25'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47841, 'SRID=4674;POINT (-40.324352 -2.800974)', '2026-07-10 03:23:34', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3245 -2.800878)'), GeomFromEWKT('SRID=4674;POINT (-40.324352 -2.800974)'))) / (select extract(epoch from '2026-07-10 03:23:34'::timestamp) - extract(epoch from '2026-07-10 03:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3245 -2.800878)'), GeomFromEWKT('SRID=4674;POINT (-40.324352 -2.800974)'))) / (select extract(epoch from '2026-07-10 03:23:34'::timestamp) - extract(epoch from '2026-07-10 03:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324255 -2.801087)', '2026-07-10 03:23:41', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324352 -2.800974)'), GeomFromEWKT('SRID=4674;POINT (-40.324255 -2.801087)'))) / (select extract(epoch from '2026-07-10 03:23:41'::timestamp) - extract(epoch from '2026-07-10 03:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324352 -2.800974)'), GeomFromEWKT('SRID=4674;POINT (-40.324255 -2.801087)'))) / (select extract(epoch from '2026-07-10 03:23:41'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47841, 'SRID=4674;POINT (-40.324159 -2.801195)', '2026-07-10 03:23:48', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324255 -2.801087)'), GeomFromEWKT('SRID=4674;POINT (-40.324159 -2.801195)'))) / (select extract(epoch from '2026-07-10 03:23:48'::timestamp) - extract(epoch from '2026-07-10 03:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324255 -2.801087)'), GeomFromEWKT('SRID=4674;POINT (-40.324159 -2.801195)'))) / (select extract(epoch from '2026-07-10 03:23:48'::timestamp) - extract(epoch from '2026-07-10 03:23: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'), 47841, 'SRID=4674;POINT (-40.324083 -2.801313)', '2026-07-10 03:23:55', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324159 -2.801195)'), GeomFromEWKT('SRID=4674;POINT (-40.324083 -2.801313)'))) / (select extract(epoch from '2026-07-10 03:23:55'::timestamp) - extract(epoch from '2026-07-10 03:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324159 -2.801195)'), GeomFromEWKT('SRID=4674;POINT (-40.324083 -2.801313)'))) / (select extract(epoch from '2026-07-10 03:23:55'::timestamp) - extract(epoch from '2026-07-10 03:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324046 -2.801471)', '2026-07-10 03:24:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324083 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.324046 -2.801471)'))) / (select extract(epoch from '2026-07-10 03:24:04'::timestamp) - extract(epoch from '2026-07-10 03:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324083 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.324046 -2.801471)'))) / (select extract(epoch from '2026-07-10 03:24:04'::timestamp) - extract(epoch from '2026-07-10 03:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324018 -2.801611)', '2026-07-10 03:24:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324046 -2.801471)'), GeomFromEWKT('SRID=4674;POINT (-40.324018 -2.801611)'))) / (select extract(epoch from '2026-07-10 03:24:12'::timestamp) - extract(epoch from '2026-07-10 03:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324046 -2.801471)'), GeomFromEWKT('SRID=4674;POINT (-40.324018 -2.801611)'))) / (select extract(epoch from '2026-07-10 03:24:12'::timestamp) - extract(epoch from '2026-07-10 03:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324026 -2.80174)', '2026-07-10 03:24:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324018 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.324026 -2.80174)'))) / (select extract(epoch from '2026-07-10 03:24:19'::timestamp) - extract(epoch from '2026-07-10 03:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324018 -2.801611)'), GeomFromEWKT('SRID=4674;POINT (-40.324026 -2.80174)'))) / (select extract(epoch from '2026-07-10 03:24:19'::timestamp) - extract(epoch from '2026-07-10 03:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324062 -2.801871)', '2026-07-10 03:24:26', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324026 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.324062 -2.801871)'))) / (select extract(epoch from '2026-07-10 03:24:26'::timestamp) - extract(epoch from '2026-07-10 03:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324026 -2.80174)'), GeomFromEWKT('SRID=4674;POINT (-40.324062 -2.801871)'))) / (select extract(epoch from '2026-07-10 03:24:26'::timestamp) - extract(epoch from '2026-07-10 03:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324119 -2.801957)', '2026-07-10 03:24:33', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324062 -2.801871)'), GeomFromEWKT('SRID=4674;POINT (-40.324119 -2.801957)'))) / (select extract(epoch from '2026-07-10 03:24:33'::timestamp) - extract(epoch from '2026-07-10 03:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324062 -2.801871)'), GeomFromEWKT('SRID=4674;POINT (-40.324119 -2.801957)'))) / (select extract(epoch from '2026-07-10 03:24:33'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.324143 -2.802039)', '2026-07-10 03:24:41', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324119 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.324143 -2.802039)'))) / (select extract(epoch from '2026-07-10 03:24:41'::timestamp) - extract(epoch from '2026-07-10 03:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324119 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.324143 -2.802039)'))) / (select extract(epoch from '2026-07-10 03:24:41'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.324188 -2.802094)', '2026-07-10 03:24:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324143 -2.802039)'), GeomFromEWKT('SRID=4674;POINT (-40.324188 -2.802094)'))) / (select extract(epoch from '2026-07-10 03:24:52'::timestamp) - extract(epoch from '2026-07-10 03:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324143 -2.802039)'), GeomFromEWKT('SRID=4674;POINT (-40.324188 -2.802094)'))) / (select extract(epoch from '2026-07-10 03:24:52'::timestamp) - extract(epoch from '2026-07-10 03:24: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'), 47841, 'SRID=4674;POINT (-40.324234 -2.802131)', '2026-07-10 03:25:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324188 -2.802094)'), GeomFromEWKT('SRID=4674;POINT (-40.324234 -2.802131)'))) / (select extract(epoch from '2026-07-10 03:25:05'::timestamp) - extract(epoch from '2026-07-10 03:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324188 -2.802094)'), GeomFromEWKT('SRID=4674;POINT (-40.324234 -2.802131)'))) / (select extract(epoch from '2026-07-10 03:25:05'::timestamp) - extract(epoch from '2026-07-10 03:24: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'), 47841, 'SRID=4674;POINT (-40.324263 -2.802166)', '2026-07-10 03:25:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324234 -2.802131)'), GeomFromEWKT('SRID=4674;POINT (-40.324263 -2.802166)'))) / (select extract(epoch from '2026-07-10 03:25:20'::timestamp) - extract(epoch from '2026-07-10 03:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324234 -2.802131)'), GeomFromEWKT('SRID=4674;POINT (-40.324263 -2.802166)'))) / (select extract(epoch from '2026-07-10 03:25:20'::timestamp) - extract(epoch from '2026-07-10 03:25: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'), 47841, 'SRID=4674;POINT (-40.324296 -2.802174)', '2026-07-10 03:25:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324263 -2.802166)'), GeomFromEWKT('SRID=4674;POINT (-40.324296 -2.802174)'))) / (select extract(epoch from '2026-07-10 03:25:37'::timestamp) - extract(epoch from '2026-07-10 03:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324263 -2.802166)'), GeomFromEWKT('SRID=4674;POINT (-40.324296 -2.802174)'))) / (select extract(epoch from '2026-07-10 03:25:37'::timestamp) - extract(epoch from '2026-07-10 03:25: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'), 47841, 'SRID=4674;POINT (-40.324324 -2.802175)', '2026-07-10 03:25:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324296 -2.802174)'), GeomFromEWKT('SRID=4674;POINT (-40.324324 -2.802175)'))) / (select extract(epoch from '2026-07-10 03:25:52'::timestamp) - extract(epoch from '2026-07-10 03:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324296 -2.802174)'), GeomFromEWKT('SRID=4674;POINT (-40.324324 -2.802175)'))) / (select extract(epoch from '2026-07-10 03:25:52'::timestamp) - extract(epoch from '2026-07-10 03:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324382 -2.802163)', '2026-07-10 03:26:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324324 -2.802175)'), GeomFromEWKT('SRID=4674;POINT (-40.324382 -2.802163)'))) / (select extract(epoch from '2026-07-10 03:26:11'::timestamp) - extract(epoch from '2026-07-10 03:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324324 -2.802175)'), GeomFromEWKT('SRID=4674;POINT (-40.324382 -2.802163)'))) / (select extract(epoch from '2026-07-10 03:26:11'::timestamp) - extract(epoch from '2026-07-10 03:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324462 -2.802142)', '2026-07-10 03:26:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324382 -2.802163)'), GeomFromEWKT('SRID=4674;POINT (-40.324462 -2.802142)'))) / (select extract(epoch from '2026-07-10 03:26:29'::timestamp) - extract(epoch from '2026-07-10 03:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324382 -2.802163)'), GeomFromEWKT('SRID=4674;POINT (-40.324462 -2.802142)'))) / (select extract(epoch from '2026-07-10 03:26:29'::timestamp) - extract(epoch from '2026-07-10 03:26: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'), 47841, 'SRID=4674;POINT (-40.324517 -2.802125)', '2026-07-10 03:26:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324462 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.324517 -2.802125)'))) / (select extract(epoch from '2026-07-10 03:26:43'::timestamp) - extract(epoch from '2026-07-10 03:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324462 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.324517 -2.802125)'))) / (select extract(epoch from '2026-07-10 03:26:43'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.324546 -2.802128)', '2026-07-10 03:27:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324517 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.324546 -2.802128)'))) / (select extract(epoch from '2026-07-10 03:27:01'::timestamp) - extract(epoch from '2026-07-10 03:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324517 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.324546 -2.802128)'))) / (select extract(epoch from '2026-07-10 03:27:01'::timestamp) - extract(epoch from '2026-07-10 03:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324582 -2.802106)', '2026-07-10 03:27:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324546 -2.802128)'), GeomFromEWKT('SRID=4674;POINT (-40.324582 -2.802106)'))) / (select extract(epoch from '2026-07-10 03:27:16'::timestamp) - extract(epoch from '2026-07-10 03:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324546 -2.802128)'), GeomFromEWKT('SRID=4674;POINT (-40.324582 -2.802106)'))) / (select extract(epoch from '2026-07-10 03:27:16'::timestamp) - extract(epoch from '2026-07-10 03:27: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'), 47841, 'SRID=4674;POINT (-40.324618 -2.802078)', '2026-07-10 03:27:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324582 -2.802106)'), GeomFromEWKT('SRID=4674;POINT (-40.324618 -2.802078)'))) / (select extract(epoch from '2026-07-10 03:27:32'::timestamp) - extract(epoch from '2026-07-10 03:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324582 -2.802106)'), GeomFromEWKT('SRID=4674;POINT (-40.324618 -2.802078)'))) / (select extract(epoch from '2026-07-10 03:27:32'::timestamp) - extract(epoch from '2026-07-10 03:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324645 -2.802071)', '2026-07-10 03:27:47', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324618 -2.802078)'), GeomFromEWKT('SRID=4674;POINT (-40.324645 -2.802071)'))) / (select extract(epoch from '2026-07-10 03:27:47'::timestamp) - extract(epoch from '2026-07-10 03:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324618 -2.802078)'), GeomFromEWKT('SRID=4674;POINT (-40.324645 -2.802071)'))) / (select extract(epoch from '2026-07-10 03:27:47'::timestamp) - extract(epoch from '2026-07-10 03:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324693 -2.802039)', '2026-07-10 03:28:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324645 -2.802071)'), GeomFromEWKT('SRID=4674;POINT (-40.324693 -2.802039)'))) / (select extract(epoch from '2026-07-10 03:28:03'::timestamp) - extract(epoch from '2026-07-10 03:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324645 -2.802071)'), GeomFromEWKT('SRID=4674;POINT (-40.324693 -2.802039)'))) / (select extract(epoch from '2026-07-10 03:28:03'::timestamp) - extract(epoch from '2026-07-10 03:27: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'), 47841, 'SRID=4674;POINT (-40.324707 -2.80203)', '2026-07-10 03:28:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324693 -2.802039)'), GeomFromEWKT('SRID=4674;POINT (-40.324707 -2.80203)'))) / (select extract(epoch from '2026-07-10 03:28:13'::timestamp) - extract(epoch from '2026-07-10 03:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324693 -2.802039)'), GeomFromEWKT('SRID=4674;POINT (-40.324707 -2.80203)'))) / (select extract(epoch from '2026-07-10 03:28:13'::timestamp) - extract(epoch from '2026-07-10 03:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324733 -2.802023)', '2026-07-10 03:28:24', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324707 -2.80203)'), GeomFromEWKT('SRID=4674;POINT (-40.324733 -2.802023)'))) / (select extract(epoch from '2026-07-10 03:28:24'::timestamp) - extract(epoch from '2026-07-10 03:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324707 -2.80203)'), GeomFromEWKT('SRID=4674;POINT (-40.324733 -2.802023)'))) / (select extract(epoch from '2026-07-10 03:28:24'::timestamp) - extract(epoch from '2026-07-10 03:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324761 -2.802006)', '2026-07-10 03:28:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324733 -2.802023)'), GeomFromEWKT('SRID=4674;POINT (-40.324761 -2.802006)'))) / (select extract(epoch from '2026-07-10 03:28:38'::timestamp) - extract(epoch from '2026-07-10 03:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324733 -2.802023)'), GeomFromEWKT('SRID=4674;POINT (-40.324761 -2.802006)'))) / (select extract(epoch from '2026-07-10 03:28:38'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.324794 -2.801991)', '2026-07-10 03:28:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324761 -2.802006)'), GeomFromEWKT('SRID=4674;POINT (-40.324794 -2.801991)'))) / (select extract(epoch from '2026-07-10 03:28:54'::timestamp) - extract(epoch from '2026-07-10 03:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324761 -2.802006)'), GeomFromEWKT('SRID=4674;POINT (-40.324794 -2.801991)'))) / (select extract(epoch from '2026-07-10 03:28:54'::timestamp) - extract(epoch from '2026-07-10 03:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.324868 -2.801975)', '2026-07-10 03:29:13', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324794 -2.801991)'), GeomFromEWKT('SRID=4674;POINT (-40.324868 -2.801975)'))) / (select extract(epoch from '2026-07-10 03:29:13'::timestamp) - extract(epoch from '2026-07-10 03:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324794 -2.801991)'), GeomFromEWKT('SRID=4674;POINT (-40.324868 -2.801975)'))) / (select extract(epoch from '2026-07-10 03:29:13'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.324899 -2.801968)', '2026-07-10 03:29:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324868 -2.801975)'), GeomFromEWKT('SRID=4674;POINT (-40.324899 -2.801968)'))) / (select extract(epoch from '2026-07-10 03:29:26'::timestamp) - extract(epoch from '2026-07-10 03:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324868 -2.801975)'), GeomFromEWKT('SRID=4674;POINT (-40.324899 -2.801968)'))) / (select extract(epoch from '2026-07-10 03:29:26'::timestamp) - extract(epoch from '2026-07-10 03:29: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'), 47841, 'SRID=4674;POINT (-40.324971 -2.801948)', '2026-07-10 03:29:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324899 -2.801968)'), GeomFromEWKT('SRID=4674;POINT (-40.324971 -2.801948)'))) / (select extract(epoch from '2026-07-10 03:29:45'::timestamp) - extract(epoch from '2026-07-10 03:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324899 -2.801968)'), GeomFromEWKT('SRID=4674;POINT (-40.324971 -2.801948)'))) / (select extract(epoch from '2026-07-10 03:29:45'::timestamp) - extract(epoch from '2026-07-10 03:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.325026 -2.801948)', '2026-07-10 03:30:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324971 -2.801948)'), GeomFromEWKT('SRID=4674;POINT (-40.325026 -2.801948)'))) / (select extract(epoch from '2026-07-10 03:30:02'::timestamp) - extract(epoch from '2026-07-10 03:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324971 -2.801948)'), GeomFromEWKT('SRID=4674;POINT (-40.325026 -2.801948)'))) / (select extract(epoch from '2026-07-10 03:30:02'::timestamp) - extract(epoch from '2026-07-10 03:29: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'), 47841, 'SRID=4674;POINT (-40.325068 -2.801935)', '2026-07-10 03:30:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325026 -2.801948)'), GeomFromEWKT('SRID=4674;POINT (-40.325068 -2.801935)'))) / (select extract(epoch from '2026-07-10 03:30:16'::timestamp) - extract(epoch from '2026-07-10 03:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325026 -2.801948)'), GeomFromEWKT('SRID=4674;POINT (-40.325068 -2.801935)'))) / (select extract(epoch from '2026-07-10 03:30:16'::timestamp) - extract(epoch from '2026-07-10 03:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.325128 -2.801912)', '2026-07-10 03:30:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325068 -2.801935)'), GeomFromEWKT('SRID=4674;POINT (-40.325128 -2.801912)'))) / (select extract(epoch from '2026-07-10 03:30:34'::timestamp) - extract(epoch from '2026-07-10 03:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325068 -2.801935)'), GeomFromEWKT('SRID=4674;POINT (-40.325128 -2.801912)'))) / (select extract(epoch from '2026-07-10 03:30:34'::timestamp) - extract(epoch from '2026-07-10 03:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.325202 -2.801886)', '2026-07-10 03:30:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325128 -2.801912)'), GeomFromEWKT('SRID=4674;POINT (-40.325202 -2.801886)'))) / (select extract(epoch from '2026-07-10 03:30:53'::timestamp) - extract(epoch from '2026-07-10 03:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325128 -2.801912)'), GeomFromEWKT('SRID=4674;POINT (-40.325202 -2.801886)'))) / (select extract(epoch from '2026-07-10 03:30:53'::timestamp) - extract(epoch from '2026-07-10 03:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.325247 -2.801873)', '2026-07-10 03:31:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325202 -2.801886)'), GeomFromEWKT('SRID=4674;POINT (-40.325247 -2.801873)'))) / (select extract(epoch from '2026-07-10 03:31:06'::timestamp) - extract(epoch from '2026-07-10 03:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325202 -2.801886)'), GeomFromEWKT('SRID=4674;POINT (-40.325247 -2.801873)'))) / (select extract(epoch from '2026-07-10 03:31:06'::timestamp) - extract(epoch from '2026-07-10 03:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.325315 -2.80186)', '2026-07-10 03:31:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325247 -2.801873)'), GeomFromEWKT('SRID=4674;POINT (-40.325315 -2.80186)'))) / (select extract(epoch from '2026-07-10 03:31:22'::timestamp) - extract(epoch from '2026-07-10 03:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325247 -2.801873)'), GeomFromEWKT('SRID=4674;POINT (-40.325315 -2.80186)'))) / (select extract(epoch from '2026-07-10 03:31:22'::timestamp) - extract(epoch from '2026-07-10 03:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.325411 -2.80186)', '2026-07-10 03:31:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325315 -2.80186)'), GeomFromEWKT('SRID=4674;POINT (-40.325411 -2.80186)'))) / (select extract(epoch from '2026-07-10 03:31:38'::timestamp) - extract(epoch from '2026-07-10 03:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325315 -2.80186)'), GeomFromEWKT('SRID=4674;POINT (-40.325411 -2.80186)'))) / (select extract(epoch from '2026-07-10 03:31:38'::timestamp) - extract(epoch from '2026-07-10 03:31: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'), 47841, 'SRID=4674;POINT (-40.325472 -2.801848)', '2026-07-10 03:31:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325411 -2.80186)'), GeomFromEWKT('SRID=4674;POINT (-40.325472 -2.801848)'))) / (select extract(epoch from '2026-07-10 03:31:53'::timestamp) - extract(epoch from '2026-07-10 03:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325411 -2.80186)'), GeomFromEWKT('SRID=4674;POINT (-40.325472 -2.801848)'))) / (select extract(epoch from '2026-07-10 03:31:53'::timestamp) - extract(epoch from '2026-07-10 03:31: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'), 47841, 'SRID=4674;POINT (-40.325558 -2.801847)', '2026-07-10 03:32:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325472 -2.801848)'), GeomFromEWKT('SRID=4674;POINT (-40.325558 -2.801847)'))) / (select extract(epoch from '2026-07-10 03:32:11'::timestamp) - extract(epoch from '2026-07-10 03:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325472 -2.801848)'), GeomFromEWKT('SRID=4674;POINT (-40.325558 -2.801847)'))) / (select extract(epoch from '2026-07-10 03:32:11'::timestamp) - extract(epoch from '2026-07-10 03:31: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'), 47841, 'SRID=4674;POINT (-40.32564 -2.801821)', '2026-07-10 03:32:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325558 -2.801847)'), GeomFromEWKT('SRID=4674;POINT (-40.32564 -2.801821)'))) / (select extract(epoch from '2026-07-10 03:32:27'::timestamp) - extract(epoch from '2026-07-10 03:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325558 -2.801847)'), GeomFromEWKT('SRID=4674;POINT (-40.32564 -2.801821)'))) / (select extract(epoch from '2026-07-10 03:32:27'::timestamp) - extract(epoch from '2026-07-10 03:32: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'), 47841, 'SRID=4674;POINT (-40.325722 -2.801802)', '2026-07-10 03:32:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32564 -2.801821)'), GeomFromEWKT('SRID=4674;POINT (-40.325722 -2.801802)'))) / (select extract(epoch from '2026-07-10 03:32:45'::timestamp) - extract(epoch from '2026-07-10 03:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32564 -2.801821)'), GeomFromEWKT('SRID=4674;POINT (-40.325722 -2.801802)'))) / (select extract(epoch from '2026-07-10 03:32:45'::timestamp) - extract(epoch from '2026-07-10 03:32: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'), 47841, 'SRID=4674;POINT (-40.325789 -2.801796)', '2026-07-10 03:32:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325722 -2.801802)'), GeomFromEWKT('SRID=4674;POINT (-40.325789 -2.801796)'))) / (select extract(epoch from '2026-07-10 03:32:58'::timestamp) - extract(epoch from '2026-07-10 03:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325722 -2.801802)'), GeomFromEWKT('SRID=4674;POINT (-40.325789 -2.801796)'))) / (select extract(epoch from '2026-07-10 03:32:58'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.325867 -2.80178)', '2026-07-10 03:33:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325789 -2.801796)'), GeomFromEWKT('SRID=4674;POINT (-40.325867 -2.80178)'))) / (select extract(epoch from '2026-07-10 03:33:13'::timestamp) - extract(epoch from '2026-07-10 03:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325789 -2.801796)'), GeomFromEWKT('SRID=4674;POINT (-40.325867 -2.80178)'))) / (select extract(epoch from '2026-07-10 03:33:13'::timestamp) - extract(epoch from '2026-07-10 03:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.325928 -2.801775)', '2026-07-10 03:33:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325867 -2.80178)'), GeomFromEWKT('SRID=4674;POINT (-40.325928 -2.801775)'))) / (select extract(epoch from '2026-07-10 03:33:28'::timestamp) - extract(epoch from '2026-07-10 03:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325867 -2.80178)'), GeomFromEWKT('SRID=4674;POINT (-40.325928 -2.801775)'))) / (select extract(epoch from '2026-07-10 03:33:28'::timestamp) - extract(epoch from '2026-07-10 03:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.325982 -2.801771)', '2026-07-10 03:33:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325928 -2.801775)'), GeomFromEWKT('SRID=4674;POINT (-40.325982 -2.801771)'))) / (select extract(epoch from '2026-07-10 03:33:42'::timestamp) - extract(epoch from '2026-07-10 03:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325928 -2.801775)'), GeomFromEWKT('SRID=4674;POINT (-40.325982 -2.801771)'))) / (select extract(epoch from '2026-07-10 03:33:42'::timestamp) - extract(epoch from '2026-07-10 03:33: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'), 47841, 'SRID=4674;POINT (-40.326062 -2.801763)', '2026-07-10 03:33:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325982 -2.801771)'), GeomFromEWKT('SRID=4674;POINT (-40.326062 -2.801763)'))) / (select extract(epoch from '2026-07-10 03:33:59'::timestamp) - extract(epoch from '2026-07-10 03:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325982 -2.801771)'), GeomFromEWKT('SRID=4674;POINT (-40.326062 -2.801763)'))) / (select extract(epoch from '2026-07-10 03:33:59'::timestamp) - extract(epoch from '2026-07-10 03:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.326125 -2.801746)', '2026-07-10 03:34:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326062 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.326125 -2.801746)'))) / (select extract(epoch from '2026-07-10 03:34:12'::timestamp) - extract(epoch from '2026-07-10 03:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326062 -2.801763)'), GeomFromEWKT('SRID=4674;POINT (-40.326125 -2.801746)'))) / (select extract(epoch from '2026-07-10 03:34:12'::timestamp) - extract(epoch from '2026-07-10 03:33: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'), 47841, 'SRID=4674;POINT (-40.326188 -2.801717)', '2026-07-10 03:34:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326125 -2.801746)'), GeomFromEWKT('SRID=4674;POINT (-40.326188 -2.801717)'))) / (select extract(epoch from '2026-07-10 03:34:27'::timestamp) - extract(epoch from '2026-07-10 03:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326125 -2.801746)'), GeomFromEWKT('SRID=4674;POINT (-40.326188 -2.801717)'))) / (select extract(epoch from '2026-07-10 03:34:27'::timestamp) - extract(epoch from '2026-07-10 03:34: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'), 47841, 'SRID=4674;POINT (-40.326254 -2.8017)', '2026-07-10 03:34:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326188 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.326254 -2.8017)'))) / (select extract(epoch from '2026-07-10 03:34:42'::timestamp) - extract(epoch from '2026-07-10 03:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326188 -2.801717)'), GeomFromEWKT('SRID=4674;POINT (-40.326254 -2.8017)'))) / (select extract(epoch from '2026-07-10 03:34:42'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.326329 -2.801684)', '2026-07-10 03:34:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326254 -2.8017)'), GeomFromEWKT('SRID=4674;POINT (-40.326329 -2.801684)'))) / (select extract(epoch from '2026-07-10 03:34:56'::timestamp) - extract(epoch from '2026-07-10 03:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326254 -2.8017)'), GeomFromEWKT('SRID=4674;POINT (-40.326329 -2.801684)'))) / (select extract(epoch from '2026-07-10 03:34:56'::timestamp) - extract(epoch from '2026-07-10 03:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.326394 -2.80168)', '2026-07-10 03:35:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326329 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.326394 -2.80168)'))) / (select extract(epoch from '2026-07-10 03:35:11'::timestamp) - extract(epoch from '2026-07-10 03:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326329 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.326394 -2.80168)'))) / (select extract(epoch from '2026-07-10 03:35:11'::timestamp) - extract(epoch from '2026-07-10 03:34: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'), 47841, 'SRID=4674;POINT (-40.326459 -2.80168)', '2026-07-10 03:35:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326394 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.326459 -2.80168)'))) / (select extract(epoch from '2026-07-10 03:35:25'::timestamp) - extract(epoch from '2026-07-10 03:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326394 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.326459 -2.80168)'))) / (select extract(epoch from '2026-07-10 03:35:25'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.32655 -2.801657)', '2026-07-10 03:35:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326459 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.32655 -2.801657)'))) / (select extract(epoch from '2026-07-10 03:35:42'::timestamp) - extract(epoch from '2026-07-10 03:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326459 -2.80168)'), GeomFromEWKT('SRID=4674;POINT (-40.32655 -2.801657)'))) / (select extract(epoch from '2026-07-10 03:35:42'::timestamp) - extract(epoch from '2026-07-10 03:35: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'), 47841, 'SRID=4674;POINT (-40.326607 -2.801634)', '2026-07-10 03:35:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32655 -2.801657)'), GeomFromEWKT('SRID=4674;POINT (-40.326607 -2.801634)'))) / (select extract(epoch from '2026-07-10 03:35:54'::timestamp) - extract(epoch from '2026-07-10 03:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32655 -2.801657)'), GeomFromEWKT('SRID=4674;POINT (-40.326607 -2.801634)'))) / (select extract(epoch from '2026-07-10 03:35:54'::timestamp) - extract(epoch from '2026-07-10 03:35: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'), 47841, 'SRID=4674;POINT (-40.326666 -2.801633)', '2026-07-10 03:36:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326607 -2.801634)'), GeomFromEWKT('SRID=4674;POINT (-40.326666 -2.801633)'))) / (select extract(epoch from '2026-07-10 03:36:09'::timestamp) - extract(epoch from '2026-07-10 03:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326607 -2.801634)'), GeomFromEWKT('SRID=4674;POINT (-40.326666 -2.801633)'))) / (select extract(epoch from '2026-07-10 03:36:09'::timestamp) - extract(epoch from '2026-07-10 03:35: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'), 47841, 'SRID=4674;POINT (-40.326751 -2.801624)', '2026-07-10 03:36:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326666 -2.801633)'), GeomFromEWKT('SRID=4674;POINT (-40.326751 -2.801624)'))) / (select extract(epoch from '2026-07-10 03:36:25'::timestamp) - extract(epoch from '2026-07-10 03:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326666 -2.801633)'), GeomFromEWKT('SRID=4674;POINT (-40.326751 -2.801624)'))) / (select extract(epoch from '2026-07-10 03:36:25'::timestamp) - extract(epoch from '2026-07-10 03:36: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'), 47841, 'SRID=4674;POINT (-40.326836 -2.801614)', '2026-07-10 03:36:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326751 -2.801624)'), GeomFromEWKT('SRID=4674;POINT (-40.326836 -2.801614)'))) / (select extract(epoch from '2026-07-10 03:36:41'::timestamp) - extract(epoch from '2026-07-10 03:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326751 -2.801624)'), GeomFromEWKT('SRID=4674;POINT (-40.326836 -2.801614)'))) / (select extract(epoch from '2026-07-10 03:36:41'::timestamp) - extract(epoch from '2026-07-10 03:36: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'), 47841, 'SRID=4674;POINT (-40.326919 -2.801614)', '2026-07-10 03:36:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326836 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.326919 -2.801614)'))) / (select extract(epoch from '2026-07-10 03:36:58'::timestamp) - extract(epoch from '2026-07-10 03:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326836 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.326919 -2.801614)'))) / (select extract(epoch from '2026-07-10 03:36:58'::timestamp) - extract(epoch from '2026-07-10 03:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.32699 -2.801608)', '2026-07-10 03:37:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326919 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.32699 -2.801608)'))) / (select extract(epoch from '2026-07-10 03:37:13'::timestamp) - extract(epoch from '2026-07-10 03:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326919 -2.801614)'), GeomFromEWKT('SRID=4674;POINT (-40.32699 -2.801608)'))) / (select extract(epoch from '2026-07-10 03:37:13'::timestamp) - extract(epoch from '2026-07-10 03:36: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'), 47841, 'SRID=4674;POINT (-40.327067 -2.801601)', '2026-07-10 03:37:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32699 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.327067 -2.801601)'))) / (select extract(epoch from '2026-07-10 03:37:29'::timestamp) - extract(epoch from '2026-07-10 03:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32699 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.327067 -2.801601)'))) / (select extract(epoch from '2026-07-10 03:37:29'::timestamp) - extract(epoch from '2026-07-10 03:37:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.327135 -2.801586)', '2026-07-10 03:37:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327067 -2.801601)'), GeomFromEWKT('SRID=4674;POINT (-40.327135 -2.801586)'))) / (select extract(epoch from '2026-07-10 03:37:48'::timestamp) - extract(epoch from '2026-07-10 03:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327067 -2.801601)'), GeomFromEWKT('SRID=4674;POINT (-40.327135 -2.801586)'))) / (select extract(epoch from '2026-07-10 03:37:48'::timestamp) - extract(epoch from '2026-07-10 03:37: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'), 47841, 'SRID=4674;POINT (-40.327187 -2.80158)', '2026-07-10 03:38:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327135 -2.801586)'), GeomFromEWKT('SRID=4674;POINT (-40.327187 -2.80158)'))) / (select extract(epoch from '2026-07-10 03:38:00'::timestamp) - extract(epoch from '2026-07-10 03:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327135 -2.801586)'), GeomFromEWKT('SRID=4674;POINT (-40.327187 -2.80158)'))) / (select extract(epoch from '2026-07-10 03:38:00'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.32726 -2.801565)', '2026-07-10 03:38:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327187 -2.80158)'), GeomFromEWKT('SRID=4674;POINT (-40.32726 -2.801565)'))) / (select extract(epoch from '2026-07-10 03:38:18'::timestamp) - extract(epoch from '2026-07-10 03:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327187 -2.80158)'), GeomFromEWKT('SRID=4674;POINT (-40.32726 -2.801565)'))) / (select extract(epoch from '2026-07-10 03:38:18'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.327338 -2.801551)', '2026-07-10 03:38:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32726 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.801551)'))) / (select extract(epoch from '2026-07-10 03:38:36'::timestamp) - extract(epoch from '2026-07-10 03:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32726 -2.801565)'), GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.801551)'))) / (select extract(epoch from '2026-07-10 03:38:36'::timestamp) - extract(epoch from '2026-07-10 03:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.327411 -2.801538)', '2026-07-10 03:38:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.801551)'), GeomFromEWKT('SRID=4674;POINT (-40.327411 -2.801538)'))) / (select extract(epoch from '2026-07-10 03:38:53'::timestamp) - extract(epoch from '2026-07-10 03:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.801551)'), GeomFromEWKT('SRID=4674;POINT (-40.327411 -2.801538)'))) / (select extract(epoch from '2026-07-10 03:38:53'::timestamp) - extract(epoch from '2026-07-10 03:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.327472 -2.801538)', '2026-07-10 03:39:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327411 -2.801538)'), GeomFromEWKT('SRID=4674;POINT (-40.327472 -2.801538)'))) / (select extract(epoch from '2026-07-10 03:39:09'::timestamp) - extract(epoch from '2026-07-10 03:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327411 -2.801538)'), GeomFromEWKT('SRID=4674;POINT (-40.327472 -2.801538)'))) / (select extract(epoch from '2026-07-10 03:39:09'::timestamp) - extract(epoch from '2026-07-10 03:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.32757 -2.801521)', '2026-07-10 03:39:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327472 -2.801538)'), GeomFromEWKT('SRID=4674;POINT (-40.32757 -2.801521)'))) / (select extract(epoch from '2026-07-10 03:39:26'::timestamp) - extract(epoch from '2026-07-10 03:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327472 -2.801538)'), GeomFromEWKT('SRID=4674;POINT (-40.32757 -2.801521)'))) / (select extract(epoch from '2026-07-10 03:39:26'::timestamp) - extract(epoch from '2026-07-10 03:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.327668 -2.801526)', '2026-07-10 03:39:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32757 -2.801521)'), GeomFromEWKT('SRID=4674;POINT (-40.327668 -2.801526)'))) / (select extract(epoch from '2026-07-10 03:39:44'::timestamp) - extract(epoch from '2026-07-10 03:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32757 -2.801521)'), GeomFromEWKT('SRID=4674;POINT (-40.327668 -2.801526)'))) / (select extract(epoch from '2026-07-10 03:39:44'::timestamp) - extract(epoch from '2026-07-10 03:39: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'), 47841, 'SRID=4674;POINT (-40.327748 -2.801535)', '2026-07-10 03:40:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327668 -2.801526)'), GeomFromEWKT('SRID=4674;POINT (-40.327748 -2.801535)'))) / (select extract(epoch from '2026-07-10 03:40:00'::timestamp) - extract(epoch from '2026-07-10 03:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327668 -2.801526)'), GeomFromEWKT('SRID=4674;POINT (-40.327748 -2.801535)'))) / (select extract(epoch from '2026-07-10 03:40:00'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.327839 -2.801522)', '2026-07-10 03:40:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327748 -2.801535)'), GeomFromEWKT('SRID=4674;POINT (-40.327839 -2.801522)'))) / (select extract(epoch from '2026-07-10 03:40:17'::timestamp) - extract(epoch from '2026-07-10 03:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327748 -2.801535)'), GeomFromEWKT('SRID=4674;POINT (-40.327839 -2.801522)'))) / (select extract(epoch from '2026-07-10 03:40:17'::timestamp) - extract(epoch from '2026-07-10 03:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.327906 -2.801517)', '2026-07-10 03:40:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327839 -2.801522)'), GeomFromEWKT('SRID=4674;POINT (-40.327906 -2.801517)'))) / (select extract(epoch from '2026-07-10 03:40:31'::timestamp) - extract(epoch from '2026-07-10 03:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327839 -2.801522)'), GeomFromEWKT('SRID=4674;POINT (-40.327906 -2.801517)'))) / (select extract(epoch from '2026-07-10 03:40:31'::timestamp) - extract(epoch from '2026-07-10 03:40: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'), 47841, 'SRID=4674;POINT (-40.327966 -2.80151)', '2026-07-10 03:40:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327906 -2.801517)'), GeomFromEWKT('SRID=4674;POINT (-40.327966 -2.80151)'))) / (select extract(epoch from '2026-07-10 03:40:44'::timestamp) - extract(epoch from '2026-07-10 03:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327906 -2.801517)'), GeomFromEWKT('SRID=4674;POINT (-40.327966 -2.80151)'))) / (select extract(epoch from '2026-07-10 03:40:44'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.328053 -2.801499)', '2026-07-10 03:41:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327966 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.328053 -2.801499)'))) / (select extract(epoch from '2026-07-10 03:41:01'::timestamp) - extract(epoch from '2026-07-10 03:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327966 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.328053 -2.801499)'))) / (select extract(epoch from '2026-07-10 03:41:01'::timestamp) - extract(epoch from '2026-07-10 03:40: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'), 47841, 'SRID=4674;POINT (-40.328116 -2.801482)', '2026-07-10 03:41:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328053 -2.801499)'), GeomFromEWKT('SRID=4674;POINT (-40.328116 -2.801482)'))) / (select extract(epoch from '2026-07-10 03:41:17'::timestamp) - extract(epoch from '2026-07-10 03:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328053 -2.801499)'), GeomFromEWKT('SRID=4674;POINT (-40.328116 -2.801482)'))) / (select extract(epoch from '2026-07-10 03:41:17'::timestamp) - extract(epoch from '2026-07-10 03:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.328214 -2.801484)', '2026-07-10 03:41:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328116 -2.801482)'), GeomFromEWKT('SRID=4674;POINT (-40.328214 -2.801484)'))) / (select extract(epoch from '2026-07-10 03:41:35'::timestamp) - extract(epoch from '2026-07-10 03:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328116 -2.801482)'), GeomFromEWKT('SRID=4674;POINT (-40.328214 -2.801484)'))) / (select extract(epoch from '2026-07-10 03:41:35'::timestamp) - extract(epoch from '2026-07-10 03:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.328293 -2.801469)', '2026-07-10 03:41:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328214 -2.801484)'), GeomFromEWKT('SRID=4674;POINT (-40.328293 -2.801469)'))) / (select extract(epoch from '2026-07-10 03:41:51'::timestamp) - extract(epoch from '2026-07-10 03:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328214 -2.801484)'), GeomFromEWKT('SRID=4674;POINT (-40.328293 -2.801469)'))) / (select extract(epoch from '2026-07-10 03:41:51'::timestamp) - extract(epoch from '2026-07-10 03:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.328387 -2.801456)', '2026-07-10 03:42:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328293 -2.801469)'), GeomFromEWKT('SRID=4674;POINT (-40.328387 -2.801456)'))) / (select extract(epoch from '2026-07-10 03:42:08'::timestamp) - extract(epoch from '2026-07-10 03:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328293 -2.801469)'), GeomFromEWKT('SRID=4674;POINT (-40.328387 -2.801456)'))) / (select extract(epoch from '2026-07-10 03:42:08'::timestamp) - extract(epoch from '2026-07-10 03:41: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'), 47841, 'SRID=4674;POINT (-40.328463 -2.801451)', '2026-07-10 03:42:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328387 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.328463 -2.801451)'))) / (select extract(epoch from '2026-07-10 03:42:23'::timestamp) - extract(epoch from '2026-07-10 03:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328387 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.328463 -2.801451)'))) / (select extract(epoch from '2026-07-10 03:42:23'::timestamp) - extract(epoch from '2026-07-10 03:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.32857 -2.801456)', '2026-07-10 03:42:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328463 -2.801451)'), GeomFromEWKT('SRID=4674;POINT (-40.32857 -2.801456)'))) / (select extract(epoch from '2026-07-10 03:42:38'::timestamp) - extract(epoch from '2026-07-10 03:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328463 -2.801451)'), GeomFromEWKT('SRID=4674;POINT (-40.32857 -2.801456)'))) / (select extract(epoch from '2026-07-10 03:42:38'::timestamp) - extract(epoch from '2026-07-10 03:42: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'), 47841, 'SRID=4674;POINT (-40.328638 -2.801456)', '2026-07-10 03:42:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32857 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.801456)'))) / (select extract(epoch from '2026-07-10 03:42:53'::timestamp) - extract(epoch from '2026-07-10 03:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32857 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.801456)'))) / (select extract(epoch from '2026-07-10 03:42:53'::timestamp) - extract(epoch from '2026-07-10 03:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.328703 -2.801455)', '2026-07-10 03:43:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.328703 -2.801455)'))) / (select extract(epoch from '2026-07-10 03:43:07'::timestamp) - extract(epoch from '2026-07-10 03:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328638 -2.801456)'), GeomFromEWKT('SRID=4674;POINT (-40.328703 -2.801455)'))) / (select extract(epoch from '2026-07-10 03:43:07'::timestamp) - extract(epoch from '2026-07-10 03:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.328743 -2.801477)', '2026-07-10 03:43:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328703 -2.801455)'), GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.801477)'))) / (select extract(epoch from '2026-07-10 03:43:22'::timestamp) - extract(epoch from '2026-07-10 03:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328703 -2.801455)'), GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.801477)'))) / (select extract(epoch from '2026-07-10 03:43:22'::timestamp) - extract(epoch from '2026-07-10 03:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.328781 -2.801478)', '2026-07-10 03:43:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.801477)'), GeomFromEWKT('SRID=4674;POINT (-40.328781 -2.801478)'))) / (select extract(epoch from '2026-07-10 03:43:37'::timestamp) - extract(epoch from '2026-07-10 03:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.801477)'), GeomFromEWKT('SRID=4674;POINT (-40.328781 -2.801478)'))) / (select extract(epoch from '2026-07-10 03:43:37'::timestamp) - extract(epoch from '2026-07-10 03:43: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'), 47841, 'SRID=4674;POINT (-40.328818 -2.801484)', '2026-07-10 03:43:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328781 -2.801478)'), GeomFromEWKT('SRID=4674;POINT (-40.328818 -2.801484)'))) / (select extract(epoch from '2026-07-10 03:43:51'::timestamp) - extract(epoch from '2026-07-10 03:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328781 -2.801478)'), GeomFromEWKT('SRID=4674;POINT (-40.328818 -2.801484)'))) / (select extract(epoch from '2026-07-10 03:43:51'::timestamp) - extract(epoch from '2026-07-10 03:43: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'), 47841, 'SRID=4674;POINT (-40.32888 -2.801459)', '2026-07-10 03:44:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328818 -2.801484)'), GeomFromEWKT('SRID=4674;POINT (-40.32888 -2.801459)'))) / (select extract(epoch from '2026-07-10 03:44:06'::timestamp) - extract(epoch from '2026-07-10 03:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328818 -2.801484)'), GeomFromEWKT('SRID=4674;POINT (-40.32888 -2.801459)'))) / (select extract(epoch from '2026-07-10 03:44:06'::timestamp) - extract(epoch from '2026-07-10 03:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.328963 -2.801459)', '2026-07-10 03:44:24', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32888 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.328963 -2.801459)'))) / (select extract(epoch from '2026-07-10 03:44:24'::timestamp) - extract(epoch from '2026-07-10 03:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32888 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.328963 -2.801459)'))) / (select extract(epoch from '2026-07-10 03:44:24'::timestamp) - extract(epoch from '2026-07-10 03:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.329054 -2.80145)', '2026-07-10 03:44:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328963 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.329054 -2.80145)'))) / (select extract(epoch from '2026-07-10 03:44:42'::timestamp) - extract(epoch from '2026-07-10 03:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328963 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.329054 -2.80145)'))) / (select extract(epoch from '2026-07-10 03:44:42'::timestamp) - extract(epoch from '2026-07-10 03:44: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'), 47841, 'SRID=4674;POINT (-40.329141 -2.801434)', '2026-07-10 03:45:00', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329054 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.329141 -2.801434)'))) / (select extract(epoch from '2026-07-10 03:45:00'::timestamp) - extract(epoch from '2026-07-10 03:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329054 -2.80145)'), GeomFromEWKT('SRID=4674;POINT (-40.329141 -2.801434)'))) / (select extract(epoch from '2026-07-10 03:45:00'::timestamp) - extract(epoch from '2026-07-10 03:44: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'), 47841, 'SRID=4674;POINT (-40.329232 -2.80142)', '2026-07-10 03:45:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329141 -2.801434)'), GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.80142)'))) / (select extract(epoch from '2026-07-10 03:45:15'::timestamp) - extract(epoch from '2026-07-10 03:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329141 -2.801434)'), GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.80142)'))) / (select extract(epoch from '2026-07-10 03:45:15'::timestamp) - extract(epoch from '2026-07-10 03:45: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'), 47841, 'SRID=4674;POINT (-40.329388 -2.801422)', '2026-07-10 03:45:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.80142)'), GeomFromEWKT('SRID=4674;POINT (-40.329388 -2.801422)'))) / (select extract(epoch from '2026-07-10 03:45:30'::timestamp) - extract(epoch from '2026-07-10 03:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.80142)'), GeomFromEWKT('SRID=4674;POINT (-40.329388 -2.801422)'))) / (select extract(epoch from '2026-07-10 03:45:30'::timestamp) - extract(epoch from '2026-07-10 03:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.329538 -2.801427)', '2026-07-10 03:45:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329388 -2.801422)'), GeomFromEWKT('SRID=4674;POINT (-40.329538 -2.801427)'))) / (select extract(epoch from '2026-07-10 03:45:46'::timestamp) - extract(epoch from '2026-07-10 03:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329388 -2.801422)'), GeomFromEWKT('SRID=4674;POINT (-40.329538 -2.801427)'))) / (select extract(epoch from '2026-07-10 03:45:46'::timestamp) - extract(epoch from '2026-07-10 03:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.329666 -2.80142)', '2026-07-10 03:46:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329538 -2.801427)'), GeomFromEWKT('SRID=4674;POINT (-40.329666 -2.80142)'))) / (select extract(epoch from '2026-07-10 03:46:03'::timestamp) - extract(epoch from '2026-07-10 03:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329538 -2.801427)'), GeomFromEWKT('SRID=4674;POINT (-40.329666 -2.80142)'))) / (select extract(epoch from '2026-07-10 03:46:03'::timestamp) - extract(epoch from '2026-07-10 03:45: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'), 47841, 'SRID=4674;POINT (-40.329812 -2.801389)', '2026-07-10 03:46:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329666 -2.80142)'), GeomFromEWKT('SRID=4674;POINT (-40.329812 -2.801389)'))) / (select extract(epoch from '2026-07-10 03:46:20'::timestamp) - extract(epoch from '2026-07-10 03:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329666 -2.80142)'), GeomFromEWKT('SRID=4674;POINT (-40.329812 -2.801389)'))) / (select extract(epoch from '2026-07-10 03:46:20'::timestamp) - extract(epoch from '2026-07-10 03:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.329934 -2.801372)', '2026-07-10 03:46:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329812 -2.801389)'), GeomFromEWKT('SRID=4674;POINT (-40.329934 -2.801372)'))) / (select extract(epoch from '2026-07-10 03:46:36'::timestamp) - extract(epoch from '2026-07-10 03:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329812 -2.801389)'), GeomFromEWKT('SRID=4674;POINT (-40.329934 -2.801372)'))) / (select extract(epoch from '2026-07-10 03:46:36'::timestamp) - extract(epoch from '2026-07-10 03:46: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'), 47841, 'SRID=4674;POINT (-40.33003 -2.801375)', '2026-07-10 03:46:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329934 -2.801372)'), GeomFromEWKT('SRID=4674;POINT (-40.33003 -2.801375)'))) / (select extract(epoch from '2026-07-10 03:46:50'::timestamp) - extract(epoch from '2026-07-10 03:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329934 -2.801372)'), GeomFromEWKT('SRID=4674;POINT (-40.33003 -2.801375)'))) / (select extract(epoch from '2026-07-10 03:46:50'::timestamp) - extract(epoch from '2026-07-10 03:46: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'), 47841, 'SRID=4674;POINT (-40.330153 -2.801377)', '2026-07-10 03:47:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33003 -2.801375)'), GeomFromEWKT('SRID=4674;POINT (-40.330153 -2.801377)'))) / (select extract(epoch from '2026-07-10 03:47:07'::timestamp) - extract(epoch from '2026-07-10 03:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33003 -2.801375)'), GeomFromEWKT('SRID=4674;POINT (-40.330153 -2.801377)'))) / (select extract(epoch from '2026-07-10 03:47:07'::timestamp) - extract(epoch from '2026-07-10 03:46: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'), 47841, 'SRID=4674;POINT (-40.330278 -2.801359)', '2026-07-10 03:47:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330153 -2.801377)'), GeomFromEWKT('SRID=4674;POINT (-40.330278 -2.801359)'))) / (select extract(epoch from '2026-07-10 03:47:25'::timestamp) - extract(epoch from '2026-07-10 03:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330153 -2.801377)'), GeomFromEWKT('SRID=4674;POINT (-40.330278 -2.801359)'))) / (select extract(epoch from '2026-07-10 03:47:25'::timestamp) - extract(epoch from '2026-07-10 03:47: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'), 47841, 'SRID=4674;POINT (-40.330363 -2.80136)', '2026-07-10 03:47:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330278 -2.801359)'), GeomFromEWKT('SRID=4674;POINT (-40.330363 -2.80136)'))) / (select extract(epoch from '2026-07-10 03:47:37'::timestamp) - extract(epoch from '2026-07-10 03:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330278 -2.801359)'), GeomFromEWKT('SRID=4674;POINT (-40.330363 -2.80136)'))) / (select extract(epoch from '2026-07-10 03:47:37'::timestamp) - extract(epoch from '2026-07-10 03:47: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'), 47841, 'SRID=4674;POINT (-40.33051 -2.801329)', '2026-07-10 03:48:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330363 -2.80136)'), GeomFromEWKT('SRID=4674;POINT (-40.33051 -2.801329)'))) / (select extract(epoch from '2026-07-10 03:48:01'::timestamp) - extract(epoch from '2026-07-10 03:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330363 -2.80136)'), GeomFromEWKT('SRID=4674;POINT (-40.33051 -2.801329)'))) / (select extract(epoch from '2026-07-10 03:48:01'::timestamp) - extract(epoch from '2026-07-10 03:47: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'), 47841, 'SRID=4674;POINT (-40.330671 -2.801314)', '2026-07-10 03:48:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33051 -2.801329)'), GeomFromEWKT('SRID=4674;POINT (-40.330671 -2.801314)'))) / (select extract(epoch from '2026-07-10 03:48:22'::timestamp) - extract(epoch from '2026-07-10 03:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33051 -2.801329)'), GeomFromEWKT('SRID=4674;POINT (-40.330671 -2.801314)'))) / (select extract(epoch from '2026-07-10 03:48:22'::timestamp) - extract(epoch from '2026-07-10 03:48: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'), 47841, 'SRID=4674;POINT (-40.330821 -2.801303)', '2026-07-10 03:48:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330671 -2.801314)'), GeomFromEWKT('SRID=4674;POINT (-40.330821 -2.801303)'))) / (select extract(epoch from '2026-07-10 03:48:42'::timestamp) - extract(epoch from '2026-07-10 03:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330671 -2.801314)'), GeomFromEWKT('SRID=4674;POINT (-40.330821 -2.801303)'))) / (select extract(epoch from '2026-07-10 03:48:42'::timestamp) - extract(epoch from '2026-07-10 03:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.330912 -2.801305)', '2026-07-10 03:48:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330821 -2.801303)'), GeomFromEWKT('SRID=4674;POINT (-40.330912 -2.801305)'))) / (select extract(epoch from '2026-07-10 03:48:56'::timestamp) - extract(epoch from '2026-07-10 03:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330821 -2.801303)'), GeomFromEWKT('SRID=4674;POINT (-40.330912 -2.801305)'))) / (select extract(epoch from '2026-07-10 03:48:56'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.331026 -2.801297)', '2026-07-10 03:49:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330912 -2.801305)'), GeomFromEWKT('SRID=4674;POINT (-40.331026 -2.801297)'))) / (select extract(epoch from '2026-07-10 03:49:13'::timestamp) - extract(epoch from '2026-07-10 03:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330912 -2.801305)'), GeomFromEWKT('SRID=4674;POINT (-40.331026 -2.801297)'))) / (select extract(epoch from '2026-07-10 03:49:13'::timestamp) - extract(epoch from '2026-07-10 03:48: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'), 47841, 'SRID=4674;POINT (-40.331147 -2.801286)', '2026-07-10 03:49:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331026 -2.801297)'), GeomFromEWKT('SRID=4674;POINT (-40.331147 -2.801286)'))) / (select extract(epoch from '2026-07-10 03:49:32'::timestamp) - extract(epoch from '2026-07-10 03:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331026 -2.801297)'), GeomFromEWKT('SRID=4674;POINT (-40.331147 -2.801286)'))) / (select extract(epoch from '2026-07-10 03:49:32'::timestamp) - extract(epoch from '2026-07-10 03:49: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'), 47841, 'SRID=4674;POINT (-40.33125 -2.801281)', '2026-07-10 03:49:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331147 -2.801286)'), GeomFromEWKT('SRID=4674;POINT (-40.33125 -2.801281)'))) / (select extract(epoch from '2026-07-10 03:49:47'::timestamp) - extract(epoch from '2026-07-10 03:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331147 -2.801286)'), GeomFromEWKT('SRID=4674;POINT (-40.33125 -2.801281)'))) / (select extract(epoch from '2026-07-10 03:49:47'::timestamp) - extract(epoch from '2026-07-10 03:49: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'), 47841, 'SRID=4674;POINT (-40.33135 -2.801271)', '2026-07-10 03:50:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33125 -2.801281)'), GeomFromEWKT('SRID=4674;POINT (-40.33135 -2.801271)'))) / (select extract(epoch from '2026-07-10 03:50:02'::timestamp) - extract(epoch from '2026-07-10 03:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33125 -2.801281)'), GeomFromEWKT('SRID=4674;POINT (-40.33135 -2.801271)'))) / (select extract(epoch from '2026-07-10 03:50:02'::timestamp) - extract(epoch from '2026-07-10 03:49: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'), 47841, 'SRID=4674;POINT (-40.33145 -2.801273)', '2026-07-10 03:50:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33135 -2.801271)'), GeomFromEWKT('SRID=4674;POINT (-40.33145 -2.801273)'))) / (select extract(epoch from '2026-07-10 03:50:19'::timestamp) - extract(epoch from '2026-07-10 03:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33135 -2.801271)'), GeomFromEWKT('SRID=4674;POINT (-40.33145 -2.801273)'))) / (select extract(epoch from '2026-07-10 03:50:19'::timestamp) - extract(epoch from '2026-07-10 03:50: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'), 47841, 'SRID=4674;POINT (-40.331554 -2.80127)', '2026-07-10 03:50:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33145 -2.801273)'), GeomFromEWKT('SRID=4674;POINT (-40.331554 -2.80127)'))) / (select extract(epoch from '2026-07-10 03:50:36'::timestamp) - extract(epoch from '2026-07-10 03:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33145 -2.801273)'), GeomFromEWKT('SRID=4674;POINT (-40.331554 -2.80127)'))) / (select extract(epoch from '2026-07-10 03:50:36'::timestamp) - extract(epoch from '2026-07-10 03:50: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'), 47841, 'SRID=4674;POINT (-40.331642 -2.801263)', '2026-07-10 03:50:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331554 -2.80127)'), GeomFromEWKT('SRID=4674;POINT (-40.331642 -2.801263)'))) / (select extract(epoch from '2026-07-10 03:50:51'::timestamp) - extract(epoch from '2026-07-10 03:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331554 -2.80127)'), GeomFromEWKT('SRID=4674;POINT (-40.331642 -2.801263)'))) / (select extract(epoch from '2026-07-10 03:50:51'::timestamp) - extract(epoch from '2026-07-10 03:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.331764 -2.801257)', '2026-07-10 03:51:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331642 -2.801263)'), GeomFromEWKT('SRID=4674;POINT (-40.331764 -2.801257)'))) / (select extract(epoch from '2026-07-10 03:51:10'::timestamp) - extract(epoch from '2026-07-10 03:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331642 -2.801263)'), GeomFromEWKT('SRID=4674;POINT (-40.331764 -2.801257)'))) / (select extract(epoch from '2026-07-10 03:51:10'::timestamp) - extract(epoch from '2026-07-10 03:50: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'), 47841, 'SRID=4674;POINT (-40.33186 -2.801244)', '2026-07-10 03:51:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331764 -2.801257)'), GeomFromEWKT('SRID=4674;POINT (-40.33186 -2.801244)'))) / (select extract(epoch from '2026-07-10 03:51:24'::timestamp) - extract(epoch from '2026-07-10 03:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331764 -2.801257)'), GeomFromEWKT('SRID=4674;POINT (-40.33186 -2.801244)'))) / (select extract(epoch from '2026-07-10 03:51:24'::timestamp) - extract(epoch from '2026-07-10 03:51: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'), 47841, 'SRID=4674;POINT (-40.332007 -2.801241)', '2026-07-10 03:51:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33186 -2.801244)'), GeomFromEWKT('SRID=4674;POINT (-40.332007 -2.801241)'))) / (select extract(epoch from '2026-07-10 03:51:43'::timestamp) - extract(epoch from '2026-07-10 03:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33186 -2.801244)'), GeomFromEWKT('SRID=4674;POINT (-40.332007 -2.801241)'))) / (select extract(epoch from '2026-07-10 03:51:43'::timestamp) - extract(epoch from '2026-07-10 03:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.332129 -2.801235)', '2026-07-10 03:52:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332007 -2.801241)'), GeomFromEWKT('SRID=4674;POINT (-40.332129 -2.801235)'))) / (select extract(epoch from '2026-07-10 03:52:00'::timestamp) - extract(epoch from '2026-07-10 03:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332007 -2.801241)'), GeomFromEWKT('SRID=4674;POINT (-40.332129 -2.801235)'))) / (select extract(epoch from '2026-07-10 03:52:00'::timestamp) - extract(epoch from '2026-07-10 03:51: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'), 47841, 'SRID=4674;POINT (-40.332235 -2.801228)', '2026-07-10 03:52:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332129 -2.801235)'), GeomFromEWKT('SRID=4674;POINT (-40.332235 -2.801228)'))) / (select extract(epoch from '2026-07-10 03:52:16'::timestamp) - extract(epoch from '2026-07-10 03:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332129 -2.801235)'), GeomFromEWKT('SRID=4674;POINT (-40.332235 -2.801228)'))) / (select extract(epoch from '2026-07-10 03:52:16'::timestamp) - extract(epoch from '2026-07-10 03:52: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'), 47841, 'SRID=4674;POINT (-40.332357 -2.801218)', '2026-07-10 03:52:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332235 -2.801228)'), GeomFromEWKT('SRID=4674;POINT (-40.332357 -2.801218)'))) / (select extract(epoch from '2026-07-10 03:52:34'::timestamp) - extract(epoch from '2026-07-10 03:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332235 -2.801228)'), GeomFromEWKT('SRID=4674;POINT (-40.332357 -2.801218)'))) / (select extract(epoch from '2026-07-10 03:52:34'::timestamp) - extract(epoch from '2026-07-10 03:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.332465 -2.801194)', '2026-07-10 03:52:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332357 -2.801218)'), GeomFromEWKT('SRID=4674;POINT (-40.332465 -2.801194)'))) / (select extract(epoch from '2026-07-10 03:52:50'::timestamp) - extract(epoch from '2026-07-10 03:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332357 -2.801218)'), GeomFromEWKT('SRID=4674;POINT (-40.332465 -2.801194)'))) / (select extract(epoch from '2026-07-10 03:52:50'::timestamp) - extract(epoch from '2026-07-10 03:52: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'), 47841, 'SRID=4674;POINT (-40.332567 -2.801202)', '2026-07-10 03:53:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332465 -2.801194)'), GeomFromEWKT('SRID=4674;POINT (-40.332567 -2.801202)'))) / (select extract(epoch from '2026-07-10 03:53:04'::timestamp) - extract(epoch from '2026-07-10 03:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332465 -2.801194)'), GeomFromEWKT('SRID=4674;POINT (-40.332567 -2.801202)'))) / (select extract(epoch from '2026-07-10 03:53:04'::timestamp) - extract(epoch from '2026-07-10 03:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.332669 -2.801219)', '2026-07-10 03:53:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332567 -2.801202)'), GeomFromEWKT('SRID=4674;POINT (-40.332669 -2.801219)'))) / (select extract(epoch from '2026-07-10 03:53:17'::timestamp) - extract(epoch from '2026-07-10 03:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332567 -2.801202)'), GeomFromEWKT('SRID=4674;POINT (-40.332669 -2.801219)'))) / (select extract(epoch from '2026-07-10 03:53:17'::timestamp) - extract(epoch from '2026-07-10 03:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.332802 -2.801205)', '2026-07-10 03:53:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332669 -2.801219)'), GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.801205)'))) / (select extract(epoch from '2026-07-10 03:53:35'::timestamp) - extract(epoch from '2026-07-10 03:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332669 -2.801219)'), GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.801205)'))) / (select extract(epoch from '2026-07-10 03:53:35'::timestamp) - extract(epoch from '2026-07-10 03:53: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'), 47841, 'SRID=4674;POINT (-40.332919 -2.801192)', '2026-07-10 03:53:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.801205)'), GeomFromEWKT('SRID=4674;POINT (-40.332919 -2.801192)'))) / (select extract(epoch from '2026-07-10 03:53:52'::timestamp) - extract(epoch from '2026-07-10 03:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.801205)'), GeomFromEWKT('SRID=4674;POINT (-40.332919 -2.801192)'))) / (select extract(epoch from '2026-07-10 03:53:52'::timestamp) - extract(epoch from '2026-07-10 03:53: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'), 47841, 'SRID=4674;POINT (-40.333045 -2.801185)', '2026-07-10 03:54:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332919 -2.801192)'), GeomFromEWKT('SRID=4674;POINT (-40.333045 -2.801185)'))) / (select extract(epoch from '2026-07-10 03:54:11'::timestamp) - extract(epoch from '2026-07-10 03:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332919 -2.801192)'), GeomFromEWKT('SRID=4674;POINT (-40.333045 -2.801185)'))) / (select extract(epoch from '2026-07-10 03:54:11'::timestamp) - extract(epoch from '2026-07-10 03:53:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.333146 -2.801176)', '2026-07-10 03:54:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333045 -2.801185)'), GeomFromEWKT('SRID=4674;POINT (-40.333146 -2.801176)'))) / (select extract(epoch from '2026-07-10 03:54:28'::timestamp) - extract(epoch from '2026-07-10 03:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333045 -2.801185)'), GeomFromEWKT('SRID=4674;POINT (-40.333146 -2.801176)'))) / (select extract(epoch from '2026-07-10 03:54:28'::timestamp) - extract(epoch from '2026-07-10 03:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.333177 -2.80117)', '2026-07-10 03:54:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333146 -2.801176)'), GeomFromEWKT('SRID=4674;POINT (-40.333177 -2.80117)'))) / (select extract(epoch from '2026-07-10 03:54:40'::timestamp) - extract(epoch from '2026-07-10 03:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333146 -2.801176)'), GeomFromEWKT('SRID=4674;POINT (-40.333177 -2.80117)'))) / (select extract(epoch from '2026-07-10 03:54:40'::timestamp) - extract(epoch from '2026-07-10 03:54: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'), 47841, 'SRID=4674;POINT (-40.333248 -2.801154)', '2026-07-10 03:54:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333177 -2.80117)'), GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.801154)'))) / (select extract(epoch from '2026-07-10 03:54:54'::timestamp) - extract(epoch from '2026-07-10 03:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333177 -2.80117)'), GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.801154)'))) / (select extract(epoch from '2026-07-10 03:54:54'::timestamp) - extract(epoch from '2026-07-10 03:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.333353 -2.801151)', '2026-07-10 03:55:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.801154)'), GeomFromEWKT('SRID=4674;POINT (-40.333353 -2.801151)'))) / (select extract(epoch from '2026-07-10 03:55:11'::timestamp) - extract(epoch from '2026-07-10 03:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333248 -2.801154)'), GeomFromEWKT('SRID=4674;POINT (-40.333353 -2.801151)'))) / (select extract(epoch from '2026-07-10 03:55:11'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.333476 -2.801153)', '2026-07-10 03:55:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333353 -2.801151)'), GeomFromEWKT('SRID=4674;POINT (-40.333476 -2.801153)'))) / (select extract(epoch from '2026-07-10 03:55:29'::timestamp) - extract(epoch from '2026-07-10 03:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333353 -2.801151)'), GeomFromEWKT('SRID=4674;POINT (-40.333476 -2.801153)'))) / (select extract(epoch from '2026-07-10 03:55:29'::timestamp) - extract(epoch from '2026-07-10 03:55: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'), 47841, 'SRID=4674;POINT (-40.333595 -2.801147)', '2026-07-10 03:55:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333476 -2.801153)'), GeomFromEWKT('SRID=4674;POINT (-40.333595 -2.801147)'))) / (select extract(epoch from '2026-07-10 03:55:45'::timestamp) - extract(epoch from '2026-07-10 03:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333476 -2.801153)'), GeomFromEWKT('SRID=4674;POINT (-40.333595 -2.801147)'))) / (select extract(epoch from '2026-07-10 03:55:45'::timestamp) - extract(epoch from '2026-07-10 03:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.333701 -2.801153)', '2026-07-10 03:55:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333595 -2.801147)'), GeomFromEWKT('SRID=4674;POINT (-40.333701 -2.801153)'))) / (select extract(epoch from '2026-07-10 03:55:59'::timestamp) - extract(epoch from '2026-07-10 03:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333595 -2.801147)'), GeomFromEWKT('SRID=4674;POINT (-40.333701 -2.801153)'))) / (select extract(epoch from '2026-07-10 03:55:59'::timestamp) - extract(epoch from '2026-07-10 03:55: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'), 47841, 'SRID=4674;POINT (-40.333814 -2.80114)', '2026-07-10 03:56:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333701 -2.801153)'), GeomFromEWKT('SRID=4674;POINT (-40.333814 -2.80114)'))) / (select extract(epoch from '2026-07-10 03:56:15'::timestamp) - extract(epoch from '2026-07-10 03:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333701 -2.801153)'), GeomFromEWKT('SRID=4674;POINT (-40.333814 -2.80114)'))) / (select extract(epoch from '2026-07-10 03:56:15'::timestamp) - extract(epoch from '2026-07-10 03:55: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'), 47841, 'SRID=4674;POINT (-40.333925 -2.801154)', '2026-07-10 03:56:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333814 -2.80114)'), GeomFromEWKT('SRID=4674;POINT (-40.333925 -2.801154)'))) / (select extract(epoch from '2026-07-10 03:56:33'::timestamp) - extract(epoch from '2026-07-10 03:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333814 -2.80114)'), GeomFromEWKT('SRID=4674;POINT (-40.333925 -2.801154)'))) / (select extract(epoch from '2026-07-10 03:56:33'::timestamp) - extract(epoch from '2026-07-10 03:56: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'), 47841, 'SRID=4674;POINT (-40.334002 -2.801153)', '2026-07-10 03:56:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333925 -2.801154)'), GeomFromEWKT('SRID=4674;POINT (-40.334002 -2.801153)'))) / (select extract(epoch from '2026-07-10 03:56:48'::timestamp) - extract(epoch from '2026-07-10 03:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333925 -2.801154)'), GeomFromEWKT('SRID=4674;POINT (-40.334002 -2.801153)'))) / (select extract(epoch from '2026-07-10 03:56:48'::timestamp) - extract(epoch from '2026-07-10 03:56:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.3341 -2.801155)', '2026-07-10 03:57:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334002 -2.801153)'), GeomFromEWKT('SRID=4674;POINT (-40.3341 -2.801155)'))) / (select extract(epoch from '2026-07-10 03:57:04'::timestamp) - extract(epoch from '2026-07-10 03:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334002 -2.801153)'), GeomFromEWKT('SRID=4674;POINT (-40.3341 -2.801155)'))) / (select extract(epoch from '2026-07-10 03:57:04'::timestamp) - extract(epoch from '2026-07-10 03:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.33422 -2.801151)', '2026-07-10 03:57:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3341 -2.801155)'), GeomFromEWKT('SRID=4674;POINT (-40.33422 -2.801151)'))) / (select extract(epoch from '2026-07-10 03:57:22'::timestamp) - extract(epoch from '2026-07-10 03:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3341 -2.801155)'), GeomFromEWKT('SRID=4674;POINT (-40.33422 -2.801151)'))) / (select extract(epoch from '2026-07-10 03:57:22'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.334268 -2.801144)', '2026-07-10 03:57:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33422 -2.801151)'), GeomFromEWKT('SRID=4674;POINT (-40.334268 -2.801144)'))) / (select extract(epoch from '2026-07-10 03:57:37'::timestamp) - extract(epoch from '2026-07-10 03:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33422 -2.801151)'), GeomFromEWKT('SRID=4674;POINT (-40.334268 -2.801144)'))) / (select extract(epoch from '2026-07-10 03:57:37'::timestamp) - extract(epoch from '2026-07-10 03:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.334262 -2.801129)', '2026-07-10 03:57:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334268 -2.801144)'), GeomFromEWKT('SRID=4674;POINT (-40.334262 -2.801129)'))) / (select extract(epoch from '2026-07-10 03:57:47'::timestamp) - extract(epoch from '2026-07-10 03:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334268 -2.801144)'), GeomFromEWKT('SRID=4674;POINT (-40.334262 -2.801129)'))) / (select extract(epoch from '2026-07-10 03:57:47'::timestamp) - extract(epoch from '2026-07-10 03:57: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'), 47841, 'SRID=4674;POINT (-40.334288 -2.801105)', '2026-07-10 03:58:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334262 -2.801129)'), GeomFromEWKT('SRID=4674;POINT (-40.334288 -2.801105)'))) / (select extract(epoch from '2026-07-10 03:58:00'::timestamp) - extract(epoch from '2026-07-10 03:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334262 -2.801129)'), GeomFromEWKT('SRID=4674;POINT (-40.334288 -2.801105)'))) / (select extract(epoch from '2026-07-10 03:58:00'::timestamp) - extract(epoch from '2026-07-10 03:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.334382 -2.801073)', '2026-07-10 03:58:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334288 -2.801105)'), GeomFromEWKT('SRID=4674;POINT (-40.334382 -2.801073)'))) / (select extract(epoch from '2026-07-10 03:58:15'::timestamp) - extract(epoch from '2026-07-10 03:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334288 -2.801105)'), GeomFromEWKT('SRID=4674;POINT (-40.334382 -2.801073)'))) / (select extract(epoch from '2026-07-10 03:58:15'::timestamp) - extract(epoch from '2026-07-10 03:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.3345 -2.801081)', '2026-07-10 03:58:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334382 -2.801073)'), GeomFromEWKT('SRID=4674;POINT (-40.3345 -2.801081)'))) / (select extract(epoch from '2026-07-10 03:58:29'::timestamp) - extract(epoch from '2026-07-10 03:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334382 -2.801073)'), GeomFromEWKT('SRID=4674;POINT (-40.3345 -2.801081)'))) / (select extract(epoch from '2026-07-10 03:58:29'::timestamp) - extract(epoch from '2026-07-10 03: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'), 47841, 'SRID=4674;POINT (-40.334643 -2.801081)', '2026-07-10 03:58:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3345 -2.801081)'), GeomFromEWKT('SRID=4674;POINT (-40.334643 -2.801081)'))) / (select extract(epoch from '2026-07-10 03:58:45'::timestamp) - extract(epoch from '2026-07-10 03:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3345 -2.801081)'), GeomFromEWKT('SRID=4674;POINT (-40.334643 -2.801081)'))) / (select extract(epoch from '2026-07-10 03:58:45'::timestamp) - extract(epoch from '2026-07-10 03:58: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'), 47841, 'SRID=4674;POINT (-40.334781 -2.801082)', '2026-07-10 03:59:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334643 -2.801081)'), GeomFromEWKT('SRID=4674;POINT (-40.334781 -2.801082)'))) / (select extract(epoch from '2026-07-10 03:59:02'::timestamp) - extract(epoch from '2026-07-10 03:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334643 -2.801081)'), GeomFromEWKT('SRID=4674;POINT (-40.334781 -2.801082)'))) / (select extract(epoch from '2026-07-10 03:59:02'::timestamp) - extract(epoch from '2026-07-10 03:58: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'), 47841, 'SRID=4674;POINT (-40.334886 -2.801077)', '2026-07-10 03:59:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334781 -2.801082)'), GeomFromEWKT('SRID=4674;POINT (-40.334886 -2.801077)'))) / (select extract(epoch from '2026-07-10 03:59:19'::timestamp) - extract(epoch from '2026-07-10 03:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334781 -2.801082)'), GeomFromEWKT('SRID=4674;POINT (-40.334886 -2.801077)'))) / (select extract(epoch from '2026-07-10 03:59:19'::timestamp) - extract(epoch from '2026-07-10 03:59: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'), 47841, 'SRID=4674;POINT (-40.334974 -2.801067)', '2026-07-10 03:59:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334886 -2.801077)'), GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.801067)'))) / (select extract(epoch from '2026-07-10 03:59:36'::timestamp) - extract(epoch from '2026-07-10 03:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334886 -2.801077)'), GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.801067)'))) / (select extract(epoch from '2026-07-10 03:59:36'::timestamp) - extract(epoch from '2026-07-10 03:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.335067 -2.801037)', '2026-07-10 03:59:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.801067)'), GeomFromEWKT('SRID=4674;POINT (-40.335067 -2.801037)'))) / (select extract(epoch from '2026-07-10 03:59:53'::timestamp) - extract(epoch from '2026-07-10 03:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334974 -2.801067)'), GeomFromEWKT('SRID=4674;POINT (-40.335067 -2.801037)'))) / (select extract(epoch from '2026-07-10 03:59:53'::timestamp) - extract(epoch from '2026-07-10 03:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.335197 -2.801039)', '2026-07-10 04:00:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335067 -2.801037)'), GeomFromEWKT('SRID=4674;POINT (-40.335197 -2.801039)'))) / (select extract(epoch from '2026-07-10 04:00:13'::timestamp) - extract(epoch from '2026-07-10 03:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335067 -2.801037)'), GeomFromEWKT('SRID=4674;POINT (-40.335197 -2.801039)'))) / (select extract(epoch from '2026-07-10 04:00:13'::timestamp) - extract(epoch from '2026-07-10 03:59: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'), 47841, 'SRID=4674;POINT (-40.335303 -2.801043)', '2026-07-10 04:00:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335197 -2.801039)'), GeomFromEWKT('SRID=4674;POINT (-40.335303 -2.801043)'))) / (select extract(epoch from '2026-07-10 04:00:29'::timestamp) - extract(epoch from '2026-07-10 04:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335197 -2.801039)'), GeomFromEWKT('SRID=4674;POINT (-40.335303 -2.801043)'))) / (select extract(epoch from '2026-07-10 04:00:29'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.335404 -2.801028)', '2026-07-10 04:00:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335303 -2.801043)'), GeomFromEWKT('SRID=4674;POINT (-40.335404 -2.801028)'))) / (select extract(epoch from '2026-07-10 04:00:46'::timestamp) - extract(epoch from '2026-07-10 04:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335303 -2.801043)'), GeomFromEWKT('SRID=4674;POINT (-40.335404 -2.801028)'))) / (select extract(epoch from '2026-07-10 04:00:46'::timestamp) - extract(epoch from '2026-07-10 04:00:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.335496 -2.801031)', '2026-07-10 04:01:02', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335404 -2.801028)'), GeomFromEWKT('SRID=4674;POINT (-40.335496 -2.801031)'))) / (select extract(epoch from '2026-07-10 04:01:02'::timestamp) - extract(epoch from '2026-07-10 04:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335404 -2.801028)'), GeomFromEWKT('SRID=4674;POINT (-40.335496 -2.801031)'))) / (select extract(epoch from '2026-07-10 04:01:02'::timestamp) - extract(epoch from '2026-07-10 04:00: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'), 47841, 'SRID=4674;POINT (-40.335569 -2.801032)', '2026-07-10 04:01:16', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335496 -2.801031)'), GeomFromEWKT('SRID=4674;POINT (-40.335569 -2.801032)'))) / (select extract(epoch from '2026-07-10 04:01:16'::timestamp) - extract(epoch from '2026-07-10 04:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335496 -2.801031)'), GeomFromEWKT('SRID=4674;POINT (-40.335569 -2.801032)'))) / (select extract(epoch from '2026-07-10 04:01:16'::timestamp) - extract(epoch from '2026-07-10 04:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.335628 -2.801038)', '2026-07-10 04:01:31', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335569 -2.801032)'), GeomFromEWKT('SRID=4674;POINT (-40.335628 -2.801038)'))) / (select extract(epoch from '2026-07-10 04:01:31'::timestamp) - extract(epoch from '2026-07-10 04:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335569 -2.801032)'), GeomFromEWKT('SRID=4674;POINT (-40.335628 -2.801038)'))) / (select extract(epoch from '2026-07-10 04:01:31'::timestamp) - extract(epoch from '2026-07-10 04:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.335644 -2.801018)', '2026-07-10 04:01:46', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335628 -2.801038)'), GeomFromEWKT('SRID=4674;POINT (-40.335644 -2.801018)'))) / (select extract(epoch from '2026-07-10 04:01:46'::timestamp) - extract(epoch from '2026-07-10 04:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335628 -2.801038)'), GeomFromEWKT('SRID=4674;POINT (-40.335644 -2.801018)'))) / (select extract(epoch from '2026-07-10 04:01:46'::timestamp) - extract(epoch from '2026-07-10 04:01: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'), 47841, 'SRID=4674;POINT (-40.33565 -2.801)', '2026-07-10 04:02:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335644 -2.801018)'), GeomFromEWKT('SRID=4674;POINT (-40.33565 -2.801)'))) / (select extract(epoch from '2026-07-10 04:02:03'::timestamp) - extract(epoch from '2026-07-10 04:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335644 -2.801018)'), GeomFromEWKT('SRID=4674;POINT (-40.33565 -2.801)'))) / (select extract(epoch from '2026-07-10 04:02:03'::timestamp) - extract(epoch from '2026-07-10 04:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.33565 -2.800975)', '2026-07-10 04:02:18', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33565 -2.801)'), GeomFromEWKT('SRID=4674;POINT (-40.33565 -2.800975)'))) / (select extract(epoch from '2026-07-10 04:02:18'::timestamp) - extract(epoch from '2026-07-10 04:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33565 -2.801)'), GeomFromEWKT('SRID=4674;POINT (-40.33565 -2.800975)'))) / (select extract(epoch from '2026-07-10 04:02:18'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.335661 -2.80094)', '2026-07-10 04:02:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33565 -2.800975)'), GeomFromEWKT('SRID=4674;POINT (-40.335661 -2.80094)'))) / (select extract(epoch from '2026-07-10 04:02:34'::timestamp) - extract(epoch from '2026-07-10 04:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33565 -2.800975)'), GeomFromEWKT('SRID=4674;POINT (-40.335661 -2.80094)'))) / (select extract(epoch from '2026-07-10 04:02:34'::timestamp) - extract(epoch from '2026-07-10 04:02: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'), 47841, 'SRID=4674;POINT (-40.335738 -2.800911)', '2026-07-10 04:02:50', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335661 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.335738 -2.800911)'))) / (select extract(epoch from '2026-07-10 04:02:50'::timestamp) - extract(epoch from '2026-07-10 04:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335661 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.335738 -2.800911)'))) / (select extract(epoch from '2026-07-10 04:02:50'::timestamp) - extract(epoch from '2026-07-10 04:02: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'), 47841, 'SRID=4674;POINT (-40.335794 -2.800909)', '2026-07-10 04:03:07', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335738 -2.800911)'), GeomFromEWKT('SRID=4674;POINT (-40.335794 -2.800909)'))) / (select extract(epoch from '2026-07-10 04:03:07'::timestamp) - extract(epoch from '2026-07-10 04:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335738 -2.800911)'), GeomFromEWKT('SRID=4674;POINT (-40.335794 -2.800909)'))) / (select extract(epoch from '2026-07-10 04:03:07'::timestamp) - extract(epoch from '2026-07-10 04:02: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'), 47841, 'SRID=4674;POINT (-40.335869 -2.800901)', '2026-07-10 04:03:26', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335794 -2.800909)'), GeomFromEWKT('SRID=4674;POINT (-40.335869 -2.800901)'))) / (select extract(epoch from '2026-07-10 04:03:26'::timestamp) - extract(epoch from '2026-07-10 04:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335794 -2.800909)'), GeomFromEWKT('SRID=4674;POINT (-40.335869 -2.800901)'))) / (select extract(epoch from '2026-07-10 04:03:26'::timestamp) - extract(epoch from '2026-07-10 04:03: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'), 47841, 'SRID=4674;POINT (-40.335956 -2.800891)', '2026-07-10 04:03:45', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335869 -2.800901)'), GeomFromEWKT('SRID=4674;POINT (-40.335956 -2.800891)'))) / (select extract(epoch from '2026-07-10 04:03:45'::timestamp) - extract(epoch from '2026-07-10 04:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335869 -2.800901)'), GeomFromEWKT('SRID=4674;POINT (-40.335956 -2.800891)'))) / (select extract(epoch from '2026-07-10 04:03:45'::timestamp) - extract(epoch from '2026-07-10 04:03: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'), 47841, 'SRID=4674;POINT (-40.336023 -2.800888)', '2026-07-10 04:04:02', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335956 -2.800891)'), GeomFromEWKT('SRID=4674;POINT (-40.336023 -2.800888)'))) / (select extract(epoch from '2026-07-10 04:04:02'::timestamp) - extract(epoch from '2026-07-10 04:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335956 -2.800891)'), GeomFromEWKT('SRID=4674;POINT (-40.336023 -2.800888)'))) / (select extract(epoch from '2026-07-10 04:04:02'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.336106 -2.800885)', '2026-07-10 04:04:21', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336023 -2.800888)'), GeomFromEWKT('SRID=4674;POINT (-40.336106 -2.800885)'))) / (select extract(epoch from '2026-07-10 04:04:21'::timestamp) - extract(epoch from '2026-07-10 04:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336023 -2.800888)'), GeomFromEWKT('SRID=4674;POINT (-40.336106 -2.800885)'))) / (select extract(epoch from '2026-07-10 04:04:21'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.336195 -2.800867)', '2026-07-10 04:04:38', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336106 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.800867)'))) / (select extract(epoch from '2026-07-10 04:04:38'::timestamp) - extract(epoch from '2026-07-10 04:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336106 -2.800885)'), GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.800867)'))) / (select extract(epoch from '2026-07-10 04:04:38'::timestamp) - extract(epoch from '2026-07-10 04:04: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'), 47841, 'SRID=4674;POINT (-40.336332 -2.80085)', '2026-07-10 04:04:55', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.800867)'), GeomFromEWKT('SRID=4674;POINT (-40.336332 -2.80085)'))) / (select extract(epoch from '2026-07-10 04:04:55'::timestamp) - extract(epoch from '2026-07-10 04:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.800867)'), GeomFromEWKT('SRID=4674;POINT (-40.336332 -2.80085)'))) / (select extract(epoch from '2026-07-10 04:04:55'::timestamp) - extract(epoch from '2026-07-10 04:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.336423 -2.800841)', '2026-07-10 04:05:11', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336332 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.336423 -2.800841)'))) / (select extract(epoch from '2026-07-10 04:05:11'::timestamp) - extract(epoch from '2026-07-10 04:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336332 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.336423 -2.800841)'))) / (select extract(epoch from '2026-07-10 04:05:11'::timestamp) - extract(epoch from '2026-07-10 04:04: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'), 47841, 'SRID=4674;POINT (-40.336564 -2.800846)', '2026-07-10 04:05:27', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336423 -2.800841)'), GeomFromEWKT('SRID=4674;POINT (-40.336564 -2.800846)'))) / (select extract(epoch from '2026-07-10 04:05:27'::timestamp) - extract(epoch from '2026-07-10 04:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336423 -2.800841)'), GeomFromEWKT('SRID=4674;POINT (-40.336564 -2.800846)'))) / (select extract(epoch from '2026-07-10 04:05:27'::timestamp) - extract(epoch from '2026-07-10 04:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.336662 -2.800847)', '2026-07-10 04:05:37', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336564 -2.800846)'), GeomFromEWKT('SRID=4674;POINT (-40.336662 -2.800847)'))) / (select extract(epoch from '2026-07-10 04:05:37'::timestamp) - extract(epoch from '2026-07-10 04:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336564 -2.800846)'), GeomFromEWKT('SRID=4674;POINT (-40.336662 -2.800847)'))) / (select extract(epoch from '2026-07-10 04:05:37'::timestamp) - extract(epoch from '2026-07-10 04:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.336776 -2.800834)', '2026-07-10 04:05:51', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336662 -2.800847)'), GeomFromEWKT('SRID=4674;POINT (-40.336776 -2.800834)'))) / (select extract(epoch from '2026-07-10 04:05:51'::timestamp) - extract(epoch from '2026-07-10 04:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336662 -2.800847)'), GeomFromEWKT('SRID=4674;POINT (-40.336776 -2.800834)'))) / (select extract(epoch from '2026-07-10 04:05:51'::timestamp) - extract(epoch from '2026-07-10 04:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.336873 -2.80083)', '2026-07-10 04:06:05', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336776 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.336873 -2.80083)'))) / (select extract(epoch from '2026-07-10 04:06:05'::timestamp) - extract(epoch from '2026-07-10 04:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336776 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.336873 -2.80083)'))) / (select extract(epoch from '2026-07-10 04:06:05'::timestamp) - extract(epoch from '2026-07-10 04:05: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'), 47841, 'SRID=4674;POINT (-40.337003 -2.800828)', '2026-07-10 04:06:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336873 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.337003 -2.800828)'))) / (select extract(epoch from '2026-07-10 04:06:22'::timestamp) - extract(epoch from '2026-07-10 04:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336873 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.337003 -2.800828)'))) / (select extract(epoch from '2026-07-10 04:06:22'::timestamp) - extract(epoch from '2026-07-10 04:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.337154 -2.800807)', '2026-07-10 04:06:40', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337003 -2.800828)'), GeomFromEWKT('SRID=4674;POINT (-40.337154 -2.800807)'))) / (select extract(epoch from '2026-07-10 04:06:40'::timestamp) - extract(epoch from '2026-07-10 04:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337003 -2.800828)'), GeomFromEWKT('SRID=4674;POINT (-40.337154 -2.800807)'))) / (select extract(epoch from '2026-07-10 04:06:40'::timestamp) - extract(epoch from '2026-07-10 04:06: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'), 47841, 'SRID=4674;POINT (-40.337283 -2.800794)', '2026-07-10 04:06:54', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337154 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.337283 -2.800794)'))) / (select extract(epoch from '2026-07-10 04:06:54'::timestamp) - extract(epoch from '2026-07-10 04:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337154 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.337283 -2.800794)'))) / (select extract(epoch from '2026-07-10 04:06:54'::timestamp) - extract(epoch from '2026-07-10 04:06: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'), 47841, 'SRID=4674;POINT (-40.337411 -2.800771)', '2026-07-10 04:07:11', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337283 -2.800794)'), GeomFromEWKT('SRID=4674;POINT (-40.337411 -2.800771)'))) / (select extract(epoch from '2026-07-10 04:07:11'::timestamp) - extract(epoch from '2026-07-10 04:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337283 -2.800794)'), GeomFromEWKT('SRID=4674;POINT (-40.337411 -2.800771)'))) / (select extract(epoch from '2026-07-10 04:07:11'::timestamp) - extract(epoch from '2026-07-10 04:06: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'), 47841, 'SRID=4674;POINT (-40.337543 -2.800782)', '2026-07-10 04:07:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337411 -2.800771)'), GeomFromEWKT('SRID=4674;POINT (-40.337543 -2.800782)'))) / (select extract(epoch from '2026-07-10 04:07:26'::timestamp) - extract(epoch from '2026-07-10 04:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337411 -2.800771)'), GeomFromEWKT('SRID=4674;POINT (-40.337543 -2.800782)'))) / (select extract(epoch from '2026-07-10 04:07:26'::timestamp) - extract(epoch from '2026-07-10 04:07: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'), 47841, 'SRID=4674;POINT (-40.337678 -2.800766)', '2026-07-10 04:07:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337543 -2.800782)'), GeomFromEWKT('SRID=4674;POINT (-40.337678 -2.800766)'))) / (select extract(epoch from '2026-07-10 04:07:43'::timestamp) - extract(epoch from '2026-07-10 04:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337543 -2.800782)'), GeomFromEWKT('SRID=4674;POINT (-40.337678 -2.800766)'))) / (select extract(epoch from '2026-07-10 04:07:43'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.337803 -2.800738)', '2026-07-10 04:08:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337678 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.800738)'))) / (select extract(epoch from '2026-07-10 04:08:00'::timestamp) - extract(epoch from '2026-07-10 04:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337678 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.800738)'))) / (select extract(epoch from '2026-07-10 04:08:00'::timestamp) - extract(epoch from '2026-07-10 04:07: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'), 47841, 'SRID=4674;POINT (-40.337924 -2.80072)', '2026-07-10 04:08:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.337924 -2.80072)'))) / (select extract(epoch from '2026-07-10 04:08:17'::timestamp) - extract(epoch from '2026-07-10 04:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337803 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.337924 -2.80072)'))) / (select extract(epoch from '2026-07-10 04:08:17'::timestamp) - extract(epoch from '2026-07-10 04:08: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'), 47841, 'SRID=4674;POINT (-40.338025 -2.800712)', '2026-07-10 04:08:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337924 -2.80072)'), GeomFromEWKT('SRID=4674;POINT (-40.338025 -2.800712)'))) / (select extract(epoch from '2026-07-10 04:08:34'::timestamp) - extract(epoch from '2026-07-10 04:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337924 -2.80072)'), GeomFromEWKT('SRID=4674;POINT (-40.338025 -2.800712)'))) / (select extract(epoch from '2026-07-10 04:08:34'::timestamp) - extract(epoch from '2026-07-10 04:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.338073 -2.800711)', '2026-07-10 04:08:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338025 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.338073 -2.800711)'))) / (select extract(epoch from '2026-07-10 04:08:46'::timestamp) - extract(epoch from '2026-07-10 04:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338025 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.338073 -2.800711)'))) / (select extract(epoch from '2026-07-10 04:08:46'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.338122 -2.800691)', '2026-07-10 04:09:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338073 -2.800711)'), GeomFromEWKT('SRID=4674;POINT (-40.338122 -2.800691)'))) / (select extract(epoch from '2026-07-10 04:09:00'::timestamp) - extract(epoch from '2026-07-10 04:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338073 -2.800711)'), GeomFromEWKT('SRID=4674;POINT (-40.338122 -2.800691)'))) / (select extract(epoch from '2026-07-10 04:09:00'::timestamp) - extract(epoch from '2026-07-10 04:08: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'), 47841, 'SRID=4674;POINT (-40.338165 -2.800679)', '2026-07-10 04:09:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338122 -2.800691)'), GeomFromEWKT('SRID=4674;POINT (-40.338165 -2.800679)'))) / (select extract(epoch from '2026-07-10 04:09:14'::timestamp) - extract(epoch from '2026-07-10 04:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338122 -2.800691)'), GeomFromEWKT('SRID=4674;POINT (-40.338165 -2.800679)'))) / (select extract(epoch from '2026-07-10 04:09:14'::timestamp) - extract(epoch from '2026-07-10 04:09: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'), 47841, 'SRID=4674;POINT (-40.338158 -2.800659)', '2026-07-10 04:09:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338165 -2.800679)'), GeomFromEWKT('SRID=4674;POINT (-40.338158 -2.800659)'))) / (select extract(epoch from '2026-07-10 04:09:23'::timestamp) - extract(epoch from '2026-07-10 04:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338165 -2.800679)'), GeomFromEWKT('SRID=4674;POINT (-40.338158 -2.800659)'))) / (select extract(epoch from '2026-07-10 04:09:23'::timestamp) - extract(epoch from '2026-07-10 04:09: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'), 47841, 'SRID=4674;POINT (-40.338174 -2.800636)', '2026-07-10 04:09:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338158 -2.800659)'), GeomFromEWKT('SRID=4674;POINT (-40.338174 -2.800636)'))) / (select extract(epoch from '2026-07-10 04:09:35'::timestamp) - extract(epoch from '2026-07-10 04:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338158 -2.800659)'), GeomFromEWKT('SRID=4674;POINT (-40.338174 -2.800636)'))) / (select extract(epoch from '2026-07-10 04:09:35'::timestamp) - extract(epoch from '2026-07-10 04:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.338254 -2.800611)', '2026-07-10 04:09:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338174 -2.800636)'), GeomFromEWKT('SRID=4674;POINT (-40.338254 -2.800611)'))) / (select extract(epoch from '2026-07-10 04:09:52'::timestamp) - extract(epoch from '2026-07-10 04:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338174 -2.800636)'), GeomFromEWKT('SRID=4674;POINT (-40.338254 -2.800611)'))) / (select extract(epoch from '2026-07-10 04:09:52'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.338335 -2.800597)', '2026-07-10 04:10:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338254 -2.800611)'), GeomFromEWKT('SRID=4674;POINT (-40.338335 -2.800597)'))) / (select extract(epoch from '2026-07-10 04:10:07'::timestamp) - extract(epoch from '2026-07-10 04:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338254 -2.800611)'), GeomFromEWKT('SRID=4674;POINT (-40.338335 -2.800597)'))) / (select extract(epoch from '2026-07-10 04:10:07'::timestamp) - extract(epoch from '2026-07-10 04:09: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'), 47841, 'SRID=4674;POINT (-40.338414 -2.80058)', '2026-07-10 04:10:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338335 -2.800597)'), GeomFromEWKT('SRID=4674;POINT (-40.338414 -2.80058)'))) / (select extract(epoch from '2026-07-10 04:10:19'::timestamp) - extract(epoch from '2026-07-10 04:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338335 -2.800597)'), GeomFromEWKT('SRID=4674;POINT (-40.338414 -2.80058)'))) / (select extract(epoch from '2026-07-10 04:10:19'::timestamp) - extract(epoch from '2026-07-10 04:10: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'), 47841, 'SRID=4674;POINT (-40.338489 -2.80057)', '2026-07-10 04:10:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338414 -2.80058)'), GeomFromEWKT('SRID=4674;POINT (-40.338489 -2.80057)'))) / (select extract(epoch from '2026-07-10 04:10:32'::timestamp) - extract(epoch from '2026-07-10 04:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338414 -2.80058)'), GeomFromEWKT('SRID=4674;POINT (-40.338489 -2.80057)'))) / (select extract(epoch from '2026-07-10 04:10:32'::timestamp) - extract(epoch from '2026-07-10 04:10: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'), 47841, 'SRID=4674;POINT (-40.338592 -2.800559)', '2026-07-10 04:10:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338489 -2.80057)'), GeomFromEWKT('SRID=4674;POINT (-40.338592 -2.800559)'))) / (select extract(epoch from '2026-07-10 04:10:50'::timestamp) - extract(epoch from '2026-07-10 04:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338489 -2.80057)'), GeomFromEWKT('SRID=4674;POINT (-40.338592 -2.800559)'))) / (select extract(epoch from '2026-07-10 04:10:50'::timestamp) - extract(epoch from '2026-07-10 04:10: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'), 47841, 'SRID=4674;POINT (-40.338722 -2.800541)', '2026-07-10 04:11:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338592 -2.800559)'), GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.800541)'))) / (select extract(epoch from '2026-07-10 04:11:07'::timestamp) - extract(epoch from '2026-07-10 04:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338592 -2.800559)'), GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.800541)'))) / (select extract(epoch from '2026-07-10 04:11:07'::timestamp) - extract(epoch from '2026-07-10 04:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.338848 -2.800543)', '2026-07-10 04:11:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.800541)'), GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.800543)'))) / (select extract(epoch from '2026-07-10 04:11:25'::timestamp) - extract(epoch from '2026-07-10 04:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.800541)'), GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.800543)'))) / (select extract(epoch from '2026-07-10 04:11:25'::timestamp) - extract(epoch from '2026-07-10 04:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.338992 -2.80054)', '2026-07-10 04:11:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.800543)'), GeomFromEWKT('SRID=4674;POINT (-40.338992 -2.80054)'))) / (select extract(epoch from '2026-07-10 04:11:43'::timestamp) - extract(epoch from '2026-07-10 04:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338848 -2.800543)'), GeomFromEWKT('SRID=4674;POINT (-40.338992 -2.80054)'))) / (select extract(epoch from '2026-07-10 04:11:43'::timestamp) - extract(epoch from '2026-07-10 04:11: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'), 47841, 'SRID=4674;POINT (-40.339108 -2.800538)', '2026-07-10 04:11:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338992 -2.80054)'), GeomFromEWKT('SRID=4674;POINT (-40.339108 -2.800538)'))) / (select extract(epoch from '2026-07-10 04:11:59'::timestamp) - extract(epoch from '2026-07-10 04:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338992 -2.80054)'), GeomFromEWKT('SRID=4674;POINT (-40.339108 -2.800538)'))) / (select extract(epoch from '2026-07-10 04:11:59'::timestamp) - extract(epoch from '2026-07-10 04:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.33919 -2.800543)', '2026-07-10 04:12:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339108 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.33919 -2.800543)'))) / (select extract(epoch from '2026-07-10 04:12:16'::timestamp) - extract(epoch from '2026-07-10 04:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339108 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.33919 -2.800543)'))) / (select extract(epoch from '2026-07-10 04:12:16'::timestamp) - extract(epoch from '2026-07-10 04:11: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'), 47841, 'SRID=4674;POINT (-40.339273 -2.800538)', '2026-07-10 04:12:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33919 -2.800543)'), GeomFromEWKT('SRID=4674;POINT (-40.339273 -2.800538)'))) / (select extract(epoch from '2026-07-10 04:12:28'::timestamp) - extract(epoch from '2026-07-10 04:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33919 -2.800543)'), GeomFromEWKT('SRID=4674;POINT (-40.339273 -2.800538)'))) / (select extract(epoch from '2026-07-10 04:12:28'::timestamp) - extract(epoch from '2026-07-10 04:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.339388 -2.800514)', '2026-07-10 04:12:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339273 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.339388 -2.800514)'))) / (select extract(epoch from '2026-07-10 04:12:45'::timestamp) - extract(epoch from '2026-07-10 04:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339273 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.339388 -2.800514)'))) / (select extract(epoch from '2026-07-10 04:12:45'::timestamp) - extract(epoch from '2026-07-10 04:12: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'), 47841, 'SRID=4674;POINT (-40.339468 -2.800491)', '2026-07-10 04:12:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339388 -2.800514)'), GeomFromEWKT('SRID=4674;POINT (-40.339468 -2.800491)'))) / (select extract(epoch from '2026-07-10 04:12:56'::timestamp) - extract(epoch from '2026-07-10 04:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339388 -2.800514)'), GeomFromEWKT('SRID=4674;POINT (-40.339468 -2.800491)'))) / (select extract(epoch from '2026-07-10 04:12:56'::timestamp) - extract(epoch from '2026-07-10 04:12:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.339567 -2.800485)', '2026-07-10 04:13:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339468 -2.800491)'), GeomFromEWKT('SRID=4674;POINT (-40.339567 -2.800485)'))) / (select extract(epoch from '2026-07-10 04:13:12'::timestamp) - extract(epoch from '2026-07-10 04:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339468 -2.800491)'), GeomFromEWKT('SRID=4674;POINT (-40.339567 -2.800485)'))) / (select extract(epoch from '2026-07-10 04:13:12'::timestamp) - extract(epoch from '2026-07-10 04:12: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'), 47841, 'SRID=4674;POINT (-40.33969 -2.800474)', '2026-07-10 04:13:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339567 -2.800485)'), GeomFromEWKT('SRID=4674;POINT (-40.33969 -2.800474)'))) / (select extract(epoch from '2026-07-10 04:13:28'::timestamp) - extract(epoch from '2026-07-10 04:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339567 -2.800485)'), GeomFromEWKT('SRID=4674;POINT (-40.33969 -2.800474)'))) / (select extract(epoch from '2026-07-10 04:13:28'::timestamp) - extract(epoch from '2026-07-10 04:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.339824 -2.800473)', '2026-07-10 04:13:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33969 -2.800474)'), GeomFromEWKT('SRID=4674;POINT (-40.339824 -2.800473)'))) / (select extract(epoch from '2026-07-10 04:13:47'::timestamp) - extract(epoch from '2026-07-10 04:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33969 -2.800474)'), GeomFromEWKT('SRID=4674;POINT (-40.339824 -2.800473)'))) / (select extract(epoch from '2026-07-10 04:13:47'::timestamp) - extract(epoch from '2026-07-10 04:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.339939 -2.80046)', '2026-07-10 04:14:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339824 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.339939 -2.80046)'))) / (select extract(epoch from '2026-07-10 04:14:03'::timestamp) - extract(epoch from '2026-07-10 04:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339824 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.339939 -2.80046)'))) / (select extract(epoch from '2026-07-10 04:14:03'::timestamp) - extract(epoch from '2026-07-10 04:13: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'), 47841, 'SRID=4674;POINT (-40.340073 -2.80044)', '2026-07-10 04:14:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339939 -2.80046)'), GeomFromEWKT('SRID=4674;POINT (-40.340073 -2.80044)'))) / (select extract(epoch from '2026-07-10 04:14:20'::timestamp) - extract(epoch from '2026-07-10 04:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339939 -2.80046)'), GeomFromEWKT('SRID=4674;POINT (-40.340073 -2.80044)'))) / (select extract(epoch from '2026-07-10 04:14:20'::timestamp) - extract(epoch from '2026-07-10 04:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.340176 -2.80042)', '2026-07-10 04:14:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340073 -2.80044)'), GeomFromEWKT('SRID=4674;POINT (-40.340176 -2.80042)'))) / (select extract(epoch from '2026-07-10 04:14:35'::timestamp) - extract(epoch from '2026-07-10 04:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340073 -2.80044)'), GeomFromEWKT('SRID=4674;POINT (-40.340176 -2.80042)'))) / (select extract(epoch from '2026-07-10 04:14:35'::timestamp) - extract(epoch from '2026-07-10 04:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.340272 -2.80042)', '2026-07-10 04:14:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340176 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.340272 -2.80042)'))) / (select extract(epoch from '2026-07-10 04:14:51'::timestamp) - extract(epoch from '2026-07-10 04:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340176 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.340272 -2.80042)'))) / (select extract(epoch from '2026-07-10 04:14:51'::timestamp) - extract(epoch from '2026-07-10 04:14: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'), 47841, 'SRID=4674;POINT (-40.340333 -2.800393)', '2026-07-10 04:15:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340272 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.340333 -2.800393)'))) / (select extract(epoch from '2026-07-10 04:15:08'::timestamp) - extract(epoch from '2026-07-10 04:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340272 -2.80042)'), GeomFromEWKT('SRID=4674;POINT (-40.340333 -2.800393)'))) / (select extract(epoch from '2026-07-10 04:15:08'::timestamp) - extract(epoch from '2026-07-10 04:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.340378 -2.800368)', '2026-07-10 04:15:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340333 -2.800393)'), GeomFromEWKT('SRID=4674;POINT (-40.340378 -2.800368)'))) / (select extract(epoch from '2026-07-10 04:15:21'::timestamp) - extract(epoch from '2026-07-10 04:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340333 -2.800393)'), GeomFromEWKT('SRID=4674;POINT (-40.340378 -2.800368)'))) / (select extract(epoch from '2026-07-10 04:15:21'::timestamp) - extract(epoch from '2026-07-10 04:15: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'), 47841, 'SRID=4674;POINT (-40.340478 -2.800335)', '2026-07-10 04:15:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340378 -2.800368)'), GeomFromEWKT('SRID=4674;POINT (-40.340478 -2.800335)'))) / (select extract(epoch from '2026-07-10 04:15:35'::timestamp) - extract(epoch from '2026-07-10 04:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340378 -2.800368)'), GeomFromEWKT('SRID=4674;POINT (-40.340478 -2.800335)'))) / (select extract(epoch from '2026-07-10 04:15:35'::timestamp) - extract(epoch from '2026-07-10 04:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.340547 -2.800319)', '2026-07-10 04:15:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340478 -2.800335)'), GeomFromEWKT('SRID=4674;POINT (-40.340547 -2.800319)'))) / (select extract(epoch from '2026-07-10 04:15:48'::timestamp) - extract(epoch from '2026-07-10 04:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340478 -2.800335)'), GeomFromEWKT('SRID=4674;POINT (-40.340547 -2.800319)'))) / (select extract(epoch from '2026-07-10 04:15:48'::timestamp) - extract(epoch from '2026-07-10 04:15: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'), 47841, 'SRID=4674;POINT (-40.340659 -2.80029)', '2026-07-10 04:16:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340547 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.340659 -2.80029)'))) / (select extract(epoch from '2026-07-10 04:16:06'::timestamp) - extract(epoch from '2026-07-10 04:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340547 -2.800319)'), GeomFromEWKT('SRID=4674;POINT (-40.340659 -2.80029)'))) / (select extract(epoch from '2026-07-10 04:16:06'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.34073 -2.800289)', '2026-07-10 04:16:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340659 -2.80029)'), GeomFromEWKT('SRID=4674;POINT (-40.34073 -2.800289)'))) / (select extract(epoch from '2026-07-10 04:16:20'::timestamp) - extract(epoch from '2026-07-10 04:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340659 -2.80029)'), GeomFromEWKT('SRID=4674;POINT (-40.34073 -2.800289)'))) / (select extract(epoch from '2026-07-10 04:16:20'::timestamp) - extract(epoch from '2026-07-10 04:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.340804 -2.800267)', '2026-07-10 04:16:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34073 -2.800289)'), GeomFromEWKT('SRID=4674;POINT (-40.340804 -2.800267)'))) / (select extract(epoch from '2026-07-10 04:16:37'::timestamp) - extract(epoch from '2026-07-10 04:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34073 -2.800289)'), GeomFromEWKT('SRID=4674;POINT (-40.340804 -2.800267)'))) / (select extract(epoch from '2026-07-10 04:16:37'::timestamp) - extract(epoch from '2026-07-10 04:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.340881 -2.800243)', '2026-07-10 04:16:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340804 -2.800267)'), GeomFromEWKT('SRID=4674;POINT (-40.340881 -2.800243)'))) / (select extract(epoch from '2026-07-10 04:16:53'::timestamp) - extract(epoch from '2026-07-10 04:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340804 -2.800267)'), GeomFromEWKT('SRID=4674;POINT (-40.340881 -2.800243)'))) / (select extract(epoch from '2026-07-10 04:16:53'::timestamp) - extract(epoch from '2026-07-10 04:16:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.340973 -2.800237)', '2026-07-10 04:17:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340881 -2.800243)'), GeomFromEWKT('SRID=4674;POINT (-40.340973 -2.800237)'))) / (select extract(epoch from '2026-07-10 04:17:08'::timestamp) - extract(epoch from '2026-07-10 04:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340881 -2.800243)'), GeomFromEWKT('SRID=4674;POINT (-40.340973 -2.800237)'))) / (select extract(epoch from '2026-07-10 04:17:08'::timestamp) - extract(epoch from '2026-07-10 04:16: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'), 47841, 'SRID=4674;POINT (-40.341066 -2.800232)', '2026-07-10 04:17:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340973 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.341066 -2.800232)'))) / (select extract(epoch from '2026-07-10 04:17:22'::timestamp) - extract(epoch from '2026-07-10 04:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340973 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.341066 -2.800232)'))) / (select extract(epoch from '2026-07-10 04:17:22'::timestamp) - extract(epoch from '2026-07-10 04:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.341154 -2.800215)', '2026-07-10 04:17:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341066 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.341154 -2.800215)'))) / (select extract(epoch from '2026-07-10 04:17:38'::timestamp) - extract(epoch from '2026-07-10 04:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341066 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.341154 -2.800215)'))) / (select extract(epoch from '2026-07-10 04:17:38'::timestamp) - extract(epoch from '2026-07-10 04:17: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'), 47841, 'SRID=4674;POINT (-40.341265 -2.800204)', '2026-07-10 04:17:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341154 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.341265 -2.800204)'))) / (select extract(epoch from '2026-07-10 04:17:59'::timestamp) - extract(epoch from '2026-07-10 04:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341154 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.341265 -2.800204)'))) / (select extract(epoch from '2026-07-10 04:17:59'::timestamp) - extract(epoch from '2026-07-10 04:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.341361 -2.800184)', '2026-07-10 04:18:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341265 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.341361 -2.800184)'))) / (select extract(epoch from '2026-07-10 04:18:16'::timestamp) - extract(epoch from '2026-07-10 04:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341265 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.341361 -2.800184)'))) / (select extract(epoch from '2026-07-10 04:18:16'::timestamp) - extract(epoch from '2026-07-10 04:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.341458 -2.800172)', '2026-07-10 04:18:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341361 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.341458 -2.800172)'))) / (select extract(epoch from '2026-07-10 04:18:30'::timestamp) - extract(epoch from '2026-07-10 04:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341361 -2.800184)'), GeomFromEWKT('SRID=4674;POINT (-40.341458 -2.800172)'))) / (select extract(epoch from '2026-07-10 04:18:30'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.341578 -2.800158)', '2026-07-10 04:18:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341458 -2.800172)'), GeomFromEWKT('SRID=4674;POINT (-40.341578 -2.800158)'))) / (select extract(epoch from '2026-07-10 04:18:45'::timestamp) - extract(epoch from '2026-07-10 04:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341458 -2.800172)'), GeomFromEWKT('SRID=4674;POINT (-40.341578 -2.800158)'))) / (select extract(epoch from '2026-07-10 04:18:45'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.341674 -2.800164)', '2026-07-10 04:19:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341578 -2.800158)'), GeomFromEWKT('SRID=4674;POINT (-40.341674 -2.800164)'))) / (select extract(epoch from '2026-07-10 04:19:01'::timestamp) - extract(epoch from '2026-07-10 04:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341578 -2.800158)'), GeomFromEWKT('SRID=4674;POINT (-40.341674 -2.800164)'))) / (select extract(epoch from '2026-07-10 04:19:01'::timestamp) - extract(epoch from '2026-07-10 04:18: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'), 47841, 'SRID=4674;POINT (-40.341791 -2.800152)', '2026-07-10 04:19:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341674 -2.800164)'), GeomFromEWKT('SRID=4674;POINT (-40.341791 -2.800152)'))) / (select extract(epoch from '2026-07-10 04:19:19'::timestamp) - extract(epoch from '2026-07-10 04:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341674 -2.800164)'), GeomFromEWKT('SRID=4674;POINT (-40.341791 -2.800152)'))) / (select extract(epoch from '2026-07-10 04:19:19'::timestamp) - extract(epoch from '2026-07-10 04:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.341883 -2.800142)', '2026-07-10 04:19:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341791 -2.800152)'), GeomFromEWKT('SRID=4674;POINT (-40.341883 -2.800142)'))) / (select extract(epoch from '2026-07-10 04:19:34'::timestamp) - extract(epoch from '2026-07-10 04:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341791 -2.800152)'), GeomFromEWKT('SRID=4674;POINT (-40.341883 -2.800142)'))) / (select extract(epoch from '2026-07-10 04:19:34'::timestamp) - extract(epoch from '2026-07-10 04:19:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.341951 -2.800125)', '2026-07-10 04:19:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341883 -2.800142)'), GeomFromEWKT('SRID=4674;POINT (-40.341951 -2.800125)'))) / (select extract(epoch from '2026-07-10 04:19:46'::timestamp) - extract(epoch from '2026-07-10 04:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341883 -2.800142)'), GeomFromEWKT('SRID=4674;POINT (-40.341951 -2.800125)'))) / (select extract(epoch from '2026-07-10 04:19:46'::timestamp) - extract(epoch from '2026-07-10 04:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.342051 -2.800107)', '2026-07-10 04:20:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341951 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.342051 -2.800107)'))) / (select extract(epoch from '2026-07-10 04:20:03'::timestamp) - extract(epoch from '2026-07-10 04:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341951 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.342051 -2.800107)'))) / (select extract(epoch from '2026-07-10 04:20:03'::timestamp) - extract(epoch from '2026-07-10 04:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.342139 -2.80009)', '2026-07-10 04:20:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342051 -2.800107)'), GeomFromEWKT('SRID=4674;POINT (-40.342139 -2.80009)'))) / (select extract(epoch from '2026-07-10 04:20:18'::timestamp) - extract(epoch from '2026-07-10 04:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342051 -2.800107)'), GeomFromEWKT('SRID=4674;POINT (-40.342139 -2.80009)'))) / (select extract(epoch from '2026-07-10 04:20:18'::timestamp) - extract(epoch from '2026-07-10 04:20: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'), 47841, 'SRID=4674;POINT (-40.34224 -2.800086)', '2026-07-10 04:20:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342139 -2.80009)'), GeomFromEWKT('SRID=4674;POINT (-40.34224 -2.800086)'))) / (select extract(epoch from '2026-07-10 04:20:33'::timestamp) - extract(epoch from '2026-07-10 04:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342139 -2.80009)'), GeomFromEWKT('SRID=4674;POINT (-40.34224 -2.800086)'))) / (select extract(epoch from '2026-07-10 04:20:33'::timestamp) - extract(epoch from '2026-07-10 04:20: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'), 47841, 'SRID=4674;POINT (-40.342339 -2.800075)', '2026-07-10 04:20:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34224 -2.800086)'), GeomFromEWKT('SRID=4674;POINT (-40.342339 -2.800075)'))) / (select extract(epoch from '2026-07-10 04:20:48'::timestamp) - extract(epoch from '2026-07-10 04:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34224 -2.800086)'), GeomFromEWKT('SRID=4674;POINT (-40.342339 -2.800075)'))) / (select extract(epoch from '2026-07-10 04:20:48'::timestamp) - extract(epoch from '2026-07-10 04:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.342423 -2.800059)', '2026-07-10 04:21:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342339 -2.800075)'), GeomFromEWKT('SRID=4674;POINT (-40.342423 -2.800059)'))) / (select extract(epoch from '2026-07-10 04:21:02'::timestamp) - extract(epoch from '2026-07-10 04:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342339 -2.800075)'), GeomFromEWKT('SRID=4674;POINT (-40.342423 -2.800059)'))) / (select extract(epoch from '2026-07-10 04:21:02'::timestamp) - extract(epoch from '2026-07-10 04:20: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'), 47841, 'SRID=4674;POINT (-40.342519 -2.800042)', '2026-07-10 04:21:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342423 -2.800059)'), GeomFromEWKT('SRID=4674;POINT (-40.342519 -2.800042)'))) / (select extract(epoch from '2026-07-10 04:21:17'::timestamp) - extract(epoch from '2026-07-10 04:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342423 -2.800059)'), GeomFromEWKT('SRID=4674;POINT (-40.342519 -2.800042)'))) / (select extract(epoch from '2026-07-10 04:21:17'::timestamp) - extract(epoch from '2026-07-10 04:21:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.342618 -2.800031)', '2026-07-10 04:21:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342519 -2.800042)'), GeomFromEWKT('SRID=4674;POINT (-40.342618 -2.800031)'))) / (select extract(epoch from '2026-07-10 04:21:33'::timestamp) - extract(epoch from '2026-07-10 04:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342519 -2.800042)'), GeomFromEWKT('SRID=4674;POINT (-40.342618 -2.800031)'))) / (select extract(epoch from '2026-07-10 04:21:33'::timestamp) - extract(epoch from '2026-07-10 04:21: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'), 47841, 'SRID=4674;POINT (-40.342702 -2.800019)', '2026-07-10 04:21:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342618 -2.800031)'), GeomFromEWKT('SRID=4674;POINT (-40.342702 -2.800019)'))) / (select extract(epoch from '2026-07-10 04:21:46'::timestamp) - extract(epoch from '2026-07-10 04:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342618 -2.800031)'), GeomFromEWKT('SRID=4674;POINT (-40.342702 -2.800019)'))) / (select extract(epoch from '2026-07-10 04:21:46'::timestamp) - extract(epoch from '2026-07-10 04:21: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'), 47841, 'SRID=4674;POINT (-40.342806 -2.800016)', '2026-07-10 04:22:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342702 -2.800019)'), GeomFromEWKT('SRID=4674;POINT (-40.342806 -2.800016)'))) / (select extract(epoch from '2026-07-10 04:22:01'::timestamp) - extract(epoch from '2026-07-10 04:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342702 -2.800019)'), GeomFromEWKT('SRID=4674;POINT (-40.342806 -2.800016)'))) / (select extract(epoch from '2026-07-10 04:22:01'::timestamp) - extract(epoch from '2026-07-10 04:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.34292 -2.800001)', '2026-07-10 04:22:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342806 -2.800016)'), GeomFromEWKT('SRID=4674;POINT (-40.34292 -2.800001)'))) / (select extract(epoch from '2026-07-10 04:22:20'::timestamp) - extract(epoch from '2026-07-10 04:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342806 -2.800016)'), GeomFromEWKT('SRID=4674;POINT (-40.34292 -2.800001)'))) / (select extract(epoch from '2026-07-10 04:22:20'::timestamp) - extract(epoch from '2026-07-10 04:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.342995 -2.799984)', '2026-07-10 04:22:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34292 -2.800001)'), GeomFromEWKT('SRID=4674;POINT (-40.342995 -2.799984)'))) / (select extract(epoch from '2026-07-10 04:22:32'::timestamp) - extract(epoch from '2026-07-10 04:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34292 -2.800001)'), GeomFromEWKT('SRID=4674;POINT (-40.342995 -2.799984)'))) / (select extract(epoch from '2026-07-10 04:22:32'::timestamp) - extract(epoch from '2026-07-10 04:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.343069 -2.799972)', '2026-07-10 04:22:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342995 -2.799984)'), GeomFromEWKT('SRID=4674;POINT (-40.343069 -2.799972)'))) / (select extract(epoch from '2026-07-10 04:22:44'::timestamp) - extract(epoch from '2026-07-10 04:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342995 -2.799984)'), GeomFromEWKT('SRID=4674;POINT (-40.343069 -2.799972)'))) / (select extract(epoch from '2026-07-10 04:22:44'::timestamp) - extract(epoch from '2026-07-10 04:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.343169 -2.799964)', '2026-07-10 04:22:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343069 -2.799972)'), GeomFromEWKT('SRID=4674;POINT (-40.343169 -2.799964)'))) / (select extract(epoch from '2026-07-10 04:22:59'::timestamp) - extract(epoch from '2026-07-10 04:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343069 -2.799972)'), GeomFromEWKT('SRID=4674;POINT (-40.343169 -2.799964)'))) / (select extract(epoch from '2026-07-10 04:22:59'::timestamp) - extract(epoch from '2026-07-10 04:22: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'), 47841, 'SRID=4674;POINT (-40.343273 -2.799951)', '2026-07-10 04:23:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343169 -2.799964)'), GeomFromEWKT('SRID=4674;POINT (-40.343273 -2.799951)'))) / (select extract(epoch from '2026-07-10 04:23:15'::timestamp) - extract(epoch from '2026-07-10 04:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343169 -2.799964)'), GeomFromEWKT('SRID=4674;POINT (-40.343273 -2.799951)'))) / (select extract(epoch from '2026-07-10 04:23:15'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.343342 -2.799953)', '2026-07-10 04:23:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343273 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.343342 -2.799953)'))) / (select extract(epoch from '2026-07-10 04:23:29'::timestamp) - extract(epoch from '2026-07-10 04:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343273 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.343342 -2.799953)'))) / (select extract(epoch from '2026-07-10 04:23:29'::timestamp) - extract(epoch from '2026-07-10 04:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.343416 -2.799939)', '2026-07-10 04:23:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343342 -2.799953)'), GeomFromEWKT('SRID=4674;POINT (-40.343416 -2.799939)'))) / (select extract(epoch from '2026-07-10 04:23:44'::timestamp) - extract(epoch from '2026-07-10 04:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343342 -2.799953)'), GeomFromEWKT('SRID=4674;POINT (-40.343416 -2.799939)'))) / (select extract(epoch from '2026-07-10 04:23:44'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.343491 -2.799937)', '2026-07-10 04:23:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343416 -2.799939)'), GeomFromEWKT('SRID=4674;POINT (-40.343491 -2.799937)'))) / (select extract(epoch from '2026-07-10 04:23:55'::timestamp) - extract(epoch from '2026-07-10 04:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343416 -2.799939)'), GeomFromEWKT('SRID=4674;POINT (-40.343491 -2.799937)'))) / (select extract(epoch from '2026-07-10 04:23:55'::timestamp) - extract(epoch from '2026-07-10 04:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.343603 -2.799926)', '2026-07-10 04:24:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343491 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.343603 -2.799926)'))) / (select extract(epoch from '2026-07-10 04:24:11'::timestamp) - extract(epoch from '2026-07-10 04:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343491 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.343603 -2.799926)'))) / (select extract(epoch from '2026-07-10 04:24:11'::timestamp) - extract(epoch from '2026-07-10 04:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.343715 -2.799915)', '2026-07-10 04:24:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343603 -2.799926)'), GeomFromEWKT('SRID=4674;POINT (-40.343715 -2.799915)'))) / (select extract(epoch from '2026-07-10 04:24:27'::timestamp) - extract(epoch from '2026-07-10 04:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343603 -2.799926)'), GeomFromEWKT('SRID=4674;POINT (-40.343715 -2.799915)'))) / (select extract(epoch from '2026-07-10 04:24:27'::timestamp) - extract(epoch from '2026-07-10 04:24: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'), 47841, 'SRID=4674;POINT (-40.34379 -2.799917)', '2026-07-10 04:24:40', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343715 -2.799915)'), GeomFromEWKT('SRID=4674;POINT (-40.34379 -2.799917)'))) / (select extract(epoch from '2026-07-10 04:24:40'::timestamp) - extract(epoch from '2026-07-10 04:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343715 -2.799915)'), GeomFromEWKT('SRID=4674;POINT (-40.34379 -2.799917)'))) / (select extract(epoch from '2026-07-10 04:24:40'::timestamp) - extract(epoch from '2026-07-10 04:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.343879 -2.799906)', '2026-07-10 04:24:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34379 -2.799917)'), GeomFromEWKT('SRID=4674;POINT (-40.343879 -2.799906)'))) / (select extract(epoch from '2026-07-10 04:24:56'::timestamp) - extract(epoch from '2026-07-10 04:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34379 -2.799917)'), GeomFromEWKT('SRID=4674;POINT (-40.343879 -2.799906)'))) / (select extract(epoch from '2026-07-10 04:24:56'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.344003 -2.79989)', '2026-07-10 04:25:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343879 -2.799906)'), GeomFromEWKT('SRID=4674;POINT (-40.344003 -2.79989)'))) / (select extract(epoch from '2026-07-10 04:25:14'::timestamp) - extract(epoch from '2026-07-10 04:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343879 -2.799906)'), GeomFromEWKT('SRID=4674;POINT (-40.344003 -2.79989)'))) / (select extract(epoch from '2026-07-10 04:25:14'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.344108 -2.79987)', '2026-07-10 04:25:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344003 -2.79989)'), GeomFromEWKT('SRID=4674;POINT (-40.344108 -2.79987)'))) / (select extract(epoch from '2026-07-10 04:25:28'::timestamp) - extract(epoch from '2026-07-10 04:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344003 -2.79989)'), GeomFromEWKT('SRID=4674;POINT (-40.344108 -2.79987)'))) / (select extract(epoch from '2026-07-10 04:25:28'::timestamp) - extract(epoch from '2026-07-10 04:25: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'), 47841, 'SRID=4674;POINT (-40.344225 -2.799844)', '2026-07-10 04:25:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344108 -2.79987)'), GeomFromEWKT('SRID=4674;POINT (-40.344225 -2.799844)'))) / (select extract(epoch from '2026-07-10 04:25:44'::timestamp) - extract(epoch from '2026-07-10 04:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344108 -2.79987)'), GeomFromEWKT('SRID=4674;POINT (-40.344225 -2.799844)'))) / (select extract(epoch from '2026-07-10 04:25:44'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.344324 -2.799839)', '2026-07-10 04:26:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344225 -2.799844)'), GeomFromEWKT('SRID=4674;POINT (-40.344324 -2.799839)'))) / (select extract(epoch from '2026-07-10 04:26:00'::timestamp) - extract(epoch from '2026-07-10 04:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344225 -2.799844)'), GeomFromEWKT('SRID=4674;POINT (-40.344324 -2.799839)'))) / (select extract(epoch from '2026-07-10 04:26:00'::timestamp) - extract(epoch from '2026-07-10 04:25: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'), 47841, 'SRID=4674;POINT (-40.344415 -2.799831)', '2026-07-10 04:26:13', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344324 -2.799839)'), GeomFromEWKT('SRID=4674;POINT (-40.344415 -2.799831)'))) / (select extract(epoch from '2026-07-10 04:26:13'::timestamp) - extract(epoch from '2026-07-10 04:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344324 -2.799839)'), GeomFromEWKT('SRID=4674;POINT (-40.344415 -2.799831)'))) / (select extract(epoch from '2026-07-10 04:26:13'::timestamp) - extract(epoch from '2026-07-10 04:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.34449 -2.799819)', '2026-07-10 04:26:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344415 -2.799831)'), GeomFromEWKT('SRID=4674;POINT (-40.34449 -2.799819)'))) / (select extract(epoch from '2026-07-10 04:26:27'::timestamp) - extract(epoch from '2026-07-10 04:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344415 -2.799831)'), GeomFromEWKT('SRID=4674;POINT (-40.34449 -2.799819)'))) / (select extract(epoch from '2026-07-10 04:26:27'::timestamp) - extract(epoch from '2026-07-10 04:26: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'), 47841, 'SRID=4674;POINT (-40.34456 -2.799804)', '2026-07-10 04:26:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34449 -2.799819)'), GeomFromEWKT('SRID=4674;POINT (-40.34456 -2.799804)'))) / (select extract(epoch from '2026-07-10 04:26:43'::timestamp) - extract(epoch from '2026-07-10 04:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34449 -2.799819)'), GeomFromEWKT('SRID=4674;POINT (-40.34456 -2.799804)'))) / (select extract(epoch from '2026-07-10 04:26:43'::timestamp) - extract(epoch from '2026-07-10 04:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.344656 -2.799799)', '2026-07-10 04:26:58', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34456 -2.799804)'), GeomFromEWKT('SRID=4674;POINT (-40.344656 -2.799799)'))) / (select extract(epoch from '2026-07-10 04:26:58'::timestamp) - extract(epoch from '2026-07-10 04:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34456 -2.799804)'), GeomFromEWKT('SRID=4674;POINT (-40.344656 -2.799799)'))) / (select extract(epoch from '2026-07-10 04:26:58'::timestamp) - extract(epoch from '2026-07-10 04:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.344732 -2.799791)', '2026-07-10 04:27:11', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344656 -2.799799)'), GeomFromEWKT('SRID=4674;POINT (-40.344732 -2.799791)'))) / (select extract(epoch from '2026-07-10 04:27:11'::timestamp) - extract(epoch from '2026-07-10 04:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344656 -2.799799)'), GeomFromEWKT('SRID=4674;POINT (-40.344732 -2.799791)'))) / (select extract(epoch from '2026-07-10 04:27:11'::timestamp) - extract(epoch from '2026-07-10 04:26: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'), 47841, 'SRID=4674;POINT (-40.344807 -2.799781)', '2026-07-10 04:27:22', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344732 -2.799791)'), GeomFromEWKT('SRID=4674;POINT (-40.344807 -2.799781)'))) / (select extract(epoch from '2026-07-10 04:27:22'::timestamp) - extract(epoch from '2026-07-10 04:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344732 -2.799791)'), GeomFromEWKT('SRID=4674;POINT (-40.344807 -2.799781)'))) / (select extract(epoch from '2026-07-10 04:27:22'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.344878 -2.799775)', '2026-07-10 04:27:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344807 -2.799781)'), GeomFromEWKT('SRID=4674;POINT (-40.344878 -2.799775)'))) / (select extract(epoch from '2026-07-10 04:27:35'::timestamp) - extract(epoch from '2026-07-10 04:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344807 -2.799781)'), GeomFromEWKT('SRID=4674;POINT (-40.344878 -2.799775)'))) / (select extract(epoch from '2026-07-10 04:27:35'::timestamp) - extract(epoch from '2026-07-10 04:27: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'), 47841, 'SRID=4674;POINT (-40.34496 -2.799759)', '2026-07-10 04:27:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344878 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.34496 -2.799759)'))) / (select extract(epoch from '2026-07-10 04:27:48'::timestamp) - extract(epoch from '2026-07-10 04:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344878 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.34496 -2.799759)'))) / (select extract(epoch from '2026-07-10 04:27:48'::timestamp) - extract(epoch from '2026-07-10 04:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.345039 -2.79975)', '2026-07-10 04:28:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34496 -2.799759)'), GeomFromEWKT('SRID=4674;POINT (-40.345039 -2.79975)'))) / (select extract(epoch from '2026-07-10 04:28:01'::timestamp) - extract(epoch from '2026-07-10 04:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34496 -2.799759)'), GeomFromEWKT('SRID=4674;POINT (-40.345039 -2.79975)'))) / (select extract(epoch from '2026-07-10 04:28:01'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.34515 -2.799743)', '2026-07-10 04:28:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345039 -2.79975)'), GeomFromEWKT('SRID=4674;POINT (-40.34515 -2.799743)'))) / (select extract(epoch from '2026-07-10 04:28:17'::timestamp) - extract(epoch from '2026-07-10 04:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345039 -2.79975)'), GeomFromEWKT('SRID=4674;POINT (-40.34515 -2.799743)'))) / (select extract(epoch from '2026-07-10 04:28:17'::timestamp) - extract(epoch from '2026-07-10 04:28: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'), 47841, 'SRID=4674;POINT (-40.345256 -2.79973)', '2026-07-10 04:28:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34515 -2.799743)'), GeomFromEWKT('SRID=4674;POINT (-40.345256 -2.79973)'))) / (select extract(epoch from '2026-07-10 04:28:32'::timestamp) - extract(epoch from '2026-07-10 04:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34515 -2.799743)'), GeomFromEWKT('SRID=4674;POINT (-40.345256 -2.79973)'))) / (select extract(epoch from '2026-07-10 04:28:32'::timestamp) - extract(epoch from '2026-07-10 04:28: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'), 47841, 'SRID=4674;POINT (-40.345388 -2.7997)', '2026-07-10 04:28:50', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345256 -2.79973)'), GeomFromEWKT('SRID=4674;POINT (-40.345388 -2.7997)'))) / (select extract(epoch from '2026-07-10 04:28:50'::timestamp) - extract(epoch from '2026-07-10 04:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345256 -2.79973)'), GeomFromEWKT('SRID=4674;POINT (-40.345388 -2.7997)'))) / (select extract(epoch from '2026-07-10 04:28:50'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.345474 -2.799693)', '2026-07-10 04:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345388 -2.7997)'), GeomFromEWKT('SRID=4674;POINT (-40.345474 -2.799693)'))) / (select extract(epoch from '2026-07-10 04:29:04'::timestamp) - extract(epoch from '2026-07-10 04:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345388 -2.7997)'), GeomFromEWKT('SRID=4674;POINT (-40.345474 -2.799693)'))) / (select extract(epoch from '2026-07-10 04:29:04'::timestamp) - extract(epoch from '2026-07-10 04:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.345557 -2.799678)', '2026-07-10 04:29:17', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345474 -2.799693)'), GeomFromEWKT('SRID=4674;POINT (-40.345557 -2.799678)'))) / (select extract(epoch from '2026-07-10 04:29:17'::timestamp) - extract(epoch from '2026-07-10 04:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345474 -2.799693)'), GeomFromEWKT('SRID=4674;POINT (-40.345557 -2.799678)'))) / (select extract(epoch from '2026-07-10 04:29:17'::timestamp) - extract(epoch from '2026-07-10 04:29:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.345628 -2.799661)', '2026-07-10 04:29:30', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345557 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.345628 -2.799661)'))) / (select extract(epoch from '2026-07-10 04:29:30'::timestamp) - extract(epoch from '2026-07-10 04:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345557 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.345628 -2.799661)'))) / (select extract(epoch from '2026-07-10 04:29:30'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.345731 -2.799656)', '2026-07-10 04:29:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345628 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.345731 -2.799656)'))) / (select extract(epoch from '2026-07-10 04:29:46'::timestamp) - extract(epoch from '2026-07-10 04:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345628 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.345731 -2.799656)'))) / (select extract(epoch from '2026-07-10 04:29:46'::timestamp) - extract(epoch from '2026-07-10 04:29: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'), 47841, 'SRID=4674;POINT (-40.345814 -2.799647)', '2026-07-10 04:30:01', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345731 -2.799656)'), GeomFromEWKT('SRID=4674;POINT (-40.345814 -2.799647)'))) / (select extract(epoch from '2026-07-10 04:30:01'::timestamp) - extract(epoch from '2026-07-10 04:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345731 -2.799656)'), GeomFromEWKT('SRID=4674;POINT (-40.345814 -2.799647)'))) / (select extract(epoch from '2026-07-10 04:30:01'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.345899 -2.799647)', '2026-07-10 04:30:15', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345814 -2.799647)'), GeomFromEWKT('SRID=4674;POINT (-40.345899 -2.799647)'))) / (select extract(epoch from '2026-07-10 04:30:15'::timestamp) - extract(epoch from '2026-07-10 04:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345814 -2.799647)'), GeomFromEWKT('SRID=4674;POINT (-40.345899 -2.799647)'))) / (select extract(epoch from '2026-07-10 04:30:15'::timestamp) - extract(epoch from '2026-07-10 04:30: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'), 47841, 'SRID=4674;POINT (-40.345995 -2.799632)', '2026-07-10 04:30:29', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345899 -2.799647)'), GeomFromEWKT('SRID=4674;POINT (-40.345995 -2.799632)'))) / (select extract(epoch from '2026-07-10 04:30:29'::timestamp) - extract(epoch from '2026-07-10 04:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345899 -2.799647)'), GeomFromEWKT('SRID=4674;POINT (-40.345995 -2.799632)'))) / (select extract(epoch from '2026-07-10 04:30:29'::timestamp) - extract(epoch from '2026-07-10 04: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'), 47841, 'SRID=4674;POINT (-40.346126 -2.799608)', '2026-07-10 04:30:47', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345995 -2.799632)'), GeomFromEWKT('SRID=4674;POINT (-40.346126 -2.799608)'))) / (select extract(epoch from '2026-07-10 04:30:47'::timestamp) - extract(epoch from '2026-07-10 04:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345995 -2.799632)'), GeomFromEWKT('SRID=4674;POINT (-40.346126 -2.799608)'))) / (select extract(epoch from '2026-07-10 04:30:47'::timestamp) - extract(epoch from '2026-07-10 04:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.346236 -2.799593)', '2026-07-10 04:31:03', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346126 -2.799608)'), GeomFromEWKT('SRID=4674;POINT (-40.346236 -2.799593)'))) / (select extract(epoch from '2026-07-10 04:31:03'::timestamp) - extract(epoch from '2026-07-10 04:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346126 -2.799608)'), GeomFromEWKT('SRID=4674;POINT (-40.346236 -2.799593)'))) / (select extract(epoch from '2026-07-10 04:31:03'::timestamp) - extract(epoch from '2026-07-10 04:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.346349 -2.799571)', '2026-07-10 04:31:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346236 -2.799593)'), GeomFromEWKT('SRID=4674;POINT (-40.346349 -2.799571)'))) / (select extract(epoch from '2026-07-10 04:31:18'::timestamp) - extract(epoch from '2026-07-10 04:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346236 -2.799593)'), GeomFromEWKT('SRID=4674;POINT (-40.346349 -2.799571)'))) / (select extract(epoch from '2026-07-10 04:31:18'::timestamp) - extract(epoch from '2026-07-10 04:31: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'), 47841, 'SRID=4674;POINT (-40.346495 -2.799544)', '2026-07-10 04:31:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346349 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.346495 -2.799544)'))) / (select extract(epoch from '2026-07-10 04:31:37'::timestamp) - extract(epoch from '2026-07-10 04:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346349 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-40.346495 -2.799544)'))) / (select extract(epoch from '2026-07-10 04:31:37'::timestamp) - extract(epoch from '2026-07-10 04:31:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.346601 -2.799533)', '2026-07-10 04:31:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346495 -2.799544)'), GeomFromEWKT('SRID=4674;POINT (-40.346601 -2.799533)'))) / (select extract(epoch from '2026-07-10 04:31:53'::timestamp) - extract(epoch from '2026-07-10 04:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346495 -2.799544)'), GeomFromEWKT('SRID=4674;POINT (-40.346601 -2.799533)'))) / (select extract(epoch from '2026-07-10 04:31:53'::timestamp) - extract(epoch from '2026-07-10 04:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.346708 -2.799522)', '2026-07-10 04:32:09', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346601 -2.799533)'), GeomFromEWKT('SRID=4674;POINT (-40.346708 -2.799522)'))) / (select extract(epoch from '2026-07-10 04:32:09'::timestamp) - extract(epoch from '2026-07-10 04:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346601 -2.799533)'), GeomFromEWKT('SRID=4674;POINT (-40.346708 -2.799522)'))) / (select extract(epoch from '2026-07-10 04:32:09'::timestamp) - extract(epoch from '2026-07-10 04:31: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'), 47841, 'SRID=4674;POINT (-40.346818 -2.799518)', '2026-07-10 04:32:25', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346708 -2.799522)'), GeomFromEWKT('SRID=4674;POINT (-40.346818 -2.799518)'))) / (select extract(epoch from '2026-07-10 04:32:25'::timestamp) - extract(epoch from '2026-07-10 04:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346708 -2.799522)'), GeomFromEWKT('SRID=4674;POINT (-40.346818 -2.799518)'))) / (select extract(epoch from '2026-07-10 04:32:25'::timestamp) - extract(epoch from '2026-07-10 04:32:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.346921 -2.799508)', '2026-07-10 04:32:40', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346818 -2.799518)'), GeomFromEWKT('SRID=4674;POINT (-40.346921 -2.799508)'))) / (select extract(epoch from '2026-07-10 04:32:40'::timestamp) - extract(epoch from '2026-07-10 04:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346818 -2.799518)'), GeomFromEWKT('SRID=4674;POINT (-40.346921 -2.799508)'))) / (select extract(epoch from '2026-07-10 04:32:40'::timestamp) - extract(epoch from '2026-07-10 04:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.34701 -2.799495)', '2026-07-10 04:32:54', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346921 -2.799508)'), GeomFromEWKT('SRID=4674;POINT (-40.34701 -2.799495)'))) / (select extract(epoch from '2026-07-10 04:32:54'::timestamp) - extract(epoch from '2026-07-10 04:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346921 -2.799508)'), GeomFromEWKT('SRID=4674;POINT (-40.34701 -2.799495)'))) / (select extract(epoch from '2026-07-10 04:32:54'::timestamp) - extract(epoch from '2026-07-10 04:32: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'), 47841, 'SRID=4674;POINT (-40.347108 -2.799477)', '2026-07-10 04:33:10', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34701 -2.799495)'), GeomFromEWKT('SRID=4674;POINT (-40.347108 -2.799477)'))) / (select extract(epoch from '2026-07-10 04:33:10'::timestamp) - extract(epoch from '2026-07-10 04:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34701 -2.799495)'), GeomFromEWKT('SRID=4674;POINT (-40.347108 -2.799477)'))) / (select extract(epoch from '2026-07-10 04:33:10'::timestamp) - extract(epoch from '2026-07-10 04:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47841, 'SRID=4674;POINT (-40.347205 -2.799462)', '2026-07-10 04:33:23', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347108 -2.799477)'), GeomFromEWKT('SRID=4674;POINT (-40.347205 -2.799462)'))) / (select extract(epoch from '2026-07-10 04:33:23'::timestamp) - extract(epoch from '2026-07-10 04:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347108 -2.799477)'), GeomFromEWKT('SRID=4674;POINT (-40.347205 -2.799462)'))) / (select extract(epoch from '2026-07-10 04:33:23'::timestamp) - extract(epoch from '2026-07-10 04:33: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'), 47841, 'SRID=4674;POINT (-40.347295 -2.799456)', '2026-07-10 04:33:36', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347205 -2.799462)'), GeomFromEWKT('SRID=4674;POINT (-40.347295 -2.799456)'))) / (select extract(epoch from '2026-07-10 04:33:36'::timestamp) - extract(epoch from '2026-07-10 04:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347205 -2.799462)'), GeomFromEWKT('SRID=4674;POINT (-40.347295 -2.799456)'))) / (select extract(epoch from '2026-07-10 04:33:36'::timestamp) - extract(epoch from '2026-07-10 04:33:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
