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'), 46715, 'SRID=4674;POINT (-40.346187 -2.801234)', '2026-06-22 02:36:41', -1.4, 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'), 46715, 'SRID=4674;POINT (-40.346171 -2.80123)', '2026-06-22 02:36:42', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346187 -2.801234)'), GeomFromEWKT('SRID=4674;POINT (-40.346171 -2.80123)'))) / (select extract(epoch from '2026-06-22 02:36:42'::timestamp) - extract(epoch from '2026-06-22 02:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346187 -2.801234)'), GeomFromEWKT('SRID=4674;POINT (-40.346171 -2.80123)'))) / (select extract(epoch from '2026-06-22 02:36:42'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.346116 -2.801211)', '2026-06-22 02:36:46', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346171 -2.80123)'), GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.801211)'))) / (select extract(epoch from '2026-06-22 02:36:46'::timestamp) - extract(epoch from '2026-06-22 02:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346171 -2.80123)'), GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.801211)'))) / (select extract(epoch from '2026-06-22 02:36:46'::timestamp) - extract(epoch from '2026-06-22 02:36: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'), 46715, 'SRID=4674;POINT (-40.346052 -2.801171)', '2026-06-22 02:36:51', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.801211)'), GeomFromEWKT('SRID=4674;POINT (-40.346052 -2.801171)'))) / (select extract(epoch from '2026-06-22 02:36:51'::timestamp) - extract(epoch from '2026-06-22 02:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.801211)'), GeomFromEWKT('SRID=4674;POINT (-40.346052 -2.801171)'))) / (select extract(epoch from '2026-06-22 02:36:51'::timestamp) - extract(epoch from '2026-06-22 02:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.34604 -2.80116)', '2026-06-22 02:36:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346052 -2.801171)'), GeomFromEWKT('SRID=4674;POINT (-40.34604 -2.80116)'))) / (select extract(epoch from '2026-06-22 02:36:52'::timestamp) - extract(epoch from '2026-06-22 02:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346052 -2.801171)'), GeomFromEWKT('SRID=4674;POINT (-40.34604 -2.80116)'))) / (select extract(epoch from '2026-06-22 02:36:52'::timestamp) - extract(epoch from '2026-06-22 02:36: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'), 46715, 'SRID=4674;POINT (-40.345979 -2.801119)', '2026-06-22 02:36:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34604 -2.80116)'), GeomFromEWKT('SRID=4674;POINT (-40.345979 -2.801119)'))) / (select extract(epoch from '2026-06-22 02:36:57'::timestamp) - extract(epoch from '2026-06-22 02:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34604 -2.80116)'), GeomFromEWKT('SRID=4674;POINT (-40.345979 -2.801119)'))) / (select extract(epoch from '2026-06-22 02:36:57'::timestamp) - extract(epoch from '2026-06-22 02:36: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'), 46715, 'SRID=4674;POINT (-40.345909 -2.801049)', '2026-06-22 02:37:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345979 -2.801119)'), GeomFromEWKT('SRID=4674;POINT (-40.345909 -2.801049)'))) / (select extract(epoch from '2026-06-22 02:37:04'::timestamp) - extract(epoch from '2026-06-22 02:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345979 -2.801119)'), GeomFromEWKT('SRID=4674;POINT (-40.345909 -2.801049)'))) / (select extract(epoch from '2026-06-22 02:37:04'::timestamp) - extract(epoch from '2026-06-22 02:36: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'), 46715, 'SRID=4674;POINT (-40.345805 -2.80096)', '2026-06-22 02:37:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345909 -2.801049)'), GeomFromEWKT('SRID=4674;POINT (-40.345805 -2.80096)'))) / (select extract(epoch from '2026-06-22 02:37:13'::timestamp) - extract(epoch from '2026-06-22 02:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345909 -2.801049)'), GeomFromEWKT('SRID=4674;POINT (-40.345805 -2.80096)'))) / (select extract(epoch from '2026-06-22 02:37:13'::timestamp) - extract(epoch from '2026-06-22 02:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.345733 -2.800913)', '2026-06-22 02:37:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345805 -2.80096)'), GeomFromEWKT('SRID=4674;POINT (-40.345733 -2.800913)'))) / (select extract(epoch from '2026-06-22 02:37:19'::timestamp) - extract(epoch from '2026-06-22 02:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345805 -2.80096)'), GeomFromEWKT('SRID=4674;POINT (-40.345733 -2.800913)'))) / (select extract(epoch from '2026-06-22 02:37:19'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.345633 -2.80085)', '2026-06-22 02:37:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345733 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.345633 -2.80085)'))) / (select extract(epoch from '2026-06-22 02:37:28'::timestamp) - extract(epoch from '2026-06-22 02:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345733 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.345633 -2.80085)'))) / (select extract(epoch from '2026-06-22 02:37:28'::timestamp) - extract(epoch from '2026-06-22 02:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.34555 -2.800794)', '2026-06-22 02:37:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345633 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.34555 -2.800794)'))) / (select extract(epoch from '2026-06-22 02:37:35'::timestamp) - extract(epoch from '2026-06-22 02:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345633 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.34555 -2.800794)'))) / (select extract(epoch from '2026-06-22 02:37:35'::timestamp) - extract(epoch from '2026-06-22 02:37: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'), 46715, 'SRID=4674;POINT (-40.345452 -2.800738)', '2026-06-22 02:37:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34555 -2.800794)'), GeomFromEWKT('SRID=4674;POINT (-40.345452 -2.800738)'))) / (select extract(epoch from '2026-06-22 02:37:43'::timestamp) - extract(epoch from '2026-06-22 02:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34555 -2.800794)'), GeomFromEWKT('SRID=4674;POINT (-40.345452 -2.800738)'))) / (select extract(epoch from '2026-06-22 02:37:43'::timestamp) - extract(epoch from '2026-06-22 02:37: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'), 46715, 'SRID=4674;POINT (-40.345375 -2.800692)', '2026-06-22 02:37:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345452 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.345375 -2.800692)'))) / (select extract(epoch from '2026-06-22 02:37:49'::timestamp) - extract(epoch from '2026-06-22 02:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345452 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.345375 -2.800692)'))) / (select extract(epoch from '2026-06-22 02:37:49'::timestamp) - extract(epoch from '2026-06-22 02:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.345272 -2.800635)', '2026-06-22 02:37:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345375 -2.800692)'), GeomFromEWKT('SRID=4674;POINT (-40.345272 -2.800635)'))) / (select extract(epoch from '2026-06-22 02:37:57'::timestamp) - extract(epoch from '2026-06-22 02:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345375 -2.800692)'), GeomFromEWKT('SRID=4674;POINT (-40.345272 -2.800635)'))) / (select extract(epoch from '2026-06-22 02:37:57'::timestamp) - extract(epoch from '2026-06-22 02:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.345169 -2.800546)', '2026-06-22 02:38:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345272 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.345169 -2.800546)'))) / (select extract(epoch from '2026-06-22 02:38:06'::timestamp) - extract(epoch from '2026-06-22 02:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345272 -2.800635)'), GeomFromEWKT('SRID=4674;POINT (-40.345169 -2.800546)'))) / (select extract(epoch from '2026-06-22 02:38:06'::timestamp) - extract(epoch from '2026-06-22 02:37: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'), 46715, 'SRID=4674;POINT (-40.34509 -2.80046)', '2026-06-22 02:38:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345169 -2.800546)'), GeomFromEWKT('SRID=4674;POINT (-40.34509 -2.80046)'))) / (select extract(epoch from '2026-06-22 02:38:14'::timestamp) - extract(epoch from '2026-06-22 02:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345169 -2.800546)'), GeomFromEWKT('SRID=4674;POINT (-40.34509 -2.80046)'))) / (select extract(epoch from '2026-06-22 02:38:14'::timestamp) - extract(epoch from '2026-06-22 02:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.345011 -2.800385)', '2026-06-22 02:38:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34509 -2.80046)'), GeomFromEWKT('SRID=4674;POINT (-40.345011 -2.800385)'))) / (select extract(epoch from '2026-06-22 02:38:22'::timestamp) - extract(epoch from '2026-06-22 02:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34509 -2.80046)'), GeomFromEWKT('SRID=4674;POINT (-40.345011 -2.800385)'))) / (select extract(epoch from '2026-06-22 02:38:22'::timestamp) - extract(epoch from '2026-06-22 02:38: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'), 46715, 'SRID=4674;POINT (-40.344927 -2.800335)', '2026-06-22 02:38:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345011 -2.800385)'), GeomFromEWKT('SRID=4674;POINT (-40.344927 -2.800335)'))) / (select extract(epoch from '2026-06-22 02:38:29'::timestamp) - extract(epoch from '2026-06-22 02:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345011 -2.800385)'), GeomFromEWKT('SRID=4674;POINT (-40.344927 -2.800335)'))) / (select extract(epoch from '2026-06-22 02:38:29'::timestamp) - extract(epoch from '2026-06-22 02:38: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'), 46715, 'SRID=4674;POINT (-40.344829 -2.800262)', '2026-06-22 02:38:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344927 -2.800335)'), GeomFromEWKT('SRID=4674;POINT (-40.344829 -2.800262)'))) / (select extract(epoch from '2026-06-22 02:38:37'::timestamp) - extract(epoch from '2026-06-22 02:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344927 -2.800335)'), GeomFromEWKT('SRID=4674;POINT (-40.344829 -2.800262)'))) / (select extract(epoch from '2026-06-22 02:38:37'::timestamp) - extract(epoch from '2026-06-22 02:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.344733 -2.8002)', '2026-06-22 02:38:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344829 -2.800262)'), GeomFromEWKT('SRID=4674;POINT (-40.344733 -2.8002)'))) / (select extract(epoch from '2026-06-22 02:38:44'::timestamp) - extract(epoch from '2026-06-22 02:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344829 -2.800262)'), GeomFromEWKT('SRID=4674;POINT (-40.344733 -2.8002)'))) / (select extract(epoch from '2026-06-22 02:38:44'::timestamp) - extract(epoch from '2026-06-22 02:38: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'), 46715, 'SRID=4674;POINT (-40.344616 -2.800144)', '2026-06-22 02:38:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344733 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.344616 -2.800144)'))) / (select extract(epoch from '2026-06-22 02:38:52'::timestamp) - extract(epoch from '2026-06-22 02:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344733 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.344616 -2.800144)'))) / (select extract(epoch from '2026-06-22 02:38:52'::timestamp) - extract(epoch from '2026-06-22 02:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.344475 -2.800061)', '2026-06-22 02:39:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344616 -2.800144)'), GeomFromEWKT('SRID=4674;POINT (-40.344475 -2.800061)'))) / (select extract(epoch from '2026-06-22 02:39:02'::timestamp) - extract(epoch from '2026-06-22 02:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344616 -2.800144)'), GeomFromEWKT('SRID=4674;POINT (-40.344475 -2.800061)'))) / (select extract(epoch from '2026-06-22 02:39:02'::timestamp) - extract(epoch from '2026-06-22 02:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.344371 -2.799994)', '2026-06-22 02:39:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344475 -2.800061)'), GeomFromEWKT('SRID=4674;POINT (-40.344371 -2.799994)'))) / (select extract(epoch from '2026-06-22 02:39:11'::timestamp) - extract(epoch from '2026-06-22 02:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344475 -2.800061)'), GeomFromEWKT('SRID=4674;POINT (-40.344371 -2.799994)'))) / (select extract(epoch from '2026-06-22 02:39:11'::timestamp) - extract(epoch from '2026-06-22 02:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.344297 -2.79996)', '2026-06-22 02:39:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344371 -2.799994)'), GeomFromEWKT('SRID=4674;POINT (-40.344297 -2.79996)'))) / (select extract(epoch from '2026-06-22 02:39:17'::timestamp) - extract(epoch from '2026-06-22 02:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344371 -2.799994)'), GeomFromEWKT('SRID=4674;POINT (-40.344297 -2.79996)'))) / (select extract(epoch from '2026-06-22 02:39:17'::timestamp) - extract(epoch from '2026-06-22 02:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.344228 -2.799914)', '2026-06-22 02:39:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344297 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.344228 -2.799914)'))) / (select extract(epoch from '2026-06-22 02:39:23'::timestamp) - extract(epoch from '2026-06-22 02:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344297 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.344228 -2.799914)'))) / (select extract(epoch from '2026-06-22 02:39:23'::timestamp) - extract(epoch from '2026-06-22 02:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.344153 -2.799872)', '2026-06-22 02:39:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344228 -2.799914)'), GeomFromEWKT('SRID=4674;POINT (-40.344153 -2.799872)'))) / (select extract(epoch from '2026-06-22 02:39:29'::timestamp) - extract(epoch from '2026-06-22 02:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344228 -2.799914)'), GeomFromEWKT('SRID=4674;POINT (-40.344153 -2.799872)'))) / (select extract(epoch from '2026-06-22 02:39:29'::timestamp) - extract(epoch from '2026-06-22 02:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.344021 -2.799784)', '2026-06-22 02:39:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344153 -2.799872)'), GeomFromEWKT('SRID=4674;POINT (-40.344021 -2.799784)'))) / (select extract(epoch from '2026-06-22 02:39:39'::timestamp) - extract(epoch from '2026-06-22 02:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344153 -2.799872)'), GeomFromEWKT('SRID=4674;POINT (-40.344021 -2.799784)'))) / (select extract(epoch from '2026-06-22 02:39:39'::timestamp) - extract(epoch from '2026-06-22 02:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.343926 -2.799734)', '2026-06-22 02:39:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344021 -2.799784)'), GeomFromEWKT('SRID=4674;POINT (-40.343926 -2.799734)'))) / (select extract(epoch from '2026-06-22 02:39:46'::timestamp) - extract(epoch from '2026-06-22 02:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344021 -2.799784)'), GeomFromEWKT('SRID=4674;POINT (-40.343926 -2.799734)'))) / (select extract(epoch from '2026-06-22 02:39:46'::timestamp) - extract(epoch from '2026-06-22 02:39: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'), 46715, 'SRID=4674;POINT (-40.343832 -2.799703)', '2026-06-22 02:39:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343926 -2.799734)'), GeomFromEWKT('SRID=4674;POINT (-40.343832 -2.799703)'))) / (select extract(epoch from '2026-06-22 02:39:53'::timestamp) - extract(epoch from '2026-06-22 02:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343926 -2.799734)'), GeomFromEWKT('SRID=4674;POINT (-40.343832 -2.799703)'))) / (select extract(epoch from '2026-06-22 02:39:53'::timestamp) - extract(epoch from '2026-06-22 02:39: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'), 46715, 'SRID=4674;POINT (-40.343695 -2.799647)', '2026-06-22 02:40:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343832 -2.799703)'), GeomFromEWKT('SRID=4674;POINT (-40.343695 -2.799647)'))) / (select extract(epoch from '2026-06-22 02:40:02'::timestamp) - extract(epoch from '2026-06-22 02:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343832 -2.799703)'), GeomFromEWKT('SRID=4674;POINT (-40.343695 -2.799647)'))) / (select extract(epoch from '2026-06-22 02:40:02'::timestamp) - extract(epoch from '2026-06-22 02:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.343573 -2.799589)', '2026-06-22 02:40:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343695 -2.799647)'), GeomFromEWKT('SRID=4674;POINT (-40.343573 -2.799589)'))) / (select extract(epoch from '2026-06-22 02:40:10'::timestamp) - extract(epoch from '2026-06-22 02:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343695 -2.799647)'), GeomFromEWKT('SRID=4674;POINT (-40.343573 -2.799589)'))) / (select extract(epoch from '2026-06-22 02:40:10'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46715, 'SRID=4674;POINT (-40.343449 -2.799532)', '2026-06-22 02:40:18', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343573 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.343449 -2.799532)'))) / (select extract(epoch from '2026-06-22 02:40:18'::timestamp) - extract(epoch from '2026-06-22 02:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343573 -2.799589)'), GeomFromEWKT('SRID=4674;POINT (-40.343449 -2.799532)'))) / (select extract(epoch from '2026-06-22 02:40:18'::timestamp) - extract(epoch from '2026-06-22 02:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.343324 -2.799483)', '2026-06-22 02:40:26', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343449 -2.799532)'), GeomFromEWKT('SRID=4674;POINT (-40.343324 -2.799483)'))) / (select extract(epoch from '2026-06-22 02:40:26'::timestamp) - extract(epoch from '2026-06-22 02:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343449 -2.799532)'), GeomFromEWKT('SRID=4674;POINT (-40.343324 -2.799483)'))) / (select extract(epoch from '2026-06-22 02:40:26'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46715, 'SRID=4674;POINT (-40.34323 -2.799445)', '2026-06-22 02:40:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343324 -2.799483)'), GeomFromEWKT('SRID=4674;POINT (-40.34323 -2.799445)'))) / (select extract(epoch from '2026-06-22 02:40:32'::timestamp) - extract(epoch from '2026-06-22 02:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343324 -2.799483)'), GeomFromEWKT('SRID=4674;POINT (-40.34323 -2.799445)'))) / (select extract(epoch from '2026-06-22 02:40:32'::timestamp) - extract(epoch from '2026-06-22 02:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.343115 -2.799407)', '2026-06-22 02:40:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34323 -2.799445)'), GeomFromEWKT('SRID=4674;POINT (-40.343115 -2.799407)'))) / (select extract(epoch from '2026-06-22 02:40:39'::timestamp) - extract(epoch from '2026-06-22 02:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34323 -2.799445)'), GeomFromEWKT('SRID=4674;POINT (-40.343115 -2.799407)'))) / (select extract(epoch from '2026-06-22 02:40:39'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46715, 'SRID=4674;POINT (-40.342977 -2.799345)', '2026-06-22 02:40:48', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343115 -2.799407)'), GeomFromEWKT('SRID=4674;POINT (-40.342977 -2.799345)'))) / (select extract(epoch from '2026-06-22 02:40:48'::timestamp) - extract(epoch from '2026-06-22 02:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343115 -2.799407)'), GeomFromEWKT('SRID=4674;POINT (-40.342977 -2.799345)'))) / (select extract(epoch from '2026-06-22 02:40:48'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46715, 'SRID=4674;POINT (-40.342872 -2.799311)', '2026-06-22 02:40:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342977 -2.799345)'), GeomFromEWKT('SRID=4674;POINT (-40.342872 -2.799311)'))) / (select extract(epoch from '2026-06-22 02:40:55'::timestamp) - extract(epoch from '2026-06-22 02:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342977 -2.799345)'), GeomFromEWKT('SRID=4674;POINT (-40.342872 -2.799311)'))) / (select extract(epoch from '2026-06-22 02:40:55'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46715, 'SRID=4674;POINT (-40.342756 -2.799247)', '2026-06-22 02:41:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342872 -2.799311)'), GeomFromEWKT('SRID=4674;POINT (-40.342756 -2.799247)'))) / (select extract(epoch from '2026-06-22 02:41:03'::timestamp) - extract(epoch from '2026-06-22 02:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342872 -2.799311)'), GeomFromEWKT('SRID=4674;POINT (-40.342756 -2.799247)'))) / (select extract(epoch from '2026-06-22 02:41:03'::timestamp) - extract(epoch from '2026-06-22 02:40: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'), 46715, 'SRID=4674;POINT (-40.342663 -2.799192)', '2026-06-22 02:41:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342756 -2.799247)'), GeomFromEWKT('SRID=4674;POINT (-40.342663 -2.799192)'))) / (select extract(epoch from '2026-06-22 02:41:10'::timestamp) - extract(epoch from '2026-06-22 02:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342756 -2.799247)'), GeomFromEWKT('SRID=4674;POINT (-40.342663 -2.799192)'))) / (select extract(epoch from '2026-06-22 02:41:10'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46715, 'SRID=4674;POINT (-40.342564 -2.799141)', '2026-06-22 02:41:18', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342663 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.342564 -2.799141)'))) / (select extract(epoch from '2026-06-22 02:41:18'::timestamp) - extract(epoch from '2026-06-22 02:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342663 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.342564 -2.799141)'))) / (select extract(epoch from '2026-06-22 02:41:18'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46715, 'SRID=4674;POINT (-40.342476 -2.799094)', '2026-06-22 02:41:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342564 -2.799141)'), GeomFromEWKT('SRID=4674;POINT (-40.342476 -2.799094)'))) / (select extract(epoch from '2026-06-22 02:41:25'::timestamp) - extract(epoch from '2026-06-22 02:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342564 -2.799141)'), GeomFromEWKT('SRID=4674;POINT (-40.342476 -2.799094)'))) / (select extract(epoch from '2026-06-22 02:41:25'::timestamp) - extract(epoch from '2026-06-22 02:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.342345 -2.799034)', '2026-06-22 02:41:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342476 -2.799094)'), GeomFromEWKT('SRID=4674;POINT (-40.342345 -2.799034)'))) / (select extract(epoch from '2026-06-22 02:41:34'::timestamp) - extract(epoch from '2026-06-22 02:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342476 -2.799094)'), GeomFromEWKT('SRID=4674;POINT (-40.342345 -2.799034)'))) / (select extract(epoch from '2026-06-22 02:41:34'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46715, 'SRID=4674;POINT (-40.3422 -2.798974)', '2026-06-22 02:41:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342345 -2.799034)'), GeomFromEWKT('SRID=4674;POINT (-40.3422 -2.798974)'))) / (select extract(epoch from '2026-06-22 02:41:44'::timestamp) - extract(epoch from '2026-06-22 02:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342345 -2.799034)'), GeomFromEWKT('SRID=4674;POINT (-40.3422 -2.798974)'))) / (select extract(epoch from '2026-06-22 02:41:44'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46715, 'SRID=4674;POINT (-40.342088 -2.798899)', '2026-06-22 02:41:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3422 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.342088 -2.798899)'))) / (select extract(epoch from '2026-06-22 02:41:52'::timestamp) - extract(epoch from '2026-06-22 02:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3422 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.342088 -2.798899)'))) / (select extract(epoch from '2026-06-22 02:41:52'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46715, 'SRID=4674;POINT (-40.342003 -2.798844)', '2026-06-22 02:41:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342088 -2.798899)'), GeomFromEWKT('SRID=4674;POINT (-40.342003 -2.798844)'))) / (select extract(epoch from '2026-06-22 02:41:58'::timestamp) - extract(epoch from '2026-06-22 02:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342088 -2.798899)'), GeomFromEWKT('SRID=4674;POINT (-40.342003 -2.798844)'))) / (select extract(epoch from '2026-06-22 02:41:58'::timestamp) - extract(epoch from '2026-06-22 02:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.341902 -2.798776)', '2026-06-22 02:42:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342003 -2.798844)'), GeomFromEWKT('SRID=4674;POINT (-40.341902 -2.798776)'))) / (select extract(epoch from '2026-06-22 02:42:05'::timestamp) - extract(epoch from '2026-06-22 02:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342003 -2.798844)'), GeomFromEWKT('SRID=4674;POINT (-40.341902 -2.798776)'))) / (select extract(epoch from '2026-06-22 02:42:05'::timestamp) - extract(epoch from '2026-06-22 02:41: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'), 46715, 'SRID=4674;POINT (-40.341762 -2.798687)', '2026-06-22 02:42:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341902 -2.798776)'), GeomFromEWKT('SRID=4674;POINT (-40.341762 -2.798687)'))) / (select extract(epoch from '2026-06-22 02:42:15'::timestamp) - extract(epoch from '2026-06-22 02:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341902 -2.798776)'), GeomFromEWKT('SRID=4674;POINT (-40.341762 -2.798687)'))) / (select extract(epoch from '2026-06-22 02:42:15'::timestamp) - extract(epoch from '2026-06-22 02:42: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'), 46715, 'SRID=4674;POINT (-40.341667 -2.798633)', '2026-06-22 02:42:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341762 -2.798687)'), GeomFromEWKT('SRID=4674;POINT (-40.341667 -2.798633)'))) / (select extract(epoch from '2026-06-22 02:42:22'::timestamp) - extract(epoch from '2026-06-22 02:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341762 -2.798687)'), GeomFromEWKT('SRID=4674;POINT (-40.341667 -2.798633)'))) / (select extract(epoch from '2026-06-22 02:42:22'::timestamp) - extract(epoch from '2026-06-22 02:42: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'), 46715, 'SRID=4674;POINT (-40.341595 -2.798584)', '2026-06-22 02:42:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341667 -2.798633)'), GeomFromEWKT('SRID=4674;POINT (-40.341595 -2.798584)'))) / (select extract(epoch from '2026-06-22 02:42:29'::timestamp) - extract(epoch from '2026-06-22 02:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341667 -2.798633)'), GeomFromEWKT('SRID=4674;POINT (-40.341595 -2.798584)'))) / (select extract(epoch from '2026-06-22 02:42:29'::timestamp) - extract(epoch from '2026-06-22 02:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.341495 -2.798514)', '2026-06-22 02:42:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341595 -2.798584)'), GeomFromEWKT('SRID=4674;POINT (-40.341495 -2.798514)'))) / (select extract(epoch from '2026-06-22 02:42:37'::timestamp) - extract(epoch from '2026-06-22 02:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341595 -2.798584)'), GeomFromEWKT('SRID=4674;POINT (-40.341495 -2.798514)'))) / (select extract(epoch from '2026-06-22 02:42:37'::timestamp) - extract(epoch from '2026-06-22 02:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.341389 -2.79846)', '2026-06-22 02:42:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341495 -2.798514)'), GeomFromEWKT('SRID=4674;POINT (-40.341389 -2.79846)'))) / (select extract(epoch from '2026-06-22 02:42:45'::timestamp) - extract(epoch from '2026-06-22 02:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341495 -2.798514)'), GeomFromEWKT('SRID=4674;POINT (-40.341389 -2.79846)'))) / (select extract(epoch from '2026-06-22 02:42:45'::timestamp) - extract(epoch from '2026-06-22 02:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.341277 -2.798415)', '2026-06-22 02:42:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341389 -2.79846)'), GeomFromEWKT('SRID=4674;POINT (-40.341277 -2.798415)'))) / (select extract(epoch from '2026-06-22 02:42:53'::timestamp) - extract(epoch from '2026-06-22 02:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341389 -2.79846)'), GeomFromEWKT('SRID=4674;POINT (-40.341277 -2.798415)'))) / (select extract(epoch from '2026-06-22 02:42:53'::timestamp) - extract(epoch from '2026-06-22 02:42: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'), 46715, 'SRID=4674;POINT (-40.341142 -2.798371)', '2026-06-22 02:43:01', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341277 -2.798415)'), GeomFromEWKT('SRID=4674;POINT (-40.341142 -2.798371)'))) / (select extract(epoch from '2026-06-22 02:43:01'::timestamp) - extract(epoch from '2026-06-22 02:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341277 -2.798415)'), GeomFromEWKT('SRID=4674;POINT (-40.341142 -2.798371)'))) / (select extract(epoch from '2026-06-22 02:43:01'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.340999 -2.798331)', '2026-06-22 02:43:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341142 -2.798371)'), GeomFromEWKT('SRID=4674;POINT (-40.340999 -2.798331)'))) / (select extract(epoch from '2026-06-22 02:43:09'::timestamp) - extract(epoch from '2026-06-22 02:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341142 -2.798371)'), GeomFromEWKT('SRID=4674;POINT (-40.340999 -2.798331)'))) / (select extract(epoch from '2026-06-22 02:43:09'::timestamp) - extract(epoch from '2026-06-22 02:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.34086 -2.798288)', '2026-06-22 02:43:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340999 -2.798331)'), GeomFromEWKT('SRID=4674;POINT (-40.34086 -2.798288)'))) / (select extract(epoch from '2026-06-22 02:43:17'::timestamp) - extract(epoch from '2026-06-22 02:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340999 -2.798331)'), GeomFromEWKT('SRID=4674;POINT (-40.34086 -2.798288)'))) / (select extract(epoch from '2026-06-22 02:43:17'::timestamp) - extract(epoch from '2026-06-22 02:43: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'), 46715, 'SRID=4674;POINT (-40.340704 -2.798254)', '2026-06-22 02:43:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34086 -2.798288)'), GeomFromEWKT('SRID=4674;POINT (-40.340704 -2.798254)'))) / (select extract(epoch from '2026-06-22 02:43:26'::timestamp) - extract(epoch from '2026-06-22 02:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34086 -2.798288)'), GeomFromEWKT('SRID=4674;POINT (-40.340704 -2.798254)'))) / (select extract(epoch from '2026-06-22 02:43:26'::timestamp) - extract(epoch from '2026-06-22 02:43:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.340579 -2.79821)', '2026-06-22 02:43:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340704 -2.798254)'), GeomFromEWKT('SRID=4674;POINT (-40.340579 -2.79821)'))) / (select extract(epoch from '2026-06-22 02:43:33'::timestamp) - extract(epoch from '2026-06-22 02:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340704 -2.798254)'), GeomFromEWKT('SRID=4674;POINT (-40.340579 -2.79821)'))) / (select extract(epoch from '2026-06-22 02:43:33'::timestamp) - extract(epoch from '2026-06-22 02:43: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'), 46715, 'SRID=4674;POINT (-40.340443 -2.798178)', '2026-06-22 02:43:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340579 -2.79821)'), GeomFromEWKT('SRID=4674;POINT (-40.340443 -2.798178)'))) / (select extract(epoch from '2026-06-22 02:43:40'::timestamp) - extract(epoch from '2026-06-22 02:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340579 -2.79821)'), GeomFromEWKT('SRID=4674;POINT (-40.340443 -2.798178)'))) / (select extract(epoch from '2026-06-22 02:43:40'::timestamp) - extract(epoch from '2026-06-22 02:43: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'), 46715, 'SRID=4674;POINT (-40.340288 -2.798125)', '2026-06-22 02:43:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340443 -2.798178)'), GeomFromEWKT('SRID=4674;POINT (-40.340288 -2.798125)'))) / (select extract(epoch from '2026-06-22 02:43:48'::timestamp) - extract(epoch from '2026-06-22 02:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340443 -2.798178)'), GeomFromEWKT('SRID=4674;POINT (-40.340288 -2.798125)'))) / (select extract(epoch from '2026-06-22 02:43:48'::timestamp) - extract(epoch from '2026-06-22 02:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.340169 -2.798072)', '2026-06-22 02:43:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340288 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.340169 -2.798072)'))) / (select extract(epoch from '2026-06-22 02:43:55'::timestamp) - extract(epoch from '2026-06-22 02:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340288 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.340169 -2.798072)'))) / (select extract(epoch from '2026-06-22 02:43:55'::timestamp) - extract(epoch from '2026-06-22 02:43: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'), 46715, 'SRID=4674;POINT (-40.34004 -2.797992)', '2026-06-22 02:44:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340169 -2.798072)'), GeomFromEWKT('SRID=4674;POINT (-40.34004 -2.797992)'))) / (select extract(epoch from '2026-06-22 02:44:03'::timestamp) - extract(epoch from '2026-06-22 02:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340169 -2.798072)'), GeomFromEWKT('SRID=4674;POINT (-40.34004 -2.797992)'))) / (select extract(epoch from '2026-06-22 02:44:03'::timestamp) - extract(epoch from '2026-06-22 02:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.33993 -2.797916)', '2026-06-22 02:44:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34004 -2.797992)'), GeomFromEWKT('SRID=4674;POINT (-40.33993 -2.797916)'))) / (select extract(epoch from '2026-06-22 02:44:10'::timestamp) - extract(epoch from '2026-06-22 02:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34004 -2.797992)'), GeomFromEWKT('SRID=4674;POINT (-40.33993 -2.797916)'))) / (select extract(epoch from '2026-06-22 02:44:10'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46715, 'SRID=4674;POINT (-40.339818 -2.797848)', '2026-06-22 02:44:17', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33993 -2.797916)'), GeomFromEWKT('SRID=4674;POINT (-40.339818 -2.797848)'))) / (select extract(epoch from '2026-06-22 02:44:17'::timestamp) - extract(epoch from '2026-06-22 02:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33993 -2.797916)'), GeomFromEWKT('SRID=4674;POINT (-40.339818 -2.797848)'))) / (select extract(epoch from '2026-06-22 02:44:17'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46715, 'SRID=4674;POINT (-40.33969 -2.79779)', '2026-06-22 02:44:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339818 -2.797848)'), GeomFromEWKT('SRID=4674;POINT (-40.33969 -2.79779)'))) / (select extract(epoch from '2026-06-22 02:44:24'::timestamp) - extract(epoch from '2026-06-22 02:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339818 -2.797848)'), GeomFromEWKT('SRID=4674;POINT (-40.33969 -2.79779)'))) / (select extract(epoch from '2026-06-22 02:44:24'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46715, 'SRID=4674;POINT (-40.339592 -2.797742)', '2026-06-22 02:44:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33969 -2.79779)'), GeomFromEWKT('SRID=4674;POINT (-40.339592 -2.797742)'))) / (select extract(epoch from '2026-06-22 02:44:30'::timestamp) - extract(epoch from '2026-06-22 02:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33969 -2.79779)'), GeomFromEWKT('SRID=4674;POINT (-40.339592 -2.797742)'))) / (select extract(epoch from '2026-06-22 02:44:30'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.339475 -2.797689)', '2026-06-22 02:44:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339592 -2.797742)'), GeomFromEWKT('SRID=4674;POINT (-40.339475 -2.797689)'))) / (select extract(epoch from '2026-06-22 02:44:37'::timestamp) - extract(epoch from '2026-06-22 02:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339592 -2.797742)'), GeomFromEWKT('SRID=4674;POINT (-40.339475 -2.797689)'))) / (select extract(epoch from '2026-06-22 02:44:37'::timestamp) - extract(epoch from '2026-06-22 02:44:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.33937 -2.797637)', '2026-06-22 02:44:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339475 -2.797689)'), GeomFromEWKT('SRID=4674;POINT (-40.33937 -2.797637)'))) / (select extract(epoch from '2026-06-22 02:44:43'::timestamp) - extract(epoch from '2026-06-22 02:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339475 -2.797689)'), GeomFromEWKT('SRID=4674;POINT (-40.33937 -2.797637)'))) / (select extract(epoch from '2026-06-22 02:44:43'::timestamp) - extract(epoch from '2026-06-22 02:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.339277 -2.79758)', '2026-06-22 02:44:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33937 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.339277 -2.79758)'))) / (select extract(epoch from '2026-06-22 02:44:49'::timestamp) - extract(epoch from '2026-06-22 02:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33937 -2.797637)'), GeomFromEWKT('SRID=4674;POINT (-40.339277 -2.79758)'))) / (select extract(epoch from '2026-06-22 02:44:49'::timestamp) - extract(epoch from '2026-06-22 02:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.339195 -2.797542)', '2026-06-22 02:44:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339277 -2.79758)'), GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.797542)'))) / (select extract(epoch from '2026-06-22 02:44:54'::timestamp) - extract(epoch from '2026-06-22 02:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339277 -2.79758)'), GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.797542)'))) / (select extract(epoch from '2026-06-22 02:44:54'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46715, 'SRID=4674;POINT (-40.339103 -2.797482)', '2026-06-22 02:45:00', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.797542)'), GeomFromEWKT('SRID=4674;POINT (-40.339103 -2.797482)'))) / (select extract(epoch from '2026-06-22 02:45:00'::timestamp) - extract(epoch from '2026-06-22 02:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.797542)'), GeomFromEWKT('SRID=4674;POINT (-40.339103 -2.797482)'))) / (select extract(epoch from '2026-06-22 02:45:00'::timestamp) - extract(epoch from '2026-06-22 02:44: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'), 46715, 'SRID=4674;POINT (-40.338997 -2.7974)', '2026-06-22 02:45:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339103 -2.797482)'), GeomFromEWKT('SRID=4674;POINT (-40.338997 -2.7974)'))) / (select extract(epoch from '2026-06-22 02:45:07'::timestamp) - extract(epoch from '2026-06-22 02:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339103 -2.797482)'), GeomFromEWKT('SRID=4674;POINT (-40.338997 -2.7974)'))) / (select extract(epoch from '2026-06-22 02:45:07'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.338894 -2.797327)', '2026-06-22 02:45:14', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338997 -2.7974)'), GeomFromEWKT('SRID=4674;POINT (-40.338894 -2.797327)'))) / (select extract(epoch from '2026-06-22 02:45:14'::timestamp) - extract(epoch from '2026-06-22 02:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338997 -2.7974)'), GeomFromEWKT('SRID=4674;POINT (-40.338894 -2.797327)'))) / (select extract(epoch from '2026-06-22 02:45:14'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46715, 'SRID=4674;POINT (-40.33877 -2.797252)', '2026-06-22 02:45:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338894 -2.797327)'), GeomFromEWKT('SRID=4674;POINT (-40.33877 -2.797252)'))) / (select extract(epoch from '2026-06-22 02:45:22'::timestamp) - extract(epoch from '2026-06-22 02:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338894 -2.797327)'), GeomFromEWKT('SRID=4674;POINT (-40.33877 -2.797252)'))) / (select extract(epoch from '2026-06-22 02:45:22'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46715, 'SRID=4674;POINT (-40.338652 -2.797208)', '2026-06-22 02:45:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33877 -2.797252)'), GeomFromEWKT('SRID=4674;POINT (-40.338652 -2.797208)'))) / (select extract(epoch from '2026-06-22 02:45:29'::timestamp) - extract(epoch from '2026-06-22 02:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33877 -2.797252)'), GeomFromEWKT('SRID=4674;POINT (-40.338652 -2.797208)'))) / (select extract(epoch from '2026-06-22 02:45:29'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46715, 'SRID=4674;POINT (-40.338526 -2.797141)', '2026-06-22 02:45:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338652 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.338526 -2.797141)'))) / (select extract(epoch from '2026-06-22 02:45:37'::timestamp) - extract(epoch from '2026-06-22 02:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338652 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-40.338526 -2.797141)'))) / (select extract(epoch from '2026-06-22 02:45:37'::timestamp) - extract(epoch from '2026-06-22 02:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.338395 -2.797073)', '2026-06-22 02:45:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338526 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.338395 -2.797073)'))) / (select extract(epoch from '2026-06-22 02:45:45'::timestamp) - extract(epoch from '2026-06-22 02:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338526 -2.797141)'), GeomFromEWKT('SRID=4674;POINT (-40.338395 -2.797073)'))) / (select extract(epoch from '2026-06-22 02:45:45'::timestamp) - extract(epoch from '2026-06-22 02:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.33828 -2.797011)', '2026-06-22 02:45:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338395 -2.797073)'), GeomFromEWKT('SRID=4674;POINT (-40.33828 -2.797011)'))) / (select extract(epoch from '2026-06-22 02:45:52'::timestamp) - extract(epoch from '2026-06-22 02:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338395 -2.797073)'), GeomFromEWKT('SRID=4674;POINT (-40.33828 -2.797011)'))) / (select extract(epoch from '2026-06-22 02:45:52'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46715, 'SRID=4674;POINT (-40.338149 -2.796932)', '2026-06-22 02:46:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33828 -2.797011)'), GeomFromEWKT('SRID=4674;POINT (-40.338149 -2.796932)'))) / (select extract(epoch from '2026-06-22 02:46:00'::timestamp) - extract(epoch from '2026-06-22 02:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33828 -2.797011)'), GeomFromEWKT('SRID=4674;POINT (-40.338149 -2.796932)'))) / (select extract(epoch from '2026-06-22 02:46:00'::timestamp) - extract(epoch from '2026-06-22 02:45: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'), 46715, 'SRID=4674;POINT (-40.33804 -2.796885)', '2026-06-22 02:46:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338149 -2.796932)'), GeomFromEWKT('SRID=4674;POINT (-40.33804 -2.796885)'))) / (select extract(epoch from '2026-06-22 02:46:06'::timestamp) - extract(epoch from '2026-06-22 02:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338149 -2.796932)'), GeomFromEWKT('SRID=4674;POINT (-40.33804 -2.796885)'))) / (select extract(epoch from '2026-06-22 02:46:06'::timestamp) - extract(epoch from '2026-06-22 02:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.337892 -2.796824)', '2026-06-22 02:46:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33804 -2.796885)'), GeomFromEWKT('SRID=4674;POINT (-40.337892 -2.796824)'))) / (select extract(epoch from '2026-06-22 02:46:14'::timestamp) - extract(epoch from '2026-06-22 02:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33804 -2.796885)'), GeomFromEWKT('SRID=4674;POINT (-40.337892 -2.796824)'))) / (select extract(epoch from '2026-06-22 02:46:14'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46715, 'SRID=4674;POINT (-40.337762 -2.79679)', '2026-06-22 02:46:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337892 -2.796824)'), GeomFromEWKT('SRID=4674;POINT (-40.337762 -2.79679)'))) / (select extract(epoch from '2026-06-22 02:46:21'::timestamp) - extract(epoch from '2026-06-22 02:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337892 -2.796824)'), GeomFromEWKT('SRID=4674;POINT (-40.337762 -2.79679)'))) / (select extract(epoch from '2026-06-22 02:46:21'::timestamp) - extract(epoch from '2026-06-22 02:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.33768 -2.796769)', '2026-06-22 02:46:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337762 -2.79679)'), GeomFromEWKT('SRID=4674;POINT (-40.33768 -2.796769)'))) / (select extract(epoch from '2026-06-22 02:46:26'::timestamp) - extract(epoch from '2026-06-22 02:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337762 -2.79679)'), GeomFromEWKT('SRID=4674;POINT (-40.33768 -2.796769)'))) / (select extract(epoch from '2026-06-22 02:46:26'::timestamp) - extract(epoch from '2026-06-22 02:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.337566 -2.796729)', '2026-06-22 02:46:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33768 -2.796769)'), GeomFromEWKT('SRID=4674;POINT (-40.337566 -2.796729)'))) / (select extract(epoch from '2026-06-22 02:46:33'::timestamp) - extract(epoch from '2026-06-22 02:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33768 -2.796769)'), GeomFromEWKT('SRID=4674;POINT (-40.337566 -2.796729)'))) / (select extract(epoch from '2026-06-22 02:46:33'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46715, 'SRID=4674;POINT (-40.337447 -2.796678)', '2026-06-22 02:46:40', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337566 -2.796729)'), GeomFromEWKT('SRID=4674;POINT (-40.337447 -2.796678)'))) / (select extract(epoch from '2026-06-22 02:46:40'::timestamp) - extract(epoch from '2026-06-22 02:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337566 -2.796729)'), GeomFromEWKT('SRID=4674;POINT (-40.337447 -2.796678)'))) / (select extract(epoch from '2026-06-22 02:46:40'::timestamp) - extract(epoch from '2026-06-22 02:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.33733 -2.796634)', '2026-06-22 02:46:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337447 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.33733 -2.796634)'))) / (select extract(epoch from '2026-06-22 02:46:47'::timestamp) - extract(epoch from '2026-06-22 02:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337447 -2.796678)'), GeomFromEWKT('SRID=4674;POINT (-40.33733 -2.796634)'))) / (select extract(epoch from '2026-06-22 02:46:47'::timestamp) - extract(epoch from '2026-06-22 02:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.337205 -2.796597)', '2026-06-22 02:46:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33733 -2.796634)'), GeomFromEWKT('SRID=4674;POINT (-40.337205 -2.796597)'))) / (select extract(epoch from '2026-06-22 02:46:54'::timestamp) - extract(epoch from '2026-06-22 02:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33733 -2.796634)'), GeomFromEWKT('SRID=4674;POINT (-40.337205 -2.796597)'))) / (select extract(epoch from '2026-06-22 02:46:54'::timestamp) - extract(epoch from '2026-06-22 02:46: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'), 46715, 'SRID=4674;POINT (-40.337058 -2.796549)', '2026-06-22 02:47:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337205 -2.796597)'), GeomFromEWKT('SRID=4674;POINT (-40.337058 -2.796549)'))) / (select extract(epoch from '2026-06-22 02:47:02'::timestamp) - extract(epoch from '2026-06-22 02:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337205 -2.796597)'), GeomFromEWKT('SRID=4674;POINT (-40.337058 -2.796549)'))) / (select extract(epoch from '2026-06-22 02:47:02'::timestamp) - extract(epoch from '2026-06-22 02:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.336927 -2.796516)', '2026-06-22 02:47:09', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337058 -2.796549)'), GeomFromEWKT('SRID=4674;POINT (-40.336927 -2.796516)'))) / (select extract(epoch from '2026-06-22 02:47:09'::timestamp) - extract(epoch from '2026-06-22 02:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337058 -2.796549)'), GeomFromEWKT('SRID=4674;POINT (-40.336927 -2.796516)'))) / (select extract(epoch from '2026-06-22 02:47:09'::timestamp) - extract(epoch from '2026-06-22 02:47:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.336797 -2.796488)', '2026-06-22 02:47:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336927 -2.796516)'), GeomFromEWKT('SRID=4674;POINT (-40.336797 -2.796488)'))) / (select extract(epoch from '2026-06-22 02:47:16'::timestamp) - extract(epoch from '2026-06-22 02:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336927 -2.796516)'), GeomFromEWKT('SRID=4674;POINT (-40.336797 -2.796488)'))) / (select extract(epoch from '2026-06-22 02:47:16'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46715, 'SRID=4674;POINT (-40.336638 -2.796431)', '2026-06-22 02:47:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336797 -2.796488)'), GeomFromEWKT('SRID=4674;POINT (-40.336638 -2.796431)'))) / (select extract(epoch from '2026-06-22 02:47:25'::timestamp) - extract(epoch from '2026-06-22 02:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336797 -2.796488)'), GeomFromEWKT('SRID=4674;POINT (-40.336638 -2.796431)'))) / (select extract(epoch from '2026-06-22 02:47:25'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46715, 'SRID=4674;POINT (-40.336484 -2.796381)', '2026-06-22 02:47:33', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336638 -2.796431)'), GeomFromEWKT('SRID=4674;POINT (-40.336484 -2.796381)'))) / (select extract(epoch from '2026-06-22 02:47:33'::timestamp) - extract(epoch from '2026-06-22 02:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336638 -2.796431)'), GeomFromEWKT('SRID=4674;POINT (-40.336484 -2.796381)'))) / (select extract(epoch from '2026-06-22 02:47:33'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.336357 -2.796343)', '2026-06-22 02:47:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336484 -2.796381)'), GeomFromEWKT('SRID=4674;POINT (-40.336357 -2.796343)'))) / (select extract(epoch from '2026-06-22 02:47:40'::timestamp) - extract(epoch from '2026-06-22 02:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336484 -2.796381)'), GeomFromEWKT('SRID=4674;POINT (-40.336357 -2.796343)'))) / (select extract(epoch from '2026-06-22 02:47:40'::timestamp) - extract(epoch from '2026-06-22 02:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.33623 -2.79631)', '2026-06-22 02:47:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336357 -2.796343)'), GeomFromEWKT('SRID=4674;POINT (-40.33623 -2.79631)'))) / (select extract(epoch from '2026-06-22 02:47:47'::timestamp) - extract(epoch from '2026-06-22 02:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336357 -2.796343)'), GeomFromEWKT('SRID=4674;POINT (-40.33623 -2.79631)'))) / (select extract(epoch from '2026-06-22 02:47:47'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46715, 'SRID=4674;POINT (-40.336086 -2.796272)', '2026-06-22 02:47:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33623 -2.79631)'), GeomFromEWKT('SRID=4674;POINT (-40.336086 -2.796272)'))) / (select extract(epoch from '2026-06-22 02:47:55'::timestamp) - extract(epoch from '2026-06-22 02:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33623 -2.79631)'), GeomFromEWKT('SRID=4674;POINT (-40.336086 -2.796272)'))) / (select extract(epoch from '2026-06-22 02:47:55'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46715, 'SRID=4674;POINT (-40.33599 -2.796248)', '2026-06-22 02:48:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336086 -2.796272)'), GeomFromEWKT('SRID=4674;POINT (-40.33599 -2.796248)'))) / (select extract(epoch from '2026-06-22 02:48:01'::timestamp) - extract(epoch from '2026-06-22 02:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336086 -2.796272)'), GeomFromEWKT('SRID=4674;POINT (-40.33599 -2.796248)'))) / (select extract(epoch from '2026-06-22 02:48:01'::timestamp) - extract(epoch from '2026-06-22 02:47: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'), 46715, 'SRID=4674;POINT (-40.33584 -2.796208)', '2026-06-22 02:48:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33599 -2.796248)'), GeomFromEWKT('SRID=4674;POINT (-40.33584 -2.796208)'))) / (select extract(epoch from '2026-06-22 02:48:10'::timestamp) - extract(epoch from '2026-06-22 02:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33599 -2.796248)'), GeomFromEWKT('SRID=4674;POINT (-40.33584 -2.796208)'))) / (select extract(epoch from '2026-06-22 02:48:10'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.335686 -2.796172)', '2026-06-22 02:48:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33584 -2.796208)'), GeomFromEWKT('SRID=4674;POINT (-40.335686 -2.796172)'))) / (select extract(epoch from '2026-06-22 02:48:18'::timestamp) - extract(epoch from '2026-06-22 02:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33584 -2.796208)'), GeomFromEWKT('SRID=4674;POINT (-40.335686 -2.796172)'))) / (select extract(epoch from '2026-06-22 02:48:18'::timestamp) - extract(epoch from '2026-06-22 02:48:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.335561 -2.796152)', '2026-06-22 02:48:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335686 -2.796172)'), GeomFromEWKT('SRID=4674;POINT (-40.335561 -2.796152)'))) / (select extract(epoch from '2026-06-22 02:48:25'::timestamp) - extract(epoch from '2026-06-22 02:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335686 -2.796172)'), GeomFromEWKT('SRID=4674;POINT (-40.335561 -2.796152)'))) / (select extract(epoch from '2026-06-22 02:48:25'::timestamp) - extract(epoch from '2026-06-22 02:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.335444 -2.796133)', '2026-06-22 02:48:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335561 -2.796152)'), GeomFromEWKT('SRID=4674;POINT (-40.335444 -2.796133)'))) / (select extract(epoch from '2026-06-22 02:48:31'::timestamp) - extract(epoch from '2026-06-22 02:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335561 -2.796152)'), GeomFromEWKT('SRID=4674;POINT (-40.335444 -2.796133)'))) / (select extract(epoch from '2026-06-22 02:48:31'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46715, 'SRID=4674;POINT (-40.335322 -2.796068)', '2026-06-22 02:48:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335444 -2.796133)'), GeomFromEWKT('SRID=4674;POINT (-40.335322 -2.796068)'))) / (select extract(epoch from '2026-06-22 02:48:38'::timestamp) - extract(epoch from '2026-06-22 02:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335444 -2.796133)'), GeomFromEWKT('SRID=4674;POINT (-40.335322 -2.796068)'))) / (select extract(epoch from '2026-06-22 02:48:38'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46715, 'SRID=4674;POINT (-40.335235 -2.795961)', '2026-06-22 02:48:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335322 -2.796068)'), GeomFromEWKT('SRID=4674;POINT (-40.335235 -2.795961)'))) / (select extract(epoch from '2026-06-22 02:48:46'::timestamp) - extract(epoch from '2026-06-22 02:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335322 -2.796068)'), GeomFromEWKT('SRID=4674;POINT (-40.335235 -2.795961)'))) / (select extract(epoch from '2026-06-22 02:48:46'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46715, 'SRID=4674;POINT (-40.335155 -2.795824)', '2026-06-22 02:48:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335235 -2.795961)'), GeomFromEWKT('SRID=4674;POINT (-40.335155 -2.795824)'))) / (select extract(epoch from '2026-06-22 02:48:55'::timestamp) - extract(epoch from '2026-06-22 02:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335235 -2.795961)'), GeomFromEWKT('SRID=4674;POINT (-40.335155 -2.795824)'))) / (select extract(epoch from '2026-06-22 02:48:55'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46715, 'SRID=4674;POINT (-40.335058 -2.795688)', '2026-06-22 02:49:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335155 -2.795824)'), GeomFromEWKT('SRID=4674;POINT (-40.335058 -2.795688)'))) / (select extract(epoch from '2026-06-22 02:49:05'::timestamp) - extract(epoch from '2026-06-22 02:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335155 -2.795824)'), GeomFromEWKT('SRID=4674;POINT (-40.335058 -2.795688)'))) / (select extract(epoch from '2026-06-22 02:49:05'::timestamp) - extract(epoch from '2026-06-22 02:48: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'), 46715, 'SRID=4674;POINT (-40.334978 -2.795584)', '2026-06-22 02:49:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335058 -2.795688)'), GeomFromEWKT('SRID=4674;POINT (-40.334978 -2.795584)'))) / (select extract(epoch from '2026-06-22 02:49:13'::timestamp) - extract(epoch from '2026-06-22 02:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335058 -2.795688)'), GeomFromEWKT('SRID=4674;POINT (-40.334978 -2.795584)'))) / (select extract(epoch from '2026-06-22 02:49:13'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46715, 'SRID=4674;POINT (-40.334887 -2.795483)', '2026-06-22 02:49:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334978 -2.795584)'), GeomFromEWKT('SRID=4674;POINT (-40.334887 -2.795483)'))) / (select extract(epoch from '2026-06-22 02:49:21'::timestamp) - extract(epoch from '2026-06-22 02:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334978 -2.795584)'), GeomFromEWKT('SRID=4674;POINT (-40.334887 -2.795483)'))) / (select extract(epoch from '2026-06-22 02:49:21'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.334791 -2.795378)', '2026-06-22 02:49:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334887 -2.795483)'), GeomFromEWKT('SRID=4674;POINT (-40.334791 -2.795378)'))) / (select extract(epoch from '2026-06-22 02:49:29'::timestamp) - extract(epoch from '2026-06-22 02:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334887 -2.795483)'), GeomFromEWKT('SRID=4674;POINT (-40.334791 -2.795378)'))) / (select extract(epoch from '2026-06-22 02:49:29'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46715, 'SRID=4674;POINT (-40.334693 -2.795269)', '2026-06-22 02:49:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334791 -2.795378)'), GeomFromEWKT('SRID=4674;POINT (-40.334693 -2.795269)'))) / (select extract(epoch from '2026-06-22 02:49:38'::timestamp) - extract(epoch from '2026-06-22 02:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334791 -2.795378)'), GeomFromEWKT('SRID=4674;POINT (-40.334693 -2.795269)'))) / (select extract(epoch from '2026-06-22 02:49:38'::timestamp) - extract(epoch from '2026-06-22 02:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.33462 -2.795183)', '2026-06-22 02:49:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334693 -2.795269)'), GeomFromEWKT('SRID=4674;POINT (-40.33462 -2.795183)'))) / (select extract(epoch from '2026-06-22 02:49:46'::timestamp) - extract(epoch from '2026-06-22 02:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334693 -2.795269)'), GeomFromEWKT('SRID=4674;POINT (-40.33462 -2.795183)'))) / (select extract(epoch from '2026-06-22 02:49:46'::timestamp) - extract(epoch from '2026-06-22 02:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.334557 -2.795104)', '2026-06-22 02:49:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33462 -2.795183)'), GeomFromEWKT('SRID=4674;POINT (-40.334557 -2.795104)'))) / (select extract(epoch from '2026-06-22 02:49:53'::timestamp) - extract(epoch from '2026-06-22 02:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33462 -2.795183)'), GeomFromEWKT('SRID=4674;POINT (-40.334557 -2.795104)'))) / (select extract(epoch from '2026-06-22 02:49:53'::timestamp) - extract(epoch from '2026-06-22 02:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.33448 -2.795012)', '2026-06-22 02:50:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334557 -2.795104)'), GeomFromEWKT('SRID=4674;POINT (-40.33448 -2.795012)'))) / (select extract(epoch from '2026-06-22 02:50:01'::timestamp) - extract(epoch from '2026-06-22 02:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334557 -2.795104)'), GeomFromEWKT('SRID=4674;POINT (-40.33448 -2.795012)'))) / (select extract(epoch from '2026-06-22 02:50:01'::timestamp) - extract(epoch from '2026-06-22 02:49: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'), 46715, 'SRID=4674;POINT (-40.334396 -2.794893)', '2026-06-22 02:50:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33448 -2.795012)'), GeomFromEWKT('SRID=4674;POINT (-40.334396 -2.794893)'))) / (select extract(epoch from '2026-06-22 02:50:10'::timestamp) - extract(epoch from '2026-06-22 02:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33448 -2.795012)'), GeomFromEWKT('SRID=4674;POINT (-40.334396 -2.794893)'))) / (select extract(epoch from '2026-06-22 02:50:10'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46715, 'SRID=4674;POINT (-40.334345 -2.794807)', '2026-06-22 02:50:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334396 -2.794893)'), GeomFromEWKT('SRID=4674;POINT (-40.334345 -2.794807)'))) / (select extract(epoch from '2026-06-22 02:50:16'::timestamp) - extract(epoch from '2026-06-22 02:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334396 -2.794893)'), GeomFromEWKT('SRID=4674;POINT (-40.334345 -2.794807)'))) / (select extract(epoch from '2026-06-22 02:50:16'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46715, 'SRID=4674;POINT (-40.334259 -2.794682)', '2026-06-22 02:50:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334345 -2.794807)'), GeomFromEWKT('SRID=4674;POINT (-40.334259 -2.794682)'))) / (select extract(epoch from '2026-06-22 02:50:25'::timestamp) - extract(epoch from '2026-06-22 02:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334345 -2.794807)'), GeomFromEWKT('SRID=4674;POINT (-40.334259 -2.794682)'))) / (select extract(epoch from '2026-06-22 02:50:25'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46715, 'SRID=4674;POINT (-40.334191 -2.79461)', '2026-06-22 02:50:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334259 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.334191 -2.79461)'))) / (select extract(epoch from '2026-06-22 02:50:31'::timestamp) - extract(epoch from '2026-06-22 02:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334259 -2.794682)'), GeomFromEWKT('SRID=4674;POINT (-40.334191 -2.79461)'))) / (select extract(epoch from '2026-06-22 02:50:31'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46715, 'SRID=4674;POINT (-40.334118 -2.794516)', '2026-06-22 02:50:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334191 -2.79461)'), GeomFromEWKT('SRID=4674;POINT (-40.334118 -2.794516)'))) / (select extract(epoch from '2026-06-22 02:50:38'::timestamp) - extract(epoch from '2026-06-22 02:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334191 -2.79461)'), GeomFromEWKT('SRID=4674;POINT (-40.334118 -2.794516)'))) / (select extract(epoch from '2026-06-22 02:50:38'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46715, 'SRID=4674;POINT (-40.334065 -2.794415)', '2026-06-22 02:50:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334118 -2.794516)'), GeomFromEWKT('SRID=4674;POINT (-40.334065 -2.794415)'))) / (select extract(epoch from '2026-06-22 02:50:45'::timestamp) - extract(epoch from '2026-06-22 02:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334118 -2.794516)'), GeomFromEWKT('SRID=4674;POINT (-40.334065 -2.794415)'))) / (select extract(epoch from '2026-06-22 02:50:45'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46715, 'SRID=4674;POINT (-40.334018 -2.794311)', '2026-06-22 02:50:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334065 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.334018 -2.794311)'))) / (select extract(epoch from '2026-06-22 02:50:52'::timestamp) - extract(epoch from '2026-06-22 02:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334065 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.334018 -2.794311)'))) / (select extract(epoch from '2026-06-22 02:50:52'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46715, 'SRID=4674;POINT (-40.333964 -2.794223)', '2026-06-22 02:50:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334018 -2.794311)'), GeomFromEWKT('SRID=4674;POINT (-40.333964 -2.794223)'))) / (select extract(epoch from '2026-06-22 02:50:59'::timestamp) - extract(epoch from '2026-06-22 02:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334018 -2.794311)'), GeomFromEWKT('SRID=4674;POINT (-40.333964 -2.794223)'))) / (select extract(epoch from '2026-06-22 02:50:59'::timestamp) - extract(epoch from '2026-06-22 02:50: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'), 46715, 'SRID=4674;POINT (-40.333907 -2.794139)', '2026-06-22 02:51:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333964 -2.794223)'), GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.794139)'))) / (select extract(epoch from '2026-06-22 02:51:05'::timestamp) - extract(epoch from '2026-06-22 02:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333964 -2.794223)'), GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.794139)'))) / (select extract(epoch from '2026-06-22 02:51:05'::timestamp) - extract(epoch from '2026-06-22 02:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.333837 -2.794047)', '2026-06-22 02:51:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.794139)'), GeomFromEWKT('SRID=4674;POINT (-40.333837 -2.794047)'))) / (select extract(epoch from '2026-06-22 02:51:12'::timestamp) - extract(epoch from '2026-06-22 02:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333907 -2.794139)'), GeomFromEWKT('SRID=4674;POINT (-40.333837 -2.794047)'))) / (select extract(epoch from '2026-06-22 02:51:12'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46715, 'SRID=4674;POINT (-40.33377 -2.793968)', '2026-06-22 02:51:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333837 -2.794047)'), GeomFromEWKT('SRID=4674;POINT (-40.33377 -2.793968)'))) / (select extract(epoch from '2026-06-22 02:51:18'::timestamp) - extract(epoch from '2026-06-22 02:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333837 -2.794047)'), GeomFromEWKT('SRID=4674;POINT (-40.33377 -2.793968)'))) / (select extract(epoch from '2026-06-22 02:51:18'::timestamp) - extract(epoch from '2026-06-22 02:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.333694 -2.793889)', '2026-06-22 02:51:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33377 -2.793968)'), GeomFromEWKT('SRID=4674;POINT (-40.333694 -2.793889)'))) / (select extract(epoch from '2026-06-22 02:51:25'::timestamp) - extract(epoch from '2026-06-22 02:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33377 -2.793968)'), GeomFromEWKT('SRID=4674;POINT (-40.333694 -2.793889)'))) / (select extract(epoch from '2026-06-22 02:51:25'::timestamp) - extract(epoch from '2026-06-22 02:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.333612 -2.793822)', '2026-06-22 02:51:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333694 -2.793889)'), GeomFromEWKT('SRID=4674;POINT (-40.333612 -2.793822)'))) / (select extract(epoch from '2026-06-22 02:51:32'::timestamp) - extract(epoch from '2026-06-22 02:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333694 -2.793889)'), GeomFromEWKT('SRID=4674;POINT (-40.333612 -2.793822)'))) / (select extract(epoch from '2026-06-22 02:51:32'::timestamp) - extract(epoch from '2026-06-22 02:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.333528 -2.793758)', '2026-06-22 02:51:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333612 -2.793822)'), GeomFromEWKT('SRID=4674;POINT (-40.333528 -2.793758)'))) / (select extract(epoch from '2026-06-22 02:51:39'::timestamp) - extract(epoch from '2026-06-22 02:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333612 -2.793822)'), GeomFromEWKT('SRID=4674;POINT (-40.333528 -2.793758)'))) / (select extract(epoch from '2026-06-22 02:51:39'::timestamp) - extract(epoch from '2026-06-22 02:51:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.333455 -2.793722)', '2026-06-22 02:51:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333528 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.333455 -2.793722)'))) / (select extract(epoch from '2026-06-22 02:51:45'::timestamp) - extract(epoch from '2026-06-22 02:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333528 -2.793758)'), GeomFromEWKT('SRID=4674;POINT (-40.333455 -2.793722)'))) / (select extract(epoch from '2026-06-22 02:51:45'::timestamp) - extract(epoch from '2026-06-22 02:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.333352 -2.793648)', '2026-06-22 02:51:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333455 -2.793722)'), GeomFromEWKT('SRID=4674;POINT (-40.333352 -2.793648)'))) / (select extract(epoch from '2026-06-22 02:51:54'::timestamp) - extract(epoch from '2026-06-22 02:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333455 -2.793722)'), GeomFromEWKT('SRID=4674;POINT (-40.333352 -2.793648)'))) / (select extract(epoch from '2026-06-22 02:51:54'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46715, 'SRID=4674;POINT (-40.333277 -2.793599)', '2026-06-22 02:52:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333352 -2.793648)'), GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.793599)'))) / (select extract(epoch from '2026-06-22 02:52:00'::timestamp) - extract(epoch from '2026-06-22 02:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333352 -2.793648)'), GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.793599)'))) / (select extract(epoch from '2026-06-22 02:52:00'::timestamp) - extract(epoch from '2026-06-22 02:51: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'), 46715, 'SRID=4674;POINT (-40.333174 -2.793528)', '2026-06-22 02:52:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.793599)'), GeomFromEWKT('SRID=4674;POINT (-40.333174 -2.793528)'))) / (select extract(epoch from '2026-06-22 02:52:08'::timestamp) - extract(epoch from '2026-06-22 02:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333277 -2.793599)'), GeomFromEWKT('SRID=4674;POINT (-40.333174 -2.793528)'))) / (select extract(epoch from '2026-06-22 02:52:08'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.333087 -2.793496)', '2026-06-22 02:52:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333174 -2.793528)'), GeomFromEWKT('SRID=4674;POINT (-40.333087 -2.793496)'))) / (select extract(epoch from '2026-06-22 02:52:14'::timestamp) - extract(epoch from '2026-06-22 02:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333174 -2.793528)'), GeomFromEWKT('SRID=4674;POINT (-40.333087 -2.793496)'))) / (select extract(epoch from '2026-06-22 02:52:14'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46715, 'SRID=4674;POINT (-40.332998 -2.793472)', '2026-06-22 02:52:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333087 -2.793496)'), GeomFromEWKT('SRID=4674;POINT (-40.332998 -2.793472)'))) / (select extract(epoch from '2026-06-22 02:52:20'::timestamp) - extract(epoch from '2026-06-22 02:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333087 -2.793496)'), GeomFromEWKT('SRID=4674;POINT (-40.332998 -2.793472)'))) / (select extract(epoch from '2026-06-22 02:52:20'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46715, 'SRID=4674;POINT (-40.332912 -2.79349)', '2026-06-22 02:52:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332998 -2.793472)'), GeomFromEWKT('SRID=4674;POINT (-40.332912 -2.79349)'))) / (select extract(epoch from '2026-06-22 02:52:26'::timestamp) - extract(epoch from '2026-06-22 02:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332998 -2.793472)'), GeomFromEWKT('SRID=4674;POINT (-40.332912 -2.79349)'))) / (select extract(epoch from '2026-06-22 02:52:26'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46715, 'SRID=4674;POINT (-40.332854 -2.793516)', '2026-06-22 02:52:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332912 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.332854 -2.793516)'))) / (select extract(epoch from '2026-06-22 02:52:31'::timestamp) - extract(epoch from '2026-06-22 02:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332912 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.332854 -2.793516)'))) / (select extract(epoch from '2026-06-22 02:52:31'::timestamp) - extract(epoch from '2026-06-22 02:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.332779 -2.793574)', '2026-06-22 02:52:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332854 -2.793516)'), GeomFromEWKT('SRID=4674;POINT (-40.332779 -2.793574)'))) / (select extract(epoch from '2026-06-22 02:52:39'::timestamp) - extract(epoch from '2026-06-22 02:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332854 -2.793516)'), GeomFromEWKT('SRID=4674;POINT (-40.332779 -2.793574)'))) / (select extract(epoch from '2026-06-22 02:52:39'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46715, 'SRID=4674;POINT (-40.332692 -2.793616)', '2026-06-22 02:52:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332779 -2.793574)'), GeomFromEWKT('SRID=4674;POINT (-40.332692 -2.793616)'))) / (select extract(epoch from '2026-06-22 02:52:46'::timestamp) - extract(epoch from '2026-06-22 02:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332779 -2.793574)'), GeomFromEWKT('SRID=4674;POINT (-40.332692 -2.793616)'))) / (select extract(epoch from '2026-06-22 02:52:46'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46715, 'SRID=4674;POINT (-40.332578 -2.79364)', '2026-06-22 02:52:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332692 -2.793616)'), GeomFromEWKT('SRID=4674;POINT (-40.332578 -2.79364)'))) / (select extract(epoch from '2026-06-22 02:52:54'::timestamp) - extract(epoch from '2026-06-22 02:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332692 -2.793616)'), GeomFromEWKT('SRID=4674;POINT (-40.332578 -2.79364)'))) / (select extract(epoch from '2026-06-22 02:52:54'::timestamp) - extract(epoch from '2026-06-22 02:52:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.332472 -2.793666)', '2026-06-22 02:53:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332578 -2.79364)'), GeomFromEWKT('SRID=4674;POINT (-40.332472 -2.793666)'))) / (select extract(epoch from '2026-06-22 02:53:01'::timestamp) - extract(epoch from '2026-06-22 02:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332578 -2.79364)'), GeomFromEWKT('SRID=4674;POINT (-40.332472 -2.793666)'))) / (select extract(epoch from '2026-06-22 02:53:01'::timestamp) - extract(epoch from '2026-06-22 02:52: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'), 46715, 'SRID=4674;POINT (-40.332361 -2.79375)', '2026-06-22 02:53:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332472 -2.793666)'), GeomFromEWKT('SRID=4674;POINT (-40.332361 -2.79375)'))) / (select extract(epoch from '2026-06-22 02:53:10'::timestamp) - extract(epoch from '2026-06-22 02:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332472 -2.793666)'), GeomFromEWKT('SRID=4674;POINT (-40.332361 -2.79375)'))) / (select extract(epoch from '2026-06-22 02:53:10'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46715, 'SRID=4674;POINT (-40.332279 -2.793803)', '2026-06-22 02:53:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332361 -2.79375)'), GeomFromEWKT('SRID=4674;POINT (-40.332279 -2.793803)'))) / (select extract(epoch from '2026-06-22 02:53:16'::timestamp) - extract(epoch from '2026-06-22 02:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332361 -2.79375)'), GeomFromEWKT('SRID=4674;POINT (-40.332279 -2.793803)'))) / (select extract(epoch from '2026-06-22 02:53:16'::timestamp) - extract(epoch from '2026-06-22 02:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.332199 -2.793843)', '2026-06-22 02:53:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332279 -2.793803)'), GeomFromEWKT('SRID=4674;POINT (-40.332199 -2.793843)'))) / (select extract(epoch from '2026-06-22 02:53:22'::timestamp) - extract(epoch from '2026-06-22 02:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332279 -2.793803)'), GeomFromEWKT('SRID=4674;POINT (-40.332199 -2.793843)'))) / (select extract(epoch from '2026-06-22 02:53:22'::timestamp) - extract(epoch from '2026-06-22 02:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.33209 -2.793869)', '2026-06-22 02:53:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332199 -2.793843)'), GeomFromEWKT('SRID=4674;POINT (-40.33209 -2.793869)'))) / (select extract(epoch from '2026-06-22 02:53:29'::timestamp) - extract(epoch from '2026-06-22 02:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332199 -2.793843)'), GeomFromEWKT('SRID=4674;POINT (-40.33209 -2.793869)'))) / (select extract(epoch from '2026-06-22 02:53:29'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46715, 'SRID=4674;POINT (-40.332005 -2.793898)', '2026-06-22 02:53:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33209 -2.793869)'), GeomFromEWKT('SRID=4674;POINT (-40.332005 -2.793898)'))) / (select extract(epoch from '2026-06-22 02:53:35'::timestamp) - extract(epoch from '2026-06-22 02:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33209 -2.793869)'), GeomFromEWKT('SRID=4674;POINT (-40.332005 -2.793898)'))) / (select extract(epoch from '2026-06-22 02:53:35'::timestamp) - extract(epoch from '2026-06-22 02:53:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.331917 -2.793913)', '2026-06-22 02:53:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332005 -2.793898)'), GeomFromEWKT('SRID=4674;POINT (-40.331917 -2.793913)'))) / (select extract(epoch from '2026-06-22 02:53:41'::timestamp) - extract(epoch from '2026-06-22 02:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332005 -2.793898)'), GeomFromEWKT('SRID=4674;POINT (-40.331917 -2.793913)'))) / (select extract(epoch from '2026-06-22 02:53:41'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.3318 -2.793895)', '2026-06-22 02:53:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331917 -2.793913)'), GeomFromEWKT('SRID=4674;POINT (-40.3318 -2.793895)'))) / (select extract(epoch from '2026-06-22 02:53:49'::timestamp) - extract(epoch from '2026-06-22 02:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331917 -2.793913)'), GeomFromEWKT('SRID=4674;POINT (-40.3318 -2.793895)'))) / (select extract(epoch from '2026-06-22 02:53:49'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46715, 'SRID=4674;POINT (-40.331682 -2.793876)', '2026-06-22 02:53:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3318 -2.793895)'), GeomFromEWKT('SRID=4674;POINT (-40.331682 -2.793876)'))) / (select extract(epoch from '2026-06-22 02:53:57'::timestamp) - extract(epoch from '2026-06-22 02:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3318 -2.793895)'), GeomFromEWKT('SRID=4674;POINT (-40.331682 -2.793876)'))) / (select extract(epoch from '2026-06-22 02:53:57'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46715, 'SRID=4674;POINT (-40.331614 -2.793871)', '2026-06-22 02:54:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331682 -2.793876)'), GeomFromEWKT('SRID=4674;POINT (-40.331614 -2.793871)'))) / (select extract(epoch from '2026-06-22 02:54:03'::timestamp) - extract(epoch from '2026-06-22 02:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331682 -2.793876)'), GeomFromEWKT('SRID=4674;POINT (-40.331614 -2.793871)'))) / (select extract(epoch from '2026-06-22 02:54:03'::timestamp) - extract(epoch from '2026-06-22 02:53: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'), 46715, 'SRID=4674;POINT (-40.331545 -2.793874)', '2026-06-22 02:54:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331614 -2.793871)'), GeomFromEWKT('SRID=4674;POINT (-40.331545 -2.793874)'))) / (select extract(epoch from '2026-06-22 02:54:13'::timestamp) - extract(epoch from '2026-06-22 02:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331614 -2.793871)'), GeomFromEWKT('SRID=4674;POINT (-40.331545 -2.793874)'))) / (select extract(epoch from '2026-06-22 02:54:13'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46715, 'SRID=4674;POINT (-40.331453 -2.793886)', '2026-06-22 02:54:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331545 -2.793874)'), GeomFromEWKT('SRID=4674;POINT (-40.331453 -2.793886)'))) / (select extract(epoch from '2026-06-22 02:54:27'::timestamp) - extract(epoch from '2026-06-22 02:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331545 -2.793874)'), GeomFromEWKT('SRID=4674;POINT (-40.331453 -2.793886)'))) / (select extract(epoch from '2026-06-22 02:54:27'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46715, 'SRID=4674;POINT (-40.331332 -2.79392)', '2026-06-22 02:54:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331453 -2.793886)'), GeomFromEWKT('SRID=4674;POINT (-40.331332 -2.79392)'))) / (select extract(epoch from '2026-06-22 02:54:40'::timestamp) - extract(epoch from '2026-06-22 02:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331453 -2.793886)'), GeomFromEWKT('SRID=4674;POINT (-40.331332 -2.79392)'))) / (select extract(epoch from '2026-06-22 02:54:40'::timestamp) - extract(epoch from '2026-06-22 02:54: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'), 46715, 'SRID=4674;POINT (-40.331211 -2.793961)', '2026-06-22 02:54:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331332 -2.79392)'), GeomFromEWKT('SRID=4674;POINT (-40.331211 -2.793961)'))) / (select extract(epoch from '2026-06-22 02:54:53'::timestamp) - extract(epoch from '2026-06-22 02:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331332 -2.79392)'), GeomFromEWKT('SRID=4674;POINT (-40.331211 -2.793961)'))) / (select extract(epoch from '2026-06-22 02:54:53'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.331066 -2.793987)', '2026-06-22 02:55:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331211 -2.793961)'), GeomFromEWKT('SRID=4674;POINT (-40.331066 -2.793987)'))) / (select extract(epoch from '2026-06-22 02:55:05'::timestamp) - extract(epoch from '2026-06-22 02:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331211 -2.793961)'), GeomFromEWKT('SRID=4674;POINT (-40.331066 -2.793987)'))) / (select extract(epoch from '2026-06-22 02:55:05'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.330996 -2.79398)', '2026-06-22 02:55:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331066 -2.793987)'), GeomFromEWKT('SRID=4674;POINT (-40.330996 -2.79398)'))) / (select extract(epoch from '2026-06-22 02:55:11'::timestamp) - extract(epoch from '2026-06-22 02:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331066 -2.793987)'), GeomFromEWKT('SRID=4674;POINT (-40.330996 -2.79398)'))) / (select extract(epoch from '2026-06-22 02:55:11'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46715, 'SRID=4674;POINT (-40.330984 -2.793979)', '2026-06-22 02:55:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330996 -2.79398)'), GeomFromEWKT('SRID=4674;POINT (-40.330984 -2.793979)'))) / (select extract(epoch from '2026-06-22 02:55:12'::timestamp) - extract(epoch from '2026-06-22 02:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330996 -2.79398)'), GeomFromEWKT('SRID=4674;POINT (-40.330984 -2.793979)'))) / (select extract(epoch from '2026-06-22 02:55:12'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.330928 -2.793972)', '2026-06-22 02:55:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330984 -2.793979)'), GeomFromEWKT('SRID=4674;POINT (-40.330928 -2.793972)'))) / (select extract(epoch from '2026-06-22 02:55:17'::timestamp) - extract(epoch from '2026-06-22 02:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330984 -2.793979)'), GeomFromEWKT('SRID=4674;POINT (-40.330928 -2.793972)'))) / (select extract(epoch from '2026-06-22 02:55:17'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46715, 'SRID=4674;POINT (-40.33084 -2.793977)', '2026-06-22 02:55:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330928 -2.793972)'), GeomFromEWKT('SRID=4674;POINT (-40.33084 -2.793977)'))) / (select extract(epoch from '2026-06-22 02:55:27'::timestamp) - extract(epoch from '2026-06-22 02:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330928 -2.793972)'), GeomFromEWKT('SRID=4674;POINT (-40.33084 -2.793977)'))) / (select extract(epoch from '2026-06-22 02:55:27'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46715, 'SRID=4674;POINT (-40.330788 -2.794012)', '2026-06-22 02:55:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33084 -2.793977)'), GeomFromEWKT('SRID=4674;POINT (-40.330788 -2.794012)'))) / (select extract(epoch from '2026-06-22 02:55:37'::timestamp) - extract(epoch from '2026-06-22 02:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33084 -2.793977)'), GeomFromEWKT('SRID=4674;POINT (-40.330788 -2.794012)'))) / (select extract(epoch from '2026-06-22 02:55:37'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.330817 -2.794062)', '2026-06-22 02:55:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330788 -2.794012)'), GeomFromEWKT('SRID=4674;POINT (-40.330817 -2.794062)'))) / (select extract(epoch from '2026-06-22 02:55:46'::timestamp) - extract(epoch from '2026-06-22 02:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330788 -2.794012)'), GeomFromEWKT('SRID=4674;POINT (-40.330817 -2.794062)'))) / (select extract(epoch from '2026-06-22 02:55:46'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46715, 'SRID=4674;POINT (-40.330896 -2.794115)', '2026-06-22 02:55:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330817 -2.794062)'), GeomFromEWKT('SRID=4674;POINT (-40.330896 -2.794115)'))) / (select extract(epoch from '2026-06-22 02:55:55'::timestamp) - extract(epoch from '2026-06-22 02:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330817 -2.794062)'), GeomFromEWKT('SRID=4674;POINT (-40.330896 -2.794115)'))) / (select extract(epoch from '2026-06-22 02:55:55'::timestamp) - extract(epoch from '2026-06-22 02:55: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'), 46715, 'SRID=4674;POINT (-40.330973 -2.794118)', '2026-06-22 02:56:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330896 -2.794115)'), GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.794118)'))) / (select extract(epoch from '2026-06-22 02:56:02'::timestamp) - extract(epoch from '2026-06-22 02:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330896 -2.794115)'), GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.794118)'))) / (select extract(epoch from '2026-06-22 02:56:02'::timestamp) - extract(epoch from '2026-06-22 02:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.330982 -2.794114)', '2026-06-22 02:56:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.794118)'), GeomFromEWKT('SRID=4674;POINT (-40.330982 -2.794114)'))) / (select extract(epoch from '2026-06-22 02:56:03'::timestamp) - extract(epoch from '2026-06-22 02:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330973 -2.794118)'), GeomFromEWKT('SRID=4674;POINT (-40.330982 -2.794114)'))) / (select extract(epoch from '2026-06-22 02:56:03'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46715, 'SRID=4674;POINT (-40.331043 -2.794049)', '2026-06-22 02:56:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330982 -2.794114)'), GeomFromEWKT('SRID=4674;POINT (-40.331043 -2.794049)'))) / (select extract(epoch from '2026-06-22 02:56:12'::timestamp) - extract(epoch from '2026-06-22 02:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330982 -2.794114)'), GeomFromEWKT('SRID=4674;POINT (-40.331043 -2.794049)'))) / (select extract(epoch from '2026-06-22 02:56:12'::timestamp) - extract(epoch from '2026-06-22 02:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.331059 -2.793995)', '2026-06-22 02:56:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331043 -2.794049)'), GeomFromEWKT('SRID=4674;POINT (-40.331059 -2.793995)'))) / (select extract(epoch from '2026-06-22 02:56:19'::timestamp) - extract(epoch from '2026-06-22 02:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331043 -2.794049)'), GeomFromEWKT('SRID=4674;POINT (-40.331059 -2.793995)'))) / (select extract(epoch from '2026-06-22 02:56:19'::timestamp) - extract(epoch from '2026-06-22 02:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.331025 -2.793913)', '2026-06-22 02:56:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331059 -2.793995)'), GeomFromEWKT('SRID=4674;POINT (-40.331025 -2.793913)'))) / (select extract(epoch from '2026-06-22 02:56:29'::timestamp) - extract(epoch from '2026-06-22 02:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331059 -2.793995)'), GeomFromEWKT('SRID=4674;POINT (-40.331025 -2.793913)'))) / (select extract(epoch from '2026-06-22 02:56:29'::timestamp) - extract(epoch from '2026-06-22 02:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.330953 -2.793867)', '2026-06-22 02:56:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331025 -2.793913)'), GeomFromEWKT('SRID=4674;POINT (-40.330953 -2.793867)'))) / (select extract(epoch from '2026-06-22 02:56:40'::timestamp) - extract(epoch from '2026-06-22 02:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331025 -2.793913)'), GeomFromEWKT('SRID=4674;POINT (-40.330953 -2.793867)'))) / (select extract(epoch from '2026-06-22 02:56:40'::timestamp) - extract(epoch from '2026-06-22 02:56: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'), 46715, 'SRID=4674;POINT (-40.330874 -2.793842)', '2026-06-22 02:56:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330953 -2.793867)'), GeomFromEWKT('SRID=4674;POINT (-40.330874 -2.793842)'))) / (select extract(epoch from '2026-06-22 02:56:50'::timestamp) - extract(epoch from '2026-06-22 02:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330953 -2.793867)'), GeomFromEWKT('SRID=4674;POINT (-40.330874 -2.793842)'))) / (select extract(epoch from '2026-06-22 02:56:50'::timestamp) - extract(epoch from '2026-06-22 02:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.330746 -2.793803)', '2026-06-22 02:57:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330874 -2.793842)'), GeomFromEWKT('SRID=4674;POINT (-40.330746 -2.793803)'))) / (select extract(epoch from '2026-06-22 02:57:01'::timestamp) - extract(epoch from '2026-06-22 02:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330874 -2.793842)'), GeomFromEWKT('SRID=4674;POINT (-40.330746 -2.793803)'))) / (select extract(epoch from '2026-06-22 02:57:01'::timestamp) - extract(epoch from '2026-06-22 02:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.330665 -2.793799)', '2026-06-22 02:57:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330746 -2.793803)'), GeomFromEWKT('SRID=4674;POINT (-40.330665 -2.793799)'))) / (select extract(epoch from '2026-06-22 02:57:08'::timestamp) - extract(epoch from '2026-06-22 02:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330746 -2.793803)'), GeomFromEWKT('SRID=4674;POINT (-40.330665 -2.793799)'))) / (select extract(epoch from '2026-06-22 02:57:08'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46715, 'SRID=4674;POINT (-40.330575 -2.793785)', '2026-06-22 02:57:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330665 -2.793799)'), GeomFromEWKT('SRID=4674;POINT (-40.330575 -2.793785)'))) / (select extract(epoch from '2026-06-22 02:57:15'::timestamp) - extract(epoch from '2026-06-22 02:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330665 -2.793799)'), GeomFromEWKT('SRID=4674;POINT (-40.330575 -2.793785)'))) / (select extract(epoch from '2026-06-22 02:57:15'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46715, 'SRID=4674;POINT (-40.330443 -2.793763)', '2026-06-22 02:57:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330575 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.330443 -2.793763)'))) / (select extract(epoch from '2026-06-22 02:57:25'::timestamp) - extract(epoch from '2026-06-22 02:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330575 -2.793785)'), GeomFromEWKT('SRID=4674;POINT (-40.330443 -2.793763)'))) / (select extract(epoch from '2026-06-22 02:57:25'::timestamp) - extract(epoch from '2026-06-22 02:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.330353 -2.793751)', '2026-06-22 02:57:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330443 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.330353 -2.793751)'))) / (select extract(epoch from '2026-06-22 02:57:33'::timestamp) - extract(epoch from '2026-06-22 02:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330443 -2.793763)'), GeomFromEWKT('SRID=4674;POINT (-40.330353 -2.793751)'))) / (select extract(epoch from '2026-06-22 02:57:33'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46715, 'SRID=4674;POINT (-40.330277 -2.793748)', '2026-06-22 02:57:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330353 -2.793751)'), GeomFromEWKT('SRID=4674;POINT (-40.330277 -2.793748)'))) / (select extract(epoch from '2026-06-22 02:57:40'::timestamp) - extract(epoch from '2026-06-22 02:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330353 -2.793751)'), GeomFromEWKT('SRID=4674;POINT (-40.330277 -2.793748)'))) / (select extract(epoch from '2026-06-22 02:57:40'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46715, 'SRID=4674;POINT (-40.330201 -2.793728)', '2026-06-22 02:57:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330277 -2.793748)'), GeomFromEWKT('SRID=4674;POINT (-40.330201 -2.793728)'))) / (select extract(epoch from '2026-06-22 02:57:47'::timestamp) - extract(epoch from '2026-06-22 02:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330277 -2.793748)'), GeomFromEWKT('SRID=4674;POINT (-40.330201 -2.793728)'))) / (select extract(epoch from '2026-06-22 02:57:47'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46715, 'SRID=4674;POINT (-40.33012 -2.793703)', '2026-06-22 02:57:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330201 -2.793728)'), GeomFromEWKT('SRID=4674;POINT (-40.33012 -2.793703)'))) / (select extract(epoch from '2026-06-22 02:57:54'::timestamp) - extract(epoch from '2026-06-22 02:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330201 -2.793728)'), GeomFromEWKT('SRID=4674;POINT (-40.33012 -2.793703)'))) / (select extract(epoch from '2026-06-22 02:57:54'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.330098 -2.793696)', '2026-06-22 02:57:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33012 -2.793703)'), GeomFromEWKT('SRID=4674;POINT (-40.330098 -2.793696)'))) / (select extract(epoch from '2026-06-22 02:57:56'::timestamp) - extract(epoch from '2026-06-22 02:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33012 -2.793703)'), GeomFromEWKT('SRID=4674;POINT (-40.330098 -2.793696)'))) / (select extract(epoch from '2026-06-22 02:57:56'::timestamp) - extract(epoch from '2026-06-22 02:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.330049 -2.793682)', '2026-06-22 02:58:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330098 -2.793696)'), GeomFromEWKT('SRID=4674;POINT (-40.330049 -2.793682)'))) / (select extract(epoch from '2026-06-22 02:58:00'::timestamp) - extract(epoch from '2026-06-22 02:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330098 -2.793696)'), GeomFromEWKT('SRID=4674;POINT (-40.330049 -2.793682)'))) / (select extract(epoch from '2026-06-22 02:58:00'::timestamp) - extract(epoch from '2026-06-22 02:57: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'), 46715, 'SRID=4674;POINT (-40.329952 -2.793641)', '2026-06-22 02:58:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330049 -2.793682)'), GeomFromEWKT('SRID=4674;POINT (-40.329952 -2.793641)'))) / (select extract(epoch from '2026-06-22 02:58:09'::timestamp) - extract(epoch from '2026-06-22 02:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330049 -2.793682)'), GeomFromEWKT('SRID=4674;POINT (-40.329952 -2.793641)'))) / (select extract(epoch from '2026-06-22 02:58:09'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.329891 -2.793616)', '2026-06-22 02:58:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329952 -2.793641)'), GeomFromEWKT('SRID=4674;POINT (-40.329891 -2.793616)'))) / (select extract(epoch from '2026-06-22 02:58:15'::timestamp) - extract(epoch from '2026-06-22 02:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329952 -2.793641)'), GeomFromEWKT('SRID=4674;POINT (-40.329891 -2.793616)'))) / (select extract(epoch from '2026-06-22 02:58:15'::timestamp) - extract(epoch from '2026-06-22 02:58: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'), 46715, 'SRID=4674;POINT (-40.329839 -2.793592)', '2026-06-22 02:58:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329891 -2.793616)'), GeomFromEWKT('SRID=4674;POINT (-40.329839 -2.793592)'))) / (select extract(epoch from '2026-06-22 02:58:20'::timestamp) - extract(epoch from '2026-06-22 02:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329891 -2.793616)'), GeomFromEWKT('SRID=4674;POINT (-40.329839 -2.793592)'))) / (select extract(epoch from '2026-06-22 02:58:20'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.329774 -2.793579)', '2026-06-22 02:58:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329839 -2.793592)'), GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.793579)'))) / (select extract(epoch from '2026-06-22 02:58:27'::timestamp) - extract(epoch from '2026-06-22 02:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329839 -2.793592)'), GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.793579)'))) / (select extract(epoch from '2026-06-22 02:58:27'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.329716 -2.793559)', '2026-06-22 02:58:34', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.793579)'), GeomFromEWKT('SRID=4674;POINT (-40.329716 -2.793559)'))) / (select extract(epoch from '2026-06-22 02:58:34'::timestamp) - extract(epoch from '2026-06-22 02:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329774 -2.793579)'), GeomFromEWKT('SRID=4674;POINT (-40.329716 -2.793559)'))) / (select extract(epoch from '2026-06-22 02:58:34'::timestamp) - extract(epoch from '2026-06-22 02:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.329648 -2.79352)', '2026-06-22 02:58:41', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329716 -2.793559)'), GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.79352)'))) / (select extract(epoch from '2026-06-22 02:58:41'::timestamp) - extract(epoch from '2026-06-22 02:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329716 -2.793559)'), GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.79352)'))) / (select extract(epoch from '2026-06-22 02:58:41'::timestamp) - extract(epoch from '2026-06-22 02:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.329574 -2.793507)', '2026-06-22 02:58:48', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.79352)'), GeomFromEWKT('SRID=4674;POINT (-40.329574 -2.793507)'))) / (select extract(epoch from '2026-06-22 02:58:48'::timestamp) - extract(epoch from '2026-06-22 02:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.79352)'), GeomFromEWKT('SRID=4674;POINT (-40.329574 -2.793507)'))) / (select extract(epoch from '2026-06-22 02:58:48'::timestamp) - extract(epoch from '2026-06-22 02:58:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.329513 -2.793495)', '2026-06-22 02:58:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329574 -2.793507)'), GeomFromEWKT('SRID=4674;POINT (-40.329513 -2.793495)'))) / (select extract(epoch from '2026-06-22 02:58:54'::timestamp) - extract(epoch from '2026-06-22 02:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329574 -2.793507)'), GeomFromEWKT('SRID=4674;POINT (-40.329513 -2.793495)'))) / (select extract(epoch from '2026-06-22 02:58:54'::timestamp) - extract(epoch from '2026-06-22 02:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.329435 -2.793472)', '2026-06-22 02:59:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329513 -2.793495)'), GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.793472)'))) / (select extract(epoch from '2026-06-22 02:59:02'::timestamp) - extract(epoch from '2026-06-22 02:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329513 -2.793495)'), GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.793472)'))) / (select extract(epoch from '2026-06-22 02:59:02'::timestamp) - extract(epoch from '2026-06-22 02:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.329346 -2.793452)', '2026-06-22 02:59:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.793472)'), GeomFromEWKT('SRID=4674;POINT (-40.329346 -2.793452)'))) / (select extract(epoch from '2026-06-22 02:59:11'::timestamp) - extract(epoch from '2026-06-22 02:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.793472)'), GeomFromEWKT('SRID=4674;POINT (-40.329346 -2.793452)'))) / (select extract(epoch from '2026-06-22 02:59:11'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.329272 -2.793432)', '2026-06-22 02:59:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329346 -2.793452)'), GeomFromEWKT('SRID=4674;POINT (-40.329272 -2.793432)'))) / (select extract(epoch from '2026-06-22 02:59:18'::timestamp) - extract(epoch from '2026-06-22 02:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329346 -2.793452)'), GeomFromEWKT('SRID=4674;POINT (-40.329272 -2.793432)'))) / (select extract(epoch from '2026-06-22 02:59:18'::timestamp) - extract(epoch from '2026-06-22 02:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.329212 -2.79341)', '2026-06-22 02:59:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329272 -2.793432)'), GeomFromEWKT('SRID=4674;POINT (-40.329212 -2.79341)'))) / (select extract(epoch from '2026-06-22 02:59:23'::timestamp) - extract(epoch from '2026-06-22 02:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329272 -2.793432)'), GeomFromEWKT('SRID=4674;POINT (-40.329212 -2.79341)'))) / (select extract(epoch from '2026-06-22 02:59:23'::timestamp) - extract(epoch from '2026-06-22 02:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.329137 -2.793384)', '2026-06-22 02:59:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329212 -2.79341)'), GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.793384)'))) / (select extract(epoch from '2026-06-22 02:59:29'::timestamp) - extract(epoch from '2026-06-22 02:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329212 -2.79341)'), GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.793384)'))) / (select extract(epoch from '2026-06-22 02:59:29'::timestamp) - extract(epoch from '2026-06-22 02:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.329126 -2.793383)', '2026-06-22 02:59:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.793384)'), GeomFromEWKT('SRID=4674;POINT (-40.329126 -2.793383)'))) / (select extract(epoch from '2026-06-22 02:59:30'::timestamp) - extract(epoch from '2026-06-22 02:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.793384)'), GeomFromEWKT('SRID=4674;POINT (-40.329126 -2.793383)'))) / (select extract(epoch from '2026-06-22 02:59:30'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.329075 -2.793379)', '2026-06-22 02:59:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329126 -2.793383)'), GeomFromEWKT('SRID=4674;POINT (-40.329075 -2.793379)'))) / (select extract(epoch from '2026-06-22 02:59:35'::timestamp) - extract(epoch from '2026-06-22 02:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329126 -2.793383)'), GeomFromEWKT('SRID=4674;POINT (-40.329075 -2.793379)'))) / (select extract(epoch from '2026-06-22 02:59:35'::timestamp) - extract(epoch from '2026-06-22 02:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.32902 -2.79339)', '2026-06-22 02:59:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329075 -2.793379)'), GeomFromEWKT('SRID=4674;POINT (-40.32902 -2.79339)'))) / (select extract(epoch from '2026-06-22 02:59:40'::timestamp) - extract(epoch from '2026-06-22 02:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329075 -2.793379)'), GeomFromEWKT('SRID=4674;POINT (-40.32902 -2.79339)'))) / (select extract(epoch from '2026-06-22 02:59:40'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46715, 'SRID=4674;POINT (-40.328946 -2.793404)', '2026-06-22 02:59:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32902 -2.79339)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.793404)'))) / (select extract(epoch from '2026-06-22 02:59:47'::timestamp) - extract(epoch from '2026-06-22 02:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32902 -2.79339)'), GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.793404)'))) / (select extract(epoch from '2026-06-22 02:59:47'::timestamp) - extract(epoch from '2026-06-22 02:59: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'), 46715, 'SRID=4674;POINT (-40.328884 -2.793417)', '2026-06-22 02:59:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.793404)'), GeomFromEWKT('SRID=4674;POINT (-40.328884 -2.793417)'))) / (select extract(epoch from '2026-06-22 02:59:53'::timestamp) - extract(epoch from '2026-06-22 02:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328946 -2.793404)'), GeomFromEWKT('SRID=4674;POINT (-40.328884 -2.793417)'))) / (select extract(epoch from '2026-06-22 02:59:53'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.328807 -2.793422)', '2026-06-22 03:00:00', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328884 -2.793417)'), GeomFromEWKT('SRID=4674;POINT (-40.328807 -2.793422)'))) / (select extract(epoch from '2026-06-22 03:00:00'::timestamp) - extract(epoch from '2026-06-22 02:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328884 -2.793417)'), GeomFromEWKT('SRID=4674;POINT (-40.328807 -2.793422)'))) / (select extract(epoch from '2026-06-22 03:00:00'::timestamp) - extract(epoch from '2026-06-22 02: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'), 46715, 'SRID=4674;POINT (-40.32872 -2.793426)', '2026-06-22 03:00:08', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328807 -2.793422)'), GeomFromEWKT('SRID=4674;POINT (-40.32872 -2.793426)'))) / (select extract(epoch from '2026-06-22 03:00:08'::timestamp) - extract(epoch from '2026-06-22 03:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328807 -2.793422)'), GeomFromEWKT('SRID=4674;POINT (-40.32872 -2.793426)'))) / (select extract(epoch from '2026-06-22 03:00:08'::timestamp) - extract(epoch from '2026-06-22 03:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.328665 -2.79343)', '2026-06-22 03:00:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32872 -2.793426)'), GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.79343)'))) / (select extract(epoch from '2026-06-22 03:00:13'::timestamp) - extract(epoch from '2026-06-22 03:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32872 -2.793426)'), GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.79343)'))) / (select extract(epoch from '2026-06-22 03:00:13'::timestamp) - extract(epoch from '2026-06-22 03:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.328576 -2.793433)', '2026-06-22 03:00:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.79343)'), GeomFromEWKT('SRID=4674;POINT (-40.328576 -2.793433)'))) / (select extract(epoch from '2026-06-22 03:00:21'::timestamp) - extract(epoch from '2026-06-22 03:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.79343)'), GeomFromEWKT('SRID=4674;POINT (-40.328576 -2.793433)'))) / (select extract(epoch from '2026-06-22 03:00:21'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.328488 -2.793457)', '2026-06-22 03:00:29', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328576 -2.793433)'), GeomFromEWKT('SRID=4674;POINT (-40.328488 -2.793457)'))) / (select extract(epoch from '2026-06-22 03:00:29'::timestamp) - extract(epoch from '2026-06-22 03:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328576 -2.793433)'), GeomFromEWKT('SRID=4674;POINT (-40.328488 -2.793457)'))) / (select extract(epoch from '2026-06-22 03:00:29'::timestamp) - extract(epoch from '2026-06-22 03:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.328476 -2.793461)', '2026-06-22 03:00:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328488 -2.793457)'), GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.793461)'))) / (select extract(epoch from '2026-06-22 03:00:30'::timestamp) - extract(epoch from '2026-06-22 03:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328488 -2.793457)'), GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.793461)'))) / (select extract(epoch from '2026-06-22 03:00:30'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.328423 -2.793464)', '2026-06-22 03:00:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.793461)'), GeomFromEWKT('SRID=4674;POINT (-40.328423 -2.793464)'))) / (select extract(epoch from '2026-06-22 03:00:35'::timestamp) - extract(epoch from '2026-06-22 03:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328476 -2.793461)'), GeomFromEWKT('SRID=4674;POINT (-40.328423 -2.793464)'))) / (select extract(epoch from '2026-06-22 03:00:35'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46715, 'SRID=4674;POINT (-40.328352 -2.793483)', '2026-06-22 03:00:41', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328423 -2.793464)'), GeomFromEWKT('SRID=4674;POINT (-40.328352 -2.793483)'))) / (select extract(epoch from '2026-06-22 03:00:41'::timestamp) - extract(epoch from '2026-06-22 03:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328423 -2.793464)'), GeomFromEWKT('SRID=4674;POINT (-40.328352 -2.793483)'))) / (select extract(epoch from '2026-06-22 03:00:41'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46715, 'SRID=4674;POINT (-40.328276 -2.79349)', '2026-06-22 03:00:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328352 -2.793483)'), GeomFromEWKT('SRID=4674;POINT (-40.328276 -2.79349)'))) / (select extract(epoch from '2026-06-22 03:00:47'::timestamp) - extract(epoch from '2026-06-22 03:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328352 -2.793483)'), GeomFromEWKT('SRID=4674;POINT (-40.328276 -2.79349)'))) / (select extract(epoch from '2026-06-22 03:00:47'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46715, 'SRID=4674;POINT (-40.328181 -2.793481)', '2026-06-22 03:00:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328276 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.328181 -2.793481)'))) / (select extract(epoch from '2026-06-22 03:00:55'::timestamp) - extract(epoch from '2026-06-22 03:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328276 -2.79349)'), GeomFromEWKT('SRID=4674;POINT (-40.328181 -2.793481)'))) / (select extract(epoch from '2026-06-22 03:00:55'::timestamp) - extract(epoch from '2026-06-22 03:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.328068 -2.793475)', '2026-06-22 03:01:04', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328181 -2.793481)'), GeomFromEWKT('SRID=4674;POINT (-40.328068 -2.793475)'))) / (select extract(epoch from '2026-06-22 03:01:04'::timestamp) - extract(epoch from '2026-06-22 03:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328181 -2.793481)'), GeomFromEWKT('SRID=4674;POINT (-40.328068 -2.793475)'))) / (select extract(epoch from '2026-06-22 03:01:04'::timestamp) - extract(epoch from '2026-06-22 03:00: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'), 46715, 'SRID=4674;POINT (-40.328006 -2.793477)', '2026-06-22 03:01:09', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328068 -2.793475)'), GeomFromEWKT('SRID=4674;POINT (-40.328006 -2.793477)'))) / (select extract(epoch from '2026-06-22 03:01:09'::timestamp) - extract(epoch from '2026-06-22 03:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328068 -2.793475)'), GeomFromEWKT('SRID=4674;POINT (-40.328006 -2.793477)'))) / (select extract(epoch from '2026-06-22 03:01:09'::timestamp) - extract(epoch from '2026-06-22 03:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.327996 -2.793477)', '2026-06-22 03:01:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328006 -2.793477)'), GeomFromEWKT('SRID=4674;POINT (-40.327996 -2.793477)'))) / (select extract(epoch from '2026-06-22 03:01:10'::timestamp) - extract(epoch from '2026-06-22 03:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328006 -2.793477)'), GeomFromEWKT('SRID=4674;POINT (-40.327996 -2.793477)'))) / (select extract(epoch from '2026-06-22 03:01:10'::timestamp) - extract(epoch from '2026-06-22 03:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.327973 -2.793476)', '2026-06-22 03:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327996 -2.793477)'), GeomFromEWKT('SRID=4674;POINT (-40.327973 -2.793476)'))) / (select extract(epoch from '2026-06-22 03:01:12'::timestamp) - extract(epoch from '2026-06-22 03:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327996 -2.793477)'), GeomFromEWKT('SRID=4674;POINT (-40.327973 -2.793476)'))) / (select extract(epoch from '2026-06-22 03:01:12'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46715, 'SRID=4674;POINT (-40.327962 -2.793475)', '2026-06-22 03:01:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327973 -2.793476)'), GeomFromEWKT('SRID=4674;POINT (-40.327962 -2.793475)'))) / (select extract(epoch from '2026-06-22 03:01:13'::timestamp) - extract(epoch from '2026-06-22 03:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327973 -2.793476)'), GeomFromEWKT('SRID=4674;POINT (-40.327962 -2.793475)'))) / (select extract(epoch from '2026-06-22 03:01:13'::timestamp) - extract(epoch from '2026-06-22 03:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.32789 -2.793463)', '2026-06-22 03:01:20', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327962 -2.793475)'), GeomFromEWKT('SRID=4674;POINT (-40.32789 -2.793463)'))) / (select extract(epoch from '2026-06-22 03:01:20'::timestamp) - extract(epoch from '2026-06-22 03:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327962 -2.793475)'), GeomFromEWKT('SRID=4674;POINT (-40.32789 -2.793463)'))) / (select extract(epoch from '2026-06-22 03:01:20'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46715, 'SRID=4674;POINT (-40.327817 -2.793433)', '2026-06-22 03:01:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32789 -2.793463)'), GeomFromEWKT('SRID=4674;POINT (-40.327817 -2.793433)'))) / (select extract(epoch from '2026-06-22 03:01:27'::timestamp) - extract(epoch from '2026-06-22 03:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32789 -2.793463)'), GeomFromEWKT('SRID=4674;POINT (-40.327817 -2.793433)'))) / (select extract(epoch from '2026-06-22 03:01:27'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46715, 'SRID=4674;POINT (-40.327712 -2.793372)', '2026-06-22 03:01:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327817 -2.793433)'), GeomFromEWKT('SRID=4674;POINT (-40.327712 -2.793372)'))) / (select extract(epoch from '2026-06-22 03:01:37'::timestamp) - extract(epoch from '2026-06-22 03:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327817 -2.793433)'), GeomFromEWKT('SRID=4674;POINT (-40.327712 -2.793372)'))) / (select extract(epoch from '2026-06-22 03:01:37'::timestamp) - extract(epoch from '2026-06-22 03:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.327669 -2.793347)', '2026-06-22 03:01:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327712 -2.793372)'), GeomFromEWKT('SRID=4674;POINT (-40.327669 -2.793347)'))) / (select extract(epoch from '2026-06-22 03:01:41'::timestamp) - extract(epoch from '2026-06-22 03:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327712 -2.793372)'), GeomFromEWKT('SRID=4674;POINT (-40.327669 -2.793347)'))) / (select extract(epoch from '2026-06-22 03:01:41'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46715, 'SRID=4674;POINT (-40.32765 -2.793337)', '2026-06-22 03:01:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327669 -2.793347)'), GeomFromEWKT('SRID=4674;POINT (-40.32765 -2.793337)'))) / (select extract(epoch from '2026-06-22 03:01:43'::timestamp) - extract(epoch from '2026-06-22 03:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327669 -2.793347)'), GeomFromEWKT('SRID=4674;POINT (-40.32765 -2.793337)'))) / (select extract(epoch from '2026-06-22 03:01:43'::timestamp) - extract(epoch from '2026-06-22 03:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.327578 -2.793315)', '2026-06-22 03:01:49', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32765 -2.793337)'), GeomFromEWKT('SRID=4674;POINT (-40.327578 -2.793315)'))) / (select extract(epoch from '2026-06-22 03:01:49'::timestamp) - extract(epoch from '2026-06-22 03:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32765 -2.793337)'), GeomFromEWKT('SRID=4674;POINT (-40.327578 -2.793315)'))) / (select extract(epoch from '2026-06-22 03:01:49'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46715, 'SRID=4674;POINT (-40.327566 -2.793308)', '2026-06-22 03:01:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327578 -2.793315)'), GeomFromEWKT('SRID=4674;POINT (-40.327566 -2.793308)'))) / (select extract(epoch from '2026-06-22 03:01:50'::timestamp) - extract(epoch from '2026-06-22 03:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327578 -2.793315)'), GeomFromEWKT('SRID=4674;POINT (-40.327566 -2.793308)'))) / (select extract(epoch from '2026-06-22 03:01:50'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46715, 'SRID=4674;POINT (-40.327502 -2.793264)', '2026-06-22 03:01:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327566 -2.793308)'), GeomFromEWKT('SRID=4674;POINT (-40.327502 -2.793264)'))) / (select extract(epoch from '2026-06-22 03:01:55'::timestamp) - extract(epoch from '2026-06-22 03:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327566 -2.793308)'), GeomFromEWKT('SRID=4674;POINT (-40.327502 -2.793264)'))) / (select extract(epoch from '2026-06-22 03:01:55'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.327435 -2.793213)', '2026-06-22 03:02:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327502 -2.793264)'), GeomFromEWKT('SRID=4674;POINT (-40.327435 -2.793213)'))) / (select extract(epoch from '2026-06-22 03:02:00'::timestamp) - extract(epoch from '2026-06-22 03:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327502 -2.793264)'), GeomFromEWKT('SRID=4674;POINT (-40.327435 -2.793213)'))) / (select extract(epoch from '2026-06-22 03:02:00'::timestamp) - extract(epoch from '2026-06-22 03:01: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'), 46715, 'SRID=4674;POINT (-40.327337 -2.793124)', '2026-06-22 03:02:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327435 -2.793213)'), GeomFromEWKT('SRID=4674;POINT (-40.327337 -2.793124)'))) / (select extract(epoch from '2026-06-22 03:02:07'::timestamp) - extract(epoch from '2026-06-22 03:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327435 -2.793213)'), GeomFromEWKT('SRID=4674;POINT (-40.327337 -2.793124)'))) / (select extract(epoch from '2026-06-22 03:02:07'::timestamp) - extract(epoch from '2026-06-22 03:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.327242 -2.793042)', '2026-06-22 03:02:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327337 -2.793124)'), GeomFromEWKT('SRID=4674;POINT (-40.327242 -2.793042)'))) / (select extract(epoch from '2026-06-22 03:02:13'::timestamp) - extract(epoch from '2026-06-22 03:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327337 -2.793124)'), GeomFromEWKT('SRID=4674;POINT (-40.327242 -2.793042)'))) / (select extract(epoch from '2026-06-22 03:02:13'::timestamp) - extract(epoch from '2026-06-22 03:02:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.327134 -2.792953)', '2026-06-22 03:02:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327242 -2.793042)'), GeomFromEWKT('SRID=4674;POINT (-40.327134 -2.792953)'))) / (select extract(epoch from '2026-06-22 03:02:20'::timestamp) - extract(epoch from '2026-06-22 03:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327242 -2.793042)'), GeomFromEWKT('SRID=4674;POINT (-40.327134 -2.792953)'))) / (select extract(epoch from '2026-06-22 03:02:20'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46715, 'SRID=4674;POINT (-40.327058 -2.792891)', '2026-06-22 03:02:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327134 -2.792953)'), GeomFromEWKT('SRID=4674;POINT (-40.327058 -2.792891)'))) / (select extract(epoch from '2026-06-22 03:02:26'::timestamp) - extract(epoch from '2026-06-22 03:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327134 -2.792953)'), GeomFromEWKT('SRID=4674;POINT (-40.327058 -2.792891)'))) / (select extract(epoch from '2026-06-22 03:02:26'::timestamp) - extract(epoch from '2026-06-22 03:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.32699 -2.792826)', '2026-06-22 03:02:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327058 -2.792891)'), GeomFromEWKT('SRID=4674;POINT (-40.32699 -2.792826)'))) / (select extract(epoch from '2026-06-22 03:02:32'::timestamp) - extract(epoch from '2026-06-22 03:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327058 -2.792891)'), GeomFromEWKT('SRID=4674;POINT (-40.32699 -2.792826)'))) / (select extract(epoch from '2026-06-22 03:02:32'::timestamp) - extract(epoch from '2026-06-22 03:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326903 -2.792743)', '2026-06-22 03:02:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32699 -2.792826)'), GeomFromEWKT('SRID=4674;POINT (-40.326903 -2.792743)'))) / (select extract(epoch from '2026-06-22 03:02:40'::timestamp) - extract(epoch from '2026-06-22 03:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32699 -2.792826)'), GeomFromEWKT('SRID=4674;POINT (-40.326903 -2.792743)'))) / (select extract(epoch from '2026-06-22 03:02:40'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46715, 'SRID=4674;POINT (-40.326862 -2.792633)', '2026-06-22 03:02:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326903 -2.792743)'), GeomFromEWKT('SRID=4674;POINT (-40.326862 -2.792633)'))) / (select extract(epoch from '2026-06-22 03:02:48'::timestamp) - extract(epoch from '2026-06-22 03:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326903 -2.792743)'), GeomFromEWKT('SRID=4674;POINT (-40.326862 -2.792633)'))) / (select extract(epoch from '2026-06-22 03:02:48'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46715, 'SRID=4674;POINT (-40.326861 -2.792621)', '2026-06-22 03:02:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326862 -2.792633)'), GeomFromEWKT('SRID=4674;POINT (-40.326861 -2.792621)'))) / (select extract(epoch from '2026-06-22 03:02:49'::timestamp) - extract(epoch from '2026-06-22 03:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326862 -2.792633)'), GeomFromEWKT('SRID=4674;POINT (-40.326861 -2.792621)'))) / (select extract(epoch from '2026-06-22 03:02:49'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46715, 'SRID=4674;POINT (-40.326849 -2.79257)', '2026-06-22 03:02:53', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326861 -2.792621)'), GeomFromEWKT('SRID=4674;POINT (-40.326849 -2.79257)'))) / (select extract(epoch from '2026-06-22 03:02:53'::timestamp) - extract(epoch from '2026-06-22 03:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326861 -2.792621)'), GeomFromEWKT('SRID=4674;POINT (-40.326849 -2.79257)'))) / (select extract(epoch from '2026-06-22 03:02:53'::timestamp) - extract(epoch from '2026-06-22 03:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326825 -2.792491)', '2026-06-22 03:02:59', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326849 -2.79257)'), GeomFromEWKT('SRID=4674;POINT (-40.326825 -2.792491)'))) / (select extract(epoch from '2026-06-22 03:02:59'::timestamp) - extract(epoch from '2026-06-22 03:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326849 -2.79257)'), GeomFromEWKT('SRID=4674;POINT (-40.326825 -2.792491)'))) / (select extract(epoch from '2026-06-22 03:02:59'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.326788 -2.792384)', '2026-06-22 03:03:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326825 -2.792491)'), GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.792384)'))) / (select extract(epoch from '2026-06-22 03:03:06'::timestamp) - extract(epoch from '2026-06-22 03:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326825 -2.792491)'), GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.792384)'))) / (select extract(epoch from '2026-06-22 03:03:06'::timestamp) - extract(epoch from '2026-06-22 03:02: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'), 46715, 'SRID=4674;POINT (-40.326754 -2.792297)', '2026-06-22 03:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.792384)'), GeomFromEWKT('SRID=4674;POINT (-40.326754 -2.792297)'))) / (select extract(epoch from '2026-06-22 03:03:12'::timestamp) - extract(epoch from '2026-06-22 03:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326788 -2.792384)'), GeomFromEWKT('SRID=4674;POINT (-40.326754 -2.792297)'))) / (select extract(epoch from '2026-06-22 03:03:12'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46715, 'SRID=4674;POINT (-40.326712 -2.792188)', '2026-06-22 03:03:19', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326754 -2.792297)'), GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.792188)'))) / (select extract(epoch from '2026-06-22 03:03:19'::timestamp) - extract(epoch from '2026-06-22 03:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326754 -2.792297)'), GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.792188)'))) / (select extract(epoch from '2026-06-22 03:03:19'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.32665 -2.792051)', '2026-06-22 03:03:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.792188)'), GeomFromEWKT('SRID=4674;POINT (-40.32665 -2.792051)'))) / (select extract(epoch from '2026-06-22 03:03:28'::timestamp) - extract(epoch from '2026-06-22 03:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.792188)'), GeomFromEWKT('SRID=4674;POINT (-40.32665 -2.792051)'))) / (select extract(epoch from '2026-06-22 03:03:28'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46715, 'SRID=4674;POINT (-40.326617 -2.791919)', '2026-06-22 03:03:36', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32665 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.326617 -2.791919)'))) / (select extract(epoch from '2026-06-22 03:03:36'::timestamp) - extract(epoch from '2026-06-22 03:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32665 -2.792051)'), GeomFromEWKT('SRID=4674;POINT (-40.326617 -2.791919)'))) / (select extract(epoch from '2026-06-22 03:03:36'::timestamp) - extract(epoch from '2026-06-22 03:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326568 -2.79179)', '2026-06-22 03:03:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326617 -2.791919)'), GeomFromEWKT('SRID=4674;POINT (-40.326568 -2.79179)'))) / (select extract(epoch from '2026-06-22 03:03:44'::timestamp) - extract(epoch from '2026-06-22 03:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326617 -2.791919)'), GeomFromEWKT('SRID=4674;POINT (-40.326568 -2.79179)'))) / (select extract(epoch from '2026-06-22 03:03:44'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46715, 'SRID=4674;POINT (-40.326533 -2.791691)', '2026-06-22 03:03:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326568 -2.79179)'), GeomFromEWKT('SRID=4674;POINT (-40.326533 -2.791691)'))) / (select extract(epoch from '2026-06-22 03:03:50'::timestamp) - extract(epoch from '2026-06-22 03:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326568 -2.79179)'), GeomFromEWKT('SRID=4674;POINT (-40.326533 -2.791691)'))) / (select extract(epoch from '2026-06-22 03:03:50'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46715, 'SRID=4674;POINT (-40.326493 -2.791588)', '2026-06-22 03:03:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326533 -2.791691)'), GeomFromEWKT('SRID=4674;POINT (-40.326493 -2.791588)'))) / (select extract(epoch from '2026-06-22 03:03:57'::timestamp) - extract(epoch from '2026-06-22 03:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326533 -2.791691)'), GeomFromEWKT('SRID=4674;POINT (-40.326493 -2.791588)'))) / (select extract(epoch from '2026-06-22 03:03:57'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46715, 'SRID=4674;POINT (-40.326449 -2.79149)', '2026-06-22 03:04:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326493 -2.791588)'), GeomFromEWKT('SRID=4674;POINT (-40.326449 -2.79149)'))) / (select extract(epoch from '2026-06-22 03:04:04'::timestamp) - extract(epoch from '2026-06-22 03:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326493 -2.791588)'), GeomFromEWKT('SRID=4674;POINT (-40.326449 -2.79149)'))) / (select extract(epoch from '2026-06-22 03:04:04'::timestamp) - extract(epoch from '2026-06-22 03:03: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'), 46715, 'SRID=4674;POINT (-40.32641 -2.791416)', '2026-06-22 03:04:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326449 -2.79149)'), GeomFromEWKT('SRID=4674;POINT (-40.32641 -2.791416)'))) / (select extract(epoch from '2026-06-22 03:04:11'::timestamp) - extract(epoch from '2026-06-22 03:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326449 -2.79149)'), GeomFromEWKT('SRID=4674;POINT (-40.32641 -2.791416)'))) / (select extract(epoch from '2026-06-22 03:04:11'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46715, 'SRID=4674;POINT (-40.326356 -2.791332)', '2026-06-22 03:04:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32641 -2.791416)'), GeomFromEWKT('SRID=4674;POINT (-40.326356 -2.791332)'))) / (select extract(epoch from '2026-06-22 03:04:18'::timestamp) - extract(epoch from '2026-06-22 03:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32641 -2.791416)'), GeomFromEWKT('SRID=4674;POINT (-40.326356 -2.791332)'))) / (select extract(epoch from '2026-06-22 03:04:18'::timestamp) - extract(epoch from '2026-06-22 03:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326349 -2.79132)', '2026-06-22 03:04:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326356 -2.791332)'), GeomFromEWKT('SRID=4674;POINT (-40.326349 -2.79132)'))) / (select extract(epoch from '2026-06-22 03:04:19'::timestamp) - extract(epoch from '2026-06-22 03:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326356 -2.791332)'), GeomFromEWKT('SRID=4674;POINT (-40.326349 -2.79132)'))) / (select extract(epoch from '2026-06-22 03:04:19'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46715, 'SRID=4674;POINT (-40.326316 -2.791254)', '2026-06-22 03:04:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326349 -2.79132)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.791254)'))) / (select extract(epoch from '2026-06-22 03:04:24'::timestamp) - extract(epoch from '2026-06-22 03:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326349 -2.79132)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.791254)'))) / (select extract(epoch from '2026-06-22 03:04:24'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46715, 'SRID=4674;POINT (-40.326306 -2.791206)', '2026-06-22 03:04:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.791254)'), GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.791206)'))) / (select extract(epoch from '2026-06-22 03:04:27'::timestamp) - extract(epoch from '2026-06-22 03:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.791254)'), GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.791206)'))) / (select extract(epoch from '2026-06-22 03:04:27'::timestamp) - extract(epoch from '2026-06-22 03:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326296 -2.791156)', '2026-06-22 03:04:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.791206)'), GeomFromEWKT('SRID=4674;POINT (-40.326296 -2.791156)'))) / (select extract(epoch from '2026-06-22 03:04:30'::timestamp) - extract(epoch from '2026-06-22 03:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.791206)'), GeomFromEWKT('SRID=4674;POINT (-40.326296 -2.791156)'))) / (select extract(epoch from '2026-06-22 03:04:30'::timestamp) - extract(epoch from '2026-06-22 03:04: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'), 46715, 'SRID=4674;POINT (-40.326271 -2.791027)', '2026-06-22 03:04:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326296 -2.791156)'), GeomFromEWKT('SRID=4674;POINT (-40.326271 -2.791027)'))) / (select extract(epoch from '2026-06-22 03:04:37'::timestamp) - extract(epoch from '2026-06-22 03:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326296 -2.791156)'), GeomFromEWKT('SRID=4674;POINT (-40.326271 -2.791027)'))) / (select extract(epoch from '2026-06-22 03:04:37'::timestamp) - extract(epoch from '2026-06-22 03:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326256 -2.790915)', '2026-06-22 03:04:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326271 -2.791027)'), GeomFromEWKT('SRID=4674;POINT (-40.326256 -2.790915)'))) / (select extract(epoch from '2026-06-22 03:04:43'::timestamp) - extract(epoch from '2026-06-22 03:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326271 -2.791027)'), GeomFromEWKT('SRID=4674;POINT (-40.326256 -2.790915)'))) / (select extract(epoch from '2026-06-22 03:04:43'::timestamp) - extract(epoch from '2026-06-22 03:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326233 -2.790793)', '2026-06-22 03:04:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326256 -2.790915)'), GeomFromEWKT('SRID=4674;POINT (-40.326233 -2.790793)'))) / (select extract(epoch from '2026-06-22 03:04:49'::timestamp) - extract(epoch from '2026-06-22 03:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326256 -2.790915)'), GeomFromEWKT('SRID=4674;POINT (-40.326233 -2.790793)'))) / (select extract(epoch from '2026-06-22 03:04:49'::timestamp) - extract(epoch from '2026-06-22 03:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326199 -2.790679)', '2026-06-22 03:04:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326233 -2.790793)'), GeomFromEWKT('SRID=4674;POINT (-40.326199 -2.790679)'))) / (select extract(epoch from '2026-06-22 03:04:55'::timestamp) - extract(epoch from '2026-06-22 03:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326233 -2.790793)'), GeomFromEWKT('SRID=4674;POINT (-40.326199 -2.790679)'))) / (select extract(epoch from '2026-06-22 03:04:55'::timestamp) - extract(epoch from '2026-06-22 03:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326161 -2.790565)', '2026-06-22 03:05:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326199 -2.790679)'), GeomFromEWKT('SRID=4674;POINT (-40.326161 -2.790565)'))) / (select extract(epoch from '2026-06-22 03:05:01'::timestamp) - extract(epoch from '2026-06-22 03:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326199 -2.790679)'), GeomFromEWKT('SRID=4674;POINT (-40.326161 -2.790565)'))) / (select extract(epoch from '2026-06-22 03:05:01'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.3261 -2.790437)', '2026-06-22 03:05:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326161 -2.790565)'), GeomFromEWKT('SRID=4674;POINT (-40.3261 -2.790437)'))) / (select extract(epoch from '2026-06-22 03:05:08'::timestamp) - extract(epoch from '2026-06-22 03:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326161 -2.790565)'), GeomFromEWKT('SRID=4674;POINT (-40.3261 -2.790437)'))) / (select extract(epoch from '2026-06-22 03:05:08'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46715, 'SRID=4674;POINT (-40.326041 -2.790302)', '2026-06-22 03:05:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3261 -2.790437)'), GeomFromEWKT('SRID=4674;POINT (-40.326041 -2.790302)'))) / (select extract(epoch from '2026-06-22 03:05:15'::timestamp) - extract(epoch from '2026-06-22 03:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3261 -2.790437)'), GeomFromEWKT('SRID=4674;POINT (-40.326041 -2.790302)'))) / (select extract(epoch from '2026-06-22 03:05:15'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46715, 'SRID=4674;POINT (-40.326 -2.790182)', '2026-06-22 03:05:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326041 -2.790302)'), GeomFromEWKT('SRID=4674;POINT (-40.326 -2.790182)'))) / (select extract(epoch from '2026-06-22 03:05:21'::timestamp) - extract(epoch from '2026-06-22 03:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326041 -2.790302)'), GeomFromEWKT('SRID=4674;POINT (-40.326 -2.790182)'))) / (select extract(epoch from '2026-06-22 03:05:21'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46715, 'SRID=4674;POINT (-40.325961 -2.790066)', '2026-06-22 03:05:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326 -2.790182)'), GeomFromEWKT('SRID=4674;POINT (-40.325961 -2.790066)'))) / (select extract(epoch from '2026-06-22 03:05:27'::timestamp) - extract(epoch from '2026-06-22 03:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326 -2.790182)'), GeomFromEWKT('SRID=4674;POINT (-40.325961 -2.790066)'))) / (select extract(epoch from '2026-06-22 03:05:27'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46715, 'SRID=4674;POINT (-40.325946 -2.789944)', '2026-06-22 03:05:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325961 -2.790066)'), GeomFromEWKT('SRID=4674;POINT (-40.325946 -2.789944)'))) / (select extract(epoch from '2026-06-22 03:05:33'::timestamp) - extract(epoch from '2026-06-22 03:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325961 -2.790066)'), GeomFromEWKT('SRID=4674;POINT (-40.325946 -2.789944)'))) / (select extract(epoch from '2026-06-22 03:05:33'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.325953 -2.789795)', '2026-06-22 03:05:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325946 -2.789944)'), GeomFromEWKT('SRID=4674;POINT (-40.325953 -2.789795)'))) / (select extract(epoch from '2026-06-22 03:05:40'::timestamp) - extract(epoch from '2026-06-22 03:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325946 -2.789944)'), GeomFromEWKT('SRID=4674;POINT (-40.325953 -2.789795)'))) / (select extract(epoch from '2026-06-22 03:05:40'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325947 -2.789623)', '2026-06-22 03:05:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325953 -2.789795)'), GeomFromEWKT('SRID=4674;POINT (-40.325947 -2.789623)'))) / (select extract(epoch from '2026-06-22 03:05:48'::timestamp) - extract(epoch from '2026-06-22 03:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325953 -2.789795)'), GeomFromEWKT('SRID=4674;POINT (-40.325947 -2.789623)'))) / (select extract(epoch from '2026-06-22 03:05:48'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46715, 'SRID=4674;POINT (-40.325918 -2.789451)', '2026-06-22 03:05:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325947 -2.789623)'), GeomFromEWKT('SRID=4674;POINT (-40.325918 -2.789451)'))) / (select extract(epoch from '2026-06-22 03:05:56'::timestamp) - extract(epoch from '2026-06-22 03:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325947 -2.789623)'), GeomFromEWKT('SRID=4674;POINT (-40.325918 -2.789451)'))) / (select extract(epoch from '2026-06-22 03:05:56'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46715, 'SRID=4674;POINT (-40.32589 -2.789311)', '2026-06-22 03:06:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325918 -2.789451)'), GeomFromEWKT('SRID=4674;POINT (-40.32589 -2.789311)'))) / (select extract(epoch from '2026-06-22 03:06:03'::timestamp) - extract(epoch from '2026-06-22 03:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325918 -2.789451)'), GeomFromEWKT('SRID=4674;POINT (-40.32589 -2.789311)'))) / (select extract(epoch from '2026-06-22 03:06:03'::timestamp) - extract(epoch from '2026-06-22 03:05: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'), 46715, 'SRID=4674;POINT (-40.325868 -2.789165)', '2026-06-22 03:06:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32589 -2.789311)'), GeomFromEWKT('SRID=4674;POINT (-40.325868 -2.789165)'))) / (select extract(epoch from '2026-06-22 03:06:10'::timestamp) - extract(epoch from '2026-06-22 03:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32589 -2.789311)'), GeomFromEWKT('SRID=4674;POINT (-40.325868 -2.789165)'))) / (select extract(epoch from '2026-06-22 03:06:10'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46715, 'SRID=4674;POINT (-40.325839 -2.789046)', '2026-06-22 03:06:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325868 -2.789165)'), GeomFromEWKT('SRID=4674;POINT (-40.325839 -2.789046)'))) / (select extract(epoch from '2026-06-22 03:06:16'::timestamp) - extract(epoch from '2026-06-22 03:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325868 -2.789165)'), GeomFromEWKT('SRID=4674;POINT (-40.325839 -2.789046)'))) / (select extract(epoch from '2026-06-22 03:06:16'::timestamp) - extract(epoch from '2026-06-22 03:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325803 -2.78896)', '2026-06-22 03:06:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325839 -2.789046)'), GeomFromEWKT('SRID=4674;POINT (-40.325803 -2.78896)'))) / (select extract(epoch from '2026-06-22 03:06:21'::timestamp) - extract(epoch from '2026-06-22 03:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325839 -2.789046)'), GeomFromEWKT('SRID=4674;POINT (-40.325803 -2.78896)'))) / (select extract(epoch from '2026-06-22 03:06:21'::timestamp) - extract(epoch from '2026-06-22 03:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325772 -2.788832)', '2026-06-22 03:06:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325803 -2.78896)'), GeomFromEWKT('SRID=4674;POINT (-40.325772 -2.788832)'))) / (select extract(epoch from '2026-06-22 03:06:28'::timestamp) - extract(epoch from '2026-06-22 03:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325803 -2.78896)'), GeomFromEWKT('SRID=4674;POINT (-40.325772 -2.788832)'))) / (select extract(epoch from '2026-06-22 03:06:28'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46715, 'SRID=4674;POINT (-40.325753 -2.788685)', '2026-06-22 03:06:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325772 -2.788832)'), GeomFromEWKT('SRID=4674;POINT (-40.325753 -2.788685)'))) / (select extract(epoch from '2026-06-22 03:06:35'::timestamp) - extract(epoch from '2026-06-22 03:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325772 -2.788832)'), GeomFromEWKT('SRID=4674;POINT (-40.325753 -2.788685)'))) / (select extract(epoch from '2026-06-22 03:06:35'::timestamp) - extract(epoch from '2026-06-22 03:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325733 -2.788555)', '2026-06-22 03:06:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325753 -2.788685)'), GeomFromEWKT('SRID=4674;POINT (-40.325733 -2.788555)'))) / (select extract(epoch from '2026-06-22 03:06:41'::timestamp) - extract(epoch from '2026-06-22 03:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325753 -2.788685)'), GeomFromEWKT('SRID=4674;POINT (-40.325733 -2.788555)'))) / (select extract(epoch from '2026-06-22 03:06:41'::timestamp) - extract(epoch from '2026-06-22 03:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325714 -2.788407)', '2026-06-22 03:06:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325733 -2.788555)'), GeomFromEWKT('SRID=4674;POINT (-40.325714 -2.788407)'))) / (select extract(epoch from '2026-06-22 03:06:48'::timestamp) - extract(epoch from '2026-06-22 03:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325733 -2.788555)'), GeomFromEWKT('SRID=4674;POINT (-40.325714 -2.788407)'))) / (select extract(epoch from '2026-06-22 03:06:48'::timestamp) - extract(epoch from '2026-06-22 03:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325699 -2.788243)', '2026-06-22 03:06:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325714 -2.788407)'), GeomFromEWKT('SRID=4674;POINT (-40.325699 -2.788243)'))) / (select extract(epoch from '2026-06-22 03:06:56'::timestamp) - extract(epoch from '2026-06-22 03:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325714 -2.788407)'), GeomFromEWKT('SRID=4674;POINT (-40.325699 -2.788243)'))) / (select extract(epoch from '2026-06-22 03:06:56'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46715, 'SRID=4674;POINT (-40.32566 -2.788074)', '2026-06-22 03:07:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325699 -2.788243)'), GeomFromEWKT('SRID=4674;POINT (-40.32566 -2.788074)'))) / (select extract(epoch from '2026-06-22 03:07:04'::timestamp) - extract(epoch from '2026-06-22 03:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325699 -2.788243)'), GeomFromEWKT('SRID=4674;POINT (-40.32566 -2.788074)'))) / (select extract(epoch from '2026-06-22 03:07:04'::timestamp) - extract(epoch from '2026-06-22 03:06: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'), 46715, 'SRID=4674;POINT (-40.325627 -2.787913)', '2026-06-22 03:07:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32566 -2.788074)'), GeomFromEWKT('SRID=4674;POINT (-40.325627 -2.787913)'))) / (select extract(epoch from '2026-06-22 03:07:12'::timestamp) - extract(epoch from '2026-06-22 03:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32566 -2.788074)'), GeomFromEWKT('SRID=4674;POINT (-40.325627 -2.787913)'))) / (select extract(epoch from '2026-06-22 03:07:12'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325611 -2.787784)', '2026-06-22 03:07:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325627 -2.787913)'), GeomFromEWKT('SRID=4674;POINT (-40.325611 -2.787784)'))) / (select extract(epoch from '2026-06-22 03:07:19'::timestamp) - extract(epoch from '2026-06-22 03:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325627 -2.787913)'), GeomFromEWKT('SRID=4674;POINT (-40.325611 -2.787784)'))) / (select extract(epoch from '2026-06-22 03:07:19'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325581 -2.787647)', '2026-06-22 03:07:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325611 -2.787784)'), GeomFromEWKT('SRID=4674;POINT (-40.325581 -2.787647)'))) / (select extract(epoch from '2026-06-22 03:07:26'::timestamp) - extract(epoch from '2026-06-22 03:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325611 -2.787784)'), GeomFromEWKT('SRID=4674;POINT (-40.325581 -2.787647)'))) / (select extract(epoch from '2026-06-22 03:07:26'::timestamp) - extract(epoch from '2026-06-22 03:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325535 -2.787506)', '2026-06-22 03:07:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325581 -2.787647)'), GeomFromEWKT('SRID=4674;POINT (-40.325535 -2.787506)'))) / (select extract(epoch from '2026-06-22 03:07:33'::timestamp) - extract(epoch from '2026-06-22 03:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325581 -2.787647)'), GeomFromEWKT('SRID=4674;POINT (-40.325535 -2.787506)'))) / (select extract(epoch from '2026-06-22 03:07:33'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.325525 -2.787382)', '2026-06-22 03:07:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325535 -2.787506)'), GeomFromEWKT('SRID=4674;POINT (-40.325525 -2.787382)'))) / (select extract(epoch from '2026-06-22 03:07:39'::timestamp) - extract(epoch from '2026-06-22 03:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325535 -2.787506)'), GeomFromEWKT('SRID=4674;POINT (-40.325525 -2.787382)'))) / (select extract(epoch from '2026-06-22 03:07:39'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46715, 'SRID=4674;POINT (-40.325531 -2.787236)', '2026-06-22 03:07:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325525 -2.787382)'), GeomFromEWKT('SRID=4674;POINT (-40.325531 -2.787236)'))) / (select extract(epoch from '2026-06-22 03:07:46'::timestamp) - extract(epoch from '2026-06-22 03:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325525 -2.787382)'), GeomFromEWKT('SRID=4674;POINT (-40.325531 -2.787236)'))) / (select extract(epoch from '2026-06-22 03:07:46'::timestamp) - extract(epoch from '2026-06-22 03:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325538 -2.787104)', '2026-06-22 03:07:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325531 -2.787236)'), GeomFromEWKT('SRID=4674;POINT (-40.325538 -2.787104)'))) / (select extract(epoch from '2026-06-22 03:07:52'::timestamp) - extract(epoch from '2026-06-22 03:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325531 -2.787236)'), GeomFromEWKT('SRID=4674;POINT (-40.325538 -2.787104)'))) / (select extract(epoch from '2026-06-22 03:07:52'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46715, 'SRID=4674;POINT (-40.325552 -2.786948)', '2026-06-22 03:07:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325538 -2.787104)'), GeomFromEWKT('SRID=4674;POINT (-40.325552 -2.786948)'))) / (select extract(epoch from '2026-06-22 03:07:59'::timestamp) - extract(epoch from '2026-06-22 03:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325538 -2.787104)'), GeomFromEWKT('SRID=4674;POINT (-40.325552 -2.786948)'))) / (select extract(epoch from '2026-06-22 03:07:59'::timestamp) - extract(epoch from '2026-06-22 03:07: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'), 46715, 'SRID=4674;POINT (-40.325547 -2.786833)', '2026-06-22 03:08:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325552 -2.786948)'), GeomFromEWKT('SRID=4674;POINT (-40.325547 -2.786833)'))) / (select extract(epoch from '2026-06-22 03:08:04'::timestamp) - extract(epoch from '2026-06-22 03:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325552 -2.786948)'), GeomFromEWKT('SRID=4674;POINT (-40.325547 -2.786833)'))) / (select extract(epoch from '2026-06-22 03:08:04'::timestamp) - extract(epoch from '2026-06-22 03:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325526 -2.786695)', '2026-06-22 03:08:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325547 -2.786833)'), GeomFromEWKT('SRID=4674;POINT (-40.325526 -2.786695)'))) / (select extract(epoch from '2026-06-22 03:08:10'::timestamp) - extract(epoch from '2026-06-22 03:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325547 -2.786833)'), GeomFromEWKT('SRID=4674;POINT (-40.325526 -2.786695)'))) / (select extract(epoch from '2026-06-22 03:08:10'::timestamp) - extract(epoch from '2026-06-22 03:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325505 -2.786537)', '2026-06-22 03:08:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325526 -2.786695)'), GeomFromEWKT('SRID=4674;POINT (-40.325505 -2.786537)'))) / (select extract(epoch from '2026-06-22 03:08:17'::timestamp) - extract(epoch from '2026-06-22 03:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325526 -2.786695)'), GeomFromEWKT('SRID=4674;POINT (-40.325505 -2.786537)'))) / (select extract(epoch from '2026-06-22 03:08:17'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46715, 'SRID=4674;POINT (-40.32549 -2.786398)', '2026-06-22 03:08:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325505 -2.786537)'), GeomFromEWKT('SRID=4674;POINT (-40.32549 -2.786398)'))) / (select extract(epoch from '2026-06-22 03:08:23'::timestamp) - extract(epoch from '2026-06-22 03:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325505 -2.786537)'), GeomFromEWKT('SRID=4674;POINT (-40.32549 -2.786398)'))) / (select extract(epoch from '2026-06-22 03:08:23'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.325473 -2.786283)', '2026-06-22 03:08:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32549 -2.786398)'), GeomFromEWKT('SRID=4674;POINT (-40.325473 -2.786283)'))) / (select extract(epoch from '2026-06-22 03:08:28'::timestamp) - extract(epoch from '2026-06-22 03:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32549 -2.786398)'), GeomFromEWKT('SRID=4674;POINT (-40.325473 -2.786283)'))) / (select extract(epoch from '2026-06-22 03:08:28'::timestamp) - extract(epoch from '2026-06-22 03:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325458 -2.786122)', '2026-06-22 03:08:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325473 -2.786283)'), GeomFromEWKT('SRID=4674;POINT (-40.325458 -2.786122)'))) / (select extract(epoch from '2026-06-22 03:08:35'::timestamp) - extract(epoch from '2026-06-22 03:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325473 -2.786283)'), GeomFromEWKT('SRID=4674;POINT (-40.325458 -2.786122)'))) / (select extract(epoch from '2026-06-22 03:08:35'::timestamp) - extract(epoch from '2026-06-22 03:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325461 -2.785969)', '2026-06-22 03:08:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325458 -2.786122)'), GeomFromEWKT('SRID=4674;POINT (-40.325461 -2.785969)'))) / (select extract(epoch from '2026-06-22 03:08:42'::timestamp) - extract(epoch from '2026-06-22 03:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325458 -2.786122)'), GeomFromEWKT('SRID=4674;POINT (-40.325461 -2.785969)'))) / (select extract(epoch from '2026-06-22 03:08:42'::timestamp) - extract(epoch from '2026-06-22 03:08: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'), 46715, 'SRID=4674;POINT (-40.325441 -2.785835)', '2026-06-22 03:08:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325461 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.325441 -2.785835)'))) / (select extract(epoch from '2026-06-22 03:08:48'::timestamp) - extract(epoch from '2026-06-22 03:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325461 -2.785969)'), GeomFromEWKT('SRID=4674;POINT (-40.325441 -2.785835)'))) / (select extract(epoch from '2026-06-22 03:08:48'::timestamp) - extract(epoch from '2026-06-22 03:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325415 -2.785699)', '2026-06-22 03:08:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325441 -2.785835)'), GeomFromEWKT('SRID=4674;POINT (-40.325415 -2.785699)'))) / (select extract(epoch from '2026-06-22 03:08:54'::timestamp) - extract(epoch from '2026-06-22 03:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325441 -2.785835)'), GeomFromEWKT('SRID=4674;POINT (-40.325415 -2.785699)'))) / (select extract(epoch from '2026-06-22 03:08:54'::timestamp) - extract(epoch from '2026-06-22 03:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325369 -2.785517)', '2026-06-22 03:09:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325415 -2.785699)'), GeomFromEWKT('SRID=4674;POINT (-40.325369 -2.785517)'))) / (select extract(epoch from '2026-06-22 03:09:02'::timestamp) - extract(epoch from '2026-06-22 03:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325415 -2.785699)'), GeomFromEWKT('SRID=4674;POINT (-40.325369 -2.785517)'))) / (select extract(epoch from '2026-06-22 03:09:02'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325336 -2.785332)', '2026-06-22 03:09:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325369 -2.785517)'), GeomFromEWKT('SRID=4674;POINT (-40.325336 -2.785332)'))) / (select extract(epoch from '2026-06-22 03:09:10'::timestamp) - extract(epoch from '2026-06-22 03:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325369 -2.785517)'), GeomFromEWKT('SRID=4674;POINT (-40.325336 -2.785332)'))) / (select extract(epoch from '2026-06-22 03:09:10'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325324 -2.785199)', '2026-06-22 03:09:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325336 -2.785332)'), GeomFromEWKT('SRID=4674;POINT (-40.325324 -2.785199)'))) / (select extract(epoch from '2026-06-22 03:09:16'::timestamp) - extract(epoch from '2026-06-22 03:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325336 -2.785332)'), GeomFromEWKT('SRID=4674;POINT (-40.325324 -2.785199)'))) / (select extract(epoch from '2026-06-22 03:09:16'::timestamp) - extract(epoch from '2026-06-22 03:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325309 -2.785066)', '2026-06-22 03:09:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325324 -2.785199)'), GeomFromEWKT('SRID=4674;POINT (-40.325309 -2.785066)'))) / (select extract(epoch from '2026-06-22 03:09:22'::timestamp) - extract(epoch from '2026-06-22 03:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325324 -2.785199)'), GeomFromEWKT('SRID=4674;POINT (-40.325309 -2.785066)'))) / (select extract(epoch from '2026-06-22 03:09:22'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46715, 'SRID=4674;POINT (-40.325292 -2.784932)', '2026-06-22 03:09:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325309 -2.785066)'), GeomFromEWKT('SRID=4674;POINT (-40.325292 -2.784932)'))) / (select extract(epoch from '2026-06-22 03:09:28'::timestamp) - extract(epoch from '2026-06-22 03:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325309 -2.785066)'), GeomFromEWKT('SRID=4674;POINT (-40.325292 -2.784932)'))) / (select extract(epoch from '2026-06-22 03:09:28'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325243 -2.784753)', '2026-06-22 03:09:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325292 -2.784932)'), GeomFromEWKT('SRID=4674;POINT (-40.325243 -2.784753)'))) / (select extract(epoch from '2026-06-22 03:09:36'::timestamp) - extract(epoch from '2026-06-22 03:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325292 -2.784932)'), GeomFromEWKT('SRID=4674;POINT (-40.325243 -2.784753)'))) / (select extract(epoch from '2026-06-22 03:09:36'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46715, 'SRID=4674;POINT (-40.325215 -2.784587)', '2026-06-22 03:09:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325243 -2.784753)'), GeomFromEWKT('SRID=4674;POINT (-40.325215 -2.784587)'))) / (select extract(epoch from '2026-06-22 03:09:43'::timestamp) - extract(epoch from '2026-06-22 03:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325243 -2.784753)'), GeomFromEWKT('SRID=4674;POINT (-40.325215 -2.784587)'))) / (select extract(epoch from '2026-06-22 03:09:43'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46715, 'SRID=4674;POINT (-40.325198 -2.784428)', '2026-06-22 03:09:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325215 -2.784587)'), GeomFromEWKT('SRID=4674;POINT (-40.325198 -2.784428)'))) / (select extract(epoch from '2026-06-22 03:09:50'::timestamp) - extract(epoch from '2026-06-22 03:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325215 -2.784587)'), GeomFromEWKT('SRID=4674;POINT (-40.325198 -2.784428)'))) / (select extract(epoch from '2026-06-22 03:09:50'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46715, 'SRID=4674;POINT (-40.325169 -2.784245)', '2026-06-22 03:09:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325198 -2.784428)'), GeomFromEWKT('SRID=4674;POINT (-40.325169 -2.784245)'))) / (select extract(epoch from '2026-06-22 03:09:58'::timestamp) - extract(epoch from '2026-06-22 03:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325198 -2.784428)'), GeomFromEWKT('SRID=4674;POINT (-40.325169 -2.784245)'))) / (select extract(epoch from '2026-06-22 03:09:58'::timestamp) - extract(epoch from '2026-06-22 03:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325136 -2.784086)', '2026-06-22 03:10:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325169 -2.784245)'), GeomFromEWKT('SRID=4674;POINT (-40.325136 -2.784086)'))) / (select extract(epoch from '2026-06-22 03:10:05'::timestamp) - extract(epoch from '2026-06-22 03:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325169 -2.784245)'), GeomFromEWKT('SRID=4674;POINT (-40.325136 -2.784086)'))) / (select extract(epoch from '2026-06-22 03:10:05'::timestamp) - extract(epoch from '2026-06-22 03:09: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'), 46715, 'SRID=4674;POINT (-40.325118 -2.783934)', '2026-06-22 03:10:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325136 -2.784086)'), GeomFromEWKT('SRID=4674;POINT (-40.325118 -2.783934)'))) / (select extract(epoch from '2026-06-22 03:10:12'::timestamp) - extract(epoch from '2026-06-22 03:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325136 -2.784086)'), GeomFromEWKT('SRID=4674;POINT (-40.325118 -2.783934)'))) / (select extract(epoch from '2026-06-22 03:10:12'::timestamp) - extract(epoch from '2026-06-22 03:10: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'), 46715, 'SRID=4674;POINT (-40.325096 -2.783789)', '2026-06-22 03:10:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325118 -2.783934)'), GeomFromEWKT('SRID=4674;POINT (-40.325096 -2.783789)'))) / (select extract(epoch from '2026-06-22 03:10:19'::timestamp) - extract(epoch from '2026-06-22 03:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325118 -2.783934)'), GeomFromEWKT('SRID=4674;POINT (-40.325096 -2.783789)'))) / (select extract(epoch from '2026-06-22 03:10:19'::timestamp) - extract(epoch from '2026-06-22 03:10: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'), 46715, 'SRID=4674;POINT (-40.32506 -2.783637)', '2026-06-22 03:10:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325096 -2.783789)'), GeomFromEWKT('SRID=4674;POINT (-40.32506 -2.783637)'))) / (select extract(epoch from '2026-06-22 03:10:26'::timestamp) - extract(epoch from '2026-06-22 03:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325096 -2.783789)'), GeomFromEWKT('SRID=4674;POINT (-40.32506 -2.783637)'))) / (select extract(epoch from '2026-06-22 03:10:26'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.325054 -2.78351)', '2026-06-22 03:10:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32506 -2.783637)'), GeomFromEWKT('SRID=4674;POINT (-40.325054 -2.78351)'))) / (select extract(epoch from '2026-06-22 03:10:32'::timestamp) - extract(epoch from '2026-06-22 03:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32506 -2.783637)'), GeomFromEWKT('SRID=4674;POINT (-40.325054 -2.78351)'))) / (select extract(epoch from '2026-06-22 03:10:32'::timestamp) - extract(epoch from '2026-06-22 03:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325061 -2.783377)', '2026-06-22 03:10:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325054 -2.78351)'), GeomFromEWKT('SRID=4674;POINT (-40.325061 -2.783377)'))) / (select extract(epoch from '2026-06-22 03:10:38'::timestamp) - extract(epoch from '2026-06-22 03:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325054 -2.78351)'), GeomFromEWKT('SRID=4674;POINT (-40.325061 -2.783377)'))) / (select extract(epoch from '2026-06-22 03:10:38'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.325046 -2.783236)', '2026-06-22 03:10:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325061 -2.783377)'), GeomFromEWKT('SRID=4674;POINT (-40.325046 -2.783236)'))) / (select extract(epoch from '2026-06-22 03:10:44'::timestamp) - extract(epoch from '2026-06-22 03:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325061 -2.783377)'), GeomFromEWKT('SRID=4674;POINT (-40.325046 -2.783236)'))) / (select extract(epoch from '2026-06-22 03:10:44'::timestamp) - extract(epoch from '2026-06-22 03:10: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'), 46715, 'SRID=4674;POINT (-40.32504 -2.783144)', '2026-06-22 03:10:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325046 -2.783236)'), GeomFromEWKT('SRID=4674;POINT (-40.32504 -2.783144)'))) / (select extract(epoch from '2026-06-22 03:10:48'::timestamp) - extract(epoch from '2026-06-22 03:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325046 -2.783236)'), GeomFromEWKT('SRID=4674;POINT (-40.32504 -2.783144)'))) / (select extract(epoch from '2026-06-22 03:10:48'::timestamp) - extract(epoch from '2026-06-22 03:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325049 -2.782995)', '2026-06-22 03:10:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32504 -2.783144)'), GeomFromEWKT('SRID=4674;POINT (-40.325049 -2.782995)'))) / (select extract(epoch from '2026-06-22 03:10:54'::timestamp) - extract(epoch from '2026-06-22 03:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32504 -2.783144)'), GeomFromEWKT('SRID=4674;POINT (-40.325049 -2.782995)'))) / (select extract(epoch from '2026-06-22 03:10:54'::timestamp) - extract(epoch from '2026-06-22 03:10: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'), 46715, 'SRID=4674;POINT (-40.325095 -2.78283)', '2026-06-22 03:11:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325049 -2.782995)'), GeomFromEWKT('SRID=4674;POINT (-40.325095 -2.78283)'))) / (select extract(epoch from '2026-06-22 03:11:01'::timestamp) - extract(epoch from '2026-06-22 03:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325049 -2.782995)'), GeomFromEWKT('SRID=4674;POINT (-40.325095 -2.78283)'))) / (select extract(epoch from '2026-06-22 03:11:01'::timestamp) - extract(epoch from '2026-06-22 03:10: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'), 46715, 'SRID=4674;POINT (-40.325157 -2.782677)', '2026-06-22 03:11:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325095 -2.78283)'), GeomFromEWKT('SRID=4674;POINT (-40.325157 -2.782677)'))) / (select extract(epoch from '2026-06-22 03:11:08'::timestamp) - extract(epoch from '2026-06-22 03:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325095 -2.78283)'), GeomFromEWKT('SRID=4674;POINT (-40.325157 -2.782677)'))) / (select extract(epoch from '2026-06-22 03:11:08'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325194 -2.782517)', '2026-06-22 03:11:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325157 -2.782677)'), GeomFromEWKT('SRID=4674;POINT (-40.325194 -2.782517)'))) / (select extract(epoch from '2026-06-22 03:11:15'::timestamp) - extract(epoch from '2026-06-22 03:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325157 -2.782677)'), GeomFromEWKT('SRID=4674;POINT (-40.325194 -2.782517)'))) / (select extract(epoch from '2026-06-22 03:11:15'::timestamp) - extract(epoch from '2026-06-22 03:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325189 -2.782352)', '2026-06-22 03:11:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325194 -2.782517)'), GeomFromEWKT('SRID=4674;POINT (-40.325189 -2.782352)'))) / (select extract(epoch from '2026-06-22 03:11:22'::timestamp) - extract(epoch from '2026-06-22 03:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325194 -2.782517)'), GeomFromEWKT('SRID=4674;POINT (-40.325189 -2.782352)'))) / (select extract(epoch from '2026-06-22 03:11:22'::timestamp) - extract(epoch from '2026-06-22 03:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325149 -2.782175)', '2026-06-22 03:11:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325189 -2.782352)'), GeomFromEWKT('SRID=4674;POINT (-40.325149 -2.782175)'))) / (select extract(epoch from '2026-06-22 03:11:30'::timestamp) - extract(epoch from '2026-06-22 03:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325189 -2.782352)'), GeomFromEWKT('SRID=4674;POINT (-40.325149 -2.782175)'))) / (select extract(epoch from '2026-06-22 03:11:30'::timestamp) - extract(epoch from '2026-06-22 03:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325137 -2.782048)', '2026-06-22 03:11:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325149 -2.782175)'), GeomFromEWKT('SRID=4674;POINT (-40.325137 -2.782048)'))) / (select extract(epoch from '2026-06-22 03:11:36'::timestamp) - extract(epoch from '2026-06-22 03:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325149 -2.782175)'), GeomFromEWKT('SRID=4674;POINT (-40.325137 -2.782048)'))) / (select extract(epoch from '2026-06-22 03:11:36'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325117 -2.781935)', '2026-06-22 03:11:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325137 -2.782048)'), GeomFromEWKT('SRID=4674;POINT (-40.325117 -2.781935)'))) / (select extract(epoch from '2026-06-22 03:11:41'::timestamp) - extract(epoch from '2026-06-22 03:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325137 -2.782048)'), GeomFromEWKT('SRID=4674;POINT (-40.325117 -2.781935)'))) / (select extract(epoch from '2026-06-22 03:11:41'::timestamp) - extract(epoch from '2026-06-22 03:11: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'), 46715, 'SRID=4674;POINT (-40.325062 -2.781761)', '2026-06-22 03:11:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325117 -2.781935)'), GeomFromEWKT('SRID=4674;POINT (-40.325062 -2.781761)'))) / (select extract(epoch from '2026-06-22 03:11:49'::timestamp) - extract(epoch from '2026-06-22 03:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325117 -2.781935)'), GeomFromEWKT('SRID=4674;POINT (-40.325062 -2.781761)'))) / (select extract(epoch from '2026-06-22 03:11:49'::timestamp) - extract(epoch from '2026-06-22 03:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325026 -2.781609)', '2026-06-22 03:11:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325062 -2.781761)'), GeomFromEWKT('SRID=4674;POINT (-40.325026 -2.781609)'))) / (select extract(epoch from '2026-06-22 03:11:56'::timestamp) - extract(epoch from '2026-06-22 03:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325062 -2.781761)'), GeomFromEWKT('SRID=4674;POINT (-40.325026 -2.781609)'))) / (select extract(epoch from '2026-06-22 03:11:56'::timestamp) - extract(epoch from '2026-06-22 03:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325012 -2.781426)', '2026-06-22 03:12:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325026 -2.781609)'), GeomFromEWKT('SRID=4674;POINT (-40.325012 -2.781426)'))) / (select extract(epoch from '2026-06-22 03:12:04'::timestamp) - extract(epoch from '2026-06-22 03:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325026 -2.781609)'), GeomFromEWKT('SRID=4674;POINT (-40.325012 -2.781426)'))) / (select extract(epoch from '2026-06-22 03:12:04'::timestamp) - extract(epoch from '2026-06-22 03:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325014 -2.781315)', '2026-06-22 03:12:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325012 -2.781426)'), GeomFromEWKT('SRID=4674;POINT (-40.325014 -2.781315)'))) / (select extract(epoch from '2026-06-22 03:12:09'::timestamp) - extract(epoch from '2026-06-22 03:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325012 -2.781426)'), GeomFromEWKT('SRID=4674;POINT (-40.325014 -2.781315)'))) / (select extract(epoch from '2026-06-22 03:12:09'::timestamp) - extract(epoch from '2026-06-22 03:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325014 -2.781152)', '2026-06-22 03:12:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325014 -2.781315)'), GeomFromEWKT('SRID=4674;POINT (-40.325014 -2.781152)'))) / (select extract(epoch from '2026-06-22 03:12:16'::timestamp) - extract(epoch from '2026-06-22 03:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325014 -2.781315)'), GeomFromEWKT('SRID=4674;POINT (-40.325014 -2.781152)'))) / (select extract(epoch from '2026-06-22 03:12:16'::timestamp) - extract(epoch from '2026-06-22 03:12: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'), 46715, 'SRID=4674;POINT (-40.325038 -2.780961)', '2026-06-22 03:12:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325014 -2.781152)'), GeomFromEWKT('SRID=4674;POINT (-40.325038 -2.780961)'))) / (select extract(epoch from '2026-06-22 03:12:24'::timestamp) - extract(epoch from '2026-06-22 03:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325014 -2.781152)'), GeomFromEWKT('SRID=4674;POINT (-40.325038 -2.780961)'))) / (select extract(epoch from '2026-06-22 03:12:24'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.325068 -2.78082)', '2026-06-22 03:12:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325038 -2.780961)'), GeomFromEWKT('SRID=4674;POINT (-40.325068 -2.78082)'))) / (select extract(epoch from '2026-06-22 03:12:30'::timestamp) - extract(epoch from '2026-06-22 03:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325038 -2.780961)'), GeomFromEWKT('SRID=4674;POINT (-40.325068 -2.78082)'))) / (select extract(epoch from '2026-06-22 03:12:30'::timestamp) - extract(epoch from '2026-06-22 03:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325094 -2.780684)', '2026-06-22 03:12:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325068 -2.78082)'), GeomFromEWKT('SRID=4674;POINT (-40.325094 -2.780684)'))) / (select extract(epoch from '2026-06-22 03:12:36'::timestamp) - extract(epoch from '2026-06-22 03:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325068 -2.78082)'), GeomFromEWKT('SRID=4674;POINT (-40.325094 -2.780684)'))) / (select extract(epoch from '2026-06-22 03:12:36'::timestamp) - extract(epoch from '2026-06-22 03:12: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'), 46715, 'SRID=4674;POINT (-40.325149 -2.780473)', '2026-06-22 03:12:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325094 -2.780684)'), GeomFromEWKT('SRID=4674;POINT (-40.325149 -2.780473)'))) / (select extract(epoch from '2026-06-22 03:12:45'::timestamp) - extract(epoch from '2026-06-22 03:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325094 -2.780684)'), GeomFromEWKT('SRID=4674;POINT (-40.325149 -2.780473)'))) / (select extract(epoch from '2026-06-22 03:12:45'::timestamp) - extract(epoch from '2026-06-22 03:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325168 -2.78033)', '2026-06-22 03:12:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325149 -2.780473)'), GeomFromEWKT('SRID=4674;POINT (-40.325168 -2.78033)'))) / (select extract(epoch from '2026-06-22 03:12:51'::timestamp) - extract(epoch from '2026-06-22 03:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325149 -2.780473)'), GeomFromEWKT('SRID=4674;POINT (-40.325168 -2.78033)'))) / (select extract(epoch from '2026-06-22 03:12:51'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.325167 -2.780123)', '2026-06-22 03:13:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325168 -2.78033)'), GeomFromEWKT('SRID=4674;POINT (-40.325167 -2.780123)'))) / (select extract(epoch from '2026-06-22 03:13:00'::timestamp) - extract(epoch from '2026-06-22 03:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325168 -2.78033)'), GeomFromEWKT('SRID=4674;POINT (-40.325167 -2.780123)'))) / (select extract(epoch from '2026-06-22 03:13:00'::timestamp) - extract(epoch from '2026-06-22 03:12: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'), 46715, 'SRID=4674;POINT (-40.325174 -2.780007)', '2026-06-22 03:13:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325167 -2.780123)'), GeomFromEWKT('SRID=4674;POINT (-40.325174 -2.780007)'))) / (select extract(epoch from '2026-06-22 03:13:05'::timestamp) - extract(epoch from '2026-06-22 03:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325167 -2.780123)'), GeomFromEWKT('SRID=4674;POINT (-40.325174 -2.780007)'))) / (select extract(epoch from '2026-06-22 03:13:05'::timestamp) - extract(epoch from '2026-06-22 03:13: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'), 46715, 'SRID=4674;POINT (-40.325185 -2.779842)', '2026-06-22 03:13:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325174 -2.780007)'), GeomFromEWKT('SRID=4674;POINT (-40.325185 -2.779842)'))) / (select extract(epoch from '2026-06-22 03:13:12'::timestamp) - extract(epoch from '2026-06-22 03:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325174 -2.780007)'), GeomFromEWKT('SRID=4674;POINT (-40.325185 -2.779842)'))) / (select extract(epoch from '2026-06-22 03:13:12'::timestamp) - extract(epoch from '2026-06-22 03:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325172 -2.779707)', '2026-06-22 03:13:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325185 -2.779842)'), GeomFromEWKT('SRID=4674;POINT (-40.325172 -2.779707)'))) / (select extract(epoch from '2026-06-22 03:13:18'::timestamp) - extract(epoch from '2026-06-22 03:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325185 -2.779842)'), GeomFromEWKT('SRID=4674;POINT (-40.325172 -2.779707)'))) / (select extract(epoch from '2026-06-22 03:13:18'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.325173 -2.779554)', '2026-06-22 03:13:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325172 -2.779707)'), GeomFromEWKT('SRID=4674;POINT (-40.325173 -2.779554)'))) / (select extract(epoch from '2026-06-22 03:13:25'::timestamp) - extract(epoch from '2026-06-22 03:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325172 -2.779707)'), GeomFromEWKT('SRID=4674;POINT (-40.325173 -2.779554)'))) / (select extract(epoch from '2026-06-22 03:13:25'::timestamp) - extract(epoch from '2026-06-22 03:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325146 -2.779352)', '2026-06-22 03:13:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325173 -2.779554)'), GeomFromEWKT('SRID=4674;POINT (-40.325146 -2.779352)'))) / (select extract(epoch from '2026-06-22 03:13:34'::timestamp) - extract(epoch from '2026-06-22 03:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325173 -2.779554)'), GeomFromEWKT('SRID=4674;POINT (-40.325146 -2.779352)'))) / (select extract(epoch from '2026-06-22 03:13:34'::timestamp) - extract(epoch from '2026-06-22 03:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325148 -2.779195)', '2026-06-22 03:13:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325146 -2.779352)'), GeomFromEWKT('SRID=4674;POINT (-40.325148 -2.779195)'))) / (select extract(epoch from '2026-06-22 03:13:41'::timestamp) - extract(epoch from '2026-06-22 03:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325146 -2.779352)'), GeomFromEWKT('SRID=4674;POINT (-40.325148 -2.779195)'))) / (select extract(epoch from '2026-06-22 03:13:41'::timestamp) - extract(epoch from '2026-06-22 03:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.32516 -2.779008)', '2026-06-22 03:13:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325148 -2.779195)'), GeomFromEWKT('SRID=4674;POINT (-40.32516 -2.779008)'))) / (select extract(epoch from '2026-06-22 03:13:49'::timestamp) - extract(epoch from '2026-06-22 03:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325148 -2.779195)'), GeomFromEWKT('SRID=4674;POINT (-40.32516 -2.779008)'))) / (select extract(epoch from '2026-06-22 03:13:49'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325168 -2.778844)', '2026-06-22 03:13:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32516 -2.779008)'), GeomFromEWKT('SRID=4674;POINT (-40.325168 -2.778844)'))) / (select extract(epoch from '2026-06-22 03:13:56'::timestamp) - extract(epoch from '2026-06-22 03:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32516 -2.779008)'), GeomFromEWKT('SRID=4674;POINT (-40.325168 -2.778844)'))) / (select extract(epoch from '2026-06-22 03:13:56'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325183 -2.778704)', '2026-06-22 03:14:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325168 -2.778844)'), GeomFromEWKT('SRID=4674;POINT (-40.325183 -2.778704)'))) / (select extract(epoch from '2026-06-22 03:14:02'::timestamp) - extract(epoch from '2026-06-22 03:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325168 -2.778844)'), GeomFromEWKT('SRID=4674;POINT (-40.325183 -2.778704)'))) / (select extract(epoch from '2026-06-22 03:14:02'::timestamp) - extract(epoch from '2026-06-22 03:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325229 -2.778539)', '2026-06-22 03:14:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325183 -2.778704)'), GeomFromEWKT('SRID=4674;POINT (-40.325229 -2.778539)'))) / (select extract(epoch from '2026-06-22 03:14:09'::timestamp) - extract(epoch from '2026-06-22 03:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325183 -2.778704)'), GeomFromEWKT('SRID=4674;POINT (-40.325229 -2.778539)'))) / (select extract(epoch from '2026-06-22 03:14:09'::timestamp) - extract(epoch from '2026-06-22 03:14: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'), 46715, 'SRID=4674;POINT (-40.325251 -2.778375)', '2026-06-22 03:14:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325229 -2.778539)'), GeomFromEWKT('SRID=4674;POINT (-40.325251 -2.778375)'))) / (select extract(epoch from '2026-06-22 03:14:16'::timestamp) - extract(epoch from '2026-06-22 03:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325229 -2.778539)'), GeomFromEWKT('SRID=4674;POINT (-40.325251 -2.778375)'))) / (select extract(epoch from '2026-06-22 03:14:16'::timestamp) - extract(epoch from '2026-06-22 03:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325249 -2.77827)', '2026-06-22 03:14:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325251 -2.778375)'), GeomFromEWKT('SRID=4674;POINT (-40.325249 -2.77827)'))) / (select extract(epoch from '2026-06-22 03:14:21'::timestamp) - extract(epoch from '2026-06-22 03:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325251 -2.778375)'), GeomFromEWKT('SRID=4674;POINT (-40.325249 -2.77827)'))) / (select extract(epoch from '2026-06-22 03:14:21'::timestamp) - extract(epoch from '2026-06-22 03:14: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'), 46715, 'SRID=4674;POINT (-40.325248 -2.778102)', '2026-06-22 03:14:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325249 -2.77827)'), GeomFromEWKT('SRID=4674;POINT (-40.325248 -2.778102)'))) / (select extract(epoch from '2026-06-22 03:14:28'::timestamp) - extract(epoch from '2026-06-22 03:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325249 -2.77827)'), GeomFromEWKT('SRID=4674;POINT (-40.325248 -2.778102)'))) / (select extract(epoch from '2026-06-22 03:14:28'::timestamp) - extract(epoch from '2026-06-22 03:14:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325237 -2.777961)', '2026-06-22 03:14:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325248 -2.778102)'), GeomFromEWKT('SRID=4674;POINT (-40.325237 -2.777961)'))) / (select extract(epoch from '2026-06-22 03:14:34'::timestamp) - extract(epoch from '2026-06-22 03:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325248 -2.778102)'), GeomFromEWKT('SRID=4674;POINT (-40.325237 -2.777961)'))) / (select extract(epoch from '2026-06-22 03:14:34'::timestamp) - extract(epoch from '2026-06-22 03:14: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'), 46715, 'SRID=4674;POINT (-40.325226 -2.777823)', '2026-06-22 03:14:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325237 -2.777961)'), GeomFromEWKT('SRID=4674;POINT (-40.325226 -2.777823)'))) / (select extract(epoch from '2026-06-22 03:14:40'::timestamp) - extract(epoch from '2026-06-22 03:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325237 -2.777961)'), GeomFromEWKT('SRID=4674;POINT (-40.325226 -2.777823)'))) / (select extract(epoch from '2026-06-22 03:14:40'::timestamp) - extract(epoch from '2026-06-22 03:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325224 -2.777687)', '2026-06-22 03:14:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325226 -2.777823)'), GeomFromEWKT('SRID=4674;POINT (-40.325224 -2.777687)'))) / (select extract(epoch from '2026-06-22 03:14:46'::timestamp) - extract(epoch from '2026-06-22 03:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325226 -2.777823)'), GeomFromEWKT('SRID=4674;POINT (-40.325224 -2.777687)'))) / (select extract(epoch from '2026-06-22 03:14:46'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325225 -2.777532)', '2026-06-22 03:14:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325224 -2.777687)'), GeomFromEWKT('SRID=4674;POINT (-40.325225 -2.777532)'))) / (select extract(epoch from '2026-06-22 03:14:53'::timestamp) - extract(epoch from '2026-06-22 03:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325224 -2.777687)'), GeomFromEWKT('SRID=4674;POINT (-40.325225 -2.777532)'))) / (select extract(epoch from '2026-06-22 03:14:53'::timestamp) - extract(epoch from '2026-06-22 03:14:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325228 -2.77737)', '2026-06-22 03:15:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325225 -2.777532)'), GeomFromEWKT('SRID=4674;POINT (-40.325228 -2.77737)'))) / (select extract(epoch from '2026-06-22 03:15:00'::timestamp) - extract(epoch from '2026-06-22 03:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325225 -2.777532)'), GeomFromEWKT('SRID=4674;POINT (-40.325228 -2.77737)'))) / (select extract(epoch from '2026-06-22 03:15:00'::timestamp) - extract(epoch from '2026-06-22 03:14: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'), 46715, 'SRID=4674;POINT (-40.325244 -2.777202)', '2026-06-22 03:15:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325228 -2.77737)'), GeomFromEWKT('SRID=4674;POINT (-40.325244 -2.777202)'))) / (select extract(epoch from '2026-06-22 03:15:07'::timestamp) - extract(epoch from '2026-06-22 03:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325228 -2.77737)'), GeomFromEWKT('SRID=4674;POINT (-40.325244 -2.777202)'))) / (select extract(epoch from '2026-06-22 03:15:07'::timestamp) - extract(epoch from '2026-06-22 03:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325252 -2.77706)', '2026-06-22 03:15:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325244 -2.777202)'), GeomFromEWKT('SRID=4674;POINT (-40.325252 -2.77706)'))) / (select extract(epoch from '2026-06-22 03:15:13'::timestamp) - extract(epoch from '2026-06-22 03:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325244 -2.777202)'), GeomFromEWKT('SRID=4674;POINT (-40.325252 -2.77706)'))) / (select extract(epoch from '2026-06-22 03:15:13'::timestamp) - extract(epoch from '2026-06-22 03:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325251 -2.776952)', '2026-06-22 03:15:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325252 -2.77706)'), GeomFromEWKT('SRID=4674;POINT (-40.325251 -2.776952)'))) / (select extract(epoch from '2026-06-22 03:15:18'::timestamp) - extract(epoch from '2026-06-22 03:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325252 -2.77706)'), GeomFromEWKT('SRID=4674;POINT (-40.325251 -2.776952)'))) / (select extract(epoch from '2026-06-22 03:15:18'::timestamp) - extract(epoch from '2026-06-22 03:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325256 -2.7768)', '2026-06-22 03:15:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325251 -2.776952)'), GeomFromEWKT('SRID=4674;POINT (-40.325256 -2.7768)'))) / (select extract(epoch from '2026-06-22 03:15:25'::timestamp) - extract(epoch from '2026-06-22 03:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325251 -2.776952)'), GeomFromEWKT('SRID=4674;POINT (-40.325256 -2.7768)'))) / (select extract(epoch from '2026-06-22 03:15:25'::timestamp) - extract(epoch from '2026-06-22 03:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325257 -2.776638)', '2026-06-22 03:15:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325256 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.325257 -2.776638)'))) / (select extract(epoch from '2026-06-22 03:15:32'::timestamp) - extract(epoch from '2026-06-22 03:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325256 -2.7768)'), GeomFromEWKT('SRID=4674;POINT (-40.325257 -2.776638)'))) / (select extract(epoch from '2026-06-22 03:15:32'::timestamp) - extract(epoch from '2026-06-22 03:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325279 -2.776457)', '2026-06-22 03:15:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325257 -2.776638)'), GeomFromEWKT('SRID=4674;POINT (-40.325279 -2.776457)'))) / (select extract(epoch from '2026-06-22 03:15:40'::timestamp) - extract(epoch from '2026-06-22 03:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325257 -2.776638)'), GeomFromEWKT('SRID=4674;POINT (-40.325279 -2.776457)'))) / (select extract(epoch from '2026-06-22 03:15:40'::timestamp) - extract(epoch from '2026-06-22 03:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325299 -2.776321)', '2026-06-22 03:15:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325279 -2.776457)'), GeomFromEWKT('SRID=4674;POINT (-40.325299 -2.776321)'))) / (select extract(epoch from '2026-06-22 03:15:47'::timestamp) - extract(epoch from '2026-06-22 03:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325279 -2.776457)'), GeomFromEWKT('SRID=4674;POINT (-40.325299 -2.776321)'))) / (select extract(epoch from '2026-06-22 03:15:47'::timestamp) - extract(epoch from '2026-06-22 03:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325313 -2.776163)', '2026-06-22 03:15:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325299 -2.776321)'), GeomFromEWKT('SRID=4674;POINT (-40.325313 -2.776163)'))) / (select extract(epoch from '2026-06-22 03:15:53'::timestamp) - extract(epoch from '2026-06-22 03:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325299 -2.776321)'), GeomFromEWKT('SRID=4674;POINT (-40.325313 -2.776163)'))) / (select extract(epoch from '2026-06-22 03:15:53'::timestamp) - extract(epoch from '2026-06-22 03:15: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'), 46715, 'SRID=4674;POINT (-40.325326 -2.776024)', '2026-06-22 03:15:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325313 -2.776163)'), GeomFromEWKT('SRID=4674;POINT (-40.325326 -2.776024)'))) / (select extract(epoch from '2026-06-22 03:15:59'::timestamp) - extract(epoch from '2026-06-22 03:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325313 -2.776163)'), GeomFromEWKT('SRID=4674;POINT (-40.325326 -2.776024)'))) / (select extract(epoch from '2026-06-22 03:15:59'::timestamp) - extract(epoch from '2026-06-22 03:15: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'), 46715, 'SRID=4674;POINT (-40.325338 -2.775881)', '2026-06-22 03:16:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325326 -2.776024)'), GeomFromEWKT('SRID=4674;POINT (-40.325338 -2.775881)'))) / (select extract(epoch from '2026-06-22 03:16:05'::timestamp) - extract(epoch from '2026-06-22 03:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325326 -2.776024)'), GeomFromEWKT('SRID=4674;POINT (-40.325338 -2.775881)'))) / (select extract(epoch from '2026-06-22 03:16:05'::timestamp) - extract(epoch from '2026-06-22 03:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325355 -2.775717)', '2026-06-22 03:16:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325338 -2.775881)'), GeomFromEWKT('SRID=4674;POINT (-40.325355 -2.775717)'))) / (select extract(epoch from '2026-06-22 03:16:12'::timestamp) - extract(epoch from '2026-06-22 03:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325338 -2.775881)'), GeomFromEWKT('SRID=4674;POINT (-40.325355 -2.775717)'))) / (select extract(epoch from '2026-06-22 03:16:12'::timestamp) - extract(epoch from '2026-06-22 03:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325393 -2.775581)', '2026-06-22 03:16:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325355 -2.775717)'), GeomFromEWKT('SRID=4674;POINT (-40.325393 -2.775581)'))) / (select extract(epoch from '2026-06-22 03:16:18'::timestamp) - extract(epoch from '2026-06-22 03:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325355 -2.775717)'), GeomFromEWKT('SRID=4674;POINT (-40.325393 -2.775581)'))) / (select extract(epoch from '2026-06-22 03:16:18'::timestamp) - extract(epoch from '2026-06-22 03:16:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325423 -2.775445)', '2026-06-22 03:16:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325393 -2.775581)'), GeomFromEWKT('SRID=4674;POINT (-40.325423 -2.775445)'))) / (select extract(epoch from '2026-06-22 03:16:24'::timestamp) - extract(epoch from '2026-06-22 03:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325393 -2.775581)'), GeomFromEWKT('SRID=4674;POINT (-40.325423 -2.775445)'))) / (select extract(epoch from '2026-06-22 03:16:24'::timestamp) - extract(epoch from '2026-06-22 03:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325436 -2.775285)', '2026-06-22 03:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325423 -2.775445)'), GeomFromEWKT('SRID=4674;POINT (-40.325436 -2.775285)'))) / (select extract(epoch from '2026-06-22 03:16:31'::timestamp) - extract(epoch from '2026-06-22 03:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325423 -2.775445)'), GeomFromEWKT('SRID=4674;POINT (-40.325436 -2.775285)'))) / (select extract(epoch from '2026-06-22 03:16:31'::timestamp) - extract(epoch from '2026-06-22 03:16: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'), 46715, 'SRID=4674;POINT (-40.32542 -2.775112)', '2026-06-22 03:16:39', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325436 -2.775285)'), GeomFromEWKT('SRID=4674;POINT (-40.32542 -2.775112)'))) / (select extract(epoch from '2026-06-22 03:16:39'::timestamp) - extract(epoch from '2026-06-22 03:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325436 -2.775285)'), GeomFromEWKT('SRID=4674;POINT (-40.32542 -2.775112)'))) / (select extract(epoch from '2026-06-22 03:16:39'::timestamp) - extract(epoch from '2026-06-22 03:16: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'), 46715, 'SRID=4674;POINT (-40.325395 -2.77497)', '2026-06-22 03:16:46', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32542 -2.775112)'), GeomFromEWKT('SRID=4674;POINT (-40.325395 -2.77497)'))) / (select extract(epoch from '2026-06-22 03:16:46'::timestamp) - extract(epoch from '2026-06-22 03:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32542 -2.775112)'), GeomFromEWKT('SRID=4674;POINT (-40.325395 -2.77497)'))) / (select extract(epoch from '2026-06-22 03:16:46'::timestamp) - extract(epoch from '2026-06-22 03:16: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'), 46715, 'SRID=4674;POINT (-40.325388 -2.774838)', '2026-06-22 03:16:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325395 -2.77497)'), GeomFromEWKT('SRID=4674;POINT (-40.325388 -2.774838)'))) / (select extract(epoch from '2026-06-22 03:16:52'::timestamp) - extract(epoch from '2026-06-22 03:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325395 -2.77497)'), GeomFromEWKT('SRID=4674;POINT (-40.325388 -2.774838)'))) / (select extract(epoch from '2026-06-22 03:16:52'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325422 -2.774661)', '2026-06-22 03:17:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325388 -2.774838)'), GeomFromEWKT('SRID=4674;POINT (-40.325422 -2.774661)'))) / (select extract(epoch from '2026-06-22 03:17:00'::timestamp) - extract(epoch from '2026-06-22 03:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325388 -2.774838)'), GeomFromEWKT('SRID=4674;POINT (-40.325422 -2.774661)'))) / (select extract(epoch from '2026-06-22 03:17:00'::timestamp) - extract(epoch from '2026-06-22 03:16:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325431 -2.774522)', '2026-06-22 03:17:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325422 -2.774661)'), GeomFromEWKT('SRID=4674;POINT (-40.325431 -2.774522)'))) / (select extract(epoch from '2026-06-22 03:17:06'::timestamp) - extract(epoch from '2026-06-22 03:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325422 -2.774661)'), GeomFromEWKT('SRID=4674;POINT (-40.325431 -2.774522)'))) / (select extract(epoch from '2026-06-22 03:17:06'::timestamp) - extract(epoch from '2026-06-22 03:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325434 -2.774358)', '2026-06-22 03:17:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325431 -2.774522)'), GeomFromEWKT('SRID=4674;POINT (-40.325434 -2.774358)'))) / (select extract(epoch from '2026-06-22 03:17:13'::timestamp) - extract(epoch from '2026-06-22 03:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325431 -2.774522)'), GeomFromEWKT('SRID=4674;POINT (-40.325434 -2.774358)'))) / (select extract(epoch from '2026-06-22 03:17:13'::timestamp) - extract(epoch from '2026-06-22 03:17: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'), 46715, 'SRID=4674;POINT (-40.325421 -2.774194)', '2026-06-22 03:17:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325434 -2.774358)'), GeomFromEWKT('SRID=4674;POINT (-40.325421 -2.774194)'))) / (select extract(epoch from '2026-06-22 03:17:20'::timestamp) - extract(epoch from '2026-06-22 03:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325434 -2.774358)'), GeomFromEWKT('SRID=4674;POINT (-40.325421 -2.774194)'))) / (select extract(epoch from '2026-06-22 03:17:20'::timestamp) - extract(epoch from '2026-06-22 03:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325405 -2.774058)', '2026-06-22 03:17:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325421 -2.774194)'), GeomFromEWKT('SRID=4674;POINT (-40.325405 -2.774058)'))) / (select extract(epoch from '2026-06-22 03:17:26'::timestamp) - extract(epoch from '2026-06-22 03:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325421 -2.774194)'), GeomFromEWKT('SRID=4674;POINT (-40.325405 -2.774058)'))) / (select extract(epoch from '2026-06-22 03:17:26'::timestamp) - extract(epoch from '2026-06-22 03:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325379 -2.773896)', '2026-06-22 03:17:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325405 -2.774058)'), GeomFromEWKT('SRID=4674;POINT (-40.325379 -2.773896)'))) / (select extract(epoch from '2026-06-22 03:17:33'::timestamp) - extract(epoch from '2026-06-22 03:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325405 -2.774058)'), GeomFromEWKT('SRID=4674;POINT (-40.325379 -2.773896)'))) / (select extract(epoch from '2026-06-22 03:17:33'::timestamp) - extract(epoch from '2026-06-22 03:17: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'), 46715, 'SRID=4674;POINT (-40.325425 -2.773695)', '2026-06-22 03:17:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325379 -2.773896)'), GeomFromEWKT('SRID=4674;POINT (-40.325425 -2.773695)'))) / (select extract(epoch from '2026-06-22 03:17:42'::timestamp) - extract(epoch from '2026-06-22 03:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325379 -2.773896)'), GeomFromEWKT('SRID=4674;POINT (-40.325425 -2.773695)'))) / (select extract(epoch from '2026-06-22 03:17:42'::timestamp) - extract(epoch from '2026-06-22 03:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325466 -2.773535)', '2026-06-22 03:17:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325425 -2.773695)'), GeomFromEWKT('SRID=4674;POINT (-40.325466 -2.773535)'))) / (select extract(epoch from '2026-06-22 03:17:49'::timestamp) - extract(epoch from '2026-06-22 03:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325425 -2.773695)'), GeomFromEWKT('SRID=4674;POINT (-40.325466 -2.773535)'))) / (select extract(epoch from '2026-06-22 03:17:49'::timestamp) - extract(epoch from '2026-06-22 03:17: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'), 46715, 'SRID=4674;POINT (-40.325473 -2.773397)', '2026-06-22 03:17:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325466 -2.773535)'), GeomFromEWKT('SRID=4674;POINT (-40.325473 -2.773397)'))) / (select extract(epoch from '2026-06-22 03:17:55'::timestamp) - extract(epoch from '2026-06-22 03:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325466 -2.773535)'), GeomFromEWKT('SRID=4674;POINT (-40.325473 -2.773397)'))) / (select extract(epoch from '2026-06-22 03:17:55'::timestamp) - extract(epoch from '2026-06-22 03:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325482 -2.773244)', '2026-06-22 03:18:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325473 -2.773397)'), GeomFromEWKT('SRID=4674;POINT (-40.325482 -2.773244)'))) / (select extract(epoch from '2026-06-22 03:18:02'::timestamp) - extract(epoch from '2026-06-22 03:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325473 -2.773397)'), GeomFromEWKT('SRID=4674;POINT (-40.325482 -2.773244)'))) / (select extract(epoch from '2026-06-22 03:18:02'::timestamp) - extract(epoch from '2026-06-22 03:17: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'), 46715, 'SRID=4674;POINT (-40.325502 -2.773068)', '2026-06-22 03:18:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325482 -2.773244)'), GeomFromEWKT('SRID=4674;POINT (-40.325502 -2.773068)'))) / (select extract(epoch from '2026-06-22 03:18:10'::timestamp) - extract(epoch from '2026-06-22 03:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325482 -2.773244)'), GeomFromEWKT('SRID=4674;POINT (-40.325502 -2.773068)'))) / (select extract(epoch from '2026-06-22 03:18:10'::timestamp) - extract(epoch from '2026-06-22 03:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325528 -2.772883)', '2026-06-22 03:18:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325502 -2.773068)'), GeomFromEWKT('SRID=4674;POINT (-40.325528 -2.772883)'))) / (select extract(epoch from '2026-06-22 03:18:18'::timestamp) - extract(epoch from '2026-06-22 03:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325502 -2.773068)'), GeomFromEWKT('SRID=4674;POINT (-40.325528 -2.772883)'))) / (select extract(epoch from '2026-06-22 03:18:18'::timestamp) - extract(epoch from '2026-06-22 03:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325545 -2.772773)', '2026-06-22 03:18:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325528 -2.772883)'), GeomFromEWKT('SRID=4674;POINT (-40.325545 -2.772773)'))) / (select extract(epoch from '2026-06-22 03:18:23'::timestamp) - extract(epoch from '2026-06-22 03:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325528 -2.772883)'), GeomFromEWKT('SRID=4674;POINT (-40.325545 -2.772773)'))) / (select extract(epoch from '2026-06-22 03:18:23'::timestamp) - extract(epoch from '2026-06-22 03:18: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'), 46715, 'SRID=4674;POINT (-40.325575 -2.772632)', '2026-06-22 03:18:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325545 -2.772773)'), GeomFromEWKT('SRID=4674;POINT (-40.325575 -2.772632)'))) / (select extract(epoch from '2026-06-22 03:18:29'::timestamp) - extract(epoch from '2026-06-22 03:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325545 -2.772773)'), GeomFromEWKT('SRID=4674;POINT (-40.325575 -2.772632)'))) / (select extract(epoch from '2026-06-22 03:18:29'::timestamp) - extract(epoch from '2026-06-22 03:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325591 -2.772513)', '2026-06-22 03:18:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325575 -2.772632)'), GeomFromEWKT('SRID=4674;POINT (-40.325591 -2.772513)'))) / (select extract(epoch from '2026-06-22 03:18:34'::timestamp) - extract(epoch from '2026-06-22 03:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325575 -2.772632)'), GeomFromEWKT('SRID=4674;POINT (-40.325591 -2.772513)'))) / (select extract(epoch from '2026-06-22 03:18:34'::timestamp) - extract(epoch from '2026-06-22 03:18: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'), 46715, 'SRID=4674;POINT (-40.325597 -2.772401)', '2026-06-22 03:18:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325591 -2.772513)'), GeomFromEWKT('SRID=4674;POINT (-40.325597 -2.772401)'))) / (select extract(epoch from '2026-06-22 03:18:39'::timestamp) - extract(epoch from '2026-06-22 03:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325591 -2.772513)'), GeomFromEWKT('SRID=4674;POINT (-40.325597 -2.772401)'))) / (select extract(epoch from '2026-06-22 03:18:39'::timestamp) - extract(epoch from '2026-06-22 03:18: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'), 46715, 'SRID=4674;POINT (-40.325639 -2.772243)', '2026-06-22 03:18:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325597 -2.772401)'), GeomFromEWKT('SRID=4674;POINT (-40.325639 -2.772243)'))) / (select extract(epoch from '2026-06-22 03:18:46'::timestamp) - extract(epoch from '2026-06-22 03:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325597 -2.772401)'), GeomFromEWKT('SRID=4674;POINT (-40.325639 -2.772243)'))) / (select extract(epoch from '2026-06-22 03:18:46'::timestamp) - extract(epoch from '2026-06-22 03:18: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'), 46715, 'SRID=4674;POINT (-40.325701 -2.772109)', '2026-06-22 03:18:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325639 -2.772243)'), GeomFromEWKT('SRID=4674;POINT (-40.325701 -2.772109)'))) / (select extract(epoch from '2026-06-22 03:18:52'::timestamp) - extract(epoch from '2026-06-22 03:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325639 -2.772243)'), GeomFromEWKT('SRID=4674;POINT (-40.325701 -2.772109)'))) / (select extract(epoch from '2026-06-22 03:18:52'::timestamp) - extract(epoch from '2026-06-22 03:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.325742 -2.771996)', '2026-06-22 03:18:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325701 -2.772109)'), GeomFromEWKT('SRID=4674;POINT (-40.325742 -2.771996)'))) / (select extract(epoch from '2026-06-22 03:18:57'::timestamp) - extract(epoch from '2026-06-22 03:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325701 -2.772109)'), GeomFromEWKT('SRID=4674;POINT (-40.325742 -2.771996)'))) / (select extract(epoch from '2026-06-22 03:18:57'::timestamp) - extract(epoch from '2026-06-22 03:18: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'), 46715, 'SRID=4674;POINT (-40.325776 -2.771867)', '2026-06-22 03:19:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325742 -2.771996)'), GeomFromEWKT('SRID=4674;POINT (-40.325776 -2.771867)'))) / (select extract(epoch from '2026-06-22 03:19:03'::timestamp) - extract(epoch from '2026-06-22 03:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325742 -2.771996)'), GeomFromEWKT('SRID=4674;POINT (-40.325776 -2.771867)'))) / (select extract(epoch from '2026-06-22 03:19:03'::timestamp) - extract(epoch from '2026-06-22 03:18: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'), 46715, 'SRID=4674;POINT (-40.325811 -2.77172)', '2026-06-22 03:19:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325776 -2.771867)'), GeomFromEWKT('SRID=4674;POINT (-40.325811 -2.77172)'))) / (select extract(epoch from '2026-06-22 03:19:10'::timestamp) - extract(epoch from '2026-06-22 03:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325776 -2.771867)'), GeomFromEWKT('SRID=4674;POINT (-40.325811 -2.77172)'))) / (select extract(epoch from '2026-06-22 03:19:10'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.325855 -2.771602)', '2026-06-22 03:19:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325811 -2.77172)'), GeomFromEWKT('SRID=4674;POINT (-40.325855 -2.771602)'))) / (select extract(epoch from '2026-06-22 03:19:17'::timestamp) - extract(epoch from '2026-06-22 03:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325811 -2.77172)'), GeomFromEWKT('SRID=4674;POINT (-40.325855 -2.771602)'))) / (select extract(epoch from '2026-06-22 03:19:17'::timestamp) - extract(epoch from '2026-06-22 03:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.32589 -2.771562)', '2026-06-22 03:19:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325855 -2.771602)'), GeomFromEWKT('SRID=4674;POINT (-40.32589 -2.771562)'))) / (select extract(epoch from '2026-06-22 03:19:20'::timestamp) - extract(epoch from '2026-06-22 03:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325855 -2.771602)'), GeomFromEWKT('SRID=4674;POINT (-40.32589 -2.771562)'))) / (select extract(epoch from '2026-06-22 03:19:20'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46715, 'SRID=4674;POINT (-40.325917 -2.771537)', '2026-06-22 03:19:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32589 -2.771562)'), GeomFromEWKT('SRID=4674;POINT (-40.325917 -2.771537)'))) / (select extract(epoch from '2026-06-22 03:19:22'::timestamp) - extract(epoch from '2026-06-22 03:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32589 -2.771562)'), GeomFromEWKT('SRID=4674;POINT (-40.325917 -2.771537)'))) / (select extract(epoch from '2026-06-22 03:19:22'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.32593 -2.771527)', '2026-06-22 03:19:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325917 -2.771537)'), GeomFromEWKT('SRID=4674;POINT (-40.32593 -2.771527)'))) / (select extract(epoch from '2026-06-22 03:19:23'::timestamp) - extract(epoch from '2026-06-22 03:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325917 -2.771537)'), GeomFromEWKT('SRID=4674;POINT (-40.32593 -2.771527)'))) / (select extract(epoch from '2026-06-22 03:19:23'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46715, 'SRID=4674;POINT (-40.325993 -2.771493)', '2026-06-22 03:19:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32593 -2.771527)'), GeomFromEWKT('SRID=4674;POINT (-40.325993 -2.771493)'))) / (select extract(epoch from '2026-06-22 03:19:27'::timestamp) - extract(epoch from '2026-06-22 03:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32593 -2.771527)'), GeomFromEWKT('SRID=4674;POINT (-40.325993 -2.771493)'))) / (select extract(epoch from '2026-06-22 03:19:27'::timestamp) - extract(epoch from '2026-06-22 03:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326077 -2.771463)', '2026-06-22 03:19:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325993 -2.771493)'), GeomFromEWKT('SRID=4674;POINT (-40.326077 -2.771463)'))) / (select extract(epoch from '2026-06-22 03:19:32'::timestamp) - extract(epoch from '2026-06-22 03:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325993 -2.771493)'), GeomFromEWKT('SRID=4674;POINT (-40.326077 -2.771463)'))) / (select extract(epoch from '2026-06-22 03:19:32'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46715, 'SRID=4674;POINT (-40.326161 -2.771449)', '2026-06-22 03:19:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326077 -2.771463)'), GeomFromEWKT('SRID=4674;POINT (-40.326161 -2.771449)'))) / (select extract(epoch from '2026-06-22 03:19:38'::timestamp) - extract(epoch from '2026-06-22 03:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326077 -2.771463)'), GeomFromEWKT('SRID=4674;POINT (-40.326161 -2.771449)'))) / (select extract(epoch from '2026-06-22 03:19:38'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46715, 'SRID=4674;POINT (-40.326269 -2.771408)', '2026-06-22 03:19:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326161 -2.771449)'), GeomFromEWKT('SRID=4674;POINT (-40.326269 -2.771408)'))) / (select extract(epoch from '2026-06-22 03:19:44'::timestamp) - extract(epoch from '2026-06-22 03:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326161 -2.771449)'), GeomFromEWKT('SRID=4674;POINT (-40.326269 -2.771408)'))) / (select extract(epoch from '2026-06-22 03:19:44'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.32631 -2.771366)', '2026-06-22 03:19:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326269 -2.771408)'), GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.771366)'))) / (select extract(epoch from '2026-06-22 03:19:48'::timestamp) - extract(epoch from '2026-06-22 03:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326269 -2.771408)'), GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.771366)'))) / (select extract(epoch from '2026-06-22 03:19:48'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46715, 'SRID=4674;POINT (-40.326314 -2.771353)', '2026-06-22 03:19:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.771366)'), GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.771353)'))) / (select extract(epoch from '2026-06-22 03:19:49'::timestamp) - extract(epoch from '2026-06-22 03:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.771366)'), GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.771353)'))) / (select extract(epoch from '2026-06-22 03:19:49'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.326318 -2.771342)', '2026-06-22 03:19:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.771353)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.771342)'))) / (select extract(epoch from '2026-06-22 03:19:50'::timestamp) - extract(epoch from '2026-06-22 03:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.771353)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.771342)'))) / (select extract(epoch from '2026-06-22 03:19:50'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46715, 'SRID=4674;POINT (-40.326329 -2.771297)', '2026-06-22 03:19:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.771342)'), GeomFromEWKT('SRID=4674;POINT (-40.326329 -2.771297)'))) / (select extract(epoch from '2026-06-22 03:19:54'::timestamp) - extract(epoch from '2026-06-22 03:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.771342)'), GeomFromEWKT('SRID=4674;POINT (-40.326329 -2.771297)'))) / (select extract(epoch from '2026-06-22 03:19:54'::timestamp) - extract(epoch from '2026-06-22 03:19: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'), 46715, 'SRID=4674;POINT (-40.326322 -2.77123)', '2026-06-22 03:20:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326329 -2.771297)'), GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.77123)'))) / (select extract(epoch from '2026-06-22 03:20:00'::timestamp) - extract(epoch from '2026-06-22 03:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326329 -2.771297)'), GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.77123)'))) / (select extract(epoch from '2026-06-22 03:20:00'::timestamp) - extract(epoch from '2026-06-22 03:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326302 -2.77119)', '2026-06-22 03:20:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.77123)'), GeomFromEWKT('SRID=4674;POINT (-40.326302 -2.77119)'))) / (select extract(epoch from '2026-06-22 03:20:05'::timestamp) - extract(epoch from '2026-06-22 03:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.77123)'), GeomFromEWKT('SRID=4674;POINT (-40.326302 -2.77119)'))) / (select extract(epoch from '2026-06-22 03:20:05'::timestamp) - extract(epoch from '2026-06-22 03:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326262 -2.77115)', '2026-06-22 03:20:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326302 -2.77119)'), GeomFromEWKT('SRID=4674;POINT (-40.326262 -2.77115)'))) / (select extract(epoch from '2026-06-22 03:20:11'::timestamp) - extract(epoch from '2026-06-22 03:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326302 -2.77119)'), GeomFromEWKT('SRID=4674;POINT (-40.326262 -2.77115)'))) / (select extract(epoch from '2026-06-22 03:20:11'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.326199 -2.771121)', '2026-06-22 03:20:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326262 -2.77115)'), GeomFromEWKT('SRID=4674;POINT (-40.326199 -2.771121)'))) / (select extract(epoch from '2026-06-22 03:20:17'::timestamp) - extract(epoch from '2026-06-22 03:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326262 -2.77115)'), GeomFromEWKT('SRID=4674;POINT (-40.326199 -2.771121)'))) / (select extract(epoch from '2026-06-22 03:20:17'::timestamp) - extract(epoch from '2026-06-22 03:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326118 -2.771103)', '2026-06-22 03:20:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326199 -2.771121)'), GeomFromEWKT('SRID=4674;POINT (-40.326118 -2.771103)'))) / (select extract(epoch from '2026-06-22 03:20:23'::timestamp) - extract(epoch from '2026-06-22 03:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326199 -2.771121)'), GeomFromEWKT('SRID=4674;POINT (-40.326118 -2.771103)'))) / (select extract(epoch from '2026-06-22 03:20:23'::timestamp) - extract(epoch from '2026-06-22 03:20: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'), 46715, 'SRID=4674;POINT (-40.326083 -2.771104)', '2026-06-22 03:20:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326118 -2.771103)'), GeomFromEWKT('SRID=4674;POINT (-40.326083 -2.771104)'))) / (select extract(epoch from '2026-06-22 03:20:26'::timestamp) - extract(epoch from '2026-06-22 03:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326118 -2.771103)'), GeomFromEWKT('SRID=4674;POINT (-40.326083 -2.771104)'))) / (select extract(epoch from '2026-06-22 03:20:26'::timestamp) - extract(epoch from '2026-06-22 03:20: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'), 46715, 'SRID=4674;POINT (-40.326054 -2.771104)', '2026-06-22 03:20:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326083 -2.771104)'), GeomFromEWKT('SRID=4674;POINT (-40.326054 -2.771104)'))) / (select extract(epoch from '2026-06-22 03:20:29'::timestamp) - extract(epoch from '2026-06-22 03:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326083 -2.771104)'), GeomFromEWKT('SRID=4674;POINT (-40.326054 -2.771104)'))) / (select extract(epoch from '2026-06-22 03:20:29'::timestamp) - extract(epoch from '2026-06-22 03:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326037 -2.771111)', '2026-06-22 03:20:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326054 -2.771104)'), GeomFromEWKT('SRID=4674;POINT (-40.326037 -2.771111)'))) / (select extract(epoch from '2026-06-22 03:20:31'::timestamp) - extract(epoch from '2026-06-22 03:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326054 -2.771104)'), GeomFromEWKT('SRID=4674;POINT (-40.326037 -2.771111)'))) / (select extract(epoch from '2026-06-22 03:20:31'::timestamp) - extract(epoch from '2026-06-22 03:20: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'), 46715, 'SRID=4674;POINT (-40.326022 -2.771107)', '2026-06-22 03:20:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326037 -2.771111)'), GeomFromEWKT('SRID=4674;POINT (-40.326022 -2.771107)'))) / (select extract(epoch from '2026-06-22 03:20:33'::timestamp) - extract(epoch from '2026-06-22 03:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326037 -2.771111)'), GeomFromEWKT('SRID=4674;POINT (-40.326022 -2.771107)'))) / (select extract(epoch from '2026-06-22 03:20:33'::timestamp) - extract(epoch from '2026-06-22 03:20: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'), 46715, 'SRID=4674;POINT (-40.326006 -2.771112)', '2026-06-22 03:20:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326022 -2.771107)'), GeomFromEWKT('SRID=4674;POINT (-40.326006 -2.771112)'))) / (select extract(epoch from '2026-06-22 03:20:37'::timestamp) - extract(epoch from '2026-06-22 03:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326022 -2.771107)'), GeomFromEWKT('SRID=4674;POINT (-40.326006 -2.771112)'))) / (select extract(epoch from '2026-06-22 03:20:37'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.325984 -2.771107)', '2026-06-22 03:20:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326006 -2.771112)'), GeomFromEWKT('SRID=4674;POINT (-40.325984 -2.771107)'))) / (select extract(epoch from '2026-06-22 03:20:47'::timestamp) - extract(epoch from '2026-06-22 03:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326006 -2.771112)'), GeomFromEWKT('SRID=4674;POINT (-40.325984 -2.771107)'))) / (select extract(epoch from '2026-06-22 03:20:47'::timestamp) - extract(epoch from '2026-06-22 03:20: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'), 46715, 'SRID=4674;POINT (-40.325996 -2.771098)', '2026-06-22 03:20:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325984 -2.771107)'), GeomFromEWKT('SRID=4674;POINT (-40.325996 -2.771098)'))) / (select extract(epoch from '2026-06-22 03:20:58'::timestamp) - extract(epoch from '2026-06-22 03:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325984 -2.771107)'), GeomFromEWKT('SRID=4674;POINT (-40.325996 -2.771098)'))) / (select extract(epoch from '2026-06-22 03:20:58'::timestamp) - extract(epoch from '2026-06-22 03:20: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'), 46715, 'SRID=4674;POINT (-40.326013 -2.771091)', '2026-06-22 03:21:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325996 -2.771098)'), GeomFromEWKT('SRID=4674;POINT (-40.326013 -2.771091)'))) / (select extract(epoch from '2026-06-22 03:21:06'::timestamp) - extract(epoch from '2026-06-22 03:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325996 -2.771098)'), GeomFromEWKT('SRID=4674;POINT (-40.326013 -2.771091)'))) / (select extract(epoch from '2026-06-22 03:21:06'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.326031 -2.771087)', '2026-06-22 03:21:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326013 -2.771091)'), GeomFromEWKT('SRID=4674;POINT (-40.326031 -2.771087)'))) / (select extract(epoch from '2026-06-22 03:21:16'::timestamp) - extract(epoch from '2026-06-22 03:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326013 -2.771091)'), GeomFromEWKT('SRID=4674;POINT (-40.326031 -2.771087)'))) / (select extract(epoch from '2026-06-22 03:21:16'::timestamp) - extract(epoch from '2026-06-22 03:21: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'), 46715, 'SRID=4674;POINT (-40.32607 -2.771061)', '2026-06-22 03:21:27', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326031 -2.771087)'), GeomFromEWKT('SRID=4674;POINT (-40.32607 -2.771061)'))) / (select extract(epoch from '2026-06-22 03:21:27'::timestamp) - extract(epoch from '2026-06-22 03:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326031 -2.771087)'), GeomFromEWKT('SRID=4674;POINT (-40.32607 -2.771061)'))) / (select extract(epoch from '2026-06-22 03:21:27'::timestamp) - extract(epoch from '2026-06-22 03:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326099 -2.771035)', '2026-06-22 03:21:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32607 -2.771061)'), GeomFromEWKT('SRID=4674;POINT (-40.326099 -2.771035)'))) / (select extract(epoch from '2026-06-22 03:21:37'::timestamp) - extract(epoch from '2026-06-22 03:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32607 -2.771061)'), GeomFromEWKT('SRID=4674;POINT (-40.326099 -2.771035)'))) / (select extract(epoch from '2026-06-22 03:21:37'::timestamp) - extract(epoch from '2026-06-22 03:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326123 -2.77102)', '2026-06-22 03:21:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326099 -2.771035)'), GeomFromEWKT('SRID=4674;POINT (-40.326123 -2.77102)'))) / (select extract(epoch from '2026-06-22 03:21:46'::timestamp) - extract(epoch from '2026-06-22 03:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326099 -2.771035)'), GeomFromEWKT('SRID=4674;POINT (-40.326123 -2.77102)'))) / (select extract(epoch from '2026-06-22 03:21:46'::timestamp) - extract(epoch from '2026-06-22 03:21: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'), 46715, 'SRID=4674;POINT (-40.32614 -2.771017)', '2026-06-22 03:21:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326123 -2.77102)'), GeomFromEWKT('SRID=4674;POINT (-40.32614 -2.771017)'))) / (select extract(epoch from '2026-06-22 03:21:55'::timestamp) - extract(epoch from '2026-06-22 03:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326123 -2.77102)'), GeomFromEWKT('SRID=4674;POINT (-40.32614 -2.771017)'))) / (select extract(epoch from '2026-06-22 03:21:55'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.326164 -2.77101)', '2026-06-22 03:22:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32614 -2.771017)'), GeomFromEWKT('SRID=4674;POINT (-40.326164 -2.77101)'))) / (select extract(epoch from '2026-06-22 03:22:04'::timestamp) - extract(epoch from '2026-06-22 03:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32614 -2.771017)'), GeomFromEWKT('SRID=4674;POINT (-40.326164 -2.77101)'))) / (select extract(epoch from '2026-06-22 03:22:04'::timestamp) - extract(epoch from '2026-06-22 03:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326193 -2.770997)', '2026-06-22 03:22:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326164 -2.77101)'), GeomFromEWKT('SRID=4674;POINT (-40.326193 -2.770997)'))) / (select extract(epoch from '2026-06-22 03:22:14'::timestamp) - extract(epoch from '2026-06-22 03:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326164 -2.77101)'), GeomFromEWKT('SRID=4674;POINT (-40.326193 -2.770997)'))) / (select extract(epoch from '2026-06-22 03:22:14'::timestamp) - extract(epoch from '2026-06-22 03:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326214 -2.770981)', '2026-06-22 03:22:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326193 -2.770997)'), GeomFromEWKT('SRID=4674;POINT (-40.326214 -2.770981)'))) / (select extract(epoch from '2026-06-22 03:22:23'::timestamp) - extract(epoch from '2026-06-22 03:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326193 -2.770997)'), GeomFromEWKT('SRID=4674;POINT (-40.326214 -2.770981)'))) / (select extract(epoch from '2026-06-22 03:22:23'::timestamp) - extract(epoch from '2026-06-22 03:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326259 -2.770956)', '2026-06-22 03:22:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326214 -2.770981)'), GeomFromEWKT('SRID=4674;POINT (-40.326259 -2.770956)'))) / (select extract(epoch from '2026-06-22 03:22:35'::timestamp) - extract(epoch from '2026-06-22 03:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326214 -2.770981)'), GeomFromEWKT('SRID=4674;POINT (-40.326259 -2.770956)'))) / (select extract(epoch from '2026-06-22 03:22:35'::timestamp) - extract(epoch from '2026-06-22 03:22: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'), 46715, 'SRID=4674;POINT (-40.326302 -2.770929)', '2026-06-22 03:22:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326259 -2.770956)'), GeomFromEWKT('SRID=4674;POINT (-40.326302 -2.770929)'))) / (select extract(epoch from '2026-06-22 03:22:46'::timestamp) - extract(epoch from '2026-06-22 03:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326259 -2.770956)'), GeomFromEWKT('SRID=4674;POINT (-40.326302 -2.770929)'))) / (select extract(epoch from '2026-06-22 03:22:46'::timestamp) - extract(epoch from '2026-06-22 03:22: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'), 46715, 'SRID=4674;POINT (-40.3263 -2.770922)', '2026-06-22 03:22:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326302 -2.770929)'), GeomFromEWKT('SRID=4674;POINT (-40.3263 -2.770922)'))) / (select extract(epoch from '2026-06-22 03:22:55'::timestamp) - extract(epoch from '2026-06-22 03:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326302 -2.770929)'), GeomFromEWKT('SRID=4674;POINT (-40.3263 -2.770922)'))) / (select extract(epoch from '2026-06-22 03:22:55'::timestamp) - extract(epoch from '2026-06-22 03:22: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'), 46715, 'SRID=4674;POINT (-40.326305 -2.77093)', '2026-06-22 03:23:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3263 -2.770922)'), GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.77093)'))) / (select extract(epoch from '2026-06-22 03:23:12'::timestamp) - extract(epoch from '2026-06-22 03:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3263 -2.770922)'), GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.77093)'))) / (select extract(epoch from '2026-06-22 03:23:12'::timestamp) - extract(epoch from '2026-06-22 03:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326309 -2.770936)', '2026-06-22 03:23:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.77093)'), GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:23:22'::timestamp) - extract(epoch from '2026-06-22 03:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.77093)'), GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:23:22'::timestamp) - extract(epoch from '2026-06-22 03:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326313 -2.770943)', '2026-06-22 03:23:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770943)'))) / (select extract(epoch from '2026-06-22 03:23:44'::timestamp) - extract(epoch from '2026-06-22 03:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770943)'))) / (select extract(epoch from '2026-06-22 03:23:44'::timestamp) - extract(epoch from '2026-06-22 03:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326306 -2.770942)', '2026-06-22 03:23:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770943)'), GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.770942)'))) / (select extract(epoch from '2026-06-22 03:23:57'::timestamp) - extract(epoch from '2026-06-22 03:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770943)'), GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.770942)'))) / (select extract(epoch from '2026-06-22 03:23:57'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.326311 -2.770944)', '2026-06-22 03:24:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.770942)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:24:14'::timestamp) - extract(epoch from '2026-06-22 03:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326306 -2.770942)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:24:14'::timestamp) - extract(epoch from '2026-06-22 03:23: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'), 46715, 'SRID=4674;POINT (-40.326313 -2.770948)', '2026-06-22 03:24:24', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770948)'))) / (select extract(epoch from '2026-06-22 03:24:24'::timestamp) - extract(epoch from '2026-06-22 03:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770948)'))) / (select extract(epoch from '2026-06-22 03:24:24'::timestamp) - extract(epoch from '2026-06-22 03:24: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'), 46715, 'SRID=4674;POINT (-40.326318 -2.770953)', '2026-06-22 03:24:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770948)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770953)'))) / (select extract(epoch from '2026-06-22 03:24:38'::timestamp) - extract(epoch from '2026-06-22 03:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770948)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770953)'))) / (select extract(epoch from '2026-06-22 03:24:38'::timestamp) - extract(epoch from '2026-06-22 03:24: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'), 46715, 'SRID=4674;POINT (-40.326317 -2.770954)', '2026-06-22 03:24:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770953)'), GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770954)'))) / (select extract(epoch from '2026-06-22 03:24:53'::timestamp) - extract(epoch from '2026-06-22 03:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770953)'), GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770954)'))) / (select extract(epoch from '2026-06-22 03:24:53'::timestamp) - extract(epoch from '2026-06-22 03:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326313 -2.77095)', '2026-06-22 03:25:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770954)'), GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.77095)'))) / (select extract(epoch from '2026-06-22 03:25:12'::timestamp) - extract(epoch from '2026-06-22 03:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770954)'), GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.77095)'))) / (select extract(epoch from '2026-06-22 03:25:12'::timestamp) - extract(epoch from '2026-06-22 03:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326315 -2.770944)', '2026-06-22 03:25:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.77095)'), GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:25:23'::timestamp) - extract(epoch from '2026-06-22 03:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.77095)'), GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:25:23'::timestamp) - extract(epoch from '2026-06-22 03:25: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'), 46715, 'SRID=4674;POINT (-40.326309 -2.770943)', '2026-06-22 03:25:41', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770943)'))) / (select extract(epoch from '2026-06-22 03:25:41'::timestamp) - extract(epoch from '2026-06-22 03:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770943)'))) / (select extract(epoch from '2026-06-22 03:25:41'::timestamp) - extract(epoch from '2026-06-22 03:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326307 -2.770949)', '2026-06-22 03:25:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770943)'), GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770949)'))) / (select extract(epoch from '2026-06-22 03:25:53'::timestamp) - extract(epoch from '2026-06-22 03:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770943)'), GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770949)'))) / (select extract(epoch from '2026-06-22 03:25:53'::timestamp) - extract(epoch from '2026-06-22 03:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326305 -2.770944)', '2026-06-22 03:26:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770949)'), GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:26:06'::timestamp) - extract(epoch from '2026-06-22 03:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770949)'), GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:26:06'::timestamp) - extract(epoch from '2026-06-22 03:25: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'), 46715, 'SRID=4674;POINT (-40.326294 -2.770945)', '2026-06-22 03:26:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326294 -2.770945)'))) / (select extract(epoch from '2026-06-22 03:26:19'::timestamp) - extract(epoch from '2026-06-22 03:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326294 -2.770945)'))) / (select extract(epoch from '2026-06-22 03:26:19'::timestamp) - extract(epoch from '2026-06-22 03:26: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'), 46715, 'SRID=4674;POINT (-40.326305 -2.770941)', '2026-06-22 03:26:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326294 -2.770945)'), GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.770941)'))) / (select extract(epoch from '2026-06-22 03:26:34'::timestamp) - extract(epoch from '2026-06-22 03:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326294 -2.770945)'), GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.770941)'))) / (select extract(epoch from '2026-06-22 03:26:34'::timestamp) - extract(epoch from '2026-06-22 03:26: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'), 46715, 'SRID=4674;POINT (-40.326304 -2.770942)', '2026-06-22 03:26:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.770941)'), GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.770942)'))) / (select extract(epoch from '2026-06-22 03:26:47'::timestamp) - extract(epoch from '2026-06-22 03:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.770941)'), GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.770942)'))) / (select extract(epoch from '2026-06-22 03:26:47'::timestamp) - extract(epoch from '2026-06-22 03:26: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'), 46715, 'SRID=4674;POINT (-40.326309 -2.770937)', '2026-06-22 03:27:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.770942)'), GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770937)'))) / (select extract(epoch from '2026-06-22 03:27:01'::timestamp) - extract(epoch from '2026-06-22 03:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.770942)'), GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770937)'))) / (select extract(epoch from '2026-06-22 03:27:01'::timestamp) - extract(epoch from '2026-06-22 03:26: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'), 46715, 'SRID=4674;POINT (-40.326317 -2.770936)', '2026-06-22 03:27:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770937)'), GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:27:15'::timestamp) - extract(epoch from '2026-06-22 03:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326309 -2.770937)'), GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:27:15'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.32631 -2.77094)', '2026-06-22 03:27:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.77094)'))) / (select extract(epoch from '2026-06-22 03:27:30'::timestamp) - extract(epoch from '2026-06-22 03:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.77094)'))) / (select extract(epoch from '2026-06-22 03:27:30'::timestamp) - extract(epoch from '2026-06-22 03:27: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'), 46715, 'SRID=4674;POINT (-40.326308 -2.770949)', '2026-06-22 03:27:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.77094)'), GeomFromEWKT('SRID=4674;POINT (-40.326308 -2.770949)'))) / (select extract(epoch from '2026-06-22 03:27:44'::timestamp) - extract(epoch from '2026-06-22 03:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.77094)'), GeomFromEWKT('SRID=4674;POINT (-40.326308 -2.770949)'))) / (select extract(epoch from '2026-06-22 03:27:44'::timestamp) - extract(epoch from '2026-06-22 03:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326305 -2.77095)', '2026-06-22 03:28:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326308 -2.770949)'), GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.77095)'))) / (select extract(epoch from '2026-06-22 03:28:01'::timestamp) - extract(epoch from '2026-06-22 03:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326308 -2.770949)'), GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.77095)'))) / (select extract(epoch from '2026-06-22 03:28:01'::timestamp) - extract(epoch from '2026-06-22 03:27: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'), 46715, 'SRID=4674;POINT (-40.326297 -2.770944)', '2026-06-22 03:28:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.77095)'), GeomFromEWKT('SRID=4674;POINT (-40.326297 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:28:16'::timestamp) - extract(epoch from '2026-06-22 03:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326305 -2.77095)'), GeomFromEWKT('SRID=4674;POINT (-40.326297 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:28:16'::timestamp) - extract(epoch from '2026-06-22 03: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'), 46715, 'SRID=4674;POINT (-40.326291 -2.770943)', '2026-06-22 03:28:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326297 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326291 -2.770943)'))) / (select extract(epoch from '2026-06-22 03:28:29'::timestamp) - extract(epoch from '2026-06-22 03:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326297 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326291 -2.770943)'))) / (select extract(epoch from '2026-06-22 03:28:29'::timestamp) - extract(epoch from '2026-06-22 03:28: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'), 46715, 'SRID=4674;POINT (-40.326286 -2.770936)', '2026-06-22 03:28:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326291 -2.770943)'), GeomFromEWKT('SRID=4674;POINT (-40.326286 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:28:42'::timestamp) - extract(epoch from '2026-06-22 03:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326291 -2.770943)'), GeomFromEWKT('SRID=4674;POINT (-40.326286 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:28:42'::timestamp) - extract(epoch from '2026-06-22 03:28: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'), 46715, 'SRID=4674;POINT (-40.326285 -2.770944)', '2026-06-22 03:28:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326286 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.326285 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:28:58'::timestamp) - extract(epoch from '2026-06-22 03:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326286 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.326285 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:28:58'::timestamp) - extract(epoch from '2026-06-22 03:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326299 -2.770949)', '2026-06-22 03:29:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326285 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326299 -2.770949)'))) / (select extract(epoch from '2026-06-22 03:29:12'::timestamp) - extract(epoch from '2026-06-22 03:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326285 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326299 -2.770949)'))) / (select extract(epoch from '2026-06-22 03:29:12'::timestamp) - extract(epoch from '2026-06-22 03:28: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'), 46715, 'SRID=4674;POINT (-40.326308 -2.770944)', '2026-06-22 03:29:25', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326299 -2.770949)'), GeomFromEWKT('SRID=4674;POINT (-40.326308 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:29:25'::timestamp) - extract(epoch from '2026-06-22 03:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326299 -2.770949)'), GeomFromEWKT('SRID=4674;POINT (-40.326308 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:29:25'::timestamp) - extract(epoch from '2026-06-22 03:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326307 -2.770938)', '2026-06-22 03:29:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326308 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770938)'))) / (select extract(epoch from '2026-06-22 03:29:40'::timestamp) - extract(epoch from '2026-06-22 03:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326308 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770938)'))) / (select extract(epoch from '2026-06-22 03:29:40'::timestamp) - extract(epoch from '2026-06-22 03:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326318 -2.770955)', '2026-06-22 03:29:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770938)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770955)'))) / (select extract(epoch from '2026-06-22 03:29:57'::timestamp) - extract(epoch from '2026-06-22 03:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770938)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770955)'))) / (select extract(epoch from '2026-06-22 03:29:57'::timestamp) - extract(epoch from '2026-06-22 03:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326322 -2.770957)', '2026-06-22 03:30:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770955)'), GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.770957)'))) / (select extract(epoch from '2026-06-22 03:30:11'::timestamp) - extract(epoch from '2026-06-22 03:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770955)'), GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.770957)'))) / (select extract(epoch from '2026-06-22 03:30:11'::timestamp) - extract(epoch from '2026-06-22 03:29: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'), 46715, 'SRID=4674;POINT (-40.32632 -2.770951)', '2026-06-22 03:30:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.770957)'), GeomFromEWKT('SRID=4674;POINT (-40.32632 -2.770951)'))) / (select extract(epoch from '2026-06-22 03:30:19'::timestamp) - extract(epoch from '2026-06-22 03:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.770957)'), GeomFromEWKT('SRID=4674;POINT (-40.32632 -2.770951)'))) / (select extract(epoch from '2026-06-22 03:30:19'::timestamp) - extract(epoch from '2026-06-22 03:30: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'), 46715, 'SRID=4674;POINT (-40.326318 -2.770936)', '2026-06-22 03:30:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32632 -2.770951)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:30:41'::timestamp) - extract(epoch from '2026-06-22 03:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32632 -2.770951)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:30:41'::timestamp) - extract(epoch from '2026-06-22 03:30: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'), 46715, 'SRID=4674;POINT (-40.326323 -2.770939)', '2026-06-22 03:30:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.326323 -2.770939)'))) / (select extract(epoch from '2026-06-22 03:30:55'::timestamp) - extract(epoch from '2026-06-22 03:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.326323 -2.770939)'))) / (select extract(epoch from '2026-06-22 03:30:55'::timestamp) - extract(epoch from '2026-06-22 03:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326326 -2.770936)', '2026-06-22 03:31:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326323 -2.770939)'), GeomFromEWKT('SRID=4674;POINT (-40.326326 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:31:11'::timestamp) - extract(epoch from '2026-06-22 03:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326323 -2.770939)'), GeomFromEWKT('SRID=4674;POINT (-40.326326 -2.770936)'))) / (select extract(epoch from '2026-06-22 03:31:11'::timestamp) - extract(epoch from '2026-06-22 03:30: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'), 46715, 'SRID=4674;POINT (-40.326326 -2.770944)', '2026-06-22 03:31:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326326 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.326326 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:31:24'::timestamp) - extract(epoch from '2026-06-22 03:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326326 -2.770936)'), GeomFromEWKT('SRID=4674;POINT (-40.326326 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:31:24'::timestamp) - extract(epoch from '2026-06-22 03:31: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'), 46715, 'SRID=4674;POINT (-40.326319 -2.770942)', '2026-06-22 03:31:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326326 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326319 -2.770942)'))) / (select extract(epoch from '2026-06-22 03:31:38'::timestamp) - extract(epoch from '2026-06-22 03:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326326 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.326319 -2.770942)'))) / (select extract(epoch from '2026-06-22 03:31:38'::timestamp) - extract(epoch from '2026-06-22 03:31: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'), 46715, 'SRID=4674;POINT (-40.326315 -2.770945)', '2026-06-22 03:31:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326319 -2.770942)'), GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770945)'))) / (select extract(epoch from '2026-06-22 03:31:56'::timestamp) - extract(epoch from '2026-06-22 03:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326319 -2.770942)'), GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770945)'))) / (select extract(epoch from '2026-06-22 03:31:56'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.326324 -2.770951)', '2026-06-22 03:32:10', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770945)'), GeomFromEWKT('SRID=4674;POINT (-40.326324 -2.770951)'))) / (select extract(epoch from '2026-06-22 03:32:10'::timestamp) - extract(epoch from '2026-06-22 03:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770945)'), GeomFromEWKT('SRID=4674;POINT (-40.326324 -2.770951)'))) / (select extract(epoch from '2026-06-22 03:32:10'::timestamp) - extract(epoch from '2026-06-22 03:31:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326327 -2.770935)', '2026-06-22 03:32:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326324 -2.770951)'), GeomFromEWKT('SRID=4674;POINT (-40.326327 -2.770935)'))) / (select extract(epoch from '2026-06-22 03:32:27'::timestamp) - extract(epoch from '2026-06-22 03:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326324 -2.770951)'), GeomFromEWKT('SRID=4674;POINT (-40.326327 -2.770935)'))) / (select extract(epoch from '2026-06-22 03:32:27'::timestamp) - extract(epoch from '2026-06-22 03:32: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'), 46715, 'SRID=4674;POINT (-40.326323 -2.770953)', '2026-06-22 03:32:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326327 -2.770935)'), GeomFromEWKT('SRID=4674;POINT (-40.326323 -2.770953)'))) / (select extract(epoch from '2026-06-22 03:32:47'::timestamp) - extract(epoch from '2026-06-22 03:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326327 -2.770935)'), GeomFromEWKT('SRID=4674;POINT (-40.326323 -2.770953)'))) / (select extract(epoch from '2026-06-22 03:32:47'::timestamp) - extract(epoch from '2026-06-22 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'), 46715, 'SRID=4674;POINT (-40.326314 -2.770946)', '2026-06-22 03:33:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326323 -2.770953)'), GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.770946)'))) / (select extract(epoch from '2026-06-22 03:33:04'::timestamp) - extract(epoch from '2026-06-22 03:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326323 -2.770953)'), GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.770946)'))) / (select extract(epoch from '2026-06-22 03:33:04'::timestamp) - extract(epoch from '2026-06-22 03:32: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'), 46715, 'SRID=4674;POINT (-40.326311 -2.770943)', '2026-06-22 03:33:16', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.770946)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770943)'))) / (select extract(epoch from '2026-06-22 03:33:16'::timestamp) - extract(epoch from '2026-06-22 03:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.770946)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770943)'))) / (select extract(epoch from '2026-06-22 03:33:16'::timestamp) - extract(epoch from '2026-06-22 03:33: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'), 46715, 'SRID=4674;POINT (-40.326311 -2.770958)', '2026-06-22 03:33:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770943)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770958)'))) / (select extract(epoch from '2026-06-22 03:33:35'::timestamp) - extract(epoch from '2026-06-22 03:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770943)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770958)'))) / (select extract(epoch from '2026-06-22 03:33:35'::timestamp) - extract(epoch from '2026-06-22 03:33: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'), 46715, 'SRID=4674;POINT (-40.326307 -2.770973)', '2026-06-22 03:33:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770958)'), GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770973)'))) / (select extract(epoch from '2026-06-22 03:33:51'::timestamp) - extract(epoch from '2026-06-22 03:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770958)'), GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770973)'))) / (select extract(epoch from '2026-06-22 03:33:51'::timestamp) - extract(epoch from '2026-06-22 03:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326312 -2.770966)', '2026-06-22 03:34:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770973)'), GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.770966)'))) / (select extract(epoch from '2026-06-22 03:34:03'::timestamp) - extract(epoch from '2026-06-22 03:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326307 -2.770973)'), GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.770966)'))) / (select extract(epoch from '2026-06-22 03:34:03'::timestamp) - extract(epoch from '2026-06-22 03:33: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'), 46715, 'SRID=4674;POINT (-40.326311 -2.770965)', '2026-06-22 03:34:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.770966)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770965)'))) / (select extract(epoch from '2026-06-22 03:34:15'::timestamp) - extract(epoch from '2026-06-22 03:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.770966)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770965)'))) / (select extract(epoch from '2026-06-22 03:34:15'::timestamp) - extract(epoch from '2026-06-22 03:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326315 -2.770973)', '2026-06-22 03:34:28', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770965)'), GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770973)'))) / (select extract(epoch from '2026-06-22 03:34:28'::timestamp) - extract(epoch from '2026-06-22 03:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.770965)'), GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770973)'))) / (select extract(epoch from '2026-06-22 03:34:28'::timestamp) - extract(epoch from '2026-06-22 03:34: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'), 46715, 'SRID=4674;POINT (-40.326318 -2.770972)', '2026-06-22 03:34:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770973)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770972)'))) / (select extract(epoch from '2026-06-22 03:34:44'::timestamp) - extract(epoch from '2026-06-22 03:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770973)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770972)'))) / (select extract(epoch from '2026-06-22 03:34:44'::timestamp) - extract(epoch from '2026-06-22 03:34: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'), 46715, 'SRID=4674;POINT (-40.326316 -2.770964)', '2026-06-22 03:34:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770972)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770964)'))) / (select extract(epoch from '2026-06-22 03:34:54'::timestamp) - extract(epoch from '2026-06-22 03:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770972)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770964)'))) / (select extract(epoch from '2026-06-22 03:34:54'::timestamp) - extract(epoch from '2026-06-22 03:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326316 -2.770962)', '2026-06-22 03:35:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770964)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770962)'))) / (select extract(epoch from '2026-06-22 03:35:08'::timestamp) - extract(epoch from '2026-06-22 03:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770964)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770962)'))) / (select extract(epoch from '2026-06-22 03:35:08'::timestamp) - extract(epoch from '2026-06-22 03:34: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'), 46715, 'SRID=4674;POINT (-40.326312 -2.77096)', '2026-06-22 03:35:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770962)'), GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.77096)'))) / (select extract(epoch from '2026-06-22 03:35:19'::timestamp) - extract(epoch from '2026-06-22 03:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770962)'), GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.77096)'))) / (select extract(epoch from '2026-06-22 03:35:19'::timestamp) - extract(epoch from '2026-06-22 03:35: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'), 46715, 'SRID=4674;POINT (-40.326314 -2.770962)', '2026-06-22 03:35:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.77096)'), GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.770962)'))) / (select extract(epoch from '2026-06-22 03:35:35'::timestamp) - extract(epoch from '2026-06-22 03:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326312 -2.77096)'), GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.770962)'))) / (select extract(epoch from '2026-06-22 03:35:35'::timestamp) - extract(epoch from '2026-06-22 03:35: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'), 46715, 'SRID=4674;POINT (-40.326311 -2.77094)', '2026-06-22 03:35:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.770962)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.77094)'))) / (select extract(epoch from '2026-06-22 03:35:58'::timestamp) - extract(epoch from '2026-06-22 03:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326314 -2.770962)'), GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.77094)'))) / (select extract(epoch from '2026-06-22 03:35:58'::timestamp) - extract(epoch from '2026-06-22 03:35: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'), 46715, 'SRID=4674;POINT (-40.326318 -2.770948)', '2026-06-22 03:36:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.77094)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770948)'))) / (select extract(epoch from '2026-06-22 03:36:18'::timestamp) - extract(epoch from '2026-06-22 03:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326311 -2.77094)'), GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770948)'))) / (select extract(epoch from '2026-06-22 03:36:18'::timestamp) - extract(epoch from '2026-06-22 03:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326319 -2.770944)', '2026-06-22 03:36:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770948)'), GeomFromEWKT('SRID=4674;POINT (-40.326319 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:36:29'::timestamp) - extract(epoch from '2026-06-22 03:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326318 -2.770948)'), GeomFromEWKT('SRID=4674;POINT (-40.326319 -2.770944)'))) / (select extract(epoch from '2026-06-22 03:36:29'::timestamp) - extract(epoch from '2026-06-22 03:36: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'), 46715, 'SRID=4674;POINT (-40.32631 -2.770954)', '2026-06-22 03:36:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326319 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.770954)'))) / (select extract(epoch from '2026-06-22 03:36:46'::timestamp) - extract(epoch from '2026-06-22 03:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326319 -2.770944)'), GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.770954)'))) / (select extract(epoch from '2026-06-22 03:36:46'::timestamp) - extract(epoch from '2026-06-22 03:36: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'), 46715, 'SRID=4674;POINT (-40.326316 -2.770955)', '2026-06-22 03:37:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.770954)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770955)'))) / (select extract(epoch from '2026-06-22 03:37:03'::timestamp) - extract(epoch from '2026-06-22 03:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.770954)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770955)'))) / (select extract(epoch from '2026-06-22 03:37:03'::timestamp) - extract(epoch from '2026-06-22 03:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326317 -2.770945)', '2026-06-22 03:37:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770955)'), GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770945)'))) / (select extract(epoch from '2026-06-22 03:37:20'::timestamp) - extract(epoch from '2026-06-22 03:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.770955)'), GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770945)'))) / (select extract(epoch from '2026-06-22 03:37:20'::timestamp) - extract(epoch from '2026-06-22 03:37: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'), 46715, 'SRID=4674;POINT (-40.326315 -2.770952)', '2026-06-22 03:37:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770945)'), GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770952)'))) / (select extract(epoch from '2026-06-22 03:37:34'::timestamp) - extract(epoch from '2026-06-22 03:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.770945)'), GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770952)'))) / (select extract(epoch from '2026-06-22 03:37:34'::timestamp) - extract(epoch from '2026-06-22 03:37: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'), 46715, 'SRID=4674;POINT (-40.326317 -2.77096)', '2026-06-22 03:37:49', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770952)'), GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.77096)'))) / (select extract(epoch from '2026-06-22 03:37:49'::timestamp) - extract(epoch from '2026-06-22 03:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326315 -2.770952)'), GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.77096)'))) / (select extract(epoch from '2026-06-22 03:37:49'::timestamp) - extract(epoch from '2026-06-22 03:37: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'), 46715, 'SRID=4674;POINT (-40.32631 -2.770957)', '2026-06-22 03:38:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.77096)'), GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.770957)'))) / (select extract(epoch from '2026-06-22 03:38:03'::timestamp) - extract(epoch from '2026-06-22 03:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326317 -2.77096)'), GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.770957)'))) / (select extract(epoch from '2026-06-22 03:38:03'::timestamp) - extract(epoch from '2026-06-22 03:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326322 -2.770959)', '2026-06-22 03:38:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.770957)'), GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.770959)'))) / (select extract(epoch from '2026-06-22 03:38:11'::timestamp) - extract(epoch from '2026-06-22 03:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32631 -2.770957)'), GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.770959)'))) / (select extract(epoch from '2026-06-22 03:38:11'::timestamp) - extract(epoch from '2026-06-22 03:38: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'), 46715, 'SRID=4674;POINT (-40.326313 -2.770964)', '2026-06-22 03:38:25', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.770959)'), GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770964)'))) / (select extract(epoch from '2026-06-22 03:38:25'::timestamp) - extract(epoch from '2026-06-22 03:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326322 -2.770959)'), GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770964)'))) / (select extract(epoch from '2026-06-22 03:38:25'::timestamp) - extract(epoch from '2026-06-22 03:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46715, 'SRID=4674;POINT (-40.326316 -2.77096)', '2026-06-22 03:38:42', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770964)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.77096)'))) / (select extract(epoch from '2026-06-22 03:38:42'::timestamp) - extract(epoch from '2026-06-22 03:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326313 -2.770964)'), GeomFromEWKT('SRID=4674;POINT (-40.326316 -2.77096)'))) / (select extract(epoch from '2026-06-22 03:38:42'::timestamp) - extract(epoch from '2026-06-22 03:38:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
