 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.552504 -2.81877)', '2026-07-10 15:42:28', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552442 -2.818741)'), GeomFromEWKT('SRID=4674;POINT (-40.552504 -2.81877)'))) / (select extract(epoch from '2026-07-10 15:42:28'::timestamp) - extract(epoch from '2026-07-10 15:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552442 -2.818741)'), GeomFromEWKT('SRID=4674;POINT (-40.552504 -2.81877)'))) / (select extract(epoch from '2026-07-10 15:42:28'::timestamp) - extract(epoch from '2026-07-10 15:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.552562 -2.8188)', '2026-07-10 15:42:38', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552504 -2.81877)'), GeomFromEWKT('SRID=4674;POINT (-40.552562 -2.8188)'))) / (select extract(epoch from '2026-07-10 15:42:38'::timestamp) - extract(epoch from '2026-07-10 15:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552504 -2.81877)'), GeomFromEWKT('SRID=4674;POINT (-40.552562 -2.8188)'))) / (select extract(epoch from '2026-07-10 15:42:38'::timestamp) - extract(epoch from '2026-07-10 15:42: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'), 47642, 'SRID=4674;POINT (-40.552621 -2.818829)', '2026-07-10 15:42:48', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552562 -2.8188)'), GeomFromEWKT('SRID=4674;POINT (-40.552621 -2.818829)'))) / (select extract(epoch from '2026-07-10 15:42:48'::timestamp) - extract(epoch from '2026-07-10 15:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552562 -2.8188)'), GeomFromEWKT('SRID=4674;POINT (-40.552621 -2.818829)'))) / (select extract(epoch from '2026-07-10 15:42:48'::timestamp) - extract(epoch from '2026-07-10 15:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.552671 -2.818847)', '2026-07-10 15:42:57', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552621 -2.818829)'), GeomFromEWKT('SRID=4674;POINT (-40.552671 -2.818847)'))) / (select extract(epoch from '2026-07-10 15:42:57'::timestamp) - extract(epoch from '2026-07-10 15:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552621 -2.818829)'), GeomFromEWKT('SRID=4674;POINT (-40.552671 -2.818847)'))) / (select extract(epoch from '2026-07-10 15:42:57'::timestamp) - extract(epoch from '2026-07-10 15:42: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'), 47642, 'SRID=4674;POINT (-40.552722 -2.818872)', '2026-07-10 15:43:06', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552671 -2.818847)'), GeomFromEWKT('SRID=4674;POINT (-40.552722 -2.818872)'))) / (select extract(epoch from '2026-07-10 15:43:06'::timestamp) - extract(epoch from '2026-07-10 15:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552671 -2.818847)'), GeomFromEWKT('SRID=4674;POINT (-40.552722 -2.818872)'))) / (select extract(epoch from '2026-07-10 15:43:06'::timestamp) - extract(epoch from '2026-07-10 15:42: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'), 47642, 'SRID=4674;POINT (-40.552767 -2.818892)', '2026-07-10 15:43:15', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552722 -2.818872)'), GeomFromEWKT('SRID=4674;POINT (-40.552767 -2.818892)'))) / (select extract(epoch from '2026-07-10 15:43:15'::timestamp) - extract(epoch from '2026-07-10 15:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552722 -2.818872)'), GeomFromEWKT('SRID=4674;POINT (-40.552767 -2.818892)'))) / (select extract(epoch from '2026-07-10 15:43:15'::timestamp) - extract(epoch from '2026-07-10 15:43: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'), 47642, 'SRID=4674;POINT (-40.552829 -2.818934)', '2026-07-10 15:43:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552767 -2.818892)'), GeomFromEWKT('SRID=4674;POINT (-40.552829 -2.818934)'))) / (select extract(epoch from '2026-07-10 15:43:27'::timestamp) - extract(epoch from '2026-07-10 15:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552767 -2.818892)'), GeomFromEWKT('SRID=4674;POINT (-40.552829 -2.818934)'))) / (select extract(epoch from '2026-07-10 15:43:27'::timestamp) - extract(epoch from '2026-07-10 15:43: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'), 47642, 'SRID=4674;POINT (-40.552882 -2.818964)', '2026-07-10 15:43:38', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552829 -2.818934)'), GeomFromEWKT('SRID=4674;POINT (-40.552882 -2.818964)'))) / (select extract(epoch from '2026-07-10 15:43:38'::timestamp) - extract(epoch from '2026-07-10 15:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552829 -2.818934)'), GeomFromEWKT('SRID=4674;POINT (-40.552882 -2.818964)'))) / (select extract(epoch from '2026-07-10 15:43:38'::timestamp) - extract(epoch from '2026-07-10 15:43: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'), 47642, 'SRID=4674;POINT (-40.552935 -2.818987)', '2026-07-10 15:43:47', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552882 -2.818964)'), GeomFromEWKT('SRID=4674;POINT (-40.552935 -2.818987)'))) / (select extract(epoch from '2026-07-10 15:43:47'::timestamp) - extract(epoch from '2026-07-10 15:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552882 -2.818964)'), GeomFromEWKT('SRID=4674;POINT (-40.552935 -2.818987)'))) / (select extract(epoch from '2026-07-10 15:43:47'::timestamp) - extract(epoch from '2026-07-10 15:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.553014 -2.819017)', '2026-07-10 15:44:01', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552935 -2.818987)'), GeomFromEWKT('SRID=4674;POINT (-40.553014 -2.819017)'))) / (select extract(epoch from '2026-07-10 15:44:01'::timestamp) - extract(epoch from '2026-07-10 15:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.552935 -2.818987)'), GeomFromEWKT('SRID=4674;POINT (-40.553014 -2.819017)'))) / (select extract(epoch from '2026-07-10 15:44:01'::timestamp) - extract(epoch from '2026-07-10 15:43: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'), 47642, 'SRID=4674;POINT (-40.553062 -2.819049)', '2026-07-10 15:44:11', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553014 -2.819017)'), GeomFromEWKT('SRID=4674;POINT (-40.553062 -2.819049)'))) / (select extract(epoch from '2026-07-10 15:44:11'::timestamp) - extract(epoch from '2026-07-10 15:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553014 -2.819017)'), GeomFromEWKT('SRID=4674;POINT (-40.553062 -2.819049)'))) / (select extract(epoch from '2026-07-10 15:44:11'::timestamp) - extract(epoch from '2026-07-10 15:44: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'), 47642, 'SRID=4674;POINT (-40.553103 -2.819073)', '2026-07-10 15:44:20', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553062 -2.819049)'), GeomFromEWKT('SRID=4674;POINT (-40.553103 -2.819073)'))) / (select extract(epoch from '2026-07-10 15:44:20'::timestamp) - extract(epoch from '2026-07-10 15:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553062 -2.819049)'), GeomFromEWKT('SRID=4674;POINT (-40.553103 -2.819073)'))) / (select extract(epoch from '2026-07-10 15:44:20'::timestamp) - extract(epoch from '2026-07-10 15:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.553143 -2.819103)', '2026-07-10 15:44:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553103 -2.819073)'), GeomFromEWKT('SRID=4674;POINT (-40.553143 -2.819103)'))) / (select extract(epoch from '2026-07-10 15:44:30'::timestamp) - extract(epoch from '2026-07-10 15:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553103 -2.819073)'), GeomFromEWKT('SRID=4674;POINT (-40.553143 -2.819103)'))) / (select extract(epoch from '2026-07-10 15:44:30'::timestamp) - extract(epoch from '2026-07-10 15:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.553194 -2.819124)', '2026-07-10 15:44:39', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553143 -2.819103)'), GeomFromEWKT('SRID=4674;POINT (-40.553194 -2.819124)'))) / (select extract(epoch from '2026-07-10 15:44:39'::timestamp) - extract(epoch from '2026-07-10 15:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553143 -2.819103)'), GeomFromEWKT('SRID=4674;POINT (-40.553194 -2.819124)'))) / (select extract(epoch from '2026-07-10 15:44:39'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47642, 'SRID=4674;POINT (-40.553268 -2.819165)', '2026-07-10 15:44:52', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553194 -2.819124)'), GeomFromEWKT('SRID=4674;POINT (-40.553268 -2.819165)'))) / (select extract(epoch from '2026-07-10 15:44:52'::timestamp) - extract(epoch from '2026-07-10 15:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553194 -2.819124)'), GeomFromEWKT('SRID=4674;POINT (-40.553268 -2.819165)'))) / (select extract(epoch from '2026-07-10 15:44:52'::timestamp) - extract(epoch from '2026-07-10 15:44: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'), 47642, 'SRID=4674;POINT (-40.553317 -2.81919)', '2026-07-10 15:45:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553268 -2.819165)'), GeomFromEWKT('SRID=4674;POINT (-40.553317 -2.81919)'))) / (select extract(epoch from '2026-07-10 15:45:02'::timestamp) - extract(epoch from '2026-07-10 15:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553268 -2.819165)'), GeomFromEWKT('SRID=4674;POINT (-40.553317 -2.81919)'))) / (select extract(epoch from '2026-07-10 15:45:02'::timestamp) - extract(epoch from '2026-07-10 15:44: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'), 47642, 'SRID=4674;POINT (-40.553374 -2.819218)', '2026-07-10 15:45:13', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553317 -2.81919)'), GeomFromEWKT('SRID=4674;POINT (-40.553374 -2.819218)'))) / (select extract(epoch from '2026-07-10 15:45:13'::timestamp) - extract(epoch from '2026-07-10 15:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553317 -2.81919)'), GeomFromEWKT('SRID=4674;POINT (-40.553374 -2.819218)'))) / (select extract(epoch from '2026-07-10 15:45:13'::timestamp) - extract(epoch from '2026-07-10 15:45: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'), 47642, 'SRID=4674;POINT (-40.553418 -2.819243)', '2026-07-10 15:45:23', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553374 -2.819218)'), GeomFromEWKT('SRID=4674;POINT (-40.553418 -2.819243)'))) / (select extract(epoch from '2026-07-10 15:45:23'::timestamp) - extract(epoch from '2026-07-10 15:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553374 -2.819218)'), GeomFromEWKT('SRID=4674;POINT (-40.553418 -2.819243)'))) / (select extract(epoch from '2026-07-10 15:45:23'::timestamp) - extract(epoch from '2026-07-10 15:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.553456 -2.819257)', '2026-07-10 15:45:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553418 -2.819243)'), GeomFromEWKT('SRID=4674;POINT (-40.553456 -2.819257)'))) / (select extract(epoch from '2026-07-10 15:45:30'::timestamp) - extract(epoch from '2026-07-10 15:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553418 -2.819243)'), GeomFromEWKT('SRID=4674;POINT (-40.553456 -2.819257)'))) / (select extract(epoch from '2026-07-10 15:45:30'::timestamp) - extract(epoch from '2026-07-10 15:45: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'), 47642, 'SRID=4674;POINT (-40.553507 -2.819287)', '2026-07-10 15:45:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553456 -2.819257)'), GeomFromEWKT('SRID=4674;POINT (-40.553507 -2.819287)'))) / (select extract(epoch from '2026-07-10 15:45:41'::timestamp) - extract(epoch from '2026-07-10 15:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553456 -2.819257)'), GeomFromEWKT('SRID=4674;POINT (-40.553507 -2.819287)'))) / (select extract(epoch from '2026-07-10 15:45:41'::timestamp) - extract(epoch from '2026-07-10 15:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.553555 -2.81932)', '2026-07-10 15:45:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553507 -2.819287)'), GeomFromEWKT('SRID=4674;POINT (-40.553555 -2.81932)'))) / (select extract(epoch from '2026-07-10 15:45:50'::timestamp) - extract(epoch from '2026-07-10 15:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553507 -2.819287)'), GeomFromEWKT('SRID=4674;POINT (-40.553555 -2.81932)'))) / (select extract(epoch from '2026-07-10 15:45:50'::timestamp) - extract(epoch from '2026-07-10 15:45: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'), 47642, 'SRID=4674;POINT (-40.553599 -2.81934)', '2026-07-10 15:45:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553555 -2.81932)'), GeomFromEWKT('SRID=4674;POINT (-40.553599 -2.81934)'))) / (select extract(epoch from '2026-07-10 15:45:58'::timestamp) - extract(epoch from '2026-07-10 15:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553555 -2.81932)'), GeomFromEWKT('SRID=4674;POINT (-40.553599 -2.81934)'))) / (select extract(epoch from '2026-07-10 15:45:58'::timestamp) - extract(epoch from '2026-07-10 15:45: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'), 47642, 'SRID=4674;POINT (-40.55365 -2.819377)', '2026-07-10 15:46:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553599 -2.81934)'), GeomFromEWKT('SRID=4674;POINT (-40.55365 -2.819377)'))) / (select extract(epoch from '2026-07-10 15:46:09'::timestamp) - extract(epoch from '2026-07-10 15:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553599 -2.81934)'), GeomFromEWKT('SRID=4674;POINT (-40.55365 -2.819377)'))) / (select extract(epoch from '2026-07-10 15:46:09'::timestamp) - extract(epoch from '2026-07-10 15:45:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.553692 -2.819402)', '2026-07-10 15:46:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55365 -2.819377)'), GeomFromEWKT('SRID=4674;POINT (-40.553692 -2.819402)'))) / (select extract(epoch from '2026-07-10 15:46:17'::timestamp) - extract(epoch from '2026-07-10 15:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55365 -2.819377)'), GeomFromEWKT('SRID=4674;POINT (-40.553692 -2.819402)'))) / (select extract(epoch from '2026-07-10 15:46:17'::timestamp) - extract(epoch from '2026-07-10 15:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.553749 -2.819434)', '2026-07-10 15:46:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553692 -2.819402)'), GeomFromEWKT('SRID=4674;POINT (-40.553749 -2.819434)'))) / (select extract(epoch from '2026-07-10 15:46:29'::timestamp) - extract(epoch from '2026-07-10 15:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553692 -2.819402)'), GeomFromEWKT('SRID=4674;POINT (-40.553749 -2.819434)'))) / (select extract(epoch from '2026-07-10 15:46:29'::timestamp) - extract(epoch from '2026-07-10 15:46: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'), 47642, 'SRID=4674;POINT (-40.553825 -2.81948)', '2026-07-10 15:46:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553749 -2.819434)'), GeomFromEWKT('SRID=4674;POINT (-40.553825 -2.81948)'))) / (select extract(epoch from '2026-07-10 15:46:41'::timestamp) - extract(epoch from '2026-07-10 15:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553749 -2.819434)'), GeomFromEWKT('SRID=4674;POINT (-40.553825 -2.81948)'))) / (select extract(epoch from '2026-07-10 15:46:41'::timestamp) - extract(epoch from '2026-07-10 15:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.553879 -2.819502)', '2026-07-10 15:46:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553825 -2.81948)'), GeomFromEWKT('SRID=4674;POINT (-40.553879 -2.819502)'))) / (select extract(epoch from '2026-07-10 15:46:52'::timestamp) - extract(epoch from '2026-07-10 15:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553825 -2.81948)'), GeomFromEWKT('SRID=4674;POINT (-40.553879 -2.819502)'))) / (select extract(epoch from '2026-07-10 15:46:52'::timestamp) - extract(epoch from '2026-07-10 15:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.553932 -2.819529)', '2026-07-10 15:47:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553879 -2.819502)'), GeomFromEWKT('SRID=4674;POINT (-40.553932 -2.819529)'))) / (select extract(epoch from '2026-07-10 15:47:01'::timestamp) - extract(epoch from '2026-07-10 15:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553879 -2.819502)'), GeomFromEWKT('SRID=4674;POINT (-40.553932 -2.819529)'))) / (select extract(epoch from '2026-07-10 15:47:01'::timestamp) - extract(epoch from '2026-07-10 15:46: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'), 47642, 'SRID=4674;POINT (-40.553982 -2.819549)', '2026-07-10 15:47:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553932 -2.819529)'), GeomFromEWKT('SRID=4674;POINT (-40.553982 -2.819549)'))) / (select extract(epoch from '2026-07-10 15:47:11'::timestamp) - extract(epoch from '2026-07-10 15:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553932 -2.819529)'), GeomFromEWKT('SRID=4674;POINT (-40.553982 -2.819549)'))) / (select extract(epoch from '2026-07-10 15:47:11'::timestamp) - extract(epoch from '2026-07-10 15:47: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'), 47642, 'SRID=4674;POINT (-40.554036 -2.819577)', '2026-07-10 15:47:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553982 -2.819549)'), GeomFromEWKT('SRID=4674;POINT (-40.554036 -2.819577)'))) / (select extract(epoch from '2026-07-10 15:47:21'::timestamp) - extract(epoch from '2026-07-10 15:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.553982 -2.819549)'), GeomFromEWKT('SRID=4674;POINT (-40.554036 -2.819577)'))) / (select extract(epoch from '2026-07-10 15:47:21'::timestamp) - extract(epoch from '2026-07-10 15:47: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'), 47642, 'SRID=4674;POINT (-40.554086 -2.819617)', '2026-07-10 15:47:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554036 -2.819577)'), GeomFromEWKT('SRID=4674;POINT (-40.554086 -2.819617)'))) / (select extract(epoch from '2026-07-10 15:47:30'::timestamp) - extract(epoch from '2026-07-10 15:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554036 -2.819577)'), GeomFromEWKT('SRID=4674;POINT (-40.554086 -2.819617)'))) / (select extract(epoch from '2026-07-10 15:47:30'::timestamp) - extract(epoch from '2026-07-10 15:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.554122 -2.819642)', '2026-07-10 15:47:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554086 -2.819617)'), GeomFromEWKT('SRID=4674;POINT (-40.554122 -2.819642)'))) / (select extract(epoch from '2026-07-10 15:47:38'::timestamp) - extract(epoch from '2026-07-10 15:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554086 -2.819617)'), GeomFromEWKT('SRID=4674;POINT (-40.554122 -2.819642)'))) / (select extract(epoch from '2026-07-10 15:47:38'::timestamp) - extract(epoch from '2026-07-10 15:47: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'), 47642, 'SRID=4674;POINT (-40.554175 -2.819671)', '2026-07-10 15:47:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554122 -2.819642)'), GeomFromEWKT('SRID=4674;POINT (-40.554175 -2.819671)'))) / (select extract(epoch from '2026-07-10 15:47:48'::timestamp) - extract(epoch from '2026-07-10 15:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554122 -2.819642)'), GeomFromEWKT('SRID=4674;POINT (-40.554175 -2.819671)'))) / (select extract(epoch from '2026-07-10 15:47:48'::timestamp) - extract(epoch from '2026-07-10 15:47: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'), 47642, 'SRID=4674;POINT (-40.554227 -2.819698)', '2026-07-10 15:47:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554175 -2.819671)'), GeomFromEWKT('SRID=4674;POINT (-40.554227 -2.819698)'))) / (select extract(epoch from '2026-07-10 15:47:58'::timestamp) - extract(epoch from '2026-07-10 15:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554175 -2.819671)'), GeomFromEWKT('SRID=4674;POINT (-40.554227 -2.819698)'))) / (select extract(epoch from '2026-07-10 15:47:58'::timestamp) - extract(epoch from '2026-07-10 15:47: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'), 47642, 'SRID=4674;POINT (-40.554272 -2.819723)', '2026-07-10 15:48:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554227 -2.819698)'), GeomFromEWKT('SRID=4674;POINT (-40.554272 -2.819723)'))) / (select extract(epoch from '2026-07-10 15:48:06'::timestamp) - extract(epoch from '2026-07-10 15:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554227 -2.819698)'), GeomFromEWKT('SRID=4674;POINT (-40.554272 -2.819723)'))) / (select extract(epoch from '2026-07-10 15:48:06'::timestamp) - extract(epoch from '2026-07-10 15:47: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'), 47642, 'SRID=4674;POINT (-40.554325 -2.819749)', '2026-07-10 15:48:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554272 -2.819723)'), GeomFromEWKT('SRID=4674;POINT (-40.554325 -2.819749)'))) / (select extract(epoch from '2026-07-10 15:48:16'::timestamp) - extract(epoch from '2026-07-10 15:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554272 -2.819723)'), GeomFromEWKT('SRID=4674;POINT (-40.554325 -2.819749)'))) / (select extract(epoch from '2026-07-10 15:48:16'::timestamp) - extract(epoch from '2026-07-10 15:48: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'), 47642, 'SRID=4674;POINT (-40.554394 -2.819776)', '2026-07-10 15:48:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554325 -2.819749)'), GeomFromEWKT('SRID=4674;POINT (-40.554394 -2.819776)'))) / (select extract(epoch from '2026-07-10 15:48:27'::timestamp) - extract(epoch from '2026-07-10 15:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554325 -2.819749)'), GeomFromEWKT('SRID=4674;POINT (-40.554394 -2.819776)'))) / (select extract(epoch from '2026-07-10 15:48:27'::timestamp) - extract(epoch from '2026-07-10 15:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.554449 -2.819805)', '2026-07-10 15:48:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554394 -2.819776)'), GeomFromEWKT('SRID=4674;POINT (-40.554449 -2.819805)'))) / (select extract(epoch from '2026-07-10 15:48:36'::timestamp) - extract(epoch from '2026-07-10 15:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554394 -2.819776)'), GeomFromEWKT('SRID=4674;POINT (-40.554449 -2.819805)'))) / (select extract(epoch from '2026-07-10 15:48:36'::timestamp) - extract(epoch from '2026-07-10 15:48: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'), 47642, 'SRID=4674;POINT (-40.554505 -2.81984)', '2026-07-10 15:48:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554449 -2.819805)'), GeomFromEWKT('SRID=4674;POINT (-40.554505 -2.81984)'))) / (select extract(epoch from '2026-07-10 15:48:48'::timestamp) - extract(epoch from '2026-07-10 15:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554449 -2.819805)'), GeomFromEWKT('SRID=4674;POINT (-40.554505 -2.81984)'))) / (select extract(epoch from '2026-07-10 15:48:48'::timestamp) - extract(epoch from '2026-07-10 15:48: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'), 47642, 'SRID=4674;POINT (-40.55455 -2.81987)', '2026-07-10 15:48:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554505 -2.81984)'), GeomFromEWKT('SRID=4674;POINT (-40.55455 -2.81987)'))) / (select extract(epoch from '2026-07-10 15:48:57'::timestamp) - extract(epoch from '2026-07-10 15:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554505 -2.81984)'), GeomFromEWKT('SRID=4674;POINT (-40.55455 -2.81987)'))) / (select extract(epoch from '2026-07-10 15:48:57'::timestamp) - extract(epoch from '2026-07-10 15:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.554603 -2.819906)', '2026-07-10 15:49:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55455 -2.81987)'), GeomFromEWKT('SRID=4674;POINT (-40.554603 -2.819906)'))) / (select extract(epoch from '2026-07-10 15:49:07'::timestamp) - extract(epoch from '2026-07-10 15:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55455 -2.81987)'), GeomFromEWKT('SRID=4674;POINT (-40.554603 -2.819906)'))) / (select extract(epoch from '2026-07-10 15:49:07'::timestamp) - extract(epoch from '2026-07-10 15:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.554663 -2.819947)', '2026-07-10 15:49:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554603 -2.819906)'), GeomFromEWKT('SRID=4674;POINT (-40.554663 -2.819947)'))) / (select extract(epoch from '2026-07-10 15:49:17'::timestamp) - extract(epoch from '2026-07-10 15:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554603 -2.819906)'), GeomFromEWKT('SRID=4674;POINT (-40.554663 -2.819947)'))) / (select extract(epoch from '2026-07-10 15:49:17'::timestamp) - extract(epoch from '2026-07-10 15:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.554713 -2.819976)', '2026-07-10 15:49:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554663 -2.819947)'), GeomFromEWKT('SRID=4674;POINT (-40.554713 -2.819976)'))) / (select extract(epoch from '2026-07-10 15:49:27'::timestamp) - extract(epoch from '2026-07-10 15:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554663 -2.819947)'), GeomFromEWKT('SRID=4674;POINT (-40.554713 -2.819976)'))) / (select extract(epoch from '2026-07-10 15:49:27'::timestamp) - extract(epoch from '2026-07-10 15:49: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'), 47642, 'SRID=4674;POINT (-40.554755 -2.819989)', '2026-07-10 15:49:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554713 -2.819976)'), GeomFromEWKT('SRID=4674;POINT (-40.554755 -2.819989)'))) / (select extract(epoch from '2026-07-10 15:49:35'::timestamp) - extract(epoch from '2026-07-10 15:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554713 -2.819976)'), GeomFromEWKT('SRID=4674;POINT (-40.554755 -2.819989)'))) / (select extract(epoch from '2026-07-10 15:49:35'::timestamp) - extract(epoch from '2026-07-10 15:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.554835 -2.820013)', '2026-07-10 15:49:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554755 -2.819989)'), GeomFromEWKT('SRID=4674;POINT (-40.554835 -2.820013)'))) / (select extract(epoch from '2026-07-10 15:49:46'::timestamp) - extract(epoch from '2026-07-10 15:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554755 -2.819989)'), GeomFromEWKT('SRID=4674;POINT (-40.554835 -2.820013)'))) / (select extract(epoch from '2026-07-10 15:49:46'::timestamp) - extract(epoch from '2026-07-10 15:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.554884 -2.820018)', '2026-07-10 15:49:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554835 -2.820013)'), GeomFromEWKT('SRID=4674;POINT (-40.554884 -2.820018)'))) / (select extract(epoch from '2026-07-10 15:49:57'::timestamp) - extract(epoch from '2026-07-10 15:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554835 -2.820013)'), GeomFromEWKT('SRID=4674;POINT (-40.554884 -2.820018)'))) / (select extract(epoch from '2026-07-10 15:49:57'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47642, 'SRID=4674;POINT (-40.554885 -2.820028)', '2026-07-10 15:50:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554884 -2.820018)'), GeomFromEWKT('SRID=4674;POINT (-40.554885 -2.820028)'))) / (select extract(epoch from '2026-07-10 15:50:06'::timestamp) - extract(epoch from '2026-07-10 15:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554884 -2.820018)'), GeomFromEWKT('SRID=4674;POINT (-40.554885 -2.820028)'))) / (select extract(epoch from '2026-07-10 15:50:06'::timestamp) - extract(epoch from '2026-07-10 15:49:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.55486 -2.820023)', '2026-07-10 15:50:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554885 -2.820028)'), GeomFromEWKT('SRID=4674;POINT (-40.55486 -2.820023)'))) / (select extract(epoch from '2026-07-10 15:50:26'::timestamp) - extract(epoch from '2026-07-10 15:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554885 -2.820028)'), GeomFromEWKT('SRID=4674;POINT (-40.55486 -2.820023)'))) / (select extract(epoch from '2026-07-10 15:50:26'::timestamp) - extract(epoch from '2026-07-10 15:50: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'), 47642, 'SRID=4674;POINT (-40.554891 -2.82)', '2026-07-10 15:50:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55486 -2.820023)'), GeomFromEWKT('SRID=4674;POINT (-40.554891 -2.82)'))) / (select extract(epoch from '2026-07-10 15:50:42'::timestamp) - extract(epoch from '2026-07-10 15:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55486 -2.820023)'), GeomFromEWKT('SRID=4674;POINT (-40.554891 -2.82)'))) / (select extract(epoch from '2026-07-10 15:50:42'::timestamp) - extract(epoch from '2026-07-10 15:50: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'), 47642, 'SRID=4674;POINT (-40.554891 -2.819975)', '2026-07-10 15:50:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554891 -2.82)'), GeomFromEWKT('SRID=4674;POINT (-40.554891 -2.819975)'))) / (select extract(epoch from '2026-07-10 15:50:54'::timestamp) - extract(epoch from '2026-07-10 15:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554891 -2.82)'), GeomFromEWKT('SRID=4674;POINT (-40.554891 -2.819975)'))) / (select extract(epoch from '2026-07-10 15:50:54'::timestamp) - extract(epoch from '2026-07-10 15:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.554914 -2.819946)', '2026-07-10 15:51:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554891 -2.819975)'), GeomFromEWKT('SRID=4674;POINT (-40.554914 -2.819946)'))) / (select extract(epoch from '2026-07-10 15:51:10'::timestamp) - extract(epoch from '2026-07-10 15:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554891 -2.819975)'), GeomFromEWKT('SRID=4674;POINT (-40.554914 -2.819946)'))) / (select extract(epoch from '2026-07-10 15:51:10'::timestamp) - extract(epoch from '2026-07-10 15:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.554952 -2.819946)', '2026-07-10 15:52:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554914 -2.819946)'), GeomFromEWKT('SRID=4674;POINT (-40.554952 -2.819946)'))) / (select extract(epoch from '2026-07-10 15:52:31'::timestamp) - extract(epoch from '2026-07-10 15:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554914 -2.819946)'), GeomFromEWKT('SRID=4674;POINT (-40.554952 -2.819946)'))) / (select extract(epoch from '2026-07-10 15:52:31'::timestamp) - extract(epoch from '2026-07-10 15:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.555021 -2.819985)', '2026-07-10 15:52:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554952 -2.819946)'), GeomFromEWKT('SRID=4674;POINT (-40.555021 -2.819985)'))) / (select extract(epoch from '2026-07-10 15:52:41'::timestamp) - extract(epoch from '2026-07-10 15:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.554952 -2.819946)'), GeomFromEWKT('SRID=4674;POINT (-40.555021 -2.819985)'))) / (select extract(epoch from '2026-07-10 15:52:41'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47642, 'SRID=4674;POINT (-40.555089 -2.820009)', '2026-07-10 15:52:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555021 -2.819985)'), GeomFromEWKT('SRID=4674;POINT (-40.555089 -2.820009)'))) / (select extract(epoch from '2026-07-10 15:52:52'::timestamp) - extract(epoch from '2026-07-10 15:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555021 -2.819985)'), GeomFromEWKT('SRID=4674;POINT (-40.555089 -2.820009)'))) / (select extract(epoch from '2026-07-10 15:52:52'::timestamp) - extract(epoch from '2026-07-10 15:52: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'), 47642, 'SRID=4674;POINT (-40.555161 -2.820038)', '2026-07-10 15:53:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555089 -2.820009)'), GeomFromEWKT('SRID=4674;POINT (-40.555161 -2.820038)'))) / (select extract(epoch from '2026-07-10 15:53:03'::timestamp) - extract(epoch from '2026-07-10 15:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555089 -2.820009)'), GeomFromEWKT('SRID=4674;POINT (-40.555161 -2.820038)'))) / (select extract(epoch from '2026-07-10 15:53:03'::timestamp) - extract(epoch from '2026-07-10 15:52: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'), 47642, 'SRID=4674;POINT (-40.555192 -2.820053)', '2026-07-10 15:53:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555161 -2.820038)'), GeomFromEWKT('SRID=4674;POINT (-40.555192 -2.820053)'))) / (select extract(epoch from '2026-07-10 15:53:09'::timestamp) - extract(epoch from '2026-07-10 15:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555161 -2.820038)'), GeomFromEWKT('SRID=4674;POINT (-40.555192 -2.820053)'))) / (select extract(epoch from '2026-07-10 15:53:09'::timestamp) - extract(epoch from '2026-07-10 15:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.555246 -2.82008)', '2026-07-10 15:53:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555192 -2.820053)'), GeomFromEWKT('SRID=4674;POINT (-40.555246 -2.82008)'))) / (select extract(epoch from '2026-07-10 15:53:18'::timestamp) - extract(epoch from '2026-07-10 15:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555192 -2.820053)'), GeomFromEWKT('SRID=4674;POINT (-40.555246 -2.82008)'))) / (select extract(epoch from '2026-07-10 15:53:18'::timestamp) - extract(epoch from '2026-07-10 15:53: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'), 47642, 'SRID=4674;POINT (-40.555299 -2.820112)', '2026-07-10 15:53:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555246 -2.82008)'), GeomFromEWKT('SRID=4674;POINT (-40.555299 -2.820112)'))) / (select extract(epoch from '2026-07-10 15:53:28'::timestamp) - extract(epoch from '2026-07-10 15:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555246 -2.82008)'), GeomFromEWKT('SRID=4674;POINT (-40.555299 -2.820112)'))) / (select extract(epoch from '2026-07-10 15:53:28'::timestamp) - extract(epoch from '2026-07-10 15:53:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.555345 -2.820145)', '2026-07-10 15:53:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555299 -2.820112)'), GeomFromEWKT('SRID=4674;POINT (-40.555345 -2.820145)'))) / (select extract(epoch from '2026-07-10 15:53:37'::timestamp) - extract(epoch from '2026-07-10 15:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555299 -2.820112)'), GeomFromEWKT('SRID=4674;POINT (-40.555345 -2.820145)'))) / (select extract(epoch from '2026-07-10 15:53:37'::timestamp) - extract(epoch from '2026-07-10 15:53: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'), 47642, 'SRID=4674;POINT (-40.555406 -2.820189)', '2026-07-10 15:53:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555345 -2.820145)'), GeomFromEWKT('SRID=4674;POINT (-40.555406 -2.820189)'))) / (select extract(epoch from '2026-07-10 15:53:49'::timestamp) - extract(epoch from '2026-07-10 15:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555345 -2.820145)'), GeomFromEWKT('SRID=4674;POINT (-40.555406 -2.820189)'))) / (select extract(epoch from '2026-07-10 15:53:49'::timestamp) - extract(epoch from '2026-07-10 15:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.555458 -2.82022)', '2026-07-10 15:53:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555406 -2.820189)'), GeomFromEWKT('SRID=4674;POINT (-40.555458 -2.82022)'))) / (select extract(epoch from '2026-07-10 15:53:58'::timestamp) - extract(epoch from '2026-07-10 15:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555406 -2.820189)'), GeomFromEWKT('SRID=4674;POINT (-40.555458 -2.82022)'))) / (select extract(epoch from '2026-07-10 15:53:58'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47642, 'SRID=4674;POINT (-40.555499 -2.820241)', '2026-07-10 15:54:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555458 -2.82022)'), GeomFromEWKT('SRID=4674;POINT (-40.555499 -2.820241)'))) / (select extract(epoch from '2026-07-10 15:54:06'::timestamp) - extract(epoch from '2026-07-10 15:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555458 -2.82022)'), GeomFromEWKT('SRID=4674;POINT (-40.555499 -2.820241)'))) / (select extract(epoch from '2026-07-10 15:54:06'::timestamp) - extract(epoch from '2026-07-10 15:53: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'), 47642, 'SRID=4674;POINT (-40.555561 -2.820276)', '2026-07-10 15:54:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555499 -2.820241)'), GeomFromEWKT('SRID=4674;POINT (-40.555561 -2.820276)'))) / (select extract(epoch from '2026-07-10 15:54:17'::timestamp) - extract(epoch from '2026-07-10 15:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555499 -2.820241)'), GeomFromEWKT('SRID=4674;POINT (-40.555561 -2.820276)'))) / (select extract(epoch from '2026-07-10 15:54:17'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47642, 'SRID=4674;POINT (-40.555631 -2.820309)', '2026-07-10 15:54:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555561 -2.820276)'), GeomFromEWKT('SRID=4674;POINT (-40.555631 -2.820309)'))) / (select extract(epoch from '2026-07-10 15:54:30'::timestamp) - extract(epoch from '2026-07-10 15:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555561 -2.820276)'), GeomFromEWKT('SRID=4674;POINT (-40.555631 -2.820309)'))) / (select extract(epoch from '2026-07-10 15:54:30'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47642, 'SRID=4674;POINT (-40.555688 -2.820339)', '2026-07-10 15:54:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555631 -2.820309)'), GeomFromEWKT('SRID=4674;POINT (-40.555688 -2.820339)'))) / (select extract(epoch from '2026-07-10 15:54:41'::timestamp) - extract(epoch from '2026-07-10 15:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555631 -2.820309)'), GeomFromEWKT('SRID=4674;POINT (-40.555688 -2.820339)'))) / (select extract(epoch from '2026-07-10 15:54:41'::timestamp) - extract(epoch from '2026-07-10 15:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.555731 -2.820357)', '2026-07-10 15:54:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555688 -2.820339)'), GeomFromEWKT('SRID=4674;POINT (-40.555731 -2.820357)'))) / (select extract(epoch from '2026-07-10 15:54:48'::timestamp) - extract(epoch from '2026-07-10 15:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555688 -2.820339)'), GeomFromEWKT('SRID=4674;POINT (-40.555731 -2.820357)'))) / (select extract(epoch from '2026-07-10 15:54:48'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47642, 'SRID=4674;POINT (-40.555771 -2.820377)', '2026-07-10 15:54:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555731 -2.820357)'), GeomFromEWKT('SRID=4674;POINT (-40.555771 -2.820377)'))) / (select extract(epoch from '2026-07-10 15:54:56'::timestamp) - extract(epoch from '2026-07-10 15:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555731 -2.820357)'), GeomFromEWKT('SRID=4674;POINT (-40.555771 -2.820377)'))) / (select extract(epoch from '2026-07-10 15:54:56'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47642, 'SRID=4674;POINT (-40.555827 -2.820409)', '2026-07-10 15:55:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555771 -2.820377)'), GeomFromEWKT('SRID=4674;POINT (-40.555827 -2.820409)'))) / (select extract(epoch from '2026-07-10 15:55:07'::timestamp) - extract(epoch from '2026-07-10 15:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555771 -2.820377)'), GeomFromEWKT('SRID=4674;POINT (-40.555827 -2.820409)'))) / (select extract(epoch from '2026-07-10 15:55:07'::timestamp) - extract(epoch from '2026-07-10 15:54: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'), 47642, 'SRID=4674;POINT (-40.555872 -2.820443)', '2026-07-10 15:55:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555827 -2.820409)'), GeomFromEWKT('SRID=4674;POINT (-40.555872 -2.820443)'))) / (select extract(epoch from '2026-07-10 15:55:16'::timestamp) - extract(epoch from '2026-07-10 15:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555827 -2.820409)'), GeomFromEWKT('SRID=4674;POINT (-40.555872 -2.820443)'))) / (select extract(epoch from '2026-07-10 15:55:16'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47642, 'SRID=4674;POINT (-40.555941 -2.820475)', '2026-07-10 15:55:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555872 -2.820443)'), GeomFromEWKT('SRID=4674;POINT (-40.555941 -2.820475)'))) / (select extract(epoch from '2026-07-10 15:55:27'::timestamp) - extract(epoch from '2026-07-10 15:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555872 -2.820443)'), GeomFromEWKT('SRID=4674;POINT (-40.555941 -2.820475)'))) / (select extract(epoch from '2026-07-10 15:55:27'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47642, 'SRID=4674;POINT (-40.555996 -2.820502)', '2026-07-10 15:55:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555941 -2.820475)'), GeomFromEWKT('SRID=4674;POINT (-40.555996 -2.820502)'))) / (select extract(epoch from '2026-07-10 15:55:37'::timestamp) - extract(epoch from '2026-07-10 15:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555941 -2.820475)'), GeomFromEWKT('SRID=4674;POINT (-40.555996 -2.820502)'))) / (select extract(epoch from '2026-07-10 15:55:37'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47642, 'SRID=4674;POINT (-40.55606 -2.82054)', '2026-07-10 15:55:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555996 -2.820502)'), GeomFromEWKT('SRID=4674;POINT (-40.55606 -2.82054)'))) / (select extract(epoch from '2026-07-10 15:55:49'::timestamp) - extract(epoch from '2026-07-10 15:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.555996 -2.820502)'), GeomFromEWKT('SRID=4674;POINT (-40.55606 -2.82054)'))) / (select extract(epoch from '2026-07-10 15:55:49'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47642, 'SRID=4674;POINT (-40.556087 -2.820553)', '2026-07-10 15:55:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55606 -2.82054)'), GeomFromEWKT('SRID=4674;POINT (-40.556087 -2.820553)'))) / (select extract(epoch from '2026-07-10 15:55:54'::timestamp) - extract(epoch from '2026-07-10 15:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55606 -2.82054)'), GeomFromEWKT('SRID=4674;POINT (-40.556087 -2.820553)'))) / (select extract(epoch from '2026-07-10 15:55:54'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47642, 'SRID=4674;POINT (-40.556094 -2.820569)', '2026-07-10 15:55:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556087 -2.820553)'), GeomFromEWKT('SRID=4674;POINT (-40.556094 -2.820569)'))) / (select extract(epoch from '2026-07-10 15:55:56'::timestamp) - extract(epoch from '2026-07-10 15:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556087 -2.820553)'), GeomFromEWKT('SRID=4674;POINT (-40.556094 -2.820569)'))) / (select extract(epoch from '2026-07-10 15:55:56'::timestamp) - extract(epoch from '2026-07-10 15:55: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'), 47642, 'SRID=4674;POINT (-40.556151 -2.820596)', '2026-07-10 15:56:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556094 -2.820569)'), GeomFromEWKT('SRID=4674;POINT (-40.556151 -2.820596)'))) / (select extract(epoch from '2026-07-10 15:56:07'::timestamp) - extract(epoch from '2026-07-10 15:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556094 -2.820569)'), GeomFromEWKT('SRID=4674;POINT (-40.556151 -2.820596)'))) / (select extract(epoch from '2026-07-10 15:56:07'::timestamp) - extract(epoch from '2026-07-10 15:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.556209 -2.820627)', '2026-07-10 15:56:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556151 -2.820596)'), GeomFromEWKT('SRID=4674;POINT (-40.556209 -2.820627)'))) / (select extract(epoch from '2026-07-10 15:56:17'::timestamp) - extract(epoch from '2026-07-10 15:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556151 -2.820596)'), GeomFromEWKT('SRID=4674;POINT (-40.556209 -2.820627)'))) / (select extract(epoch from '2026-07-10 15:56:17'::timestamp) - extract(epoch from '2026-07-10 15:56: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'), 47642, 'SRID=4674;POINT (-40.556256 -2.820651)', '2026-07-10 15:56:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556209 -2.820627)'), GeomFromEWKT('SRID=4674;POINT (-40.556256 -2.820651)'))) / (select extract(epoch from '2026-07-10 15:56:27'::timestamp) - extract(epoch from '2026-07-10 15:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556209 -2.820627)'), GeomFromEWKT('SRID=4674;POINT (-40.556256 -2.820651)'))) / (select extract(epoch from '2026-07-10 15:56:27'::timestamp) - extract(epoch from '2026-07-10 15:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.556306 -2.820669)', '2026-07-10 15:56:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556256 -2.820651)'), GeomFromEWKT('SRID=4674;POINT (-40.556306 -2.820669)'))) / (select extract(epoch from '2026-07-10 15:56:36'::timestamp) - extract(epoch from '2026-07-10 15:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556256 -2.820651)'), GeomFromEWKT('SRID=4674;POINT (-40.556306 -2.820669)'))) / (select extract(epoch from '2026-07-10 15:56:36'::timestamp) - extract(epoch from '2026-07-10 15:56:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.556354 -2.820677)', '2026-07-10 15:56:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556306 -2.820669)'), GeomFromEWKT('SRID=4674;POINT (-40.556354 -2.820677)'))) / (select extract(epoch from '2026-07-10 15:56:44'::timestamp) - extract(epoch from '2026-07-10 15:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556306 -2.820669)'), GeomFromEWKT('SRID=4674;POINT (-40.556354 -2.820677)'))) / (select extract(epoch from '2026-07-10 15:56:44'::timestamp) - extract(epoch from '2026-07-10 15:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.556421 -2.820699)', '2026-07-10 15:56:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556354 -2.820677)'), GeomFromEWKT('SRID=4674;POINT (-40.556421 -2.820699)'))) / (select extract(epoch from '2026-07-10 15:56:56'::timestamp) - extract(epoch from '2026-07-10 15:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556354 -2.820677)'), GeomFromEWKT('SRID=4674;POINT (-40.556421 -2.820699)'))) / (select extract(epoch from '2026-07-10 15:56:56'::timestamp) - extract(epoch from '2026-07-10 15:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.556459 -2.820717)', '2026-07-10 15:57:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556421 -2.820699)'), GeomFromEWKT('SRID=4674;POINT (-40.556459 -2.820717)'))) / (select extract(epoch from '2026-07-10 15:57:02'::timestamp) - extract(epoch from '2026-07-10 15:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556421 -2.820699)'), GeomFromEWKT('SRID=4674;POINT (-40.556459 -2.820717)'))) / (select extract(epoch from '2026-07-10 15:57:02'::timestamp) - extract(epoch from '2026-07-10 15:56: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'), 47642, 'SRID=4674;POINT (-40.556513 -2.820763)', '2026-07-10 15:57:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556459 -2.820717)'), GeomFromEWKT('SRID=4674;POINT (-40.556513 -2.820763)'))) / (select extract(epoch from '2026-07-10 15:57:12'::timestamp) - extract(epoch from '2026-07-10 15:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556459 -2.820717)'), GeomFromEWKT('SRID=4674;POINT (-40.556513 -2.820763)'))) / (select extract(epoch from '2026-07-10 15:57:12'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47642, 'SRID=4674;POINT (-40.556562 -2.820796)', '2026-07-10 15:57:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556513 -2.820763)'), GeomFromEWKT('SRID=4674;POINT (-40.556562 -2.820796)'))) / (select extract(epoch from '2026-07-10 15:57:21'::timestamp) - extract(epoch from '2026-07-10 15:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556513 -2.820763)'), GeomFromEWKT('SRID=4674;POINT (-40.556562 -2.820796)'))) / (select extract(epoch from '2026-07-10 15:57:21'::timestamp) - extract(epoch from '2026-07-10 15:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.556619 -2.820822)', '2026-07-10 15:57:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556562 -2.820796)'), GeomFromEWKT('SRID=4674;POINT (-40.556619 -2.820822)'))) / (select extract(epoch from '2026-07-10 15:57:32'::timestamp) - extract(epoch from '2026-07-10 15:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556562 -2.820796)'), GeomFromEWKT('SRID=4674;POINT (-40.556619 -2.820822)'))) / (select extract(epoch from '2026-07-10 15:57:32'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47642, 'SRID=4674;POINT (-40.556694 -2.820852)', '2026-07-10 15:57:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556619 -2.820822)'), GeomFromEWKT('SRID=4674;POINT (-40.556694 -2.820852)'))) / (select extract(epoch from '2026-07-10 15:57:44'::timestamp) - extract(epoch from '2026-07-10 15:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556619 -2.820822)'), GeomFromEWKT('SRID=4674;POINT (-40.556694 -2.820852)'))) / (select extract(epoch from '2026-07-10 15:57:44'::timestamp) - extract(epoch from '2026-07-10 15:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.556746 -2.82087)', '2026-07-10 15:57:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556694 -2.820852)'), GeomFromEWKT('SRID=4674;POINT (-40.556746 -2.82087)'))) / (select extract(epoch from '2026-07-10 15:57:55'::timestamp) - extract(epoch from '2026-07-10 15:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556694 -2.820852)'), GeomFromEWKT('SRID=4674;POINT (-40.556746 -2.82087)'))) / (select extract(epoch from '2026-07-10 15:57:55'::timestamp) - extract(epoch from '2026-07-10 15:57: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'), 47642, 'SRID=4674;POINT (-40.556774 -2.820894)', '2026-07-10 15:58:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556746 -2.82087)'), GeomFromEWKT('SRID=4674;POINT (-40.556774 -2.820894)'))) / (select extract(epoch from '2026-07-10 15:58:02'::timestamp) - extract(epoch from '2026-07-10 15:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556746 -2.82087)'), GeomFromEWKT('SRID=4674;POINT (-40.556774 -2.820894)'))) / (select extract(epoch from '2026-07-10 15:58:02'::timestamp) - extract(epoch from '2026-07-10 15:57:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.556823 -2.820918)', '2026-07-10 15:58:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556774 -2.820894)'), GeomFromEWKT('SRID=4674;POINT (-40.556823 -2.820918)'))) / (select extract(epoch from '2026-07-10 15:58:11'::timestamp) - extract(epoch from '2026-07-10 15:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556774 -2.820894)'), GeomFromEWKT('SRID=4674;POINT (-40.556823 -2.820918)'))) / (select extract(epoch from '2026-07-10 15:58:11'::timestamp) - extract(epoch from '2026-07-10 15:58: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'), 47642, 'SRID=4674;POINT (-40.556879 -2.82095)', '2026-07-10 15:58:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556823 -2.820918)'), GeomFromEWKT('SRID=4674;POINT (-40.556879 -2.82095)'))) / (select extract(epoch from '2026-07-10 15:58:20'::timestamp) - extract(epoch from '2026-07-10 15:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556823 -2.820918)'), GeomFromEWKT('SRID=4674;POINT (-40.556879 -2.82095)'))) / (select extract(epoch from '2026-07-10 15:58:20'::timestamp) - extract(epoch from '2026-07-10 15:58: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'), 47642, 'SRID=4674;POINT (-40.556933 -2.820984)', '2026-07-10 15:58:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556879 -2.82095)'), GeomFromEWKT('SRID=4674;POINT (-40.556933 -2.820984)'))) / (select extract(epoch from '2026-07-10 15:58:30'::timestamp) - extract(epoch from '2026-07-10 15:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556879 -2.82095)'), GeomFromEWKT('SRID=4674;POINT (-40.556933 -2.820984)'))) / (select extract(epoch from '2026-07-10 15:58:30'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47642, 'SRID=4674;POINT (-40.556996 -2.821024)', '2026-07-10 15:58:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556933 -2.820984)'), GeomFromEWKT('SRID=4674;POINT (-40.556996 -2.821024)'))) / (select extract(epoch from '2026-07-10 15:58:42'::timestamp) - extract(epoch from '2026-07-10 15:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556933 -2.820984)'), GeomFromEWKT('SRID=4674;POINT (-40.556996 -2.821024)'))) / (select extract(epoch from '2026-07-10 15:58:42'::timestamp) - extract(epoch from '2026-07-10 15:58: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'), 47642, 'SRID=4674;POINT (-40.55705 -2.821063)', '2026-07-10 15:58:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556996 -2.821024)'), GeomFromEWKT('SRID=4674;POINT (-40.55705 -2.821063)'))) / (select extract(epoch from '2026-07-10 15:58:52'::timestamp) - extract(epoch from '2026-07-10 15:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.556996 -2.821024)'), GeomFromEWKT('SRID=4674;POINT (-40.55705 -2.821063)'))) / (select extract(epoch from '2026-07-10 15:58:52'::timestamp) - extract(epoch from '2026-07-10 15:58: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'), 47642, 'SRID=4674;POINT (-40.557102 -2.821096)', '2026-07-10 15:59:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55705 -2.821063)'), GeomFromEWKT('SRID=4674;POINT (-40.557102 -2.821096)'))) / (select extract(epoch from '2026-07-10 15:59:02'::timestamp) - extract(epoch from '2026-07-10 15:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55705 -2.821063)'), GeomFromEWKT('SRID=4674;POINT (-40.557102 -2.821096)'))) / (select extract(epoch from '2026-07-10 15:59:02'::timestamp) - extract(epoch from '2026-07-10 15:58:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.557158 -2.821127)', '2026-07-10 15:59:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557102 -2.821096)'), GeomFromEWKT('SRID=4674;POINT (-40.557158 -2.821127)'))) / (select extract(epoch from '2026-07-10 15:59:12'::timestamp) - extract(epoch from '2026-07-10 15:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557102 -2.821096)'), GeomFromEWKT('SRID=4674;POINT (-40.557158 -2.821127)'))) / (select extract(epoch from '2026-07-10 15:59:12'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47642, 'SRID=4674;POINT (-40.557224 -2.821156)', '2026-07-10 15:59:23', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557158 -2.821127)'), GeomFromEWKT('SRID=4674;POINT (-40.557224 -2.821156)'))) / (select extract(epoch from '2026-07-10 15:59:23'::timestamp) - extract(epoch from '2026-07-10 15:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557158 -2.821127)'), GeomFromEWKT('SRID=4674;POINT (-40.557224 -2.821156)'))) / (select extract(epoch from '2026-07-10 15:59:23'::timestamp) - extract(epoch from '2026-07-10 15:59:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.557278 -2.821171)', '2026-07-10 15:59:32', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557224 -2.821156)'), GeomFromEWKT('SRID=4674;POINT (-40.557278 -2.821171)'))) / (select extract(epoch from '2026-07-10 15:59:32'::timestamp) - extract(epoch from '2026-07-10 15:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557224 -2.821156)'), GeomFromEWKT('SRID=4674;POINT (-40.557278 -2.821171)'))) / (select extract(epoch from '2026-07-10 15:59:32'::timestamp) - extract(epoch from '2026-07-10 15: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'), 47642, 'SRID=4674;POINT (-40.557341 -2.821193)', '2026-07-10 15:59:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557278 -2.821171)'), GeomFromEWKT('SRID=4674;POINT (-40.557341 -2.821193)'))) / (select extract(epoch from '2026-07-10 15:59:42'::timestamp) - extract(epoch from '2026-07-10 15:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557278 -2.821171)'), GeomFromEWKT('SRID=4674;POINT (-40.557341 -2.821193)'))) / (select extract(epoch from '2026-07-10 15:59:42'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47642, 'SRID=4674;POINT (-40.557387 -2.821218)', '2026-07-10 15:59:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557341 -2.821193)'), GeomFromEWKT('SRID=4674;POINT (-40.557387 -2.821218)'))) / (select extract(epoch from '2026-07-10 15:59:51'::timestamp) - extract(epoch from '2026-07-10 15:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557341 -2.821193)'), GeomFromEWKT('SRID=4674;POINT (-40.557387 -2.821218)'))) / (select extract(epoch from '2026-07-10 15:59:51'::timestamp) - extract(epoch from '2026-07-10 15:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.557422 -2.821241)', '2026-07-10 15:59:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557387 -2.821218)'), GeomFromEWKT('SRID=4674;POINT (-40.557422 -2.821241)'))) / (select extract(epoch from '2026-07-10 15:59:58'::timestamp) - extract(epoch from '2026-07-10 15:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557387 -2.821218)'), GeomFromEWKT('SRID=4674;POINT (-40.557422 -2.821241)'))) / (select extract(epoch from '2026-07-10 15:59:58'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47642, 'SRID=4674;POINT (-40.557475 -2.82127)', '2026-07-10 16:00:09', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557422 -2.821241)'), GeomFromEWKT('SRID=4674;POINT (-40.557475 -2.82127)'))) / (select extract(epoch from '2026-07-10 16:00:09'::timestamp) - extract(epoch from '2026-07-10 15:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557422 -2.821241)'), GeomFromEWKT('SRID=4674;POINT (-40.557475 -2.82127)'))) / (select extract(epoch from '2026-07-10 16:00:09'::timestamp) - extract(epoch from '2026-07-10 15:59: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'), 47642, 'SRID=4674;POINT (-40.557505 -2.821295)', '2026-07-10 16:00:17', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557475 -2.82127)'), GeomFromEWKT('SRID=4674;POINT (-40.557505 -2.821295)'))) / (select extract(epoch from '2026-07-10 16:00:17'::timestamp) - extract(epoch from '2026-07-10 16:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557475 -2.82127)'), GeomFromEWKT('SRID=4674;POINT (-40.557505 -2.821295)'))) / (select extract(epoch from '2026-07-10 16:00:17'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47642, 'SRID=4674;POINT (-40.557543 -2.82132)', '2026-07-10 16:00:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557505 -2.821295)'), GeomFromEWKT('SRID=4674;POINT (-40.557543 -2.82132)'))) / (select extract(epoch from '2026-07-10 16:00:26'::timestamp) - extract(epoch from '2026-07-10 16:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557505 -2.821295)'), GeomFromEWKT('SRID=4674;POINT (-40.557543 -2.82132)'))) / (select extract(epoch from '2026-07-10 16:00:26'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47642, 'SRID=4674;POINT (-40.557586 -2.821345)', '2026-07-10 16:00:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557543 -2.82132)'), GeomFromEWKT('SRID=4674;POINT (-40.557586 -2.821345)'))) / (select extract(epoch from '2026-07-10 16:00:35'::timestamp) - extract(epoch from '2026-07-10 16:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557543 -2.82132)'), GeomFromEWKT('SRID=4674;POINT (-40.557586 -2.821345)'))) / (select extract(epoch from '2026-07-10 16:00:35'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47642, 'SRID=4674;POINT (-40.557631 -2.821371)', '2026-07-10 16:00:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557586 -2.821345)'), GeomFromEWKT('SRID=4674;POINT (-40.557631 -2.821371)'))) / (select extract(epoch from '2026-07-10 16:00:45'::timestamp) - extract(epoch from '2026-07-10 16:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557586 -2.821345)'), GeomFromEWKT('SRID=4674;POINT (-40.557631 -2.821371)'))) / (select extract(epoch from '2026-07-10 16:00:45'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.557677 -2.821389)', '2026-07-10 16:00:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557631 -2.821371)'), GeomFromEWKT('SRID=4674;POINT (-40.557677 -2.821389)'))) / (select extract(epoch from '2026-07-10 16:00:54'::timestamp) - extract(epoch from '2026-07-10 16:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557631 -2.821371)'), GeomFromEWKT('SRID=4674;POINT (-40.557677 -2.821389)'))) / (select extract(epoch from '2026-07-10 16:00:54'::timestamp) - extract(epoch from '2026-07-10 16:00: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'), 47642, 'SRID=4674;POINT (-40.557722 -2.821421)', '2026-07-10 16:01:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557677 -2.821389)'), GeomFromEWKT('SRID=4674;POINT (-40.557722 -2.821421)'))) / (select extract(epoch from '2026-07-10 16:01:03'::timestamp) - extract(epoch from '2026-07-10 16:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557677 -2.821389)'), GeomFromEWKT('SRID=4674;POINT (-40.557722 -2.821421)'))) / (select extract(epoch from '2026-07-10 16:01:03'::timestamp) - extract(epoch from '2026-07-10 16:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.557763 -2.821445)', '2026-07-10 16:01:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557722 -2.821421)'), GeomFromEWKT('SRID=4674;POINT (-40.557763 -2.821445)'))) / (select extract(epoch from '2026-07-10 16:01:11'::timestamp) - extract(epoch from '2026-07-10 16:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557722 -2.821421)'), GeomFromEWKT('SRID=4674;POINT (-40.557763 -2.821445)'))) / (select extract(epoch from '2026-07-10 16:01:11'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47642, 'SRID=4674;POINT (-40.557807 -2.821468)', '2026-07-10 16:01:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557763 -2.821445)'), GeomFromEWKT('SRID=4674;POINT (-40.557807 -2.821468)'))) / (select extract(epoch from '2026-07-10 16:01:20'::timestamp) - extract(epoch from '2026-07-10 16:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557763 -2.821445)'), GeomFromEWKT('SRID=4674;POINT (-40.557807 -2.821468)'))) / (select extract(epoch from '2026-07-10 16:01:20'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47642, 'SRID=4674;POINT (-40.557845 -2.821489)', '2026-07-10 16:01:29', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557807 -2.821468)'), GeomFromEWKT('SRID=4674;POINT (-40.557845 -2.821489)'))) / (select extract(epoch from '2026-07-10 16:01:29'::timestamp) - extract(epoch from '2026-07-10 16:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557807 -2.821468)'), GeomFromEWKT('SRID=4674;POINT (-40.557845 -2.821489)'))) / (select extract(epoch from '2026-07-10 16:01:29'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.557889 -2.821519)', '2026-07-10 16:01:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557845 -2.821489)'), GeomFromEWKT('SRID=4674;POINT (-40.557889 -2.821519)'))) / (select extract(epoch from '2026-07-10 16:01:37'::timestamp) - extract(epoch from '2026-07-10 16:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557845 -2.821489)'), GeomFromEWKT('SRID=4674;POINT (-40.557889 -2.821519)'))) / (select extract(epoch from '2026-07-10 16:01:37'::timestamp) - extract(epoch from '2026-07-10 16:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.557929 -2.821533)', '2026-07-10 16:01:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557889 -2.821519)'), GeomFromEWKT('SRID=4674;POINT (-40.557929 -2.821533)'))) / (select extract(epoch from '2026-07-10 16:01:45'::timestamp) - extract(epoch from '2026-07-10 16:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557889 -2.821519)'), GeomFromEWKT('SRID=4674;POINT (-40.557929 -2.821533)'))) / (select extract(epoch from '2026-07-10 16:01:45'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.557975 -2.821555)', '2026-07-10 16:01:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557929 -2.821533)'), GeomFromEWKT('SRID=4674;POINT (-40.557975 -2.821555)'))) / (select extract(epoch from '2026-07-10 16:01:54'::timestamp) - extract(epoch from '2026-07-10 16:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557929 -2.821533)'), GeomFromEWKT('SRID=4674;POINT (-40.557975 -2.821555)'))) / (select extract(epoch from '2026-07-10 16:01:54'::timestamp) - extract(epoch from '2026-07-10 16:01: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'), 47642, 'SRID=4674;POINT (-40.558023 -2.821578)', '2026-07-10 16:02:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557975 -2.821555)'), GeomFromEWKT('SRID=4674;POINT (-40.558023 -2.821578)'))) / (select extract(epoch from '2026-07-10 16:02:03'::timestamp) - extract(epoch from '2026-07-10 16:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.557975 -2.821555)'), GeomFromEWKT('SRID=4674;POINT (-40.558023 -2.821578)'))) / (select extract(epoch from '2026-07-10 16:02:03'::timestamp) - extract(epoch from '2026-07-10 16:01:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.55807 -2.821609)', '2026-07-10 16:02:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558023 -2.821578)'), GeomFromEWKT('SRID=4674;POINT (-40.55807 -2.821609)'))) / (select extract(epoch from '2026-07-10 16:02:13'::timestamp) - extract(epoch from '2026-07-10 16:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558023 -2.821578)'), GeomFromEWKT('SRID=4674;POINT (-40.55807 -2.821609)'))) / (select extract(epoch from '2026-07-10 16:02:13'::timestamp) - extract(epoch from '2026-07-10 16:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.558118 -2.821636)', '2026-07-10 16:02:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55807 -2.821609)'), GeomFromEWKT('SRID=4674;POINT (-40.558118 -2.821636)'))) / (select extract(epoch from '2026-07-10 16:02:23'::timestamp) - extract(epoch from '2026-07-10 16:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55807 -2.821609)'), GeomFromEWKT('SRID=4674;POINT (-40.558118 -2.821636)'))) / (select extract(epoch from '2026-07-10 16:02:23'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.558188 -2.821671)', '2026-07-10 16:02:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558118 -2.821636)'), GeomFromEWKT('SRID=4674;POINT (-40.558188 -2.821671)'))) / (select extract(epoch from '2026-07-10 16:02:35'::timestamp) - extract(epoch from '2026-07-10 16:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558118 -2.821636)'), GeomFromEWKT('SRID=4674;POINT (-40.558188 -2.821671)'))) / (select extract(epoch from '2026-07-10 16:02:35'::timestamp) - extract(epoch from '2026-07-10 16:02: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'), 47642, 'SRID=4674;POINT (-40.55823 -2.821694)', '2026-07-10 16:02:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558188 -2.821671)'), GeomFromEWKT('SRID=4674;POINT (-40.55823 -2.821694)'))) / (select extract(epoch from '2026-07-10 16:02:43'::timestamp) - extract(epoch from '2026-07-10 16:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558188 -2.821671)'), GeomFromEWKT('SRID=4674;POINT (-40.55823 -2.821694)'))) / (select extract(epoch from '2026-07-10 16:02:43'::timestamp) - extract(epoch from '2026-07-10 16:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.558274 -2.821724)', '2026-07-10 16:02:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55823 -2.821694)'), GeomFromEWKT('SRID=4674;POINT (-40.558274 -2.821724)'))) / (select extract(epoch from '2026-07-10 16:02:52'::timestamp) - extract(epoch from '2026-07-10 16:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55823 -2.821694)'), GeomFromEWKT('SRID=4674;POINT (-40.558274 -2.821724)'))) / (select extract(epoch from '2026-07-10 16:02:52'::timestamp) - extract(epoch from '2026-07-10 16:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.558336 -2.821752)', '2026-07-10 16:03:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558274 -2.821724)'), GeomFromEWKT('SRID=4674;POINT (-40.558336 -2.821752)'))) / (select extract(epoch from '2026-07-10 16:03:04'::timestamp) - extract(epoch from '2026-07-10 16:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558274 -2.821724)'), GeomFromEWKT('SRID=4674;POINT (-40.558336 -2.821752)'))) / (select extract(epoch from '2026-07-10 16:03:04'::timestamp) - extract(epoch from '2026-07-10 16:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.558375 -2.821775)', '2026-07-10 16:03:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558336 -2.821752)'), GeomFromEWKT('SRID=4674;POINT (-40.558375 -2.821775)'))) / (select extract(epoch from '2026-07-10 16:03:13'::timestamp) - extract(epoch from '2026-07-10 16:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558336 -2.821752)'), GeomFromEWKT('SRID=4674;POINT (-40.558375 -2.821775)'))) / (select extract(epoch from '2026-07-10 16:03:13'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47642, 'SRID=4674;POINT (-40.55841 -2.821802)', '2026-07-10 16:03:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558375 -2.821775)'), GeomFromEWKT('SRID=4674;POINT (-40.55841 -2.821802)'))) / (select extract(epoch from '2026-07-10 16:03:21'::timestamp) - extract(epoch from '2026-07-10 16:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558375 -2.821775)'), GeomFromEWKT('SRID=4674;POINT (-40.55841 -2.821802)'))) / (select extract(epoch from '2026-07-10 16:03:21'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47642, 'SRID=4674;POINT (-40.558455 -2.821824)', '2026-07-10 16:03:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55841 -2.821802)'), GeomFromEWKT('SRID=4674;POINT (-40.558455 -2.821824)'))) / (select extract(epoch from '2026-07-10 16:03:29'::timestamp) - extract(epoch from '2026-07-10 16:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55841 -2.821802)'), GeomFromEWKT('SRID=4674;POINT (-40.558455 -2.821824)'))) / (select extract(epoch from '2026-07-10 16:03:29'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47642, 'SRID=4674;POINT (-40.558511 -2.821862)', '2026-07-10 16:03:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558455 -2.821824)'), GeomFromEWKT('SRID=4674;POINT (-40.558511 -2.821862)'))) / (select extract(epoch from '2026-07-10 16:03:39'::timestamp) - extract(epoch from '2026-07-10 16:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558455 -2.821824)'), GeomFromEWKT('SRID=4674;POINT (-40.558511 -2.821862)'))) / (select extract(epoch from '2026-07-10 16:03:39'::timestamp) - extract(epoch from '2026-07-10 16:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.558558 -2.821885)', '2026-07-10 16:03:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558511 -2.821862)'), GeomFromEWKT('SRID=4674;POINT (-40.558558 -2.821885)'))) / (select extract(epoch from '2026-07-10 16:03:47'::timestamp) - extract(epoch from '2026-07-10 16:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558511 -2.821862)'), GeomFromEWKT('SRID=4674;POINT (-40.558558 -2.821885)'))) / (select extract(epoch from '2026-07-10 16:03:47'::timestamp) - extract(epoch from '2026-07-10 16:03: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'), 47642, 'SRID=4674;POINT (-40.558602 -2.82191)', '2026-07-10 16:03:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558558 -2.821885)'), GeomFromEWKT('SRID=4674;POINT (-40.558602 -2.82191)'))) / (select extract(epoch from '2026-07-10 16:03:55'::timestamp) - extract(epoch from '2026-07-10 16:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558558 -2.821885)'), GeomFromEWKT('SRID=4674;POINT (-40.558602 -2.82191)'))) / (select extract(epoch from '2026-07-10 16:03:55'::timestamp) - extract(epoch from '2026-07-10 16:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.558634 -2.821938)', '2026-07-10 16:04:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558602 -2.82191)'), GeomFromEWKT('SRID=4674;POINT (-40.558634 -2.821938)'))) / (select extract(epoch from '2026-07-10 16:04:03'::timestamp) - extract(epoch from '2026-07-10 16:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558602 -2.82191)'), GeomFromEWKT('SRID=4674;POINT (-40.558634 -2.821938)'))) / (select extract(epoch from '2026-07-10 16:04:03'::timestamp) - extract(epoch from '2026-07-10 16:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.558679 -2.821965)', '2026-07-10 16:04:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558634 -2.821938)'), GeomFromEWKT('SRID=4674;POINT (-40.558679 -2.821965)'))) / (select extract(epoch from '2026-07-10 16:04:12'::timestamp) - extract(epoch from '2026-07-10 16:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558634 -2.821938)'), GeomFromEWKT('SRID=4674;POINT (-40.558679 -2.821965)'))) / (select extract(epoch from '2026-07-10 16:04:12'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47642, 'SRID=4674;POINT (-40.558737 -2.822005)', '2026-07-10 16:04:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558679 -2.821965)'), GeomFromEWKT('SRID=4674;POINT (-40.558737 -2.822005)'))) / (select extract(epoch from '2026-07-10 16:04:22'::timestamp) - extract(epoch from '2026-07-10 16:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558679 -2.821965)'), GeomFromEWKT('SRID=4674;POINT (-40.558737 -2.822005)'))) / (select extract(epoch from '2026-07-10 16:04:22'::timestamp) - extract(epoch from '2026-07-10 16:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.558778 -2.82203)', '2026-07-10 16:04:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558737 -2.822005)'), GeomFromEWKT('SRID=4674;POINT (-40.558778 -2.82203)'))) / (select extract(epoch from '2026-07-10 16:04:30'::timestamp) - extract(epoch from '2026-07-10 16:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558737 -2.822005)'), GeomFromEWKT('SRID=4674;POINT (-40.558778 -2.82203)'))) / (select extract(epoch from '2026-07-10 16:04:30'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47642, 'SRID=4674;POINT (-40.55882 -2.822049)', '2026-07-10 16:04:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558778 -2.82203)'), GeomFromEWKT('SRID=4674;POINT (-40.55882 -2.822049)'))) / (select extract(epoch from '2026-07-10 16:04:37'::timestamp) - extract(epoch from '2026-07-10 16:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558778 -2.82203)'), GeomFromEWKT('SRID=4674;POINT (-40.55882 -2.822049)'))) / (select extract(epoch from '2026-07-10 16:04:37'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.558872 -2.822075)', '2026-07-10 16:04:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55882 -2.822049)'), GeomFromEWKT('SRID=4674;POINT (-40.558872 -2.822075)'))) / (select extract(epoch from '2026-07-10 16:04:45'::timestamp) - extract(epoch from '2026-07-10 16:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55882 -2.822049)'), GeomFromEWKT('SRID=4674;POINT (-40.558872 -2.822075)'))) / (select extract(epoch from '2026-07-10 16:04:45'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.558918 -2.822102)', '2026-07-10 16:04:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558872 -2.822075)'), GeomFromEWKT('SRID=4674;POINT (-40.558918 -2.822102)'))) / (select extract(epoch from '2026-07-10 16:04:53'::timestamp) - extract(epoch from '2026-07-10 16:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558872 -2.822075)'), GeomFromEWKT('SRID=4674;POINT (-40.558918 -2.822102)'))) / (select extract(epoch from '2026-07-10 16:04:53'::timestamp) - extract(epoch from '2026-07-10 16:04: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'), 47642, 'SRID=4674;POINT (-40.558966 -2.822136)', '2026-07-10 16:05:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558918 -2.822102)'), GeomFromEWKT('SRID=4674;POINT (-40.558966 -2.822136)'))) / (select extract(epoch from '2026-07-10 16:05:03'::timestamp) - extract(epoch from '2026-07-10 16:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558918 -2.822102)'), GeomFromEWKT('SRID=4674;POINT (-40.558966 -2.822136)'))) / (select extract(epoch from '2026-07-10 16:05:03'::timestamp) - extract(epoch from '2026-07-10 16:04:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.559008 -2.822153)', '2026-07-10 16:05:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558966 -2.822136)'), GeomFromEWKT('SRID=4674;POINT (-40.559008 -2.822153)'))) / (select extract(epoch from '2026-07-10 16:05:11'::timestamp) - extract(epoch from '2026-07-10 16:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.558966 -2.822136)'), GeomFromEWKT('SRID=4674;POINT (-40.559008 -2.822153)'))) / (select extract(epoch from '2026-07-10 16:05:11'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47642, 'SRID=4674;POINT (-40.559067 -2.822177)', '2026-07-10 16:05:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559008 -2.822153)'), GeomFromEWKT('SRID=4674;POINT (-40.559067 -2.822177)'))) / (select extract(epoch from '2026-07-10 16:05:21'::timestamp) - extract(epoch from '2026-07-10 16:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559008 -2.822153)'), GeomFromEWKT('SRID=4674;POINT (-40.559067 -2.822177)'))) / (select extract(epoch from '2026-07-10 16:05:21'::timestamp) - extract(epoch from '2026-07-10 16:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.5591 -2.82219)', '2026-07-10 16:05:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559067 -2.822177)'), GeomFromEWKT('SRID=4674;POINT (-40.5591 -2.82219)'))) / (select extract(epoch from '2026-07-10 16:05:26'::timestamp) - extract(epoch from '2026-07-10 16:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559067 -2.822177)'), GeomFromEWKT('SRID=4674;POINT (-40.5591 -2.82219)'))) / (select extract(epoch from '2026-07-10 16:05:26'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.559154 -2.822223)', '2026-07-10 16:05:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5591 -2.82219)'), GeomFromEWKT('SRID=4674;POINT (-40.559154 -2.822223)'))) / (select extract(epoch from '2026-07-10 16:05:36'::timestamp) - extract(epoch from '2026-07-10 16:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5591 -2.82219)'), GeomFromEWKT('SRID=4674;POINT (-40.559154 -2.822223)'))) / (select extract(epoch from '2026-07-10 16:05:36'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47642, 'SRID=4674;POINT (-40.559205 -2.822244)', '2026-07-10 16:05:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559154 -2.822223)'), GeomFromEWKT('SRID=4674;POINT (-40.559205 -2.822244)'))) / (select extract(epoch from '2026-07-10 16:05:44'::timestamp) - extract(epoch from '2026-07-10 16:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559154 -2.822223)'), GeomFromEWKT('SRID=4674;POINT (-40.559205 -2.822244)'))) / (select extract(epoch from '2026-07-10 16:05:44'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47642, 'SRID=4674;POINT (-40.559255 -2.822268)', '2026-07-10 16:05:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559205 -2.822244)'), GeomFromEWKT('SRID=4674;POINT (-40.559255 -2.822268)'))) / (select extract(epoch from '2026-07-10 16:05:53'::timestamp) - extract(epoch from '2026-07-10 16:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559205 -2.822244)'), GeomFromEWKT('SRID=4674;POINT (-40.559255 -2.822268)'))) / (select extract(epoch from '2026-07-10 16:05:53'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47642, 'SRID=4674;POINT (-40.559308 -2.822286)', '2026-07-10 16:06:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559255 -2.822268)'), GeomFromEWKT('SRID=4674;POINT (-40.559308 -2.822286)'))) / (select extract(epoch from '2026-07-10 16:06:02'::timestamp) - extract(epoch from '2026-07-10 16:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559255 -2.822268)'), GeomFromEWKT('SRID=4674;POINT (-40.559308 -2.822286)'))) / (select extract(epoch from '2026-07-10 16:06:02'::timestamp) - extract(epoch from '2026-07-10 16:05: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'), 47642, 'SRID=4674;POINT (-40.559342 -2.822299)', '2026-07-10 16:06:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559308 -2.822286)'), GeomFromEWKT('SRID=4674;POINT (-40.559342 -2.822299)'))) / (select extract(epoch from '2026-07-10 16:06:09'::timestamp) - extract(epoch from '2026-07-10 16:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559308 -2.822286)'), GeomFromEWKT('SRID=4674;POINT (-40.559342 -2.822299)'))) / (select extract(epoch from '2026-07-10 16:06:09'::timestamp) - extract(epoch from '2026-07-10 16:06: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'), 47642, 'SRID=4674;POINT (-40.559372 -2.822313)', '2026-07-10 16:06:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559342 -2.822299)'), GeomFromEWKT('SRID=4674;POINT (-40.559372 -2.822313)'))) / (select extract(epoch from '2026-07-10 16:06:14'::timestamp) - extract(epoch from '2026-07-10 16:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559342 -2.822299)'), GeomFromEWKT('SRID=4674;POINT (-40.559372 -2.822313)'))) / (select extract(epoch from '2026-07-10 16:06:14'::timestamp) - extract(epoch from '2026-07-10 16:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.559401 -2.822321)', '2026-07-10 16:06:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559372 -2.822313)'), GeomFromEWKT('SRID=4674;POINT (-40.559401 -2.822321)'))) / (select extract(epoch from '2026-07-10 16:06:20'::timestamp) - extract(epoch from '2026-07-10 16:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559372 -2.822313)'), GeomFromEWKT('SRID=4674;POINT (-40.559401 -2.822321)'))) / (select extract(epoch from '2026-07-10 16:06:20'::timestamp) - extract(epoch from '2026-07-10 16:06: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'), 47642, 'SRID=4674;POINT (-40.559455 -2.822346)', '2026-07-10 16:06:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559401 -2.822321)'), GeomFromEWKT('SRID=4674;POINT (-40.559455 -2.822346)'))) / (select extract(epoch from '2026-07-10 16:06:31'::timestamp) - extract(epoch from '2026-07-10 16:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559401 -2.822321)'), GeomFromEWKT('SRID=4674;POINT (-40.559455 -2.822346)'))) / (select extract(epoch from '2026-07-10 16:06:31'::timestamp) - extract(epoch from '2026-07-10 16:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.559511 -2.822372)', '2026-07-10 16:06:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559455 -2.822346)'), GeomFromEWKT('SRID=4674;POINT (-40.559511 -2.822372)'))) / (select extract(epoch from '2026-07-10 16:06:41'::timestamp) - extract(epoch from '2026-07-10 16:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559455 -2.822346)'), GeomFromEWKT('SRID=4674;POINT (-40.559511 -2.822372)'))) / (select extract(epoch from '2026-07-10 16:06:41'::timestamp) - extract(epoch from '2026-07-10 16:06: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'), 47642, 'SRID=4674;POINT (-40.559595 -2.822401)', '2026-07-10 16:06:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559511 -2.822372)'), GeomFromEWKT('SRID=4674;POINT (-40.559595 -2.822401)'))) / (select extract(epoch from '2026-07-10 16:06:54'::timestamp) - extract(epoch from '2026-07-10 16:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559511 -2.822372)'), GeomFromEWKT('SRID=4674;POINT (-40.559595 -2.822401)'))) / (select extract(epoch from '2026-07-10 16:06:54'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.559653 -2.822434)', '2026-07-10 16:07:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559595 -2.822401)'), GeomFromEWKT('SRID=4674;POINT (-40.559653 -2.822434)'))) / (select extract(epoch from '2026-07-10 16:07:06'::timestamp) - extract(epoch from '2026-07-10 16:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559595 -2.822401)'), GeomFromEWKT('SRID=4674;POINT (-40.559653 -2.822434)'))) / (select extract(epoch from '2026-07-10 16:07:06'::timestamp) - extract(epoch from '2026-07-10 16:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.559711 -2.822464)', '2026-07-10 16:07:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559653 -2.822434)'), GeomFromEWKT('SRID=4674;POINT (-40.559711 -2.822464)'))) / (select extract(epoch from '2026-07-10 16:07:20'::timestamp) - extract(epoch from '2026-07-10 16:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559653 -2.822434)'), GeomFromEWKT('SRID=4674;POINT (-40.559711 -2.822464)'))) / (select extract(epoch from '2026-07-10 16:07:20'::timestamp) - extract(epoch from '2026-07-10 16:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.55975 -2.822497)', '2026-07-10 16:07:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559711 -2.822464)'), GeomFromEWKT('SRID=4674;POINT (-40.55975 -2.822497)'))) / (select extract(epoch from '2026-07-10 16:07:29'::timestamp) - extract(epoch from '2026-07-10 16:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559711 -2.822464)'), GeomFromEWKT('SRID=4674;POINT (-40.55975 -2.822497)'))) / (select extract(epoch from '2026-07-10 16:07:29'::timestamp) - extract(epoch from '2026-07-10 16:07: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'), 47642, 'SRID=4674;POINT (-40.559816 -2.822546)', '2026-07-10 16:07:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55975 -2.822497)'), GeomFromEWKT('SRID=4674;POINT (-40.559816 -2.822546)'))) / (select extract(epoch from '2026-07-10 16:07:42'::timestamp) - extract(epoch from '2026-07-10 16:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.55975 -2.822497)'), GeomFromEWKT('SRID=4674;POINT (-40.559816 -2.822546)'))) / (select extract(epoch from '2026-07-10 16:07:42'::timestamp) - extract(epoch from '2026-07-10 16:07: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'), 47642, 'SRID=4674;POINT (-40.559874 -2.822569)', '2026-07-10 16:07:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559816 -2.822546)'), GeomFromEWKT('SRID=4674;POINT (-40.559874 -2.822569)'))) / (select extract(epoch from '2026-07-10 16:07:52'::timestamp) - extract(epoch from '2026-07-10 16:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559816 -2.822546)'), GeomFromEWKT('SRID=4674;POINT (-40.559874 -2.822569)'))) / (select extract(epoch from '2026-07-10 16:07:52'::timestamp) - extract(epoch from '2026-07-10 16:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.559929 -2.822588)', '2026-07-10 16:08:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559874 -2.822569)'), GeomFromEWKT('SRID=4674;POINT (-40.559929 -2.822588)'))) / (select extract(epoch from '2026-07-10 16:08:02'::timestamp) - extract(epoch from '2026-07-10 16:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559874 -2.822569)'), GeomFromEWKT('SRID=4674;POINT (-40.559929 -2.822588)'))) / (select extract(epoch from '2026-07-10 16:08:02'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.559962 -2.822607)', '2026-07-10 16:08:09', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559929 -2.822588)'), GeomFromEWKT('SRID=4674;POINT (-40.559962 -2.822607)'))) / (select extract(epoch from '2026-07-10 16:08:09'::timestamp) - extract(epoch from '2026-07-10 16:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559929 -2.822588)'), GeomFromEWKT('SRID=4674;POINT (-40.559962 -2.822607)'))) / (select extract(epoch from '2026-07-10 16:08:09'::timestamp) - extract(epoch from '2026-07-10 16:08:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.560009 -2.822618)', '2026-07-10 16:08:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559962 -2.822607)'), GeomFromEWKT('SRID=4674;POINT (-40.560009 -2.822618)'))) / (select extract(epoch from '2026-07-10 16:08:20'::timestamp) - extract(epoch from '2026-07-10 16:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.559962 -2.822607)'), GeomFromEWKT('SRID=4674;POINT (-40.560009 -2.822618)'))) / (select extract(epoch from '2026-07-10 16:08:20'::timestamp) - extract(epoch from '2026-07-10 16:08:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.560072 -2.822645)', '2026-07-10 16:08:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560009 -2.822618)'), GeomFromEWKT('SRID=4674;POINT (-40.560072 -2.822645)'))) / (select extract(epoch from '2026-07-10 16:08:31'::timestamp) - extract(epoch from '2026-07-10 16:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560009 -2.822618)'), GeomFromEWKT('SRID=4674;POINT (-40.560072 -2.822645)'))) / (select extract(epoch from '2026-07-10 16:08:31'::timestamp) - extract(epoch from '2026-07-10 16:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.560134 -2.822678)', '2026-07-10 16:08:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560072 -2.822645)'), GeomFromEWKT('SRID=4674;POINT (-40.560134 -2.822678)'))) / (select extract(epoch from '2026-07-10 16:08:42'::timestamp) - extract(epoch from '2026-07-10 16:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560072 -2.822645)'), GeomFromEWKT('SRID=4674;POINT (-40.560134 -2.822678)'))) / (select extract(epoch from '2026-07-10 16:08:42'::timestamp) - extract(epoch from '2026-07-10 16:08: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'), 47642, 'SRID=4674;POINT (-40.560184 -2.82271)', '2026-07-10 16:08:53', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560134 -2.822678)'), GeomFromEWKT('SRID=4674;POINT (-40.560184 -2.82271)'))) / (select extract(epoch from '2026-07-10 16:08:53'::timestamp) - extract(epoch from '2026-07-10 16:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560134 -2.822678)'), GeomFromEWKT('SRID=4674;POINT (-40.560184 -2.82271)'))) / (select extract(epoch from '2026-07-10 16:08:53'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.560234 -2.822745)', '2026-07-10 16:09:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560184 -2.82271)'), GeomFromEWKT('SRID=4674;POINT (-40.560234 -2.822745)'))) / (select extract(epoch from '2026-07-10 16:09:03'::timestamp) - extract(epoch from '2026-07-10 16:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560184 -2.82271)'), GeomFromEWKT('SRID=4674;POINT (-40.560234 -2.822745)'))) / (select extract(epoch from '2026-07-10 16:09:03'::timestamp) - extract(epoch from '2026-07-10 16:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.560271 -2.822764)', '2026-07-10 16:09:11', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560234 -2.822745)'), GeomFromEWKT('SRID=4674;POINT (-40.560271 -2.822764)'))) / (select extract(epoch from '2026-07-10 16:09:11'::timestamp) - extract(epoch from '2026-07-10 16:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560234 -2.822745)'), GeomFromEWKT('SRID=4674;POINT (-40.560271 -2.822764)'))) / (select extract(epoch from '2026-07-10 16:09:11'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47642, 'SRID=4674;POINT (-40.560326 -2.822793)', '2026-07-10 16:09:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560271 -2.822764)'), GeomFromEWKT('SRID=4674;POINT (-40.560326 -2.822793)'))) / (select extract(epoch from '2026-07-10 16:09:22'::timestamp) - extract(epoch from '2026-07-10 16:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560271 -2.822764)'), GeomFromEWKT('SRID=4674;POINT (-40.560326 -2.822793)'))) / (select extract(epoch from '2026-07-10 16:09:22'::timestamp) - extract(epoch from '2026-07-10 16:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.560378 -2.822828)', '2026-07-10 16:09:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560326 -2.822793)'), GeomFromEWKT('SRID=4674;POINT (-40.560378 -2.822828)'))) / (select extract(epoch from '2026-07-10 16:09:32'::timestamp) - extract(epoch from '2026-07-10 16:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560326 -2.822793)'), GeomFromEWKT('SRID=4674;POINT (-40.560378 -2.822828)'))) / (select extract(epoch from '2026-07-10 16:09:32'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.560432 -2.822866)', '2026-07-10 16:09:43', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560378 -2.822828)'), GeomFromEWKT('SRID=4674;POINT (-40.560432 -2.822866)'))) / (select extract(epoch from '2026-07-10 16:09:43'::timestamp) - extract(epoch from '2026-07-10 16:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560378 -2.822828)'), GeomFromEWKT('SRID=4674;POINT (-40.560432 -2.822866)'))) / (select extract(epoch from '2026-07-10 16:09:43'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47642, 'SRID=4674;POINT (-40.560484 -2.822898)', '2026-07-10 16:09:53', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560432 -2.822866)'), GeomFromEWKT('SRID=4674;POINT (-40.560484 -2.822898)'))) / (select extract(epoch from '2026-07-10 16:09:53'::timestamp) - extract(epoch from '2026-07-10 16:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560432 -2.822866)'), GeomFromEWKT('SRID=4674;POINT (-40.560484 -2.822898)'))) / (select extract(epoch from '2026-07-10 16:09:53'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.560571 -2.822933)', '2026-07-10 16:10:09', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560484 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.560571 -2.822933)'))) / (select extract(epoch from '2026-07-10 16:10:09'::timestamp) - extract(epoch from '2026-07-10 16:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560484 -2.822898)'), GeomFromEWKT('SRID=4674;POINT (-40.560571 -2.822933)'))) / (select extract(epoch from '2026-07-10 16:10:09'::timestamp) - extract(epoch from '2026-07-10 16:09: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'), 47642, 'SRID=4674;POINT (-40.560618 -2.822944)', '2026-07-10 16:10:17', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560571 -2.822933)'), GeomFromEWKT('SRID=4674;POINT (-40.560618 -2.822944)'))) / (select extract(epoch from '2026-07-10 16:10:17'::timestamp) - extract(epoch from '2026-07-10 16:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560571 -2.822933)'), GeomFromEWKT('SRID=4674;POINT (-40.560618 -2.822944)'))) / (select extract(epoch from '2026-07-10 16:10:17'::timestamp) - extract(epoch from '2026-07-10 16:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.560681 -2.822968)', '2026-07-10 16:10:27', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560618 -2.822944)'), GeomFromEWKT('SRID=4674;POINT (-40.560681 -2.822968)'))) / (select extract(epoch from '2026-07-10 16:10:27'::timestamp) - extract(epoch from '2026-07-10 16:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560618 -2.822944)'), GeomFromEWKT('SRID=4674;POINT (-40.560681 -2.822968)'))) / (select extract(epoch from '2026-07-10 16:10:27'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47642, 'SRID=4674;POINT (-40.560732 -2.823004)', '2026-07-10 16:10:37', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560681 -2.822968)'), GeomFromEWKT('SRID=4674;POINT (-40.560732 -2.823004)'))) / (select extract(epoch from '2026-07-10 16:10:37'::timestamp) - extract(epoch from '2026-07-10 16:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560681 -2.822968)'), GeomFromEWKT('SRID=4674;POINT (-40.560732 -2.823004)'))) / (select extract(epoch from '2026-07-10 16:10:37'::timestamp) - extract(epoch from '2026-07-10 16:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.560775 -2.823031)', '2026-07-10 16:10:45', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560732 -2.823004)'), GeomFromEWKT('SRID=4674;POINT (-40.560775 -2.823031)'))) / (select extract(epoch from '2026-07-10 16:10:45'::timestamp) - extract(epoch from '2026-07-10 16:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560732 -2.823004)'), GeomFromEWKT('SRID=4674;POINT (-40.560775 -2.823031)'))) / (select extract(epoch from '2026-07-10 16:10:45'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47642, 'SRID=4674;POINT (-40.560798 -2.823043)', '2026-07-10 16:10:50', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560775 -2.823031)'), GeomFromEWKT('SRID=4674;POINT (-40.560798 -2.823043)'))) / (select extract(epoch from '2026-07-10 16:10:50'::timestamp) - extract(epoch from '2026-07-10 16:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560775 -2.823031)'), GeomFromEWKT('SRID=4674;POINT (-40.560798 -2.823043)'))) / (select extract(epoch from '2026-07-10 16:10:50'::timestamp) - extract(epoch from '2026-07-10 16:10: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'), 47642, 'SRID=4674;POINT (-40.560855 -2.823076)', '2026-07-10 16:11:01', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560798 -2.823043)'), GeomFromEWKT('SRID=4674;POINT (-40.560855 -2.823076)'))) / (select extract(epoch from '2026-07-10 16:11:01'::timestamp) - extract(epoch from '2026-07-10 16:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560798 -2.823043)'), GeomFromEWKT('SRID=4674;POINT (-40.560855 -2.823076)'))) / (select extract(epoch from '2026-07-10 16:11:01'::timestamp) - extract(epoch from '2026-07-10 16:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56086 -2.823083)', '2026-07-10 16:11:02', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560855 -2.823076)'), GeomFromEWKT('SRID=4674;POINT (-40.56086 -2.823083)'))) / (select extract(epoch from '2026-07-10 16:11:02'::timestamp) - extract(epoch from '2026-07-10 16:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560855 -2.823076)'), GeomFromEWKT('SRID=4674;POINT (-40.56086 -2.823083)'))) / (select extract(epoch from '2026-07-10 16:11:02'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.560899 -2.823109)', '2026-07-10 16:11:10', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56086 -2.823083)'), GeomFromEWKT('SRID=4674;POINT (-40.560899 -2.823109)'))) / (select extract(epoch from '2026-07-10 16:11:10'::timestamp) - extract(epoch from '2026-07-10 16:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56086 -2.823083)'), GeomFromEWKT('SRID=4674;POINT (-40.560899 -2.823109)'))) / (select extract(epoch from '2026-07-10 16:11:10'::timestamp) - extract(epoch from '2026-07-10 16:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.560947 -2.823132)', '2026-07-10 16:11:20', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560899 -2.823109)'), GeomFromEWKT('SRID=4674;POINT (-40.560947 -2.823132)'))) / (select extract(epoch from '2026-07-10 16:11:20'::timestamp) - extract(epoch from '2026-07-10 16:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560899 -2.823109)'), GeomFromEWKT('SRID=4674;POINT (-40.560947 -2.823132)'))) / (select extract(epoch from '2026-07-10 16:11:20'::timestamp) - extract(epoch from '2026-07-10 16:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.560997 -2.823163)', '2026-07-10 16:11:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560947 -2.823132)'), GeomFromEWKT('SRID=4674;POINT (-40.560997 -2.823163)'))) / (select extract(epoch from '2026-07-10 16:11:30'::timestamp) - extract(epoch from '2026-07-10 16:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560947 -2.823132)'), GeomFromEWKT('SRID=4674;POINT (-40.560997 -2.823163)'))) / (select extract(epoch from '2026-07-10 16:11:30'::timestamp) - extract(epoch from '2026-07-10 16:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561053 -2.8232)', '2026-07-10 16:11:41', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560997 -2.823163)'), GeomFromEWKT('SRID=4674;POINT (-40.561053 -2.8232)'))) / (select extract(epoch from '2026-07-10 16:11:41'::timestamp) - extract(epoch from '2026-07-10 16:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.560997 -2.823163)'), GeomFromEWKT('SRID=4674;POINT (-40.561053 -2.8232)'))) / (select extract(epoch from '2026-07-10 16:11:41'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.561099 -2.823229)', '2026-07-10 16:11:50', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561053 -2.8232)'), GeomFromEWKT('SRID=4674;POINT (-40.561099 -2.823229)'))) / (select extract(epoch from '2026-07-10 16:11:50'::timestamp) - extract(epoch from '2026-07-10 16:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561053 -2.8232)'), GeomFromEWKT('SRID=4674;POINT (-40.561099 -2.823229)'))) / (select extract(epoch from '2026-07-10 16:11:50'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.56114 -2.82325)', '2026-07-10 16:11:58', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561099 -2.823229)'), GeomFromEWKT('SRID=4674;POINT (-40.56114 -2.82325)'))) / (select extract(epoch from '2026-07-10 16:11:58'::timestamp) - extract(epoch from '2026-07-10 16:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561099 -2.823229)'), GeomFromEWKT('SRID=4674;POINT (-40.56114 -2.82325)'))) / (select extract(epoch from '2026-07-10 16:11:58'::timestamp) - extract(epoch from '2026-07-10 16:11: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'), 47642, 'SRID=4674;POINT (-40.561187 -2.823265)', '2026-07-10 16:12:07', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56114 -2.82325)'), GeomFromEWKT('SRID=4674;POINT (-40.561187 -2.823265)'))) / (select extract(epoch from '2026-07-10 16:12:07'::timestamp) - extract(epoch from '2026-07-10 16:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56114 -2.82325)'), GeomFromEWKT('SRID=4674;POINT (-40.561187 -2.823265)'))) / (select extract(epoch from '2026-07-10 16:12:07'::timestamp) - extract(epoch from '2026-07-10 16:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561246 -2.823296)', '2026-07-10 16:12:19', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561187 -2.823265)'), GeomFromEWKT('SRID=4674;POINT (-40.561246 -2.823296)'))) / (select extract(epoch from '2026-07-10 16:12:19'::timestamp) - extract(epoch from '2026-07-10 16:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561187 -2.823265)'), GeomFromEWKT('SRID=4674;POINT (-40.561246 -2.823296)'))) / (select extract(epoch from '2026-07-10 16:12:19'::timestamp) - extract(epoch from '2026-07-10 16:12: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'), 47642, 'SRID=4674;POINT (-40.561303 -2.823333)', '2026-07-10 16:12:30', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561246 -2.823296)'), GeomFromEWKT('SRID=4674;POINT (-40.561303 -2.823333)'))) / (select extract(epoch from '2026-07-10 16:12:30'::timestamp) - extract(epoch from '2026-07-10 16:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561246 -2.823296)'), GeomFromEWKT('SRID=4674;POINT (-40.561303 -2.823333)'))) / (select extract(epoch from '2026-07-10 16:12:30'::timestamp) - extract(epoch from '2026-07-10 16:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561354 -2.823353)', '2026-07-10 16:12:41', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561303 -2.823333)'), GeomFromEWKT('SRID=4674;POINT (-40.561354 -2.823353)'))) / (select extract(epoch from '2026-07-10 16:12:41'::timestamp) - extract(epoch from '2026-07-10 16:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561303 -2.823333)'), GeomFromEWKT('SRID=4674;POINT (-40.561354 -2.823353)'))) / (select extract(epoch from '2026-07-10 16:12:41'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.561404 -2.823379)', '2026-07-10 16:12:50', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561354 -2.823353)'), GeomFromEWKT('SRID=4674;POINT (-40.561404 -2.823379)'))) / (select extract(epoch from '2026-07-10 16:12:50'::timestamp) - extract(epoch from '2026-07-10 16:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561354 -2.823353)'), GeomFromEWKT('SRID=4674;POINT (-40.561404 -2.823379)'))) / (select extract(epoch from '2026-07-10 16:12:50'::timestamp) - extract(epoch from '2026-07-10 16:12: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'), 47642, 'SRID=4674;POINT (-40.561449 -2.8234)', '2026-07-10 16:12:58', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561404 -2.823379)'), GeomFromEWKT('SRID=4674;POINT (-40.561449 -2.8234)'))) / (select extract(epoch from '2026-07-10 16:12:58'::timestamp) - extract(epoch from '2026-07-10 16:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561404 -2.823379)'), GeomFromEWKT('SRID=4674;POINT (-40.561449 -2.8234)'))) / (select extract(epoch from '2026-07-10 16:12:58'::timestamp) - extract(epoch from '2026-07-10 16:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561514 -2.82342)', '2026-07-10 16:13:10', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561449 -2.8234)'), GeomFromEWKT('SRID=4674;POINT (-40.561514 -2.82342)'))) / (select extract(epoch from '2026-07-10 16:13:10'::timestamp) - extract(epoch from '2026-07-10 16:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561449 -2.8234)'), GeomFromEWKT('SRID=4674;POINT (-40.561514 -2.82342)'))) / (select extract(epoch from '2026-07-10 16:13:10'::timestamp) - extract(epoch from '2026-07-10 16:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56157 -2.823444)', '2026-07-10 16:13:21', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561514 -2.82342)'), GeomFromEWKT('SRID=4674;POINT (-40.56157 -2.823444)'))) / (select extract(epoch from '2026-07-10 16:13:21'::timestamp) - extract(epoch from '2026-07-10 16:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561514 -2.82342)'), GeomFromEWKT('SRID=4674;POINT (-40.56157 -2.823444)'))) / (select extract(epoch from '2026-07-10 16:13:21'::timestamp) - extract(epoch from '2026-07-10 16:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561617 -2.823465)', '2026-07-10 16:13:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56157 -2.823444)'), GeomFromEWKT('SRID=4674;POINT (-40.561617 -2.823465)'))) / (select extract(epoch from '2026-07-10 16:13:30'::timestamp) - extract(epoch from '2026-07-10 16:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56157 -2.823444)'), GeomFromEWKT('SRID=4674;POINT (-40.561617 -2.823465)'))) / (select extract(epoch from '2026-07-10 16:13:30'::timestamp) - extract(epoch from '2026-07-10 16:13: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'), 47642, 'SRID=4674;POINT (-40.561661 -2.823481)', '2026-07-10 16:13:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561617 -2.823465)'), GeomFromEWKT('SRID=4674;POINT (-40.561661 -2.823481)'))) / (select extract(epoch from '2026-07-10 16:13:40'::timestamp) - extract(epoch from '2026-07-10 16:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561617 -2.823465)'), GeomFromEWKT('SRID=4674;POINT (-40.561661 -2.823481)'))) / (select extract(epoch from '2026-07-10 16:13:40'::timestamp) - extract(epoch from '2026-07-10 16:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561697 -2.823496)', '2026-07-10 16:13:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561661 -2.823481)'), GeomFromEWKT('SRID=4674;POINT (-40.561697 -2.823496)'))) / (select extract(epoch from '2026-07-10 16:13:48'::timestamp) - extract(epoch from '2026-07-10 16:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561661 -2.823481)'), GeomFromEWKT('SRID=4674;POINT (-40.561697 -2.823496)'))) / (select extract(epoch from '2026-07-10 16:13:48'::timestamp) - extract(epoch from '2026-07-10 16:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561759 -2.823522)', '2026-07-10 16:13:59', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561697 -2.823496)'), GeomFromEWKT('SRID=4674;POINT (-40.561759 -2.823522)'))) / (select extract(epoch from '2026-07-10 16:13:59'::timestamp) - extract(epoch from '2026-07-10 16:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561697 -2.823496)'), GeomFromEWKT('SRID=4674;POINT (-40.561759 -2.823522)'))) / (select extract(epoch from '2026-07-10 16:13:59'::timestamp) - extract(epoch from '2026-07-10 16:13: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'), 47642, 'SRID=4674;POINT (-40.561792 -2.823544)', '2026-07-10 16:14:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561759 -2.823522)'), GeomFromEWKT('SRID=4674;POINT (-40.561792 -2.823544)'))) / (select extract(epoch from '2026-07-10 16:14:06'::timestamp) - extract(epoch from '2026-07-10 16:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561759 -2.823522)'), GeomFromEWKT('SRID=4674;POINT (-40.561792 -2.823544)'))) / (select extract(epoch from '2026-07-10 16:14:06'::timestamp) - extract(epoch from '2026-07-10 16:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561818 -2.823564)', '2026-07-10 16:14:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561792 -2.823544)'), GeomFromEWKT('SRID=4674;POINT (-40.561818 -2.823564)'))) / (select extract(epoch from '2026-07-10 16:14:12'::timestamp) - extract(epoch from '2026-07-10 16:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561792 -2.823544)'), GeomFromEWKT('SRID=4674;POINT (-40.561818 -2.823564)'))) / (select extract(epoch from '2026-07-10 16:14:12'::timestamp) - extract(epoch from '2026-07-10 16:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56185 -2.823578)', '2026-07-10 16:14:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561818 -2.823564)'), GeomFromEWKT('SRID=4674;POINT (-40.56185 -2.823578)'))) / (select extract(epoch from '2026-07-10 16:14:18'::timestamp) - extract(epoch from '2026-07-10 16:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561818 -2.823564)'), GeomFromEWKT('SRID=4674;POINT (-40.56185 -2.823578)'))) / (select extract(epoch from '2026-07-10 16:14:18'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47642, 'SRID=4674;POINT (-40.561888 -2.823592)', '2026-07-10 16:14:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56185 -2.823578)'), GeomFromEWKT('SRID=4674;POINT (-40.561888 -2.823592)'))) / (select extract(epoch from '2026-07-10 16:14:26'::timestamp) - extract(epoch from '2026-07-10 16:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56185 -2.823578)'), GeomFromEWKT('SRID=4674;POINT (-40.561888 -2.823592)'))) / (select extract(epoch from '2026-07-10 16:14:26'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47642, 'SRID=4674;POINT (-40.561927 -2.823612)', '2026-07-10 16:14:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561888 -2.823592)'), GeomFromEWKT('SRID=4674;POINT (-40.561927 -2.823612)'))) / (select extract(epoch from '2026-07-10 16:14:34'::timestamp) - extract(epoch from '2026-07-10 16:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561888 -2.823592)'), GeomFromEWKT('SRID=4674;POINT (-40.561927 -2.823612)'))) / (select extract(epoch from '2026-07-10 16:14:34'::timestamp) - extract(epoch from '2026-07-10 16:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561992 -2.82364)', '2026-07-10 16:14:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561927 -2.823612)'), GeomFromEWKT('SRID=4674;POINT (-40.561992 -2.82364)'))) / (select extract(epoch from '2026-07-10 16:14:46'::timestamp) - extract(epoch from '2026-07-10 16:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561927 -2.823612)'), GeomFromEWKT('SRID=4674;POINT (-40.561992 -2.82364)'))) / (select extract(epoch from '2026-07-10 16:14:46'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.562 -2.823646)', '2026-07-10 16:14:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561992 -2.82364)'), GeomFromEWKT('SRID=4674;POINT (-40.562 -2.823646)'))) / (select extract(epoch from '2026-07-10 16:14:47'::timestamp) - extract(epoch from '2026-07-10 16:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561992 -2.82364)'), GeomFromEWKT('SRID=4674;POINT (-40.562 -2.823646)'))) / (select extract(epoch from '2026-07-10 16:14:47'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.562036 -2.823661)', '2026-07-10 16:14:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562 -2.823646)'), GeomFromEWKT('SRID=4674;POINT (-40.562036 -2.823661)'))) / (select extract(epoch from '2026-07-10 16:14:53'::timestamp) - extract(epoch from '2026-07-10 16:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562 -2.823646)'), GeomFromEWKT('SRID=4674;POINT (-40.562036 -2.823661)'))) / (select extract(epoch from '2026-07-10 16:14:53'::timestamp) - extract(epoch from '2026-07-10 16:14: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'), 47642, 'SRID=4674;POINT (-40.562082 -2.823679)', '2026-07-10 16:15:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562036 -2.823661)'), GeomFromEWKT('SRID=4674;POINT (-40.562082 -2.823679)'))) / (select extract(epoch from '2026-07-10 16:15:00'::timestamp) - extract(epoch from '2026-07-10 16:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562036 -2.823661)'), GeomFromEWKT('SRID=4674;POINT (-40.562082 -2.823679)'))) / (select extract(epoch from '2026-07-10 16:15:00'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.562132 -2.823699)', '2026-07-10 16:15:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562082 -2.823679)'), GeomFromEWKT('SRID=4674;POINT (-40.562132 -2.823699)'))) / (select extract(epoch from '2026-07-10 16:15:09'::timestamp) - extract(epoch from '2026-07-10 16:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562082 -2.823679)'), GeomFromEWKT('SRID=4674;POINT (-40.562132 -2.823699)'))) / (select extract(epoch from '2026-07-10 16:15:09'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.562167 -2.823716)', '2026-07-10 16:15:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562132 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.562167 -2.823716)'))) / (select extract(epoch from '2026-07-10 16:15:16'::timestamp) - extract(epoch from '2026-07-10 16:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562132 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.562167 -2.823716)'))) / (select extract(epoch from '2026-07-10 16:15:16'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47642, 'SRID=4674;POINT (-40.562202 -2.823748)', '2026-07-10 16:15:23', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562167 -2.823716)'), GeomFromEWKT('SRID=4674;POINT (-40.562202 -2.823748)'))) / (select extract(epoch from '2026-07-10 16:15:23'::timestamp) - extract(epoch from '2026-07-10 16:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562167 -2.823716)'), GeomFromEWKT('SRID=4674;POINT (-40.562202 -2.823748)'))) / (select extract(epoch from '2026-07-10 16:15:23'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47642, 'SRID=4674;POINT (-40.562248 -2.823783)', '2026-07-10 16:15:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562202 -2.823748)'), GeomFromEWKT('SRID=4674;POINT (-40.562248 -2.823783)'))) / (select extract(epoch from '2026-07-10 16:15:32'::timestamp) - extract(epoch from '2026-07-10 16:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562202 -2.823748)'), GeomFromEWKT('SRID=4674;POINT (-40.562248 -2.823783)'))) / (select extract(epoch from '2026-07-10 16:15:32'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47642, 'SRID=4674;POINT (-40.562305 -2.823825)', '2026-07-10 16:15:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562248 -2.823783)'), GeomFromEWKT('SRID=4674;POINT (-40.562305 -2.823825)'))) / (select extract(epoch from '2026-07-10 16:15:42'::timestamp) - extract(epoch from '2026-07-10 16:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562248 -2.823783)'), GeomFromEWKT('SRID=4674;POINT (-40.562305 -2.823825)'))) / (select extract(epoch from '2026-07-10 16:15:42'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.562374 -2.823852)', '2026-07-10 16:15:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562305 -2.823825)'), GeomFromEWKT('SRID=4674;POINT (-40.562374 -2.823852)'))) / (select extract(epoch from '2026-07-10 16:15:52'::timestamp) - extract(epoch from '2026-07-10 16:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562305 -2.823825)'), GeomFromEWKT('SRID=4674;POINT (-40.562374 -2.823852)'))) / (select extract(epoch from '2026-07-10 16:15:52'::timestamp) - extract(epoch from '2026-07-10 16:15: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'), 47642, 'SRID=4674;POINT (-40.562448 -2.823888)', '2026-07-10 16:16:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562374 -2.823852)'), GeomFromEWKT('SRID=4674;POINT (-40.562448 -2.823888)'))) / (select extract(epoch from '2026-07-10 16:16:04'::timestamp) - extract(epoch from '2026-07-10 16:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562374 -2.823852)'), GeomFromEWKT('SRID=4674;POINT (-40.562448 -2.823888)'))) / (select extract(epoch from '2026-07-10 16:16:04'::timestamp) - extract(epoch from '2026-07-10 16:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562518 -2.823923)', '2026-07-10 16:16:16', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562448 -2.823888)'), GeomFromEWKT('SRID=4674;POINT (-40.562518 -2.823923)'))) / (select extract(epoch from '2026-07-10 16:16:16'::timestamp) - extract(epoch from '2026-07-10 16:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562448 -2.823888)'), GeomFromEWKT('SRID=4674;POINT (-40.562518 -2.823923)'))) / (select extract(epoch from '2026-07-10 16:16:16'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47642, 'SRID=4674;POINT (-40.56257 -2.82394)', '2026-07-10 16:16:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562518 -2.823923)'), GeomFromEWKT('SRID=4674;POINT (-40.56257 -2.82394)'))) / (select extract(epoch from '2026-07-10 16:16:27'::timestamp) - extract(epoch from '2026-07-10 16:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562518 -2.823923)'), GeomFromEWKT('SRID=4674;POINT (-40.56257 -2.82394)'))) / (select extract(epoch from '2026-07-10 16:16:27'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47642, 'SRID=4674;POINT (-40.562625 -2.823968)', '2026-07-10 16:16:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56257 -2.82394)'), GeomFromEWKT('SRID=4674;POINT (-40.562625 -2.823968)'))) / (select extract(epoch from '2026-07-10 16:16:37'::timestamp) - extract(epoch from '2026-07-10 16:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56257 -2.82394)'), GeomFromEWKT('SRID=4674;POINT (-40.562625 -2.823968)'))) / (select extract(epoch from '2026-07-10 16:16:37'::timestamp) - extract(epoch from '2026-07-10 16:16: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'), 47642, 'SRID=4674;POINT (-40.562683 -2.823988)', '2026-07-10 16:16:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562625 -2.823968)'), GeomFromEWKT('SRID=4674;POINT (-40.562683 -2.823988)'))) / (select extract(epoch from '2026-07-10 16:16:47'::timestamp) - extract(epoch from '2026-07-10 16:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562625 -2.823968)'), GeomFromEWKT('SRID=4674;POINT (-40.562683 -2.823988)'))) / (select extract(epoch from '2026-07-10 16:16:47'::timestamp) - extract(epoch from '2026-07-10 16:16:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562755 -2.824028)', '2026-07-10 16:17:00', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562683 -2.823988)'), GeomFromEWKT('SRID=4674;POINT (-40.562755 -2.824028)'))) / (select extract(epoch from '2026-07-10 16:17:00'::timestamp) - extract(epoch from '2026-07-10 16:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562683 -2.823988)'), GeomFromEWKT('SRID=4674;POINT (-40.562755 -2.824028)'))) / (select extract(epoch from '2026-07-10 16:17:00'::timestamp) - extract(epoch from '2026-07-10 16:16:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562803 -2.824056)', '2026-07-10 16:17:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562755 -2.824028)'), GeomFromEWKT('SRID=4674;POINT (-40.562803 -2.824056)'))) / (select extract(epoch from '2026-07-10 16:17:09'::timestamp) - extract(epoch from '2026-07-10 16:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562755 -2.824028)'), GeomFromEWKT('SRID=4674;POINT (-40.562803 -2.824056)'))) / (select extract(epoch from '2026-07-10 16:17:09'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.562867 -2.8241)', '2026-07-10 16:17:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562803 -2.824056)'), GeomFromEWKT('SRID=4674;POINT (-40.562867 -2.8241)'))) / (select extract(epoch from '2026-07-10 16:17:20'::timestamp) - extract(epoch from '2026-07-10 16:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562803 -2.824056)'), GeomFromEWKT('SRID=4674;POINT (-40.562867 -2.8241)'))) / (select extract(epoch from '2026-07-10 16:17:20'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47642, 'SRID=4674;POINT (-40.562925 -2.824144)', '2026-07-10 16:17:31', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562867 -2.8241)'), GeomFromEWKT('SRID=4674;POINT (-40.562925 -2.824144)'))) / (select extract(epoch from '2026-07-10 16:17:31'::timestamp) - extract(epoch from '2026-07-10 16:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562867 -2.8241)'), GeomFromEWKT('SRID=4674;POINT (-40.562925 -2.824144)'))) / (select extract(epoch from '2026-07-10 16:17:31'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.562961 -2.824165)', '2026-07-10 16:17:39', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562925 -2.824144)'), GeomFromEWKT('SRID=4674;POINT (-40.562961 -2.824165)'))) / (select extract(epoch from '2026-07-10 16:17:39'::timestamp) - extract(epoch from '2026-07-10 16:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562925 -2.824144)'), GeomFromEWKT('SRID=4674;POINT (-40.562961 -2.824165)'))) / (select extract(epoch from '2026-07-10 16:17:39'::timestamp) - extract(epoch from '2026-07-10 16:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562993 -2.824176)', '2026-07-10 16:17:45', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562961 -2.824165)'), GeomFromEWKT('SRID=4674;POINT (-40.562993 -2.824176)'))) / (select extract(epoch from '2026-07-10 16:17:45'::timestamp) - extract(epoch from '2026-07-10 16:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562961 -2.824165)'), GeomFromEWKT('SRID=4674;POINT (-40.562993 -2.824176)'))) / (select extract(epoch from '2026-07-10 16:17:45'::timestamp) - extract(epoch from '2026-07-10 16:17: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'), 47642, 'SRID=4674;POINT (-40.56305 -2.824195)', '2026-07-10 16:17:54', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562993 -2.824176)'), GeomFromEWKT('SRID=4674;POINT (-40.56305 -2.824195)'))) / (select extract(epoch from '2026-07-10 16:17:54'::timestamp) - extract(epoch from '2026-07-10 16:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562993 -2.824176)'), GeomFromEWKT('SRID=4674;POINT (-40.56305 -2.824195)'))) / (select extract(epoch from '2026-07-10 16:17:54'::timestamp) - extract(epoch from '2026-07-10 16:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563111 -2.82423)', '2026-07-10 16:18:03', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56305 -2.824195)'), GeomFromEWKT('SRID=4674;POINT (-40.563111 -2.82423)'))) / (select extract(epoch from '2026-07-10 16:18:03'::timestamp) - extract(epoch from '2026-07-10 16:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56305 -2.824195)'), GeomFromEWKT('SRID=4674;POINT (-40.563111 -2.82423)'))) / (select extract(epoch from '2026-07-10 16:18:03'::timestamp) - extract(epoch from '2026-07-10 16:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563191 -2.824281)', '2026-07-10 16:18:17', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563111 -2.82423)'), GeomFromEWKT('SRID=4674;POINT (-40.563191 -2.824281)'))) / (select extract(epoch from '2026-07-10 16:18:17'::timestamp) - extract(epoch from '2026-07-10 16:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563111 -2.82423)'), GeomFromEWKT('SRID=4674;POINT (-40.563191 -2.824281)'))) / (select extract(epoch from '2026-07-10 16:18:17'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47642, 'SRID=4674;POINT (-40.563247 -2.82431)', '2026-07-10 16:18:28', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563191 -2.824281)'), GeomFromEWKT('SRID=4674;POINT (-40.563247 -2.82431)'))) / (select extract(epoch from '2026-07-10 16:18:28'::timestamp) - extract(epoch from '2026-07-10 16:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563191 -2.824281)'), GeomFromEWKT('SRID=4674;POINT (-40.563247 -2.82431)'))) / (select extract(epoch from '2026-07-10 16:18:28'::timestamp) - extract(epoch from '2026-07-10 16:18: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'), 47642, 'SRID=4674;POINT (-40.563303 -2.82434)', '2026-07-10 16:18:37', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563247 -2.82431)'), GeomFromEWKT('SRID=4674;POINT (-40.563303 -2.82434)'))) / (select extract(epoch from '2026-07-10 16:18:37'::timestamp) - extract(epoch from '2026-07-10 16:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563247 -2.82431)'), GeomFromEWKT('SRID=4674;POINT (-40.563303 -2.82434)'))) / (select extract(epoch from '2026-07-10 16:18:37'::timestamp) - extract(epoch from '2026-07-10 16:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563346 -2.824358)', '2026-07-10 16:18:45', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563303 -2.82434)'), GeomFromEWKT('SRID=4674;POINT (-40.563346 -2.824358)'))) / (select extract(epoch from '2026-07-10 16:18:45'::timestamp) - extract(epoch from '2026-07-10 16:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563303 -2.82434)'), GeomFromEWKT('SRID=4674;POINT (-40.563346 -2.824358)'))) / (select extract(epoch from '2026-07-10 16:18:45'::timestamp) - extract(epoch from '2026-07-10 16:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563393 -2.82438)', '2026-07-10 16:18:53', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563346 -2.824358)'), GeomFromEWKT('SRID=4674;POINT (-40.563393 -2.82438)'))) / (select extract(epoch from '2026-07-10 16:18:53'::timestamp) - extract(epoch from '2026-07-10 16:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563346 -2.824358)'), GeomFromEWKT('SRID=4674;POINT (-40.563393 -2.82438)'))) / (select extract(epoch from '2026-07-10 16:18:53'::timestamp) - extract(epoch from '2026-07-10 16:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56343 -2.824402)', '2026-07-10 16:19:00', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563393 -2.82438)'), GeomFromEWKT('SRID=4674;POINT (-40.56343 -2.824402)'))) / (select extract(epoch from '2026-07-10 16:19:00'::timestamp) - extract(epoch from '2026-07-10 16:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563393 -2.82438)'), GeomFromEWKT('SRID=4674;POINT (-40.56343 -2.824402)'))) / (select extract(epoch from '2026-07-10 16:19:00'::timestamp) - extract(epoch from '2026-07-10 16:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563502 -2.824421)', '2026-07-10 16:19:11', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56343 -2.824402)'), GeomFromEWKT('SRID=4674;POINT (-40.563502 -2.824421)'))) / (select extract(epoch from '2026-07-10 16:19:11'::timestamp) - extract(epoch from '2026-07-10 16:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56343 -2.824402)'), GeomFromEWKT('SRID=4674;POINT (-40.563502 -2.824421)'))) / (select extract(epoch from '2026-07-10 16:19:11'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47642, 'SRID=4674;POINT (-40.563536 -2.824444)', '2026-07-10 16:19:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563502 -2.824421)'), GeomFromEWKT('SRID=4674;POINT (-40.563536 -2.824444)'))) / (select extract(epoch from '2026-07-10 16:19:18'::timestamp) - extract(epoch from '2026-07-10 16:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563502 -2.824421)'), GeomFromEWKT('SRID=4674;POINT (-40.563536 -2.824444)'))) / (select extract(epoch from '2026-07-10 16:19:18'::timestamp) - extract(epoch from '2026-07-10 16:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563578 -2.824469)', '2026-07-10 16:19:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563536 -2.824444)'), GeomFromEWKT('SRID=4674;POINT (-40.563578 -2.824469)'))) / (select extract(epoch from '2026-07-10 16:19:27'::timestamp) - extract(epoch from '2026-07-10 16:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563536 -2.824444)'), GeomFromEWKT('SRID=4674;POINT (-40.563578 -2.824469)'))) / (select extract(epoch from '2026-07-10 16:19:27'::timestamp) - extract(epoch from '2026-07-10 16:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56363 -2.824489)', '2026-07-10 16:19:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563578 -2.824469)'), GeomFromEWKT('SRID=4674;POINT (-40.56363 -2.824489)'))) / (select extract(epoch from '2026-07-10 16:19:36'::timestamp) - extract(epoch from '2026-07-10 16:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563578 -2.824469)'), GeomFromEWKT('SRID=4674;POINT (-40.56363 -2.824489)'))) / (select extract(epoch from '2026-07-10 16:19:36'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.563673 -2.82451)', '2026-07-10 16:19:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56363 -2.824489)'), GeomFromEWKT('SRID=4674;POINT (-40.563673 -2.82451)'))) / (select extract(epoch from '2026-07-10 16:19:44'::timestamp) - extract(epoch from '2026-07-10 16:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56363 -2.824489)'), GeomFromEWKT('SRID=4674;POINT (-40.563673 -2.82451)'))) / (select extract(epoch from '2026-07-10 16:19:44'::timestamp) - extract(epoch from '2026-07-10 16:19: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'), 47642, 'SRID=4674;POINT (-40.56373 -2.82453)', '2026-07-10 16:19:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563673 -2.82451)'), GeomFromEWKT('SRID=4674;POINT (-40.56373 -2.82453)'))) / (select extract(epoch from '2026-07-10 16:19:54'::timestamp) - extract(epoch from '2026-07-10 16:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563673 -2.82451)'), GeomFromEWKT('SRID=4674;POINT (-40.56373 -2.82453)'))) / (select extract(epoch from '2026-07-10 16:19:54'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.563766 -2.824545)', '2026-07-10 16:20:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56373 -2.82453)'), GeomFromEWKT('SRID=4674;POINT (-40.563766 -2.824545)'))) / (select extract(epoch from '2026-07-10 16:20:01'::timestamp) - extract(epoch from '2026-07-10 16:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56373 -2.82453)'), GeomFromEWKT('SRID=4674;POINT (-40.563766 -2.824545)'))) / (select extract(epoch from '2026-07-10 16:20:01'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.563805 -2.824563)', '2026-07-10 16:20:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563766 -2.824545)'), GeomFromEWKT('SRID=4674;POINT (-40.563805 -2.824563)'))) / (select extract(epoch from '2026-07-10 16:20:08'::timestamp) - extract(epoch from '2026-07-10 16:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563766 -2.824545)'), GeomFromEWKT('SRID=4674;POINT (-40.563805 -2.824563)'))) / (select extract(epoch from '2026-07-10 16:20:08'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47642, 'SRID=4674;POINT (-40.563859 -2.824582)', '2026-07-10 16:20:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563805 -2.824563)'), GeomFromEWKT('SRID=4674;POINT (-40.563859 -2.824582)'))) / (select extract(epoch from '2026-07-10 16:20:17'::timestamp) - extract(epoch from '2026-07-10 16:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563805 -2.824563)'), GeomFromEWKT('SRID=4674;POINT (-40.563859 -2.824582)'))) / (select extract(epoch from '2026-07-10 16:20:17'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47642, 'SRID=4674;POINT (-40.56393 -2.824602)', '2026-07-10 16:20:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563859 -2.824582)'), GeomFromEWKT('SRID=4674;POINT (-40.56393 -2.824602)'))) / (select extract(epoch from '2026-07-10 16:20:28'::timestamp) - extract(epoch from '2026-07-10 16:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563859 -2.824582)'), GeomFromEWKT('SRID=4674;POINT (-40.56393 -2.824602)'))) / (select extract(epoch from '2026-07-10 16:20:28'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.563978 -2.824625)', '2026-07-10 16:20:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56393 -2.824602)'), GeomFromEWKT('SRID=4674;POINT (-40.563978 -2.824625)'))) / (select extract(epoch from '2026-07-10 16:20:36'::timestamp) - extract(epoch from '2026-07-10 16:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56393 -2.824602)'), GeomFromEWKT('SRID=4674;POINT (-40.563978 -2.824625)'))) / (select extract(epoch from '2026-07-10 16:20:36'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47642, 'SRID=4674;POINT (-40.564016 -2.824649)', '2026-07-10 16:20:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563978 -2.824625)'), GeomFromEWKT('SRID=4674;POINT (-40.564016 -2.824649)'))) / (select extract(epoch from '2026-07-10 16:20:44'::timestamp) - extract(epoch from '2026-07-10 16:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563978 -2.824625)'), GeomFromEWKT('SRID=4674;POINT (-40.564016 -2.824649)'))) / (select extract(epoch from '2026-07-10 16:20:44'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47642, 'SRID=4674;POINT (-40.564057 -2.824668)', '2026-07-10 16:20:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564016 -2.824649)'), GeomFromEWKT('SRID=4674;POINT (-40.564057 -2.824668)'))) / (select extract(epoch from '2026-07-10 16:20:52'::timestamp) - extract(epoch from '2026-07-10 16:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564016 -2.824649)'), GeomFromEWKT('SRID=4674;POINT (-40.564057 -2.824668)'))) / (select extract(epoch from '2026-07-10 16:20:52'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47642, 'SRID=4674;POINT (-40.564063 -2.824677)', '2026-07-10 16:20:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564057 -2.824668)'), GeomFromEWKT('SRID=4674;POINT (-40.564063 -2.824677)'))) / (select extract(epoch from '2026-07-10 16:20:53'::timestamp) - extract(epoch from '2026-07-10 16:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564057 -2.824668)'), GeomFromEWKT('SRID=4674;POINT (-40.564063 -2.824677)'))) / (select extract(epoch from '2026-07-10 16:20:53'::timestamp) - extract(epoch from '2026-07-10 16:20: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'), 47642, 'SRID=4674;POINT (-40.56409 -2.824686)', '2026-07-10 16:20:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564063 -2.824677)'), GeomFromEWKT('SRID=4674;POINT (-40.56409 -2.824686)'))) / (select extract(epoch from '2026-07-10 16:20:58'::timestamp) - extract(epoch from '2026-07-10 16:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564063 -2.824677)'), GeomFromEWKT('SRID=4674;POINT (-40.56409 -2.824686)'))) / (select extract(epoch from '2026-07-10 16:20:58'::timestamp) - extract(epoch from '2026-07-10 16:20:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564122 -2.824707)', '2026-07-10 16:21:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56409 -2.824686)'), GeomFromEWKT('SRID=4674;POINT (-40.564122 -2.824707)'))) / (select extract(epoch from '2026-07-10 16:21:05'::timestamp) - extract(epoch from '2026-07-10 16:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56409 -2.824686)'), GeomFromEWKT('SRID=4674;POINT (-40.564122 -2.824707)'))) / (select extract(epoch from '2026-07-10 16:21:05'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.564165 -2.824729)', '2026-07-10 16:21:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564122 -2.824707)'), GeomFromEWKT('SRID=4674;POINT (-40.564165 -2.824729)'))) / (select extract(epoch from '2026-07-10 16:21:13'::timestamp) - extract(epoch from '2026-07-10 16:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564122 -2.824707)'), GeomFromEWKT('SRID=4674;POINT (-40.564165 -2.824729)'))) / (select extract(epoch from '2026-07-10 16:21:13'::timestamp) - extract(epoch from '2026-07-10 16:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564201 -2.824743)', '2026-07-10 16:21:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564165 -2.824729)'), GeomFromEWKT('SRID=4674;POINT (-40.564201 -2.824743)'))) / (select extract(epoch from '2026-07-10 16:21:20'::timestamp) - extract(epoch from '2026-07-10 16:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564165 -2.824729)'), GeomFromEWKT('SRID=4674;POINT (-40.564201 -2.824743)'))) / (select extract(epoch from '2026-07-10 16:21:20'::timestamp) - extract(epoch from '2026-07-10 16:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564245 -2.824758)', '2026-07-10 16:21:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564201 -2.824743)'), GeomFromEWKT('SRID=4674;POINT (-40.564245 -2.824758)'))) / (select extract(epoch from '2026-07-10 16:21:29'::timestamp) - extract(epoch from '2026-07-10 16:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564201 -2.824743)'), GeomFromEWKT('SRID=4674;POINT (-40.564245 -2.824758)'))) / (select extract(epoch from '2026-07-10 16:21:29'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47642, 'SRID=4674;POINT (-40.564286 -2.824777)', '2026-07-10 16:21:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564245 -2.824758)'), GeomFromEWKT('SRID=4674;POINT (-40.564286 -2.824777)'))) / (select extract(epoch from '2026-07-10 16:21:36'::timestamp) - extract(epoch from '2026-07-10 16:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564245 -2.824758)'), GeomFromEWKT('SRID=4674;POINT (-40.564286 -2.824777)'))) / (select extract(epoch from '2026-07-10 16:21:36'::timestamp) - extract(epoch from '2026-07-10 16:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564359 -2.824815)', '2026-07-10 16:21:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564286 -2.824777)'), GeomFromEWKT('SRID=4674;POINT (-40.564359 -2.824815)'))) / (select extract(epoch from '2026-07-10 16:21:48'::timestamp) - extract(epoch from '2026-07-10 16:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564286 -2.824777)'), GeomFromEWKT('SRID=4674;POINT (-40.564359 -2.824815)'))) / (select extract(epoch from '2026-07-10 16:21:48'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47642, 'SRID=4674;POINT (-40.564417 -2.824852)', '2026-07-10 16:21:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564359 -2.824815)'), GeomFromEWKT('SRID=4674;POINT (-40.564417 -2.824852)'))) / (select extract(epoch from '2026-07-10 16:21:58'::timestamp) - extract(epoch from '2026-07-10 16:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564359 -2.824815)'), GeomFromEWKT('SRID=4674;POINT (-40.564417 -2.824852)'))) / (select extract(epoch from '2026-07-10 16:21:58'::timestamp) - extract(epoch from '2026-07-10 16:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564471 -2.824889)', '2026-07-10 16:22:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564417 -2.824852)'), GeomFromEWKT('SRID=4674;POINT (-40.564471 -2.824889)'))) / (select extract(epoch from '2026-07-10 16:22:09'::timestamp) - extract(epoch from '2026-07-10 16:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564417 -2.824852)'), GeomFromEWKT('SRID=4674;POINT (-40.564471 -2.824889)'))) / (select extract(epoch from '2026-07-10 16:22:09'::timestamp) - extract(epoch from '2026-07-10 16:21: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'), 47642, 'SRID=4674;POINT (-40.564524 -2.824921)', '2026-07-10 16:22:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564471 -2.824889)'), GeomFromEWKT('SRID=4674;POINT (-40.564524 -2.824921)'))) / (select extract(epoch from '2026-07-10 16:22:19'::timestamp) - extract(epoch from '2026-07-10 16:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564471 -2.824889)'), GeomFromEWKT('SRID=4674;POINT (-40.564524 -2.824921)'))) / (select extract(epoch from '2026-07-10 16:22:19'::timestamp) - extract(epoch from '2026-07-10 16:22: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'), 47642, 'SRID=4674;POINT (-40.564589 -2.824968)', '2026-07-10 16:22:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564524 -2.824921)'), GeomFromEWKT('SRID=4674;POINT (-40.564589 -2.824968)'))) / (select extract(epoch from '2026-07-10 16:22:32'::timestamp) - extract(epoch from '2026-07-10 16:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564524 -2.824921)'), GeomFromEWKT('SRID=4674;POINT (-40.564589 -2.824968)'))) / (select extract(epoch from '2026-07-10 16:22:32'::timestamp) - extract(epoch from '2026-07-10 16:22: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'), 47642, 'SRID=4674;POINT (-40.564656 -2.82501)', '2026-07-10 16:22:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564589 -2.824968)'), GeomFromEWKT('SRID=4674;POINT (-40.564656 -2.82501)'))) / (select extract(epoch from '2026-07-10 16:22:44'::timestamp) - extract(epoch from '2026-07-10 16:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564589 -2.824968)'), GeomFromEWKT('SRID=4674;POINT (-40.564656 -2.82501)'))) / (select extract(epoch from '2026-07-10 16:22:44'::timestamp) - extract(epoch from '2026-07-10 16:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564708 -2.825034)', '2026-07-10 16:22:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564656 -2.82501)'), GeomFromEWKT('SRID=4674;POINT (-40.564708 -2.825034)'))) / (select extract(epoch from '2026-07-10 16:22:52'::timestamp) - extract(epoch from '2026-07-10 16:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564656 -2.82501)'), GeomFromEWKT('SRID=4674;POINT (-40.564708 -2.825034)'))) / (select extract(epoch from '2026-07-10 16:22:52'::timestamp) - extract(epoch from '2026-07-10 16:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564786 -2.825076)', '2026-07-10 16:23:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564708 -2.825034)'), GeomFromEWKT('SRID=4674;POINT (-40.564786 -2.825076)'))) / (select extract(epoch from '2026-07-10 16:23:04'::timestamp) - extract(epoch from '2026-07-10 16:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564708 -2.825034)'), GeomFromEWKT('SRID=4674;POINT (-40.564786 -2.825076)'))) / (select extract(epoch from '2026-07-10 16:23:04'::timestamp) - extract(epoch from '2026-07-10 16:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564851 -2.82512)', '2026-07-10 16:23:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564786 -2.825076)'), GeomFromEWKT('SRID=4674;POINT (-40.564851 -2.82512)'))) / (select extract(epoch from '2026-07-10 16:23:16'::timestamp) - extract(epoch from '2026-07-10 16:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564786 -2.825076)'), GeomFromEWKT('SRID=4674;POINT (-40.564851 -2.82512)'))) / (select extract(epoch from '2026-07-10 16:23:16'::timestamp) - extract(epoch from '2026-07-10 16:23: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'), 47642, 'SRID=4674;POINT (-40.564938 -2.825162)', '2026-07-10 16:23:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564851 -2.82512)'), GeomFromEWKT('SRID=4674;POINT (-40.564938 -2.825162)'))) / (select extract(epoch from '2026-07-10 16:23:30'::timestamp) - extract(epoch from '2026-07-10 16:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564851 -2.82512)'), GeomFromEWKT('SRID=4674;POINT (-40.564938 -2.825162)'))) / (select extract(epoch from '2026-07-10 16:23:30'::timestamp) - extract(epoch from '2026-07-10 16:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564995 -2.825207)', '2026-07-10 16:23:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564938 -2.825162)'), GeomFromEWKT('SRID=4674;POINT (-40.564995 -2.825207)'))) / (select extract(epoch from '2026-07-10 16:23:42'::timestamp) - extract(epoch from '2026-07-10 16:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564938 -2.825162)'), GeomFromEWKT('SRID=4674;POINT (-40.564995 -2.825207)'))) / (select extract(epoch from '2026-07-10 16:23:42'::timestamp) - extract(epoch from '2026-07-10 16:23: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'), 47642, 'SRID=4674;POINT (-40.565034 -2.825239)', '2026-07-10 16:23:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564995 -2.825207)'), GeomFromEWKT('SRID=4674;POINT (-40.565034 -2.825239)'))) / (select extract(epoch from '2026-07-10 16:23:50'::timestamp) - extract(epoch from '2026-07-10 16:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564995 -2.825207)'), GeomFromEWKT('SRID=4674;POINT (-40.565034 -2.825239)'))) / (select extract(epoch from '2026-07-10 16:23:50'::timestamp) - extract(epoch from '2026-07-10 16:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565071 -2.825272)', '2026-07-10 16:23:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565034 -2.825239)'), GeomFromEWKT('SRID=4674;POINT (-40.565071 -2.825272)'))) / (select extract(epoch from '2026-07-10 16:23:58'::timestamp) - extract(epoch from '2026-07-10 16:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565034 -2.825239)'), GeomFromEWKT('SRID=4674;POINT (-40.565071 -2.825272)'))) / (select extract(epoch from '2026-07-10 16:23:58'::timestamp) - extract(epoch from '2026-07-10 16:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565137 -2.825301)', '2026-07-10 16:24:08', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565071 -2.825272)'), GeomFromEWKT('SRID=4674;POINT (-40.565137 -2.825301)'))) / (select extract(epoch from '2026-07-10 16:24:08'::timestamp) - extract(epoch from '2026-07-10 16:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565071 -2.825272)'), GeomFromEWKT('SRID=4674;POINT (-40.565137 -2.825301)'))) / (select extract(epoch from '2026-07-10 16:24:08'::timestamp) - extract(epoch from '2026-07-10 16:23: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'), 47642, 'SRID=4674;POINT (-40.565211 -2.825336)', '2026-07-10 16:24:20', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565137 -2.825301)'), GeomFromEWKT('SRID=4674;POINT (-40.565211 -2.825336)'))) / (select extract(epoch from '2026-07-10 16:24:20'::timestamp) - extract(epoch from '2026-07-10 16:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565137 -2.825301)'), GeomFromEWKT('SRID=4674;POINT (-40.565211 -2.825336)'))) / (select extract(epoch from '2026-07-10 16:24:20'::timestamp) - extract(epoch from '2026-07-10 16:24:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565296 -2.825376)', '2026-07-10 16:24:34', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565211 -2.825336)'), GeomFromEWKT('SRID=4674;POINT (-40.565296 -2.825376)'))) / (select extract(epoch from '2026-07-10 16:24:34'::timestamp) - extract(epoch from '2026-07-10 16:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565211 -2.825336)'), GeomFromEWKT('SRID=4674;POINT (-40.565296 -2.825376)'))) / (select extract(epoch from '2026-07-10 16:24:34'::timestamp) - extract(epoch from '2026-07-10 16:24: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'), 47642, 'SRID=4674;POINT (-40.565354 -2.825421)', '2026-07-10 16:24:45', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565296 -2.825376)'), GeomFromEWKT('SRID=4674;POINT (-40.565354 -2.825421)'))) / (select extract(epoch from '2026-07-10 16:24:45'::timestamp) - extract(epoch from '2026-07-10 16:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565296 -2.825376)'), GeomFromEWKT('SRID=4674;POINT (-40.565354 -2.825421)'))) / (select extract(epoch from '2026-07-10 16:24:45'::timestamp) - extract(epoch from '2026-07-10 16:24: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'), 47642, 'SRID=4674;POINT (-40.565432 -2.825465)', '2026-07-10 16:24:58', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565354 -2.825421)'), GeomFromEWKT('SRID=4674;POINT (-40.565432 -2.825465)'))) / (select extract(epoch from '2026-07-10 16:24:58'::timestamp) - extract(epoch from '2026-07-10 16:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565354 -2.825421)'), GeomFromEWKT('SRID=4674;POINT (-40.565432 -2.825465)'))) / (select extract(epoch from '2026-07-10 16:24:58'::timestamp) - extract(epoch from '2026-07-10 16:24: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'), 47642, 'SRID=4674;POINT (-40.5655 -2.825501)', '2026-07-10 16:25:10', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565432 -2.825465)'), GeomFromEWKT('SRID=4674;POINT (-40.5655 -2.825501)'))) / (select extract(epoch from '2026-07-10 16:25:10'::timestamp) - extract(epoch from '2026-07-10 16:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565432 -2.825465)'), GeomFromEWKT('SRID=4674;POINT (-40.5655 -2.825501)'))) / (select extract(epoch from '2026-07-10 16:25:10'::timestamp) - extract(epoch from '2026-07-10 16:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565573 -2.825548)', '2026-07-10 16:25:24', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5655 -2.825501)'), GeomFromEWKT('SRID=4674;POINT (-40.565573 -2.825548)'))) / (select extract(epoch from '2026-07-10 16:25:24'::timestamp) - extract(epoch from '2026-07-10 16:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.5655 -2.825501)'), GeomFromEWKT('SRID=4674;POINT (-40.565573 -2.825548)'))) / (select extract(epoch from '2026-07-10 16:25:24'::timestamp) - extract(epoch from '2026-07-10 16:25: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'), 47642, 'SRID=4674;POINT (-40.565646 -2.825587)', '2026-07-10 16:25:37', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565573 -2.825548)'), GeomFromEWKT('SRID=4674;POINT (-40.565646 -2.825587)'))) / (select extract(epoch from '2026-07-10 16:25:37'::timestamp) - extract(epoch from '2026-07-10 16:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565573 -2.825548)'), GeomFromEWKT('SRID=4674;POINT (-40.565646 -2.825587)'))) / (select extract(epoch from '2026-07-10 16:25:37'::timestamp) - extract(epoch from '2026-07-10 16:25: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'), 47642, 'SRID=4674;POINT (-40.565715 -2.825624)', '2026-07-10 16:25:49', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565646 -2.825587)'), GeomFromEWKT('SRID=4674;POINT (-40.565715 -2.825624)'))) / (select extract(epoch from '2026-07-10 16:25:49'::timestamp) - extract(epoch from '2026-07-10 16:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565646 -2.825587)'), GeomFromEWKT('SRID=4674;POINT (-40.565715 -2.825624)'))) / (select extract(epoch from '2026-07-10 16:25:49'::timestamp) - extract(epoch from '2026-07-10 16:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56576 -2.825654)', '2026-07-10 16:25:59', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565715 -2.825624)'), GeomFromEWKT('SRID=4674;POINT (-40.56576 -2.825654)'))) / (select extract(epoch from '2026-07-10 16:25:59'::timestamp) - extract(epoch from '2026-07-10 16:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565715 -2.825624)'), GeomFromEWKT('SRID=4674;POINT (-40.56576 -2.825654)'))) / (select extract(epoch from '2026-07-10 16:25:59'::timestamp) - extract(epoch from '2026-07-10 16:25: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'), 47642, 'SRID=4674;POINT (-40.565827 -2.825683)', '2026-07-10 16:26:10', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56576 -2.825654)'), GeomFromEWKT('SRID=4674;POINT (-40.565827 -2.825683)'))) / (select extract(epoch from '2026-07-10 16:26:10'::timestamp) - extract(epoch from '2026-07-10 16:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56576 -2.825654)'), GeomFromEWKT('SRID=4674;POINT (-40.565827 -2.825683)'))) / (select extract(epoch from '2026-07-10 16:26:10'::timestamp) - extract(epoch from '2026-07-10 16:25: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'), 47642, 'SRID=4674;POINT (-40.565879 -2.825711)', '2026-07-10 16:26:20', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565827 -2.825683)'), GeomFromEWKT('SRID=4674;POINT (-40.565879 -2.825711)'))) / (select extract(epoch from '2026-07-10 16:26:20'::timestamp) - extract(epoch from '2026-07-10 16:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565827 -2.825683)'), GeomFromEWKT('SRID=4674;POINT (-40.565879 -2.825711)'))) / (select extract(epoch from '2026-07-10 16:26:20'::timestamp) - extract(epoch from '2026-07-10 16:26: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'), 47642, 'SRID=4674;POINT (-40.56589 -2.825696)', '2026-07-10 16:26:30', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565879 -2.825711)'), GeomFromEWKT('SRID=4674;POINT (-40.56589 -2.825696)'))) / (select extract(epoch from '2026-07-10 16:26:30'::timestamp) - extract(epoch from '2026-07-10 16:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565879 -2.825711)'), GeomFromEWKT('SRID=4674;POINT (-40.56589 -2.825696)'))) / (select extract(epoch from '2026-07-10 16:26:30'::timestamp) - extract(epoch from '2026-07-10 16:26: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'), 47642, 'SRID=4674;POINT (-40.565942 -2.825614)', '2026-07-10 16:27:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56589 -2.825696)'), GeomFromEWKT('SRID=4674;POINT (-40.565942 -2.825614)'))) / (select extract(epoch from '2026-07-10 16:27:43'::timestamp) - extract(epoch from '2026-07-10 16:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56589 -2.825696)'), GeomFromEWKT('SRID=4674;POINT (-40.565942 -2.825614)'))) / (select extract(epoch from '2026-07-10 16:27:43'::timestamp) - extract(epoch from '2026-07-10 16:26: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'), 47642, 'SRID=4674;POINT (-40.565938 -2.825611)', '2026-07-10 16:31:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565942 -2.825614)'), GeomFromEWKT('SRID=4674;POINT (-40.565938 -2.825611)'))) / (select extract(epoch from '2026-07-10 16:31:57'::timestamp) - extract(epoch from '2026-07-10 16:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565942 -2.825614)'), GeomFromEWKT('SRID=4674;POINT (-40.565938 -2.825611)'))) / (select extract(epoch from '2026-07-10 16:31:57'::timestamp) - extract(epoch from '2026-07-10 16:27: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'), 47642, 'SRID=4674;POINT (-40.565937 -2.825613)', '2026-07-10 16:33:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565938 -2.825611)'), GeomFromEWKT('SRID=4674;POINT (-40.565937 -2.825613)'))) / (select extract(epoch from '2026-07-10 16:33:02'::timestamp) - extract(epoch from '2026-07-10 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565938 -2.825611)'), GeomFromEWKT('SRID=4674;POINT (-40.565937 -2.825613)'))) / (select extract(epoch from '2026-07-10 16:33:02'::timestamp) - extract(epoch from '2026-07-10 16:31: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'), 47642, 'SRID=4674;POINT (-40.565919 -2.825627)', '2026-07-10 16:34:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565937 -2.825613)'), GeomFromEWKT('SRID=4674;POINT (-40.565919 -2.825627)'))) / (select extract(epoch from '2026-07-10 16:34:51'::timestamp) - extract(epoch from '2026-07-10 16:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565937 -2.825613)'), GeomFromEWKT('SRID=4674;POINT (-40.565919 -2.825627)'))) / (select extract(epoch from '2026-07-10 16:34:51'::timestamp) - extract(epoch from '2026-07-10 16:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565935 -2.82554)', '2026-07-10 16:39:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565919 -2.825627)'), GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.82554)'))) / (select extract(epoch from '2026-07-10 16:39:43'::timestamp) - extract(epoch from '2026-07-10 16:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565919 -2.825627)'), GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.82554)'))) / (select extract(epoch from '2026-07-10 16:39:43'::timestamp) - extract(epoch from '2026-07-10 16:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56592 -2.825557)', '2026-07-10 16:40:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.82554)'), GeomFromEWKT('SRID=4674;POINT (-40.56592 -2.825557)'))) / (select extract(epoch from '2026-07-10 16:40:30'::timestamp) - extract(epoch from '2026-07-10 16:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.82554)'), GeomFromEWKT('SRID=4674;POINT (-40.56592 -2.825557)'))) / (select extract(epoch from '2026-07-10 16:40:30'::timestamp) - extract(epoch from '2026-07-10 16:39: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'), 47642, 'SRID=4674;POINT (-40.565925 -2.825546)', '2026-07-10 16:43:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56592 -2.825557)'), GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825546)'))) / (select extract(epoch from '2026-07-10 16:43:13'::timestamp) - extract(epoch from '2026-07-10 16:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56592 -2.825557)'), GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825546)'))) / (select extract(epoch from '2026-07-10 16:43:13'::timestamp) - extract(epoch from '2026-07-10 16:40: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'), 47642, 'SRID=4674;POINT (-40.565934 -2.82553)', '2026-07-10 16:43:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825546)'), GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.82553)'))) / (select extract(epoch from '2026-07-10 16:43:16'::timestamp) - extract(epoch from '2026-07-10 16:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825546)'), GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.82553)'))) / (select extract(epoch from '2026-07-10 16:43:16'::timestamp) - extract(epoch from '2026-07-10 16:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565934 -2.825527)', '2026-07-10 16:43:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.82553)'), GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.825527)'))) / (select extract(epoch from '2026-07-10 16:43:17'::timestamp) - extract(epoch from '2026-07-10 16:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.82553)'), GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.825527)'))) / (select extract(epoch from '2026-07-10 16:43:17'::timestamp) - extract(epoch from '2026-07-10 16:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565934 -2.825519)', '2026-07-10 16:43:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.825527)'), GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.825519)'))) / (select extract(epoch from '2026-07-10 16:43:26'::timestamp) - extract(epoch from '2026-07-10 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.825527)'), GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.825519)'))) / (select extract(epoch from '2026-07-10 16:43:26'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.565931 -2.825529)', '2026-07-10 16:43:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.825519)'), GeomFromEWKT('SRID=4674;POINT (-40.565931 -2.825529)'))) / (select extract(epoch from '2026-07-10 16:43:58'::timestamp) - extract(epoch from '2026-07-10 16:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565934 -2.825519)'), GeomFromEWKT('SRID=4674;POINT (-40.565931 -2.825529)'))) / (select extract(epoch from '2026-07-10 16:43:58'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.565932 -2.825556)', '2026-07-10 16:44:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565931 -2.825529)'), GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825556)'))) / (select extract(epoch from '2026-07-10 16:44:30'::timestamp) - extract(epoch from '2026-07-10 16:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565931 -2.825529)'), GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825556)'))) / (select extract(epoch from '2026-07-10 16:44:30'::timestamp) - extract(epoch from '2026-07-10 16:43: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'), 47642, 'SRID=4674;POINT (-40.565925 -2.82557)', '2026-07-10 16:46:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825556)'), GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.82557)'))) / (select extract(epoch from '2026-07-10 16:46:24'::timestamp) - extract(epoch from '2026-07-10 16:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825556)'), GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.82557)'))) / (select extract(epoch from '2026-07-10 16:46:24'::timestamp) - extract(epoch from '2026-07-10 16: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'), 47642, 'SRID=4674;POINT (-40.565922 -2.825558)', '2026-07-10 16:46:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.82557)'), GeomFromEWKT('SRID=4674;POINT (-40.565922 -2.825558)'))) / (select extract(epoch from '2026-07-10 16:46:39'::timestamp) - extract(epoch from '2026-07-10 16:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.82557)'), GeomFromEWKT('SRID=4674;POINT (-40.565922 -2.825558)'))) / (select extract(epoch from '2026-07-10 16:46:39'::timestamp) - extract(epoch from '2026-07-10 16:46: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'), 47642, 'SRID=4674;POINT (-40.56592 -2.825574)', '2026-07-10 16:48:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565922 -2.825558)'), GeomFromEWKT('SRID=4674;POINT (-40.56592 -2.825574)'))) / (select extract(epoch from '2026-07-10 16:48:23'::timestamp) - extract(epoch from '2026-07-10 16:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565922 -2.825558)'), GeomFromEWKT('SRID=4674;POINT (-40.56592 -2.825574)'))) / (select extract(epoch from '2026-07-10 16:48:23'::timestamp) - extract(epoch from '2026-07-10 16:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565908 -2.8256)', '2026-07-10 16:50:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56592 -2.825574)'), GeomFromEWKT('SRID=4674;POINT (-40.565908 -2.8256)'))) / (select extract(epoch from '2026-07-10 16:50:21'::timestamp) - extract(epoch from '2026-07-10 16:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56592 -2.825574)'), GeomFromEWKT('SRID=4674;POINT (-40.565908 -2.8256)'))) / (select extract(epoch from '2026-07-10 16:50:21'::timestamp) - extract(epoch from '2026-07-10 16:48: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'), 47642, 'SRID=4674;POINT (-40.565926 -2.825622)', '2026-07-10 16:56:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565908 -2.8256)'), GeomFromEWKT('SRID=4674;POINT (-40.565926 -2.825622)'))) / (select extract(epoch from '2026-07-10 16:56:37'::timestamp) - extract(epoch from '2026-07-10 16:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565908 -2.8256)'), GeomFromEWKT('SRID=4674;POINT (-40.565926 -2.825622)'))) / (select extract(epoch from '2026-07-10 16:56:37'::timestamp) - extract(epoch from '2026-07-10 16:50: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'), 47642, 'SRID=4674;POINT (-40.565936 -2.825613)', '2026-07-10 17:08:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565926 -2.825622)'), GeomFromEWKT('SRID=4674;POINT (-40.565936 -2.825613)'))) / (select extract(epoch from '2026-07-10 17:08:08'::timestamp) - extract(epoch from '2026-07-10 16:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565926 -2.825622)'), GeomFromEWKT('SRID=4674;POINT (-40.565936 -2.825613)'))) / (select extract(epoch from '2026-07-10 17:08:08'::timestamp) - extract(epoch from '2026-07-10 16:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565935 -2.825617)', '2026-07-10 17:08:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565936 -2.825613)'), GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.825617)'))) / (select extract(epoch from '2026-07-10 17:08:14'::timestamp) - extract(epoch from '2026-07-10 17:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565936 -2.825613)'), GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.825617)'))) / (select extract(epoch from '2026-07-10 17:08:14'::timestamp) - extract(epoch from '2026-07-10 17:08: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'), 47642, 'SRID=4674;POINT (-40.565932 -2.825606)', '2026-07-10 17:21:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.825617)'), GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825606)'))) / (select extract(epoch from '2026-07-10 17:21:33'::timestamp) - extract(epoch from '2026-07-10 17:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.825617)'), GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825606)'))) / (select extract(epoch from '2026-07-10 17:21:33'::timestamp) - extract(epoch from '2026-07-10 17:08: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'), 47642, 'SRID=4674;POINT (-40.565925 -2.825592)', '2026-07-10 17:46:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825606)'), GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825592)'))) / (select extract(epoch from '2026-07-10 17:46:30'::timestamp) - extract(epoch from '2026-07-10 17:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825606)'), GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825592)'))) / (select extract(epoch from '2026-07-10 17:46:30'::timestamp) - extract(epoch from '2026-07-10 17:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565914 -2.825594)', '2026-07-10 17:48:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825592)'), GeomFromEWKT('SRID=4674;POINT (-40.565914 -2.825594)'))) / (select extract(epoch from '2026-07-10 17:48:15'::timestamp) - extract(epoch from '2026-07-10 17:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825592)'), GeomFromEWKT('SRID=4674;POINT (-40.565914 -2.825594)'))) / (select extract(epoch from '2026-07-10 17:48:15'::timestamp) - extract(epoch from '2026-07-10 17:46: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'), 47642, 'SRID=4674;POINT (-40.565929 -2.825547)', '2026-07-10 18:39:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565914 -2.825594)'), GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825547)'))) / (select extract(epoch from '2026-07-10 18:39:05'::timestamp) - extract(epoch from '2026-07-10 17:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565914 -2.825594)'), GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825547)'))) / (select extract(epoch from '2026-07-10 18:39:05'::timestamp) - extract(epoch from '2026-07-10 17:48: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'), 47642, 'SRID=4674;POINT (-40.565929 -2.825563)', '2026-07-10 19:15:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825547)'), GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825563)'))) / (select extract(epoch from '2026-07-10 19:15:59'::timestamp) - extract(epoch from '2026-07-10 18:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825547)'), GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825563)'))) / (select extract(epoch from '2026-07-10 19:15:59'::timestamp) - extract(epoch from '2026-07-10 18:39: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'), 47642, 'SRID=4674;POINT (-40.565929 -2.825518)', '2026-07-10 19:46:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825563)'), GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825518)'))) / (select extract(epoch from '2026-07-10 19:46:05'::timestamp) - extract(epoch from '2026-07-10 19:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825563)'), GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825518)'))) / (select extract(epoch from '2026-07-10 19:46:05'::timestamp) - extract(epoch from '2026-07-10 19: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'), 47642, 'SRID=4674;POINT (-40.565944 -2.825474)', '2026-07-10 20:04:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825518)'), GeomFromEWKT('SRID=4674;POINT (-40.565944 -2.825474)'))) / (select extract(epoch from '2026-07-10 20:04:33'::timestamp) - extract(epoch from '2026-07-10 19:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565929 -2.825518)'), GeomFromEWKT('SRID=4674;POINT (-40.565944 -2.825474)'))) / (select extract(epoch from '2026-07-10 20:04:33'::timestamp) - extract(epoch from '2026-07-10 19:46: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'), 47642, 'SRID=4674;POINT (-40.565948 -2.825494)', '2026-07-10 20:04:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565944 -2.825474)'), GeomFromEWKT('SRID=4674;POINT (-40.565948 -2.825494)'))) / (select extract(epoch from '2026-07-10 20:04:42'::timestamp) - extract(epoch from '2026-07-10 20:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565944 -2.825474)'), GeomFromEWKT('SRID=4674;POINT (-40.565948 -2.825494)'))) / (select extract(epoch from '2026-07-10 20:04:42'::timestamp) - extract(epoch from '2026-07-10 20:04: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'), 47642, 'SRID=4674;POINT (-40.56594 -2.825523)', '2026-07-10 20:48:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565948 -2.825494)'), GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825523)'))) / (select extract(epoch from '2026-07-10 20:48:16'::timestamp) - extract(epoch from '2026-07-10 20:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565948 -2.825494)'), GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825523)'))) / (select extract(epoch from '2026-07-10 20:48:16'::timestamp) - extract(epoch from '2026-07-10 20:04: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'), 47642, 'SRID=4674;POINT (-40.565946 -2.825543)', '2026-07-10 20:56:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825523)'), GeomFromEWKT('SRID=4674;POINT (-40.565946 -2.825543)'))) / (select extract(epoch from '2026-07-10 20:56:35'::timestamp) - extract(epoch from '2026-07-10 20:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825523)'), GeomFromEWKT('SRID=4674;POINT (-40.565946 -2.825543)'))) / (select extract(epoch from '2026-07-10 20:56:35'::timestamp) - extract(epoch from '2026-07-10 20:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56594 -2.825515)', '2026-07-10 21:16:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565946 -2.825543)'), GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825515)'))) / (select extract(epoch from '2026-07-10 21:16:34'::timestamp) - extract(epoch from '2026-07-10 20:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565946 -2.825543)'), GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825515)'))) / (select extract(epoch from '2026-07-10 21:16:34'::timestamp) - extract(epoch from '2026-07-10 20:56: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'), 47642, 'SRID=4674;POINT (-40.565935 -2.825536)', '2026-07-10 21:21:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825515)'), GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.825536)'))) / (select extract(epoch from '2026-07-10 21:21:04'::timestamp) - extract(epoch from '2026-07-10 21:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825515)'), GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.825536)'))) / (select extract(epoch from '2026-07-10 21:21:04'::timestamp) - extract(epoch from '2026-07-10 21:16: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'), 47642, 'SRID=4674;POINT (-40.56594 -2.825508)', '2026-07-10 22:03:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.825536)'), GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825508)'))) / (select extract(epoch from '2026-07-10 22:03:37'::timestamp) - extract(epoch from '2026-07-10 21:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565935 -2.825536)'), GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825508)'))) / (select extract(epoch from '2026-07-10 22:03:37'::timestamp) - extract(epoch from '2026-07-10 21:21: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'), 47642, 'SRID=4674;POINT (-40.565932 -2.825506)', '2026-07-10 22:04:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825508)'), GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825506)'))) / (select extract(epoch from '2026-07-10 22:04:27'::timestamp) - extract(epoch from '2026-07-10 22:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56594 -2.825508)'), GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825506)'))) / (select extract(epoch from '2026-07-10 22:04:27'::timestamp) - extract(epoch from '2026-07-10 22:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565925 -2.825512)', '2026-07-10 22:11:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825506)'), GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825512)'))) / (select extract(epoch from '2026-07-10 22:11:31'::timestamp) - extract(epoch from '2026-07-10 22:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825506)'), GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825512)'))) / (select extract(epoch from '2026-07-10 22:11:31'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.565923 -2.82552)', '2026-07-10 22:25:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825512)'), GeomFromEWKT('SRID=4674;POINT (-40.565923 -2.82552)'))) / (select extract(epoch from '2026-07-10 22:25:13'::timestamp) - extract(epoch from '2026-07-10 22:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565925 -2.825512)'), GeomFromEWKT('SRID=4674;POINT (-40.565923 -2.82552)'))) / (select extract(epoch from '2026-07-10 22:25:13'::timestamp) - extract(epoch from '2026-07-10 22:11: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'), 47642, 'SRID=4674;POINT (-40.565924 -2.825521)', '2026-07-10 22:25:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565923 -2.82552)'), GeomFromEWKT('SRID=4674;POINT (-40.565924 -2.825521)'))) / (select extract(epoch from '2026-07-10 22:25:19'::timestamp) - extract(epoch from '2026-07-10 22:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565923 -2.82552)'), GeomFromEWKT('SRID=4674;POINT (-40.565924 -2.825521)'))) / (select extract(epoch from '2026-07-10 22:25:19'::timestamp) - extract(epoch from '2026-07-10 22:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565932 -2.825508)', '2026-07-10 22:28:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565924 -2.825521)'), GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825508)'))) / (select extract(epoch from '2026-07-10 22:28:48'::timestamp) - extract(epoch from '2026-07-10 22:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565924 -2.825521)'), GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825508)'))) / (select extract(epoch from '2026-07-10 22:28:48'::timestamp) - extract(epoch from '2026-07-10 22:25: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'), 47642, 'SRID=4674;POINT (-40.565882 -2.825499)', '2026-07-10 22:33:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825508)'), GeomFromEWKT('SRID=4674;POINT (-40.565882 -2.825499)'))) / (select extract(epoch from '2026-07-10 22:33:20'::timestamp) - extract(epoch from '2026-07-10 22:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565932 -2.825508)'), GeomFromEWKT('SRID=4674;POINT (-40.565882 -2.825499)'))) / (select extract(epoch from '2026-07-10 22:33:20'::timestamp) - extract(epoch from '2026-07-10 22:28: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'), 47642, 'SRID=4674;POINT (-40.565824 -2.825502)', '2026-07-10 22:33:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565882 -2.825499)'), GeomFromEWKT('SRID=4674;POINT (-40.565824 -2.825502)'))) / (select extract(epoch from '2026-07-10 22:33:31'::timestamp) - extract(epoch from '2026-07-10 22:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565882 -2.825499)'), GeomFromEWKT('SRID=4674;POINT (-40.565824 -2.825502)'))) / (select extract(epoch from '2026-07-10 22:33:31'::timestamp) - extract(epoch from '2026-07-10 22:33: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'), 47642, 'SRID=4674;POINT (-40.565755 -2.825497)', '2026-07-10 22:33:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565824 -2.825502)'), GeomFromEWKT('SRID=4674;POINT (-40.565755 -2.825497)'))) / (select extract(epoch from '2026-07-10 22:33:43'::timestamp) - extract(epoch from '2026-07-10 22:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565824 -2.825502)'), GeomFromEWKT('SRID=4674;POINT (-40.565755 -2.825497)'))) / (select extract(epoch from '2026-07-10 22:33:43'::timestamp) - extract(epoch from '2026-07-10 22:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565714 -2.825476)', '2026-07-10 22:33:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565755 -2.825497)'), GeomFromEWKT('SRID=4674;POINT (-40.565714 -2.825476)'))) / (select extract(epoch from '2026-07-10 22:33:55'::timestamp) - extract(epoch from '2026-07-10 22:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565755 -2.825497)'), GeomFromEWKT('SRID=4674;POINT (-40.565714 -2.825476)'))) / (select extract(epoch from '2026-07-10 22:33:55'::timestamp) - extract(epoch from '2026-07-10 22:33: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'), 47642, 'SRID=4674;POINT (-40.565703 -2.825456)', '2026-07-10 22:34:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565714 -2.825476)'), GeomFromEWKT('SRID=4674;POINT (-40.565703 -2.825456)'))) / (select extract(epoch from '2026-07-10 22:34:01'::timestamp) - extract(epoch from '2026-07-10 22:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565714 -2.825476)'), GeomFromEWKT('SRID=4674;POINT (-40.565703 -2.825456)'))) / (select extract(epoch from '2026-07-10 22:34:01'::timestamp) - extract(epoch from '2026-07-10 22:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565696 -2.825448)', '2026-07-10 22:34:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565703 -2.825456)'), GeomFromEWKT('SRID=4674;POINT (-40.565696 -2.825448)'))) / (select extract(epoch from '2026-07-10 22:34:14'::timestamp) - extract(epoch from '2026-07-10 22:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565703 -2.825456)'), GeomFromEWKT('SRID=4674;POINT (-40.565696 -2.825448)'))) / (select extract(epoch from '2026-07-10 22:34:14'::timestamp) - extract(epoch from '2026-07-10 22:34: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'), 47642, 'SRID=4674;POINT (-40.565661 -2.825456)', '2026-07-10 22:34:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565696 -2.825448)'), GeomFromEWKT('SRID=4674;POINT (-40.565661 -2.825456)'))) / (select extract(epoch from '2026-07-10 22:34:24'::timestamp) - extract(epoch from '2026-07-10 22:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565696 -2.825448)'), GeomFromEWKT('SRID=4674;POINT (-40.565661 -2.825456)'))) / (select extract(epoch from '2026-07-10 22:34:24'::timestamp) - extract(epoch from '2026-07-10 22:34: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'), 47642, 'SRID=4674;POINT (-40.565609 -2.82541)', '2026-07-10 22:35:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565661 -2.825456)'), GeomFromEWKT('SRID=4674;POINT (-40.565609 -2.82541)'))) / (select extract(epoch from '2026-07-10 22:35:51'::timestamp) - extract(epoch from '2026-07-10 22:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565661 -2.825456)'), GeomFromEWKT('SRID=4674;POINT (-40.565609 -2.82541)'))) / (select extract(epoch from '2026-07-10 22:35:51'::timestamp) - extract(epoch from '2026-07-10 22:34: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'), 47642, 'SRID=4674;POINT (-40.565601 -2.825399)', '2026-07-10 22:36:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565609 -2.82541)'), GeomFromEWKT('SRID=4674;POINT (-40.565601 -2.825399)'))) / (select extract(epoch from '2026-07-10 22:36:03'::timestamp) - extract(epoch from '2026-07-10 22:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565609 -2.82541)'), GeomFromEWKT('SRID=4674;POINT (-40.565601 -2.825399)'))) / (select extract(epoch from '2026-07-10 22:36:03'::timestamp) - extract(epoch from '2026-07-10 22:35: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'), 47642, 'SRID=4674;POINT (-40.565497 -2.82538)', '2026-07-10 22:37:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565601 -2.825399)'), GeomFromEWKT('SRID=4674;POINT (-40.565497 -2.82538)'))) / (select extract(epoch from '2026-07-10 22:37:37'::timestamp) - extract(epoch from '2026-07-10 22:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565601 -2.825399)'), GeomFromEWKT('SRID=4674;POINT (-40.565497 -2.82538)'))) / (select extract(epoch from '2026-07-10 22:37:37'::timestamp) - extract(epoch from '2026-07-10 22:36: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'), 47642, 'SRID=4674;POINT (-40.56547 -2.825345)', '2026-07-10 22:37:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565497 -2.82538)'), GeomFromEWKT('SRID=4674;POINT (-40.56547 -2.825345)'))) / (select extract(epoch from '2026-07-10 22:37:48'::timestamp) - extract(epoch from '2026-07-10 22:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565497 -2.82538)'), GeomFromEWKT('SRID=4674;POINT (-40.56547 -2.825345)'))) / (select extract(epoch from '2026-07-10 22:37:48'::timestamp) - extract(epoch from '2026-07-10 22:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565425 -2.825329)', '2026-07-10 22:37:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56547 -2.825345)'), GeomFromEWKT('SRID=4674;POINT (-40.565425 -2.825329)'))) / (select extract(epoch from '2026-07-10 22:37:59'::timestamp) - extract(epoch from '2026-07-10 22:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56547 -2.825345)'), GeomFromEWKT('SRID=4674;POINT (-40.565425 -2.825329)'))) / (select extract(epoch from '2026-07-10 22:37:59'::timestamp) - extract(epoch from '2026-07-10 22:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565404 -2.825319)', '2026-07-10 22:38:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565425 -2.825329)'), GeomFromEWKT('SRID=4674;POINT (-40.565404 -2.825319)'))) / (select extract(epoch from '2026-07-10 22:38:09'::timestamp) - extract(epoch from '2026-07-10 22:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565425 -2.825329)'), GeomFromEWKT('SRID=4674;POINT (-40.565404 -2.825319)'))) / (select extract(epoch from '2026-07-10 22:38:09'::timestamp) - extract(epoch from '2026-07-10 22:37: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'), 47642, 'SRID=4674;POINT (-40.565371 -2.825318)', '2026-07-10 22:38:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565404 -2.825319)'), GeomFromEWKT('SRID=4674;POINT (-40.565371 -2.825318)'))) / (select extract(epoch from '2026-07-10 22:38:20'::timestamp) - extract(epoch from '2026-07-10 22:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565404 -2.825319)'), GeomFromEWKT('SRID=4674;POINT (-40.565371 -2.825318)'))) / (select extract(epoch from '2026-07-10 22:38:20'::timestamp) - extract(epoch from '2026-07-10 22:38: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'), 47642, 'SRID=4674;POINT (-40.565344 -2.825268)', '2026-07-10 22:39:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565371 -2.825318)'), GeomFromEWKT('SRID=4674;POINT (-40.565344 -2.825268)'))) / (select extract(epoch from '2026-07-10 22:39:15'::timestamp) - extract(epoch from '2026-07-10 22:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565371 -2.825318)'), GeomFromEWKT('SRID=4674;POINT (-40.565344 -2.825268)'))) / (select extract(epoch from '2026-07-10 22:39:15'::timestamp) - extract(epoch from '2026-07-10 22:38: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'), 47642, 'SRID=4674;POINT (-40.565336 -2.825259)', '2026-07-10 22:39:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565344 -2.825268)'), GeomFromEWKT('SRID=4674;POINT (-40.565336 -2.825259)'))) / (select extract(epoch from '2026-07-10 22:39:21'::timestamp) - extract(epoch from '2026-07-10 22:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565344 -2.825268)'), GeomFromEWKT('SRID=4674;POINT (-40.565336 -2.825259)'))) / (select extract(epoch from '2026-07-10 22:39:21'::timestamp) - extract(epoch from '2026-07-10 22:39: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'), 47642, 'SRID=4674;POINT (-40.565333 -2.825258)', '2026-07-10 22:39:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565336 -2.825259)'), GeomFromEWKT('SRID=4674;POINT (-40.565333 -2.825258)'))) / (select extract(epoch from '2026-07-10 22:39:27'::timestamp) - extract(epoch from '2026-07-10 22:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565336 -2.825259)'), GeomFromEWKT('SRID=4674;POINT (-40.565333 -2.825258)'))) / (select extract(epoch from '2026-07-10 22:39:27'::timestamp) - extract(epoch from '2026-07-10 22:39: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'), 47642, 'SRID=4674;POINT (-40.565302 -2.825217)', '2026-07-10 22:39:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565333 -2.825258)'), GeomFromEWKT('SRID=4674;POINT (-40.565302 -2.825217)'))) / (select extract(epoch from '2026-07-10 22:39:43'::timestamp) - extract(epoch from '2026-07-10 22:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565333 -2.825258)'), GeomFromEWKT('SRID=4674;POINT (-40.565302 -2.825217)'))) / (select extract(epoch from '2026-07-10 22:39:43'::timestamp) - extract(epoch from '2026-07-10 22:39: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'), 47642, 'SRID=4674;POINT (-40.565272 -2.825186)', '2026-07-10 22:39:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565302 -2.825217)'), GeomFromEWKT('SRID=4674;POINT (-40.565272 -2.825186)'))) / (select extract(epoch from '2026-07-10 22:39:56'::timestamp) - extract(epoch from '2026-07-10 22:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565302 -2.825217)'), GeomFromEWKT('SRID=4674;POINT (-40.565272 -2.825186)'))) / (select extract(epoch from '2026-07-10 22:39:56'::timestamp) - extract(epoch from '2026-07-10 22:39: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'), 47642, 'SRID=4674;POINT (-40.565184 -2.825156)', '2026-07-10 22:40:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565272 -2.825186)'), GeomFromEWKT('SRID=4674;POINT (-40.565184 -2.825156)'))) / (select extract(epoch from '2026-07-10 22:40:50'::timestamp) - extract(epoch from '2026-07-10 22:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565272 -2.825186)'), GeomFromEWKT('SRID=4674;POINT (-40.565184 -2.825156)'))) / (select extract(epoch from '2026-07-10 22:40:50'::timestamp) - extract(epoch from '2026-07-10 22:39: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'), 47642, 'SRID=4674;POINT (-40.56516 -2.825149)', '2026-07-10 22:40:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565184 -2.825156)'), GeomFromEWKT('SRID=4674;POINT (-40.56516 -2.825149)'))) / (select extract(epoch from '2026-07-10 22:40:58'::timestamp) - extract(epoch from '2026-07-10 22:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565184 -2.825156)'), GeomFromEWKT('SRID=4674;POINT (-40.56516 -2.825149)'))) / (select extract(epoch from '2026-07-10 22:40:58'::timestamp) - extract(epoch from '2026-07-10 22:40: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'), 47642, 'SRID=4674;POINT (-40.565116 -2.825127)', '2026-07-10 22:42:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56516 -2.825149)'), GeomFromEWKT('SRID=4674;POINT (-40.565116 -2.825127)'))) / (select extract(epoch from '2026-07-10 22:42:12'::timestamp) - extract(epoch from '2026-07-10 22:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56516 -2.825149)'), GeomFromEWKT('SRID=4674;POINT (-40.565116 -2.825127)'))) / (select extract(epoch from '2026-07-10 22:42:12'::timestamp) - extract(epoch from '2026-07-10 22:40: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'), 47642, 'SRID=4674;POINT (-40.565115 -2.825106)', '2026-07-10 22:42:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565116 -2.825127)'), GeomFromEWKT('SRID=4674;POINT (-40.565115 -2.825106)'))) / (select extract(epoch from '2026-07-10 22:42:20'::timestamp) - extract(epoch from '2026-07-10 22:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565116 -2.825127)'), GeomFromEWKT('SRID=4674;POINT (-40.565115 -2.825106)'))) / (select extract(epoch from '2026-07-10 22:42:20'::timestamp) - extract(epoch from '2026-07-10 22:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.565062 -2.825026)', '2026-07-10 22:43:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565115 -2.825106)'), GeomFromEWKT('SRID=4674;POINT (-40.565062 -2.825026)'))) / (select extract(epoch from '2026-07-10 22:43:16'::timestamp) - extract(epoch from '2026-07-10 22:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565115 -2.825106)'), GeomFromEWKT('SRID=4674;POINT (-40.565062 -2.825026)'))) / (select extract(epoch from '2026-07-10 22:43:16'::timestamp) - extract(epoch from '2026-07-10 22:42: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'), 47642, 'SRID=4674;POINT (-40.56502 -2.824983)', '2026-07-10 22:43:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565062 -2.825026)'), GeomFromEWKT('SRID=4674;POINT (-40.56502 -2.824983)'))) / (select extract(epoch from '2026-07-10 22:43:44'::timestamp) - extract(epoch from '2026-07-10 22:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.565062 -2.825026)'), GeomFromEWKT('SRID=4674;POINT (-40.56502 -2.824983)'))) / (select extract(epoch from '2026-07-10 22:43:44'::timestamp) - extract(epoch from '2026-07-10 22:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564969 -2.824969)', '2026-07-10 22:43:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56502 -2.824983)'), GeomFromEWKT('SRID=4674;POINT (-40.564969 -2.824969)'))) / (select extract(epoch from '2026-07-10 22:43:55'::timestamp) - extract(epoch from '2026-07-10 22:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56502 -2.824983)'), GeomFromEWKT('SRID=4674;POINT (-40.564969 -2.824969)'))) / (select extract(epoch from '2026-07-10 22:43:55'::timestamp) - extract(epoch from '2026-07-10 22:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564953 -2.824969)', '2026-07-10 22:44:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564969 -2.824969)'), GeomFromEWKT('SRID=4674;POINT (-40.564953 -2.824969)'))) / (select extract(epoch from '2026-07-10 22:44:06'::timestamp) - extract(epoch from '2026-07-10 22:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564969 -2.824969)'), GeomFromEWKT('SRID=4674;POINT (-40.564953 -2.824969)'))) / (select extract(epoch from '2026-07-10 22:44:06'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.564876 -2.824926)', '2026-07-10 22:45:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564953 -2.824969)'), GeomFromEWKT('SRID=4674;POINT (-40.564876 -2.824926)'))) / (select extract(epoch from '2026-07-10 22:45:43'::timestamp) - extract(epoch from '2026-07-10 22:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564953 -2.824969)'), GeomFromEWKT('SRID=4674;POINT (-40.564876 -2.824926)'))) / (select extract(epoch from '2026-07-10 22:45:43'::timestamp) - extract(epoch from '2026-07-10 22:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564805 -2.82493)', '2026-07-10 22:46:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564876 -2.824926)'), GeomFromEWKT('SRID=4674;POINT (-40.564805 -2.82493)'))) / (select extract(epoch from '2026-07-10 22:46:22'::timestamp) - extract(epoch from '2026-07-10 22:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564876 -2.824926)'), GeomFromEWKT('SRID=4674;POINT (-40.564805 -2.82493)'))) / (select extract(epoch from '2026-07-10 22:46:22'::timestamp) - extract(epoch from '2026-07-10 22:45: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'), 47642, 'SRID=4674;POINT (-40.564787 -2.824904)', '2026-07-10 22:46:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564805 -2.82493)'), GeomFromEWKT('SRID=4674;POINT (-40.564787 -2.824904)'))) / (select extract(epoch from '2026-07-10 22:46:33'::timestamp) - extract(epoch from '2026-07-10 22:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564805 -2.82493)'), GeomFromEWKT('SRID=4674;POINT (-40.564787 -2.824904)'))) / (select extract(epoch from '2026-07-10 22:46:33'::timestamp) - extract(epoch from '2026-07-10 22:46: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'), 47642, 'SRID=4674;POINT (-40.564772 -2.824884)', '2026-07-10 22:46:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564787 -2.824904)'), GeomFromEWKT('SRID=4674;POINT (-40.564772 -2.824884)'))) / (select extract(epoch from '2026-07-10 22:46:41'::timestamp) - extract(epoch from '2026-07-10 22:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564787 -2.824904)'), GeomFromEWKT('SRID=4674;POINT (-40.564772 -2.824884)'))) / (select extract(epoch from '2026-07-10 22:46:41'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.564728 -2.824842)', '2026-07-10 22:46:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564772 -2.824884)'), GeomFromEWKT('SRID=4674;POINT (-40.564728 -2.824842)'))) / (select extract(epoch from '2026-07-10 22:46:54'::timestamp) - extract(epoch from '2026-07-10 22:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564772 -2.824884)'), GeomFromEWKT('SRID=4674;POINT (-40.564728 -2.824842)'))) / (select extract(epoch from '2026-07-10 22:46:54'::timestamp) - extract(epoch from '2026-07-10 22:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56473 -2.82483)', '2026-07-10 22:47:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564728 -2.824842)'), GeomFromEWKT('SRID=4674;POINT (-40.56473 -2.82483)'))) / (select extract(epoch from '2026-07-10 22:47:01'::timestamp) - extract(epoch from '2026-07-10 22:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564728 -2.824842)'), GeomFromEWKT('SRID=4674;POINT (-40.56473 -2.82483)'))) / (select extract(epoch from '2026-07-10 22:47:01'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.564702 -2.824816)', '2026-07-10 22:47:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56473 -2.82483)'), GeomFromEWKT('SRID=4674;POINT (-40.564702 -2.824816)'))) / (select extract(epoch from '2026-07-10 22:47:55'::timestamp) - extract(epoch from '2026-07-10 22:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56473 -2.82483)'), GeomFromEWKT('SRID=4674;POINT (-40.564702 -2.824816)'))) / (select extract(epoch from '2026-07-10 22:47:55'::timestamp) - extract(epoch from '2026-07-10 22:47: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'), 47642, 'SRID=4674;POINT (-40.564647 -2.824801)', '2026-07-10 22:48:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564702 -2.824816)'), GeomFromEWKT('SRID=4674;POINT (-40.564647 -2.824801)'))) / (select extract(epoch from '2026-07-10 22:48:40'::timestamp) - extract(epoch from '2026-07-10 22:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564702 -2.824816)'), GeomFromEWKT('SRID=4674;POINT (-40.564647 -2.824801)'))) / (select extract(epoch from '2026-07-10 22:48:40'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.564582 -2.824758)', '2026-07-10 22:48:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564647 -2.824801)'), GeomFromEWKT('SRID=4674;POINT (-40.564582 -2.824758)'))) / (select extract(epoch from '2026-07-10 22:48:57'::timestamp) - extract(epoch from '2026-07-10 22:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564647 -2.824801)'), GeomFromEWKT('SRID=4674;POINT (-40.564582 -2.824758)'))) / (select extract(epoch from '2026-07-10 22:48:57'::timestamp) - extract(epoch from '2026-07-10 22:48:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564531 -2.824735)', '2026-07-10 22:49:09', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564582 -2.824758)'), GeomFromEWKT('SRID=4674;POINT (-40.564531 -2.824735)'))) / (select extract(epoch from '2026-07-10 22:49:09'::timestamp) - extract(epoch from '2026-07-10 22:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564582 -2.824758)'), GeomFromEWKT('SRID=4674;POINT (-40.564531 -2.824735)'))) / (select extract(epoch from '2026-07-10 22:49:09'::timestamp) - extract(epoch from '2026-07-10 22:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564525 -2.824735)', '2026-07-10 22:49:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564531 -2.824735)'), GeomFromEWKT('SRID=4674;POINT (-40.564525 -2.824735)'))) / (select extract(epoch from '2026-07-10 22:49:22'::timestamp) - extract(epoch from '2026-07-10 22:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564531 -2.824735)'), GeomFromEWKT('SRID=4674;POINT (-40.564525 -2.824735)'))) / (select extract(epoch from '2026-07-10 22:49:22'::timestamp) - extract(epoch from '2026-07-10 22:49: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'), 47642, 'SRID=4674;POINT (-40.564479 -2.824726)', '2026-07-10 22:49:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564525 -2.824735)'), GeomFromEWKT('SRID=4674;POINT (-40.564479 -2.824726)'))) / (select extract(epoch from '2026-07-10 22:49:29'::timestamp) - extract(epoch from '2026-07-10 22:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564525 -2.824735)'), GeomFromEWKT('SRID=4674;POINT (-40.564479 -2.824726)'))) / (select extract(epoch from '2026-07-10 22:49:29'::timestamp) - extract(epoch from '2026-07-10 22:49: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'), 47642, 'SRID=4674;POINT (-40.564465 -2.824721)', '2026-07-10 22:49:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564479 -2.824726)'), GeomFromEWKT('SRID=4674;POINT (-40.564465 -2.824721)'))) / (select extract(epoch from '2026-07-10 22:49:37'::timestamp) - extract(epoch from '2026-07-10 22:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564479 -2.824726)'), GeomFromEWKT('SRID=4674;POINT (-40.564465 -2.824721)'))) / (select extract(epoch from '2026-07-10 22:49:37'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.564442 -2.824729)', '2026-07-10 22:50:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564465 -2.824721)'), GeomFromEWKT('SRID=4674;POINT (-40.564442 -2.824729)'))) / (select extract(epoch from '2026-07-10 22:50:35'::timestamp) - extract(epoch from '2026-07-10 22:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564465 -2.824721)'), GeomFromEWKT('SRID=4674;POINT (-40.564442 -2.824729)'))) / (select extract(epoch from '2026-07-10 22:50:35'::timestamp) - extract(epoch from '2026-07-10 22:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564426 -2.824708)', '2026-07-10 22:50:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564442 -2.824729)'), GeomFromEWKT('SRID=4674;POINT (-40.564426 -2.824708)'))) / (select extract(epoch from '2026-07-10 22:50:42'::timestamp) - extract(epoch from '2026-07-10 22:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564442 -2.824729)'), GeomFromEWKT('SRID=4674;POINT (-40.564426 -2.824708)'))) / (select extract(epoch from '2026-07-10 22:50:42'::timestamp) - extract(epoch from '2026-07-10 22:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564409 -2.824686)', '2026-07-10 22:50:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564426 -2.824708)'), GeomFromEWKT('SRID=4674;POINT (-40.564409 -2.824686)'))) / (select extract(epoch from '2026-07-10 22:50:51'::timestamp) - extract(epoch from '2026-07-10 22:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564426 -2.824708)'), GeomFromEWKT('SRID=4674;POINT (-40.564409 -2.824686)'))) / (select extract(epoch from '2026-07-10 22:50:51'::timestamp) - extract(epoch from '2026-07-10 22:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564369 -2.824671)', '2026-07-10 22:51:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564409 -2.824686)'), GeomFromEWKT('SRID=4674;POINT (-40.564369 -2.824671)'))) / (select extract(epoch from '2026-07-10 22:51:06'::timestamp) - extract(epoch from '2026-07-10 22:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564409 -2.824686)'), GeomFromEWKT('SRID=4674;POINT (-40.564369 -2.824671)'))) / (select extract(epoch from '2026-07-10 22:51:06'::timestamp) - extract(epoch from '2026-07-10 22:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564332 -2.824646)', '2026-07-10 22:51:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564369 -2.824671)'), GeomFromEWKT('SRID=4674;POINT (-40.564332 -2.824646)'))) / (select extract(epoch from '2026-07-10 22:51:17'::timestamp) - extract(epoch from '2026-07-10 22:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564369 -2.824671)'), GeomFromEWKT('SRID=4674;POINT (-40.564332 -2.824646)'))) / (select extract(epoch from '2026-07-10 22:51:17'::timestamp) - extract(epoch from '2026-07-10 22:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564304 -2.824621)', '2026-07-10 22:51:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564332 -2.824646)'), GeomFromEWKT('SRID=4674;POINT (-40.564304 -2.824621)'))) / (select extract(epoch from '2026-07-10 22:51:27'::timestamp) - extract(epoch from '2026-07-10 22:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564332 -2.824646)'), GeomFromEWKT('SRID=4674;POINT (-40.564304 -2.824621)'))) / (select extract(epoch from '2026-07-10 22:51:27'::timestamp) - extract(epoch from '2026-07-10 22:51: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'), 47642, 'SRID=4674;POINT (-40.56426 -2.824593)', '2026-07-10 22:51:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564304 -2.824621)'), GeomFromEWKT('SRID=4674;POINT (-40.56426 -2.824593)'))) / (select extract(epoch from '2026-07-10 22:51:45'::timestamp) - extract(epoch from '2026-07-10 22:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564304 -2.824621)'), GeomFromEWKT('SRID=4674;POINT (-40.56426 -2.824593)'))) / (select extract(epoch from '2026-07-10 22:51:45'::timestamp) - extract(epoch from '2026-07-10 22:51: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'), 47642, 'SRID=4674;POINT (-40.564211 -2.824567)', '2026-07-10 22:51:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56426 -2.824593)'), GeomFromEWKT('SRID=4674;POINT (-40.564211 -2.824567)'))) / (select extract(epoch from '2026-07-10 22:51:59'::timestamp) - extract(epoch from '2026-07-10 22:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56426 -2.824593)'), GeomFromEWKT('SRID=4674;POINT (-40.564211 -2.824567)'))) / (select extract(epoch from '2026-07-10 22:51:59'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.564161 -2.824527)', '2026-07-10 22:52:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564211 -2.824567)'), GeomFromEWKT('SRID=4674;POINT (-40.564161 -2.824527)'))) / (select extract(epoch from '2026-07-10 22:52:11'::timestamp) - extract(epoch from '2026-07-10 22:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564211 -2.824567)'), GeomFromEWKT('SRID=4674;POINT (-40.564161 -2.824527)'))) / (select extract(epoch from '2026-07-10 22:52:11'::timestamp) - extract(epoch from '2026-07-10 22:51: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'), 47642, 'SRID=4674;POINT (-40.564119 -2.824512)', '2026-07-10 22:52:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564161 -2.824527)'), GeomFromEWKT('SRID=4674;POINT (-40.564119 -2.824512)'))) / (select extract(epoch from '2026-07-10 22:52:21'::timestamp) - extract(epoch from '2026-07-10 22:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564161 -2.824527)'), GeomFromEWKT('SRID=4674;POINT (-40.564119 -2.824512)'))) / (select extract(epoch from '2026-07-10 22:52:21'::timestamp) - extract(epoch from '2026-07-10 22:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.564078 -2.824494)', '2026-07-10 22:52:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564119 -2.824512)'), GeomFromEWKT('SRID=4674;POINT (-40.564078 -2.824494)'))) / (select extract(epoch from '2026-07-10 22:52:31'::timestamp) - extract(epoch from '2026-07-10 22:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564119 -2.824512)'), GeomFromEWKT('SRID=4674;POINT (-40.564078 -2.824494)'))) / (select extract(epoch from '2026-07-10 22:52:31'::timestamp) - extract(epoch from '2026-07-10 22:52: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'), 47642, 'SRID=4674;POINT (-40.564047 -2.824485)', '2026-07-10 22:52:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564078 -2.824494)'), GeomFromEWKT('SRID=4674;POINT (-40.564047 -2.824485)'))) / (select extract(epoch from '2026-07-10 22:52:40'::timestamp) - extract(epoch from '2026-07-10 22:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564078 -2.824494)'), GeomFromEWKT('SRID=4674;POINT (-40.564047 -2.824485)'))) / (select extract(epoch from '2026-07-10 22:52:40'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.563983 -2.824443)', '2026-07-10 22:52:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564047 -2.824485)'), GeomFromEWKT('SRID=4674;POINT (-40.563983 -2.824443)'))) / (select extract(epoch from '2026-07-10 22:52:54'::timestamp) - extract(epoch from '2026-07-10 22:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.564047 -2.824485)'), GeomFromEWKT('SRID=4674;POINT (-40.563983 -2.824443)'))) / (select extract(epoch from '2026-07-10 22:52:54'::timestamp) - extract(epoch from '2026-07-10 22:52: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'), 47642, 'SRID=4674;POINT (-40.563941 -2.824441)', '2026-07-10 22:53:05', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563983 -2.824443)'), GeomFromEWKT('SRID=4674;POINT (-40.563941 -2.824441)'))) / (select extract(epoch from '2026-07-10 22:53:05'::timestamp) - extract(epoch from '2026-07-10 22:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563983 -2.824443)'), GeomFromEWKT('SRID=4674;POINT (-40.563941 -2.824441)'))) / (select extract(epoch from '2026-07-10 22:53:05'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.563929 -2.824436)', '2026-07-10 22:53:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563941 -2.824441)'), GeomFromEWKT('SRID=4674;POINT (-40.563929 -2.824436)'))) / (select extract(epoch from '2026-07-10 22:53:06'::timestamp) - extract(epoch from '2026-07-10 22:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563941 -2.824441)'), GeomFromEWKT('SRID=4674;POINT (-40.563929 -2.824436)'))) / (select extract(epoch from '2026-07-10 22:53:06'::timestamp) - extract(epoch from '2026-07-10 22:53: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'), 47642, 'SRID=4674;POINT (-40.563899 -2.82443)', '2026-07-10 22:53:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563929 -2.824436)'), GeomFromEWKT('SRID=4674;POINT (-40.563899 -2.82443)'))) / (select extract(epoch from '2026-07-10 22:53:17'::timestamp) - extract(epoch from '2026-07-10 22:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563929 -2.824436)'), GeomFromEWKT('SRID=4674;POINT (-40.563899 -2.82443)'))) / (select extract(epoch from '2026-07-10 22:53:17'::timestamp) - extract(epoch from '2026-07-10 22:53: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'), 47642, 'SRID=4674;POINT (-40.563888 -2.824426)', '2026-07-10 22:54:00', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563899 -2.82443)'), GeomFromEWKT('SRID=4674;POINT (-40.563888 -2.824426)'))) / (select extract(epoch from '2026-07-10 22:54:00'::timestamp) - extract(epoch from '2026-07-10 22:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563899 -2.82443)'), GeomFromEWKT('SRID=4674;POINT (-40.563888 -2.824426)'))) / (select extract(epoch from '2026-07-10 22:54:00'::timestamp) - extract(epoch from '2026-07-10 22:53:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563879 -2.824427)', '2026-07-10 22:54:06', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563888 -2.824426)'), GeomFromEWKT('SRID=4674;POINT (-40.563879 -2.824427)'))) / (select extract(epoch from '2026-07-10 22:54:06'::timestamp) - extract(epoch from '2026-07-10 22:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563888 -2.824426)'), GeomFromEWKT('SRID=4674;POINT (-40.563879 -2.824427)'))) / (select extract(epoch from '2026-07-10 22:54:06'::timestamp) - extract(epoch from '2026-07-10 22:54: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'), 47642, 'SRID=4674;POINT (-40.56389 -2.824404)', '2026-07-10 22:54:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563879 -2.824427)'), GeomFromEWKT('SRID=4674;POINT (-40.56389 -2.824404)'))) / (select extract(epoch from '2026-07-10 22:54:38'::timestamp) - extract(epoch from '2026-07-10 22:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563879 -2.824427)'), GeomFromEWKT('SRID=4674;POINT (-40.56389 -2.824404)'))) / (select extract(epoch from '2026-07-10 22:54:38'::timestamp) - extract(epoch from '2026-07-10 22:54: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'), 47642, 'SRID=4674;POINT (-40.563891 -2.824401)', '2026-07-10 22:54:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56389 -2.824404)'), GeomFromEWKT('SRID=4674;POINT (-40.563891 -2.824401)'))) / (select extract(epoch from '2026-07-10 22:54:50'::timestamp) - extract(epoch from '2026-07-10 22:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56389 -2.824404)'), GeomFromEWKT('SRID=4674;POINT (-40.563891 -2.824401)'))) / (select extract(epoch from '2026-07-10 22:54:50'::timestamp) - extract(epoch from '2026-07-10 22:54: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'), 47642, 'SRID=4674;POINT (-40.56387 -2.824403)', '2026-07-10 22:54:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563891 -2.824401)'), GeomFromEWKT('SRID=4674;POINT (-40.56387 -2.824403)'))) / (select extract(epoch from '2026-07-10 22:54:57'::timestamp) - extract(epoch from '2026-07-10 22:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563891 -2.824401)'), GeomFromEWKT('SRID=4674;POINT (-40.56387 -2.824403)'))) / (select extract(epoch from '2026-07-10 22:54:57'::timestamp) - extract(epoch from '2026-07-10 22:54: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'), 47642, 'SRID=4674;POINT (-40.563842 -2.824386)', '2026-07-10 22:55:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56387 -2.824403)'), GeomFromEWKT('SRID=4674;POINT (-40.563842 -2.824386)'))) / (select extract(epoch from '2026-07-10 22:55:18'::timestamp) - extract(epoch from '2026-07-10 22:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56387 -2.824403)'), GeomFromEWKT('SRID=4674;POINT (-40.563842 -2.824386)'))) / (select extract(epoch from '2026-07-10 22:55:18'::timestamp) - extract(epoch from '2026-07-10 22:54:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563788 -2.824374)', '2026-07-10 22:55:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563842 -2.824386)'), GeomFromEWKT('SRID=4674;POINT (-40.563788 -2.824374)'))) / (select extract(epoch from '2026-07-10 22:55:30'::timestamp) - extract(epoch from '2026-07-10 22:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563842 -2.824386)'), GeomFromEWKT('SRID=4674;POINT (-40.563788 -2.824374)'))) / (select extract(epoch from '2026-07-10 22:55:30'::timestamp) - extract(epoch from '2026-07-10 22:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563767 -2.824386)', '2026-07-10 22:55:39', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563788 -2.824374)'), GeomFromEWKT('SRID=4674;POINT (-40.563767 -2.824386)'))) / (select extract(epoch from '2026-07-10 22:55:39'::timestamp) - extract(epoch from '2026-07-10 22:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563788 -2.824374)'), GeomFromEWKT('SRID=4674;POINT (-40.563767 -2.824386)'))) / (select extract(epoch from '2026-07-10 22:55:39'::timestamp) - extract(epoch from '2026-07-10 22:55: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'), 47642, 'SRID=4674;POINT (-40.563759 -2.824409)', '2026-07-10 22:55:58', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563767 -2.824386)'), GeomFromEWKT('SRID=4674;POINT (-40.563759 -2.824409)'))) / (select extract(epoch from '2026-07-10 22:55:58'::timestamp) - extract(epoch from '2026-07-10 22:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563767 -2.824386)'), GeomFromEWKT('SRID=4674;POINT (-40.563759 -2.824409)'))) / (select extract(epoch from '2026-07-10 22:55:58'::timestamp) - extract(epoch from '2026-07-10 22:55: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'), 47642, 'SRID=4674;POINT (-40.563728 -2.824387)', '2026-07-10 22:56:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563759 -2.824409)'), GeomFromEWKT('SRID=4674;POINT (-40.563728 -2.824387)'))) / (select extract(epoch from '2026-07-10 22:56:13'::timestamp) - extract(epoch from '2026-07-10 22:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563759 -2.824409)'), GeomFromEWKT('SRID=4674;POINT (-40.563728 -2.824387)'))) / (select extract(epoch from '2026-07-10 22:56:13'::timestamp) - extract(epoch from '2026-07-10 22:55: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'), 47642, 'SRID=4674;POINT (-40.563727 -2.824375)', '2026-07-10 22:56:26', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563728 -2.824387)'), GeomFromEWKT('SRID=4674;POINT (-40.563727 -2.824375)'))) / (select extract(epoch from '2026-07-10 22:56:26'::timestamp) - extract(epoch from '2026-07-10 22:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563728 -2.824387)'), GeomFromEWKT('SRID=4674;POINT (-40.563727 -2.824375)'))) / (select extract(epoch from '2026-07-10 22:56:26'::timestamp) - extract(epoch from '2026-07-10 22:56: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'), 47642, 'SRID=4674;POINT (-40.563717 -2.824367)', '2026-07-10 22:56:34', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563727 -2.824375)'), GeomFromEWKT('SRID=4674;POINT (-40.563717 -2.824367)'))) / (select extract(epoch from '2026-07-10 22:56:34'::timestamp) - extract(epoch from '2026-07-10 22:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563727 -2.824375)'), GeomFromEWKT('SRID=4674;POINT (-40.563717 -2.824367)'))) / (select extract(epoch from '2026-07-10 22:56:34'::timestamp) - extract(epoch from '2026-07-10 22:56: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'), 47642, 'SRID=4674;POINT (-40.563702 -2.824351)', '2026-07-10 22:56:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563717 -2.824367)'), GeomFromEWKT('SRID=4674;POINT (-40.563702 -2.824351)'))) / (select extract(epoch from '2026-07-10 22:56:43'::timestamp) - extract(epoch from '2026-07-10 22:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563717 -2.824367)'), GeomFromEWKT('SRID=4674;POINT (-40.563702 -2.824351)'))) / (select extract(epoch from '2026-07-10 22:56:43'::timestamp) - extract(epoch from '2026-07-10 22:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563696 -2.82435)', '2026-07-10 22:56:45', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563702 -2.824351)'), GeomFromEWKT('SRID=4674;POINT (-40.563696 -2.82435)'))) / (select extract(epoch from '2026-07-10 22:56:45'::timestamp) - extract(epoch from '2026-07-10 22:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563702 -2.824351)'), GeomFromEWKT('SRID=4674;POINT (-40.563696 -2.82435)'))) / (select extract(epoch from '2026-07-10 22:56:45'::timestamp) - extract(epoch from '2026-07-10 22:56: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'), 47642, 'SRID=4674;POINT (-40.563694 -2.824319)', '2026-07-10 22:57:45', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563696 -2.82435)'), GeomFromEWKT('SRID=4674;POINT (-40.563694 -2.824319)'))) / (select extract(epoch from '2026-07-10 22:57:45'::timestamp) - extract(epoch from '2026-07-10 22:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563696 -2.82435)'), GeomFromEWKT('SRID=4674;POINT (-40.563694 -2.824319)'))) / (select extract(epoch from '2026-07-10 22:57:45'::timestamp) - extract(epoch from '2026-07-10 22:56: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'), 47642, 'SRID=4674;POINT (-40.563655 -2.824291)', '2026-07-10 22:58:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563694 -2.824319)'), GeomFromEWKT('SRID=4674;POINT (-40.563655 -2.824291)'))) / (select extract(epoch from '2026-07-10 22:58:15'::timestamp) - extract(epoch from '2026-07-10 22:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563694 -2.824319)'), GeomFromEWKT('SRID=4674;POINT (-40.563655 -2.824291)'))) / (select extract(epoch from '2026-07-10 22:58:15'::timestamp) - extract(epoch from '2026-07-10 22:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563622 -2.824267)', '2026-07-10 22:58:24', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563655 -2.824291)'), GeomFromEWKT('SRID=4674;POINT (-40.563622 -2.824267)'))) / (select extract(epoch from '2026-07-10 22:58:24'::timestamp) - extract(epoch from '2026-07-10 22:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563655 -2.824291)'), GeomFromEWKT('SRID=4674;POINT (-40.563622 -2.824267)'))) / (select extract(epoch from '2026-07-10 22:58:24'::timestamp) - extract(epoch from '2026-07-10 22: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'), 47642, 'SRID=4674;POINT (-40.563604 -2.824238)', '2026-07-10 22:58:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563622 -2.824267)'), GeomFromEWKT('SRID=4674;POINT (-40.563604 -2.824238)'))) / (select extract(epoch from '2026-07-10 22:58:32'::timestamp) - extract(epoch from '2026-07-10 22:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563622 -2.824267)'), GeomFromEWKT('SRID=4674;POINT (-40.563604 -2.824238)'))) / (select extract(epoch from '2026-07-10 22:58:32'::timestamp) - extract(epoch from '2026-07-10 22:58:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563628 -2.824231)', '2026-07-10 22:59:03', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563604 -2.824238)'), GeomFromEWKT('SRID=4674;POINT (-40.563628 -2.824231)'))) / (select extract(epoch from '2026-07-10 22:59:03'::timestamp) - extract(epoch from '2026-07-10 22:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563604 -2.824238)'), GeomFromEWKT('SRID=4674;POINT (-40.563628 -2.824231)'))) / (select extract(epoch from '2026-07-10 22:59:03'::timestamp) - extract(epoch from '2026-07-10 22:58: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'), 47642, 'SRID=4674;POINT (-40.563627 -2.824233)', '2026-07-10 23:00:02', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563628 -2.824231)'), GeomFromEWKT('SRID=4674;POINT (-40.563627 -2.824233)'))) / (select extract(epoch from '2026-07-10 23:00:02'::timestamp) - extract(epoch from '2026-07-10 22:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563628 -2.824231)'), GeomFromEWKT('SRID=4674;POINT (-40.563627 -2.824233)'))) / (select extract(epoch from '2026-07-10 23:00:02'::timestamp) - extract(epoch from '2026-07-10 22:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563583 -2.824224)', '2026-07-10 23:00:13', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563627 -2.824233)'), GeomFromEWKT('SRID=4674;POINT (-40.563583 -2.824224)'))) / (select extract(epoch from '2026-07-10 23:00:13'::timestamp) - extract(epoch from '2026-07-10 23:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563627 -2.824233)'), GeomFromEWKT('SRID=4674;POINT (-40.563583 -2.824224)'))) / (select extract(epoch from '2026-07-10 23:00:13'::timestamp) - extract(epoch from '2026-07-10 23:00: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'), 47642, 'SRID=4674;POINT (-40.563539 -2.824207)', '2026-07-10 23:00:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563583 -2.824224)'), GeomFromEWKT('SRID=4674;POINT (-40.563539 -2.824207)'))) / (select extract(epoch from '2026-07-10 23:00:23'::timestamp) - extract(epoch from '2026-07-10 23:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563583 -2.824224)'), GeomFromEWKT('SRID=4674;POINT (-40.563539 -2.824207)'))) / (select extract(epoch from '2026-07-10 23:00:23'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.563515 -2.824192)', '2026-07-10 23:00:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563539 -2.824207)'), GeomFromEWKT('SRID=4674;POINT (-40.563515 -2.824192)'))) / (select extract(epoch from '2026-07-10 23:00:35'::timestamp) - extract(epoch from '2026-07-10 23:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563539 -2.824207)'), GeomFromEWKT('SRID=4674;POINT (-40.563515 -2.824192)'))) / (select extract(epoch from '2026-07-10 23:00:35'::timestamp) - extract(epoch from '2026-07-10 23:00: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'), 47642, 'SRID=4674;POINT (-40.563461 -2.824184)', '2026-07-10 23:00:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563515 -2.824192)'), GeomFromEWKT('SRID=4674;POINT (-40.563461 -2.824184)'))) / (select extract(epoch from '2026-07-10 23:00:58'::timestamp) - extract(epoch from '2026-07-10 23:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563515 -2.824192)'), GeomFromEWKT('SRID=4674;POINT (-40.563461 -2.824184)'))) / (select extract(epoch from '2026-07-10 23:00:58'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.563462 -2.824182)', '2026-07-10 23:01:12', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563461 -2.824184)'), GeomFromEWKT('SRID=4674;POINT (-40.563462 -2.824182)'))) / (select extract(epoch from '2026-07-10 23:01:12'::timestamp) - extract(epoch from '2026-07-10 23:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563461 -2.824184)'), GeomFromEWKT('SRID=4674;POINT (-40.563462 -2.824182)'))) / (select extract(epoch from '2026-07-10 23:01:12'::timestamp) - extract(epoch from '2026-07-10 23:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56342 -2.824174)', '2026-07-10 23:01:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563462 -2.824182)'), GeomFromEWKT('SRID=4674;POINT (-40.56342 -2.824174)'))) / (select extract(epoch from '2026-07-10 23:01:40'::timestamp) - extract(epoch from '2026-07-10 23:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563462 -2.824182)'), GeomFromEWKT('SRID=4674;POINT (-40.56342 -2.824174)'))) / (select extract(epoch from '2026-07-10 23:01:40'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.563379 -2.824165)', '2026-07-10 23:01:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56342 -2.824174)'), GeomFromEWKT('SRID=4674;POINT (-40.563379 -2.824165)'))) / (select extract(epoch from '2026-07-10 23:01:50'::timestamp) - extract(epoch from '2026-07-10 23:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56342 -2.824174)'), GeomFromEWKT('SRID=4674;POINT (-40.563379 -2.824165)'))) / (select extract(epoch from '2026-07-10 23:01:50'::timestamp) - extract(epoch from '2026-07-10 23:01: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'), 47642, 'SRID=4674;POINT (-40.563334 -2.82418)', '2026-07-10 23:02:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563379 -2.824165)'), GeomFromEWKT('SRID=4674;POINT (-40.563334 -2.82418)'))) / (select extract(epoch from '2026-07-10 23:02:03'::timestamp) - extract(epoch from '2026-07-10 23:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563379 -2.824165)'), GeomFromEWKT('SRID=4674;POINT (-40.563334 -2.82418)'))) / (select extract(epoch from '2026-07-10 23:02:03'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.563288 -2.824175)', '2026-07-10 23:02:21', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563334 -2.82418)'), GeomFromEWKT('SRID=4674;POINT (-40.563288 -2.824175)'))) / (select extract(epoch from '2026-07-10 23:02:21'::timestamp) - extract(epoch from '2026-07-10 23:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563334 -2.82418)'), GeomFromEWKT('SRID=4674;POINT (-40.563288 -2.824175)'))) / (select extract(epoch from '2026-07-10 23:02:21'::timestamp) - extract(epoch from '2026-07-10 23:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563279 -2.824113)', '2026-07-10 23:02:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563288 -2.824175)'), GeomFromEWKT('SRID=4674;POINT (-40.563279 -2.824113)'))) / (select extract(epoch from '2026-07-10 23:02:34'::timestamp) - extract(epoch from '2026-07-10 23:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563288 -2.824175)'), GeomFromEWKT('SRID=4674;POINT (-40.563279 -2.824113)'))) / (select extract(epoch from '2026-07-10 23:02:34'::timestamp) - extract(epoch from '2026-07-10 23:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563267 -2.824072)', '2026-07-10 23:02:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563279 -2.824113)'), GeomFromEWKT('SRID=4674;POINT (-40.563267 -2.824072)'))) / (select extract(epoch from '2026-07-10 23:02:46'::timestamp) - extract(epoch from '2026-07-10 23:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563279 -2.824113)'), GeomFromEWKT('SRID=4674;POINT (-40.563267 -2.824072)'))) / (select extract(epoch from '2026-07-10 23:02:46'::timestamp) - extract(epoch from '2026-07-10 23:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563236 -2.824011)', '2026-07-10 23:03:38', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563267 -2.824072)'), GeomFromEWKT('SRID=4674;POINT (-40.563236 -2.824011)'))) / (select extract(epoch from '2026-07-10 23:03:38'::timestamp) - extract(epoch from '2026-07-10 23:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563267 -2.824072)'), GeomFromEWKT('SRID=4674;POINT (-40.563236 -2.824011)'))) / (select extract(epoch from '2026-07-10 23:03:38'::timestamp) - extract(epoch from '2026-07-10 23:02: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'), 47642, 'SRID=4674;POINT (-40.563212 -2.824007)', '2026-07-10 23:03:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563236 -2.824011)'), GeomFromEWKT('SRID=4674;POINT (-40.563212 -2.824007)'))) / (select extract(epoch from '2026-07-10 23:03:42'::timestamp) - extract(epoch from '2026-07-10 23:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563236 -2.824011)'), GeomFromEWKT('SRID=4674;POINT (-40.563212 -2.824007)'))) / (select extract(epoch from '2026-07-10 23:03:42'::timestamp) - extract(epoch from '2026-07-10 23:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563164 -2.823987)', '2026-07-10 23:03:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563212 -2.824007)'), GeomFromEWKT('SRID=4674;POINT (-40.563164 -2.823987)'))) / (select extract(epoch from '2026-07-10 23:03:51'::timestamp) - extract(epoch from '2026-07-10 23:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563212 -2.824007)'), GeomFromEWKT('SRID=4674;POINT (-40.563164 -2.823987)'))) / (select extract(epoch from '2026-07-10 23:03:51'::timestamp) - extract(epoch from '2026-07-10 23:03: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'), 47642, 'SRID=4674;POINT (-40.563156 -2.823971)', '2026-07-10 23:04:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563164 -2.823987)'), GeomFromEWKT('SRID=4674;POINT (-40.563156 -2.823971)'))) / (select extract(epoch from '2026-07-10 23:04:04'::timestamp) - extract(epoch from '2026-07-10 23:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563164 -2.823987)'), GeomFromEWKT('SRID=4674;POINT (-40.563156 -2.823971)'))) / (select extract(epoch from '2026-07-10 23:04:04'::timestamp) - extract(epoch from '2026-07-10 23:03: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'), 47642, 'SRID=4674;POINT (-40.563168 -2.823958)', '2026-07-10 23:04:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563156 -2.823971)'), GeomFromEWKT('SRID=4674;POINT (-40.563168 -2.823958)'))) / (select extract(epoch from '2026-07-10 23:04:15'::timestamp) - extract(epoch from '2026-07-10 23:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563156 -2.823971)'), GeomFromEWKT('SRID=4674;POINT (-40.563168 -2.823958)'))) / (select extract(epoch from '2026-07-10 23:04:15'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.563132 -2.823951)', '2026-07-10 23:04:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563168 -2.823958)'), GeomFromEWKT('SRID=4674;POINT (-40.563132 -2.823951)'))) / (select extract(epoch from '2026-07-10 23:04:25'::timestamp) - extract(epoch from '2026-07-10 23:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563168 -2.823958)'), GeomFromEWKT('SRID=4674;POINT (-40.563132 -2.823951)'))) / (select extract(epoch from '2026-07-10 23:04:25'::timestamp) - extract(epoch from '2026-07-10 23:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563093 -2.82395)', '2026-07-10 23:04:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563132 -2.823951)'), GeomFromEWKT('SRID=4674;POINT (-40.563093 -2.82395)'))) / (select extract(epoch from '2026-07-10 23:04:35'::timestamp) - extract(epoch from '2026-07-10 23:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563132 -2.823951)'), GeomFromEWKT('SRID=4674;POINT (-40.563093 -2.82395)'))) / (select extract(epoch from '2026-07-10 23:04:35'::timestamp) - extract(epoch from '2026-07-10 23:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563089 -2.82394)', '2026-07-10 23:05:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563093 -2.82395)'), GeomFromEWKT('SRID=4674;POINT (-40.563089 -2.82394)'))) / (select extract(epoch from '2026-07-10 23:05:44'::timestamp) - extract(epoch from '2026-07-10 23:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563093 -2.82395)'), GeomFromEWKT('SRID=4674;POINT (-40.563089 -2.82394)'))) / (select extract(epoch from '2026-07-10 23:05:44'::timestamp) - extract(epoch from '2026-07-10 23:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.563051 -2.823931)', '2026-07-10 23:06:11', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563089 -2.82394)'), GeomFromEWKT('SRID=4674;POINT (-40.563051 -2.823931)'))) / (select extract(epoch from '2026-07-10 23:06:11'::timestamp) - extract(epoch from '2026-07-10 23:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563089 -2.82394)'), GeomFromEWKT('SRID=4674;POINT (-40.563051 -2.823931)'))) / (select extract(epoch from '2026-07-10 23:06:11'::timestamp) - extract(epoch from '2026-07-10 23:05: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'), 47642, 'SRID=4674;POINT (-40.56299 -2.82392)', '2026-07-10 23:06:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563051 -2.823931)'), GeomFromEWKT('SRID=4674;POINT (-40.56299 -2.82392)'))) / (select extract(epoch from '2026-07-10 23:06:24'::timestamp) - extract(epoch from '2026-07-10 23:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.563051 -2.823931)'), GeomFromEWKT('SRID=4674;POINT (-40.56299 -2.82392)'))) / (select extract(epoch from '2026-07-10 23:06:24'::timestamp) - extract(epoch from '2026-07-10 23:06:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562948 -2.823926)', '2026-07-10 23:06:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56299 -2.82392)'), GeomFromEWKT('SRID=4674;POINT (-40.562948 -2.823926)'))) / (select extract(epoch from '2026-07-10 23:06:35'::timestamp) - extract(epoch from '2026-07-10 23:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56299 -2.82392)'), GeomFromEWKT('SRID=4674;POINT (-40.562948 -2.823926)'))) / (select extract(epoch from '2026-07-10 23:06:35'::timestamp) - extract(epoch from '2026-07-10 23:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562909 -2.823925)', '2026-07-10 23:06:47', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562948 -2.823926)'), GeomFromEWKT('SRID=4674;POINT (-40.562909 -2.823925)'))) / (select extract(epoch from '2026-07-10 23:06:47'::timestamp) - extract(epoch from '2026-07-10 23:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562948 -2.823926)'), GeomFromEWKT('SRID=4674;POINT (-40.562909 -2.823925)'))) / (select extract(epoch from '2026-07-10 23:06:47'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.562923 -2.823935)', '2026-07-10 23:07:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562909 -2.823925)'), GeomFromEWKT('SRID=4674;POINT (-40.562923 -2.823935)'))) / (select extract(epoch from '2026-07-10 23:07:30'::timestamp) - extract(epoch from '2026-07-10 23:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562909 -2.823925)'), GeomFromEWKT('SRID=4674;POINT (-40.562923 -2.823935)'))) / (select extract(epoch from '2026-07-10 23:07:30'::timestamp) - extract(epoch from '2026-07-10 23:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56292 -2.823927)', '2026-07-10 23:07:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562923 -2.823935)'), GeomFromEWKT('SRID=4674;POINT (-40.56292 -2.823927)'))) / (select extract(epoch from '2026-07-10 23:07:32'::timestamp) - extract(epoch from '2026-07-10 23:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562923 -2.823935)'), GeomFromEWKT('SRID=4674;POINT (-40.56292 -2.823927)'))) / (select extract(epoch from '2026-07-10 23:07:32'::timestamp) - extract(epoch from '2026-07-10 23:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562926 -2.823924)', '2026-07-10 23:07:38', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56292 -2.823927)'), GeomFromEWKT('SRID=4674;POINT (-40.562926 -2.823924)'))) / (select extract(epoch from '2026-07-10 23:07:38'::timestamp) - extract(epoch from '2026-07-10 23:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56292 -2.823927)'), GeomFromEWKT('SRID=4674;POINT (-40.562926 -2.823924)'))) / (select extract(epoch from '2026-07-10 23:07:38'::timestamp) - extract(epoch from '2026-07-10 23:07: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'), 47642, 'SRID=4674;POINT (-40.562913 -2.823888)', '2026-07-10 23:07:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562926 -2.823924)'), GeomFromEWKT('SRID=4674;POINT (-40.562913 -2.823888)'))) / (select extract(epoch from '2026-07-10 23:07:48'::timestamp) - extract(epoch from '2026-07-10 23:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562926 -2.823924)'), GeomFromEWKT('SRID=4674;POINT (-40.562913 -2.823888)'))) / (select extract(epoch from '2026-07-10 23:07:48'::timestamp) - extract(epoch from '2026-07-10 23:07: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'), 47642, 'SRID=4674;POINT (-40.562877 -2.823844)', '2026-07-10 23:07:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562913 -2.823888)'), GeomFromEWKT('SRID=4674;POINT (-40.562877 -2.823844)'))) / (select extract(epoch from '2026-07-10 23:07:59'::timestamp) - extract(epoch from '2026-07-10 23:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562913 -2.823888)'), GeomFromEWKT('SRID=4674;POINT (-40.562877 -2.823844)'))) / (select extract(epoch from '2026-07-10 23:07:59'::timestamp) - extract(epoch from '2026-07-10 23:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562862 -2.823834)', '2026-07-10 23:08:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562877 -2.823844)'), GeomFromEWKT('SRID=4674;POINT (-40.562862 -2.823834)'))) / (select extract(epoch from '2026-07-10 23:08:10'::timestamp) - extract(epoch from '2026-07-10 23:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562877 -2.823844)'), GeomFromEWKT('SRID=4674;POINT (-40.562862 -2.823834)'))) / (select extract(epoch from '2026-07-10 23:08:10'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.562847 -2.823816)', '2026-07-10 23:08:47', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562862 -2.823834)'), GeomFromEWKT('SRID=4674;POINT (-40.562847 -2.823816)'))) / (select extract(epoch from '2026-07-10 23:08:47'::timestamp) - extract(epoch from '2026-07-10 23:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562862 -2.823834)'), GeomFromEWKT('SRID=4674;POINT (-40.562847 -2.823816)'))) / (select extract(epoch from '2026-07-10 23:08:47'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.562791 -2.823784)', '2026-07-10 23:09:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562847 -2.823816)'), GeomFromEWKT('SRID=4674;POINT (-40.562791 -2.823784)'))) / (select extract(epoch from '2026-07-10 23:09:07'::timestamp) - extract(epoch from '2026-07-10 23:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562847 -2.823816)'), GeomFromEWKT('SRID=4674;POINT (-40.562791 -2.823784)'))) / (select extract(epoch from '2026-07-10 23:09:07'::timestamp) - extract(epoch from '2026-07-10 23:08: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'), 47642, 'SRID=4674;POINT (-40.562737 -2.823757)', '2026-07-10 23:09:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562791 -2.823784)'), GeomFromEWKT('SRID=4674;POINT (-40.562737 -2.823757)'))) / (select extract(epoch from '2026-07-10 23:09:18'::timestamp) - extract(epoch from '2026-07-10 23:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562791 -2.823784)'), GeomFromEWKT('SRID=4674;POINT (-40.562737 -2.823757)'))) / (select extract(epoch from '2026-07-10 23:09:18'::timestamp) - extract(epoch from '2026-07-10 23:09: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'), 47642, 'SRID=4674;POINT (-40.562703 -2.823738)', '2026-07-10 23:09:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562737 -2.823757)'), GeomFromEWKT('SRID=4674;POINT (-40.562703 -2.823738)'))) / (select extract(epoch from '2026-07-10 23:09:25'::timestamp) - extract(epoch from '2026-07-10 23:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562737 -2.823757)'), GeomFromEWKT('SRID=4674;POINT (-40.562703 -2.823738)'))) / (select extract(epoch from '2026-07-10 23:09:25'::timestamp) - extract(epoch from '2026-07-10 23:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562666 -2.823722)', '2026-07-10 23:09:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562703 -2.823738)'), GeomFromEWKT('SRID=4674;POINT (-40.562666 -2.823722)'))) / (select extract(epoch from '2026-07-10 23:09:34'::timestamp) - extract(epoch from '2026-07-10 23:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562703 -2.823738)'), GeomFromEWKT('SRID=4674;POINT (-40.562666 -2.823722)'))) / (select extract(epoch from '2026-07-10 23:09:34'::timestamp) - extract(epoch from '2026-07-10 23:09: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'), 47642, 'SRID=4674;POINT (-40.562658 -2.823717)', '2026-07-10 23:09:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562666 -2.823722)'), GeomFromEWKT('SRID=4674;POINT (-40.562658 -2.823717)'))) / (select extract(epoch from '2026-07-10 23:09:47'::timestamp) - extract(epoch from '2026-07-10 23:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562666 -2.823722)'), GeomFromEWKT('SRID=4674;POINT (-40.562658 -2.823717)'))) / (select extract(epoch from '2026-07-10 23:09:47'::timestamp) - extract(epoch from '2026-07-10 23:09: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'), 47642, 'SRID=4674;POINT (-40.562629 -2.823709)', '2026-07-10 23:10:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562658 -2.823717)'), GeomFromEWKT('SRID=4674;POINT (-40.562629 -2.823709)'))) / (select extract(epoch from '2026-07-10 23:10:13'::timestamp) - extract(epoch from '2026-07-10 23:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562658 -2.823717)'), GeomFromEWKT('SRID=4674;POINT (-40.562629 -2.823709)'))) / (select extract(epoch from '2026-07-10 23:10:13'::timestamp) - extract(epoch from '2026-07-10 23:09: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'), 47642, 'SRID=4674;POINT (-40.562589 -2.823687)', '2026-07-10 23:10:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562629 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.562589 -2.823687)'))) / (select extract(epoch from '2026-07-10 23:10:23'::timestamp) - extract(epoch from '2026-07-10 23:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562629 -2.823709)'), GeomFromEWKT('SRID=4674;POINT (-40.562589 -2.823687)'))) / (select extract(epoch from '2026-07-10 23:10:23'::timestamp) - extract(epoch from '2026-07-10 23:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562563 -2.823669)', '2026-07-10 23:10:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562589 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.562563 -2.823669)'))) / (select extract(epoch from '2026-07-10 23:10:31'::timestamp) - extract(epoch from '2026-07-10 23:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562589 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.562563 -2.823669)'))) / (select extract(epoch from '2026-07-10 23:10:31'::timestamp) - extract(epoch from '2026-07-10 23:10:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562548 -2.823662)', '2026-07-10 23:10:37', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562563 -2.823669)'), GeomFromEWKT('SRID=4674;POINT (-40.562548 -2.823662)'))) / (select extract(epoch from '2026-07-10 23:10:37'::timestamp) - extract(epoch from '2026-07-10 23:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562563 -2.823669)'), GeomFromEWKT('SRID=4674;POINT (-40.562548 -2.823662)'))) / (select extract(epoch from '2026-07-10 23:10:37'::timestamp) - extract(epoch from '2026-07-10 23:10: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'), 47642, 'SRID=4674;POINT (-40.562533 -2.82366)', '2026-07-10 23:10:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562548 -2.823662)'), GeomFromEWKT('SRID=4674;POINT (-40.562533 -2.82366)'))) / (select extract(epoch from '2026-07-10 23:10:40'::timestamp) - extract(epoch from '2026-07-10 23:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562548 -2.823662)'), GeomFromEWKT('SRID=4674;POINT (-40.562533 -2.82366)'))) / (select extract(epoch from '2026-07-10 23:10:40'::timestamp) - extract(epoch from '2026-07-10 23:10: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'), 47642, 'SRID=4674;POINT (-40.562477 -2.823649)', '2026-07-10 23:10:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562533 -2.82366)'), GeomFromEWKT('SRID=4674;POINT (-40.562477 -2.823649)'))) / (select extract(epoch from '2026-07-10 23:10:51'::timestamp) - extract(epoch from '2026-07-10 23:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562533 -2.82366)'), GeomFromEWKT('SRID=4674;POINT (-40.562477 -2.823649)'))) / (select extract(epoch from '2026-07-10 23:10:51'::timestamp) - extract(epoch from '2026-07-10 23:10: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'), 47642, 'SRID=4674;POINT (-40.562433 -2.823647)', '2026-07-10 23:11:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562477 -2.823649)'), GeomFromEWKT('SRID=4674;POINT (-40.562433 -2.823647)'))) / (select extract(epoch from '2026-07-10 23:11:03'::timestamp) - extract(epoch from '2026-07-10 23:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562477 -2.823649)'), GeomFromEWKT('SRID=4674;POINT (-40.562433 -2.823647)'))) / (select extract(epoch from '2026-07-10 23:11:03'::timestamp) - extract(epoch from '2026-07-10 23:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562424 -2.823642)', '2026-07-10 23:11:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562433 -2.823647)'), GeomFromEWKT('SRID=4674;POINT (-40.562424 -2.823642)'))) / (select extract(epoch from '2026-07-10 23:11:05'::timestamp) - extract(epoch from '2026-07-10 23:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562433 -2.823647)'), GeomFromEWKT('SRID=4674;POINT (-40.562424 -2.823642)'))) / (select extract(epoch from '2026-07-10 23:11:05'::timestamp) - extract(epoch from '2026-07-10 23:11: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'), 47642, 'SRID=4674;POINT (-40.562396 -2.823629)', '2026-07-10 23:11:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562424 -2.823642)'), GeomFromEWKT('SRID=4674;POINT (-40.562396 -2.823629)'))) / (select extract(epoch from '2026-07-10 23:11:12'::timestamp) - extract(epoch from '2026-07-10 23:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562424 -2.823642)'), GeomFromEWKT('SRID=4674;POINT (-40.562396 -2.823629)'))) / (select extract(epoch from '2026-07-10 23:11:12'::timestamp) - extract(epoch from '2026-07-10 23:11: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'), 47642, 'SRID=4674;POINT (-40.562356 -2.823603)', '2026-07-10 23:11:23', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562396 -2.823629)'), GeomFromEWKT('SRID=4674;POINT (-40.562356 -2.823603)'))) / (select extract(epoch from '2026-07-10 23:11:23'::timestamp) - extract(epoch from '2026-07-10 23:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562396 -2.823629)'), GeomFromEWKT('SRID=4674;POINT (-40.562356 -2.823603)'))) / (select extract(epoch from '2026-07-10 23:11:23'::timestamp) - extract(epoch from '2026-07-10 23:11:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562323 -2.823588)', '2026-07-10 23:11:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562356 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.562323 -2.823588)'))) / (select extract(epoch from '2026-07-10 23:11:32'::timestamp) - extract(epoch from '2026-07-10 23:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562356 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.562323 -2.823588)'))) / (select extract(epoch from '2026-07-10 23:11:32'::timestamp) - extract(epoch from '2026-07-10 23:11: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'), 47642, 'SRID=4674;POINT (-40.562333 -2.823579)', '2026-07-10 23:11:47', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562323 -2.823588)'), GeomFromEWKT('SRID=4674;POINT (-40.562333 -2.823579)'))) / (select extract(epoch from '2026-07-10 23:11:47'::timestamp) - extract(epoch from '2026-07-10 23:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562323 -2.823588)'), GeomFromEWKT('SRID=4674;POINT (-40.562333 -2.823579)'))) / (select extract(epoch from '2026-07-10 23:11:47'::timestamp) - extract(epoch from '2026-07-10 23:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562349 -2.82358)', '2026-07-10 23:11:57', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562333 -2.823579)'), GeomFromEWKT('SRID=4674;POINT (-40.562349 -2.82358)'))) / (select extract(epoch from '2026-07-10 23:11:57'::timestamp) - extract(epoch from '2026-07-10 23:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562333 -2.823579)'), GeomFromEWKT('SRID=4674;POINT (-40.562349 -2.82358)'))) / (select extract(epoch from '2026-07-10 23:11:57'::timestamp) - extract(epoch from '2026-07-10 23:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562299 -2.823559)', '2026-07-10 23:12:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562349 -2.82358)'), GeomFromEWKT('SRID=4674;POINT (-40.562299 -2.823559)'))) / (select extract(epoch from '2026-07-10 23:12:21'::timestamp) - extract(epoch from '2026-07-10 23:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562349 -2.82358)'), GeomFromEWKT('SRID=4674;POINT (-40.562299 -2.823559)'))) / (select extract(epoch from '2026-07-10 23:12:21'::timestamp) - extract(epoch from '2026-07-10 23:11: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'), 47642, 'SRID=4674;POINT (-40.562247 -2.823558)', '2026-07-10 23:12:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562299 -2.823559)'), GeomFromEWKT('SRID=4674;POINT (-40.562247 -2.823558)'))) / (select extract(epoch from '2026-07-10 23:12:32'::timestamp) - extract(epoch from '2026-07-10 23:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562299 -2.823559)'), GeomFromEWKT('SRID=4674;POINT (-40.562247 -2.823558)'))) / (select extract(epoch from '2026-07-10 23:12:32'::timestamp) - extract(epoch from '2026-07-10 23:12: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'), 47642, 'SRID=4674;POINT (-40.562196 -2.823542)', '2026-07-10 23:12:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562247 -2.823558)'), GeomFromEWKT('SRID=4674;POINT (-40.562196 -2.823542)'))) / (select extract(epoch from '2026-07-10 23:12:44'::timestamp) - extract(epoch from '2026-07-10 23:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562247 -2.823558)'), GeomFromEWKT('SRID=4674;POINT (-40.562196 -2.823542)'))) / (select extract(epoch from '2026-07-10 23:12:44'::timestamp) - extract(epoch from '2026-07-10 23:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562169 -2.823524)', '2026-07-10 23:12:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562196 -2.823542)'), GeomFromEWKT('SRID=4674;POINT (-40.562169 -2.823524)'))) / (select extract(epoch from '2026-07-10 23:12:53'::timestamp) - extract(epoch from '2026-07-10 23:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562196 -2.823542)'), GeomFromEWKT('SRID=4674;POINT (-40.562169 -2.823524)'))) / (select extract(epoch from '2026-07-10 23:12:53'::timestamp) - extract(epoch from '2026-07-10 23:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562094 -2.823518)', '2026-07-10 23:13:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562169 -2.823524)'), GeomFromEWKT('SRID=4674;POINT (-40.562094 -2.823518)'))) / (select extract(epoch from '2026-07-10 23:13:06'::timestamp) - extract(epoch from '2026-07-10 23:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562169 -2.823524)'), GeomFromEWKT('SRID=4674;POINT (-40.562094 -2.823518)'))) / (select extract(epoch from '2026-07-10 23:13:06'::timestamp) - extract(epoch from '2026-07-10 23:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.562068 -2.823525)', '2026-07-10 23:13:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562094 -2.823518)'), GeomFromEWKT('SRID=4674;POINT (-40.562068 -2.823525)'))) / (select extract(epoch from '2026-07-10 23:13:14'::timestamp) - extract(epoch from '2026-07-10 23:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562094 -2.823518)'), GeomFromEWKT('SRID=4674;POINT (-40.562068 -2.823525)'))) / (select extract(epoch from '2026-07-10 23:13:14'::timestamp) - extract(epoch from '2026-07-10 23:13: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'), 47642, 'SRID=4674;POINT (-40.562061 -2.823529)', '2026-07-10 23:13:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562068 -2.823525)'), GeomFromEWKT('SRID=4674;POINT (-40.562061 -2.823529)'))) / (select extract(epoch from '2026-07-10 23:13:37'::timestamp) - extract(epoch from '2026-07-10 23:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562068 -2.823525)'), GeomFromEWKT('SRID=4674;POINT (-40.562061 -2.823529)'))) / (select extract(epoch from '2026-07-10 23:13:37'::timestamp) - extract(epoch from '2026-07-10 23:13: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'), 47642, 'SRID=4674;POINT (-40.562054 -2.823504)', '2026-07-10 23:13:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562061 -2.823529)'), GeomFromEWKT('SRID=4674;POINT (-40.562054 -2.823504)'))) / (select extract(epoch from '2026-07-10 23:13:49'::timestamp) - extract(epoch from '2026-07-10 23:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562061 -2.823529)'), GeomFromEWKT('SRID=4674;POINT (-40.562054 -2.823504)'))) / (select extract(epoch from '2026-07-10 23:13:49'::timestamp) - extract(epoch from '2026-07-10 23:13: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'), 47642, 'SRID=4674;POINT (-40.562019 -2.823464)', '2026-07-10 23:13:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562054 -2.823504)'), GeomFromEWKT('SRID=4674;POINT (-40.562019 -2.823464)'))) / (select extract(epoch from '2026-07-10 23:13:57'::timestamp) - extract(epoch from '2026-07-10 23:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562054 -2.823504)'), GeomFromEWKT('SRID=4674;POINT (-40.562019 -2.823464)'))) / (select extract(epoch from '2026-07-10 23:13:57'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.561983 -2.823424)', '2026-07-10 23:14:08', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562019 -2.823464)'), GeomFromEWKT('SRID=4674;POINT (-40.561983 -2.823424)'))) / (select extract(epoch from '2026-07-10 23:14:08'::timestamp) - extract(epoch from '2026-07-10 23:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.562019 -2.823464)'), GeomFromEWKT('SRID=4674;POINT (-40.561983 -2.823424)'))) / (select extract(epoch from '2026-07-10 23:14:08'::timestamp) - extract(epoch from '2026-07-10 23:13: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'), 47642, 'SRID=4674;POINT (-40.561947 -2.823417)', '2026-07-10 23:14:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561983 -2.823424)'), GeomFromEWKT('SRID=4674;POINT (-40.561947 -2.823417)'))) / (select extract(epoch from '2026-07-10 23:14:17'::timestamp) - extract(epoch from '2026-07-10 23:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561983 -2.823424)'), GeomFromEWKT('SRID=4674;POINT (-40.561947 -2.823417)'))) / (select extract(epoch from '2026-07-10 23:14:17'::timestamp) - extract(epoch from '2026-07-10 23:14: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'), 47642, 'SRID=4674;POINT (-40.561944 -2.823416)', '2026-07-10 23:14:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561947 -2.823417)'), GeomFromEWKT('SRID=4674;POINT (-40.561944 -2.823416)'))) / (select extract(epoch from '2026-07-10 23:14:18'::timestamp) - extract(epoch from '2026-07-10 23:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561947 -2.823417)'), GeomFromEWKT('SRID=4674;POINT (-40.561944 -2.823416)'))) / (select extract(epoch from '2026-07-10 23:14:18'::timestamp) - extract(epoch from '2026-07-10 23:14: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'), 47642, 'SRID=4674;POINT (-40.561935 -2.823411)', '2026-07-10 23:14:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561944 -2.823416)'), GeomFromEWKT('SRID=4674;POINT (-40.561935 -2.823411)'))) / (select extract(epoch from '2026-07-10 23:14:30'::timestamp) - extract(epoch from '2026-07-10 23:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561944 -2.823416)'), GeomFromEWKT('SRID=4674;POINT (-40.561935 -2.823411)'))) / (select extract(epoch from '2026-07-10 23:14:30'::timestamp) - extract(epoch from '2026-07-10 23:14: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'), 47642, 'SRID=4674;POINT (-40.561931 -2.823366)', '2026-07-10 23:14:59', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561935 -2.823411)'), GeomFromEWKT('SRID=4674;POINT (-40.561931 -2.823366)'))) / (select extract(epoch from '2026-07-10 23:14:59'::timestamp) - extract(epoch from '2026-07-10 23:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561935 -2.823411)'), GeomFromEWKT('SRID=4674;POINT (-40.561931 -2.823366)'))) / (select extract(epoch from '2026-07-10 23:14:59'::timestamp) - extract(epoch from '2026-07-10 23:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561878 -2.823309)', '2026-07-10 23:16:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561931 -2.823366)'), GeomFromEWKT('SRID=4674;POINT (-40.561878 -2.823309)'))) / (select extract(epoch from '2026-07-10 23:16:49'::timestamp) - extract(epoch from '2026-07-10 23:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561931 -2.823366)'), GeomFromEWKT('SRID=4674;POINT (-40.561878 -2.823309)'))) / (select extract(epoch from '2026-07-10 23:16:49'::timestamp) - extract(epoch from '2026-07-10 23:14: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'), 47642, 'SRID=4674;POINT (-40.561874 -2.823303)', '2026-07-10 23:17:02', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561878 -2.823309)'), GeomFromEWKT('SRID=4674;POINT (-40.561874 -2.823303)'))) / (select extract(epoch from '2026-07-10 23:17:02'::timestamp) - extract(epoch from '2026-07-10 23:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561878 -2.823309)'), GeomFromEWKT('SRID=4674;POINT (-40.561874 -2.823303)'))) / (select extract(epoch from '2026-07-10 23:17:02'::timestamp) - extract(epoch from '2026-07-10 23:16: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'), 47642, 'SRID=4674;POINT (-40.561837 -2.823278)', '2026-07-10 23:17:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561874 -2.823303)'), GeomFromEWKT('SRID=4674;POINT (-40.561837 -2.823278)'))) / (select extract(epoch from '2026-07-10 23:17:10'::timestamp) - extract(epoch from '2026-07-10 23:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561874 -2.823303)'), GeomFromEWKT('SRID=4674;POINT (-40.561837 -2.823278)'))) / (select extract(epoch from '2026-07-10 23:17:10'::timestamp) - extract(epoch from '2026-07-10 23:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561817 -2.823284)', '2026-07-10 23:17:53', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561837 -2.823278)'), GeomFromEWKT('SRID=4674;POINT (-40.561817 -2.823284)'))) / (select extract(epoch from '2026-07-10 23:17:53'::timestamp) - extract(epoch from '2026-07-10 23:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561837 -2.823278)'), GeomFromEWKT('SRID=4674;POINT (-40.561817 -2.823284)'))) / (select extract(epoch from '2026-07-10 23:17:53'::timestamp) - extract(epoch from '2026-07-10 23:17: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'), 47642, 'SRID=4674;POINT (-40.561796 -2.823272)', '2026-07-10 23:18:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561817 -2.823284)'), GeomFromEWKT('SRID=4674;POINT (-40.561796 -2.823272)'))) / (select extract(epoch from '2026-07-10 23:18:03'::timestamp) - extract(epoch from '2026-07-10 23:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561817 -2.823284)'), GeomFromEWKT('SRID=4674;POINT (-40.561796 -2.823272)'))) / (select extract(epoch from '2026-07-10 23:18:03'::timestamp) - extract(epoch from '2026-07-10 23:17: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'), 47642, 'SRID=4674;POINT (-40.561797 -2.823278)', '2026-07-10 23:18:22', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561796 -2.823272)'), GeomFromEWKT('SRID=4674;POINT (-40.561797 -2.823278)'))) / (select extract(epoch from '2026-07-10 23:18:22'::timestamp) - extract(epoch from '2026-07-10 23:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561796 -2.823272)'), GeomFromEWKT('SRID=4674;POINT (-40.561797 -2.823278)'))) / (select extract(epoch from '2026-07-10 23:18:22'::timestamp) - extract(epoch from '2026-07-10 23:18: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'), 47642, 'SRID=4674;POINT (-40.561753 -2.823261)', '2026-07-10 23:18:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561797 -2.823278)'), GeomFromEWKT('SRID=4674;POINT (-40.561753 -2.823261)'))) / (select extract(epoch from '2026-07-10 23:18:40'::timestamp) - extract(epoch from '2026-07-10 23:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561797 -2.823278)'), GeomFromEWKT('SRID=4674;POINT (-40.561753 -2.823261)'))) / (select extract(epoch from '2026-07-10 23:18:40'::timestamp) - extract(epoch from '2026-07-10 23:18: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'), 47642, 'SRID=4674;POINT (-40.561728 -2.823244)', '2026-07-10 23:18:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561753 -2.823261)'), GeomFromEWKT('SRID=4674;POINT (-40.561728 -2.823244)'))) / (select extract(epoch from '2026-07-10 23:18:49'::timestamp) - extract(epoch from '2026-07-10 23:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561753 -2.823261)'), GeomFromEWKT('SRID=4674;POINT (-40.561728 -2.823244)'))) / (select extract(epoch from '2026-07-10 23:18:49'::timestamp) - extract(epoch from '2026-07-10 23:18: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'), 47642, 'SRID=4674;POINT (-40.561725 -2.823225)', '2026-07-10 23:19:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561728 -2.823244)'), GeomFromEWKT('SRID=4674;POINT (-40.561725 -2.823225)'))) / (select extract(epoch from '2026-07-10 23:19:11'::timestamp) - extract(epoch from '2026-07-10 23:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561728 -2.823244)'), GeomFromEWKT('SRID=4674;POINT (-40.561725 -2.823225)'))) / (select extract(epoch from '2026-07-10 23:19:11'::timestamp) - extract(epoch from '2026-07-10 23:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561704 -2.823213)', '2026-07-10 23:20:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561725 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.561704 -2.823213)'))) / (select extract(epoch from '2026-07-10 23:20:35'::timestamp) - extract(epoch from '2026-07-10 23:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561725 -2.823225)'), GeomFromEWKT('SRID=4674;POINT (-40.561704 -2.823213)'))) / (select extract(epoch from '2026-07-10 23:20:35'::timestamp) - extract(epoch from '2026-07-10 23:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561698 -2.823217)', '2026-07-10 23:20:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561704 -2.823213)'), GeomFromEWKT('SRID=4674;POINT (-40.561698 -2.823217)'))) / (select extract(epoch from '2026-07-10 23:20:47'::timestamp) - extract(epoch from '2026-07-10 23:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561704 -2.823213)'), GeomFromEWKT('SRID=4674;POINT (-40.561698 -2.823217)'))) / (select extract(epoch from '2026-07-10 23:20:47'::timestamp) - extract(epoch from '2026-07-10 23:20: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'), 47642, 'SRID=4674;POINT (-40.561635 -2.823185)', '2026-07-10 23:21:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561698 -2.823217)'), GeomFromEWKT('SRID=4674;POINT (-40.561635 -2.823185)'))) / (select extract(epoch from '2026-07-10 23:21:18'::timestamp) - extract(epoch from '2026-07-10 23:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561698 -2.823217)'), GeomFromEWKT('SRID=4674;POINT (-40.561635 -2.823185)'))) / (select extract(epoch from '2026-07-10 23:21:18'::timestamp) - extract(epoch from '2026-07-10 23: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'), 47642, 'SRID=4674;POINT (-40.561621 -2.823172)', '2026-07-10 23:21:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561635 -2.823185)'), GeomFromEWKT('SRID=4674;POINT (-40.561621 -2.823172)'))) / (select extract(epoch from '2026-07-10 23:21:25'::timestamp) - extract(epoch from '2026-07-10 23:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561635 -2.823185)'), GeomFromEWKT('SRID=4674;POINT (-40.561621 -2.823172)'))) / (select extract(epoch from '2026-07-10 23:21:25'::timestamp) - extract(epoch from '2026-07-10 23:21: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'), 47642, 'SRID=4674;POINT (-40.561615 -2.82318)', '2026-07-10 23:21:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561621 -2.823172)'), GeomFromEWKT('SRID=4674;POINT (-40.561615 -2.82318)'))) / (select extract(epoch from '2026-07-10 23:21:58'::timestamp) - extract(epoch from '2026-07-10 23:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561621 -2.823172)'), GeomFromEWKT('SRID=4674;POINT (-40.561615 -2.82318)'))) / (select extract(epoch from '2026-07-10 23:21:58'::timestamp) - extract(epoch from '2026-07-10 23:21: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'), 47642, 'SRID=4674;POINT (-40.561586 -2.823187)', '2026-07-10 23:22:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561615 -2.82318)'), GeomFromEWKT('SRID=4674;POINT (-40.561586 -2.823187)'))) / (select extract(epoch from '2026-07-10 23:22:05'::timestamp) - extract(epoch from '2026-07-10 23:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561615 -2.82318)'), GeomFromEWKT('SRID=4674;POINT (-40.561586 -2.823187)'))) / (select extract(epoch from '2026-07-10 23:22:05'::timestamp) - extract(epoch from '2026-07-10 23:21: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'), 47642, 'SRID=4674;POINT (-40.561542 -2.823198)', '2026-07-10 23:22:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561586 -2.823187)'), GeomFromEWKT('SRID=4674;POINT (-40.561542 -2.823198)'))) / (select extract(epoch from '2026-07-10 23:22:15'::timestamp) - extract(epoch from '2026-07-10 23:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561586 -2.823187)'), GeomFromEWKT('SRID=4674;POINT (-40.561542 -2.823198)'))) / (select extract(epoch from '2026-07-10 23:22:15'::timestamp) - extract(epoch from '2026-07-10 23:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561477 -2.823174)', '2026-07-10 23:22:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561542 -2.823198)'), GeomFromEWKT('SRID=4674;POINT (-40.561477 -2.823174)'))) / (select extract(epoch from '2026-07-10 23:22:27'::timestamp) - extract(epoch from '2026-07-10 23:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561542 -2.823198)'), GeomFromEWKT('SRID=4674;POINT (-40.561477 -2.823174)'))) / (select extract(epoch from '2026-07-10 23:22:27'::timestamp) - extract(epoch from '2026-07-10 23:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561453 -2.823169)', '2026-07-10 23:22:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561477 -2.823174)'), GeomFromEWKT('SRID=4674;POINT (-40.561453 -2.823169)'))) / (select extract(epoch from '2026-07-10 23:22:38'::timestamp) - extract(epoch from '2026-07-10 23:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561477 -2.823174)'), GeomFromEWKT('SRID=4674;POINT (-40.561453 -2.823169)'))) / (select extract(epoch from '2026-07-10 23:22:38'::timestamp) - extract(epoch from '2026-07-10 23:22: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'), 47642, 'SRID=4674;POINT (-40.561419 -2.823157)', '2026-07-10 23:23:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561453 -2.823169)'), GeomFromEWKT('SRID=4674;POINT (-40.561419 -2.823157)'))) / (select extract(epoch from '2026-07-10 23:23:56'::timestamp) - extract(epoch from '2026-07-10 23:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561453 -2.823169)'), GeomFromEWKT('SRID=4674;POINT (-40.561419 -2.823157)'))) / (select extract(epoch from '2026-07-10 23:23:56'::timestamp) - extract(epoch from '2026-07-10 23:22: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'), 47642, 'SRID=4674;POINT (-40.56138 -2.823118)', '2026-07-10 23:24:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561419 -2.823157)'), GeomFromEWKT('SRID=4674;POINT (-40.56138 -2.823118)'))) / (select extract(epoch from '2026-07-10 23:24:08'::timestamp) - extract(epoch from '2026-07-10 23:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561419 -2.823157)'), GeomFromEWKT('SRID=4674;POINT (-40.56138 -2.823118)'))) / (select extract(epoch from '2026-07-10 23:24:08'::timestamp) - extract(epoch from '2026-07-10 23:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561374 -2.823096)', '2026-07-10 23:24:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56138 -2.823118)'), GeomFromEWKT('SRID=4674;POINT (-40.561374 -2.823096)'))) / (select extract(epoch from '2026-07-10 23:24:18'::timestamp) - extract(epoch from '2026-07-10 23:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56138 -2.823118)'), GeomFromEWKT('SRID=4674;POINT (-40.561374 -2.823096)'))) / (select extract(epoch from '2026-07-10 23:24:18'::timestamp) - extract(epoch from '2026-07-10 23:24:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.56135 -2.823086)', '2026-07-10 23:24:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561374 -2.823096)'), GeomFromEWKT('SRID=4674;POINT (-40.56135 -2.823086)'))) / (select extract(epoch from '2026-07-10 23:24:26'::timestamp) - extract(epoch from '2026-07-10 23:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561374 -2.823096)'), GeomFromEWKT('SRID=4674;POINT (-40.56135 -2.823086)'))) / (select extract(epoch from '2026-07-10 23:24:26'::timestamp) - extract(epoch from '2026-07-10 23:24: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'), 47642, 'SRID=4674;POINT (-40.561316 -2.822994)', '2026-07-10 23:27:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56135 -2.823086)'), GeomFromEWKT('SRID=4674;POINT (-40.561316 -2.822994)'))) / (select extract(epoch from '2026-07-10 23:27:23'::timestamp) - extract(epoch from '2026-07-10 23:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.56135 -2.823086)'), GeomFromEWKT('SRID=4674;POINT (-40.561316 -2.822994)'))) / (select extract(epoch from '2026-07-10 23:27:23'::timestamp) - extract(epoch from '2026-07-10 23:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561289 -2.822957)', '2026-07-10 23:28:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561316 -2.822994)'), GeomFromEWKT('SRID=4674;POINT (-40.561289 -2.822957)'))) / (select extract(epoch from '2026-07-10 23:28:15'::timestamp) - extract(epoch from '2026-07-10 23:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561316 -2.822994)'), GeomFromEWKT('SRID=4674;POINT (-40.561289 -2.822957)'))) / (select extract(epoch from '2026-07-10 23:28:15'::timestamp) - extract(epoch from '2026-07-10 23:27: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'), 47642, 'SRID=4674;POINT (-40.561219 -2.822891)', '2026-07-10 23:29:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561289 -2.822957)'), GeomFromEWKT('SRID=4674;POINT (-40.561219 -2.822891)'))) / (select extract(epoch from '2026-07-10 23:29:05'::timestamp) - extract(epoch from '2026-07-10 23:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561289 -2.822957)'), GeomFromEWKT('SRID=4674;POINT (-40.561219 -2.822891)'))) / (select extract(epoch from '2026-07-10 23:29:05'::timestamp) - extract(epoch from '2026-07-10 23:28:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47642, 'SRID=4674;POINT (-40.561201 -2.822868)', '2026-07-10 23:29:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561219 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.561201 -2.822868)'))) / (select extract(epoch from '2026-07-10 23:29:15'::timestamp) - extract(epoch from '2026-07-10 23:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561219 -2.822891)'), GeomFromEWKT('SRID=4674;POINT (-40.561201 -2.822868)'))) / (select extract(epoch from '2026-07-10 23:29:15'::timestamp) - extract(epoch from '2026-07-10 23:29: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'), 47642, 'SRID=4674;POINT (-40.561182 -2.822859)', '2026-07-10 23:29:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561201 -2.822868)'), GeomFromEWKT('SRID=4674;POINT (-40.561182 -2.822859)'))) / (select extract(epoch from '2026-07-10 23:29:25'::timestamp) - extract(epoch from '2026-07-10 23:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561201 -2.822868)'), GeomFromEWKT('SRID=4674;POINT (-40.561182 -2.822859)'))) / (select extract(epoch from '2026-07-10 23:29:25'::timestamp) - extract(epoch from '2026-07-10 23:29: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'), 47642, 'SRID=4674;POINT (-40.561174 -2.822846)', '2026-07-10 23:29:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561182 -2.822859)'), GeomFromEWKT('SRID=4674;POINT (-40.561174 -2.822846)'))) / (select extract(epoch from '2026-07-10 23:29:37'::timestamp) - extract(epoch from '2026-07-10 23:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.561182 -2.822859)'), GeomFromEWKT('SRID=4674;POINT (-40.561174 -2.822846)'))) / (select extract(epoch from '2026-07-10 23:29:37'::timestamp) - extract(epoch from '2026-07-10 23:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
