 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022574 -2.7815)', '2026-07-13 08:42:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022563 -2.781455)'), GeomFromEWKT('SRID=4674;POINT (-40.022574 -2.7815)'))) / (select extract(epoch from '2026-07-13 08:42:39'::timestamp) - extract(epoch from '2026-07-13 08:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022563 -2.781455)'), GeomFromEWKT('SRID=4674;POINT (-40.022574 -2.7815)'))) / (select extract(epoch from '2026-07-13 08:42:39'::timestamp) - extract(epoch from '2026-07-13 08:42: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'), 47628, 'SRID=4674;POINT (-40.022586 -2.78156)', '2026-07-13 08:42:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022574 -2.7815)'), GeomFromEWKT('SRID=4674;POINT (-40.022586 -2.78156)'))) / (select extract(epoch from '2026-07-13 08:42:43'::timestamp) - extract(epoch from '2026-07-13 08:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022574 -2.7815)'), GeomFromEWKT('SRID=4674;POINT (-40.022586 -2.78156)'))) / (select extract(epoch from '2026-07-13 08:42:43'::timestamp) - extract(epoch from '2026-07-13 08:42: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'), 47628, 'SRID=4674;POINT (-40.022607 -2.781648)', '2026-07-13 08:42:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022586 -2.78156)'), GeomFromEWKT('SRID=4674;POINT (-40.022607 -2.781648)'))) / (select extract(epoch from '2026-07-13 08:42:49'::timestamp) - extract(epoch from '2026-07-13 08:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022586 -2.78156)'), GeomFromEWKT('SRID=4674;POINT (-40.022607 -2.781648)'))) / (select extract(epoch from '2026-07-13 08:42:49'::timestamp) - extract(epoch from '2026-07-13 08:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022608 -2.781725)', '2026-07-13 08:42:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022607 -2.781648)'), GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.781725)'))) / (select extract(epoch from '2026-07-13 08:42:54'::timestamp) - extract(epoch from '2026-07-13 08:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022607 -2.781648)'), GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.781725)'))) / (select extract(epoch from '2026-07-13 08:42:54'::timestamp) - extract(epoch from '2026-07-13 08:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022607 -2.781738)', '2026-07-13 08:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.781725)'), GeomFromEWKT('SRID=4674;POINT (-40.022607 -2.781738)'))) / (select extract(epoch from '2026-07-13 08:42:55'::timestamp) - extract(epoch from '2026-07-13 08:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.781725)'), GeomFromEWKT('SRID=4674;POINT (-40.022607 -2.781738)'))) / (select extract(epoch from '2026-07-13 08:42:55'::timestamp) - extract(epoch from '2026-07-13 08:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022605 -2.781796)', '2026-07-13 08:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022607 -2.781738)'), GeomFromEWKT('SRID=4674;POINT (-40.022605 -2.781796)'))) / (select extract(epoch from '2026-07-13 08:42:59'::timestamp) - extract(epoch from '2026-07-13 08:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022607 -2.781738)'), GeomFromEWKT('SRID=4674;POINT (-40.022605 -2.781796)'))) / (select extract(epoch from '2026-07-13 08:42:59'::timestamp) - extract(epoch from '2026-07-13 08:42: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'), 47628, 'SRID=4674;POINT (-40.022608 -2.781811)', '2026-07-13 08:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022605 -2.781796)'), GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.781811)'))) / (select extract(epoch from '2026-07-13 08:43:00'::timestamp) - extract(epoch from '2026-07-13 08:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022605 -2.781796)'), GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.781811)'))) / (select extract(epoch from '2026-07-13 08:43:00'::timestamp) - extract(epoch from '2026-07-13 08:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022632 -2.781918)', '2026-07-13 08:43:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.781811)'), GeomFromEWKT('SRID=4674;POINT (-40.022632 -2.781918)'))) / (select extract(epoch from '2026-07-13 08:43:07'::timestamp) - extract(epoch from '2026-07-13 08:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022608 -2.781811)'), GeomFromEWKT('SRID=4674;POINT (-40.022632 -2.781918)'))) / (select extract(epoch from '2026-07-13 08:43:07'::timestamp) - extract(epoch from '2026-07-13 08:43: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'), 47628, 'SRID=4674;POINT (-40.022634 -2.781933)', '2026-07-13 08:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022632 -2.781918)'), GeomFromEWKT('SRID=4674;POINT (-40.022634 -2.781933)'))) / (select extract(epoch from '2026-07-13 08:43:08'::timestamp) - extract(epoch from '2026-07-13 08:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022632 -2.781918)'), GeomFromEWKT('SRID=4674;POINT (-40.022634 -2.781933)'))) / (select extract(epoch from '2026-07-13 08:43:08'::timestamp) - extract(epoch from '2026-07-13 08:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022648 -2.781993)', '2026-07-13 08:43:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022634 -2.781933)'), GeomFromEWKT('SRID=4674;POINT (-40.022648 -2.781993)'))) / (select extract(epoch from '2026-07-13 08:43:12'::timestamp) - extract(epoch from '2026-07-13 08:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022634 -2.781933)'), GeomFromEWKT('SRID=4674;POINT (-40.022648 -2.781993)'))) / (select extract(epoch from '2026-07-13 08:43:12'::timestamp) - extract(epoch from '2026-07-13 08:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022666 -2.782055)', '2026-07-13 08:43:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022648 -2.781993)'), GeomFromEWKT('SRID=4674;POINT (-40.022666 -2.782055)'))) / (select extract(epoch from '2026-07-13 08:43:16'::timestamp) - extract(epoch from '2026-07-13 08:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022648 -2.781993)'), GeomFromEWKT('SRID=4674;POINT (-40.022666 -2.782055)'))) / (select extract(epoch from '2026-07-13 08:43:16'::timestamp) - extract(epoch from '2026-07-13 08:43: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'), 47628, 'SRID=4674;POINT (-40.022667 -2.782072)', '2026-07-13 08:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022666 -2.782055)'), GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.782072)'))) / (select extract(epoch from '2026-07-13 08:43:17'::timestamp) - extract(epoch from '2026-07-13 08:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022666 -2.782055)'), GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.782072)'))) / (select extract(epoch from '2026-07-13 08:43:17'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022658 -2.782137)', '2026-07-13 08:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.782072)'), GeomFromEWKT('SRID=4674;POINT (-40.022658 -2.782137)'))) / (select extract(epoch from '2026-07-13 08:43:22'::timestamp) - extract(epoch from '2026-07-13 08:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.782072)'), GeomFromEWKT('SRID=4674;POINT (-40.022658 -2.782137)'))) / (select extract(epoch from '2026-07-13 08:43:22'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022628 -2.782226)', '2026-07-13 08:43:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022658 -2.782137)'), GeomFromEWKT('SRID=4674;POINT (-40.022628 -2.782226)'))) / (select extract(epoch from '2026-07-13 08:43:29'::timestamp) - extract(epoch from '2026-07-13 08:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022658 -2.782137)'), GeomFromEWKT('SRID=4674;POINT (-40.022628 -2.782226)'))) / (select extract(epoch from '2026-07-13 08:43:29'::timestamp) - extract(epoch from '2026-07-13 08:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022594 -2.782328)', '2026-07-13 08:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022628 -2.782226)'), GeomFromEWKT('SRID=4674;POINT (-40.022594 -2.782328)'))) / (select extract(epoch from '2026-07-13 08:43:36'::timestamp) - extract(epoch from '2026-07-13 08:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022628 -2.782226)'), GeomFromEWKT('SRID=4674;POINT (-40.022594 -2.782328)'))) / (select extract(epoch from '2026-07-13 08:43:36'::timestamp) - extract(epoch from '2026-07-13 08:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022579 -2.782395)', '2026-07-13 08:43:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022594 -2.782328)'), GeomFromEWKT('SRID=4674;POINT (-40.022579 -2.782395)'))) / (select extract(epoch from '2026-07-13 08:43:41'::timestamp) - extract(epoch from '2026-07-13 08:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022594 -2.782328)'), GeomFromEWKT('SRID=4674;POINT (-40.022579 -2.782395)'))) / (select extract(epoch from '2026-07-13 08:43:41'::timestamp) - extract(epoch from '2026-07-13 08:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022555 -2.782493)', '2026-07-13 08:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022579 -2.782395)'), GeomFromEWKT('SRID=4674;POINT (-40.022555 -2.782493)'))) / (select extract(epoch from '2026-07-13 08:43:48'::timestamp) - extract(epoch from '2026-07-13 08:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022579 -2.782395)'), GeomFromEWKT('SRID=4674;POINT (-40.022555 -2.782493)'))) / (select extract(epoch from '2026-07-13 08:43:48'::timestamp) - extract(epoch from '2026-07-13 08:43: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'), 47628, 'SRID=4674;POINT (-40.022543 -2.782604)', '2026-07-13 08:43:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022555 -2.782493)'), GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782604)'))) / (select extract(epoch from '2026-07-13 08:43:56'::timestamp) - extract(epoch from '2026-07-13 08:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022555 -2.782493)'), GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782604)'))) / (select extract(epoch from '2026-07-13 08:43:56'::timestamp) - extract(epoch from '2026-07-13 08:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022543 -2.782619)', '2026-07-13 08:43:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782604)'), GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782619)'))) / (select extract(epoch from '2026-07-13 08:43:57'::timestamp) - extract(epoch from '2026-07-13 08:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782604)'), GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782619)'))) / (select extract(epoch from '2026-07-13 08:43:57'::timestamp) - extract(epoch from '2026-07-13 08:43: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'), 47628, 'SRID=4674;POINT (-40.022543 -2.782663)', '2026-07-13 08:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782619)'), GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782663)'))) / (select extract(epoch from '2026-07-13 08:44:00'::timestamp) - extract(epoch from '2026-07-13 08:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782619)'), GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782663)'))) / (select extract(epoch from '2026-07-13 08:44:00'::timestamp) - extract(epoch from '2026-07-13 08:43: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'), 47628, 'SRID=4674;POINT (-40.022544 -2.782676)', '2026-07-13 08:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782663)'), GeomFromEWKT('SRID=4674;POINT (-40.022544 -2.782676)'))) / (select extract(epoch from '2026-07-13 08:44:01'::timestamp) - extract(epoch from '2026-07-13 08:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022543 -2.782663)'), GeomFromEWKT('SRID=4674;POINT (-40.022544 -2.782676)'))) / (select extract(epoch from '2026-07-13 08:44:01'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.02255 -2.782743)', '2026-07-13 08:44:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022544 -2.782676)'), GeomFromEWKT('SRID=4674;POINT (-40.02255 -2.782743)'))) / (select extract(epoch from '2026-07-13 08:44:06'::timestamp) - extract(epoch from '2026-07-13 08:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022544 -2.782676)'), GeomFromEWKT('SRID=4674;POINT (-40.02255 -2.782743)'))) / (select extract(epoch from '2026-07-13 08:44:06'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022551 -2.78277)', '2026-07-13 08:44:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02255 -2.782743)'), GeomFromEWKT('SRID=4674;POINT (-40.022551 -2.78277)'))) / (select extract(epoch from '2026-07-13 08:44:08'::timestamp) - extract(epoch from '2026-07-13 08:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02255 -2.782743)'), GeomFromEWKT('SRID=4674;POINT (-40.022551 -2.78277)'))) / (select extract(epoch from '2026-07-13 08:44:08'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022538 -2.782839)', '2026-07-13 08:44:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022551 -2.78277)'), GeomFromEWKT('SRID=4674;POINT (-40.022538 -2.782839)'))) / (select extract(epoch from '2026-07-13 08:44:14'::timestamp) - extract(epoch from '2026-07-13 08:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022551 -2.78277)'), GeomFromEWKT('SRID=4674;POINT (-40.022538 -2.782839)'))) / (select extract(epoch from '2026-07-13 08:44:14'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.022515 -2.782874)', '2026-07-13 08:44:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022538 -2.782839)'), GeomFromEWKT('SRID=4674;POINT (-40.022515 -2.782874)'))) / (select extract(epoch from '2026-07-13 08:44:18'::timestamp) - extract(epoch from '2026-07-13 08:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022538 -2.782839)'), GeomFromEWKT('SRID=4674;POINT (-40.022515 -2.782874)'))) / (select extract(epoch from '2026-07-13 08:44:18'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.022449 -2.782926)', '2026-07-13 08:44:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022515 -2.782874)'), GeomFromEWKT('SRID=4674;POINT (-40.022449 -2.782926)'))) / (select extract(epoch from '2026-07-13 08:44:25'::timestamp) - extract(epoch from '2026-07-13 08:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022515 -2.782874)'), GeomFromEWKT('SRID=4674;POINT (-40.022449 -2.782926)'))) / (select extract(epoch from '2026-07-13 08:44:25'::timestamp) - extract(epoch from '2026-07-13 08:44:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022413 -2.782968)', '2026-07-13 08:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022449 -2.782926)'), GeomFromEWKT('SRID=4674;POINT (-40.022413 -2.782968)'))) / (select extract(epoch from '2026-07-13 08:44:29'::timestamp) - extract(epoch from '2026-07-13 08:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022449 -2.782926)'), GeomFromEWKT('SRID=4674;POINT (-40.022413 -2.782968)'))) / (select extract(epoch from '2026-07-13 08:44:29'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.022394 -2.782986)', '2026-07-13 08:44:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022413 -2.782968)'), GeomFromEWKT('SRID=4674;POINT (-40.022394 -2.782986)'))) / (select extract(epoch from '2026-07-13 08:44:31'::timestamp) - extract(epoch from '2026-07-13 08:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022413 -2.782968)'), GeomFromEWKT('SRID=4674;POINT (-40.022394 -2.782986)'))) / (select extract(epoch from '2026-07-13 08:44:31'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.022386 -2.782996)', '2026-07-13 08:44:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022394 -2.782986)'), GeomFromEWKT('SRID=4674;POINT (-40.022386 -2.782996)'))) / (select extract(epoch from '2026-07-13 08:44:32'::timestamp) - extract(epoch from '2026-07-13 08:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022394 -2.782986)'), GeomFromEWKT('SRID=4674;POINT (-40.022386 -2.782996)'))) / (select extract(epoch from '2026-07-13 08:44:32'::timestamp) - extract(epoch from '2026-07-13 08:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022376 -2.783005)', '2026-07-13 08:44:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022386 -2.782996)'), GeomFromEWKT('SRID=4674;POINT (-40.022376 -2.783005)'))) / (select extract(epoch from '2026-07-13 08:44:33'::timestamp) - extract(epoch from '2026-07-13 08:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022386 -2.782996)'), GeomFromEWKT('SRID=4674;POINT (-40.022376 -2.783005)'))) / (select extract(epoch from '2026-07-13 08:44:33'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.022345 -2.783048)', '2026-07-13 08:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022376 -2.783005)'), GeomFromEWKT('SRID=4674;POINT (-40.022345 -2.783048)'))) / (select extract(epoch from '2026-07-13 08:44:37'::timestamp) - extract(epoch from '2026-07-13 08:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022376 -2.783005)'), GeomFromEWKT('SRID=4674;POINT (-40.022345 -2.783048)'))) / (select extract(epoch from '2026-07-13 08:44:37'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.0223 -2.783122)', '2026-07-13 08:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022345 -2.783048)'), GeomFromEWKT('SRID=4674;POINT (-40.0223 -2.783122)'))) / (select extract(epoch from '2026-07-13 08:44:44'::timestamp) - extract(epoch from '2026-07-13 08:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022345 -2.783048)'), GeomFromEWKT('SRID=4674;POINT (-40.0223 -2.783122)'))) / (select extract(epoch from '2026-07-13 08:44:44'::timestamp) - extract(epoch from '2026-07-13 08:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022242 -2.783185)', '2026-07-13 08:44:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0223 -2.783122)'), GeomFromEWKT('SRID=4674;POINT (-40.022242 -2.783185)'))) / (select extract(epoch from '2026-07-13 08:44:51'::timestamp) - extract(epoch from '2026-07-13 08:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0223 -2.783122)'), GeomFromEWKT('SRID=4674;POINT (-40.022242 -2.783185)'))) / (select extract(epoch from '2026-07-13 08:44:51'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.022182 -2.783247)', '2026-07-13 08:44:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022242 -2.783185)'), GeomFromEWKT('SRID=4674;POINT (-40.022182 -2.783247)'))) / (select extract(epoch from '2026-07-13 08:44:58'::timestamp) - extract(epoch from '2026-07-13 08:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022242 -2.783185)'), GeomFromEWKT('SRID=4674;POINT (-40.022182 -2.783247)'))) / (select extract(epoch from '2026-07-13 08:44:58'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.022177 -2.783269)', '2026-07-13 08:45:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022182 -2.783247)'), GeomFromEWKT('SRID=4674;POINT (-40.022177 -2.783269)'))) / (select extract(epoch from '2026-07-13 08:45:00'::timestamp) - extract(epoch from '2026-07-13 08:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022182 -2.783247)'), GeomFromEWKT('SRID=4674;POINT (-40.022177 -2.783269)'))) / (select extract(epoch from '2026-07-13 08:45:00'::timestamp) - extract(epoch from '2026-07-13 08:44: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'), 47628, 'SRID=4674;POINT (-40.02219 -2.783315)', '2026-07-13 08:45:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022177 -2.783269)'), GeomFromEWKT('SRID=4674;POINT (-40.02219 -2.783315)'))) / (select extract(epoch from '2026-07-13 08:45:04'::timestamp) - extract(epoch from '2026-07-13 08:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022177 -2.783269)'), GeomFromEWKT('SRID=4674;POINT (-40.02219 -2.783315)'))) / (select extract(epoch from '2026-07-13 08:45:04'::timestamp) - extract(epoch from '2026-07-13 08:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022198 -2.78335)', '2026-07-13 08:45:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02219 -2.783315)'), GeomFromEWKT('SRID=4674;POINT (-40.022198 -2.78335)'))) / (select extract(epoch from '2026-07-13 08:45:07'::timestamp) - extract(epoch from '2026-07-13 08:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02219 -2.783315)'), GeomFromEWKT('SRID=4674;POINT (-40.022198 -2.78335)'))) / (select extract(epoch from '2026-07-13 08:45:07'::timestamp) - extract(epoch from '2026-07-13 08:45: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'), 47628, 'SRID=4674;POINT (-40.022196 -2.783368)', '2026-07-13 08:45:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022198 -2.78335)'), GeomFromEWKT('SRID=4674;POINT (-40.022196 -2.783368)'))) / (select extract(epoch from '2026-07-13 08:45:09'::timestamp) - extract(epoch from '2026-07-13 08:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022198 -2.78335)'), GeomFromEWKT('SRID=4674;POINT (-40.022196 -2.783368)'))) / (select extract(epoch from '2026-07-13 08:45:09'::timestamp) - extract(epoch from '2026-07-13 08:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022161 -2.783385)', '2026-07-13 08:45:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022196 -2.783368)'), GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.783385)'))) / (select extract(epoch from '2026-07-13 08:45:14'::timestamp) - extract(epoch from '2026-07-13 08:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022196 -2.783368)'), GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.783385)'))) / (select extract(epoch from '2026-07-13 08:45:14'::timestamp) - extract(epoch from '2026-07-13 08:45: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'), 47628, 'SRID=4674;POINT (-40.022093 -2.783381)', '2026-07-13 08:45:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.783385)'), GeomFromEWKT('SRID=4674;POINT (-40.022093 -2.783381)'))) / (select extract(epoch from '2026-07-13 08:45:26'::timestamp) - extract(epoch from '2026-07-13 08:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022161 -2.783385)'), GeomFromEWKT('SRID=4674;POINT (-40.022093 -2.783381)'))) / (select extract(epoch from '2026-07-13 08:45:26'::timestamp) - extract(epoch from '2026-07-13 08:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022101 -2.783448)', '2026-07-13 08:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022093 -2.783381)'), GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.783448)'))) / (select extract(epoch from '2026-07-13 08:45:34'::timestamp) - extract(epoch from '2026-07-13 08:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022093 -2.783381)'), GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.783448)'))) / (select extract(epoch from '2026-07-13 08:45:34'::timestamp) - extract(epoch from '2026-07-13 08:45: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'), 47628, 'SRID=4674;POINT (-40.022135 -2.783511)', '2026-07-13 08:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.783448)'), GeomFromEWKT('SRID=4674;POINT (-40.022135 -2.783511)'))) / (select extract(epoch from '2026-07-13 08:45:41'::timestamp) - extract(epoch from '2026-07-13 08:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022101 -2.783448)'), GeomFromEWKT('SRID=4674;POINT (-40.022135 -2.783511)'))) / (select extract(epoch from '2026-07-13 08:45:41'::timestamp) - extract(epoch from '2026-07-13 08:45: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'), 47628, 'SRID=4674;POINT (-40.022152 -2.783527)', '2026-07-13 08:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022135 -2.783511)'), GeomFromEWKT('SRID=4674;POINT (-40.022152 -2.783527)'))) / (select extract(epoch from '2026-07-13 08:45:50'::timestamp) - extract(epoch from '2026-07-13 08:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022135 -2.783511)'), GeomFromEWKT('SRID=4674;POINT (-40.022152 -2.783527)'))) / (select extract(epoch from '2026-07-13 08:45:50'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022178 -2.783523)', '2026-07-13 08:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022152 -2.783527)'), GeomFromEWKT('SRID=4674;POINT (-40.022178 -2.783523)'))) / (select extract(epoch from '2026-07-13 08:45:58'::timestamp) - extract(epoch from '2026-07-13 08:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022152 -2.783527)'), GeomFromEWKT('SRID=4674;POINT (-40.022178 -2.783523)'))) / (select extract(epoch from '2026-07-13 08:45:58'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022246 -2.783499)', '2026-07-13 08:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022178 -2.783523)'), GeomFromEWKT('SRID=4674;POINT (-40.022246 -2.783499)'))) / (select extract(epoch from '2026-07-13 08:46:16'::timestamp) - extract(epoch from '2026-07-13 08:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022178 -2.783523)'), GeomFromEWKT('SRID=4674;POINT (-40.022246 -2.783499)'))) / (select extract(epoch from '2026-07-13 08:46:16'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.02227 -2.783497)', '2026-07-13 08:46:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022246 -2.783499)'), GeomFromEWKT('SRID=4674;POINT (-40.02227 -2.783497)'))) / (select extract(epoch from '2026-07-13 08:46:33'::timestamp) - extract(epoch from '2026-07-13 08:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022246 -2.783499)'), GeomFromEWKT('SRID=4674;POINT (-40.02227 -2.783497)'))) / (select extract(epoch from '2026-07-13 08:46:33'::timestamp) - extract(epoch from '2026-07-13 08:46: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'), 47628, 'SRID=4674;POINT (-40.022252 -2.783493)', '2026-07-13 08:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02227 -2.783497)'), GeomFromEWKT('SRID=4674;POINT (-40.022252 -2.783493)'))) / (select extract(epoch from '2026-07-13 08:46:57'::timestamp) - extract(epoch from '2026-07-13 08:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02227 -2.783497)'), GeomFromEWKT('SRID=4674;POINT (-40.022252 -2.783493)'))) / (select extract(epoch from '2026-07-13 08:46:57'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022237 -2.783498)', '2026-07-13 08:47:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022252 -2.783493)'), GeomFromEWKT('SRID=4674;POINT (-40.022237 -2.783498)'))) / (select extract(epoch from '2026-07-13 08:47:06'::timestamp) - extract(epoch from '2026-07-13 08:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022252 -2.783493)'), GeomFromEWKT('SRID=4674;POINT (-40.022237 -2.783498)'))) / (select extract(epoch from '2026-07-13 08:47:06'::timestamp) - extract(epoch from '2026-07-13 08:46: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'), 47628, 'SRID=4674;POINT (-40.022237 -2.783492)', '2026-07-13 08:47:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022237 -2.783498)'), GeomFromEWKT('SRID=4674;POINT (-40.022237 -2.783492)'))) / (select extract(epoch from '2026-07-13 08:47:21'::timestamp) - extract(epoch from '2026-07-13 08:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022237 -2.783498)'), GeomFromEWKT('SRID=4674;POINT (-40.022237 -2.783492)'))) / (select extract(epoch from '2026-07-13 08:47:21'::timestamp) - extract(epoch from '2026-07-13 08:47: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'), 47628, 'SRID=4674;POINT (-40.022241 -2.783498)', '2026-07-13 08:47:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022237 -2.783492)'), GeomFromEWKT('SRID=4674;POINT (-40.022241 -2.783498)'))) / (select extract(epoch from '2026-07-13 08:47:36'::timestamp) - extract(epoch from '2026-07-13 08:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022237 -2.783492)'), GeomFromEWKT('SRID=4674;POINT (-40.022241 -2.783498)'))) / (select extract(epoch from '2026-07-13 08:47:36'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022235 -2.783486)', '2026-07-13 08:47:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022241 -2.783498)'), GeomFromEWKT('SRID=4674;POINT (-40.022235 -2.783486)'))) / (select extract(epoch from '2026-07-13 08:47:48'::timestamp) - extract(epoch from '2026-07-13 08:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022241 -2.783498)'), GeomFromEWKT('SRID=4674;POINT (-40.022235 -2.783486)'))) / (select extract(epoch from '2026-07-13 08:47:48'::timestamp) - extract(epoch from '2026-07-13 08:47: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'), 47628, 'SRID=4674;POINT (-40.02225 -2.783476)', '2026-07-13 08:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022235 -2.783486)'), GeomFromEWKT('SRID=4674;POINT (-40.02225 -2.783476)'))) / (select extract(epoch from '2026-07-13 08:47:54'::timestamp) - extract(epoch from '2026-07-13 08:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022235 -2.783486)'), GeomFromEWKT('SRID=4674;POINT (-40.02225 -2.783476)'))) / (select extract(epoch from '2026-07-13 08:47:54'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022263 -2.783488)', '2026-07-13 08:48:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02225 -2.783476)'), GeomFromEWKT('SRID=4674;POINT (-40.022263 -2.783488)'))) / (select extract(epoch from '2026-07-13 08:48:13'::timestamp) - extract(epoch from '2026-07-13 08:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02225 -2.783476)'), GeomFromEWKT('SRID=4674;POINT (-40.022263 -2.783488)'))) / (select extract(epoch from '2026-07-13 08:48:13'::timestamp) - extract(epoch from '2026-07-13 08:47: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'), 47628, 'SRID=4674;POINT (-40.022269 -2.783492)', '2026-07-13 08:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022263 -2.783488)'), GeomFromEWKT('SRID=4674;POINT (-40.022269 -2.783492)'))) / (select extract(epoch from '2026-07-13 08:48:24'::timestamp) - extract(epoch from '2026-07-13 08:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022263 -2.783488)'), GeomFromEWKT('SRID=4674;POINT (-40.022269 -2.783492)'))) / (select extract(epoch from '2026-07-13 08:48:24'::timestamp) - extract(epoch from '2026-07-13 08:48: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'), 47628, 'SRID=4674;POINT (-40.02227 -2.78349)', '2026-07-13 08:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022269 -2.783492)'), GeomFromEWKT('SRID=4674;POINT (-40.02227 -2.78349)'))) / (select extract(epoch from '2026-07-13 08:48:36'::timestamp) - extract(epoch from '2026-07-13 08:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022269 -2.783492)'), GeomFromEWKT('SRID=4674;POINT (-40.02227 -2.78349)'))) / (select extract(epoch from '2026-07-13 08:48:36'::timestamp) - extract(epoch from '2026-07-13 08:48: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'), 47628, 'SRID=4674;POINT (-40.022275 -2.783487)', '2026-07-13 08:49:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02227 -2.78349)'), GeomFromEWKT('SRID=4674;POINT (-40.022275 -2.783487)'))) / (select extract(epoch from '2026-07-13 08:49:02'::timestamp) - extract(epoch from '2026-07-13 08:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02227 -2.78349)'), GeomFromEWKT('SRID=4674;POINT (-40.022275 -2.783487)'))) / (select extract(epoch from '2026-07-13 08:49:02'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022276 -2.783475)', '2026-07-13 08:49:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022275 -2.783487)'), GeomFromEWKT('SRID=4674;POINT (-40.022276 -2.783475)'))) / (select extract(epoch from '2026-07-13 08:49:17'::timestamp) - extract(epoch from '2026-07-13 08:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022275 -2.783487)'), GeomFromEWKT('SRID=4674;POINT (-40.022276 -2.783475)'))) / (select extract(epoch from '2026-07-13 08:49:17'::timestamp) - extract(epoch from '2026-07-13 08:49: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'), 47628, 'SRID=4674;POINT (-40.02226 -2.783485)', '2026-07-13 08:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022276 -2.783475)'), GeomFromEWKT('SRID=4674;POINT (-40.02226 -2.783485)'))) / (select extract(epoch from '2026-07-13 08:49:33'::timestamp) - extract(epoch from '2026-07-13 08:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022276 -2.783475)'), GeomFromEWKT('SRID=4674;POINT (-40.02226 -2.783485)'))) / (select extract(epoch from '2026-07-13 08:49:33'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022187 -2.783514)', '2026-07-13 08:49:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02226 -2.783485)'), GeomFromEWKT('SRID=4674;POINT (-40.022187 -2.783514)'))) / (select extract(epoch from '2026-07-13 08:49:45'::timestamp) - extract(epoch from '2026-07-13 08:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02226 -2.783485)'), GeomFromEWKT('SRID=4674;POINT (-40.022187 -2.783514)'))) / (select extract(epoch from '2026-07-13 08:49:45'::timestamp) - extract(epoch from '2026-07-13 08:49: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'), 47628, 'SRID=4674;POINT (-40.02213 -2.783547)', '2026-07-13 08:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022187 -2.783514)'), GeomFromEWKT('SRID=4674;POINT (-40.02213 -2.783547)'))) / (select extract(epoch from '2026-07-13 08:49:57'::timestamp) - extract(epoch from '2026-07-13 08:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022187 -2.783514)'), GeomFromEWKT('SRID=4674;POINT (-40.02213 -2.783547)'))) / (select extract(epoch from '2026-07-13 08:49:57'::timestamp) - extract(epoch from '2026-07-13 08:49: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'), 47628, 'SRID=4674;POINT (-40.022116 -2.78357)', '2026-07-13 08:50:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02213 -2.783547)'), GeomFromEWKT('SRID=4674;POINT (-40.022116 -2.78357)'))) / (select extract(epoch from '2026-07-13 08:50:00'::timestamp) - extract(epoch from '2026-07-13 08:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02213 -2.783547)'), GeomFromEWKT('SRID=4674;POINT (-40.022116 -2.78357)'))) / (select extract(epoch from '2026-07-13 08:50:00'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022111 -2.783586)', '2026-07-13 08:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022116 -2.78357)'), GeomFromEWKT('SRID=4674;POINT (-40.022111 -2.783586)'))) / (select extract(epoch from '2026-07-13 08:50:02'::timestamp) - extract(epoch from '2026-07-13 08:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022116 -2.78357)'), GeomFromEWKT('SRID=4674;POINT (-40.022111 -2.783586)'))) / (select extract(epoch from '2026-07-13 08:50:02'::timestamp) - extract(epoch from '2026-07-13 08:50: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'), 47628, 'SRID=4674;POINT (-40.02211 -2.783595)', '2026-07-13 08:50:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022111 -2.783586)'), GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.783595)'))) / (select extract(epoch from '2026-07-13 08:50:03'::timestamp) - extract(epoch from '2026-07-13 08:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022111 -2.783586)'), GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.783595)'))) / (select extract(epoch from '2026-07-13 08:50:03'::timestamp) - extract(epoch from '2026-07-13 08:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02211 -2.783618)', '2026-07-13 08:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.783595)'), GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.783618)'))) / (select extract(epoch from '2026-07-13 08:50:05'::timestamp) - extract(epoch from '2026-07-13 08:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.783595)'), GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.783618)'))) / (select extract(epoch from '2026-07-13 08:50:05'::timestamp) - extract(epoch from '2026-07-13 08:50: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'), 47628, 'SRID=4674;POINT (-40.022123 -2.783669)', '2026-07-13 08:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.783618)'), GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.783669)'))) / (select extract(epoch from '2026-07-13 08:50:09'::timestamp) - extract(epoch from '2026-07-13 08:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02211 -2.783618)'), GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.783669)'))) / (select extract(epoch from '2026-07-13 08:50:09'::timestamp) - extract(epoch from '2026-07-13 08:50: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'), 47628, 'SRID=4674;POINT (-40.022153 -2.783764)', '2026-07-13 08:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.783669)'), GeomFromEWKT('SRID=4674;POINT (-40.022153 -2.783764)'))) / (select extract(epoch from '2026-07-13 08:50:15'::timestamp) - extract(epoch from '2026-07-13 08:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022123 -2.783669)'), GeomFromEWKT('SRID=4674;POINT (-40.022153 -2.783764)'))) / (select extract(epoch from '2026-07-13 08:50:15'::timestamp) - extract(epoch from '2026-07-13 08:50: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'), 47628, 'SRID=4674;POINT (-40.02222 -2.783895)', '2026-07-13 08:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022153 -2.783764)'), GeomFromEWKT('SRID=4674;POINT (-40.02222 -2.783895)'))) / (select extract(epoch from '2026-07-13 08:50:23'::timestamp) - extract(epoch from '2026-07-13 08:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022153 -2.783764)'), GeomFromEWKT('SRID=4674;POINT (-40.02222 -2.783895)'))) / (select extract(epoch from '2026-07-13 08:50:23'::timestamp) - extract(epoch from '2026-07-13 08:50: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'), 47628, 'SRID=4674;POINT (-40.022293 -2.784027)', '2026-07-13 08:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02222 -2.783895)'), GeomFromEWKT('SRID=4674;POINT (-40.022293 -2.784027)'))) / (select extract(epoch from '2026-07-13 08:50:31'::timestamp) - extract(epoch from '2026-07-13 08:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02222 -2.783895)'), GeomFromEWKT('SRID=4674;POINT (-40.022293 -2.784027)'))) / (select extract(epoch from '2026-07-13 08:50:31'::timestamp) - extract(epoch from '2026-07-13 08:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022334 -2.784108)', '2026-07-13 08:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022293 -2.784027)'), GeomFromEWKT('SRID=4674;POINT (-40.022334 -2.784108)'))) / (select extract(epoch from '2026-07-13 08:50:36'::timestamp) - extract(epoch from '2026-07-13 08:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022293 -2.784027)'), GeomFromEWKT('SRID=4674;POINT (-40.022334 -2.784108)'))) / (select extract(epoch from '2026-07-13 08:50:36'::timestamp) - extract(epoch from '2026-07-13 08:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022342 -2.784123)', '2026-07-13 08:50:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022334 -2.784108)'), GeomFromEWKT('SRID=4674;POINT (-40.022342 -2.784123)'))) / (select extract(epoch from '2026-07-13 08:50:37'::timestamp) - extract(epoch from '2026-07-13 08:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022334 -2.784108)'), GeomFromEWKT('SRID=4674;POINT (-40.022342 -2.784123)'))) / (select extract(epoch from '2026-07-13 08:50:37'::timestamp) - extract(epoch from '2026-07-13 08:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022378 -2.784185)', '2026-07-13 08:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022342 -2.784123)'), GeomFromEWKT('SRID=4674;POINT (-40.022378 -2.784185)'))) / (select extract(epoch from '2026-07-13 08:50:41'::timestamp) - extract(epoch from '2026-07-13 08:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022342 -2.784123)'), GeomFromEWKT('SRID=4674;POINT (-40.022378 -2.784185)'))) / (select extract(epoch from '2026-07-13 08:50:41'::timestamp) - extract(epoch from '2026-07-13 08:50: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'), 47628, 'SRID=4674;POINT (-40.02245 -2.784259)', '2026-07-13 08:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022378 -2.784185)'), GeomFromEWKT('SRID=4674;POINT (-40.02245 -2.784259)'))) / (select extract(epoch from '2026-07-13 08:50:47'::timestamp) - extract(epoch from '2026-07-13 08:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022378 -2.784185)'), GeomFromEWKT('SRID=4674;POINT (-40.02245 -2.784259)'))) / (select extract(epoch from '2026-07-13 08:50:47'::timestamp) - extract(epoch from '2026-07-13 08:50: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'), 47628, 'SRID=4674;POINT (-40.022513 -2.78434)', '2026-07-13 08:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02245 -2.784259)'), GeomFromEWKT('SRID=4674;POINT (-40.022513 -2.78434)'))) / (select extract(epoch from '2026-07-13 08:50:53'::timestamp) - extract(epoch from '2026-07-13 08:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02245 -2.784259)'), GeomFromEWKT('SRID=4674;POINT (-40.022513 -2.78434)'))) / (select extract(epoch from '2026-07-13 08:50:53'::timestamp) - extract(epoch from '2026-07-13 08:50: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'), 47628, 'SRID=4674;POINT (-40.022573 -2.784421)', '2026-07-13 08:50:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022513 -2.78434)'), GeomFromEWKT('SRID=4674;POINT (-40.022573 -2.784421)'))) / (select extract(epoch from '2026-07-13 08:50:59'::timestamp) - extract(epoch from '2026-07-13 08:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022513 -2.78434)'), GeomFromEWKT('SRID=4674;POINT (-40.022573 -2.784421)'))) / (select extract(epoch from '2026-07-13 08:50:59'::timestamp) - extract(epoch from '2026-07-13 08:50: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'), 47628, 'SRID=4674;POINT (-40.022651 -2.784482)', '2026-07-13 08:51:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022573 -2.784421)'), GeomFromEWKT('SRID=4674;POINT (-40.022651 -2.784482)'))) / (select extract(epoch from '2026-07-13 08:51:05'::timestamp) - extract(epoch from '2026-07-13 08:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022573 -2.784421)'), GeomFromEWKT('SRID=4674;POINT (-40.022651 -2.784482)'))) / (select extract(epoch from '2026-07-13 08:51:05'::timestamp) - extract(epoch from '2026-07-13 08:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022733 -2.784573)', '2026-07-13 08:51:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022651 -2.784482)'), GeomFromEWKT('SRID=4674;POINT (-40.022733 -2.784573)'))) / (select extract(epoch from '2026-07-13 08:51:12'::timestamp) - extract(epoch from '2026-07-13 08:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022651 -2.784482)'), GeomFromEWKT('SRID=4674;POINT (-40.022733 -2.784573)'))) / (select extract(epoch from '2026-07-13 08:51:12'::timestamp) - extract(epoch from '2026-07-13 08:51:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022786 -2.784664)', '2026-07-13 08:51:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022733 -2.784573)'), GeomFromEWKT('SRID=4674;POINT (-40.022786 -2.784664)'))) / (select extract(epoch from '2026-07-13 08:51:19'::timestamp) - extract(epoch from '2026-07-13 08:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022733 -2.784573)'), GeomFromEWKT('SRID=4674;POINT (-40.022786 -2.784664)'))) / (select extract(epoch from '2026-07-13 08:51:19'::timestamp) - extract(epoch from '2026-07-13 08:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022813 -2.784673)', '2026-07-13 08:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022786 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.022813 -2.784673)'))) / (select extract(epoch from '2026-07-13 08:51:21'::timestamp) - extract(epoch from '2026-07-13 08:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022786 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.022813 -2.784673)'))) / (select extract(epoch from '2026-07-13 08:51:21'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022856 -2.784664)', '2026-07-13 08:51:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022813 -2.784673)'), GeomFromEWKT('SRID=4674;POINT (-40.022856 -2.784664)'))) / (select extract(epoch from '2026-07-13 08:51:24'::timestamp) - extract(epoch from '2026-07-13 08:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022813 -2.784673)'), GeomFromEWKT('SRID=4674;POINT (-40.022856 -2.784664)'))) / (select extract(epoch from '2026-07-13 08:51:24'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022911 -2.784661)', '2026-07-13 08:51:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022856 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.022911 -2.784661)'))) / (select extract(epoch from '2026-07-13 08:51:28'::timestamp) - extract(epoch from '2026-07-13 08:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022856 -2.784664)'), GeomFromEWKT('SRID=4674;POINT (-40.022911 -2.784661)'))) / (select extract(epoch from '2026-07-13 08:51:28'::timestamp) - extract(epoch from '2026-07-13 08:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022923 -2.784666)', '2026-07-13 08:51:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022911 -2.784661)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784666)'))) / (select extract(epoch from '2026-07-13 08:51:29'::timestamp) - extract(epoch from '2026-07-13 08:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022911 -2.784661)'), GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784666)'))) / (select extract(epoch from '2026-07-13 08:51:29'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022941 -2.784681)', '2026-07-13 08:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784666)'), GeomFromEWKT('SRID=4674;POINT (-40.022941 -2.784681)'))) / (select extract(epoch from '2026-07-13 08:51:31'::timestamp) - extract(epoch from '2026-07-13 08:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022923 -2.784666)'), GeomFromEWKT('SRID=4674;POINT (-40.022941 -2.784681)'))) / (select extract(epoch from '2026-07-13 08:51:31'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022949 -2.7847)', '2026-07-13 08:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022941 -2.784681)'), GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.7847)'))) / (select extract(epoch from '2026-07-13 08:51:33'::timestamp) - extract(epoch from '2026-07-13 08:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022941 -2.784681)'), GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.7847)'))) / (select extract(epoch from '2026-07-13 08:51:33'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022949 -2.78471)', '2026-07-13 08:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.7847)'), GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.78471)'))) / (select extract(epoch from '2026-07-13 08:51:34'::timestamp) - extract(epoch from '2026-07-13 08:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.7847)'), GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.78471)'))) / (select extract(epoch from '2026-07-13 08:51:34'::timestamp) - extract(epoch from '2026-07-13 08:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022939 -2.784735)', '2026-07-13 08:51:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.78471)'), GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784735)'))) / (select extract(epoch from '2026-07-13 08:51:37'::timestamp) - extract(epoch from '2026-07-13 08:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.78471)'), GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784735)'))) / (select extract(epoch from '2026-07-13 08:51:37'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022922 -2.784742)', '2026-07-13 08:51:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784735)'), GeomFromEWKT('SRID=4674;POINT (-40.022922 -2.784742)'))) / (select extract(epoch from '2026-07-13 08:51:39'::timestamp) - extract(epoch from '2026-07-13 08:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784735)'), GeomFromEWKT('SRID=4674;POINT (-40.022922 -2.784742)'))) / (select extract(epoch from '2026-07-13 08:51:39'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022848 -2.784739)', '2026-07-13 08:51:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022922 -2.784742)'), GeomFromEWKT('SRID=4674;POINT (-40.022848 -2.784739)'))) / (select extract(epoch from '2026-07-13 08:51:45'::timestamp) - extract(epoch from '2026-07-13 08:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022922 -2.784742)'), GeomFromEWKT('SRID=4674;POINT (-40.022848 -2.784739)'))) / (select extract(epoch from '2026-07-13 08:51:45'::timestamp) - extract(epoch from '2026-07-13 08:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02282 -2.784739)', '2026-07-13 08:51:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022848 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.02282 -2.784739)'))) / (select extract(epoch from '2026-07-13 08:51:47'::timestamp) - extract(epoch from '2026-07-13 08:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022848 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.02282 -2.784739)'))) / (select extract(epoch from '2026-07-13 08:51:47'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022786 -2.784743)', '2026-07-13 08:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02282 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.022786 -2.784743)'))) / (select extract(epoch from '2026-07-13 08:51:50'::timestamp) - extract(epoch from '2026-07-13 08:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02282 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.022786 -2.784743)'))) / (select extract(epoch from '2026-07-13 08:51:50'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022725 -2.784734)', '2026-07-13 08:51:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022786 -2.784743)'), GeomFromEWKT('SRID=4674;POINT (-40.022725 -2.784734)'))) / (select extract(epoch from '2026-07-13 08:51:55'::timestamp) - extract(epoch from '2026-07-13 08:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022786 -2.784743)'), GeomFromEWKT('SRID=4674;POINT (-40.022725 -2.784734)'))) / (select extract(epoch from '2026-07-13 08:51:55'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.02271 -2.784731)', '2026-07-13 08:51:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022725 -2.784734)'), GeomFromEWKT('SRID=4674;POINT (-40.02271 -2.784731)'))) / (select extract(epoch from '2026-07-13 08:51:56'::timestamp) - extract(epoch from '2026-07-13 08:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022725 -2.784734)'), GeomFromEWKT('SRID=4674;POINT (-40.02271 -2.784731)'))) / (select extract(epoch from '2026-07-13 08:51:56'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022669 -2.784712)', '2026-07-13 08:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02271 -2.784731)'), GeomFromEWKT('SRID=4674;POINT (-40.022669 -2.784712)'))) / (select extract(epoch from '2026-07-13 08:52:01'::timestamp) - extract(epoch from '2026-07-13 08:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02271 -2.784731)'), GeomFromEWKT('SRID=4674;POINT (-40.022669 -2.784712)'))) / (select extract(epoch from '2026-07-13 08:52:01'::timestamp) - extract(epoch from '2026-07-13 08:51: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'), 47628, 'SRID=4674;POINT (-40.022641 -2.784678)', '2026-07-13 08:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022669 -2.784712)'), GeomFromEWKT('SRID=4674;POINT (-40.022641 -2.784678)'))) / (select extract(epoch from '2026-07-13 08:52:09'::timestamp) - extract(epoch from '2026-07-13 08:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022669 -2.784712)'), GeomFromEWKT('SRID=4674;POINT (-40.022641 -2.784678)'))) / (select extract(epoch from '2026-07-13 08:52:09'::timestamp) - extract(epoch from '2026-07-13 08:52: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'), 47628, 'SRID=4674;POINT (-40.022667 -2.784642)', '2026-07-13 08:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022641 -2.784678)'), GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.784642)'))) / (select extract(epoch from '2026-07-13 08:52:22'::timestamp) - extract(epoch from '2026-07-13 08:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022641 -2.784678)'), GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.784642)'))) / (select extract(epoch from '2026-07-13 08:52:22'::timestamp) - extract(epoch from '2026-07-13 08:52: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'), 47628, 'SRID=4674;POINT (-40.02278 -2.784618)', '2026-07-13 08:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.784642)'), GeomFromEWKT('SRID=4674;POINT (-40.02278 -2.784618)'))) / (select extract(epoch from '2026-07-13 08:52:46'::timestamp) - extract(epoch from '2026-07-13 08:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022667 -2.784642)'), GeomFromEWKT('SRID=4674;POINT (-40.02278 -2.784618)'))) / (select extract(epoch from '2026-07-13 08:52:46'::timestamp) - extract(epoch from '2026-07-13 08:52: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'), 47628, 'SRID=4674;POINT (-40.022812 -2.784593)', '2026-07-13 08:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02278 -2.784618)'), GeomFromEWKT('SRID=4674;POINT (-40.022812 -2.784593)'))) / (select extract(epoch from '2026-07-13 08:53:02'::timestamp) - extract(epoch from '2026-07-13 08:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02278 -2.784618)'), GeomFromEWKT('SRID=4674;POINT (-40.022812 -2.784593)'))) / (select extract(epoch from '2026-07-13 08:53:02'::timestamp) - extract(epoch from '2026-07-13 08:52:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022835 -2.784602)', '2026-07-13 08:53:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022812 -2.784593)'), GeomFromEWKT('SRID=4674;POINT (-40.022835 -2.784602)'))) / (select extract(epoch from '2026-07-13 08:53:20'::timestamp) - extract(epoch from '2026-07-13 08:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022812 -2.784593)'), GeomFromEWKT('SRID=4674;POINT (-40.022835 -2.784602)'))) / (select extract(epoch from '2026-07-13 08:53:20'::timestamp) - extract(epoch from '2026-07-13 08:53: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'), 47628, 'SRID=4674;POINT (-40.022909 -2.784593)', '2026-07-13 08:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022835 -2.784602)'), GeomFromEWKT('SRID=4674;POINT (-40.022909 -2.784593)'))) / (select extract(epoch from '2026-07-13 08:53:42'::timestamp) - extract(epoch from '2026-07-13 08:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022835 -2.784602)'), GeomFromEWKT('SRID=4674;POINT (-40.022909 -2.784593)'))) / (select extract(epoch from '2026-07-13 08:53:42'::timestamp) - extract(epoch from '2026-07-13 08:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022939 -2.784612)', '2026-07-13 08:54:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022909 -2.784593)'), GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784612)'))) / (select extract(epoch from '2026-07-13 08:54:03'::timestamp) - extract(epoch from '2026-07-13 08:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022909 -2.784593)'), GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784612)'))) / (select extract(epoch from '2026-07-13 08:54:03'::timestamp) - extract(epoch from '2026-07-13 08:53: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'), 47628, 'SRID=4674;POINT (-40.02294 -2.784621)', '2026-07-13 08:54:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784612)'), GeomFromEWKT('SRID=4674;POINT (-40.02294 -2.784621)'))) / (select extract(epoch from '2026-07-13 08:54:22'::timestamp) - extract(epoch from '2026-07-13 08:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784612)'), GeomFromEWKT('SRID=4674;POINT (-40.02294 -2.784621)'))) / (select extract(epoch from '2026-07-13 08:54:22'::timestamp) - extract(epoch from '2026-07-13 08:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022939 -2.784631)', '2026-07-13 08:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02294 -2.784621)'), GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784631)'))) / (select extract(epoch from '2026-07-13 08:54:33'::timestamp) - extract(epoch from '2026-07-13 08:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02294 -2.784621)'), GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784631)'))) / (select extract(epoch from '2026-07-13 08:54:33'::timestamp) - extract(epoch from '2026-07-13 08:54: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'), 47628, 'SRID=4674;POINT (-40.022949 -2.78463)', '2026-07-13 08:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784631)'), GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.78463)'))) / (select extract(epoch from '2026-07-13 08:54:44'::timestamp) - extract(epoch from '2026-07-13 08:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022939 -2.784631)'), GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.78463)'))) / (select extract(epoch from '2026-07-13 08:54:44'::timestamp) - extract(epoch from '2026-07-13 08:54: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'), 47628, 'SRID=4674;POINT (-40.022946 -2.784629)', '2026-07-13 08:54:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.78463)'), GeomFromEWKT('SRID=4674;POINT (-40.022946 -2.784629)'))) / (select extract(epoch from '2026-07-13 08:54:54'::timestamp) - extract(epoch from '2026-07-13 08:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022949 -2.78463)'), GeomFromEWKT('SRID=4674;POINT (-40.022946 -2.784629)'))) / (select extract(epoch from '2026-07-13 08:54:54'::timestamp) - extract(epoch from '2026-07-13 08:54: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'), 47628, 'SRID=4674;POINT (-40.022948 -2.784618)', '2026-07-13 08:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022946 -2.784629)'), GeomFromEWKT('SRID=4674;POINT (-40.022948 -2.784618)'))) / (select extract(epoch from '2026-07-13 08:55:00'::timestamp) - extract(epoch from '2026-07-13 08:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022946 -2.784629)'), GeomFromEWKT('SRID=4674;POINT (-40.022948 -2.784618)'))) / (select extract(epoch from '2026-07-13 08:55:00'::timestamp) - extract(epoch from '2026-07-13 08:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022947 -2.784629)', '2026-07-13 08:55:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022948 -2.784618)'), GeomFromEWKT('SRID=4674;POINT (-40.022947 -2.784629)'))) / (select extract(epoch from '2026-07-13 08:55:10'::timestamp) - extract(epoch from '2026-07-13 08:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022948 -2.784618)'), GeomFromEWKT('SRID=4674;POINT (-40.022947 -2.784629)'))) / (select extract(epoch from '2026-07-13 08:55:10'::timestamp) - extract(epoch from '2026-07-13 08:55: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'), 47628, 'SRID=4674;POINT (-40.022943 -2.78464)', '2026-07-13 08:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022947 -2.784629)'), GeomFromEWKT('SRID=4674;POINT (-40.022943 -2.78464)'))) / (select extract(epoch from '2026-07-13 08:55:15'::timestamp) - extract(epoch from '2026-07-13 08:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022947 -2.784629)'), GeomFromEWKT('SRID=4674;POINT (-40.022943 -2.78464)'))) / (select extract(epoch from '2026-07-13 08:55:15'::timestamp) - extract(epoch from '2026-07-13 08:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022906 -2.784651)', '2026-07-13 08:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022943 -2.78464)'), GeomFromEWKT('SRID=4674;POINT (-40.022906 -2.784651)'))) / (select extract(epoch from '2026-07-13 08:55:23'::timestamp) - extract(epoch from '2026-07-13 08:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022943 -2.78464)'), GeomFromEWKT('SRID=4674;POINT (-40.022906 -2.784651)'))) / (select extract(epoch from '2026-07-13 08:55:23'::timestamp) - extract(epoch from '2026-07-13 08:55: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'), 47628, 'SRID=4674;POINT (-40.022829 -2.784585)', '2026-07-13 08:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022906 -2.784651)'), GeomFromEWKT('SRID=4674;POINT (-40.022829 -2.784585)'))) / (select extract(epoch from '2026-07-13 08:55:34'::timestamp) - extract(epoch from '2026-07-13 08:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022906 -2.784651)'), GeomFromEWKT('SRID=4674;POINT (-40.022829 -2.784585)'))) / (select extract(epoch from '2026-07-13 08:55:34'::timestamp) - extract(epoch from '2026-07-13 08:55: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'), 47628, 'SRID=4674;POINT (-40.022754 -2.7846)', '2026-07-13 08:55:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022829 -2.784585)'), GeomFromEWKT('SRID=4674;POINT (-40.022754 -2.7846)'))) / (select extract(epoch from '2026-07-13 08:55:43'::timestamp) - extract(epoch from '2026-07-13 08:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022829 -2.784585)'), GeomFromEWKT('SRID=4674;POINT (-40.022754 -2.7846)'))) / (select extract(epoch from '2026-07-13 08:55:43'::timestamp) - extract(epoch from '2026-07-13 08:55: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'), 47628, 'SRID=4674;POINT (-40.022691 -2.784674)', '2026-07-13 08:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022754 -2.7846)'), GeomFromEWKT('SRID=4674;POINT (-40.022691 -2.784674)'))) / (select extract(epoch from '2026-07-13 08:55:52'::timestamp) - extract(epoch from '2026-07-13 08:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022754 -2.7846)'), GeomFromEWKT('SRID=4674;POINT (-40.022691 -2.784674)'))) / (select extract(epoch from '2026-07-13 08:55:52'::timestamp) - extract(epoch from '2026-07-13 08:55: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'), 47628, 'SRID=4674;POINT (-40.022661 -2.784698)', '2026-07-13 08:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022691 -2.784674)'), GeomFromEWKT('SRID=4674;POINT (-40.022661 -2.784698)'))) / (select extract(epoch from '2026-07-13 08:55:59'::timestamp) - extract(epoch from '2026-07-13 08:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022691 -2.784674)'), GeomFromEWKT('SRID=4674;POINT (-40.022661 -2.784698)'))) / (select extract(epoch from '2026-07-13 08:55:59'::timestamp) - extract(epoch from '2026-07-13 08:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022656 -2.784747)', '2026-07-13 08:56:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022661 -2.784698)'), GeomFromEWKT('SRID=4674;POINT (-40.022656 -2.784747)'))) / (select extract(epoch from '2026-07-13 08:56:05'::timestamp) - extract(epoch from '2026-07-13 08:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022661 -2.784698)'), GeomFromEWKT('SRID=4674;POINT (-40.022656 -2.784747)'))) / (select extract(epoch from '2026-07-13 08:56:05'::timestamp) - extract(epoch from '2026-07-13 08:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022656 -2.7848)', '2026-07-13 08:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022656 -2.784747)'), GeomFromEWKT('SRID=4674;POINT (-40.022656 -2.7848)'))) / (select extract(epoch from '2026-07-13 08:56:09'::timestamp) - extract(epoch from '2026-07-13 08:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022656 -2.784747)'), GeomFromEWKT('SRID=4674;POINT (-40.022656 -2.7848)'))) / (select extract(epoch from '2026-07-13 08:56:09'::timestamp) - extract(epoch from '2026-07-13 08:56: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'), 47628, 'SRID=4674;POINT (-40.022657 -2.784815)', '2026-07-13 08:56:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022656 -2.7848)'), GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.784815)'))) / (select extract(epoch from '2026-07-13 08:56:10'::timestamp) - extract(epoch from '2026-07-13 08:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022656 -2.7848)'), GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.784815)'))) / (select extract(epoch from '2026-07-13 08:56:10'::timestamp) - extract(epoch from '2026-07-13 08:56:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022682 -2.78492)', '2026-07-13 08:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.784815)'), GeomFromEWKT('SRID=4674;POINT (-40.022682 -2.78492)'))) / (select extract(epoch from '2026-07-13 08:56:17'::timestamp) - extract(epoch from '2026-07-13 08:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022657 -2.784815)'), GeomFromEWKT('SRID=4674;POINT (-40.022682 -2.78492)'))) / (select extract(epoch from '2026-07-13 08:56:17'::timestamp) - extract(epoch from '2026-07-13 08:56: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'), 47628, 'SRID=4674;POINT (-40.022748 -2.785014)', '2026-07-13 08:56:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022682 -2.78492)'), GeomFromEWKT('SRID=4674;POINT (-40.022748 -2.785014)'))) / (select extract(epoch from '2026-07-13 08:56:24'::timestamp) - extract(epoch from '2026-07-13 08:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022682 -2.78492)'), GeomFromEWKT('SRID=4674;POINT (-40.022748 -2.785014)'))) / (select extract(epoch from '2026-07-13 08:56:24'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.022855 -2.785107)', '2026-07-13 08:56:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022748 -2.785014)'), GeomFromEWKT('SRID=4674;POINT (-40.022855 -2.785107)'))) / (select extract(epoch from '2026-07-13 08:56:32'::timestamp) - extract(epoch from '2026-07-13 08:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022748 -2.785014)'), GeomFromEWKT('SRID=4674;POINT (-40.022855 -2.785107)'))) / (select extract(epoch from '2026-07-13 08:56:32'::timestamp) - extract(epoch from '2026-07-13 08:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.022932 -2.785169)', '2026-07-13 08:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022855 -2.785107)'), GeomFromEWKT('SRID=4674;POINT (-40.022932 -2.785169)'))) / (select extract(epoch from '2026-07-13 08:56:37'::timestamp) - extract(epoch from '2026-07-13 08:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022855 -2.785107)'), GeomFromEWKT('SRID=4674;POINT (-40.022932 -2.785169)'))) / (select extract(epoch from '2026-07-13 08:56:37'::timestamp) - extract(epoch from '2026-07-13 08:56: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'), 47628, 'SRID=4674;POINT (-40.023026 -2.785261)', '2026-07-13 08:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022932 -2.785169)'), GeomFromEWKT('SRID=4674;POINT (-40.023026 -2.785261)'))) / (select extract(epoch from '2026-07-13 08:56:44'::timestamp) - extract(epoch from '2026-07-13 08:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.022932 -2.785169)'), GeomFromEWKT('SRID=4674;POINT (-40.023026 -2.785261)'))) / (select extract(epoch from '2026-07-13 08:56:44'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.023079 -2.785344)', '2026-07-13 08:56:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023026 -2.785261)'), GeomFromEWKT('SRID=4674;POINT (-40.023079 -2.785344)'))) / (select extract(epoch from '2026-07-13 08:56:50'::timestamp) - extract(epoch from '2026-07-13 08:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023026 -2.785261)'), GeomFromEWKT('SRID=4674;POINT (-40.023079 -2.785344)'))) / (select extract(epoch from '2026-07-13 08:56:50'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.023132 -2.785444)', '2026-07-13 08:56:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023079 -2.785344)'), GeomFromEWKT('SRID=4674;POINT (-40.023132 -2.785444)'))) / (select extract(epoch from '2026-07-13 08:56:57'::timestamp) - extract(epoch from '2026-07-13 08:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023079 -2.785344)'), GeomFromEWKT('SRID=4674;POINT (-40.023132 -2.785444)'))) / (select extract(epoch from '2026-07-13 08:56:57'::timestamp) - extract(epoch from '2026-07-13 08:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023168 -2.785522)', '2026-07-13 08:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023132 -2.785444)'), GeomFromEWKT('SRID=4674;POINT (-40.023168 -2.785522)'))) / (select extract(epoch from '2026-07-13 08:57:02'::timestamp) - extract(epoch from '2026-07-13 08:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023132 -2.785444)'), GeomFromEWKT('SRID=4674;POINT (-40.023168 -2.785522)'))) / (select extract(epoch from '2026-07-13 08:57:02'::timestamp) - extract(epoch from '2026-07-13 08:56: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'), 47628, 'SRID=4674;POINT (-40.023215 -2.785612)', '2026-07-13 08:57:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023168 -2.785522)'), GeomFromEWKT('SRID=4674;POINT (-40.023215 -2.785612)'))) / (select extract(epoch from '2026-07-13 08:57:08'::timestamp) - extract(epoch from '2026-07-13 08:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023168 -2.785522)'), GeomFromEWKT('SRID=4674;POINT (-40.023215 -2.785612)'))) / (select extract(epoch from '2026-07-13 08:57:08'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.023261 -2.785708)', '2026-07-13 08:57:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023215 -2.785612)'), GeomFromEWKT('SRID=4674;POINT (-40.023261 -2.785708)'))) / (select extract(epoch from '2026-07-13 08:57:14'::timestamp) - extract(epoch from '2026-07-13 08:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023215 -2.785612)'), GeomFromEWKT('SRID=4674;POINT (-40.023261 -2.785708)'))) / (select extract(epoch from '2026-07-13 08:57:14'::timestamp) - extract(epoch from '2026-07-13 08:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023311 -2.785819)', '2026-07-13 08:57:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023261 -2.785708)'), GeomFromEWKT('SRID=4674;POINT (-40.023311 -2.785819)'))) / (select extract(epoch from '2026-07-13 08:57:21'::timestamp) - extract(epoch from '2026-07-13 08:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023261 -2.785708)'), GeomFromEWKT('SRID=4674;POINT (-40.023311 -2.785819)'))) / (select extract(epoch from '2026-07-13 08:57:21'::timestamp) - extract(epoch from '2026-07-13 08:57: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'), 47628, 'SRID=4674;POINT (-40.023337 -2.785901)', '2026-07-13 08:57:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023311 -2.785819)'), GeomFromEWKT('SRID=4674;POINT (-40.023337 -2.785901)'))) / (select extract(epoch from '2026-07-13 08:57:26'::timestamp) - extract(epoch from '2026-07-13 08:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023311 -2.785819)'), GeomFromEWKT('SRID=4674;POINT (-40.023337 -2.785901)'))) / (select extract(epoch from '2026-07-13 08:57:26'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.023352 -2.785947)', '2026-07-13 08:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023337 -2.785901)'), GeomFromEWKT('SRID=4674;POINT (-40.023352 -2.785947)'))) / (select extract(epoch from '2026-07-13 08:57:29'::timestamp) - extract(epoch from '2026-07-13 08:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023337 -2.785901)'), GeomFromEWKT('SRID=4674;POINT (-40.023352 -2.785947)'))) / (select extract(epoch from '2026-07-13 08:57:29'::timestamp) - extract(epoch from '2026-07-13 08:57: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'), 47628, 'SRID=4674;POINT (-40.023359 -2.785963)', '2026-07-13 08:57:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023352 -2.785947)'), GeomFromEWKT('SRID=4674;POINT (-40.023359 -2.785963)'))) / (select extract(epoch from '2026-07-13 08:57:30'::timestamp) - extract(epoch from '2026-07-13 08:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023352 -2.785947)'), GeomFromEWKT('SRID=4674;POINT (-40.023359 -2.785963)'))) / (select extract(epoch from '2026-07-13 08:57:30'::timestamp) - extract(epoch from '2026-07-13 08:57: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'), 47628, 'SRID=4674;POINT (-40.023371 -2.786053)', '2026-07-13 08:57:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023359 -2.785963)'), GeomFromEWKT('SRID=4674;POINT (-40.023371 -2.786053)'))) / (select extract(epoch from '2026-07-13 08:57:36'::timestamp) - extract(epoch from '2026-07-13 08:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023359 -2.785963)'), GeomFromEWKT('SRID=4674;POINT (-40.023371 -2.786053)'))) / (select extract(epoch from '2026-07-13 08:57:36'::timestamp) - extract(epoch from '2026-07-13 08:57: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'), 47628, 'SRID=4674;POINT (-40.023387 -2.786127)', '2026-07-13 08:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023371 -2.786053)'), GeomFromEWKT('SRID=4674;POINT (-40.023387 -2.786127)'))) / (select extract(epoch from '2026-07-13 08:57:42'::timestamp) - extract(epoch from '2026-07-13 08:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023371 -2.786053)'), GeomFromEWKT('SRID=4674;POINT (-40.023387 -2.786127)'))) / (select extract(epoch from '2026-07-13 08:57:42'::timestamp) - extract(epoch from '2026-07-13 08:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023372 -2.786161)', '2026-07-13 08:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023387 -2.786127)'), GeomFromEWKT('SRID=4674;POINT (-40.023372 -2.786161)'))) / (select extract(epoch from '2026-07-13 08:57:48'::timestamp) - extract(epoch from '2026-07-13 08:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023387 -2.786127)'), GeomFromEWKT('SRID=4674;POINT (-40.023372 -2.786161)'))) / (select extract(epoch from '2026-07-13 08:57:48'::timestamp) - extract(epoch from '2026-07-13 08:57: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'), 47628, 'SRID=4674;POINT (-40.023351 -2.786155)', '2026-07-13 08:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023372 -2.786161)'), GeomFromEWKT('SRID=4674;POINT (-40.023351 -2.786155)'))) / (select extract(epoch from '2026-07-13 08:57:55'::timestamp) - extract(epoch from '2026-07-13 08:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023372 -2.786161)'), GeomFromEWKT('SRID=4674;POINT (-40.023351 -2.786155)'))) / (select extract(epoch from '2026-07-13 08:57:55'::timestamp) - extract(epoch from '2026-07-13 08:57: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'), 47628, 'SRID=4674;POINT (-40.023312 -2.786086)', '2026-07-13 08:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023351 -2.786155)'), GeomFromEWKT('SRID=4674;POINT (-40.023312 -2.786086)'))) / (select extract(epoch from '2026-07-13 08:58:04'::timestamp) - extract(epoch from '2026-07-13 08:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023351 -2.786155)'), GeomFromEWKT('SRID=4674;POINT (-40.023312 -2.786086)'))) / (select extract(epoch from '2026-07-13 08:58:04'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.023302 -2.786043)', '2026-07-13 08:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023312 -2.786086)'), GeomFromEWKT('SRID=4674;POINT (-40.023302 -2.786043)'))) / (select extract(epoch from '2026-07-13 08:58:12'::timestamp) - extract(epoch from '2026-07-13 08:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023312 -2.786086)'), GeomFromEWKT('SRID=4674;POINT (-40.023302 -2.786043)'))) / (select extract(epoch from '2026-07-13 08:58:12'::timestamp) - extract(epoch from '2026-07-13 08:58: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'), 47628, 'SRID=4674;POINT (-40.023345 -2.785992)', '2026-07-13 08:58:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023302 -2.786043)'), GeomFromEWKT('SRID=4674;POINT (-40.023345 -2.785992)'))) / (select extract(epoch from '2026-07-13 08:58:28'::timestamp) - extract(epoch from '2026-07-13 08:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023302 -2.786043)'), GeomFromEWKT('SRID=4674;POINT (-40.023345 -2.785992)'))) / (select extract(epoch from '2026-07-13 08:58:28'::timestamp) - extract(epoch from '2026-07-13 08:58: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'), 47628, 'SRID=4674;POINT (-40.023456 -2.785947)', '2026-07-13 08:58:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023345 -2.785992)'), GeomFromEWKT('SRID=4674;POINT (-40.023456 -2.785947)'))) / (select extract(epoch from '2026-07-13 08:58:56'::timestamp) - extract(epoch from '2026-07-13 08:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023345 -2.785992)'), GeomFromEWKT('SRID=4674;POINT (-40.023456 -2.785947)'))) / (select extract(epoch from '2026-07-13 08:58:56'::timestamp) - extract(epoch from '2026-07-13 08:58:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023455 -2.785946)', '2026-07-13 08:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023456 -2.785947)'), GeomFromEWKT('SRID=4674;POINT (-40.023455 -2.785946)'))) / (select extract(epoch from '2026-07-13 08:59:10'::timestamp) - extract(epoch from '2026-07-13 08:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023456 -2.785947)'), GeomFromEWKT('SRID=4674;POINT (-40.023455 -2.785946)'))) / (select extract(epoch from '2026-07-13 08:59:10'::timestamp) - extract(epoch from '2026-07-13 08:58: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'), 47628, 'SRID=4674;POINT (-40.023472 -2.785968)', '2026-07-13 08:59:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023455 -2.785946)'), GeomFromEWKT('SRID=4674;POINT (-40.023472 -2.785968)'))) / (select extract(epoch from '2026-07-13 08:59:35'::timestamp) - extract(epoch from '2026-07-13 08:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023455 -2.785946)'), GeomFromEWKT('SRID=4674;POINT (-40.023472 -2.785968)'))) / (select extract(epoch from '2026-07-13 08:59:35'::timestamp) - extract(epoch from '2026-07-13 08:59: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'), 47628, 'SRID=4674;POINT (-40.023477 -2.785998)', '2026-07-13 08:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023472 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.023477 -2.785998)'))) / (select extract(epoch from '2026-07-13 08:59:58'::timestamp) - extract(epoch from '2026-07-13 08:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023472 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.023477 -2.785998)'))) / (select extract(epoch from '2026-07-13 08:59:58'::timestamp) - extract(epoch from '2026-07-13 08:59:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023478 -2.786026)', '2026-07-13 09:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023477 -2.785998)'), GeomFromEWKT('SRID=4674;POINT (-40.023478 -2.786026)'))) / (select extract(epoch from '2026-07-13 09:00:23'::timestamp) - extract(epoch from '2026-07-13 08:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023477 -2.785998)'), GeomFromEWKT('SRID=4674;POINT (-40.023478 -2.786026)'))) / (select extract(epoch from '2026-07-13 09:00:23'::timestamp) - extract(epoch from '2026-07-13 08: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'), 47628, 'SRID=4674;POINT (-40.023475 -2.786019)', '2026-07-13 09:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023478 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.023475 -2.786019)'))) / (select extract(epoch from '2026-07-13 09:00:44'::timestamp) - extract(epoch from '2026-07-13 09:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023478 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.023475 -2.786019)'))) / (select extract(epoch from '2026-07-13 09:00:44'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.023473 -2.78602)', '2026-07-13 09:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023475 -2.786019)'), GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.78602)'))) / (select extract(epoch from '2026-07-13 09:00:54'::timestamp) - extract(epoch from '2026-07-13 09:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023475 -2.786019)'), GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.78602)'))) / (select extract(epoch from '2026-07-13 09:00:54'::timestamp) - extract(epoch from '2026-07-13 09:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023473 -2.786024)', '2026-07-13 09:01:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.78602)'), GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.786024)'))) / (select extract(epoch from '2026-07-13 09:01:05'::timestamp) - extract(epoch from '2026-07-13 09:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.78602)'), GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.786024)'))) / (select extract(epoch from '2026-07-13 09:01:05'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.023471 -2.786026)', '2026-07-13 09:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.786024)'), GeomFromEWKT('SRID=4674;POINT (-40.023471 -2.786026)'))) / (select extract(epoch from '2026-07-13 09:01:22'::timestamp) - extract(epoch from '2026-07-13 09:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023473 -2.786024)'), GeomFromEWKT('SRID=4674;POINT (-40.023471 -2.786026)'))) / (select extract(epoch from '2026-07-13 09:01:22'::timestamp) - extract(epoch from '2026-07-13 09:01: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'), 47628, 'SRID=4674;POINT (-40.023461 -2.786054)', '2026-07-13 09:01:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023471 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.023461 -2.786054)'))) / (select extract(epoch from '2026-07-13 09:01:30'::timestamp) - extract(epoch from '2026-07-13 09:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023471 -2.786026)'), GeomFromEWKT('SRID=4674;POINT (-40.023461 -2.786054)'))) / (select extract(epoch from '2026-07-13 09:01:30'::timestamp) - extract(epoch from '2026-07-13 09:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023379 -2.78602)', '2026-07-13 09:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023461 -2.786054)'), GeomFromEWKT('SRID=4674;POINT (-40.023379 -2.78602)'))) / (select extract(epoch from '2026-07-13 09:01:39'::timestamp) - extract(epoch from '2026-07-13 09:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023461 -2.786054)'), GeomFromEWKT('SRID=4674;POINT (-40.023379 -2.78602)'))) / (select extract(epoch from '2026-07-13 09:01:39'::timestamp) - extract(epoch from '2026-07-13 09:01: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'), 47628, 'SRID=4674;POINT (-40.023303 -2.785984)', '2026-07-13 09:01:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023379 -2.78602)'), GeomFromEWKT('SRID=4674;POINT (-40.023303 -2.785984)'))) / (select extract(epoch from '2026-07-13 09:01:48'::timestamp) - extract(epoch from '2026-07-13 09:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023379 -2.78602)'), GeomFromEWKT('SRID=4674;POINT (-40.023303 -2.785984)'))) / (select extract(epoch from '2026-07-13 09:01:48'::timestamp) - extract(epoch from '2026-07-13 09:01: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'), 47628, 'SRID=4674;POINT (-40.023265 -2.786022)', '2026-07-13 09:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023303 -2.785984)'), GeomFromEWKT('SRID=4674;POINT (-40.023265 -2.786022)'))) / (select extract(epoch from '2026-07-13 09:01:57'::timestamp) - extract(epoch from '2026-07-13 09:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023303 -2.785984)'), GeomFromEWKT('SRID=4674;POINT (-40.023265 -2.786022)'))) / (select extract(epoch from '2026-07-13 09:01:57'::timestamp) - extract(epoch from '2026-07-13 09:01: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'), 47628, 'SRID=4674;POINT (-40.023272 -2.786123)', '2026-07-13 09:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023265 -2.786022)'), GeomFromEWKT('SRID=4674;POINT (-40.023272 -2.786123)'))) / (select extract(epoch from '2026-07-13 09:02:07'::timestamp) - extract(epoch from '2026-07-13 09:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023265 -2.786022)'), GeomFromEWKT('SRID=4674;POINT (-40.023272 -2.786123)'))) / (select extract(epoch from '2026-07-13 09:02:07'::timestamp) - extract(epoch from '2026-07-13 09:01: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'), 47628, 'SRID=4674;POINT (-40.023308 -2.786179)', '2026-07-13 09:02:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023272 -2.786123)'), GeomFromEWKT('SRID=4674;POINT (-40.023308 -2.786179)'))) / (select extract(epoch from '2026-07-13 09:02:12'::timestamp) - extract(epoch from '2026-07-13 09:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023272 -2.786123)'), GeomFromEWKT('SRID=4674;POINT (-40.023308 -2.786179)'))) / (select extract(epoch from '2026-07-13 09:02:12'::timestamp) - extract(epoch from '2026-07-13 09:02:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023319 -2.786191)', '2026-07-13 09:02:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023308 -2.786179)'), GeomFromEWKT('SRID=4674;POINT (-40.023319 -2.786191)'))) / (select extract(epoch from '2026-07-13 09:02:13'::timestamp) - extract(epoch from '2026-07-13 09:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023308 -2.786179)'), GeomFromEWKT('SRID=4674;POINT (-40.023319 -2.786191)'))) / (select extract(epoch from '2026-07-13 09:02:13'::timestamp) - extract(epoch from '2026-07-13 09:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023403 -2.786281)', '2026-07-13 09:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023319 -2.786191)'), GeomFromEWKT('SRID=4674;POINT (-40.023403 -2.786281)'))) / (select extract(epoch from '2026-07-13 09:02:20'::timestamp) - extract(epoch from '2026-07-13 09:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023319 -2.786191)'), GeomFromEWKT('SRID=4674;POINT (-40.023403 -2.786281)'))) / (select extract(epoch from '2026-07-13 09:02:20'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.023468 -2.786366)', '2026-07-13 09:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023403 -2.786281)'), GeomFromEWKT('SRID=4674;POINT (-40.023468 -2.786366)'))) / (select extract(epoch from '2026-07-13 09:02:26'::timestamp) - extract(epoch from '2026-07-13 09:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023403 -2.786281)'), GeomFromEWKT('SRID=4674;POINT (-40.023468 -2.786366)'))) / (select extract(epoch from '2026-07-13 09:02:26'::timestamp) - extract(epoch from '2026-07-13 09:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023499 -2.78641)', '2026-07-13 09:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023468 -2.786366)'), GeomFromEWKT('SRID=4674;POINT (-40.023499 -2.78641)'))) / (select extract(epoch from '2026-07-13 09:02:29'::timestamp) - extract(epoch from '2026-07-13 09:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023468 -2.786366)'), GeomFromEWKT('SRID=4674;POINT (-40.023499 -2.78641)'))) / (select extract(epoch from '2026-07-13 09:02:29'::timestamp) - extract(epoch from '2026-07-13 09:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023524 -2.786439)', '2026-07-13 09:02:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023499 -2.78641)'), GeomFromEWKT('SRID=4674;POINT (-40.023524 -2.786439)'))) / (select extract(epoch from '2026-07-13 09:02:31'::timestamp) - extract(epoch from '2026-07-13 09:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023499 -2.78641)'), GeomFromEWKT('SRID=4674;POINT (-40.023524 -2.786439)'))) / (select extract(epoch from '2026-07-13 09:02:31'::timestamp) - extract(epoch from '2026-07-13 09:02: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'), 47628, 'SRID=4674;POINT (-40.023588 -2.786527)', '2026-07-13 09:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023524 -2.786439)'), GeomFromEWKT('SRID=4674;POINT (-40.023588 -2.786527)'))) / (select extract(epoch from '2026-07-13 09:02:37'::timestamp) - extract(epoch from '2026-07-13 09:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023524 -2.786439)'), GeomFromEWKT('SRID=4674;POINT (-40.023588 -2.786527)'))) / (select extract(epoch from '2026-07-13 09:02:37'::timestamp) - extract(epoch from '2026-07-13 09:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023631 -2.786604)', '2026-07-13 09:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023588 -2.786527)'), GeomFromEWKT('SRID=4674;POINT (-40.023631 -2.786604)'))) / (select extract(epoch from '2026-07-13 09:02:42'::timestamp) - extract(epoch from '2026-07-13 09:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023588 -2.786527)'), GeomFromEWKT('SRID=4674;POINT (-40.023631 -2.786604)'))) / (select extract(epoch from '2026-07-13 09:02:42'::timestamp) - extract(epoch from '2026-07-13 09:02: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'), 47628, 'SRID=4674;POINT (-40.023671 -2.78668)', '2026-07-13 09:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023631 -2.786604)'), GeomFromEWKT('SRID=4674;POINT (-40.023671 -2.78668)'))) / (select extract(epoch from '2026-07-13 09:02:47'::timestamp) - extract(epoch from '2026-07-13 09:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023631 -2.786604)'), GeomFromEWKT('SRID=4674;POINT (-40.023671 -2.78668)'))) / (select extract(epoch from '2026-07-13 09:02:47'::timestamp) - extract(epoch from '2026-07-13 09:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023696 -2.786745)', '2026-07-13 09:02:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023671 -2.78668)'), GeomFromEWKT('SRID=4674;POINT (-40.023696 -2.786745)'))) / (select extract(epoch from '2026-07-13 09:02:51'::timestamp) - extract(epoch from '2026-07-13 09:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023671 -2.78668)'), GeomFromEWKT('SRID=4674;POINT (-40.023696 -2.786745)'))) / (select extract(epoch from '2026-07-13 09:02:51'::timestamp) - extract(epoch from '2026-07-13 09:02: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'), 47628, 'SRID=4674;POINT (-40.023703 -2.786777)', '2026-07-13 09:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023696 -2.786745)'), GeomFromEWKT('SRID=4674;POINT (-40.023703 -2.786777)'))) / (select extract(epoch from '2026-07-13 09:02:53'::timestamp) - extract(epoch from '2026-07-13 09:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023696 -2.786745)'), GeomFromEWKT('SRID=4674;POINT (-40.023703 -2.786777)'))) / (select extract(epoch from '2026-07-13 09:02:53'::timestamp) - extract(epoch from '2026-07-13 09:02: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'), 47628, 'SRID=4674;POINT (-40.023755 -2.786866)', '2026-07-13 09:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023703 -2.786777)'), GeomFromEWKT('SRID=4674;POINT (-40.023755 -2.786866)'))) / (select extract(epoch from '2026-07-13 09:02:59'::timestamp) - extract(epoch from '2026-07-13 09:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023703 -2.786777)'), GeomFromEWKT('SRID=4674;POINT (-40.023755 -2.786866)'))) / (select extract(epoch from '2026-07-13 09:02:59'::timestamp) - extract(epoch from '2026-07-13 09:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023855 -2.786949)', '2026-07-13 09:03:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023755 -2.786866)'), GeomFromEWKT('SRID=4674;POINT (-40.023855 -2.786949)'))) / (select extract(epoch from '2026-07-13 09:03:06'::timestamp) - extract(epoch from '2026-07-13 09:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023755 -2.786866)'), GeomFromEWKT('SRID=4674;POINT (-40.023855 -2.786949)'))) / (select extract(epoch from '2026-07-13 09:03:06'::timestamp) - extract(epoch from '2026-07-13 09:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023925 -2.787013)', '2026-07-13 09:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023855 -2.786949)'), GeomFromEWKT('SRID=4674;POINT (-40.023925 -2.787013)'))) / (select extract(epoch from '2026-07-13 09:03:11'::timestamp) - extract(epoch from '2026-07-13 09:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023855 -2.786949)'), GeomFromEWKT('SRID=4674;POINT (-40.023925 -2.787013)'))) / (select extract(epoch from '2026-07-13 09:03:11'::timestamp) - extract(epoch from '2026-07-13 09:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.023991 -2.787093)', '2026-07-13 09:03:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023925 -2.787013)'), GeomFromEWKT('SRID=4674;POINT (-40.023991 -2.787093)'))) / (select extract(epoch from '2026-07-13 09:03:17'::timestamp) - extract(epoch from '2026-07-13 09:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023925 -2.787013)'), GeomFromEWKT('SRID=4674;POINT (-40.023991 -2.787093)'))) / (select extract(epoch from '2026-07-13 09:03:17'::timestamp) - extract(epoch from '2026-07-13 09:03: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'), 47628, 'SRID=4674;POINT (-40.024069 -2.787154)', '2026-07-13 09:03:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023991 -2.787093)'), GeomFromEWKT('SRID=4674;POINT (-40.024069 -2.787154)'))) / (select extract(epoch from '2026-07-13 09:03:23'::timestamp) - extract(epoch from '2026-07-13 09:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.023991 -2.787093)'), GeomFromEWKT('SRID=4674;POINT (-40.024069 -2.787154)'))) / (select extract(epoch from '2026-07-13 09:03:23'::timestamp) - extract(epoch from '2026-07-13 09:03: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'), 47628, 'SRID=4674;POINT (-40.024119 -2.787205)', '2026-07-13 09:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024069 -2.787154)'), GeomFromEWKT('SRID=4674;POINT (-40.024119 -2.787205)'))) / (select extract(epoch from '2026-07-13 09:03:28'::timestamp) - extract(epoch from '2026-07-13 09:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024069 -2.787154)'), GeomFromEWKT('SRID=4674;POINT (-40.024119 -2.787205)'))) / (select extract(epoch from '2026-07-13 09:03:28'::timestamp) - extract(epoch from '2026-07-13 09:03: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'), 47628, 'SRID=4674;POINT (-40.024131 -2.787225)', '2026-07-13 09:03:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024119 -2.787205)'), GeomFromEWKT('SRID=4674;POINT (-40.024131 -2.787225)'))) / (select extract(epoch from '2026-07-13 09:03:30'::timestamp) - extract(epoch from '2026-07-13 09:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024119 -2.787205)'), GeomFromEWKT('SRID=4674;POINT (-40.024131 -2.787225)'))) / (select extract(epoch from '2026-07-13 09:03:30'::timestamp) - extract(epoch from '2026-07-13 09:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024148 -2.78725)', '2026-07-13 09:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024131 -2.787225)'), GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.78725)'))) / (select extract(epoch from '2026-07-13 09:03:33'::timestamp) - extract(epoch from '2026-07-13 09:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024131 -2.787225)'), GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.78725)'))) / (select extract(epoch from '2026-07-13 09:03:33'::timestamp) - extract(epoch from '2026-07-13 09:03: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'), 47628, 'SRID=4674;POINT (-40.024157 -2.787258)', '2026-07-13 09:03:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.78725)'), GeomFromEWKT('SRID=4674;POINT (-40.024157 -2.787258)'))) / (select extract(epoch from '2026-07-13 09:03:34'::timestamp) - extract(epoch from '2026-07-13 09:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024148 -2.78725)'), GeomFromEWKT('SRID=4674;POINT (-40.024157 -2.787258)'))) / (select extract(epoch from '2026-07-13 09:03:34'::timestamp) - extract(epoch from '2026-07-13 09:03: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'), 47628, 'SRID=4674;POINT (-40.024176 -2.787272)', '2026-07-13 09:03:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024157 -2.787258)'), GeomFromEWKT('SRID=4674;POINT (-40.024176 -2.787272)'))) / (select extract(epoch from '2026-07-13 09:03:36'::timestamp) - extract(epoch from '2026-07-13 09:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024157 -2.787258)'), GeomFromEWKT('SRID=4674;POINT (-40.024176 -2.787272)'))) / (select extract(epoch from '2026-07-13 09:03:36'::timestamp) - extract(epoch from '2026-07-13 09:03:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024188 -2.787277)', '2026-07-13 09:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024176 -2.787272)'), GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.787277)'))) / (select extract(epoch from '2026-07-13 09:03:37'::timestamp) - extract(epoch from '2026-07-13 09:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024176 -2.787272)'), GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.787277)'))) / (select extract(epoch from '2026-07-13 09:03:37'::timestamp) - extract(epoch from '2026-07-13 09:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024204 -2.787279)', '2026-07-13 09:03:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.787277)'), GeomFromEWKT('SRID=4674;POINT (-40.024204 -2.787279)'))) / (select extract(epoch from '2026-07-13 09:03:38'::timestamp) - extract(epoch from '2026-07-13 09:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024188 -2.787277)'), GeomFromEWKT('SRID=4674;POINT (-40.024204 -2.787279)'))) / (select extract(epoch from '2026-07-13 09:03:38'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024262 -2.787272)', '2026-07-13 09:03:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024204 -2.787279)'), GeomFromEWKT('SRID=4674;POINT (-40.024262 -2.787272)'))) / (select extract(epoch from '2026-07-13 09:03:42'::timestamp) - extract(epoch from '2026-07-13 09:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024204 -2.787279)'), GeomFromEWKT('SRID=4674;POINT (-40.024262 -2.787272)'))) / (select extract(epoch from '2026-07-13 09:03:42'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.02431 -2.787237)', '2026-07-13 09:03:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024262 -2.787272)'), GeomFromEWKT('SRID=4674;POINT (-40.02431 -2.787237)'))) / (select extract(epoch from '2026-07-13 09:03:47'::timestamp) - extract(epoch from '2026-07-13 09:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024262 -2.787272)'), GeomFromEWKT('SRID=4674;POINT (-40.02431 -2.787237)'))) / (select extract(epoch from '2026-07-13 09:03:47'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024339 -2.787206)', '2026-07-13 09:03:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02431 -2.787237)'), GeomFromEWKT('SRID=4674;POINT (-40.024339 -2.787206)'))) / (select extract(epoch from '2026-07-13 09:03:52'::timestamp) - extract(epoch from '2026-07-13 09:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02431 -2.787237)'), GeomFromEWKT('SRID=4674;POINT (-40.024339 -2.787206)'))) / (select extract(epoch from '2026-07-13 09:03:52'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024379 -2.787167)', '2026-07-13 09:04:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024339 -2.787206)'), GeomFromEWKT('SRID=4674;POINT (-40.024379 -2.787167)'))) / (select extract(epoch from '2026-07-13 09:04:01'::timestamp) - extract(epoch from '2026-07-13 09:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024339 -2.787206)'), GeomFromEWKT('SRID=4674;POINT (-40.024379 -2.787167)'))) / (select extract(epoch from '2026-07-13 09:04:01'::timestamp) - extract(epoch from '2026-07-13 09:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024416 -2.787149)', '2026-07-13 09:04:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024379 -2.787167)'), GeomFromEWKT('SRID=4674;POINT (-40.024416 -2.787149)'))) / (select extract(epoch from '2026-07-13 09:04:10'::timestamp) - extract(epoch from '2026-07-13 09:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024379 -2.787167)'), GeomFromEWKT('SRID=4674;POINT (-40.024416 -2.787149)'))) / (select extract(epoch from '2026-07-13 09:04:10'::timestamp) - extract(epoch from '2026-07-13 09:04: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'), 47628, 'SRID=4674;POINT (-40.024426 -2.787133)', '2026-07-13 09:04:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024416 -2.787149)'), GeomFromEWKT('SRID=4674;POINT (-40.024426 -2.787133)'))) / (select extract(epoch from '2026-07-13 09:04:26'::timestamp) - extract(epoch from '2026-07-13 09:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024416 -2.787149)'), GeomFromEWKT('SRID=4674;POINT (-40.024426 -2.787133)'))) / (select extract(epoch from '2026-07-13 09:04:26'::timestamp) - extract(epoch from '2026-07-13 09:04: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'), 47628, 'SRID=4674;POINT (-40.02443 -2.78715)', '2026-07-13 09:04:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024426 -2.787133)'), GeomFromEWKT('SRID=4674;POINT (-40.02443 -2.78715)'))) / (select extract(epoch from '2026-07-13 09:04:41'::timestamp) - extract(epoch from '2026-07-13 09:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024426 -2.787133)'), GeomFromEWKT('SRID=4674;POINT (-40.02443 -2.78715)'))) / (select extract(epoch from '2026-07-13 09:04:41'::timestamp) - extract(epoch from '2026-07-13 09:04: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'), 47628, 'SRID=4674;POINT (-40.024437 -2.787165)', '2026-07-13 09:05:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02443 -2.78715)'), GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.787165)'))) / (select extract(epoch from '2026-07-13 09:05:01'::timestamp) - extract(epoch from '2026-07-13 09:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02443 -2.78715)'), GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.787165)'))) / (select extract(epoch from '2026-07-13 09:05:01'::timestamp) - extract(epoch from '2026-07-13 09:04: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'), 47628, 'SRID=4674;POINT (-40.024441 -2.787182)', '2026-07-13 09:05:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.787165)'), GeomFromEWKT('SRID=4674;POINT (-40.024441 -2.787182)'))) / (select extract(epoch from '2026-07-13 09:05:24'::timestamp) - extract(epoch from '2026-07-13 09:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024437 -2.787165)'), GeomFromEWKT('SRID=4674;POINT (-40.024441 -2.787182)'))) / (select extract(epoch from '2026-07-13 09:05:24'::timestamp) - extract(epoch from '2026-07-13 09:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024421 -2.787176)', '2026-07-13 09:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024441 -2.787182)'), GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.787176)'))) / (select extract(epoch from '2026-07-13 09:05:42'::timestamp) - extract(epoch from '2026-07-13 09:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024441 -2.787182)'), GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.787176)'))) / (select extract(epoch from '2026-07-13 09:05:42'::timestamp) - extract(epoch from '2026-07-13 09:05: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'), 47628, 'SRID=4674;POINT (-40.024385 -2.787164)', '2026-07-13 09:05:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.787176)'), GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.787164)'))) / (select extract(epoch from '2026-07-13 09:05:48'::timestamp) - extract(epoch from '2026-07-13 09:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024421 -2.787176)'), GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.787164)'))) / (select extract(epoch from '2026-07-13 09:05:48'::timestamp) - extract(epoch from '2026-07-13 09:05: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'), 47628, 'SRID=4674;POINT (-40.024346 -2.787161)', '2026-07-13 09:05:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.787164)'), GeomFromEWKT('SRID=4674;POINT (-40.024346 -2.787161)'))) / (select extract(epoch from '2026-07-13 09:05:53'::timestamp) - extract(epoch from '2026-07-13 09:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024385 -2.787164)'), GeomFromEWKT('SRID=4674;POINT (-40.024346 -2.787161)'))) / (select extract(epoch from '2026-07-13 09:05:53'::timestamp) - extract(epoch from '2026-07-13 09:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024337 -2.787163)', '2026-07-13 09:05:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024346 -2.787161)'), GeomFromEWKT('SRID=4674;POINT (-40.024337 -2.787163)'))) / (select extract(epoch from '2026-07-13 09:05:54'::timestamp) - extract(epoch from '2026-07-13 09:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024346 -2.787161)'), GeomFromEWKT('SRID=4674;POINT (-40.024337 -2.787163)'))) / (select extract(epoch from '2026-07-13 09:05:54'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024322 -2.787161)', '2026-07-13 09:05:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024337 -2.787163)'), GeomFromEWKT('SRID=4674;POINT (-40.024322 -2.787161)'))) / (select extract(epoch from '2026-07-13 09:05:56'::timestamp) - extract(epoch from '2026-07-13 09:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024337 -2.787163)'), GeomFromEWKT('SRID=4674;POINT (-40.024322 -2.787161)'))) / (select extract(epoch from '2026-07-13 09:05:56'::timestamp) - extract(epoch from '2026-07-13 09:05: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'), 47628, 'SRID=4674;POINT (-40.024308 -2.787164)', '2026-07-13 09:05:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024322 -2.787161)'), GeomFromEWKT('SRID=4674;POINT (-40.024308 -2.787164)'))) / (select extract(epoch from '2026-07-13 09:05:59'::timestamp) - extract(epoch from '2026-07-13 09:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024322 -2.787161)'), GeomFromEWKT('SRID=4674;POINT (-40.024308 -2.787164)'))) / (select extract(epoch from '2026-07-13 09:05:59'::timestamp) - extract(epoch from '2026-07-13 09:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024281 -2.787178)', '2026-07-13 09:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024308 -2.787164)'), GeomFromEWKT('SRID=4674;POINT (-40.024281 -2.787178)'))) / (select extract(epoch from '2026-07-13 09:06:06'::timestamp) - extract(epoch from '2026-07-13 09:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024308 -2.787164)'), GeomFromEWKT('SRID=4674;POINT (-40.024281 -2.787178)'))) / (select extract(epoch from '2026-07-13 09:06:06'::timestamp) - extract(epoch from '2026-07-13 09:05: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'), 47628, 'SRID=4674;POINT (-40.024281 -2.787254)', '2026-07-13 09:06:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024281 -2.787178)'), GeomFromEWKT('SRID=4674;POINT (-40.024281 -2.787254)'))) / (select extract(epoch from '2026-07-13 09:06:16'::timestamp) - extract(epoch from '2026-07-13 09:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024281 -2.787178)'), GeomFromEWKT('SRID=4674;POINT (-40.024281 -2.787254)'))) / (select extract(epoch from '2026-07-13 09:06:16'::timestamp) - extract(epoch from '2026-07-13 09:06: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'), 47628, 'SRID=4674;POINT (-40.024314 -2.78735)', '2026-07-13 09:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024281 -2.787254)'), GeomFromEWKT('SRID=4674;POINT (-40.024314 -2.78735)'))) / (select extract(epoch from '2026-07-13 09:06:23'::timestamp) - extract(epoch from '2026-07-13 09:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024281 -2.787254)'), GeomFromEWKT('SRID=4674;POINT (-40.024314 -2.78735)'))) / (select extract(epoch from '2026-07-13 09:06:23'::timestamp) - extract(epoch from '2026-07-13 09:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02433 -2.787393)', '2026-07-13 09:06:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024314 -2.78735)'), GeomFromEWKT('SRID=4674;POINT (-40.02433 -2.787393)'))) / (select extract(epoch from '2026-07-13 09:06:26'::timestamp) - extract(epoch from '2026-07-13 09:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024314 -2.78735)'), GeomFromEWKT('SRID=4674;POINT (-40.02433 -2.787393)'))) / (select extract(epoch from '2026-07-13 09:06:26'::timestamp) - extract(epoch from '2026-07-13 09:06: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'), 47628, 'SRID=4674;POINT (-40.024345 -2.787439)', '2026-07-13 09:06:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02433 -2.787393)'), GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.787439)'))) / (select extract(epoch from '2026-07-13 09:06:29'::timestamp) - extract(epoch from '2026-07-13 09:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02433 -2.787393)'), GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.787439)'))) / (select extract(epoch from '2026-07-13 09:06:29'::timestamp) - extract(epoch from '2026-07-13 09:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024369 -2.787553)', '2026-07-13 09:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.787439)'), GeomFromEWKT('SRID=4674;POINT (-40.024369 -2.787553)'))) / (select extract(epoch from '2026-07-13 09:06:36'::timestamp) - extract(epoch from '2026-07-13 09:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024345 -2.787439)'), GeomFromEWKT('SRID=4674;POINT (-40.024369 -2.787553)'))) / (select extract(epoch from '2026-07-13 09:06:36'::timestamp) - extract(epoch from '2026-07-13 09:06: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'), 47628, 'SRID=4674;POINT (-40.024395 -2.787615)', '2026-07-13 09:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024369 -2.787553)'), GeomFromEWKT('SRID=4674;POINT (-40.024395 -2.787615)'))) / (select extract(epoch from '2026-07-13 09:06:40'::timestamp) - extract(epoch from '2026-07-13 09:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024369 -2.787553)'), GeomFromEWKT('SRID=4674;POINT (-40.024395 -2.787615)'))) / (select extract(epoch from '2026-07-13 09:06:40'::timestamp) - extract(epoch from '2026-07-13 09:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024405 -2.787629)', '2026-07-13 09:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024395 -2.787615)'), GeomFromEWKT('SRID=4674;POINT (-40.024405 -2.787629)'))) / (select extract(epoch from '2026-07-13 09:06:41'::timestamp) - extract(epoch from '2026-07-13 09:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024395 -2.787615)'), GeomFromEWKT('SRID=4674;POINT (-40.024405 -2.787629)'))) / (select extract(epoch from '2026-07-13 09:06:41'::timestamp) - extract(epoch from '2026-07-13 09:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024439 -2.787692)', '2026-07-13 09:06:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024405 -2.787629)'), GeomFromEWKT('SRID=4674;POINT (-40.024439 -2.787692)'))) / (select extract(epoch from '2026-07-13 09:06:45'::timestamp) - extract(epoch from '2026-07-13 09:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024405 -2.787629)'), GeomFromEWKT('SRID=4674;POINT (-40.024439 -2.787692)'))) / (select extract(epoch from '2026-07-13 09:06:45'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024451 -2.787722)', '2026-07-13 09:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024439 -2.787692)'), GeomFromEWKT('SRID=4674;POINT (-40.024451 -2.787722)'))) / (select extract(epoch from '2026-07-13 09:06:47'::timestamp) - extract(epoch from '2026-07-13 09:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024439 -2.787692)'), GeomFromEWKT('SRID=4674;POINT (-40.024451 -2.787722)'))) / (select extract(epoch from '2026-07-13 09:06:47'::timestamp) - extract(epoch from '2026-07-13 09:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024463 -2.787784)', '2026-07-13 09:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024451 -2.787722)'), GeomFromEWKT('SRID=4674;POINT (-40.024463 -2.787784)'))) / (select extract(epoch from '2026-07-13 09:06:51'::timestamp) - extract(epoch from '2026-07-13 09:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024451 -2.787722)'), GeomFromEWKT('SRID=4674;POINT (-40.024463 -2.787784)'))) / (select extract(epoch from '2026-07-13 09:06:51'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024464 -2.787798)', '2026-07-13 09:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024463 -2.787784)'), GeomFromEWKT('SRID=4674;POINT (-40.024464 -2.787798)'))) / (select extract(epoch from '2026-07-13 09:06:52'::timestamp) - extract(epoch from '2026-07-13 09:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024463 -2.787784)'), GeomFromEWKT('SRID=4674;POINT (-40.024464 -2.787798)'))) / (select extract(epoch from '2026-07-13 09:06:52'::timestamp) - extract(epoch from '2026-07-13 09:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024485 -2.787882)', '2026-07-13 09:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024464 -2.787798)'), GeomFromEWKT('SRID=4674;POINT (-40.024485 -2.787882)'))) / (select extract(epoch from '2026-07-13 09:06:57'::timestamp) - extract(epoch from '2026-07-13 09:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024464 -2.787798)'), GeomFromEWKT('SRID=4674;POINT (-40.024485 -2.787882)'))) / (select extract(epoch from '2026-07-13 09:06:57'::timestamp) - extract(epoch from '2026-07-13 09:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024492 -2.787897)', '2026-07-13 09:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024485 -2.787882)'), GeomFromEWKT('SRID=4674;POINT (-40.024492 -2.787897)'))) / (select extract(epoch from '2026-07-13 09:06:58'::timestamp) - extract(epoch from '2026-07-13 09:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024485 -2.787882)'), GeomFromEWKT('SRID=4674;POINT (-40.024492 -2.787897)'))) / (select extract(epoch from '2026-07-13 09:06:58'::timestamp) - extract(epoch from '2026-07-13 09:06: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'), 47628, 'SRID=4674;POINT (-40.024512 -2.788001)', '2026-07-13 09:07:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024492 -2.787897)'), GeomFromEWKT('SRID=4674;POINT (-40.024512 -2.788001)'))) / (select extract(epoch from '2026-07-13 09:07:04'::timestamp) - extract(epoch from '2026-07-13 09:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024492 -2.787897)'), GeomFromEWKT('SRID=4674;POINT (-40.024512 -2.788001)'))) / (select extract(epoch from '2026-07-13 09:07:04'::timestamp) - extract(epoch from '2026-07-13 09:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024516 -2.788015)', '2026-07-13 09:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024512 -2.788001)'), GeomFromEWKT('SRID=4674;POINT (-40.024516 -2.788015)'))) / (select extract(epoch from '2026-07-13 09:07:05'::timestamp) - extract(epoch from '2026-07-13 09:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024512 -2.788001)'), GeomFromEWKT('SRID=4674;POINT (-40.024516 -2.788015)'))) / (select extract(epoch from '2026-07-13 09:07:05'::timestamp) - extract(epoch from '2026-07-13 09:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024527 -2.788062)', '2026-07-13 09:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024516 -2.788015)'), GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.788062)'))) / (select extract(epoch from '2026-07-13 09:07:08'::timestamp) - extract(epoch from '2026-07-13 09:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024516 -2.788015)'), GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.788062)'))) / (select extract(epoch from '2026-07-13 09:07:08'::timestamp) - extract(epoch from '2026-07-13 09:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024548 -2.788138)', '2026-07-13 09:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.788062)'), GeomFromEWKT('SRID=4674;POINT (-40.024548 -2.788138)'))) / (select extract(epoch from '2026-07-13 09:07:13'::timestamp) - extract(epoch from '2026-07-13 09:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024527 -2.788062)'), GeomFromEWKT('SRID=4674;POINT (-40.024548 -2.788138)'))) / (select extract(epoch from '2026-07-13 09:07:13'::timestamp) - extract(epoch from '2026-07-13 09:07: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'), 47628, 'SRID=4674;POINT (-40.024569 -2.788245)', '2026-07-13 09:07:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024548 -2.788138)'), GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.788245)'))) / (select extract(epoch from '2026-07-13 09:07:20'::timestamp) - extract(epoch from '2026-07-13 09:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024548 -2.788138)'), GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.788245)'))) / (select extract(epoch from '2026-07-13 09:07:20'::timestamp) - extract(epoch from '2026-07-13 09:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024592 -2.788344)', '2026-07-13 09:07:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.788245)'), GeomFromEWKT('SRID=4674;POINT (-40.024592 -2.788344)'))) / (select extract(epoch from '2026-07-13 09:07:26'::timestamp) - extract(epoch from '2026-07-13 09:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024569 -2.788245)'), GeomFromEWKT('SRID=4674;POINT (-40.024592 -2.788344)'))) / (select extract(epoch from '2026-07-13 09:07:26'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024594 -2.788361)', '2026-07-13 09:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024592 -2.788344)'), GeomFromEWKT('SRID=4674;POINT (-40.024594 -2.788361)'))) / (select extract(epoch from '2026-07-13 09:07:27'::timestamp) - extract(epoch from '2026-07-13 09:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024592 -2.788344)'), GeomFromEWKT('SRID=4674;POINT (-40.024594 -2.788361)'))) / (select extract(epoch from '2026-07-13 09:07:27'::timestamp) - extract(epoch from '2026-07-13 09:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024599 -2.788421)', '2026-07-13 09:07:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024594 -2.788361)'), GeomFromEWKT('SRID=4674;POINT (-40.024599 -2.788421)'))) / (select extract(epoch from '2026-07-13 09:07:31'::timestamp) - extract(epoch from '2026-07-13 09:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024594 -2.788361)'), GeomFromEWKT('SRID=4674;POINT (-40.024599 -2.788421)'))) / (select extract(epoch from '2026-07-13 09:07:31'::timestamp) - extract(epoch from '2026-07-13 09:07: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'), 47628, 'SRID=4674;POINT (-40.024636 -2.788511)', '2026-07-13 09:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024599 -2.788421)'), GeomFromEWKT('SRID=4674;POINT (-40.024636 -2.788511)'))) / (select extract(epoch from '2026-07-13 09:07:39'::timestamp) - extract(epoch from '2026-07-13 09:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024599 -2.788421)'), GeomFromEWKT('SRID=4674;POINT (-40.024636 -2.788511)'))) / (select extract(epoch from '2026-07-13 09:07:39'::timestamp) - extract(epoch from '2026-07-13 09:07: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'), 47628, 'SRID=4674;POINT (-40.024645 -2.788519)', '2026-07-13 09:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024636 -2.788511)'), GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.788519)'))) / (select extract(epoch from '2026-07-13 09:07:40'::timestamp) - extract(epoch from '2026-07-13 09:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024636 -2.788511)'), GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.788519)'))) / (select extract(epoch from '2026-07-13 09:07:40'::timestamp) - extract(epoch from '2026-07-13 09:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024646 -2.788533)', '2026-07-13 09:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.788519)'), GeomFromEWKT('SRID=4674;POINT (-40.024646 -2.788533)'))) / (select extract(epoch from '2026-07-13 09:07:42'::timestamp) - extract(epoch from '2026-07-13 09:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024645 -2.788519)'), GeomFromEWKT('SRID=4674;POINT (-40.024646 -2.788533)'))) / (select extract(epoch from '2026-07-13 09:07:42'::timestamp) - extract(epoch from '2026-07-13 09:07: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'), 47628, 'SRID=4674;POINT (-40.024605 -2.78858)', '2026-07-13 09:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024646 -2.788533)'), GeomFromEWKT('SRID=4674;POINT (-40.024605 -2.78858)'))) / (select extract(epoch from '2026-07-13 09:07:50'::timestamp) - extract(epoch from '2026-07-13 09:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024646 -2.788533)'), GeomFromEWKT('SRID=4674;POINT (-40.024605 -2.78858)'))) / (select extract(epoch from '2026-07-13 09:07:50'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024596 -2.788582)', '2026-07-13 09:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024605 -2.78858)'), GeomFromEWKT('SRID=4674;POINT (-40.024596 -2.788582)'))) / (select extract(epoch from '2026-07-13 09:07:51'::timestamp) - extract(epoch from '2026-07-13 09:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024605 -2.78858)'), GeomFromEWKT('SRID=4674;POINT (-40.024596 -2.788582)'))) / (select extract(epoch from '2026-07-13 09:07:51'::timestamp) - extract(epoch from '2026-07-13 09:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024554 -2.788565)', '2026-07-13 09:07:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024596 -2.788582)'), GeomFromEWKT('SRID=4674;POINT (-40.024554 -2.788565)'))) / (select extract(epoch from '2026-07-13 09:07:56'::timestamp) - extract(epoch from '2026-07-13 09:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024596 -2.788582)'), GeomFromEWKT('SRID=4674;POINT (-40.024554 -2.788565)'))) / (select extract(epoch from '2026-07-13 09:07:56'::timestamp) - extract(epoch from '2026-07-13 09:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024539 -2.788527)', '2026-07-13 09:08:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024554 -2.788565)'), GeomFromEWKT('SRID=4674;POINT (-40.024539 -2.788527)'))) / (select extract(epoch from '2026-07-13 09:08:04'::timestamp) - extract(epoch from '2026-07-13 09:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024554 -2.788565)'), GeomFromEWKT('SRID=4674;POINT (-40.024539 -2.788527)'))) / (select extract(epoch from '2026-07-13 09:08:04'::timestamp) - extract(epoch from '2026-07-13 09:07: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'), 47628, 'SRID=4674;POINT (-40.02457 -2.788481)', '2026-07-13 09:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024539 -2.788527)'), GeomFromEWKT('SRID=4674;POINT (-40.02457 -2.788481)'))) / (select extract(epoch from '2026-07-13 09:08:14'::timestamp) - extract(epoch from '2026-07-13 09:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024539 -2.788527)'), GeomFromEWKT('SRID=4674;POINT (-40.02457 -2.788481)'))) / (select extract(epoch from '2026-07-13 09:08:14'::timestamp) - extract(epoch from '2026-07-13 09:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024606 -2.788469)', '2026-07-13 09:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02457 -2.788481)'), GeomFromEWKT('SRID=4674;POINT (-40.024606 -2.788469)'))) / (select extract(epoch from '2026-07-13 09:08:23'::timestamp) - extract(epoch from '2026-07-13 09:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02457 -2.788481)'), GeomFromEWKT('SRID=4674;POINT (-40.024606 -2.788469)'))) / (select extract(epoch from '2026-07-13 09:08:23'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024628 -2.788461)', '2026-07-13 09:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024606 -2.788469)'), GeomFromEWKT('SRID=4674;POINT (-40.024628 -2.788461)'))) / (select extract(epoch from '2026-07-13 09:08:33'::timestamp) - extract(epoch from '2026-07-13 09:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024606 -2.788469)'), GeomFromEWKT('SRID=4674;POINT (-40.024628 -2.788461)'))) / (select extract(epoch from '2026-07-13 09:08:33'::timestamp) - extract(epoch from '2026-07-13 09:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024639 -2.788461)', '2026-07-13 09:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024628 -2.788461)'), GeomFromEWKT('SRID=4674;POINT (-40.024639 -2.788461)'))) / (select extract(epoch from '2026-07-13 09:08:48'::timestamp) - extract(epoch from '2026-07-13 09:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024628 -2.788461)'), GeomFromEWKT('SRID=4674;POINT (-40.024639 -2.788461)'))) / (select extract(epoch from '2026-07-13 09:08:48'::timestamp) - extract(epoch from '2026-07-13 09:08: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'), 47628, 'SRID=4674;POINT (-40.024652 -2.788496)', '2026-07-13 09:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024639 -2.788461)'), GeomFromEWKT('SRID=4674;POINT (-40.024652 -2.788496)'))) / (select extract(epoch from '2026-07-13 09:09:10'::timestamp) - extract(epoch from '2026-07-13 09:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024639 -2.788461)'), GeomFromEWKT('SRID=4674;POINT (-40.024652 -2.788496)'))) / (select extract(epoch from '2026-07-13 09:09:10'::timestamp) - extract(epoch from '2026-07-13 09:08:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024657 -2.788502)', '2026-07-13 09:09:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024652 -2.788496)'), GeomFromEWKT('SRID=4674;POINT (-40.024657 -2.788502)'))) / (select extract(epoch from '2026-07-13 09:09:29'::timestamp) - extract(epoch from '2026-07-13 09:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024652 -2.788496)'), GeomFromEWKT('SRID=4674;POINT (-40.024657 -2.788502)'))) / (select extract(epoch from '2026-07-13 09:09:29'::timestamp) - extract(epoch from '2026-07-13 09:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024671 -2.788499)', '2026-07-13 09:09:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024657 -2.788502)'), GeomFromEWKT('SRID=4674;POINT (-40.024671 -2.788499)'))) / (select extract(epoch from '2026-07-13 09:09:48'::timestamp) - extract(epoch from '2026-07-13 09:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024657 -2.788502)'), GeomFromEWKT('SRID=4674;POINT (-40.024671 -2.788499)'))) / (select extract(epoch from '2026-07-13 09:09:48'::timestamp) - extract(epoch from '2026-07-13 09:09: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'), 47628, 'SRID=4674;POINT (-40.024658 -2.788506)', '2026-07-13 09:10:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024671 -2.788499)'), GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.788506)'))) / (select extract(epoch from '2026-07-13 09:10:02'::timestamp) - extract(epoch from '2026-07-13 09:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024671 -2.788499)'), GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.788506)'))) / (select extract(epoch from '2026-07-13 09:10:02'::timestamp) - extract(epoch from '2026-07-13 09:09: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'), 47628, 'SRID=4674;POINT (-40.02461 -2.788536)', '2026-07-13 09:10:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.788506)'), GeomFromEWKT('SRID=4674;POINT (-40.02461 -2.788536)'))) / (select extract(epoch from '2026-07-13 09:10:12'::timestamp) - extract(epoch from '2026-07-13 09:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024658 -2.788506)'), GeomFromEWKT('SRID=4674;POINT (-40.02461 -2.788536)'))) / (select extract(epoch from '2026-07-13 09:10:12'::timestamp) - extract(epoch from '2026-07-13 09:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024562 -2.788518)', '2026-07-13 09:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02461 -2.788536)'), GeomFromEWKT('SRID=4674;POINT (-40.024562 -2.788518)'))) / (select extract(epoch from '2026-07-13 09:10:20'::timestamp) - extract(epoch from '2026-07-13 09:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02461 -2.788536)'), GeomFromEWKT('SRID=4674;POINT (-40.024562 -2.788518)'))) / (select extract(epoch from '2026-07-13 09:10:20'::timestamp) - extract(epoch from '2026-07-13 09:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024543 -2.7885)', '2026-07-13 09:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024562 -2.788518)'), GeomFromEWKT('SRID=4674;POINT (-40.024543 -2.7885)'))) / (select extract(epoch from '2026-07-13 09:10:27'::timestamp) - extract(epoch from '2026-07-13 09:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024562 -2.788518)'), GeomFromEWKT('SRID=4674;POINT (-40.024543 -2.7885)'))) / (select extract(epoch from '2026-07-13 09:10:27'::timestamp) - extract(epoch from '2026-07-13 09:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024486 -2.788503)', '2026-07-13 09:10:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024543 -2.7885)'), GeomFromEWKT('SRID=4674;POINT (-40.024486 -2.788503)'))) / (select extract(epoch from '2026-07-13 09:10:38'::timestamp) - extract(epoch from '2026-07-13 09:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024543 -2.7885)'), GeomFromEWKT('SRID=4674;POINT (-40.024486 -2.788503)'))) / (select extract(epoch from '2026-07-13 09:10:38'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024466 -2.788594)', '2026-07-13 09:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024486 -2.788503)'), GeomFromEWKT('SRID=4674;POINT (-40.024466 -2.788594)'))) / (select extract(epoch from '2026-07-13 09:10:46'::timestamp) - extract(epoch from '2026-07-13 09:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024486 -2.788503)'), GeomFromEWKT('SRID=4674;POINT (-40.024466 -2.788594)'))) / (select extract(epoch from '2026-07-13 09:10:46'::timestamp) - extract(epoch from '2026-07-13 09:10:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024535 -2.788718)', '2026-07-13 09:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024466 -2.788594)'), GeomFromEWKT('SRID=4674;POINT (-40.024535 -2.788718)'))) / (select extract(epoch from '2026-07-13 09:10:54'::timestamp) - extract(epoch from '2026-07-13 09:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024466 -2.788594)'), GeomFromEWKT('SRID=4674;POINT (-40.024535 -2.788718)'))) / (select extract(epoch from '2026-07-13 09:10:54'::timestamp) - extract(epoch from '2026-07-13 09:10: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'), 47628, 'SRID=4674;POINT (-40.024618 -2.788845)', '2026-07-13 09:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024535 -2.788718)'), GeomFromEWKT('SRID=4674;POINT (-40.024618 -2.788845)'))) / (select extract(epoch from '2026-07-13 09:11:02'::timestamp) - extract(epoch from '2026-07-13 09:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024535 -2.788718)'), GeomFromEWKT('SRID=4674;POINT (-40.024618 -2.788845)'))) / (select extract(epoch from '2026-07-13 09:11:02'::timestamp) - extract(epoch from '2026-07-13 09:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024677 -2.788959)', '2026-07-13 09:11:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024618 -2.788845)'), GeomFromEWKT('SRID=4674;POINT (-40.024677 -2.788959)'))) / (select extract(epoch from '2026-07-13 09:11:09'::timestamp) - extract(epoch from '2026-07-13 09:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024618 -2.788845)'), GeomFromEWKT('SRID=4674;POINT (-40.024677 -2.788959)'))) / (select extract(epoch from '2026-07-13 09:11:09'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024715 -2.789082)', '2026-07-13 09:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024677 -2.788959)'), GeomFromEWKT('SRID=4674;POINT (-40.024715 -2.789082)'))) / (select extract(epoch from '2026-07-13 09:11:16'::timestamp) - extract(epoch from '2026-07-13 09:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024677 -2.788959)'), GeomFromEWKT('SRID=4674;POINT (-40.024715 -2.789082)'))) / (select extract(epoch from '2026-07-13 09:11:16'::timestamp) - extract(epoch from '2026-07-13 09:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.024747 -2.789207)', '2026-07-13 09:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024715 -2.789082)'), GeomFromEWKT('SRID=4674;POINT (-40.024747 -2.789207)'))) / (select extract(epoch from '2026-07-13 09:11:23'::timestamp) - extract(epoch from '2026-07-13 09:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024715 -2.789082)'), GeomFromEWKT('SRID=4674;POINT (-40.024747 -2.789207)'))) / (select extract(epoch from '2026-07-13 09:11:23'::timestamp) - extract(epoch from '2026-07-13 09:11: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'), 47628, 'SRID=4674;POINT (-40.024791 -2.789327)', '2026-07-13 09:11:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024747 -2.789207)'), GeomFromEWKT('SRID=4674;POINT (-40.024791 -2.789327)'))) / (select extract(epoch from '2026-07-13 09:11:30'::timestamp) - extract(epoch from '2026-07-13 09:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024747 -2.789207)'), GeomFromEWKT('SRID=4674;POINT (-40.024791 -2.789327)'))) / (select extract(epoch from '2026-07-13 09:11:30'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024825 -2.789394)', '2026-07-13 09:11:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024791 -2.789327)'), GeomFromEWKT('SRID=4674;POINT (-40.024825 -2.789394)'))) / (select extract(epoch from '2026-07-13 09:11:34'::timestamp) - extract(epoch from '2026-07-13 09:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024791 -2.789327)'), GeomFromEWKT('SRID=4674;POINT (-40.024825 -2.789394)'))) / (select extract(epoch from '2026-07-13 09:11:34'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.024921 -2.789501)', '2026-07-13 09:11:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024825 -2.789394)'), GeomFromEWKT('SRID=4674;POINT (-40.024921 -2.789501)'))) / (select extract(epoch from '2026-07-13 09:11:41'::timestamp) - extract(epoch from '2026-07-13 09:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024825 -2.789394)'), GeomFromEWKT('SRID=4674;POINT (-40.024921 -2.789501)'))) / (select extract(epoch from '2026-07-13 09:11:41'::timestamp) - extract(epoch from '2026-07-13 09:11: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'), 47628, 'SRID=4674;POINT (-40.025 -2.789559)', '2026-07-13 09:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024921 -2.789501)'), GeomFromEWKT('SRID=4674;POINT (-40.025 -2.789559)'))) / (select extract(epoch from '2026-07-13 09:11:46'::timestamp) - extract(epoch from '2026-07-13 09:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.024921 -2.789501)'), GeomFromEWKT('SRID=4674;POINT (-40.025 -2.789559)'))) / (select extract(epoch from '2026-07-13 09:11:46'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025042 -2.78965)', '2026-07-13 09:11:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025 -2.789559)'), GeomFromEWKT('SRID=4674;POINT (-40.025042 -2.78965)'))) / (select extract(epoch from '2026-07-13 09:11:52'::timestamp) - extract(epoch from '2026-07-13 09:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025 -2.789559)'), GeomFromEWKT('SRID=4674;POINT (-40.025042 -2.78965)'))) / (select extract(epoch from '2026-07-13 09:11:52'::timestamp) - extract(epoch from '2026-07-13 09:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025065 -2.789736)', '2026-07-13 09:11:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025042 -2.78965)'), GeomFromEWKT('SRID=4674;POINT (-40.025065 -2.789736)'))) / (select extract(epoch from '2026-07-13 09:11:59'::timestamp) - extract(epoch from '2026-07-13 09:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025042 -2.78965)'), GeomFromEWKT('SRID=4674;POINT (-40.025065 -2.789736)'))) / (select extract(epoch from '2026-07-13 09:11:59'::timestamp) - extract(epoch from '2026-07-13 09:11: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'), 47628, 'SRID=4674;POINT (-40.025072 -2.789745)', '2026-07-13 09:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025065 -2.789736)'), GeomFromEWKT('SRID=4674;POINT (-40.025072 -2.789745)'))) / (select extract(epoch from '2026-07-13 09:12:00'::timestamp) - extract(epoch from '2026-07-13 09:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025065 -2.789736)'), GeomFromEWKT('SRID=4674;POINT (-40.025072 -2.789745)'))) / (select extract(epoch from '2026-07-13 09:12:00'::timestamp) - extract(epoch from '2026-07-13 09:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025106 -2.789765)', '2026-07-13 09:12:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025072 -2.789745)'), GeomFromEWKT('SRID=4674;POINT (-40.025106 -2.789765)'))) / (select extract(epoch from '2026-07-13 09:12:03'::timestamp) - extract(epoch from '2026-07-13 09:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025072 -2.789745)'), GeomFromEWKT('SRID=4674;POINT (-40.025106 -2.789765)'))) / (select extract(epoch from '2026-07-13 09:12:03'::timestamp) - extract(epoch from '2026-07-13 09:12: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'), 47628, 'SRID=4674;POINT (-40.025114 -2.789773)', '2026-07-13 09:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025106 -2.789765)'), GeomFromEWKT('SRID=4674;POINT (-40.025114 -2.789773)'))) / (select extract(epoch from '2026-07-13 09:12:04'::timestamp) - extract(epoch from '2026-07-13 09:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025106 -2.789765)'), GeomFromEWKT('SRID=4674;POINT (-40.025114 -2.789773)'))) / (select extract(epoch from '2026-07-13 09:12:04'::timestamp) - extract(epoch from '2026-07-13 09:12: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'), 47628, 'SRID=4674;POINT (-40.025162 -2.789775)', '2026-07-13 09:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025114 -2.789773)'), GeomFromEWKT('SRID=4674;POINT (-40.025162 -2.789775)'))) / (select extract(epoch from '2026-07-13 09:12:08'::timestamp) - extract(epoch from '2026-07-13 09:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025114 -2.789773)'), GeomFromEWKT('SRID=4674;POINT (-40.025162 -2.789775)'))) / (select extract(epoch from '2026-07-13 09:12:08'::timestamp) - extract(epoch from '2026-07-13 09:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025198 -2.789773)', '2026-07-13 09:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025162 -2.789775)'), GeomFromEWKT('SRID=4674;POINT (-40.025198 -2.789773)'))) / (select extract(epoch from '2026-07-13 09:12:11'::timestamp) - extract(epoch from '2026-07-13 09:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025162 -2.789775)'), GeomFromEWKT('SRID=4674;POINT (-40.025198 -2.789773)'))) / (select extract(epoch from '2026-07-13 09:12:11'::timestamp) - extract(epoch from '2026-07-13 09:12: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'), 47628, 'SRID=4674;POINT (-40.025224 -2.789767)', '2026-07-13 09:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025198 -2.789773)'), GeomFromEWKT('SRID=4674;POINT (-40.025224 -2.789767)'))) / (select extract(epoch from '2026-07-13 09:12:13'::timestamp) - extract(epoch from '2026-07-13 09:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025198 -2.789773)'), GeomFromEWKT('SRID=4674;POINT (-40.025224 -2.789767)'))) / (select extract(epoch from '2026-07-13 09:12:13'::timestamp) - extract(epoch from '2026-07-13 09:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025271 -2.789757)', '2026-07-13 09:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025224 -2.789767)'), GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.789757)'))) / (select extract(epoch from '2026-07-13 09:12:17'::timestamp) - extract(epoch from '2026-07-13 09:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025224 -2.789767)'), GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.789757)'))) / (select extract(epoch from '2026-07-13 09:12:17'::timestamp) - extract(epoch from '2026-07-13 09:12: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'), 47628, 'SRID=4674;POINT (-40.025322 -2.789757)', '2026-07-13 09:12:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.789757)'), GeomFromEWKT('SRID=4674;POINT (-40.025322 -2.789757)'))) / (select extract(epoch from '2026-07-13 09:12:25'::timestamp) - extract(epoch from '2026-07-13 09:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.789757)'), GeomFromEWKT('SRID=4674;POINT (-40.025322 -2.789757)'))) / (select extract(epoch from '2026-07-13 09:12:25'::timestamp) - extract(epoch from '2026-07-13 09:12: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'), 47628, 'SRID=4674;POINT (-40.025362 -2.789759)', '2026-07-13 09:12:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025322 -2.789757)'), GeomFromEWKT('SRID=4674;POINT (-40.025362 -2.789759)'))) / (select extract(epoch from '2026-07-13 09:12:46'::timestamp) - extract(epoch from '2026-07-13 09:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025322 -2.789757)'), GeomFromEWKT('SRID=4674;POINT (-40.025362 -2.789759)'))) / (select extract(epoch from '2026-07-13 09:12:46'::timestamp) - extract(epoch from '2026-07-13 09:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025363 -2.789767)', '2026-07-13 09:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025362 -2.789759)'), GeomFromEWKT('SRID=4674;POINT (-40.025363 -2.789767)'))) / (select extract(epoch from '2026-07-13 09:13:25'::timestamp) - extract(epoch from '2026-07-13 09:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025362 -2.789759)'), GeomFromEWKT('SRID=4674;POINT (-40.025363 -2.789767)'))) / (select extract(epoch from '2026-07-13 09:13:25'::timestamp) - extract(epoch from '2026-07-13 09:12: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'), 47628, 'SRID=4674;POINT (-40.025369 -2.78975)', '2026-07-13 09:13:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025363 -2.789767)'), GeomFromEWKT('SRID=4674;POINT (-40.025369 -2.78975)'))) / (select extract(epoch from '2026-07-13 09:13:47'::timestamp) - extract(epoch from '2026-07-13 09:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025363 -2.789767)'), GeomFromEWKT('SRID=4674;POINT (-40.025369 -2.78975)'))) / (select extract(epoch from '2026-07-13 09:13:47'::timestamp) - extract(epoch from '2026-07-13 09:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025381 -2.789756)', '2026-07-13 09:14:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025369 -2.78975)'), GeomFromEWKT('SRID=4674;POINT (-40.025381 -2.789756)'))) / (select extract(epoch from '2026-07-13 09:14:01'::timestamp) - extract(epoch from '2026-07-13 09:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025369 -2.78975)'), GeomFromEWKT('SRID=4674;POINT (-40.025381 -2.789756)'))) / (select extract(epoch from '2026-07-13 09:14:01'::timestamp) - extract(epoch from '2026-07-13 09:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025372 -2.789763)', '2026-07-13 09:14:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025381 -2.789756)'), GeomFromEWKT('SRID=4674;POINT (-40.025372 -2.789763)'))) / (select extract(epoch from '2026-07-13 09:14:14'::timestamp) - extract(epoch from '2026-07-13 09:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025381 -2.789756)'), GeomFromEWKT('SRID=4674;POINT (-40.025372 -2.789763)'))) / (select extract(epoch from '2026-07-13 09:14:14'::timestamp) - extract(epoch from '2026-07-13 09:14: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'), 47628, 'SRID=4674;POINT (-40.025266 -2.789753)', '2026-07-13 09:14:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025372 -2.789763)'), GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.789753)'))) / (select extract(epoch from '2026-07-13 09:14:26'::timestamp) - extract(epoch from '2026-07-13 09:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025372 -2.789763)'), GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.789753)'))) / (select extract(epoch from '2026-07-13 09:14:26'::timestamp) - extract(epoch from '2026-07-13 09:14:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02522 -2.789754)', '2026-07-13 09:14:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.789753)'), GeomFromEWKT('SRID=4674;POINT (-40.02522 -2.789754)'))) / (select extract(epoch from '2026-07-13 09:14:37'::timestamp) - extract(epoch from '2026-07-13 09:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.789753)'), GeomFromEWKT('SRID=4674;POINT (-40.02522 -2.789754)'))) / (select extract(epoch from '2026-07-13 09:14:37'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025205 -2.78981)', '2026-07-13 09:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02522 -2.789754)'), GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.78981)'))) / (select extract(epoch from '2026-07-13 09:14:44'::timestamp) - extract(epoch from '2026-07-13 09:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02522 -2.789754)'), GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.78981)'))) / (select extract(epoch from '2026-07-13 09:14:44'::timestamp) - extract(epoch from '2026-07-13 09:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025212 -2.789933)', '2026-07-13 09:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.78981)'), GeomFromEWKT('SRID=4674;POINT (-40.025212 -2.789933)'))) / (select extract(epoch from '2026-07-13 09:14:52'::timestamp) - extract(epoch from '2026-07-13 09:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025205 -2.78981)'), GeomFromEWKT('SRID=4674;POINT (-40.025212 -2.789933)'))) / (select extract(epoch from '2026-07-13 09:14:52'::timestamp) - extract(epoch from '2026-07-13 09:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025239 -2.790041)', '2026-07-13 09:14:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025212 -2.789933)'), GeomFromEWKT('SRID=4674;POINT (-40.025239 -2.790041)'))) / (select extract(epoch from '2026-07-13 09:14:58'::timestamp) - extract(epoch from '2026-07-13 09:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025212 -2.789933)'), GeomFromEWKT('SRID=4674;POINT (-40.025239 -2.790041)'))) / (select extract(epoch from '2026-07-13 09:14:58'::timestamp) - extract(epoch from '2026-07-13 09:14: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'), 47628, 'SRID=4674;POINT (-40.025291 -2.790174)', '2026-07-13 09:15:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025239 -2.790041)'), GeomFromEWKT('SRID=4674;POINT (-40.025291 -2.790174)'))) / (select extract(epoch from '2026-07-13 09:15:06'::timestamp) - extract(epoch from '2026-07-13 09:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025239 -2.790041)'), GeomFromEWKT('SRID=4674;POINT (-40.025291 -2.790174)'))) / (select extract(epoch from '2026-07-13 09:15:06'::timestamp) - extract(epoch from '2026-07-13 09:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025294 -2.790292)', '2026-07-13 09:15:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025291 -2.790174)'), GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.790292)'))) / (select extract(epoch from '2026-07-13 09:15:13'::timestamp) - extract(epoch from '2026-07-13 09:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025291 -2.790174)'), GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.790292)'))) / (select extract(epoch from '2026-07-13 09:15:13'::timestamp) - extract(epoch from '2026-07-13 09:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025281 -2.790371)', '2026-07-13 09:15:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.790292)'), GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.790371)'))) / (select extract(epoch from '2026-07-13 09:15:18'::timestamp) - extract(epoch from '2026-07-13 09:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025294 -2.790292)'), GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.790371)'))) / (select extract(epoch from '2026-07-13 09:15:18'::timestamp) - extract(epoch from '2026-07-13 09:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02528 -2.790387)', '2026-07-13 09:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.790371)'), GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.790387)'))) / (select extract(epoch from '2026-07-13 09:15:19'::timestamp) - extract(epoch from '2026-07-13 09:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025281 -2.790371)'), GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.790387)'))) / (select extract(epoch from '2026-07-13 09:15:19'::timestamp) - extract(epoch from '2026-07-13 09:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025278 -2.790404)', '2026-07-13 09:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.790387)'), GeomFromEWKT('SRID=4674;POINT (-40.025278 -2.790404)'))) / (select extract(epoch from '2026-07-13 09:15:20'::timestamp) - extract(epoch from '2026-07-13 09:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02528 -2.790387)'), GeomFromEWKT('SRID=4674;POINT (-40.025278 -2.790404)'))) / (select extract(epoch from '2026-07-13 09:15:20'::timestamp) - extract(epoch from '2026-07-13 09:15: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'), 47628, 'SRID=4674;POINT (-40.025271 -2.790435)', '2026-07-13 09:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025278 -2.790404)'), GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.790435)'))) / (select extract(epoch from '2026-07-13 09:15:22'::timestamp) - extract(epoch from '2026-07-13 09:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025278 -2.790404)'), GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.790435)'))) / (select extract(epoch from '2026-07-13 09:15:22'::timestamp) - extract(epoch from '2026-07-13 09:15: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'), 47628, 'SRID=4674;POINT (-40.02527 -2.79045)', '2026-07-13 09:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.790435)'), GeomFromEWKT('SRID=4674;POINT (-40.02527 -2.79045)'))) / (select extract(epoch from '2026-07-13 09:15:23'::timestamp) - extract(epoch from '2026-07-13 09:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025271 -2.790435)'), GeomFromEWKT('SRID=4674;POINT (-40.02527 -2.79045)'))) / (select extract(epoch from '2026-07-13 09:15:23'::timestamp) - extract(epoch from '2026-07-13 09:15: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'), 47628, 'SRID=4674;POINT (-40.025266 -2.790466)', '2026-07-13 09:15:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02527 -2.79045)'), GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.790466)'))) / (select extract(epoch from '2026-07-13 09:15:24'::timestamp) - extract(epoch from '2026-07-13 09:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02527 -2.79045)'), GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.790466)'))) / (select extract(epoch from '2026-07-13 09:15:24'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025261 -2.790497)', '2026-07-13 09:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.790466)'), GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.790497)'))) / (select extract(epoch from '2026-07-13 09:15:26'::timestamp) - extract(epoch from '2026-07-13 09:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.790466)'), GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.790497)'))) / (select extract(epoch from '2026-07-13 09:15:26'::timestamp) - extract(epoch from '2026-07-13 09:15: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'), 47628, 'SRID=4674;POINT (-40.025257 -2.790512)', '2026-07-13 09:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.790497)'), GeomFromEWKT('SRID=4674;POINT (-40.025257 -2.790512)'))) / (select extract(epoch from '2026-07-13 09:15:27'::timestamp) - extract(epoch from '2026-07-13 09:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025261 -2.790497)'), GeomFromEWKT('SRID=4674;POINT (-40.025257 -2.790512)'))) / (select extract(epoch from '2026-07-13 09:15:27'::timestamp) - extract(epoch from '2026-07-13 09:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025246 -2.790586)', '2026-07-13 09:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025257 -2.790512)'), GeomFromEWKT('SRID=4674;POINT (-40.025246 -2.790586)'))) / (select extract(epoch from '2026-07-13 09:15:32'::timestamp) - extract(epoch from '2026-07-13 09:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025257 -2.790512)'), GeomFromEWKT('SRID=4674;POINT (-40.025246 -2.790586)'))) / (select extract(epoch from '2026-07-13 09:15:32'::timestamp) - extract(epoch from '2026-07-13 09:15: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'), 47628, 'SRID=4674;POINT (-40.02526 -2.790715)', '2026-07-13 09:15:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025246 -2.790586)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.790715)'))) / (select extract(epoch from '2026-07-13 09:15:40'::timestamp) - extract(epoch from '2026-07-13 09:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025246 -2.790586)'), GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.790715)'))) / (select extract(epoch from '2026-07-13 09:15:40'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025297 -2.79082)', '2026-07-13 09:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.790715)'), GeomFromEWKT('SRID=4674;POINT (-40.025297 -2.79082)'))) / (select extract(epoch from '2026-07-13 09:15:46'::timestamp) - extract(epoch from '2026-07-13 09:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02526 -2.790715)'), GeomFromEWKT('SRID=4674;POINT (-40.025297 -2.79082)'))) / (select extract(epoch from '2026-07-13 09:15:46'::timestamp) - extract(epoch from '2026-07-13 09:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025312 -2.790854)', '2026-07-13 09:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025297 -2.79082)'), GeomFromEWKT('SRID=4674;POINT (-40.025312 -2.790854)'))) / (select extract(epoch from '2026-07-13 09:15:48'::timestamp) - extract(epoch from '2026-07-13 09:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025297 -2.79082)'), GeomFromEWKT('SRID=4674;POINT (-40.025312 -2.790854)'))) / (select extract(epoch from '2026-07-13 09:15:48'::timestamp) - extract(epoch from '2026-07-13 09:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025336 -2.790901)', '2026-07-13 09:15:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025312 -2.790854)'), GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.790901)'))) / (select extract(epoch from '2026-07-13 09:15:51'::timestamp) - extract(epoch from '2026-07-13 09:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025312 -2.790854)'), GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.790901)'))) / (select extract(epoch from '2026-07-13 09:15:51'::timestamp) - extract(epoch from '2026-07-13 09:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025348 -2.790961)', '2026-07-13 09:15:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.790901)'), GeomFromEWKT('SRID=4674;POINT (-40.025348 -2.790961)'))) / (select extract(epoch from '2026-07-13 09:15:55'::timestamp) - extract(epoch from '2026-07-13 09:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.790901)'), GeomFromEWKT('SRID=4674;POINT (-40.025348 -2.790961)'))) / (select extract(epoch from '2026-07-13 09:15:55'::timestamp) - extract(epoch from '2026-07-13 09:15: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'), 47628, 'SRID=4674;POINT (-40.025345 -2.790975)', '2026-07-13 09:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025348 -2.790961)'), GeomFromEWKT('SRID=4674;POINT (-40.025345 -2.790975)'))) / (select extract(epoch from '2026-07-13 09:15:56'::timestamp) - extract(epoch from '2026-07-13 09:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025348 -2.790961)'), GeomFromEWKT('SRID=4674;POINT (-40.025345 -2.790975)'))) / (select extract(epoch from '2026-07-13 09:15:56'::timestamp) - extract(epoch from '2026-07-13 09:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025341 -2.790986)', '2026-07-13 09:15:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025345 -2.790975)'), GeomFromEWKT('SRID=4674;POINT (-40.025341 -2.790986)'))) / (select extract(epoch from '2026-07-13 09:15:57'::timestamp) - extract(epoch from '2026-07-13 09:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025345 -2.790975)'), GeomFromEWKT('SRID=4674;POINT (-40.025341 -2.790986)'))) / (select extract(epoch from '2026-07-13 09:15:57'::timestamp) - extract(epoch from '2026-07-13 09:15: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'), 47628, 'SRID=4674;POINT (-40.025317 -2.791018)', '2026-07-13 09:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025341 -2.790986)'), GeomFromEWKT('SRID=4674;POINT (-40.025317 -2.791018)'))) / (select extract(epoch from '2026-07-13 09:16:01'::timestamp) - extract(epoch from '2026-07-13 09:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025341 -2.790986)'), GeomFromEWKT('SRID=4674;POINT (-40.025317 -2.791018)'))) / (select extract(epoch from '2026-07-13 09:16:01'::timestamp) - extract(epoch from '2026-07-13 09:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025285 -2.791047)', '2026-07-13 09:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025317 -2.791018)'), GeomFromEWKT('SRID=4674;POINT (-40.025285 -2.791047)'))) / (select extract(epoch from '2026-07-13 09:16:05'::timestamp) - extract(epoch from '2026-07-13 09:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025317 -2.791018)'), GeomFromEWKT('SRID=4674;POINT (-40.025285 -2.791047)'))) / (select extract(epoch from '2026-07-13 09:16:05'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025275 -2.791068)', '2026-07-13 09:16:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025285 -2.791047)'), GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.791068)'))) / (select extract(epoch from '2026-07-13 09:16:07'::timestamp) - extract(epoch from '2026-07-13 09:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025285 -2.791047)'), GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.791068)'))) / (select extract(epoch from '2026-07-13 09:16:07'::timestamp) - extract(epoch from '2026-07-13 09:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025276 -2.7911)', '2026-07-13 09:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.791068)'), GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.7911)'))) / (select extract(epoch from '2026-07-13 09:16:10'::timestamp) - extract(epoch from '2026-07-13 09:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025275 -2.791068)'), GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.7911)'))) / (select extract(epoch from '2026-07-13 09:16:10'::timestamp) - extract(epoch from '2026-07-13 09:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025282 -2.791142)', '2026-07-13 09:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.7911)'), GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.791142)'))) / (select extract(epoch from '2026-07-13 09:16:13'::timestamp) - extract(epoch from '2026-07-13 09:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025276 -2.7911)'), GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.791142)'))) / (select extract(epoch from '2026-07-13 09:16:13'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025283 -2.791166)', '2026-07-13 09:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.791142)'), GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.791166)'))) / (select extract(epoch from '2026-07-13 09:16:15'::timestamp) - extract(epoch from '2026-07-13 09:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025282 -2.791142)'), GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.791166)'))) / (select extract(epoch from '2026-07-13 09:16:15'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025272 -2.791191)', '2026-07-13 09:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.791166)'), GeomFromEWKT('SRID=4674;POINT (-40.025272 -2.791191)'))) / (select extract(epoch from '2026-07-13 09:16:18'::timestamp) - extract(epoch from '2026-07-13 09:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025283 -2.791166)'), GeomFromEWKT('SRID=4674;POINT (-40.025272 -2.791191)'))) / (select extract(epoch from '2026-07-13 09:16:18'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025266 -2.791197)', '2026-07-13 09:16:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025272 -2.791191)'), GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.791197)'))) / (select extract(epoch from '2026-07-13 09:16:19'::timestamp) - extract(epoch from '2026-07-13 09:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025272 -2.791191)'), GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.791197)'))) / (select extract(epoch from '2026-07-13 09:16:19'::timestamp) - extract(epoch from '2026-07-13 09:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025248 -2.791201)', '2026-07-13 09:16:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.791197)'), GeomFromEWKT('SRID=4674;POINT (-40.025248 -2.791201)'))) / (select extract(epoch from '2026-07-13 09:16:22'::timestamp) - extract(epoch from '2026-07-13 09:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025266 -2.791197)'), GeomFromEWKT('SRID=4674;POINT (-40.025248 -2.791201)'))) / (select extract(epoch from '2026-07-13 09:16:22'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025199 -2.791224)', '2026-07-13 09:16:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025248 -2.791201)'), GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791224)'))) / (select extract(epoch from '2026-07-13 09:16:27'::timestamp) - extract(epoch from '2026-07-13 09:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025248 -2.791201)'), GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791224)'))) / (select extract(epoch from '2026-07-13 09:16:27'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025189 -2.79123)', '2026-07-13 09:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791224)'), GeomFromEWKT('SRID=4674;POINT (-40.025189 -2.79123)'))) / (select extract(epoch from '2026-07-13 09:16:28'::timestamp) - extract(epoch from '2026-07-13 09:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791224)'), GeomFromEWKT('SRID=4674;POINT (-40.025189 -2.79123)'))) / (select extract(epoch from '2026-07-13 09:16:28'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025169 -2.791241)', '2026-07-13 09:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025189 -2.79123)'), GeomFromEWKT('SRID=4674;POINT (-40.025169 -2.791241)'))) / (select extract(epoch from '2026-07-13 09:16:30'::timestamp) - extract(epoch from '2026-07-13 09:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025189 -2.79123)'), GeomFromEWKT('SRID=4674;POINT (-40.025169 -2.791241)'))) / (select extract(epoch from '2026-07-13 09:16:30'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025145 -2.791242)', '2026-07-13 09:16:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025169 -2.791241)'), GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.791242)'))) / (select extract(epoch from '2026-07-13 09:16:32'::timestamp) - extract(epoch from '2026-07-13 09:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025169 -2.791241)'), GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.791242)'))) / (select extract(epoch from '2026-07-13 09:16:32'::timestamp) - extract(epoch from '2026-07-13 09:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025132 -2.79124)', '2026-07-13 09:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.791242)'), GeomFromEWKT('SRID=4674;POINT (-40.025132 -2.79124)'))) / (select extract(epoch from '2026-07-13 09:16:33'::timestamp) - extract(epoch from '2026-07-13 09:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025145 -2.791242)'), GeomFromEWKT('SRID=4674;POINT (-40.025132 -2.79124)'))) / (select extract(epoch from '2026-07-13 09:16:33'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025094 -2.791231)', '2026-07-13 09:16:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025132 -2.79124)'), GeomFromEWKT('SRID=4674;POINT (-40.025094 -2.791231)'))) / (select extract(epoch from '2026-07-13 09:16:36'::timestamp) - extract(epoch from '2026-07-13 09:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025132 -2.79124)'), GeomFromEWKT('SRID=4674;POINT (-40.025094 -2.791231)'))) / (select extract(epoch from '2026-07-13 09:16:36'::timestamp) - extract(epoch from '2026-07-13 09:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025078 -2.791226)', '2026-07-13 09:16:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025094 -2.791231)'), GeomFromEWKT('SRID=4674;POINT (-40.025078 -2.791226)'))) / (select extract(epoch from '2026-07-13 09:16:37'::timestamp) - extract(epoch from '2026-07-13 09:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025094 -2.791231)'), GeomFromEWKT('SRID=4674;POINT (-40.025078 -2.791226)'))) / (select extract(epoch from '2026-07-13 09:16:37'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025038 -2.791208)', '2026-07-13 09:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025078 -2.791226)'), GeomFromEWKT('SRID=4674;POINT (-40.025038 -2.791208)'))) / (select extract(epoch from '2026-07-13 09:16:42'::timestamp) - extract(epoch from '2026-07-13 09:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025078 -2.791226)'), GeomFromEWKT('SRID=4674;POINT (-40.025038 -2.791208)'))) / (select extract(epoch from '2026-07-13 09:16:42'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025031 -2.791191)', '2026-07-13 09:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025038 -2.791208)'), GeomFromEWKT('SRID=4674;POINT (-40.025031 -2.791191)'))) / (select extract(epoch from '2026-07-13 09:16:50'::timestamp) - extract(epoch from '2026-07-13 09:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025038 -2.791208)'), GeomFromEWKT('SRID=4674;POINT (-40.025031 -2.791191)'))) / (select extract(epoch from '2026-07-13 09:16:50'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025063 -2.791173)', '2026-07-13 09:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025031 -2.791191)'), GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791173)'))) / (select extract(epoch from '2026-07-13 09:16:59'::timestamp) - extract(epoch from '2026-07-13 09:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025031 -2.791191)'), GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791173)'))) / (select extract(epoch from '2026-07-13 09:16:59'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025152 -2.791168)', '2026-07-13 09:17:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791173)'), GeomFromEWKT('SRID=4674;POINT (-40.025152 -2.791168)'))) / (select extract(epoch from '2026-07-13 09:17:16'::timestamp) - extract(epoch from '2026-07-13 09:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025063 -2.791173)'), GeomFromEWKT('SRID=4674;POINT (-40.025152 -2.791168)'))) / (select extract(epoch from '2026-07-13 09:17:16'::timestamp) - extract(epoch from '2026-07-13 09:16: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'), 47628, 'SRID=4674;POINT (-40.025199 -2.791151)', '2026-07-13 09:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025152 -2.791168)'), GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791151)'))) / (select extract(epoch from '2026-07-13 09:17:31'::timestamp) - extract(epoch from '2026-07-13 09:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025152 -2.791168)'), GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791151)'))) / (select extract(epoch from '2026-07-13 09:17:31'::timestamp) - extract(epoch from '2026-07-13 09:17: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'), 47628, 'SRID=4674;POINT (-40.025222 -2.791168)', '2026-07-13 09:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791151)'), GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791168)'))) / (select extract(epoch from '2026-07-13 09:17:46'::timestamp) - extract(epoch from '2026-07-13 09:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025199 -2.791151)'), GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791168)'))) / (select extract(epoch from '2026-07-13 09:17:46'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025221 -2.791172)', '2026-07-13 09:18:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791168)'), GeomFromEWKT('SRID=4674;POINT (-40.025221 -2.791172)'))) / (select extract(epoch from '2026-07-13 09:18:14'::timestamp) - extract(epoch from '2026-07-13 09:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791168)'), GeomFromEWKT('SRID=4674;POINT (-40.025221 -2.791172)'))) / (select extract(epoch from '2026-07-13 09:18:14'::timestamp) - extract(epoch from '2026-07-13 09:17: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'), 47628, 'SRID=4674;POINT (-40.025224 -2.791164)', '2026-07-13 09:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025221 -2.791172)'), GeomFromEWKT('SRID=4674;POINT (-40.025224 -2.791164)'))) / (select extract(epoch from '2026-07-13 09:18:22'::timestamp) - extract(epoch from '2026-07-13 09:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025221 -2.791172)'), GeomFromEWKT('SRID=4674;POINT (-40.025224 -2.791164)'))) / (select extract(epoch from '2026-07-13 09:18:22'::timestamp) - extract(epoch from '2026-07-13 09:18: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'), 47628, 'SRID=4674;POINT (-40.025222 -2.791149)', '2026-07-13 09:18:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025224 -2.791164)'), GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791149)'))) / (select extract(epoch from '2026-07-13 09:18:33'::timestamp) - extract(epoch from '2026-07-13 09:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025224 -2.791164)'), GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791149)'))) / (select extract(epoch from '2026-07-13 09:18:33'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025206 -2.791142)', '2026-07-13 09:18:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791149)'), GeomFromEWKT('SRID=4674;POINT (-40.025206 -2.791142)'))) / (select extract(epoch from '2026-07-13 09:18:41'::timestamp) - extract(epoch from '2026-07-13 09:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025222 -2.791149)'), GeomFromEWKT('SRID=4674;POINT (-40.025206 -2.791142)'))) / (select extract(epoch from '2026-07-13 09:18:41'::timestamp) - extract(epoch from '2026-07-13 09:18: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'), 47628, 'SRID=4674;POINT (-40.025191 -2.791135)', '2026-07-13 09:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025206 -2.791142)'), GeomFromEWKT('SRID=4674;POINT (-40.025191 -2.791135)'))) / (select extract(epoch from '2026-07-13 09:18:43'::timestamp) - extract(epoch from '2026-07-13 09:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025206 -2.791142)'), GeomFromEWKT('SRID=4674;POINT (-40.025191 -2.791135)'))) / (select extract(epoch from '2026-07-13 09:18:43'::timestamp) - extract(epoch from '2026-07-13 09:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025169 -2.791125)', '2026-07-13 09:18:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025191 -2.791135)'), GeomFromEWKT('SRID=4674;POINT (-40.025169 -2.791125)'))) / (select extract(epoch from '2026-07-13 09:18:47'::timestamp) - extract(epoch from '2026-07-13 09:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025191 -2.791135)'), GeomFromEWKT('SRID=4674;POINT (-40.025169 -2.791125)'))) / (select extract(epoch from '2026-07-13 09:18:47'::timestamp) - extract(epoch from '2026-07-13 09:18: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'), 47628, 'SRID=4674;POINT (-40.025108 -2.791149)', '2026-07-13 09:18:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025169 -2.791125)'), GeomFromEWKT('SRID=4674;POINT (-40.025108 -2.791149)'))) / (select extract(epoch from '2026-07-13 09:18:55'::timestamp) - extract(epoch from '2026-07-13 09:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025169 -2.791125)'), GeomFromEWKT('SRID=4674;POINT (-40.025108 -2.791149)'))) / (select extract(epoch from '2026-07-13 09:18:55'::timestamp) - extract(epoch from '2026-07-13 09:18: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'), 47628, 'SRID=4674;POINT (-40.025057 -2.791178)', '2026-07-13 09:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025108 -2.791149)'), GeomFromEWKT('SRID=4674;POINT (-40.025057 -2.791178)'))) / (select extract(epoch from '2026-07-13 09:19:01'::timestamp) - extract(epoch from '2026-07-13 09:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025108 -2.791149)'), GeomFromEWKT('SRID=4674;POINT (-40.025057 -2.791178)'))) / (select extract(epoch from '2026-07-13 09:19:01'::timestamp) - extract(epoch from '2026-07-13 09:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025025 -2.791204)', '2026-07-13 09:19:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025057 -2.791178)'), GeomFromEWKT('SRID=4674;POINT (-40.025025 -2.791204)'))) / (select extract(epoch from '2026-07-13 09:19:08'::timestamp) - extract(epoch from '2026-07-13 09:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025057 -2.791178)'), GeomFromEWKT('SRID=4674;POINT (-40.025025 -2.791204)'))) / (select extract(epoch from '2026-07-13 09:19:08'::timestamp) - extract(epoch from '2026-07-13 09:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025014 -2.791225)', '2026-07-13 09:19:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025025 -2.791204)'), GeomFromEWKT('SRID=4674;POINT (-40.025014 -2.791225)'))) / (select extract(epoch from '2026-07-13 09:19:16'::timestamp) - extract(epoch from '2026-07-13 09:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025025 -2.791204)'), GeomFromEWKT('SRID=4674;POINT (-40.025014 -2.791225)'))) / (select extract(epoch from '2026-07-13 09:19:16'::timestamp) - extract(epoch from '2026-07-13 09:19: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'), 47628, 'SRID=4674;POINT (-40.025032 -2.791286)', '2026-07-13 09:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025014 -2.791225)'), GeomFromEWKT('SRID=4674;POINT (-40.025032 -2.791286)'))) / (select extract(epoch from '2026-07-13 09:19:22'::timestamp) - extract(epoch from '2026-07-13 09:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025014 -2.791225)'), GeomFromEWKT('SRID=4674;POINT (-40.025032 -2.791286)'))) / (select extract(epoch from '2026-07-13 09:19:22'::timestamp) - extract(epoch from '2026-07-13 09:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025038 -2.791299)', '2026-07-13 09:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025032 -2.791286)'), GeomFromEWKT('SRID=4674;POINT (-40.025038 -2.791299)'))) / (select extract(epoch from '2026-07-13 09:19:23'::timestamp) - extract(epoch from '2026-07-13 09:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025032 -2.791286)'), GeomFromEWKT('SRID=4674;POINT (-40.025038 -2.791299)'))) / (select extract(epoch from '2026-07-13 09:19:23'::timestamp) - extract(epoch from '2026-07-13 09:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025047 -2.791329)', '2026-07-13 09:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025038 -2.791299)'), GeomFromEWKT('SRID=4674;POINT (-40.025047 -2.791329)'))) / (select extract(epoch from '2026-07-13 09:19:25'::timestamp) - extract(epoch from '2026-07-13 09:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025038 -2.791299)'), GeomFromEWKT('SRID=4674;POINT (-40.025047 -2.791329)'))) / (select extract(epoch from '2026-07-13 09:19:25'::timestamp) - extract(epoch from '2026-07-13 09:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02505 -2.791345)', '2026-07-13 09:19:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025047 -2.791329)'), GeomFromEWKT('SRID=4674;POINT (-40.02505 -2.791345)'))) / (select extract(epoch from '2026-07-13 09:19:26'::timestamp) - extract(epoch from '2026-07-13 09:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025047 -2.791329)'), GeomFromEWKT('SRID=4674;POINT (-40.02505 -2.791345)'))) / (select extract(epoch from '2026-07-13 09:19:26'::timestamp) - extract(epoch from '2026-07-13 09:19: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'), 47628, 'SRID=4674;POINT (-40.025057 -2.79142)', '2026-07-13 09:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02505 -2.791345)'), GeomFromEWKT('SRID=4674;POINT (-40.025057 -2.79142)'))) / (select extract(epoch from '2026-07-13 09:19:31'::timestamp) - extract(epoch from '2026-07-13 09:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02505 -2.791345)'), GeomFromEWKT('SRID=4674;POINT (-40.025057 -2.79142)'))) / (select extract(epoch from '2026-07-13 09:19:31'::timestamp) - extract(epoch from '2026-07-13 09:19: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'), 47628, 'SRID=4674;POINT (-40.025066 -2.791467)', '2026-07-13 09:19:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025057 -2.79142)'), GeomFromEWKT('SRID=4674;POINT (-40.025066 -2.791467)'))) / (select extract(epoch from '2026-07-13 09:19:34'::timestamp) - extract(epoch from '2026-07-13 09:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025057 -2.79142)'), GeomFromEWKT('SRID=4674;POINT (-40.025066 -2.791467)'))) / (select extract(epoch from '2026-07-13 09:19:34'::timestamp) - extract(epoch from '2026-07-13 09:19:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025071 -2.791482)', '2026-07-13 09:19:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025066 -2.791467)'), GeomFromEWKT('SRID=4674;POINT (-40.025071 -2.791482)'))) / (select extract(epoch from '2026-07-13 09:19:35'::timestamp) - extract(epoch from '2026-07-13 09:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025066 -2.791467)'), GeomFromEWKT('SRID=4674;POINT (-40.025071 -2.791482)'))) / (select extract(epoch from '2026-07-13 09:19:35'::timestamp) - extract(epoch from '2026-07-13 09:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025083 -2.791544)', '2026-07-13 09:19:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025071 -2.791482)'), GeomFromEWKT('SRID=4674;POINT (-40.025083 -2.791544)'))) / (select extract(epoch from '2026-07-13 09:19:39'::timestamp) - extract(epoch from '2026-07-13 09:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025071 -2.791482)'), GeomFromEWKT('SRID=4674;POINT (-40.025083 -2.791544)'))) / (select extract(epoch from '2026-07-13 09:19:39'::timestamp) - extract(epoch from '2026-07-13 09:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025082 -2.791623)', '2026-07-13 09:19:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025083 -2.791544)'), GeomFromEWKT('SRID=4674;POINT (-40.025082 -2.791623)'))) / (select extract(epoch from '2026-07-13 09:19:44'::timestamp) - extract(epoch from '2026-07-13 09:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025083 -2.791544)'), GeomFromEWKT('SRID=4674;POINT (-40.025082 -2.791623)'))) / (select extract(epoch from '2026-07-13 09:19:44'::timestamp) - extract(epoch from '2026-07-13 09:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02508 -2.791638)', '2026-07-13 09:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025082 -2.791623)'), GeomFromEWKT('SRID=4674;POINT (-40.02508 -2.791638)'))) / (select extract(epoch from '2026-07-13 09:19:45'::timestamp) - extract(epoch from '2026-07-13 09:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025082 -2.791623)'), GeomFromEWKT('SRID=4674;POINT (-40.02508 -2.791638)'))) / (select extract(epoch from '2026-07-13 09:19:45'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025077 -2.791653)', '2026-07-13 09:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02508 -2.791638)'), GeomFromEWKT('SRID=4674;POINT (-40.025077 -2.791653)'))) / (select extract(epoch from '2026-07-13 09:19:46'::timestamp) - extract(epoch from '2026-07-13 09:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02508 -2.791638)'), GeomFromEWKT('SRID=4674;POINT (-40.025077 -2.791653)'))) / (select extract(epoch from '2026-07-13 09:19:46'::timestamp) - extract(epoch from '2026-07-13 09:19: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'), 47628, 'SRID=4674;POINT (-40.025061 -2.791698)', '2026-07-13 09:19:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025077 -2.791653)'), GeomFromEWKT('SRID=4674;POINT (-40.025061 -2.791698)'))) / (select extract(epoch from '2026-07-13 09:19:49'::timestamp) - extract(epoch from '2026-07-13 09:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025077 -2.791653)'), GeomFromEWKT('SRID=4674;POINT (-40.025061 -2.791698)'))) / (select extract(epoch from '2026-07-13 09:19:49'::timestamp) - extract(epoch from '2026-07-13 09:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025044 -2.791762)', '2026-07-13 09:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025061 -2.791698)'), GeomFromEWKT('SRID=4674;POINT (-40.025044 -2.791762)'))) / (select extract(epoch from '2026-07-13 09:19:53'::timestamp) - extract(epoch from '2026-07-13 09:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025061 -2.791698)'), GeomFromEWKT('SRID=4674;POINT (-40.025044 -2.791762)'))) / (select extract(epoch from '2026-07-13 09:19:53'::timestamp) - extract(epoch from '2026-07-13 09:19:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025046 -2.791869)', '2026-07-13 09:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025044 -2.791762)'), GeomFromEWKT('SRID=4674;POINT (-40.025046 -2.791869)'))) / (select extract(epoch from '2026-07-13 09:19:59'::timestamp) - extract(epoch from '2026-07-13 09:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025044 -2.791762)'), GeomFromEWKT('SRID=4674;POINT (-40.025046 -2.791869)'))) / (select extract(epoch from '2026-07-13 09:19:59'::timestamp) - extract(epoch from '2026-07-13 09:19: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'), 47628, 'SRID=4674;POINT (-40.025087 -2.791964)', '2026-07-13 09:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025046 -2.791869)'), GeomFromEWKT('SRID=4674;POINT (-40.025087 -2.791964)'))) / (select extract(epoch from '2026-07-13 09:20:05'::timestamp) - extract(epoch from '2026-07-13 09:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025046 -2.791869)'), GeomFromEWKT('SRID=4674;POINT (-40.025087 -2.791964)'))) / (select extract(epoch from '2026-07-13 09:20:05'::timestamp) - extract(epoch from '2026-07-13 09:19: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'), 47628, 'SRID=4674;POINT (-40.025099 -2.79198)', '2026-07-13 09:20:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025087 -2.791964)'), GeomFromEWKT('SRID=4674;POINT (-40.025099 -2.79198)'))) / (select extract(epoch from '2026-07-13 09:20:06'::timestamp) - extract(epoch from '2026-07-13 09:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025087 -2.791964)'), GeomFromEWKT('SRID=4674;POINT (-40.025099 -2.79198)'))) / (select extract(epoch from '2026-07-13 09:20:06'::timestamp) - extract(epoch from '2026-07-13 09:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025135 -2.792047)', '2026-07-13 09:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025099 -2.79198)'), GeomFromEWKT('SRID=4674;POINT (-40.025135 -2.792047)'))) / (select extract(epoch from '2026-07-13 09:20:10'::timestamp) - extract(epoch from '2026-07-13 09:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025099 -2.79198)'), GeomFromEWKT('SRID=4674;POINT (-40.025135 -2.792047)'))) / (select extract(epoch from '2026-07-13 09:20:10'::timestamp) - extract(epoch from '2026-07-13 09:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025218 -2.792198)', '2026-07-13 09:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025135 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.025218 -2.792198)'))) / (select extract(epoch from '2026-07-13 09:20:19'::timestamp) - extract(epoch from '2026-07-13 09:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025135 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.025218 -2.792198)'))) / (select extract(epoch from '2026-07-13 09:20:19'::timestamp) - extract(epoch from '2026-07-13 09:20: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'), 47628, 'SRID=4674;POINT (-40.025259 -2.79226)', '2026-07-13 09:20:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025218 -2.792198)'), GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.79226)'))) / (select extract(epoch from '2026-07-13 09:20:23'::timestamp) - extract(epoch from '2026-07-13 09:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025218 -2.792198)'), GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.79226)'))) / (select extract(epoch from '2026-07-13 09:20:23'::timestamp) - extract(epoch from '2026-07-13 09:20: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'), 47628, 'SRID=4674;POINT (-40.025336 -2.792387)', '2026-07-13 09:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.79226)'), GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.792387)'))) / (select extract(epoch from '2026-07-13 09:20:31'::timestamp) - extract(epoch from '2026-07-13 09:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025259 -2.79226)'), GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.792387)'))) / (select extract(epoch from '2026-07-13 09:20:31'::timestamp) - extract(epoch from '2026-07-13 09:20:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025382 -2.792414)', '2026-07-13 09:20:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.792387)'), GeomFromEWKT('SRID=4674;POINT (-40.025382 -2.792414)'))) / (select extract(epoch from '2026-07-13 09:20:34'::timestamp) - extract(epoch from '2026-07-13 09:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025336 -2.792387)'), GeomFromEWKT('SRID=4674;POINT (-40.025382 -2.792414)'))) / (select extract(epoch from '2026-07-13 09:20:34'::timestamp) - extract(epoch from '2026-07-13 09:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025415 -2.792431)', '2026-07-13 09:20:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025382 -2.792414)'), GeomFromEWKT('SRID=4674;POINT (-40.025415 -2.792431)'))) / (select extract(epoch from '2026-07-13 09:20:36'::timestamp) - extract(epoch from '2026-07-13 09:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025382 -2.792414)'), GeomFromEWKT('SRID=4674;POINT (-40.025415 -2.792431)'))) / (select extract(epoch from '2026-07-13 09:20:36'::timestamp) - extract(epoch from '2026-07-13 09:20: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'), 47628, 'SRID=4674;POINT (-40.025465 -2.792472)', '2026-07-13 09:20:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025415 -2.792431)'), GeomFromEWKT('SRID=4674;POINT (-40.025465 -2.792472)'))) / (select extract(epoch from '2026-07-13 09:20:40'::timestamp) - extract(epoch from '2026-07-13 09:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025415 -2.792431)'), GeomFromEWKT('SRID=4674;POINT (-40.025465 -2.792472)'))) / (select extract(epoch from '2026-07-13 09:20:40'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025489 -2.792505)', '2026-07-13 09:20:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025465 -2.792472)'), GeomFromEWKT('SRID=4674;POINT (-40.025489 -2.792505)'))) / (select extract(epoch from '2026-07-13 09:20:43'::timestamp) - extract(epoch from '2026-07-13 09:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025465 -2.792472)'), GeomFromEWKT('SRID=4674;POINT (-40.025489 -2.792505)'))) / (select extract(epoch from '2026-07-13 09:20:43'::timestamp) - extract(epoch from '2026-07-13 09:20: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'), 47628, 'SRID=4674;POINT (-40.025493 -2.792532)', '2026-07-13 09:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025489 -2.792505)'), GeomFromEWKT('SRID=4674;POINT (-40.025493 -2.792532)'))) / (select extract(epoch from '2026-07-13 09:20:46'::timestamp) - extract(epoch from '2026-07-13 09:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025489 -2.792505)'), GeomFromEWKT('SRID=4674;POINT (-40.025493 -2.792532)'))) / (select extract(epoch from '2026-07-13 09:20:46'::timestamp) - extract(epoch from '2026-07-13 09:20: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'), 47628, 'SRID=4674;POINT (-40.025495 -2.79254)', '2026-07-13 09:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025493 -2.792532)'), GeomFromEWKT('SRID=4674;POINT (-40.025495 -2.79254)'))) / (select extract(epoch from '2026-07-13 09:20:47'::timestamp) - extract(epoch from '2026-07-13 09:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025493 -2.792532)'), GeomFromEWKT('SRID=4674;POINT (-40.025495 -2.79254)'))) / (select extract(epoch from '2026-07-13 09:20:47'::timestamp) - extract(epoch from '2026-07-13 09:20: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'), 47628, 'SRID=4674;POINT (-40.025502 -2.792571)', '2026-07-13 09:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025495 -2.79254)'), GeomFromEWKT('SRID=4674;POINT (-40.025502 -2.792571)'))) / (select extract(epoch from '2026-07-13 09:20:52'::timestamp) - extract(epoch from '2026-07-13 09:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025495 -2.79254)'), GeomFromEWKT('SRID=4674;POINT (-40.025502 -2.792571)'))) / (select extract(epoch from '2026-07-13 09:20:52'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.02551 -2.792599)', '2026-07-13 09:20:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025502 -2.792571)'), GeomFromEWKT('SRID=4674;POINT (-40.02551 -2.792599)'))) / (select extract(epoch from '2026-07-13 09:20:58'::timestamp) - extract(epoch from '2026-07-13 09:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025502 -2.792571)'), GeomFromEWKT('SRID=4674;POINT (-40.02551 -2.792599)'))) / (select extract(epoch from '2026-07-13 09:20:58'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025538 -2.79261)', '2026-07-13 09:21:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02551 -2.792599)'), GeomFromEWKT('SRID=4674;POINT (-40.025538 -2.79261)'))) / (select extract(epoch from '2026-07-13 09:21:09'::timestamp) - extract(epoch from '2026-07-13 09:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02551 -2.792599)'), GeomFromEWKT('SRID=4674;POINT (-40.025538 -2.79261)'))) / (select extract(epoch from '2026-07-13 09:21:09'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025591 -2.792602)', '2026-07-13 09:21:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025538 -2.79261)'), GeomFromEWKT('SRID=4674;POINT (-40.025591 -2.792602)'))) / (select extract(epoch from '2026-07-13 09:21:26'::timestamp) - extract(epoch from '2026-07-13 09:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025538 -2.79261)'), GeomFromEWKT('SRID=4674;POINT (-40.025591 -2.792602)'))) / (select extract(epoch from '2026-07-13 09:21:26'::timestamp) - extract(epoch from '2026-07-13 09:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025654 -2.792573)', '2026-07-13 09:21:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025591 -2.792602)'), GeomFromEWKT('SRID=4674;POINT (-40.025654 -2.792573)'))) / (select extract(epoch from '2026-07-13 09:21:45'::timestamp) - extract(epoch from '2026-07-13 09:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025591 -2.792602)'), GeomFromEWKT('SRID=4674;POINT (-40.025654 -2.792573)'))) / (select extract(epoch from '2026-07-13 09:21:45'::timestamp) - extract(epoch from '2026-07-13 09:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025655 -2.792556)', '2026-07-13 09:22:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025654 -2.792573)'), GeomFromEWKT('SRID=4674;POINT (-40.025655 -2.792556)'))) / (select extract(epoch from '2026-07-13 09:22:02'::timestamp) - extract(epoch from '2026-07-13 09:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025654 -2.792573)'), GeomFromEWKT('SRID=4674;POINT (-40.025655 -2.792556)'))) / (select extract(epoch from '2026-07-13 09:22:02'::timestamp) - extract(epoch from '2026-07-13 09:21: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'), 47628, 'SRID=4674;POINT (-40.025662 -2.792571)', '2026-07-13 09:22:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025655 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-40.025662 -2.792571)'))) / (select extract(epoch from '2026-07-13 09:22:10'::timestamp) - extract(epoch from '2026-07-13 09:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025655 -2.792556)'), GeomFromEWKT('SRID=4674;POINT (-40.025662 -2.792571)'))) / (select extract(epoch from '2026-07-13 09:22:10'::timestamp) - extract(epoch from '2026-07-13 09:22: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'), 47628, 'SRID=4674;POINT (-40.025668 -2.792576)', '2026-07-13 09:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025662 -2.792571)'), GeomFromEWKT('SRID=4674;POINT (-40.025668 -2.792576)'))) / (select extract(epoch from '2026-07-13 09:22:20'::timestamp) - extract(epoch from '2026-07-13 09:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025662 -2.792571)'), GeomFromEWKT('SRID=4674;POINT (-40.025668 -2.792576)'))) / (select extract(epoch from '2026-07-13 09:22:20'::timestamp) - extract(epoch from '2026-07-13 09:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025649 -2.792605)', '2026-07-13 09:22:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025668 -2.792576)'), GeomFromEWKT('SRID=4674;POINT (-40.025649 -2.792605)'))) / (select extract(epoch from '2026-07-13 09:22:31'::timestamp) - extract(epoch from '2026-07-13 09:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025668 -2.792576)'), GeomFromEWKT('SRID=4674;POINT (-40.025649 -2.792605)'))) / (select extract(epoch from '2026-07-13 09:22:31'::timestamp) - extract(epoch from '2026-07-13 09:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025602 -2.792619)', '2026-07-13 09:22:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025649 -2.792605)'), GeomFromEWKT('SRID=4674;POINT (-40.025602 -2.792619)'))) / (select extract(epoch from '2026-07-13 09:22:38'::timestamp) - extract(epoch from '2026-07-13 09:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025649 -2.792605)'), GeomFromEWKT('SRID=4674;POINT (-40.025602 -2.792619)'))) / (select extract(epoch from '2026-07-13 09:22:38'::timestamp) - extract(epoch from '2026-07-13 09:22: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'), 47628, 'SRID=4674;POINT (-40.025566 -2.792613)', '2026-07-13 09:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025602 -2.792619)'), GeomFromEWKT('SRID=4674;POINT (-40.025566 -2.792613)'))) / (select extract(epoch from '2026-07-13 09:22:42'::timestamp) - extract(epoch from '2026-07-13 09:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025602 -2.792619)'), GeomFromEWKT('SRID=4674;POINT (-40.025566 -2.792613)'))) / (select extract(epoch from '2026-07-13 09:22:42'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025548 -2.792608)', '2026-07-13 09:22:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025566 -2.792613)'), GeomFromEWKT('SRID=4674;POINT (-40.025548 -2.792608)'))) / (select extract(epoch from '2026-07-13 09:22:44'::timestamp) - extract(epoch from '2026-07-13 09:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025566 -2.792613)'), GeomFromEWKT('SRID=4674;POINT (-40.025548 -2.792608)'))) / (select extract(epoch from '2026-07-13 09:22:44'::timestamp) - extract(epoch from '2026-07-13 09:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025505 -2.792582)', '2026-07-13 09:22:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025548 -2.792608)'), GeomFromEWKT('SRID=4674;POINT (-40.025505 -2.792582)'))) / (select extract(epoch from '2026-07-13 09:22:51'::timestamp) - extract(epoch from '2026-07-13 09:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025548 -2.792608)'), GeomFromEWKT('SRID=4674;POINT (-40.025505 -2.792582)'))) / (select extract(epoch from '2026-07-13 09:22:51'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025474 -2.792593)', '2026-07-13 09:22:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025505 -2.792582)'), GeomFromEWKT('SRID=4674;POINT (-40.025474 -2.792593)'))) / (select extract(epoch from '2026-07-13 09:22:59'::timestamp) - extract(epoch from '2026-07-13 09:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025505 -2.792582)'), GeomFromEWKT('SRID=4674;POINT (-40.025474 -2.792593)'))) / (select extract(epoch from '2026-07-13 09:22:59'::timestamp) - extract(epoch from '2026-07-13 09:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025465 -2.792664)', '2026-07-13 09:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025474 -2.792593)'), GeomFromEWKT('SRID=4674;POINT (-40.025465 -2.792664)'))) / (select extract(epoch from '2026-07-13 09:23:07'::timestamp) - extract(epoch from '2026-07-13 09:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025474 -2.792593)'), GeomFromEWKT('SRID=4674;POINT (-40.025465 -2.792664)'))) / (select extract(epoch from '2026-07-13 09:23:07'::timestamp) - extract(epoch from '2026-07-13 09:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025476 -2.792729)', '2026-07-13 09:23:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025465 -2.792664)'), GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.792729)'))) / (select extract(epoch from '2026-07-13 09:23:12'::timestamp) - extract(epoch from '2026-07-13 09:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025465 -2.792664)'), GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.792729)'))) / (select extract(epoch from '2026-07-13 09:23:12'::timestamp) - extract(epoch from '2026-07-13 09:23: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'), 47628, 'SRID=4674;POINT (-40.025499 -2.792847)', '2026-07-13 09:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.792729)'), GeomFromEWKT('SRID=4674;POINT (-40.025499 -2.792847)'))) / (select extract(epoch from '2026-07-13 09:23:20'::timestamp) - extract(epoch from '2026-07-13 09:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025476 -2.792729)'), GeomFromEWKT('SRID=4674;POINT (-40.025499 -2.792847)'))) / (select extract(epoch from '2026-07-13 09:23:20'::timestamp) - extract(epoch from '2026-07-13 09:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025523 -2.792984)', '2026-07-13 09:23:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025499 -2.792847)'), GeomFromEWKT('SRID=4674;POINT (-40.025523 -2.792984)'))) / (select extract(epoch from '2026-07-13 09:23:28'::timestamp) - extract(epoch from '2026-07-13 09:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025499 -2.792847)'), GeomFromEWKT('SRID=4674;POINT (-40.025523 -2.792984)'))) / (select extract(epoch from '2026-07-13 09:23:28'::timestamp) - extract(epoch from '2026-07-13 09:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025545 -2.793068)', '2026-07-13 09:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025523 -2.792984)'), GeomFromEWKT('SRID=4674;POINT (-40.025545 -2.793068)'))) / (select extract(epoch from '2026-07-13 09:23:33'::timestamp) - extract(epoch from '2026-07-13 09:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025523 -2.792984)'), GeomFromEWKT('SRID=4674;POINT (-40.025545 -2.793068)'))) / (select extract(epoch from '2026-07-13 09:23:33'::timestamp) - extract(epoch from '2026-07-13 09:23: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'), 47628, 'SRID=4674;POINT (-40.025574 -2.793155)', '2026-07-13 09:23:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025545 -2.793068)'), GeomFromEWKT('SRID=4674;POINT (-40.025574 -2.793155)'))) / (select extract(epoch from '2026-07-13 09:23:38'::timestamp) - extract(epoch from '2026-07-13 09:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025545 -2.793068)'), GeomFromEWKT('SRID=4674;POINT (-40.025574 -2.793155)'))) / (select extract(epoch from '2026-07-13 09:23:38'::timestamp) - extract(epoch from '2026-07-13 09:23: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'), 47628, 'SRID=4674;POINT (-40.02558 -2.793173)', '2026-07-13 09:23:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025574 -2.793155)'), GeomFromEWKT('SRID=4674;POINT (-40.02558 -2.793173)'))) / (select extract(epoch from '2026-07-13 09:23:39'::timestamp) - extract(epoch from '2026-07-13 09:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025574 -2.793155)'), GeomFromEWKT('SRID=4674;POINT (-40.02558 -2.793173)'))) / (select extract(epoch from '2026-07-13 09:23:39'::timestamp) - extract(epoch from '2026-07-13 09:23: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'), 47628, 'SRID=4674;POINT (-40.025607 -2.793239)', '2026-07-13 09:23:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02558 -2.793173)'), GeomFromEWKT('SRID=4674;POINT (-40.025607 -2.793239)'))) / (select extract(epoch from '2026-07-13 09:23:43'::timestamp) - extract(epoch from '2026-07-13 09:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02558 -2.793173)'), GeomFromEWKT('SRID=4674;POINT (-40.025607 -2.793239)'))) / (select extract(epoch from '2026-07-13 09:23:43'::timestamp) - extract(epoch from '2026-07-13 09:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025654 -2.793353)', '2026-07-13 09:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025607 -2.793239)'), GeomFromEWKT('SRID=4674;POINT (-40.025654 -2.793353)'))) / (select extract(epoch from '2026-07-13 09:23:50'::timestamp) - extract(epoch from '2026-07-13 09:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025607 -2.793239)'), GeomFromEWKT('SRID=4674;POINT (-40.025654 -2.793353)'))) / (select extract(epoch from '2026-07-13 09:23:50'::timestamp) - extract(epoch from '2026-07-13 09:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025691 -2.793486)', '2026-07-13 09:23:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025654 -2.793353)'), GeomFromEWKT('SRID=4674;POINT (-40.025691 -2.793486)'))) / (select extract(epoch from '2026-07-13 09:23:58'::timestamp) - extract(epoch from '2026-07-13 09:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025654 -2.793353)'), GeomFromEWKT('SRID=4674;POINT (-40.025691 -2.793486)'))) / (select extract(epoch from '2026-07-13 09:23:58'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025713 -2.793552)', '2026-07-13 09:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025691 -2.793486)'), GeomFromEWKT('SRID=4674;POINT (-40.025713 -2.793552)'))) / (select extract(epoch from '2026-07-13 09:24:02'::timestamp) - extract(epoch from '2026-07-13 09:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025691 -2.793486)'), GeomFromEWKT('SRID=4674;POINT (-40.025713 -2.793552)'))) / (select extract(epoch from '2026-07-13 09:24:02'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025727 -2.793583)', '2026-07-13 09:24:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025713 -2.793552)'), GeomFromEWKT('SRID=4674;POINT (-40.025727 -2.793583)'))) / (select extract(epoch from '2026-07-13 09:24:04'::timestamp) - extract(epoch from '2026-07-13 09:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025713 -2.793552)'), GeomFromEWKT('SRID=4674;POINT (-40.025727 -2.793583)'))) / (select extract(epoch from '2026-07-13 09:24:04'::timestamp) - extract(epoch from '2026-07-13 09:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025754 -2.79366)', '2026-07-13 09:24:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025727 -2.793583)'), GeomFromEWKT('SRID=4674;POINT (-40.025754 -2.79366)'))) / (select extract(epoch from '2026-07-13 09:24:09'::timestamp) - extract(epoch from '2026-07-13 09:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025727 -2.793583)'), GeomFromEWKT('SRID=4674;POINT (-40.025754 -2.79366)'))) / (select extract(epoch from '2026-07-13 09:24:09'::timestamp) - extract(epoch from '2026-07-13 09:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025789 -2.793784)', '2026-07-13 09:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025754 -2.79366)'), GeomFromEWKT('SRID=4674;POINT (-40.025789 -2.793784)'))) / (select extract(epoch from '2026-07-13 09:24:17'::timestamp) - extract(epoch from '2026-07-13 09:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025754 -2.79366)'), GeomFromEWKT('SRID=4674;POINT (-40.025789 -2.793784)'))) / (select extract(epoch from '2026-07-13 09:24:17'::timestamp) - extract(epoch from '2026-07-13 09:24: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'), 47628, 'SRID=4674;POINT (-40.025785 -2.793855)', '2026-07-13 09:24:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025789 -2.793784)'), GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793855)'))) / (select extract(epoch from '2026-07-13 09:24:22'::timestamp) - extract(epoch from '2026-07-13 09:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025789 -2.793784)'), GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793855)'))) / (select extract(epoch from '2026-07-13 09:24:22'::timestamp) - extract(epoch from '2026-07-13 09:24: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'), 47628, 'SRID=4674;POINT (-40.025775 -2.793929)', '2026-07-13 09:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793855)'), GeomFromEWKT('SRID=4674;POINT (-40.025775 -2.793929)'))) / (select extract(epoch from '2026-07-13 09:24:27'::timestamp) - extract(epoch from '2026-07-13 09:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025785 -2.793855)'), GeomFromEWKT('SRID=4674;POINT (-40.025775 -2.793929)'))) / (select extract(epoch from '2026-07-13 09:24:27'::timestamp) - extract(epoch from '2026-07-13 09:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025773 -2.793966)', '2026-07-13 09:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025775 -2.793929)'), GeomFromEWKT('SRID=4674;POINT (-40.025773 -2.793966)'))) / (select extract(epoch from '2026-07-13 09:24:30'::timestamp) - extract(epoch from '2026-07-13 09:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025775 -2.793929)'), GeomFromEWKT('SRID=4674;POINT (-40.025773 -2.793966)'))) / (select extract(epoch from '2026-07-13 09:24:30'::timestamp) - extract(epoch from '2026-07-13 09:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025776 -2.793989)', '2026-07-13 09:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025773 -2.793966)'), GeomFromEWKT('SRID=4674;POINT (-40.025776 -2.793989)'))) / (select extract(epoch from '2026-07-13 09:24:32'::timestamp) - extract(epoch from '2026-07-13 09:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025773 -2.793966)'), GeomFromEWKT('SRID=4674;POINT (-40.025776 -2.793989)'))) / (select extract(epoch from '2026-07-13 09:24:32'::timestamp) - extract(epoch from '2026-07-13 09:24: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'), 47628, 'SRID=4674;POINT (-40.025765 -2.794037)', '2026-07-13 09:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025776 -2.793989)'), GeomFromEWKT('SRID=4674;POINT (-40.025765 -2.794037)'))) / (select extract(epoch from '2026-07-13 09:24:39'::timestamp) - extract(epoch from '2026-07-13 09:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025776 -2.793989)'), GeomFromEWKT('SRID=4674;POINT (-40.025765 -2.794037)'))) / (select extract(epoch from '2026-07-13 09:24:39'::timestamp) - extract(epoch from '2026-07-13 09:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025733 -2.794046)', '2026-07-13 09:24:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025765 -2.794037)'), GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.794046)'))) / (select extract(epoch from '2026-07-13 09:24:44'::timestamp) - extract(epoch from '2026-07-13 09:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025765 -2.794037)'), GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.794046)'))) / (select extract(epoch from '2026-07-13 09:24:44'::timestamp) - extract(epoch from '2026-07-13 09:24: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'), 47628, 'SRID=4674;POINT (-40.025724 -2.794042)', '2026-07-13 09:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.794046)'), GeomFromEWKT('SRID=4674;POINT (-40.025724 -2.794042)'))) / (select extract(epoch from '2026-07-13 09:24:45'::timestamp) - extract(epoch from '2026-07-13 09:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025733 -2.794046)'), GeomFromEWKT('SRID=4674;POINT (-40.025724 -2.794042)'))) / (select extract(epoch from '2026-07-13 09:24:45'::timestamp) - extract(epoch from '2026-07-13 09:24:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025656 -2.793993)', '2026-07-13 09:24:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025724 -2.794042)'), GeomFromEWKT('SRID=4674;POINT (-40.025656 -2.793993)'))) / (select extract(epoch from '2026-07-13 09:24:53'::timestamp) - extract(epoch from '2026-07-13 09:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025724 -2.794042)'), GeomFromEWKT('SRID=4674;POINT (-40.025656 -2.793993)'))) / (select extract(epoch from '2026-07-13 09:24:53'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025629 -2.79397)', '2026-07-13 09:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025656 -2.793993)'), GeomFromEWKT('SRID=4674;POINT (-40.025629 -2.79397)'))) / (select extract(epoch from '2026-07-13 09:24:57'::timestamp) - extract(epoch from '2026-07-13 09:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025656 -2.793993)'), GeomFromEWKT('SRID=4674;POINT (-40.025629 -2.79397)'))) / (select extract(epoch from '2026-07-13 09:24:57'::timestamp) - extract(epoch from '2026-07-13 09:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025609 -2.793913)', '2026-07-13 09:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025629 -2.79397)'), GeomFromEWKT('SRID=4674;POINT (-40.025609 -2.793913)'))) / (select extract(epoch from '2026-07-13 09:25:03'::timestamp) - extract(epoch from '2026-07-13 09:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025629 -2.79397)'), GeomFromEWKT('SRID=4674;POINT (-40.025609 -2.793913)'))) / (select extract(epoch from '2026-07-13 09:25:03'::timestamp) - extract(epoch from '2026-07-13 09:24: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'), 47628, 'SRID=4674;POINT (-40.025622 -2.793858)', '2026-07-13 09:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025609 -2.793913)'), GeomFromEWKT('SRID=4674;POINT (-40.025622 -2.793858)'))) / (select extract(epoch from '2026-07-13 09:25:13'::timestamp) - extract(epoch from '2026-07-13 09:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025609 -2.793913)'), GeomFromEWKT('SRID=4674;POINT (-40.025622 -2.793858)'))) / (select extract(epoch from '2026-07-13 09:25:13'::timestamp) - extract(epoch from '2026-07-13 09:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025694 -2.793832)', '2026-07-13 09:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025622 -2.793858)'), GeomFromEWKT('SRID=4674;POINT (-40.025694 -2.793832)'))) / (select extract(epoch from '2026-07-13 09:25:31'::timestamp) - extract(epoch from '2026-07-13 09:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025622 -2.793858)'), GeomFromEWKT('SRID=4674;POINT (-40.025694 -2.793832)'))) / (select extract(epoch from '2026-07-13 09:25:31'::timestamp) - extract(epoch from '2026-07-13 09: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'), 47628, 'SRID=4674;POINT (-40.025768 -2.793832)', '2026-07-13 09:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025694 -2.793832)'), GeomFromEWKT('SRID=4674;POINT (-40.025768 -2.793832)'))) / (select extract(epoch from '2026-07-13 09:25:54'::timestamp) - extract(epoch from '2026-07-13 09:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025694 -2.793832)'), GeomFromEWKT('SRID=4674;POINT (-40.025768 -2.793832)'))) / (select extract(epoch from '2026-07-13 09:25:54'::timestamp) - extract(epoch from '2026-07-13 09:25: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'), 47628, 'SRID=4674;POINT (-40.025805 -2.793852)', '2026-07-13 09:26:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025768 -2.793832)'), GeomFromEWKT('SRID=4674;POINT (-40.025805 -2.793852)'))) / (select extract(epoch from '2026-07-13 09:26:12'::timestamp) - extract(epoch from '2026-07-13 09:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025768 -2.793832)'), GeomFromEWKT('SRID=4674;POINT (-40.025805 -2.793852)'))) / (select extract(epoch from '2026-07-13 09:26:12'::timestamp) - extract(epoch from '2026-07-13 09:25: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'), 47628, 'SRID=4674;POINT (-40.02579 -2.793834)', '2026-07-13 09:26:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025805 -2.793852)'), GeomFromEWKT('SRID=4674;POINT (-40.02579 -2.793834)'))) / (select extract(epoch from '2026-07-13 09:26:34'::timestamp) - extract(epoch from '2026-07-13 09:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025805 -2.793852)'), GeomFromEWKT('SRID=4674;POINT (-40.02579 -2.793834)'))) / (select extract(epoch from '2026-07-13 09:26:34'::timestamp) - extract(epoch from '2026-07-13 09:26: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'), 47628, 'SRID=4674;POINT (-40.025791 -2.793852)', '2026-07-13 09:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02579 -2.793834)'), GeomFromEWKT('SRID=4674;POINT (-40.025791 -2.793852)'))) / (select extract(epoch from '2026-07-13 09:26:42'::timestamp) - extract(epoch from '2026-07-13 09:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02579 -2.793834)'), GeomFromEWKT('SRID=4674;POINT (-40.025791 -2.793852)'))) / (select extract(epoch from '2026-07-13 09:26:42'::timestamp) - extract(epoch from '2026-07-13 09:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025796 -2.793868)', '2026-07-13 09:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025791 -2.793852)'), GeomFromEWKT('SRID=4674;POINT (-40.025796 -2.793868)'))) / (select extract(epoch from '2026-07-13 09:26:52'::timestamp) - extract(epoch from '2026-07-13 09:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025791 -2.793852)'), GeomFromEWKT('SRID=4674;POINT (-40.025796 -2.793868)'))) / (select extract(epoch from '2026-07-13 09:26:52'::timestamp) - extract(epoch from '2026-07-13 09:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025784 -2.793891)', '2026-07-13 09:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025796 -2.793868)'), GeomFromEWKT('SRID=4674;POINT (-40.025784 -2.793891)'))) / (select extract(epoch from '2026-07-13 09:27:00'::timestamp) - extract(epoch from '2026-07-13 09:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025796 -2.793868)'), GeomFromEWKT('SRID=4674;POINT (-40.025784 -2.793891)'))) / (select extract(epoch from '2026-07-13 09:27:00'::timestamp) - extract(epoch from '2026-07-13 09:26: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'), 47628, 'SRID=4674;POINT (-40.025722 -2.793911)', '2026-07-13 09:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025784 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.025722 -2.793911)'))) / (select extract(epoch from '2026-07-13 09:27:08'::timestamp) - extract(epoch from '2026-07-13 09:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025784 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.025722 -2.793911)'))) / (select extract(epoch from '2026-07-13 09:27:08'::timestamp) - extract(epoch from '2026-07-13 09:27: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'), 47628, 'SRID=4674;POINT (-40.025658 -2.793894)', '2026-07-13 09:27:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025722 -2.793911)'), GeomFromEWKT('SRID=4674;POINT (-40.025658 -2.793894)'))) / (select extract(epoch from '2026-07-13 09:27:17'::timestamp) - extract(epoch from '2026-07-13 09:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025722 -2.793911)'), GeomFromEWKT('SRID=4674;POINT (-40.025658 -2.793894)'))) / (select extract(epoch from '2026-07-13 09:27:17'::timestamp) - extract(epoch from '2026-07-13 09:27: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'), 47628, 'SRID=4674;POINT (-40.02563 -2.793877)', '2026-07-13 09:27:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025658 -2.793894)'), GeomFromEWKT('SRID=4674;POINT (-40.02563 -2.793877)'))) / (select extract(epoch from '2026-07-13 09:27:27'::timestamp) - extract(epoch from '2026-07-13 09:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025658 -2.793894)'), GeomFromEWKT('SRID=4674;POINT (-40.02563 -2.793877)'))) / (select extract(epoch from '2026-07-13 09:27:27'::timestamp) - extract(epoch from '2026-07-13 09:27: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'), 47628, 'SRID=4674;POINT (-40.025571 -2.793916)', '2026-07-13 09:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02563 -2.793877)'), GeomFromEWKT('SRID=4674;POINT (-40.025571 -2.793916)'))) / (select extract(epoch from '2026-07-13 09:27:40'::timestamp) - extract(epoch from '2026-07-13 09:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02563 -2.793877)'), GeomFromEWKT('SRID=4674;POINT (-40.025571 -2.793916)'))) / (select extract(epoch from '2026-07-13 09:27:40'::timestamp) - extract(epoch from '2026-07-13 09:27: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'), 47628, 'SRID=4674;POINT (-40.025565 -2.793939)', '2026-07-13 09:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025571 -2.793916)'), GeomFromEWKT('SRID=4674;POINT (-40.025565 -2.793939)'))) / (select extract(epoch from '2026-07-13 09:27:44'::timestamp) - extract(epoch from '2026-07-13 09:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025571 -2.793916)'), GeomFromEWKT('SRID=4674;POINT (-40.025565 -2.793939)'))) / (select extract(epoch from '2026-07-13 09:27:44'::timestamp) - extract(epoch from '2026-07-13 09:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025571 -2.793963)', '2026-07-13 09:27:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025565 -2.793939)'), GeomFromEWKT('SRID=4674;POINT (-40.025571 -2.793963)'))) / (select extract(epoch from '2026-07-13 09:27:47'::timestamp) - extract(epoch from '2026-07-13 09:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025565 -2.793939)'), GeomFromEWKT('SRID=4674;POINT (-40.025571 -2.793963)'))) / (select extract(epoch from '2026-07-13 09:27:47'::timestamp) - extract(epoch from '2026-07-13 09:27:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025575 -2.793982)', '2026-07-13 09:27:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025571 -2.793963)'), GeomFromEWKT('SRID=4674;POINT (-40.025575 -2.793982)'))) / (select extract(epoch from '2026-07-13 09:27:49'::timestamp) - extract(epoch from '2026-07-13 09:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025571 -2.793963)'), GeomFromEWKT('SRID=4674;POINT (-40.025575 -2.793982)'))) / (select extract(epoch from '2026-07-13 09:27:49'::timestamp) - extract(epoch from '2026-07-13 09:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02558 -2.794003)', '2026-07-13 09:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025575 -2.793982)'), GeomFromEWKT('SRID=4674;POINT (-40.02558 -2.794003)'))) / (select extract(epoch from '2026-07-13 09:27:51'::timestamp) - extract(epoch from '2026-07-13 09:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025575 -2.793982)'), GeomFromEWKT('SRID=4674;POINT (-40.02558 -2.794003)'))) / (select extract(epoch from '2026-07-13 09:27:51'::timestamp) - extract(epoch from '2026-07-13 09:27: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'), 47628, 'SRID=4674;POINT (-40.025592 -2.794026)', '2026-07-13 09:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02558 -2.794003)'), GeomFromEWKT('SRID=4674;POINT (-40.025592 -2.794026)'))) / (select extract(epoch from '2026-07-13 09:27:53'::timestamp) - extract(epoch from '2026-07-13 09:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02558 -2.794003)'), GeomFromEWKT('SRID=4674;POINT (-40.025592 -2.794026)'))) / (select extract(epoch from '2026-07-13 09:27:53'::timestamp) - extract(epoch from '2026-07-13 09:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025618 -2.794072)', '2026-07-13 09:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025592 -2.794026)'), GeomFromEWKT('SRID=4674;POINT (-40.025618 -2.794072)'))) / (select extract(epoch from '2026-07-13 09:27:57'::timestamp) - extract(epoch from '2026-07-13 09:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025592 -2.794026)'), GeomFromEWKT('SRID=4674;POINT (-40.025618 -2.794072)'))) / (select extract(epoch from '2026-07-13 09:27:57'::timestamp) - extract(epoch from '2026-07-13 09:27: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'), 47628, 'SRID=4674;POINT (-40.025648 -2.794118)', '2026-07-13 09:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025618 -2.794072)'), GeomFromEWKT('SRID=4674;POINT (-40.025648 -2.794118)'))) / (select extract(epoch from '2026-07-13 09:28:01'::timestamp) - extract(epoch from '2026-07-13 09:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025618 -2.794072)'), GeomFromEWKT('SRID=4674;POINT (-40.025648 -2.794118)'))) / (select extract(epoch from '2026-07-13 09:28:01'::timestamp) - extract(epoch from '2026-07-13 09:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025668 -2.794151)', '2026-07-13 09:28:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025648 -2.794118)'), GeomFromEWKT('SRID=4674;POINT (-40.025668 -2.794151)'))) / (select extract(epoch from '2026-07-13 09:28:04'::timestamp) - extract(epoch from '2026-07-13 09:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025648 -2.794118)'), GeomFromEWKT('SRID=4674;POINT (-40.025668 -2.794151)'))) / (select extract(epoch from '2026-07-13 09:28:04'::timestamp) - extract(epoch from '2026-07-13 09:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025727 -2.794247)', '2026-07-13 09:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025668 -2.794151)'), GeomFromEWKT('SRID=4674;POINT (-40.025727 -2.794247)'))) / (select extract(epoch from '2026-07-13 09:28:12'::timestamp) - extract(epoch from '2026-07-13 09:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025668 -2.794151)'), GeomFromEWKT('SRID=4674;POINT (-40.025727 -2.794247)'))) / (select extract(epoch from '2026-07-13 09:28:12'::timestamp) - extract(epoch from '2026-07-13 09:28:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025778 -2.79432)', '2026-07-13 09:28:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025727 -2.794247)'), GeomFromEWKT('SRID=4674;POINT (-40.025778 -2.79432)'))) / (select extract(epoch from '2026-07-13 09:28:19'::timestamp) - extract(epoch from '2026-07-13 09:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025727 -2.794247)'), GeomFromEWKT('SRID=4674;POINT (-40.025778 -2.79432)'))) / (select extract(epoch from '2026-07-13 09:28:19'::timestamp) - extract(epoch from '2026-07-13 09:28: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'), 47628, 'SRID=4674;POINT (-40.025786 -2.794328)', '2026-07-13 09:28:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025778 -2.79432)'), GeomFromEWKT('SRID=4674;POINT (-40.025786 -2.794328)'))) / (select extract(epoch from '2026-07-13 09:28:20'::timestamp) - extract(epoch from '2026-07-13 09:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025778 -2.79432)'), GeomFromEWKT('SRID=4674;POINT (-40.025786 -2.794328)'))) / (select extract(epoch from '2026-07-13 09:28:20'::timestamp) - extract(epoch from '2026-07-13 09:28: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'), 47628, 'SRID=4674;POINT (-40.025829 -2.794366)', '2026-07-13 09:28:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025786 -2.794328)'), GeomFromEWKT('SRID=4674;POINT (-40.025829 -2.794366)'))) / (select extract(epoch from '2026-07-13 09:28:24'::timestamp) - extract(epoch from '2026-07-13 09:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025786 -2.794328)'), GeomFromEWKT('SRID=4674;POINT (-40.025829 -2.794366)'))) / (select extract(epoch from '2026-07-13 09:28:24'::timestamp) - extract(epoch from '2026-07-13 09:28: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'), 47628, 'SRID=4674;POINT (-40.02587 -2.794415)', '2026-07-13 09:28:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025829 -2.794366)'), GeomFromEWKT('SRID=4674;POINT (-40.02587 -2.794415)'))) / (select extract(epoch from '2026-07-13 09:28:29'::timestamp) - extract(epoch from '2026-07-13 09:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025829 -2.794366)'), GeomFromEWKT('SRID=4674;POINT (-40.02587 -2.794415)'))) / (select extract(epoch from '2026-07-13 09:28:29'::timestamp) - extract(epoch from '2026-07-13 09:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025884 -2.79444)', '2026-07-13 09:28:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02587 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.79444)'))) / (select extract(epoch from '2026-07-13 09:28:31'::timestamp) - extract(epoch from '2026-07-13 09:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02587 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.79444)'))) / (select extract(epoch from '2026-07-13 09:28:31'::timestamp) - extract(epoch from '2026-07-13 09:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025902 -2.794496)', '2026-07-13 09:28:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.79444)'), GeomFromEWKT('SRID=4674;POINT (-40.025902 -2.794496)'))) / (select extract(epoch from '2026-07-13 09:28:35'::timestamp) - extract(epoch from '2026-07-13 09:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025884 -2.79444)'), GeomFromEWKT('SRID=4674;POINT (-40.025902 -2.794496)'))) / (select extract(epoch from '2026-07-13 09:28:35'::timestamp) - extract(epoch from '2026-07-13 09:28: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'), 47628, 'SRID=4674;POINT (-40.025905 -2.794617)', '2026-07-13 09:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025902 -2.794496)'), GeomFromEWKT('SRID=4674;POINT (-40.025905 -2.794617)'))) / (select extract(epoch from '2026-07-13 09:28:43'::timestamp) - extract(epoch from '2026-07-13 09:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025902 -2.794496)'), GeomFromEWKT('SRID=4674;POINT (-40.025905 -2.794617)'))) / (select extract(epoch from '2026-07-13 09:28:43'::timestamp) - extract(epoch from '2026-07-13 09:28: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'), 47628, 'SRID=4674;POINT (-40.025932 -2.794734)', '2026-07-13 09:28:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025905 -2.794617)'), GeomFromEWKT('SRID=4674;POINT (-40.025932 -2.794734)'))) / (select extract(epoch from '2026-07-13 09:28:50'::timestamp) - extract(epoch from '2026-07-13 09:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025905 -2.794617)'), GeomFromEWKT('SRID=4674;POINT (-40.025932 -2.794734)'))) / (select extract(epoch from '2026-07-13 09:28:50'::timestamp) - extract(epoch from '2026-07-13 09:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.025967 -2.79483)', '2026-07-13 09:28:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025932 -2.794734)'), GeomFromEWKT('SRID=4674;POINT (-40.025967 -2.79483)'))) / (select extract(epoch from '2026-07-13 09:28:56'::timestamp) - extract(epoch from '2026-07-13 09:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025932 -2.794734)'), GeomFromEWKT('SRID=4674;POINT (-40.025967 -2.79483)'))) / (select extract(epoch from '2026-07-13 09:28:56'::timestamp) - extract(epoch from '2026-07-13 09:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026025 -2.794945)', '2026-07-13 09:29:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025967 -2.79483)'), GeomFromEWKT('SRID=4674;POINT (-40.026025 -2.794945)'))) / (select extract(epoch from '2026-07-13 09:29:03'::timestamp) - extract(epoch from '2026-07-13 09:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.025967 -2.79483)'), GeomFromEWKT('SRID=4674;POINT (-40.026025 -2.794945)'))) / (select extract(epoch from '2026-07-13 09:29:03'::timestamp) - extract(epoch from '2026-07-13 09:28: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'), 47628, 'SRID=4674;POINT (-40.026089 -2.795042)', '2026-07-13 09:29:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026025 -2.794945)'), GeomFromEWKT('SRID=4674;POINT (-40.026089 -2.795042)'))) / (select extract(epoch from '2026-07-13 09:29:09'::timestamp) - extract(epoch from '2026-07-13 09:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026025 -2.794945)'), GeomFromEWKT('SRID=4674;POINT (-40.026089 -2.795042)'))) / (select extract(epoch from '2026-07-13 09:29:09'::timestamp) - extract(epoch from '2026-07-13 09:29: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'), 47628, 'SRID=4674;POINT (-40.026154 -2.795154)', '2026-07-13 09:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026089 -2.795042)'), GeomFromEWKT('SRID=4674;POINT (-40.026154 -2.795154)'))) / (select extract(epoch from '2026-07-13 09:29:16'::timestamp) - extract(epoch from '2026-07-13 09:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026089 -2.795042)'), GeomFromEWKT('SRID=4674;POINT (-40.026154 -2.795154)'))) / (select extract(epoch from '2026-07-13 09:29:16'::timestamp) - extract(epoch from '2026-07-13 09:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026191 -2.795242)', '2026-07-13 09:29:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026154 -2.795154)'), GeomFromEWKT('SRID=4674;POINT (-40.026191 -2.795242)'))) / (select extract(epoch from '2026-07-13 09:29:21'::timestamp) - extract(epoch from '2026-07-13 09:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026154 -2.795154)'), GeomFromEWKT('SRID=4674;POINT (-40.026191 -2.795242)'))) / (select extract(epoch from '2026-07-13 09:29:21'::timestamp) - extract(epoch from '2026-07-13 09:29: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'), 47628, 'SRID=4674;POINT (-40.026247 -2.795361)', '2026-07-13 09:29:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026191 -2.795242)'), GeomFromEWKT('SRID=4674;POINT (-40.026247 -2.795361)'))) / (select extract(epoch from '2026-07-13 09:29:28'::timestamp) - extract(epoch from '2026-07-13 09:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026191 -2.795242)'), GeomFromEWKT('SRID=4674;POINT (-40.026247 -2.795361)'))) / (select extract(epoch from '2026-07-13 09:29:28'::timestamp) - extract(epoch from '2026-07-13 09:29: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'), 47628, 'SRID=4674;POINT (-40.02632 -2.795491)', '2026-07-13 09:29:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026247 -2.795361)'), GeomFromEWKT('SRID=4674;POINT (-40.02632 -2.795491)'))) / (select extract(epoch from '2026-07-13 09:29:36'::timestamp) - extract(epoch from '2026-07-13 09:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026247 -2.795361)'), GeomFromEWKT('SRID=4674;POINT (-40.02632 -2.795491)'))) / (select extract(epoch from '2026-07-13 09:29:36'::timestamp) - extract(epoch from '2026-07-13 09:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026363 -2.795572)', '2026-07-13 09:29:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02632 -2.795491)'), GeomFromEWKT('SRID=4674;POINT (-40.026363 -2.795572)'))) / (select extract(epoch from '2026-07-13 09:29:41'::timestamp) - extract(epoch from '2026-07-13 09:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02632 -2.795491)'), GeomFromEWKT('SRID=4674;POINT (-40.026363 -2.795572)'))) / (select extract(epoch from '2026-07-13 09:29:41'::timestamp) - extract(epoch from '2026-07-13 09:29: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'), 47628, 'SRID=4674;POINT (-40.026402 -2.795672)', '2026-07-13 09:29:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026363 -2.795572)'), GeomFromEWKT('SRID=4674;POINT (-40.026402 -2.795672)'))) / (select extract(epoch from '2026-07-13 09:29:47'::timestamp) - extract(epoch from '2026-07-13 09:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026363 -2.795572)'), GeomFromEWKT('SRID=4674;POINT (-40.026402 -2.795672)'))) / (select extract(epoch from '2026-07-13 09:29:47'::timestamp) - extract(epoch from '2026-07-13 09:29: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'), 47628, 'SRID=4674;POINT (-40.026432 -2.795774)', '2026-07-13 09:29:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026402 -2.795672)'), GeomFromEWKT('SRID=4674;POINT (-40.026432 -2.795774)'))) / (select extract(epoch from '2026-07-13 09:29:53'::timestamp) - extract(epoch from '2026-07-13 09:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026402 -2.795672)'), GeomFromEWKT('SRID=4674;POINT (-40.026432 -2.795774)'))) / (select extract(epoch from '2026-07-13 09:29:53'::timestamp) - extract(epoch from '2026-07-13 09:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026474 -2.795888)', '2026-07-13 09:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026432 -2.795774)'), GeomFromEWKT('SRID=4674;POINT (-40.026474 -2.795888)'))) / (select extract(epoch from '2026-07-13 09:30:00'::timestamp) - extract(epoch from '2026-07-13 09:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026432 -2.795774)'), GeomFromEWKT('SRID=4674;POINT (-40.026474 -2.795888)'))) / (select extract(epoch from '2026-07-13 09:30:00'::timestamp) - extract(epoch from '2026-07-13 09:29: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'), 47628, 'SRID=4674;POINT (-40.026529 -2.795991)', '2026-07-13 09:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026474 -2.795888)'), GeomFromEWKT('SRID=4674;POINT (-40.026529 -2.795991)'))) / (select extract(epoch from '2026-07-13 09:30:06'::timestamp) - extract(epoch from '2026-07-13 09:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026474 -2.795888)'), GeomFromEWKT('SRID=4674;POINT (-40.026529 -2.795991)'))) / (select extract(epoch from '2026-07-13 09:30:06'::timestamp) - extract(epoch from '2026-07-13 09:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.02659 -2.79609)', '2026-07-13 09:30:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026529 -2.795991)'), GeomFromEWKT('SRID=4674;POINT (-40.02659 -2.79609)'))) / (select extract(epoch from '2026-07-13 09:30:12'::timestamp) - extract(epoch from '2026-07-13 09:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026529 -2.795991)'), GeomFromEWKT('SRID=4674;POINT (-40.02659 -2.79609)'))) / (select extract(epoch from '2026-07-13 09:30:12'::timestamp) - extract(epoch from '2026-07-13 09:30: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'), 47628, 'SRID=4674;POINT (-40.026637 -2.796172)', '2026-07-13 09:30:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02659 -2.79609)'), GeomFromEWKT('SRID=4674;POINT (-40.026637 -2.796172)'))) / (select extract(epoch from '2026-07-13 09:30:17'::timestamp) - extract(epoch from '2026-07-13 09:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02659 -2.79609)'), GeomFromEWKT('SRID=4674;POINT (-40.026637 -2.796172)'))) / (select extract(epoch from '2026-07-13 09:30:17'::timestamp) - extract(epoch from '2026-07-13 09:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026703 -2.796285)', '2026-07-13 09:30:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026637 -2.796172)'), GeomFromEWKT('SRID=4674;POINT (-40.026703 -2.796285)'))) / (select extract(epoch from '2026-07-13 09:30:24'::timestamp) - extract(epoch from '2026-07-13 09:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026637 -2.796172)'), GeomFromEWKT('SRID=4674;POINT (-40.026703 -2.796285)'))) / (select extract(epoch from '2026-07-13 09:30:24'::timestamp) - extract(epoch from '2026-07-13 09:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.026759 -2.796379)', '2026-07-13 09:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026703 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.026759 -2.796379)'))) / (select extract(epoch from '2026-07-13 09:30:30'::timestamp) - extract(epoch from '2026-07-13 09:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026703 -2.796285)'), GeomFromEWKT('SRID=4674;POINT (-40.026759 -2.796379)'))) / (select extract(epoch from '2026-07-13 09:30:30'::timestamp) - extract(epoch from '2026-07-13 09:30: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'), 47628, 'SRID=4674;POINT (-40.02684 -2.796493)', '2026-07-13 09:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026759 -2.796379)'), GeomFromEWKT('SRID=4674;POINT (-40.02684 -2.796493)'))) / (select extract(epoch from '2026-07-13 09:30:37'::timestamp) - extract(epoch from '2026-07-13 09:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026759 -2.796379)'), GeomFromEWKT('SRID=4674;POINT (-40.02684 -2.796493)'))) / (select extract(epoch from '2026-07-13 09:30:37'::timestamp) - extract(epoch from '2026-07-13 09:30: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'), 47628, 'SRID=4674;POINT (-40.026899 -2.796592)', '2026-07-13 09:30:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02684 -2.796493)'), GeomFromEWKT('SRID=4674;POINT (-40.026899 -2.796592)'))) / (select extract(epoch from '2026-07-13 09:30:43'::timestamp) - extract(epoch from '2026-07-13 09:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02684 -2.796493)'), GeomFromEWKT('SRID=4674;POINT (-40.026899 -2.796592)'))) / (select extract(epoch from '2026-07-13 09:30:43'::timestamp) - extract(epoch from '2026-07-13 09:30: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'), 47628, 'SRID=4674;POINT (-40.026966 -2.79671)', '2026-07-13 09:30:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026899 -2.796592)'), GeomFromEWKT('SRID=4674;POINT (-40.026966 -2.79671)'))) / (select extract(epoch from '2026-07-13 09:30:50'::timestamp) - extract(epoch from '2026-07-13 09:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026899 -2.796592)'), GeomFromEWKT('SRID=4674;POINT (-40.026966 -2.79671)'))) / (select extract(epoch from '2026-07-13 09:30:50'::timestamp) - extract(epoch from '2026-07-13 09:30: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'), 47628, 'SRID=4674;POINT (-40.026999 -2.796778)', '2026-07-13 09:30:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026966 -2.79671)'), GeomFromEWKT('SRID=4674;POINT (-40.026999 -2.796778)'))) / (select extract(epoch from '2026-07-13 09:30:54'::timestamp) - extract(epoch from '2026-07-13 09:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026966 -2.79671)'), GeomFromEWKT('SRID=4674;POINT (-40.026999 -2.796778)'))) / (select extract(epoch from '2026-07-13 09:30:54'::timestamp) - extract(epoch from '2026-07-13 09:30: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'), 47628, 'SRID=4674;POINT (-40.027055 -2.796858)', '2026-07-13 09:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026999 -2.796778)'), GeomFromEWKT('SRID=4674;POINT (-40.027055 -2.796858)'))) / (select extract(epoch from '2026-07-13 09:30:59'::timestamp) - extract(epoch from '2026-07-13 09:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.026999 -2.796778)'), GeomFromEWKT('SRID=4674;POINT (-40.027055 -2.796858)'))) / (select extract(epoch from '2026-07-13 09:30:59'::timestamp) - extract(epoch from '2026-07-13 09:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027101 -2.796939)', '2026-07-13 09:31:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027055 -2.796858)'), GeomFromEWKT('SRID=4674;POINT (-40.027101 -2.796939)'))) / (select extract(epoch from '2026-07-13 09:31:04'::timestamp) - extract(epoch from '2026-07-13 09:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027055 -2.796858)'), GeomFromEWKT('SRID=4674;POINT (-40.027101 -2.796939)'))) / (select extract(epoch from '2026-07-13 09:31:04'::timestamp) - extract(epoch from '2026-07-13 09:30: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'), 47628, 'SRID=4674;POINT (-40.027181 -2.797072)', '2026-07-13 09:31:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027101 -2.796939)'), GeomFromEWKT('SRID=4674;POINT (-40.027181 -2.797072)'))) / (select extract(epoch from '2026-07-13 09:31:12'::timestamp) - extract(epoch from '2026-07-13 09:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027101 -2.796939)'), GeomFromEWKT('SRID=4674;POINT (-40.027181 -2.797072)'))) / (select extract(epoch from '2026-07-13 09:31:12'::timestamp) - extract(epoch from '2026-07-13 09:31: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'), 47628, 'SRID=4674;POINT (-40.027262 -2.797183)', '2026-07-13 09:31:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027181 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.027262 -2.797183)'))) / (select extract(epoch from '2026-07-13 09:31:19'::timestamp) - extract(epoch from '2026-07-13 09:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027181 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.027262 -2.797183)'))) / (select extract(epoch from '2026-07-13 09:31:19'::timestamp) - extract(epoch from '2026-07-13 09:31: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'), 47628, 'SRID=4674;POINT (-40.027326 -2.797276)', '2026-07-13 09:31:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027262 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.027326 -2.797276)'))) / (select extract(epoch from '2026-07-13 09:31:25'::timestamp) - extract(epoch from '2026-07-13 09:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027262 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.027326 -2.797276)'))) / (select extract(epoch from '2026-07-13 09:31:25'::timestamp) - extract(epoch from '2026-07-13 09:31: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'), 47628, 'SRID=4674;POINT (-40.027383 -2.797354)', '2026-07-13 09:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027326 -2.797276)'), GeomFromEWKT('SRID=4674;POINT (-40.027383 -2.797354)'))) / (select extract(epoch from '2026-07-13 09:31:30'::timestamp) - extract(epoch from '2026-07-13 09:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027326 -2.797276)'), GeomFromEWKT('SRID=4674;POINT (-40.027383 -2.797354)'))) / (select extract(epoch from '2026-07-13 09:31:30'::timestamp) - extract(epoch from '2026-07-13 09:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027453 -2.797447)', '2026-07-13 09:31:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027383 -2.797354)'), GeomFromEWKT('SRID=4674;POINT (-40.027453 -2.797447)'))) / (select extract(epoch from '2026-07-13 09:31:36'::timestamp) - extract(epoch from '2026-07-13 09:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027383 -2.797354)'), GeomFromEWKT('SRID=4674;POINT (-40.027453 -2.797447)'))) / (select extract(epoch from '2026-07-13 09:31:36'::timestamp) - extract(epoch from '2026-07-13 09:31: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'), 47628, 'SRID=4674;POINT (-40.027509 -2.797526)', '2026-07-13 09:31:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027453 -2.797447)'), GeomFromEWKT('SRID=4674;POINT (-40.027509 -2.797526)'))) / (select extract(epoch from '2026-07-13 09:31:41'::timestamp) - extract(epoch from '2026-07-13 09:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027453 -2.797447)'), GeomFromEWKT('SRID=4674;POINT (-40.027509 -2.797526)'))) / (select extract(epoch from '2026-07-13 09:31:41'::timestamp) - extract(epoch from '2026-07-13 09:31: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'), 47628, 'SRID=4674;POINT (-40.02756 -2.797629)', '2026-07-13 09:31:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027509 -2.797526)'), GeomFromEWKT('SRID=4674;POINT (-40.02756 -2.797629)'))) / (select extract(epoch from '2026-07-13 09:31:47'::timestamp) - extract(epoch from '2026-07-13 09:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027509 -2.797526)'), GeomFromEWKT('SRID=4674;POINT (-40.02756 -2.797629)'))) / (select extract(epoch from '2026-07-13 09:31:47'::timestamp) - extract(epoch from '2026-07-13 09:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027613 -2.797748)', '2026-07-13 09:31:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02756 -2.797629)'), GeomFromEWKT('SRID=4674;POINT (-40.027613 -2.797748)'))) / (select extract(epoch from '2026-07-13 09:31:54'::timestamp) - extract(epoch from '2026-07-13 09:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02756 -2.797629)'), GeomFromEWKT('SRID=4674;POINT (-40.027613 -2.797748)'))) / (select extract(epoch from '2026-07-13 09:31:54'::timestamp) - extract(epoch from '2026-07-13 09:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027649 -2.79786)', '2026-07-13 09:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027613 -2.797748)'), GeomFromEWKT('SRID=4674;POINT (-40.027649 -2.79786)'))) / (select extract(epoch from '2026-07-13 09:32:00'::timestamp) - extract(epoch from '2026-07-13 09:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027613 -2.797748)'), GeomFromEWKT('SRID=4674;POINT (-40.027649 -2.79786)'))) / (select extract(epoch from '2026-07-13 09:32:00'::timestamp) - extract(epoch from '2026-07-13 09:31:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027693 -2.797963)', '2026-07-13 09:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027649 -2.79786)'), GeomFromEWKT('SRID=4674;POINT (-40.027693 -2.797963)'))) / (select extract(epoch from '2026-07-13 09:32:06'::timestamp) - extract(epoch from '2026-07-13 09:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027649 -2.79786)'), GeomFromEWKT('SRID=4674;POINT (-40.027693 -2.797963)'))) / (select extract(epoch from '2026-07-13 09:32:06'::timestamp) - extract(epoch from '2026-07-13 09:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027741 -2.798043)', '2026-07-13 09:32:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027693 -2.797963)'), GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.798043)'))) / (select extract(epoch from '2026-07-13 09:32:11'::timestamp) - extract(epoch from '2026-07-13 09:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027693 -2.797963)'), GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.798043)'))) / (select extract(epoch from '2026-07-13 09:32:11'::timestamp) - extract(epoch from '2026-07-13 09:32: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'), 47628, 'SRID=4674;POINT (-40.027807 -2.798163)', '2026-07-13 09:32:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.798043)'), GeomFromEWKT('SRID=4674;POINT (-40.027807 -2.798163)'))) / (select extract(epoch from '2026-07-13 09:32:18'::timestamp) - extract(epoch from '2026-07-13 09:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027741 -2.798043)'), GeomFromEWKT('SRID=4674;POINT (-40.027807 -2.798163)'))) / (select extract(epoch from '2026-07-13 09:32:18'::timestamp) - extract(epoch from '2026-07-13 09:32:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027887 -2.798296)', '2026-07-13 09:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027807 -2.798163)'), GeomFromEWKT('SRID=4674;POINT (-40.027887 -2.798296)'))) / (select extract(epoch from '2026-07-13 09:32:26'::timestamp) - extract(epoch from '2026-07-13 09:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027807 -2.798163)'), GeomFromEWKT('SRID=4674;POINT (-40.027887 -2.798296)'))) / (select extract(epoch from '2026-07-13 09:32:26'::timestamp) - extract(epoch from '2026-07-13 09:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.027942 -2.798401)', '2026-07-13 09:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027887 -2.798296)'), GeomFromEWKT('SRID=4674;POINT (-40.027942 -2.798401)'))) / (select extract(epoch from '2026-07-13 09:32:32'::timestamp) - extract(epoch from '2026-07-13 09:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027887 -2.798296)'), GeomFromEWKT('SRID=4674;POINT (-40.027942 -2.798401)'))) / (select extract(epoch from '2026-07-13 09:32:32'::timestamp) - extract(epoch from '2026-07-13 09:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028009 -2.798524)', '2026-07-13 09:32:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027942 -2.798401)'), GeomFromEWKT('SRID=4674;POINT (-40.028009 -2.798524)'))) / (select extract(epoch from '2026-07-13 09:32:39'::timestamp) - extract(epoch from '2026-07-13 09:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.027942 -2.798401)'), GeomFromEWKT('SRID=4674;POINT (-40.028009 -2.798524)'))) / (select extract(epoch from '2026-07-13 09:32:39'::timestamp) - extract(epoch from '2026-07-13 09:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028082 -2.798636)', '2026-07-13 09:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028009 -2.798524)'), GeomFromEWKT('SRID=4674;POINT (-40.028082 -2.798636)'))) / (select extract(epoch from '2026-07-13 09:32:46'::timestamp) - extract(epoch from '2026-07-13 09:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028009 -2.798524)'), GeomFromEWKT('SRID=4674;POINT (-40.028082 -2.798636)'))) / (select extract(epoch from '2026-07-13 09:32:46'::timestamp) - extract(epoch from '2026-07-13 09:32: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'), 47628, 'SRID=4674;POINT (-40.028139 -2.798738)', '2026-07-13 09:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028082 -2.798636)'), GeomFromEWKT('SRID=4674;POINT (-40.028139 -2.798738)'))) / (select extract(epoch from '2026-07-13 09:32:52'::timestamp) - extract(epoch from '2026-07-13 09:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028082 -2.798636)'), GeomFromEWKT('SRID=4674;POINT (-40.028139 -2.798738)'))) / (select extract(epoch from '2026-07-13 09:32:52'::timestamp) - extract(epoch from '2026-07-13 09:32: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'), 47628, 'SRID=4674;POINT (-40.028169 -2.798843)', '2026-07-13 09:32:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028139 -2.798738)'), GeomFromEWKT('SRID=4674;POINT (-40.028169 -2.798843)'))) / (select extract(epoch from '2026-07-13 09:32:58'::timestamp) - extract(epoch from '2026-07-13 09:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028139 -2.798738)'), GeomFromEWKT('SRID=4674;POINT (-40.028169 -2.798843)'))) / (select extract(epoch from '2026-07-13 09:32:58'::timestamp) - extract(epoch from '2026-07-13 09:32: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'), 47628, 'SRID=4674;POINT (-40.028237 -2.79898)', '2026-07-13 09:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028169 -2.798843)'), GeomFromEWKT('SRID=4674;POINT (-40.028237 -2.79898)'))) / (select extract(epoch from '2026-07-13 09:33:06'::timestamp) - extract(epoch from '2026-07-13 09:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028169 -2.798843)'), GeomFromEWKT('SRID=4674;POINT (-40.028237 -2.79898)'))) / (select extract(epoch from '2026-07-13 09:33:06'::timestamp) - extract(epoch from '2026-07-13 09:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028307 -2.799077)', '2026-07-13 09:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028237 -2.79898)'), GeomFromEWKT('SRID=4674;POINT (-40.028307 -2.799077)'))) / (select extract(epoch from '2026-07-13 09:33:12'::timestamp) - extract(epoch from '2026-07-13 09:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028237 -2.79898)'), GeomFromEWKT('SRID=4674;POINT (-40.028307 -2.799077)'))) / (select extract(epoch from '2026-07-13 09:33:12'::timestamp) - extract(epoch from '2026-07-13 09:33: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'), 47628, 'SRID=4674;POINT (-40.028387 -2.799192)', '2026-07-13 09:33:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028307 -2.799077)'), GeomFromEWKT('SRID=4674;POINT (-40.028387 -2.799192)'))) / (select extract(epoch from '2026-07-13 09:33:19'::timestamp) - extract(epoch from '2026-07-13 09:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028307 -2.799077)'), GeomFromEWKT('SRID=4674;POINT (-40.028387 -2.799192)'))) / (select extract(epoch from '2026-07-13 09:33:19'::timestamp) - extract(epoch from '2026-07-13 09:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028439 -2.799275)', '2026-07-13 09:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028387 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.028439 -2.799275)'))) / (select extract(epoch from '2026-07-13 09:33:24'::timestamp) - extract(epoch from '2026-07-13 09:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028387 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.028439 -2.799275)'))) / (select extract(epoch from '2026-07-13 09:33:24'::timestamp) - extract(epoch from '2026-07-13 09:33: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'), 47628, 'SRID=4674;POINT (-40.028484 -2.799361)', '2026-07-13 09:33:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028439 -2.799275)'), GeomFromEWKT('SRID=4674;POINT (-40.028484 -2.799361)'))) / (select extract(epoch from '2026-07-13 09:33:29'::timestamp) - extract(epoch from '2026-07-13 09:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028439 -2.799275)'), GeomFromEWKT('SRID=4674;POINT (-40.028484 -2.799361)'))) / (select extract(epoch from '2026-07-13 09:33:29'::timestamp) - extract(epoch from '2026-07-13 09:33: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'), 47628, 'SRID=4674;POINT (-40.028545 -2.799444)', '2026-07-13 09:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028484 -2.799361)'), GeomFromEWKT('SRID=4674;POINT (-40.028545 -2.799444)'))) / (select extract(epoch from '2026-07-13 09:33:34'::timestamp) - extract(epoch from '2026-07-13 09:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028484 -2.799361)'), GeomFromEWKT('SRID=4674;POINT (-40.028545 -2.799444)'))) / (select extract(epoch from '2026-07-13 09:33:34'::timestamp) - extract(epoch from '2026-07-13 09:33:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028614 -2.79956)', '2026-07-13 09:33:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028545 -2.799444)'), GeomFromEWKT('SRID=4674;POINT (-40.028614 -2.79956)'))) / (select extract(epoch from '2026-07-13 09:33:41'::timestamp) - extract(epoch from '2026-07-13 09:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028545 -2.799444)'), GeomFromEWKT('SRID=4674;POINT (-40.028614 -2.79956)'))) / (select extract(epoch from '2026-07-13 09:33:41'::timestamp) - extract(epoch from '2026-07-13 09:33: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'), 47628, 'SRID=4674;POINT (-40.028687 -2.799677)', '2026-07-13 09:33:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028614 -2.79956)'), GeomFromEWKT('SRID=4674;POINT (-40.028687 -2.799677)'))) / (select extract(epoch from '2026-07-13 09:33:48'::timestamp) - extract(epoch from '2026-07-13 09:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028614 -2.79956)'), GeomFromEWKT('SRID=4674;POINT (-40.028687 -2.799677)'))) / (select extract(epoch from '2026-07-13 09:33:48'::timestamp) - extract(epoch from '2026-07-13 09:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.028752 -2.799772)', '2026-07-13 09:33:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028687 -2.799677)'), GeomFromEWKT('SRID=4674;POINT (-40.028752 -2.799772)'))) / (select extract(epoch from '2026-07-13 09:33:54'::timestamp) - extract(epoch from '2026-07-13 09:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028687 -2.799677)'), GeomFromEWKT('SRID=4674;POINT (-40.028752 -2.799772)'))) / (select extract(epoch from '2026-07-13 09:33:54'::timestamp) - extract(epoch from '2026-07-13 09:33: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'), 47628, 'SRID=4674;POINT (-40.028814 -2.799866)', '2026-07-13 09:34:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028752 -2.799772)'), GeomFromEWKT('SRID=4674;POINT (-40.028814 -2.799866)'))) / (select extract(epoch from '2026-07-13 09:34:00'::timestamp) - extract(epoch from '2026-07-13 09:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028752 -2.799772)'), GeomFromEWKT('SRID=4674;POINT (-40.028814 -2.799866)'))) / (select extract(epoch from '2026-07-13 09:34:00'::timestamp) - extract(epoch from '2026-07-13 09:33: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'), 47628, 'SRID=4674;POINT (-40.02889 -2.800016)', '2026-07-13 09:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028814 -2.799866)'), GeomFromEWKT('SRID=4674;POINT (-40.02889 -2.800016)'))) / (select extract(epoch from '2026-07-13 09:34:09'::timestamp) - extract(epoch from '2026-07-13 09:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028814 -2.799866)'), GeomFromEWKT('SRID=4674;POINT (-40.02889 -2.800016)'))) / (select extract(epoch from '2026-07-13 09:34:09'::timestamp) - extract(epoch from '2026-07-13 09:34: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'), 47628, 'SRID=4674;POINT (-40.028954 -2.800133)', '2026-07-13 09:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02889 -2.800016)'), GeomFromEWKT('SRID=4674;POINT (-40.028954 -2.800133)'))) / (select extract(epoch from '2026-07-13 09:34:16'::timestamp) - extract(epoch from '2026-07-13 09:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02889 -2.800016)'), GeomFromEWKT('SRID=4674;POINT (-40.028954 -2.800133)'))) / (select extract(epoch from '2026-07-13 09:34:16'::timestamp) - extract(epoch from '2026-07-13 09:34: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'), 47628, 'SRID=4674;POINT (-40.029009 -2.800231)', '2026-07-13 09:34:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028954 -2.800133)'), GeomFromEWKT('SRID=4674;POINT (-40.029009 -2.800231)'))) / (select extract(epoch from '2026-07-13 09:34:22'::timestamp) - extract(epoch from '2026-07-13 09:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.028954 -2.800133)'), GeomFromEWKT('SRID=4674;POINT (-40.029009 -2.800231)'))) / (select extract(epoch from '2026-07-13 09:34:22'::timestamp) - extract(epoch from '2026-07-13 09:34: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'), 47628, 'SRID=4674;POINT (-40.029105 -2.80038)', '2026-07-13 09:34:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029009 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.029105 -2.80038)'))) / (select extract(epoch from '2026-07-13 09:34:31'::timestamp) - extract(epoch from '2026-07-13 09:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029009 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.029105 -2.80038)'))) / (select extract(epoch from '2026-07-13 09:34:31'::timestamp) - extract(epoch from '2026-07-13 09:34: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'), 47628, 'SRID=4674;POINT (-40.029166 -2.800454)', '2026-07-13 09:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029105 -2.80038)'), GeomFromEWKT('SRID=4674;POINT (-40.029166 -2.800454)'))) / (select extract(epoch from '2026-07-13 09:34:36'::timestamp) - extract(epoch from '2026-07-13 09:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029105 -2.80038)'), GeomFromEWKT('SRID=4674;POINT (-40.029166 -2.800454)'))) / (select extract(epoch from '2026-07-13 09:34:36'::timestamp) - extract(epoch from '2026-07-13 09:34: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'), 47628, 'SRID=4674;POINT (-40.029242 -2.80058)', '2026-07-13 09:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029166 -2.800454)'), GeomFromEWKT('SRID=4674;POINT (-40.029242 -2.80058)'))) / (select extract(epoch from '2026-07-13 09:34:44'::timestamp) - extract(epoch from '2026-07-13 09:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029166 -2.800454)'), GeomFromEWKT('SRID=4674;POINT (-40.029242 -2.80058)'))) / (select extract(epoch from '2026-07-13 09:34:44'::timestamp) - extract(epoch from '2026-07-13 09:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029272 -2.800675)', '2026-07-13 09:34:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029242 -2.80058)'), GeomFromEWKT('SRID=4674;POINT (-40.029272 -2.800675)'))) / (select extract(epoch from '2026-07-13 09:34:50'::timestamp) - extract(epoch from '2026-07-13 09:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029242 -2.80058)'), GeomFromEWKT('SRID=4674;POINT (-40.029272 -2.800675)'))) / (select extract(epoch from '2026-07-13 09:34:50'::timestamp) - extract(epoch from '2026-07-13 09:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029347 -2.800823)', '2026-07-13 09:34:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029272 -2.800675)'), GeomFromEWKT('SRID=4674;POINT (-40.029347 -2.800823)'))) / (select extract(epoch from '2026-07-13 09:34:59'::timestamp) - extract(epoch from '2026-07-13 09:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029272 -2.800675)'), GeomFromEWKT('SRID=4674;POINT (-40.029347 -2.800823)'))) / (select extract(epoch from '2026-07-13 09:34:59'::timestamp) - extract(epoch from '2026-07-13 09:34: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'), 47628, 'SRID=4674;POINT (-40.029415 -2.800935)', '2026-07-13 09:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029347 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.029415 -2.800935)'))) / (select extract(epoch from '2026-07-13 09:35:06'::timestamp) - extract(epoch from '2026-07-13 09:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029347 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.029415 -2.800935)'))) / (select extract(epoch from '2026-07-13 09:35:06'::timestamp) - extract(epoch from '2026-07-13 09:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029477 -2.801057)', '2026-07-13 09:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029415 -2.800935)'), GeomFromEWKT('SRID=4674;POINT (-40.029477 -2.801057)'))) / (select extract(epoch from '2026-07-13 09:35:13'::timestamp) - extract(epoch from '2026-07-13 09:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029415 -2.800935)'), GeomFromEWKT('SRID=4674;POINT (-40.029477 -2.801057)'))) / (select extract(epoch from '2026-07-13 09:35:13'::timestamp) - extract(epoch from '2026-07-13 09:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029521 -2.801142)', '2026-07-13 09:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029477 -2.801057)'), GeomFromEWKT('SRID=4674;POINT (-40.029521 -2.801142)'))) / (select extract(epoch from '2026-07-13 09:35:18'::timestamp) - extract(epoch from '2026-07-13 09:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029477 -2.801057)'), GeomFromEWKT('SRID=4674;POINT (-40.029521 -2.801142)'))) / (select extract(epoch from '2026-07-13 09:35:18'::timestamp) - extract(epoch from '2026-07-13 09:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029615 -2.801337)', '2026-07-13 09:35:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029521 -2.801142)'), GeomFromEWKT('SRID=4674;POINT (-40.029615 -2.801337)'))) / (select extract(epoch from '2026-07-13 09:35:29'::timestamp) - extract(epoch from '2026-07-13 09:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029521 -2.801142)'), GeomFromEWKT('SRID=4674;POINT (-40.029615 -2.801337)'))) / (select extract(epoch from '2026-07-13 09:35:29'::timestamp) - extract(epoch from '2026-07-13 09:35: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'), 47628, 'SRID=4674;POINT (-40.029674 -2.801472)', '2026-07-13 09:35:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029615 -2.801337)'), GeomFromEWKT('SRID=4674;POINT (-40.029674 -2.801472)'))) / (select extract(epoch from '2026-07-13 09:35:37'::timestamp) - extract(epoch from '2026-07-13 09:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029615 -2.801337)'), GeomFromEWKT('SRID=4674;POINT (-40.029674 -2.801472)'))) / (select extract(epoch from '2026-07-13 09:35:37'::timestamp) - extract(epoch from '2026-07-13 09:35: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'), 47628, 'SRID=4674;POINT (-40.029721 -2.80159)', '2026-07-13 09:35:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029674 -2.801472)'), GeomFromEWKT('SRID=4674;POINT (-40.029721 -2.80159)'))) / (select extract(epoch from '2026-07-13 09:35:44'::timestamp) - extract(epoch from '2026-07-13 09:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029674 -2.801472)'), GeomFromEWKT('SRID=4674;POINT (-40.029721 -2.80159)'))) / (select extract(epoch from '2026-07-13 09:35:44'::timestamp) - extract(epoch from '2026-07-13 09:35: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'), 47628, 'SRID=4674;POINT (-40.029723 -2.801608)', '2026-07-13 09:35:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029721 -2.80159)'), GeomFromEWKT('SRID=4674;POINT (-40.029723 -2.801608)'))) / (select extract(epoch from '2026-07-13 09:35:45'::timestamp) - extract(epoch from '2026-07-13 09:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029721 -2.80159)'), GeomFromEWKT('SRID=4674;POINT (-40.029723 -2.801608)'))) / (select extract(epoch from '2026-07-13 09:35:45'::timestamp) - extract(epoch from '2026-07-13 09:35:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029741 -2.801731)', '2026-07-13 09:35:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029723 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.029741 -2.801731)'))) / (select extract(epoch from '2026-07-13 09:35:52'::timestamp) - extract(epoch from '2026-07-13 09:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029723 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.029741 -2.801731)'))) / (select extract(epoch from '2026-07-13 09:35:52'::timestamp) - extract(epoch from '2026-07-13 09:35: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'), 47628, 'SRID=4674;POINT (-40.029776 -2.801834)', '2026-07-13 09:35:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029741 -2.801731)'), GeomFromEWKT('SRID=4674;POINT (-40.029776 -2.801834)'))) / (select extract(epoch from '2026-07-13 09:35:58'::timestamp) - extract(epoch from '2026-07-13 09:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029741 -2.801731)'), GeomFromEWKT('SRID=4674;POINT (-40.029776 -2.801834)'))) / (select extract(epoch from '2026-07-13 09:35:58'::timestamp) - extract(epoch from '2026-07-13 09:35: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'), 47628, 'SRID=4674;POINT (-40.029813 -2.801936)', '2026-07-13 09:36:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029776 -2.801834)'), GeomFromEWKT('SRID=4674;POINT (-40.029813 -2.801936)'))) / (select extract(epoch from '2026-07-13 09:36:04'::timestamp) - extract(epoch from '2026-07-13 09:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029776 -2.801834)'), GeomFromEWKT('SRID=4674;POINT (-40.029813 -2.801936)'))) / (select extract(epoch from '2026-07-13 09:36:04'::timestamp) - extract(epoch from '2026-07-13 09:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47628, 'SRID=4674;POINT (-40.029821 -2.801971)', '2026-07-13 09:36:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029813 -2.801936)'), GeomFromEWKT('SRID=4674;POINT (-40.029821 -2.801971)'))) / (select extract(epoch from '2026-07-13 09:36:06'::timestamp) - extract(epoch from '2026-07-13 09:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029813 -2.801936)'), GeomFromEWKT('SRID=4674;POINT (-40.029821 -2.801971)'))) / (select extract(epoch from '2026-07-13 09:36:06'::timestamp) - extract(epoch from '2026-07-13 09:36: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'), 47628, 'SRID=4674;POINT (-40.029847 -2.80204)', '2026-07-13 09:36:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029821 -2.801971)'), GeomFromEWKT('SRID=4674;POINT (-40.029847 -2.80204)'))) / (select extract(epoch from '2026-07-13 09:36:10'::timestamp) - extract(epoch from '2026-07-13 09:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029821 -2.801971)'), GeomFromEWKT('SRID=4674;POINT (-40.029847 -2.80204)'))) / (select extract(epoch from '2026-07-13 09:36:10'::timestamp) - extract(epoch from '2026-07-13 09:36: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'), 47628, 'SRID=4674;POINT (-40.02988 -2.802134)', '2026-07-13 09:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029847 -2.80204)'), GeomFromEWKT('SRID=4674;POINT (-40.02988 -2.802134)'))) / (select extract(epoch from '2026-07-13 09:36:16'::timestamp) - extract(epoch from '2026-07-13 09:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.029847 -2.80204)'), GeomFromEWKT('SRID=4674;POINT (-40.02988 -2.802134)'))) / (select extract(epoch from '2026-07-13 09:36:16'::timestamp) - extract(epoch from '2026-07-13 09:36: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'), 47628, 'SRID=4674;POINT (-40.029883 -2.802148)', '2026-07-13 09:36:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02988 -2.802134)'), GeomFromEWKT('SRID=4674;POINT (-40.029883 -2.802148)'))) / (select extract(epoch from '2026-07-13 09:36:17'::timestamp) - extract(epoch from '2026-07-13 09:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.02988 -2.802134)'), GeomFromEWKT('SRID=4674;POINT (-40.029883 -2.802148)'))) / (select extract(epoch from '2026-07-13 09:36:17'::timestamp) - extract(epoch from '2026-07-13 09:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
