 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136938 -2.820445)', '2026-06-19 10:12:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136953 -2.820279)'), GeomFromEWKT('SRID=4674;POINT (-40.136938 -2.820445)'))) / (select extract(epoch from '2026-06-19 10:12:46'::timestamp) - extract(epoch from '2026-06-19 10:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136953 -2.820279)'), GeomFromEWKT('SRID=4674;POINT (-40.136938 -2.820445)'))) / (select extract(epoch from '2026-06-19 10:12:46'::timestamp) - extract(epoch from '2026-06-19 10:12: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'), 46708, 'SRID=4674;POINT (-40.136923 -2.820561)', '2026-06-19 10:12:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136938 -2.820445)'), GeomFromEWKT('SRID=4674;POINT (-40.136923 -2.820561)'))) / (select extract(epoch from '2026-06-19 10:12:52'::timestamp) - extract(epoch from '2026-06-19 10:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136938 -2.820445)'), GeomFromEWKT('SRID=4674;POINT (-40.136923 -2.820561)'))) / (select extract(epoch from '2026-06-19 10:12:52'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.136897 -2.820718)', '2026-06-19 10:13:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136923 -2.820561)'), GeomFromEWKT('SRID=4674;POINT (-40.136897 -2.820718)'))) / (select extract(epoch from '2026-06-19 10:13:00'::timestamp) - extract(epoch from '2026-06-19 10:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136923 -2.820561)'), GeomFromEWKT('SRID=4674;POINT (-40.136897 -2.820718)'))) / (select extract(epoch from '2026-06-19 10:13:00'::timestamp) - extract(epoch from '2026-06-19 10:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136864 -2.82088)', '2026-06-19 10:13:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136897 -2.820718)'), GeomFromEWKT('SRID=4674;POINT (-40.136864 -2.82088)'))) / (select extract(epoch from '2026-06-19 10:13:08'::timestamp) - extract(epoch from '2026-06-19 10:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136897 -2.820718)'), GeomFromEWKT('SRID=4674;POINT (-40.136864 -2.82088)'))) / (select extract(epoch from '2026-06-19 10:13:08'::timestamp) - extract(epoch from '2026-06-19 10:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136841 -2.82106)', '2026-06-19 10:13:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136864 -2.82088)'), GeomFromEWKT('SRID=4674;POINT (-40.136841 -2.82106)'))) / (select extract(epoch from '2026-06-19 10:13:17'::timestamp) - extract(epoch from '2026-06-19 10:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136864 -2.82088)'), GeomFromEWKT('SRID=4674;POINT (-40.136841 -2.82106)'))) / (select extract(epoch from '2026-06-19 10:13:17'::timestamp) - extract(epoch from '2026-06-19 10:13: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'), 46708, 'SRID=4674;POINT (-40.136831 -2.821262)', '2026-06-19 10:13:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136841 -2.82106)'), GeomFromEWKT('SRID=4674;POINT (-40.136831 -2.821262)'))) / (select extract(epoch from '2026-06-19 10:13:27'::timestamp) - extract(epoch from '2026-06-19 10:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136841 -2.82106)'), GeomFromEWKT('SRID=4674;POINT (-40.136831 -2.821262)'))) / (select extract(epoch from '2026-06-19 10:13:27'::timestamp) - extract(epoch from '2026-06-19 10:13: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'), 46708, 'SRID=4674;POINT (-40.136827 -2.821428)', '2026-06-19 10:13:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136831 -2.821262)'), GeomFromEWKT('SRID=4674;POINT (-40.136827 -2.821428)'))) / (select extract(epoch from '2026-06-19 10:13:35'::timestamp) - extract(epoch from '2026-06-19 10:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136831 -2.821262)'), GeomFromEWKT('SRID=4674;POINT (-40.136827 -2.821428)'))) / (select extract(epoch from '2026-06-19 10:13:35'::timestamp) - extract(epoch from '2026-06-19 10:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136841 -2.821595)', '2026-06-19 10:13:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136827 -2.821428)'), GeomFromEWKT('SRID=4674;POINT (-40.136841 -2.821595)'))) / (select extract(epoch from '2026-06-19 10:13:43'::timestamp) - extract(epoch from '2026-06-19 10:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136827 -2.821428)'), GeomFromEWKT('SRID=4674;POINT (-40.136841 -2.821595)'))) / (select extract(epoch from '2026-06-19 10:13:43'::timestamp) - extract(epoch from '2026-06-19 10:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136842 -2.821771)', '2026-06-19 10:13:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136841 -2.821595)'), GeomFromEWKT('SRID=4674;POINT (-40.136842 -2.821771)'))) / (select extract(epoch from '2026-06-19 10:13:52'::timestamp) - extract(epoch from '2026-06-19 10:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136841 -2.821595)'), GeomFromEWKT('SRID=4674;POINT (-40.136842 -2.821771)'))) / (select extract(epoch from '2026-06-19 10:13:52'::timestamp) - extract(epoch from '2026-06-19 10:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136871 -2.821906)', '2026-06-19 10:13:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136842 -2.821771)'), GeomFromEWKT('SRID=4674;POINT (-40.136871 -2.821906)'))) / (select extract(epoch from '2026-06-19 10:13:59'::timestamp) - extract(epoch from '2026-06-19 10:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136842 -2.821771)'), GeomFromEWKT('SRID=4674;POINT (-40.136871 -2.821906)'))) / (select extract(epoch from '2026-06-19 10:13:59'::timestamp) - extract(epoch from '2026-06-19 10:13: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'), 46708, 'SRID=4674;POINT (-40.136948 -2.822057)', '2026-06-19 10:14:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136871 -2.821906)'), GeomFromEWKT('SRID=4674;POINT (-40.136948 -2.822057)'))) / (select extract(epoch from '2026-06-19 10:14:07'::timestamp) - extract(epoch from '2026-06-19 10:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136871 -2.821906)'), GeomFromEWKT('SRID=4674;POINT (-40.136948 -2.822057)'))) / (select extract(epoch from '2026-06-19 10:14:07'::timestamp) - extract(epoch from '2026-06-19 10:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137 -2.822207)', '2026-06-19 10:14:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136948 -2.822057)'), GeomFromEWKT('SRID=4674;POINT (-40.137 -2.822207)'))) / (select extract(epoch from '2026-06-19 10:14:15'::timestamp) - extract(epoch from '2026-06-19 10:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136948 -2.822057)'), GeomFromEWKT('SRID=4674;POINT (-40.137 -2.822207)'))) / (select extract(epoch from '2026-06-19 10:14:15'::timestamp) - extract(epoch from '2026-06-19 10:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137023 -2.822367)', '2026-06-19 10:14:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137 -2.822207)'), GeomFromEWKT('SRID=4674;POINT (-40.137023 -2.822367)'))) / (select extract(epoch from '2026-06-19 10:14:23'::timestamp) - extract(epoch from '2026-06-19 10:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137 -2.822207)'), GeomFromEWKT('SRID=4674;POINT (-40.137023 -2.822367)'))) / (select extract(epoch from '2026-06-19 10:14:23'::timestamp) - extract(epoch from '2026-06-19 10:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137039 -2.822567)', '2026-06-19 10:14:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137023 -2.822367)'), GeomFromEWKT('SRID=4674;POINT (-40.137039 -2.822567)'))) / (select extract(epoch from '2026-06-19 10:14:32'::timestamp) - extract(epoch from '2026-06-19 10:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137023 -2.822367)'), GeomFromEWKT('SRID=4674;POINT (-40.137039 -2.822567)'))) / (select extract(epoch from '2026-06-19 10:14:32'::timestamp) - extract(epoch from '2026-06-19 10:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137049 -2.822732)', '2026-06-19 10:14:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137039 -2.822567)'), GeomFromEWKT('SRID=4674;POINT (-40.137049 -2.822732)'))) / (select extract(epoch from '2026-06-19 10:14:40'::timestamp) - extract(epoch from '2026-06-19 10:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137039 -2.822567)'), GeomFromEWKT('SRID=4674;POINT (-40.137049 -2.822732)'))) / (select extract(epoch from '2026-06-19 10:14:40'::timestamp) - extract(epoch from '2026-06-19 10:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137063 -2.822849)', '2026-06-19 10:14:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137049 -2.822732)'), GeomFromEWKT('SRID=4674;POINT (-40.137063 -2.822849)'))) / (select extract(epoch from '2026-06-19 10:14:46'::timestamp) - extract(epoch from '2026-06-19 10:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137049 -2.822732)'), GeomFromEWKT('SRID=4674;POINT (-40.137063 -2.822849)'))) / (select extract(epoch from '2026-06-19 10:14:46'::timestamp) - extract(epoch from '2026-06-19 10:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137079 -2.823041)', '2026-06-19 10:14:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137063 -2.822849)'), GeomFromEWKT('SRID=4674;POINT (-40.137079 -2.823041)'))) / (select extract(epoch from '2026-06-19 10:14:55'::timestamp) - extract(epoch from '2026-06-19 10:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137063 -2.822849)'), GeomFromEWKT('SRID=4674;POINT (-40.137079 -2.823041)'))) / (select extract(epoch from '2026-06-19 10:14:55'::timestamp) - extract(epoch from '2026-06-19 10:14:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137114 -2.823202)', '2026-06-19 10:15:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137079 -2.823041)'), GeomFromEWKT('SRID=4674;POINT (-40.137114 -2.823202)'))) / (select extract(epoch from '2026-06-19 10:15:03'::timestamp) - extract(epoch from '2026-06-19 10:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137079 -2.823041)'), GeomFromEWKT('SRID=4674;POINT (-40.137114 -2.823202)'))) / (select extract(epoch from '2026-06-19 10:15:03'::timestamp) - extract(epoch from '2026-06-19 10:14: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'), 46708, 'SRID=4674;POINT (-40.13715 -2.823368)', '2026-06-19 10:15:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137114 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.13715 -2.823368)'))) / (select extract(epoch from '2026-06-19 10:15:11'::timestamp) - extract(epoch from '2026-06-19 10:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137114 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.13715 -2.823368)'))) / (select extract(epoch from '2026-06-19 10:15:11'::timestamp) - extract(epoch from '2026-06-19 10:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137181 -2.823578)', '2026-06-19 10:15:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13715 -2.823368)'), GeomFromEWKT('SRID=4674;POINT (-40.137181 -2.823578)'))) / (select extract(epoch from '2026-06-19 10:15:21'::timestamp) - extract(epoch from '2026-06-19 10:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13715 -2.823368)'), GeomFromEWKT('SRID=4674;POINT (-40.137181 -2.823578)'))) / (select extract(epoch from '2026-06-19 10:15:21'::timestamp) - extract(epoch from '2026-06-19 10:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137222 -2.82374)', '2026-06-19 10:15:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137181 -2.823578)'), GeomFromEWKT('SRID=4674;POINT (-40.137222 -2.82374)'))) / (select extract(epoch from '2026-06-19 10:15:29'::timestamp) - extract(epoch from '2026-06-19 10:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137181 -2.823578)'), GeomFromEWKT('SRID=4674;POINT (-40.137222 -2.82374)'))) / (select extract(epoch from '2026-06-19 10:15:29'::timestamp) - extract(epoch from '2026-06-19 10:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137245 -2.823934)', '2026-06-19 10:15:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137222 -2.82374)'), GeomFromEWKT('SRID=4674;POINT (-40.137245 -2.823934)'))) / (select extract(epoch from '2026-06-19 10:15:38'::timestamp) - extract(epoch from '2026-06-19 10:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137222 -2.82374)'), GeomFromEWKT('SRID=4674;POINT (-40.137245 -2.823934)'))) / (select extract(epoch from '2026-06-19 10:15:38'::timestamp) - extract(epoch from '2026-06-19 10:15: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'), 46708, 'SRID=4674;POINT (-40.137298 -2.824084)', '2026-06-19 10:15:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137245 -2.823934)'), GeomFromEWKT('SRID=4674;POINT (-40.137298 -2.824084)'))) / (select extract(epoch from '2026-06-19 10:15:46'::timestamp) - extract(epoch from '2026-06-19 10:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137245 -2.823934)'), GeomFromEWKT('SRID=4674;POINT (-40.137298 -2.824084)'))) / (select extract(epoch from '2026-06-19 10:15:46'::timestamp) - extract(epoch from '2026-06-19 10:15: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'), 46708, 'SRID=4674;POINT (-40.137348 -2.824251)', '2026-06-19 10:15:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137298 -2.824084)'), GeomFromEWKT('SRID=4674;POINT (-40.137348 -2.824251)'))) / (select extract(epoch from '2026-06-19 10:15:55'::timestamp) - extract(epoch from '2026-06-19 10:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137298 -2.824084)'), GeomFromEWKT('SRID=4674;POINT (-40.137348 -2.824251)'))) / (select extract(epoch from '2026-06-19 10:15:55'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.137418 -2.824429)', '2026-06-19 10:16:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137348 -2.824251)'), GeomFromEWKT('SRID=4674;POINT (-40.137418 -2.824429)'))) / (select extract(epoch from '2026-06-19 10:16:04'::timestamp) - extract(epoch from '2026-06-19 10:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137348 -2.824251)'), GeomFromEWKT('SRID=4674;POINT (-40.137418 -2.824429)'))) / (select extract(epoch from '2026-06-19 10:16:04'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.137499 -2.82461)', '2026-06-19 10:16:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137418 -2.824429)'), GeomFromEWKT('SRID=4674;POINT (-40.137499 -2.82461)'))) / (select extract(epoch from '2026-06-19 10:16:13'::timestamp) - extract(epoch from '2026-06-19 10:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137418 -2.824429)'), GeomFromEWKT('SRID=4674;POINT (-40.137499 -2.82461)'))) / (select extract(epoch from '2026-06-19 10:16:13'::timestamp) - extract(epoch from '2026-06-19 10:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13756 -2.824788)', '2026-06-19 10:16:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137499 -2.82461)'), GeomFromEWKT('SRID=4674;POINT (-40.13756 -2.824788)'))) / (select extract(epoch from '2026-06-19 10:16:22'::timestamp) - extract(epoch from '2026-06-19 10:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137499 -2.82461)'), GeomFromEWKT('SRID=4674;POINT (-40.13756 -2.824788)'))) / (select extract(epoch from '2026-06-19 10:16:22'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.137634 -2.824975)', '2026-06-19 10:16:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13756 -2.824788)'), GeomFromEWKT('SRID=4674;POINT (-40.137634 -2.824975)'))) / (select extract(epoch from '2026-06-19 10:16:31'::timestamp) - extract(epoch from '2026-06-19 10:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13756 -2.824788)'), GeomFromEWKT('SRID=4674;POINT (-40.137634 -2.824975)'))) / (select extract(epoch from '2026-06-19 10:16:31'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.137745 -2.825118)', '2026-06-19 10:16:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137634 -2.824975)'), GeomFromEWKT('SRID=4674;POINT (-40.137745 -2.825118)'))) / (select extract(epoch from '2026-06-19 10:16:39'::timestamp) - extract(epoch from '2026-06-19 10:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137634 -2.824975)'), GeomFromEWKT('SRID=4674;POINT (-40.137745 -2.825118)'))) / (select extract(epoch from '2026-06-19 10:16:39'::timestamp) - extract(epoch from '2026-06-19 10:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137884 -2.82527)', '2026-06-19 10:16:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137745 -2.825118)'), GeomFromEWKT('SRID=4674;POINT (-40.137884 -2.82527)'))) / (select extract(epoch from '2026-06-19 10:16:48'::timestamp) - extract(epoch from '2026-06-19 10:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137745 -2.825118)'), GeomFromEWKT('SRID=4674;POINT (-40.137884 -2.82527)'))) / (select extract(epoch from '2026-06-19 10:16:48'::timestamp) - extract(epoch from '2026-06-19 10:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137969 -2.825413)', '2026-06-19 10:16:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137884 -2.82527)'), GeomFromEWKT('SRID=4674;POINT (-40.137969 -2.825413)'))) / (select extract(epoch from '2026-06-19 10:16:56'::timestamp) - extract(epoch from '2026-06-19 10:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137884 -2.82527)'), GeomFromEWKT('SRID=4674;POINT (-40.137969 -2.825413)'))) / (select extract(epoch from '2026-06-19 10:16:56'::timestamp) - extract(epoch from '2026-06-19 10:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.138052 -2.825618)', '2026-06-19 10:17:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137969 -2.825413)'), GeomFromEWKT('SRID=4674;POINT (-40.138052 -2.825618)'))) / (select extract(epoch from '2026-06-19 10:17:06'::timestamp) - extract(epoch from '2026-06-19 10:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137969 -2.825413)'), GeomFromEWKT('SRID=4674;POINT (-40.138052 -2.825618)'))) / (select extract(epoch from '2026-06-19 10:17:06'::timestamp) - extract(epoch from '2026-06-19 10:16: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'), 46708, 'SRID=4674;POINT (-40.138125 -2.825843)', '2026-06-19 10:17:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138052 -2.825618)'), GeomFromEWKT('SRID=4674;POINT (-40.138125 -2.825843)'))) / (select extract(epoch from '2026-06-19 10:17:17'::timestamp) - extract(epoch from '2026-06-19 10:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138052 -2.825618)'), GeomFromEWKT('SRID=4674;POINT (-40.138125 -2.825843)'))) / (select extract(epoch from '2026-06-19 10:17:17'::timestamp) - extract(epoch from '2026-06-19 10:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.138162 -2.826067)', '2026-06-19 10:17:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138125 -2.825843)'), GeomFromEWKT('SRID=4674;POINT (-40.138162 -2.826067)'))) / (select extract(epoch from '2026-06-19 10:17:27'::timestamp) - extract(epoch from '2026-06-19 10:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138125 -2.825843)'), GeomFromEWKT('SRID=4674;POINT (-40.138162 -2.826067)'))) / (select extract(epoch from '2026-06-19 10:17:27'::timestamp) - extract(epoch from '2026-06-19 10:17: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'), 46708, 'SRID=4674;POINT (-40.138143 -2.826299)', '2026-06-19 10:17:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138162 -2.826067)'), GeomFromEWKT('SRID=4674;POINT (-40.138143 -2.826299)'))) / (select extract(epoch from '2026-06-19 10:17:37'::timestamp) - extract(epoch from '2026-06-19 10:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138162 -2.826067)'), GeomFromEWKT('SRID=4674;POINT (-40.138143 -2.826299)'))) / (select extract(epoch from '2026-06-19 10:17:37'::timestamp) - extract(epoch from '2026-06-19 10:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13812 -2.826499)', '2026-06-19 10:17:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138143 -2.826299)'), GeomFromEWKT('SRID=4674;POINT (-40.13812 -2.826499)'))) / (select extract(epoch from '2026-06-19 10:17:47'::timestamp) - extract(epoch from '2026-06-19 10:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138143 -2.826299)'), GeomFromEWKT('SRID=4674;POINT (-40.13812 -2.826499)'))) / (select extract(epoch from '2026-06-19 10:17:47'::timestamp) - extract(epoch from '2026-06-19 10:17: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'), 46708, 'SRID=4674;POINT (-40.138087 -2.826748)', '2026-06-19 10:17:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13812 -2.826499)'), GeomFromEWKT('SRID=4674;POINT (-40.138087 -2.826748)'))) / (select extract(epoch from '2026-06-19 10:17:59'::timestamp) - extract(epoch from '2026-06-19 10:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13812 -2.826499)'), GeomFromEWKT('SRID=4674;POINT (-40.138087 -2.826748)'))) / (select extract(epoch from '2026-06-19 10:17:59'::timestamp) - extract(epoch from '2026-06-19 10:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.138033 -2.826844)', '2026-06-19 10:18:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138087 -2.826748)'), GeomFromEWKT('SRID=4674;POINT (-40.138033 -2.826844)'))) / (select extract(epoch from '2026-06-19 10:18:07'::timestamp) - extract(epoch from '2026-06-19 10:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138087 -2.826748)'), GeomFromEWKT('SRID=4674;POINT (-40.138033 -2.826844)'))) / (select extract(epoch from '2026-06-19 10:18:07'::timestamp) - extract(epoch from '2026-06-19 10:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137963 -2.826897)', '2026-06-19 10:18:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138033 -2.826844)'), GeomFromEWKT('SRID=4674;POINT (-40.137963 -2.826897)'))) / (select extract(epoch from '2026-06-19 10:18:16'::timestamp) - extract(epoch from '2026-06-19 10:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138033 -2.826844)'), GeomFromEWKT('SRID=4674;POINT (-40.137963 -2.826897)'))) / (select extract(epoch from '2026-06-19 10:18:16'::timestamp) - extract(epoch from '2026-06-19 10:18: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'), 46708, 'SRID=4674;POINT (-40.137896 -2.826949)', '2026-06-19 10:18:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137963 -2.826897)'), GeomFromEWKT('SRID=4674;POINT (-40.137896 -2.826949)'))) / (select extract(epoch from '2026-06-19 10:18:25'::timestamp) - extract(epoch from '2026-06-19 10:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137963 -2.826897)'), GeomFromEWKT('SRID=4674;POINT (-40.137896 -2.826949)'))) / (select extract(epoch from '2026-06-19 10:18:25'::timestamp) - extract(epoch from '2026-06-19 10:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.137843 -2.827039)', '2026-06-19 10:18:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137896 -2.826949)'), GeomFromEWKT('SRID=4674;POINT (-40.137843 -2.827039)'))) / (select extract(epoch from '2026-06-19 10:18:34'::timestamp) - extract(epoch from '2026-06-19 10:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137896 -2.826949)'), GeomFromEWKT('SRID=4674;POINT (-40.137843 -2.827039)'))) / (select extract(epoch from '2026-06-19 10:18:34'::timestamp) - extract(epoch from '2026-06-19 10:18: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'), 46708, 'SRID=4674;POINT (-40.137744 -2.82706)', '2026-06-19 10:18:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137843 -2.827039)'), GeomFromEWKT('SRID=4674;POINT (-40.137744 -2.82706)'))) / (select extract(epoch from '2026-06-19 10:18:43'::timestamp) - extract(epoch from '2026-06-19 10:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137843 -2.827039)'), GeomFromEWKT('SRID=4674;POINT (-40.137744 -2.82706)'))) / (select extract(epoch from '2026-06-19 10:18:43'::timestamp) - extract(epoch from '2026-06-19 10:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.1376 -2.827062)', '2026-06-19 10:18:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137744 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.1376 -2.827062)'))) / (select extract(epoch from '2026-06-19 10:18:54'::timestamp) - extract(epoch from '2026-06-19 10:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137744 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.1376 -2.827062)'))) / (select extract(epoch from '2026-06-19 10:18:54'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.13746 -2.827096)', '2026-06-19 10:19:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1376 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.13746 -2.827096)'))) / (select extract(epoch from '2026-06-19 10:19:05'::timestamp) - extract(epoch from '2026-06-19 10:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1376 -2.827062)'), GeomFromEWKT('SRID=4674;POINT (-40.13746 -2.827096)'))) / (select extract(epoch from '2026-06-19 10:19:05'::timestamp) - extract(epoch from '2026-06-19 10:18: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'), 46708, 'SRID=4674;POINT (-40.13733 -2.827101)', '2026-06-19 10:19:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13746 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.13733 -2.827101)'))) / (select extract(epoch from '2026-06-19 10:19:15'::timestamp) - extract(epoch from '2026-06-19 10:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13746 -2.827096)'), GeomFromEWKT('SRID=4674;POINT (-40.13733 -2.827101)'))) / (select extract(epoch from '2026-06-19 10:19:15'::timestamp) - extract(epoch from '2026-06-19 10:19: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'), 46708, 'SRID=4674;POINT (-40.13715 -2.827099)', '2026-06-19 10:19:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13733 -2.827101)'), GeomFromEWKT('SRID=4674;POINT (-40.13715 -2.827099)'))) / (select extract(epoch from '2026-06-19 10:19:27'::timestamp) - extract(epoch from '2026-06-19 10:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13733 -2.827101)'), GeomFromEWKT('SRID=4674;POINT (-40.13715 -2.827099)'))) / (select extract(epoch from '2026-06-19 10:19:27'::timestamp) - extract(epoch from '2026-06-19 10:19: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'), 46708, 'SRID=4674;POINT (-40.136933 -2.827107)', '2026-06-19 10:19:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13715 -2.827099)'), GeomFromEWKT('SRID=4674;POINT (-40.136933 -2.827107)'))) / (select extract(epoch from '2026-06-19 10:19:41'::timestamp) - extract(epoch from '2026-06-19 10:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13715 -2.827099)'), GeomFromEWKT('SRID=4674;POINT (-40.136933 -2.827107)'))) / (select extract(epoch from '2026-06-19 10:19:41'::timestamp) - extract(epoch from '2026-06-19 10:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136785 -2.827131)', '2026-06-19 10:19:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136933 -2.827107)'), GeomFromEWKT('SRID=4674;POINT (-40.136785 -2.827131)'))) / (select extract(epoch from '2026-06-19 10:19:51'::timestamp) - extract(epoch from '2026-06-19 10:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136933 -2.827107)'), GeomFromEWKT('SRID=4674;POINT (-40.136785 -2.827131)'))) / (select extract(epoch from '2026-06-19 10:19:51'::timestamp) - extract(epoch from '2026-06-19 10:19: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'), 46708, 'SRID=4674;POINT (-40.136623 -2.827124)', '2026-06-19 10:20:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136785 -2.827131)'), GeomFromEWKT('SRID=4674;POINT (-40.136623 -2.827124)'))) / (select extract(epoch from '2026-06-19 10:20:01'::timestamp) - extract(epoch from '2026-06-19 10:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136785 -2.827131)'), GeomFromEWKT('SRID=4674;POINT (-40.136623 -2.827124)'))) / (select extract(epoch from '2026-06-19 10:20:01'::timestamp) - extract(epoch from '2026-06-19 10:19: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'), 46708, 'SRID=4674;POINT (-40.136472 -2.827097)', '2026-06-19 10:20:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136623 -2.827124)'), GeomFromEWKT('SRID=4674;POINT (-40.136472 -2.827097)'))) / (select extract(epoch from '2026-06-19 10:20:11'::timestamp) - extract(epoch from '2026-06-19 10:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136623 -2.827124)'), GeomFromEWKT('SRID=4674;POINT (-40.136472 -2.827097)'))) / (select extract(epoch from '2026-06-19 10:20:11'::timestamp) - extract(epoch from '2026-06-19 10:20:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136315 -2.827075)', '2026-06-19 10:20:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136472 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.136315 -2.827075)'))) / (select extract(epoch from '2026-06-19 10:20:21'::timestamp) - extract(epoch from '2026-06-19 10:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136472 -2.827097)'), GeomFromEWKT('SRID=4674;POINT (-40.136315 -2.827075)'))) / (select extract(epoch from '2026-06-19 10:20:21'::timestamp) - extract(epoch from '2026-06-19 10:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.136142 -2.827051)', '2026-06-19 10:20:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136315 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.136142 -2.827051)'))) / (select extract(epoch from '2026-06-19 10:20:31'::timestamp) - extract(epoch from '2026-06-19 10:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136315 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.136142 -2.827051)'))) / (select extract(epoch from '2026-06-19 10:20:31'::timestamp) - extract(epoch from '2026-06-19 10:20: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'), 46708, 'SRID=4674;POINT (-40.13596 -2.827063)', '2026-06-19 10:20:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136142 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-40.13596 -2.827063)'))) / (select extract(epoch from '2026-06-19 10:20:42'::timestamp) - extract(epoch from '2026-06-19 10:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136142 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-40.13596 -2.827063)'))) / (select extract(epoch from '2026-06-19 10:20:42'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.135804 -2.827077)', '2026-06-19 10:20:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13596 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.135804 -2.827077)'))) / (select extract(epoch from '2026-06-19 10:20:51'::timestamp) - extract(epoch from '2026-06-19 10:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13596 -2.827063)'), GeomFromEWKT('SRID=4674;POINT (-40.135804 -2.827077)'))) / (select extract(epoch from '2026-06-19 10:20:51'::timestamp) - extract(epoch from '2026-06-19 10:20: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'), 46708, 'SRID=4674;POINT (-40.135623 -2.827068)', '2026-06-19 10:21:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135804 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.135623 -2.827068)'))) / (select extract(epoch from '2026-06-19 10:21:01'::timestamp) - extract(epoch from '2026-06-19 10:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135804 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.135623 -2.827068)'))) / (select extract(epoch from '2026-06-19 10:21:01'::timestamp) - extract(epoch from '2026-06-19 10:20: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'), 46708, 'SRID=4674;POINT (-40.13548 -2.827077)', '2026-06-19 10:21:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135623 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.13548 -2.827077)'))) / (select extract(epoch from '2026-06-19 10:21:09'::timestamp) - extract(epoch from '2026-06-19 10:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135623 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.13548 -2.827077)'))) / (select extract(epoch from '2026-06-19 10:21:09'::timestamp) - extract(epoch from '2026-06-19 10:21: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'), 46708, 'SRID=4674;POINT (-40.135316 -2.827068)', '2026-06-19 10:21:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13548 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.135316 -2.827068)'))) / (select extract(epoch from '2026-06-19 10:21:19'::timestamp) - extract(epoch from '2026-06-19 10:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13548 -2.827077)'), GeomFromEWKT('SRID=4674;POINT (-40.135316 -2.827068)'))) / (select extract(epoch from '2026-06-19 10:21:19'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.135165 -2.827113)', '2026-06-19 10:21:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135316 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.135165 -2.827113)'))) / (select extract(epoch from '2026-06-19 10:21:28'::timestamp) - extract(epoch from '2026-06-19 10:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135316 -2.827068)'), GeomFromEWKT('SRID=4674;POINT (-40.135165 -2.827113)'))) / (select extract(epoch from '2026-06-19 10:21:28'::timestamp) - extract(epoch from '2026-06-19 10:21: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'), 46708, 'SRID=4674;POINT (-40.135028 -2.827203)', '2026-06-19 10:21:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135165 -2.827113)'), GeomFromEWKT('SRID=4674;POINT (-40.135028 -2.827203)'))) / (select extract(epoch from '2026-06-19 10:21:38'::timestamp) - extract(epoch from '2026-06-19 10:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135165 -2.827113)'), GeomFromEWKT('SRID=4674;POINT (-40.135028 -2.827203)'))) / (select extract(epoch from '2026-06-19 10:21:38'::timestamp) - extract(epoch from '2026-06-19 10:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134852 -2.827296)', '2026-06-19 10:21:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135028 -2.827203)'), GeomFromEWKT('SRID=4674;POINT (-40.134852 -2.827296)'))) / (select extract(epoch from '2026-06-19 10:21:49'::timestamp) - extract(epoch from '2026-06-19 10:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135028 -2.827203)'), GeomFromEWKT('SRID=4674;POINT (-40.134852 -2.827296)'))) / (select extract(epoch from '2026-06-19 10:21:49'::timestamp) - extract(epoch from '2026-06-19 10:21: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'), 46708, 'SRID=4674;POINT (-40.134701 -2.827411)', '2026-06-19 10:22:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134852 -2.827296)'), GeomFromEWKT('SRID=4674;POINT (-40.134701 -2.827411)'))) / (select extract(epoch from '2026-06-19 10:22:00'::timestamp) - extract(epoch from '2026-06-19 10:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134852 -2.827296)'), GeomFromEWKT('SRID=4674;POINT (-40.134701 -2.827411)'))) / (select extract(epoch from '2026-06-19 10:22:00'::timestamp) - extract(epoch from '2026-06-19 10:21: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'), 46708, 'SRID=4674;POINT (-40.134567 -2.827513)', '2026-06-19 10:22:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134701 -2.827411)'), GeomFromEWKT('SRID=4674;POINT (-40.134567 -2.827513)'))) / (select extract(epoch from '2026-06-19 10:22:10'::timestamp) - extract(epoch from '2026-06-19 10:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134701 -2.827411)'), GeomFromEWKT('SRID=4674;POINT (-40.134567 -2.827513)'))) / (select extract(epoch from '2026-06-19 10:22:10'::timestamp) - extract(epoch from '2026-06-19 10:22: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'), 46708, 'SRID=4674;POINT (-40.134416 -2.827614)', '2026-06-19 10:22:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134567 -2.827513)'), GeomFromEWKT('SRID=4674;POINT (-40.134416 -2.827614)'))) / (select extract(epoch from '2026-06-19 10:22:20'::timestamp) - extract(epoch from '2026-06-19 10:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134567 -2.827513)'), GeomFromEWKT('SRID=4674;POINT (-40.134416 -2.827614)'))) / (select extract(epoch from '2026-06-19 10:22:20'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.134312 -2.827774)', '2026-06-19 10:22:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134416 -2.827614)'), GeomFromEWKT('SRID=4674;POINT (-40.134312 -2.827774)'))) / (select extract(epoch from '2026-06-19 10:22:32'::timestamp) - extract(epoch from '2026-06-19 10:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134416 -2.827614)'), GeomFromEWKT('SRID=4674;POINT (-40.134312 -2.827774)'))) / (select extract(epoch from '2026-06-19 10:22:32'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.134158 -2.827983)', '2026-06-19 10:22:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134312 -2.827774)'), GeomFromEWKT('SRID=4674;POINT (-40.134158 -2.827983)'))) / (select extract(epoch from '2026-06-19 10:22:47'::timestamp) - extract(epoch from '2026-06-19 10:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134312 -2.827774)'), GeomFromEWKT('SRID=4674;POINT (-40.134158 -2.827983)'))) / (select extract(epoch from '2026-06-19 10:22:47'::timestamp) - extract(epoch from '2026-06-19 10:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.134026 -2.828228)', '2026-06-19 10:23:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134158 -2.827983)'), GeomFromEWKT('SRID=4674;POINT (-40.134026 -2.828228)'))) / (select extract(epoch from '2026-06-19 10:23:02'::timestamp) - extract(epoch from '2026-06-19 10:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134158 -2.827983)'), GeomFromEWKT('SRID=4674;POINT (-40.134026 -2.828228)'))) / (select extract(epoch from '2026-06-19 10:23:02'::timestamp) - extract(epoch from '2026-06-19 10:22: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'), 46708, 'SRID=4674;POINT (-40.133959 -2.828445)', '2026-06-19 10:23:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134026 -2.828228)'), GeomFromEWKT('SRID=4674;POINT (-40.133959 -2.828445)'))) / (select extract(epoch from '2026-06-19 10:23:14'::timestamp) - extract(epoch from '2026-06-19 10:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134026 -2.828228)'), GeomFromEWKT('SRID=4674;POINT (-40.133959 -2.828445)'))) / (select extract(epoch from '2026-06-19 10:23:14'::timestamp) - extract(epoch from '2026-06-19 10:23: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'), 46708, 'SRID=4674;POINT (-40.133916 -2.828657)', '2026-06-19 10:23:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133959 -2.828445)'), GeomFromEWKT('SRID=4674;POINT (-40.133916 -2.828657)'))) / (select extract(epoch from '2026-06-19 10:23:26'::timestamp) - extract(epoch from '2026-06-19 10:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133959 -2.828445)'), GeomFromEWKT('SRID=4674;POINT (-40.133916 -2.828657)'))) / (select extract(epoch from '2026-06-19 10:23:26'::timestamp) - extract(epoch from '2026-06-19 10:23: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'), 46708, 'SRID=4674;POINT (-40.133856 -2.82884)', '2026-06-19 10:23:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133916 -2.828657)'), GeomFromEWKT('SRID=4674;POINT (-40.133856 -2.82884)'))) / (select extract(epoch from '2026-06-19 10:23:37'::timestamp) - extract(epoch from '2026-06-19 10:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133916 -2.828657)'), GeomFromEWKT('SRID=4674;POINT (-40.133856 -2.82884)'))) / (select extract(epoch from '2026-06-19 10:23:37'::timestamp) - extract(epoch from '2026-06-19 10:23: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'), 46708, 'SRID=4674;POINT (-40.133788 -2.829084)', '2026-06-19 10:23:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133856 -2.82884)'), GeomFromEWKT('SRID=4674;POINT (-40.133788 -2.829084)'))) / (select extract(epoch from '2026-06-19 10:23:51'::timestamp) - extract(epoch from '2026-06-19 10:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133856 -2.82884)'), GeomFromEWKT('SRID=4674;POINT (-40.133788 -2.829084)'))) / (select extract(epoch from '2026-06-19 10:23:51'::timestamp) - extract(epoch from '2026-06-19 10:23: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'), 46708, 'SRID=4674;POINT (-40.133703 -2.829319)', '2026-06-19 10:24:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133788 -2.829084)'), GeomFromEWKT('SRID=4674;POINT (-40.133703 -2.829319)'))) / (select extract(epoch from '2026-06-19 10:24:06'::timestamp) - extract(epoch from '2026-06-19 10:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133788 -2.829084)'), GeomFromEWKT('SRID=4674;POINT (-40.133703 -2.829319)'))) / (select extract(epoch from '2026-06-19 10:24:06'::timestamp) - extract(epoch from '2026-06-19 10:23: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'), 46708, 'SRID=4674;POINT (-40.133585 -2.829532)', '2026-06-19 10:24:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133703 -2.829319)'), GeomFromEWKT('SRID=4674;POINT (-40.133585 -2.829532)'))) / (select extract(epoch from '2026-06-19 10:24:21'::timestamp) - extract(epoch from '2026-06-19 10:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133703 -2.829319)'), GeomFromEWKT('SRID=4674;POINT (-40.133585 -2.829532)'))) / (select extract(epoch from '2026-06-19 10:24:21'::timestamp) - extract(epoch from '2026-06-19 10:24: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'), 46708, 'SRID=4674;POINT (-40.133484 -2.829725)', '2026-06-19 10:24:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133585 -2.829532)'), GeomFromEWKT('SRID=4674;POINT (-40.133484 -2.829725)'))) / (select extract(epoch from '2026-06-19 10:24:34'::timestamp) - extract(epoch from '2026-06-19 10:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133585 -2.829532)'), GeomFromEWKT('SRID=4674;POINT (-40.133484 -2.829725)'))) / (select extract(epoch from '2026-06-19 10:24:34'::timestamp) - extract(epoch from '2026-06-19 10:24: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'), 46708, 'SRID=4674;POINT (-40.133396 -2.829879)', '2026-06-19 10:24:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133484 -2.829725)'), GeomFromEWKT('SRID=4674;POINT (-40.133396 -2.829879)'))) / (select extract(epoch from '2026-06-19 10:24:45'::timestamp) - extract(epoch from '2026-06-19 10:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133484 -2.829725)'), GeomFromEWKT('SRID=4674;POINT (-40.133396 -2.829879)'))) / (select extract(epoch from '2026-06-19 10:24:45'::timestamp) - extract(epoch from '2026-06-19 10:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.133239 -2.830082)', '2026-06-19 10:25:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133396 -2.829879)'), GeomFromEWKT('SRID=4674;POINT (-40.133239 -2.830082)'))) / (select extract(epoch from '2026-06-19 10:25:00'::timestamp) - extract(epoch from '2026-06-19 10:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133396 -2.829879)'), GeomFromEWKT('SRID=4674;POINT (-40.133239 -2.830082)'))) / (select extract(epoch from '2026-06-19 10:25:00'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.133134 -2.830263)', '2026-06-19 10:25:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133239 -2.830082)'), GeomFromEWKT('SRID=4674;POINT (-40.133134 -2.830263)'))) / (select extract(epoch from '2026-06-19 10:25:13'::timestamp) - extract(epoch from '2026-06-19 10:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133239 -2.830082)'), GeomFromEWKT('SRID=4674;POINT (-40.133134 -2.830263)'))) / (select extract(epoch from '2026-06-19 10:25:13'::timestamp) - extract(epoch from '2026-06-19 10:25: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'), 46708, 'SRID=4674;POINT (-40.13303 -2.830444)', '2026-06-19 10:25:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133134 -2.830263)'), GeomFromEWKT('SRID=4674;POINT (-40.13303 -2.830444)'))) / (select extract(epoch from '2026-06-19 10:25:26'::timestamp) - extract(epoch from '2026-06-19 10:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133134 -2.830263)'), GeomFromEWKT('SRID=4674;POINT (-40.13303 -2.830444)'))) / (select extract(epoch from '2026-06-19 10:25:26'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.13296 -2.830587)', '2026-06-19 10:25:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13303 -2.830444)'), GeomFromEWKT('SRID=4674;POINT (-40.13296 -2.830587)'))) / (select extract(epoch from '2026-06-19 10:25:36'::timestamp) - extract(epoch from '2026-06-19 10:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13303 -2.830444)'), GeomFromEWKT('SRID=4674;POINT (-40.13296 -2.830587)'))) / (select extract(epoch from '2026-06-19 10:25:36'::timestamp) - extract(epoch from '2026-06-19 10:25: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'), 46708, 'SRID=4674;POINT (-40.132913 -2.830743)', '2026-06-19 10:25:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13296 -2.830587)'), GeomFromEWKT('SRID=4674;POINT (-40.132913 -2.830743)'))) / (select extract(epoch from '2026-06-19 10:25:46'::timestamp) - extract(epoch from '2026-06-19 10:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13296 -2.830587)'), GeomFromEWKT('SRID=4674;POINT (-40.132913 -2.830743)'))) / (select extract(epoch from '2026-06-19 10:25:46'::timestamp) - extract(epoch from '2026-06-19 10:25: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'), 46708, 'SRID=4674;POINT (-40.132815 -2.83083)', '2026-06-19 10:25:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132913 -2.830743)'), GeomFromEWKT('SRID=4674;POINT (-40.132815 -2.83083)'))) / (select extract(epoch from '2026-06-19 10:25:54'::timestamp) - extract(epoch from '2026-06-19 10:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132913 -2.830743)'), GeomFromEWKT('SRID=4674;POINT (-40.132815 -2.83083)'))) / (select extract(epoch from '2026-06-19 10:25:54'::timestamp) - extract(epoch from '2026-06-19 10:25: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'), 46708, 'SRID=4674;POINT (-40.132655 -2.830998)', '2026-06-19 10:26:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132815 -2.83083)'), GeomFromEWKT('SRID=4674;POINT (-40.132655 -2.830998)'))) / (select extract(epoch from '2026-06-19 10:26:08'::timestamp) - extract(epoch from '2026-06-19 10:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132815 -2.83083)'), GeomFromEWKT('SRID=4674;POINT (-40.132655 -2.830998)'))) / (select extract(epoch from '2026-06-19 10:26:08'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.132637 -2.831106)', '2026-06-19 10:26:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132655 -2.830998)'), GeomFromEWKT('SRID=4674;POINT (-40.132637 -2.831106)'))) / (select extract(epoch from '2026-06-19 10:26:15'::timestamp) - extract(epoch from '2026-06-19 10:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132655 -2.830998)'), GeomFromEWKT('SRID=4674;POINT (-40.132637 -2.831106)'))) / (select extract(epoch from '2026-06-19 10:26:15'::timestamp) - extract(epoch from '2026-06-19 10:26: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'), 46708, 'SRID=4674;POINT (-40.132695 -2.831252)', '2026-06-19 10:26:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132637 -2.831106)'), GeomFromEWKT('SRID=4674;POINT (-40.132695 -2.831252)'))) / (select extract(epoch from '2026-06-19 10:26:24'::timestamp) - extract(epoch from '2026-06-19 10:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132637 -2.831106)'), GeomFromEWKT('SRID=4674;POINT (-40.132695 -2.831252)'))) / (select extract(epoch from '2026-06-19 10:26:24'::timestamp) - extract(epoch from '2026-06-19 10:26: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'), 46708, 'SRID=4674;POINT (-40.132683 -2.83134)', '2026-06-19 10:26:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132695 -2.831252)'), GeomFromEWKT('SRID=4674;POINT (-40.132683 -2.83134)'))) / (select extract(epoch from '2026-06-19 10:26:30'::timestamp) - extract(epoch from '2026-06-19 10:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132695 -2.831252)'), GeomFromEWKT('SRID=4674;POINT (-40.132683 -2.83134)'))) / (select extract(epoch from '2026-06-19 10:26:30'::timestamp) - extract(epoch from '2026-06-19 10:26: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'), 46708, 'SRID=4674;POINT (-40.13257 -2.831476)', '2026-06-19 10:26:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132683 -2.83134)'), GeomFromEWKT('SRID=4674;POINT (-40.13257 -2.831476)'))) / (select extract(epoch from '2026-06-19 10:26:41'::timestamp) - extract(epoch from '2026-06-19 10:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132683 -2.83134)'), GeomFromEWKT('SRID=4674;POINT (-40.13257 -2.831476)'))) / (select extract(epoch from '2026-06-19 10:26:41'::timestamp) - extract(epoch from '2026-06-19 10:26:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132435 -2.831668)', '2026-06-19 10:26:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13257 -2.831476)'), GeomFromEWKT('SRID=4674;POINT (-40.132435 -2.831668)'))) / (select extract(epoch from '2026-06-19 10:26:55'::timestamp) - extract(epoch from '2026-06-19 10:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13257 -2.831476)'), GeomFromEWKT('SRID=4674;POINT (-40.132435 -2.831668)'))) / (select extract(epoch from '2026-06-19 10:26:55'::timestamp) - extract(epoch from '2026-06-19 10:26: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'), 46708, 'SRID=4674;POINT (-40.132301 -2.831902)', '2026-06-19 10:27:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132435 -2.831668)'), GeomFromEWKT('SRID=4674;POINT (-40.132301 -2.831902)'))) / (select extract(epoch from '2026-06-19 10:27:10'::timestamp) - extract(epoch from '2026-06-19 10:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132435 -2.831668)'), GeomFromEWKT('SRID=4674;POINT (-40.132301 -2.831902)'))) / (select extract(epoch from '2026-06-19 10:27:10'::timestamp) - extract(epoch from '2026-06-19 10:26: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'), 46708, 'SRID=4674;POINT (-40.132204 -2.832046)', '2026-06-19 10:27:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132301 -2.831902)'), GeomFromEWKT('SRID=4674;POINT (-40.132204 -2.832046)'))) / (select extract(epoch from '2026-06-19 10:27:21'::timestamp) - extract(epoch from '2026-06-19 10:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132301 -2.831902)'), GeomFromEWKT('SRID=4674;POINT (-40.132204 -2.832046)'))) / (select extract(epoch from '2026-06-19 10:27:21'::timestamp) - extract(epoch from '2026-06-19 10:27: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'), 46708, 'SRID=4674;POINT (-40.132117 -2.832153)', '2026-06-19 10:27:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132204 -2.832046)'), GeomFromEWKT('SRID=4674;POINT (-40.132117 -2.832153)'))) / (select extract(epoch from '2026-06-19 10:27:30'::timestamp) - extract(epoch from '2026-06-19 10:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132204 -2.832046)'), GeomFromEWKT('SRID=4674;POINT (-40.132117 -2.832153)'))) / (select extract(epoch from '2026-06-19 10:27:30'::timestamp) - extract(epoch from '2026-06-19 10:27: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'), 46708, 'SRID=4674;POINT (-40.13211 -2.832273)', '2026-06-19 10:27:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132117 -2.832153)'), GeomFromEWKT('SRID=4674;POINT (-40.13211 -2.832273)'))) / (select extract(epoch from '2026-06-19 10:27:38'::timestamp) - extract(epoch from '2026-06-19 10:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132117 -2.832153)'), GeomFromEWKT('SRID=4674;POINT (-40.13211 -2.832273)'))) / (select extract(epoch from '2026-06-19 10:27:38'::timestamp) - extract(epoch from '2026-06-19 10:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.132087 -2.832416)', '2026-06-19 10:27:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13211 -2.832273)'), GeomFromEWKT('SRID=4674;POINT (-40.132087 -2.832416)'))) / (select extract(epoch from '2026-06-19 10:27:46'::timestamp) - extract(epoch from '2026-06-19 10:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13211 -2.832273)'), GeomFromEWKT('SRID=4674;POINT (-40.132087 -2.832416)'))) / (select extract(epoch from '2026-06-19 10:27:46'::timestamp) - extract(epoch from '2026-06-19 10:27: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'), 46708, 'SRID=4674;POINT (-40.132047 -2.832577)', '2026-06-19 10:27:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132087 -2.832416)'), GeomFromEWKT('SRID=4674;POINT (-40.132047 -2.832577)'))) / (select extract(epoch from '2026-06-19 10:27:56'::timestamp) - extract(epoch from '2026-06-19 10:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132087 -2.832416)'), GeomFromEWKT('SRID=4674;POINT (-40.132047 -2.832577)'))) / (select extract(epoch from '2026-06-19 10:27:56'::timestamp) - extract(epoch from '2026-06-19 10:27: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'), 46708, 'SRID=4674;POINT (-40.131973 -2.832749)', '2026-06-19 10:28:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132047 -2.832577)'), GeomFromEWKT('SRID=4674;POINT (-40.131973 -2.832749)'))) / (select extract(epoch from '2026-06-19 10:28:08'::timestamp) - extract(epoch from '2026-06-19 10:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132047 -2.832577)'), GeomFromEWKT('SRID=4674;POINT (-40.131973 -2.832749)'))) / (select extract(epoch from '2026-06-19 10:28:08'::timestamp) - extract(epoch from '2026-06-19 10:27: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'), 46708, 'SRID=4674;POINT (-40.131851 -2.832911)', '2026-06-19 10:28:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131973 -2.832749)'), GeomFromEWKT('SRID=4674;POINT (-40.131851 -2.832911)'))) / (select extract(epoch from '2026-06-19 10:28:21'::timestamp) - extract(epoch from '2026-06-19 10:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131973 -2.832749)'), GeomFromEWKT('SRID=4674;POINT (-40.131851 -2.832911)'))) / (select extract(epoch from '2026-06-19 10:28:21'::timestamp) - extract(epoch from '2026-06-19 10:28: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'), 46708, 'SRID=4674;POINT (-40.131808 -2.833057)', '2026-06-19 10:28:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131851 -2.832911)'), GeomFromEWKT('SRID=4674;POINT (-40.131808 -2.833057)'))) / (select extract(epoch from '2026-06-19 10:28:30'::timestamp) - extract(epoch from '2026-06-19 10:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131851 -2.832911)'), GeomFromEWKT('SRID=4674;POINT (-40.131808 -2.833057)'))) / (select extract(epoch from '2026-06-19 10:28:30'::timestamp) - extract(epoch from '2026-06-19 10:28: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'), 46708, 'SRID=4674;POINT (-40.131761 -2.833185)', '2026-06-19 10:28:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131808 -2.833057)'), GeomFromEWKT('SRID=4674;POINT (-40.131761 -2.833185)'))) / (select extract(epoch from '2026-06-19 10:28:39'::timestamp) - extract(epoch from '2026-06-19 10:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131808 -2.833057)'), GeomFromEWKT('SRID=4674;POINT (-40.131761 -2.833185)'))) / (select extract(epoch from '2026-06-19 10:28:39'::timestamp) - extract(epoch from '2026-06-19 10:28: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'), 46708, 'SRID=4674;POINT (-40.131662 -2.833348)', '2026-06-19 10:28:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131761 -2.833185)'), GeomFromEWKT('SRID=4674;POINT (-40.131662 -2.833348)'))) / (select extract(epoch from '2026-06-19 10:28:52'::timestamp) - extract(epoch from '2026-06-19 10:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131761 -2.833185)'), GeomFromEWKT('SRID=4674;POINT (-40.131662 -2.833348)'))) / (select extract(epoch from '2026-06-19 10:28:52'::timestamp) - extract(epoch from '2026-06-19 10:28: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'), 46708, 'SRID=4674;POINT (-40.13161 -2.833476)', '2026-06-19 10:29:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131662 -2.833348)'), GeomFromEWKT('SRID=4674;POINT (-40.13161 -2.833476)'))) / (select extract(epoch from '2026-06-19 10:29:01'::timestamp) - extract(epoch from '2026-06-19 10:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131662 -2.833348)'), GeomFromEWKT('SRID=4674;POINT (-40.13161 -2.833476)'))) / (select extract(epoch from '2026-06-19 10:29:01'::timestamp) - extract(epoch from '2026-06-19 10:28: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'), 46708, 'SRID=4674;POINT (-40.131634 -2.833639)', '2026-06-19 10:29:11', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13161 -2.833476)'), GeomFromEWKT('SRID=4674;POINT (-40.131634 -2.833639)'))) / (select extract(epoch from '2026-06-19 10:29:11'::timestamp) - extract(epoch from '2026-06-19 10:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13161 -2.833476)'), GeomFromEWKT('SRID=4674;POINT (-40.131634 -2.833639)'))) / (select extract(epoch from '2026-06-19 10:29:11'::timestamp) - extract(epoch from '2026-06-19 10:29: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'), 46708, 'SRID=4674;POINT (-40.131642 -2.833739)', '2026-06-19 10:29:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131634 -2.833639)'), GeomFromEWKT('SRID=4674;POINT (-40.131642 -2.833739)'))) / (select extract(epoch from '2026-06-19 10:29:18'::timestamp) - extract(epoch from '2026-06-19 10:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131634 -2.833639)'), GeomFromEWKT('SRID=4674;POINT (-40.131642 -2.833739)'))) / (select extract(epoch from '2026-06-19 10:29:18'::timestamp) - extract(epoch from '2026-06-19 10:29: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'), 46708, 'SRID=4674;POINT (-40.131557 -2.833876)', '2026-06-19 10:29:29', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131642 -2.833739)'), GeomFromEWKT('SRID=4674;POINT (-40.131557 -2.833876)'))) / (select extract(epoch from '2026-06-19 10:29:29'::timestamp) - extract(epoch from '2026-06-19 10:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131642 -2.833739)'), GeomFromEWKT('SRID=4674;POINT (-40.131557 -2.833876)'))) / (select extract(epoch from '2026-06-19 10:29:29'::timestamp) - extract(epoch from '2026-06-19 10:29: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'), 46708, 'SRID=4674;POINT (-40.131427 -2.83402)', '2026-06-19 10:29:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131557 -2.833876)'), GeomFromEWKT('SRID=4674;POINT (-40.131427 -2.83402)'))) / (select extract(epoch from '2026-06-19 10:29:41'::timestamp) - extract(epoch from '2026-06-19 10:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131557 -2.833876)'), GeomFromEWKT('SRID=4674;POINT (-40.131427 -2.83402)'))) / (select extract(epoch from '2026-06-19 10:29:41'::timestamp) - extract(epoch from '2026-06-19 10:29: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'), 46708, 'SRID=4674;POINT (-40.131338 -2.834135)', '2026-06-19 10:29:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131427 -2.83402)'), GeomFromEWKT('SRID=4674;POINT (-40.131338 -2.834135)'))) / (select extract(epoch from '2026-06-19 10:29:50'::timestamp) - extract(epoch from '2026-06-19 10:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131427 -2.83402)'), GeomFromEWKT('SRID=4674;POINT (-40.131338 -2.834135)'))) / (select extract(epoch from '2026-06-19 10:29:50'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.131271 -2.834319)', '2026-06-19 10:30:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131338 -2.834135)'), GeomFromEWKT('SRID=4674;POINT (-40.131271 -2.834319)'))) / (select extract(epoch from '2026-06-19 10:30:02'::timestamp) - extract(epoch from '2026-06-19 10:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131338 -2.834135)'), GeomFromEWKT('SRID=4674;POINT (-40.131271 -2.834319)'))) / (select extract(epoch from '2026-06-19 10:30:02'::timestamp) - extract(epoch from '2026-06-19 10:29: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'), 46708, 'SRID=4674;POINT (-40.131207 -2.834525)', '2026-06-19 10:30:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131271 -2.834319)'), GeomFromEWKT('SRID=4674;POINT (-40.131207 -2.834525)'))) / (select extract(epoch from '2026-06-19 10:30:15'::timestamp) - extract(epoch from '2026-06-19 10:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131271 -2.834319)'), GeomFromEWKT('SRID=4674;POINT (-40.131207 -2.834525)'))) / (select extract(epoch from '2026-06-19 10:30:15'::timestamp) - extract(epoch from '2026-06-19 10:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13114 -2.834707)', '2026-06-19 10:30:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131207 -2.834525)'), GeomFromEWKT('SRID=4674;POINT (-40.13114 -2.834707)'))) / (select extract(epoch from '2026-06-19 10:30:27'::timestamp) - extract(epoch from '2026-06-19 10:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131207 -2.834525)'), GeomFromEWKT('SRID=4674;POINT (-40.13114 -2.834707)'))) / (select extract(epoch from '2026-06-19 10:30:27'::timestamp) - extract(epoch from '2026-06-19 10:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.131071 -2.834893)', '2026-06-19 10:30:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13114 -2.834707)'), GeomFromEWKT('SRID=4674;POINT (-40.131071 -2.834893)'))) / (select extract(epoch from '2026-06-19 10:30:39'::timestamp) - extract(epoch from '2026-06-19 10:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13114 -2.834707)'), GeomFromEWKT('SRID=4674;POINT (-40.131071 -2.834893)'))) / (select extract(epoch from '2026-06-19 10:30:39'::timestamp) - extract(epoch from '2026-06-19 10:30: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'), 46708, 'SRID=4674;POINT (-40.131009 -2.835019)', '2026-06-19 10:30:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131071 -2.834893)'), GeomFromEWKT('SRID=4674;POINT (-40.131009 -2.835019)'))) / (select extract(epoch from '2026-06-19 10:30:48'::timestamp) - extract(epoch from '2026-06-19 10:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131071 -2.834893)'), GeomFromEWKT('SRID=4674;POINT (-40.131009 -2.835019)'))) / (select extract(epoch from '2026-06-19 10:30:48'::timestamp) - extract(epoch from '2026-06-19 10:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.131 -2.835165)', '2026-06-19 10:30:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131009 -2.835019)'), GeomFromEWKT('SRID=4674;POINT (-40.131 -2.835165)'))) / (select extract(epoch from '2026-06-19 10:30:57'::timestamp) - extract(epoch from '2026-06-19 10:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131009 -2.835019)'), GeomFromEWKT('SRID=4674;POINT (-40.131 -2.835165)'))) / (select extract(epoch from '2026-06-19 10:30:57'::timestamp) - extract(epoch from '2026-06-19 10:30: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'), 46708, 'SRID=4674;POINT (-40.131011 -2.835348)', '2026-06-19 10:31:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131 -2.835165)'), GeomFromEWKT('SRID=4674;POINT (-40.131011 -2.835348)'))) / (select extract(epoch from '2026-06-19 10:31:08'::timestamp) - extract(epoch from '2026-06-19 10:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131 -2.835165)'), GeomFromEWKT('SRID=4674;POINT (-40.131011 -2.835348)'))) / (select extract(epoch from '2026-06-19 10:31:08'::timestamp) - extract(epoch from '2026-06-19 10:30: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'), 46708, 'SRID=4674;POINT (-40.130944 -2.835543)', '2026-06-19 10:31:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131011 -2.835348)'), GeomFromEWKT('SRID=4674;POINT (-40.130944 -2.835543)'))) / (select extract(epoch from '2026-06-19 10:31:20'::timestamp) - extract(epoch from '2026-06-19 10:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131011 -2.835348)'), GeomFromEWKT('SRID=4674;POINT (-40.130944 -2.835543)'))) / (select extract(epoch from '2026-06-19 10:31:20'::timestamp) - extract(epoch from '2026-06-19 10:31: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'), 46708, 'SRID=4674;POINT (-40.130918 -2.835712)', '2026-06-19 10:31:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130944 -2.835543)'), GeomFromEWKT('SRID=4674;POINT (-40.130918 -2.835712)'))) / (select extract(epoch from '2026-06-19 10:31:30'::timestamp) - extract(epoch from '2026-06-19 10:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130944 -2.835543)'), GeomFromEWKT('SRID=4674;POINT (-40.130918 -2.835712)'))) / (select extract(epoch from '2026-06-19 10:31:30'::timestamp) - extract(epoch from '2026-06-19 10:31: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'), 46708, 'SRID=4674;POINT (-40.13086 -2.835844)', '2026-06-19 10:31:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130918 -2.835712)'), GeomFromEWKT('SRID=4674;POINT (-40.13086 -2.835844)'))) / (select extract(epoch from '2026-06-19 10:31:38'::timestamp) - extract(epoch from '2026-06-19 10:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130918 -2.835712)'), GeomFromEWKT('SRID=4674;POINT (-40.13086 -2.835844)'))) / (select extract(epoch from '2026-06-19 10:31:38'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.130802 -2.836015)', '2026-06-19 10:31:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13086 -2.835844)'), GeomFromEWKT('SRID=4674;POINT (-40.130802 -2.836015)'))) / (select extract(epoch from '2026-06-19 10:31:49'::timestamp) - extract(epoch from '2026-06-19 10:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13086 -2.835844)'), GeomFromEWKT('SRID=4674;POINT (-40.130802 -2.836015)'))) / (select extract(epoch from '2026-06-19 10:31:49'::timestamp) - extract(epoch from '2026-06-19 10:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130765 -2.836151)', '2026-06-19 10:31:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130802 -2.836015)'), GeomFromEWKT('SRID=4674;POINT (-40.130765 -2.836151)'))) / (select extract(epoch from '2026-06-19 10:31:58'::timestamp) - extract(epoch from '2026-06-19 10:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130802 -2.836015)'), GeomFromEWKT('SRID=4674;POINT (-40.130765 -2.836151)'))) / (select extract(epoch from '2026-06-19 10:31:58'::timestamp) - extract(epoch from '2026-06-19 10:31: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'), 46708, 'SRID=4674;POINT (-40.130684 -2.836321)', '2026-06-19 10:32:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130765 -2.836151)'), GeomFromEWKT('SRID=4674;POINT (-40.130684 -2.836321)'))) / (select extract(epoch from '2026-06-19 10:32:10'::timestamp) - extract(epoch from '2026-06-19 10:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130765 -2.836151)'), GeomFromEWKT('SRID=4674;POINT (-40.130684 -2.836321)'))) / (select extract(epoch from '2026-06-19 10:32:10'::timestamp) - extract(epoch from '2026-06-19 10:31: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'), 46708, 'SRID=4674;POINT (-40.130617 -2.836509)', '2026-06-19 10:32:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130684 -2.836321)'), GeomFromEWKT('SRID=4674;POINT (-40.130617 -2.836509)'))) / (select extract(epoch from '2026-06-19 10:32:22'::timestamp) - extract(epoch from '2026-06-19 10:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130684 -2.836321)'), GeomFromEWKT('SRID=4674;POINT (-40.130617 -2.836509)'))) / (select extract(epoch from '2026-06-19 10:32:22'::timestamp) - extract(epoch from '2026-06-19 10:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130584 -2.836703)', '2026-06-19 10:32:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130617 -2.836509)'), GeomFromEWKT('SRID=4674;POINT (-40.130584 -2.836703)'))) / (select extract(epoch from '2026-06-19 10:32:34'::timestamp) - extract(epoch from '2026-06-19 10:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130617 -2.836509)'), GeomFromEWKT('SRID=4674;POINT (-40.130584 -2.836703)'))) / (select extract(epoch from '2026-06-19 10:32:34'::timestamp) - extract(epoch from '2026-06-19 10:32: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'), 46708, 'SRID=4674;POINT (-40.130549 -2.836885)', '2026-06-19 10:32:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130584 -2.836703)'), GeomFromEWKT('SRID=4674;POINT (-40.130549 -2.836885)'))) / (select extract(epoch from '2026-06-19 10:32:45'::timestamp) - extract(epoch from '2026-06-19 10:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130584 -2.836703)'), GeomFromEWKT('SRID=4674;POINT (-40.130549 -2.836885)'))) / (select extract(epoch from '2026-06-19 10:32:45'::timestamp) - extract(epoch from '2026-06-19 10:32: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'), 46708, 'SRID=4674;POINT (-40.130513 -2.83708)', '2026-06-19 10:32:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130549 -2.836885)'), GeomFromEWKT('SRID=4674;POINT (-40.130513 -2.83708)'))) / (select extract(epoch from '2026-06-19 10:32:56'::timestamp) - extract(epoch from '2026-06-19 10:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130549 -2.836885)'), GeomFromEWKT('SRID=4674;POINT (-40.130513 -2.83708)'))) / (select extract(epoch from '2026-06-19 10:32:56'::timestamp) - extract(epoch from '2026-06-19 10:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.130494 -2.837275)', '2026-06-19 10:33:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130513 -2.83708)'), GeomFromEWKT('SRID=4674;POINT (-40.130494 -2.837275)'))) / (select extract(epoch from '2026-06-19 10:33:07'::timestamp) - extract(epoch from '2026-06-19 10:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130513 -2.83708)'), GeomFromEWKT('SRID=4674;POINT (-40.130494 -2.837275)'))) / (select extract(epoch from '2026-06-19 10:33:07'::timestamp) - extract(epoch from '2026-06-19 10:32: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'), 46708, 'SRID=4674;POINT (-40.130455 -2.837476)', '2026-06-19 10:33:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130494 -2.837275)'), GeomFromEWKT('SRID=4674;POINT (-40.130455 -2.837476)'))) / (select extract(epoch from '2026-06-19 10:33:19'::timestamp) - extract(epoch from '2026-06-19 10:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130494 -2.837275)'), GeomFromEWKT('SRID=4674;POINT (-40.130455 -2.837476)'))) / (select extract(epoch from '2026-06-19 10:33:19'::timestamp) - extract(epoch from '2026-06-19 10:33: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'), 46708, 'SRID=4674;POINT (-40.130413 -2.837612)', '2026-06-19 10:33:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130455 -2.837476)'), GeomFromEWKT('SRID=4674;POINT (-40.130413 -2.837612)'))) / (select extract(epoch from '2026-06-19 10:33:27'::timestamp) - extract(epoch from '2026-06-19 10:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130455 -2.837476)'), GeomFromEWKT('SRID=4674;POINT (-40.130413 -2.837612)'))) / (select extract(epoch from '2026-06-19 10:33:27'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.13041 -2.837809)', '2026-06-19 10:33:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130413 -2.837612)'), GeomFromEWKT('SRID=4674;POINT (-40.13041 -2.837809)'))) / (select extract(epoch from '2026-06-19 10:33:38'::timestamp) - extract(epoch from '2026-06-19 10:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130413 -2.837612)'), GeomFromEWKT('SRID=4674;POINT (-40.13041 -2.837809)'))) / (select extract(epoch from '2026-06-19 10:33:38'::timestamp) - extract(epoch from '2026-06-19 10:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13036 -2.837955)', '2026-06-19 10:33:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13041 -2.837809)'), GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.837955)'))) / (select extract(epoch from '2026-06-19 10:33:47'::timestamp) - extract(epoch from '2026-06-19 10:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13041 -2.837809)'), GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.837955)'))) / (select extract(epoch from '2026-06-19 10:33:47'::timestamp) - extract(epoch from '2026-06-19 10:33: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'), 46708, 'SRID=4674;POINT (-40.130319 -2.838152)', '2026-06-19 10:33:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.837955)'), GeomFromEWKT('SRID=4674;POINT (-40.130319 -2.838152)'))) / (select extract(epoch from '2026-06-19 10:33:58'::timestamp) - extract(epoch from '2026-06-19 10:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13036 -2.837955)'), GeomFromEWKT('SRID=4674;POINT (-40.130319 -2.838152)'))) / (select extract(epoch from '2026-06-19 10:33:58'::timestamp) - extract(epoch from '2026-06-19 10:33: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'), 46708, 'SRID=4674;POINT (-40.13031 -2.838301)', '2026-06-19 10:34:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130319 -2.838152)'), GeomFromEWKT('SRID=4674;POINT (-40.13031 -2.838301)'))) / (select extract(epoch from '2026-06-19 10:34:06'::timestamp) - extract(epoch from '2026-06-19 10:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130319 -2.838152)'), GeomFromEWKT('SRID=4674;POINT (-40.13031 -2.838301)'))) / (select extract(epoch from '2026-06-19 10:34:06'::timestamp) - extract(epoch from '2026-06-19 10:33: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'), 46708, 'SRID=4674;POINT (-40.130277 -2.838479)', '2026-06-19 10:34:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13031 -2.838301)'), GeomFromEWKT('SRID=4674;POINT (-40.130277 -2.838479)'))) / (select extract(epoch from '2026-06-19 10:34:16'::timestamp) - extract(epoch from '2026-06-19 10:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13031 -2.838301)'), GeomFromEWKT('SRID=4674;POINT (-40.130277 -2.838479)'))) / (select extract(epoch from '2026-06-19 10:34:16'::timestamp) - extract(epoch from '2026-06-19 10:34: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'), 46708, 'SRID=4674;POINT (-40.13022 -2.838628)', '2026-06-19 10:34:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130277 -2.838479)'), GeomFromEWKT('SRID=4674;POINT (-40.13022 -2.838628)'))) / (select extract(epoch from '2026-06-19 10:34:25'::timestamp) - extract(epoch from '2026-06-19 10:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130277 -2.838479)'), GeomFromEWKT('SRID=4674;POINT (-40.13022 -2.838628)'))) / (select extract(epoch from '2026-06-19 10:34:25'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.130241 -2.838827)', '2026-06-19 10:34:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13022 -2.838628)'), GeomFromEWKT('SRID=4674;POINT (-40.130241 -2.838827)'))) / (select extract(epoch from '2026-06-19 10:34:36'::timestamp) - extract(epoch from '2026-06-19 10:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13022 -2.838628)'), GeomFromEWKT('SRID=4674;POINT (-40.130241 -2.838827)'))) / (select extract(epoch from '2026-06-19 10:34:36'::timestamp) - extract(epoch from '2026-06-19 10:34: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'), 46708, 'SRID=4674;POINT (-40.130228 -2.83895)', '2026-06-19 10:34:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130241 -2.838827)'), GeomFromEWKT('SRID=4674;POINT (-40.130228 -2.83895)'))) / (select extract(epoch from '2026-06-19 10:34:44'::timestamp) - extract(epoch from '2026-06-19 10:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130241 -2.838827)'), GeomFromEWKT('SRID=4674;POINT (-40.130228 -2.83895)'))) / (select extract(epoch from '2026-06-19 10:34:44'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.130171 -2.839106)', '2026-06-19 10:34:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130228 -2.83895)'), GeomFromEWKT('SRID=4674;POINT (-40.130171 -2.839106)'))) / (select extract(epoch from '2026-06-19 10:34:54'::timestamp) - extract(epoch from '2026-06-19 10:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130228 -2.83895)'), GeomFromEWKT('SRID=4674;POINT (-40.130171 -2.839106)'))) / (select extract(epoch from '2026-06-19 10:34:54'::timestamp) - extract(epoch from '2026-06-19 10: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'), 46708, 'SRID=4674;POINT (-40.130111 -2.839284)', '2026-06-19 10:35:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130171 -2.839106)'), GeomFromEWKT('SRID=4674;POINT (-40.130111 -2.839284)'))) / (select extract(epoch from '2026-06-19 10:35:05'::timestamp) - extract(epoch from '2026-06-19 10:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130171 -2.839106)'), GeomFromEWKT('SRID=4674;POINT (-40.130111 -2.839284)'))) / (select extract(epoch from '2026-06-19 10:35:05'::timestamp) - extract(epoch from '2026-06-19 10:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.13006 -2.839446)', '2026-06-19 10:35:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130111 -2.839284)'), GeomFromEWKT('SRID=4674;POINT (-40.13006 -2.839446)'))) / (select extract(epoch from '2026-06-19 10:35:15'::timestamp) - extract(epoch from '2026-06-19 10:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130111 -2.839284)'), GeomFromEWKT('SRID=4674;POINT (-40.13006 -2.839446)'))) / (select extract(epoch from '2026-06-19 10:35:15'::timestamp) - extract(epoch from '2026-06-19 10:35: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'), 46708, 'SRID=4674;POINT (-40.130043 -2.839613)', '2026-06-19 10:35:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13006 -2.839446)'), GeomFromEWKT('SRID=4674;POINT (-40.130043 -2.839613)'))) / (select extract(epoch from '2026-06-19 10:35:25'::timestamp) - extract(epoch from '2026-06-19 10:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13006 -2.839446)'), GeomFromEWKT('SRID=4674;POINT (-40.130043 -2.839613)'))) / (select extract(epoch from '2026-06-19 10:35:25'::timestamp) - extract(epoch from '2026-06-19 10:35: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'), 46708, 'SRID=4674;POINT (-40.129987 -2.839725)', '2026-06-19 10:35:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130043 -2.839613)'), GeomFromEWKT('SRID=4674;POINT (-40.129987 -2.839725)'))) / (select extract(epoch from '2026-06-19 10:35:32'::timestamp) - extract(epoch from '2026-06-19 10:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130043 -2.839613)'), GeomFromEWKT('SRID=4674;POINT (-40.129987 -2.839725)'))) / (select extract(epoch from '2026-06-19 10:35:32'::timestamp) - extract(epoch from '2026-06-19 10:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129941 -2.83989)', '2026-06-19 10:35:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129987 -2.839725)'), GeomFromEWKT('SRID=4674;POINT (-40.129941 -2.83989)'))) / (select extract(epoch from '2026-06-19 10:35:41'::timestamp) - extract(epoch from '2026-06-19 10:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129987 -2.839725)'), GeomFromEWKT('SRID=4674;POINT (-40.129941 -2.83989)'))) / (select extract(epoch from '2026-06-19 10:35:41'::timestamp) - extract(epoch from '2026-06-19 10:35: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'), 46708, 'SRID=4674;POINT (-40.129964 -2.84007)', '2026-06-19 10:35:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129941 -2.83989)'), GeomFromEWKT('SRID=4674;POINT (-40.129964 -2.84007)'))) / (select extract(epoch from '2026-06-19 10:35:51'::timestamp) - extract(epoch from '2026-06-19 10:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129941 -2.83989)'), GeomFromEWKT('SRID=4674;POINT (-40.129964 -2.84007)'))) / (select extract(epoch from '2026-06-19 10:35:51'::timestamp) - extract(epoch from '2026-06-19 10:35: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'), 46708, 'SRID=4674;POINT (-40.129931 -2.840206)', '2026-06-19 10:36:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129964 -2.84007)'), GeomFromEWKT('SRID=4674;POINT (-40.129931 -2.840206)'))) / (select extract(epoch from '2026-06-19 10:36:00'::timestamp) - extract(epoch from '2026-06-19 10:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129964 -2.84007)'), GeomFromEWKT('SRID=4674;POINT (-40.129931 -2.840206)'))) / (select extract(epoch from '2026-06-19 10:36:00'::timestamp) - extract(epoch from '2026-06-19 10:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12983 -2.840373)', '2026-06-19 10:36:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129931 -2.840206)'), GeomFromEWKT('SRID=4674;POINT (-40.12983 -2.840373)'))) / (select extract(epoch from '2026-06-19 10:36:12'::timestamp) - extract(epoch from '2026-06-19 10:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129931 -2.840206)'), GeomFromEWKT('SRID=4674;POINT (-40.12983 -2.840373)'))) / (select extract(epoch from '2026-06-19 10:36:12'::timestamp) - extract(epoch from '2026-06-19 10:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129757 -2.840595)', '2026-06-19 10:36:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12983 -2.840373)'), GeomFromEWKT('SRID=4674;POINT (-40.129757 -2.840595)'))) / (select extract(epoch from '2026-06-19 10:36:25'::timestamp) - extract(epoch from '2026-06-19 10:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12983 -2.840373)'), GeomFromEWKT('SRID=4674;POINT (-40.129757 -2.840595)'))) / (select extract(epoch from '2026-06-19 10:36:25'::timestamp) - extract(epoch from '2026-06-19 10:36: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'), 46708, 'SRID=4674;POINT (-40.129687 -2.84077)', '2026-06-19 10:36:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129757 -2.840595)'), GeomFromEWKT('SRID=4674;POINT (-40.129687 -2.84077)'))) / (select extract(epoch from '2026-06-19 10:36:35'::timestamp) - extract(epoch from '2026-06-19 10:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129757 -2.840595)'), GeomFromEWKT('SRID=4674;POINT (-40.129687 -2.84077)'))) / (select extract(epoch from '2026-06-19 10:36:35'::timestamp) - extract(epoch from '2026-06-19 10:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12961 -2.840943)', '2026-06-19 10:36:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129687 -2.84077)'), GeomFromEWKT('SRID=4674;POINT (-40.12961 -2.840943)'))) / (select extract(epoch from '2026-06-19 10:36:45'::timestamp) - extract(epoch from '2026-06-19 10:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129687 -2.84077)'), GeomFromEWKT('SRID=4674;POINT (-40.12961 -2.840943)'))) / (select extract(epoch from '2026-06-19 10:36:45'::timestamp) - extract(epoch from '2026-06-19 10:36:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.12948 -2.841177)', '2026-06-19 10:36:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12961 -2.840943)'), GeomFromEWKT('SRID=4674;POINT (-40.12948 -2.841177)'))) / (select extract(epoch from '2026-06-19 10:36:59'::timestamp) - extract(epoch from '2026-06-19 10:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12961 -2.840943)'), GeomFromEWKT('SRID=4674;POINT (-40.12948 -2.841177)'))) / (select extract(epoch from '2026-06-19 10:36:59'::timestamp) - extract(epoch from '2026-06-19 10:36: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'), 46708, 'SRID=4674;POINT (-40.1294 -2.841318)', '2026-06-19 10:37:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12948 -2.841177)'), GeomFromEWKT('SRID=4674;POINT (-40.1294 -2.841318)'))) / (select extract(epoch from '2026-06-19 10:37:08'::timestamp) - extract(epoch from '2026-06-19 10:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12948 -2.841177)'), GeomFromEWKT('SRID=4674;POINT (-40.1294 -2.841318)'))) / (select extract(epoch from '2026-06-19 10:37:08'::timestamp) - extract(epoch from '2026-06-19 10:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129369 -2.841519)', '2026-06-19 10:37:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1294 -2.841318)'), GeomFromEWKT('SRID=4674;POINT (-40.129369 -2.841519)'))) / (select extract(epoch from '2026-06-19 10:37:19'::timestamp) - extract(epoch from '2026-06-19 10:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1294 -2.841318)'), GeomFromEWKT('SRID=4674;POINT (-40.129369 -2.841519)'))) / (select extract(epoch from '2026-06-19 10:37:19'::timestamp) - extract(epoch from '2026-06-19 10:37: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'), 46708, 'SRID=4674;POINT (-40.129294 -2.841692)', '2026-06-19 10:37:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129369 -2.841519)'), GeomFromEWKT('SRID=4674;POINT (-40.129294 -2.841692)'))) / (select extract(epoch from '2026-06-19 10:37:29'::timestamp) - extract(epoch from '2026-06-19 10:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129369 -2.841519)'), GeomFromEWKT('SRID=4674;POINT (-40.129294 -2.841692)'))) / (select extract(epoch from '2026-06-19 10:37:29'::timestamp) - extract(epoch from '2026-06-19 10:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129215 -2.841887)', '2026-06-19 10:37:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129294 -2.841692)'), GeomFromEWKT('SRID=4674;POINT (-40.129215 -2.841887)'))) / (select extract(epoch from '2026-06-19 10:37:40'::timestamp) - extract(epoch from '2026-06-19 10:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129294 -2.841692)'), GeomFromEWKT('SRID=4674;POINT (-40.129215 -2.841887)'))) / (select extract(epoch from '2026-06-19 10:37:40'::timestamp) - extract(epoch from '2026-06-19 10:37:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.129134 -2.842075)', '2026-06-19 10:37:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129215 -2.841887)'), GeomFromEWKT('SRID=4674;POINT (-40.129134 -2.842075)'))) / (select extract(epoch from '2026-06-19 10:37:51'::timestamp) - extract(epoch from '2026-06-19 10:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129215 -2.841887)'), GeomFromEWKT('SRID=4674;POINT (-40.129134 -2.842075)'))) / (select extract(epoch from '2026-06-19 10:37:51'::timestamp) - extract(epoch from '2026-06-19 10:37: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'), 46708, 'SRID=4674;POINT (-40.12905 -2.842246)', '2026-06-19 10:38:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129134 -2.842075)'), GeomFromEWKT('SRID=4674;POINT (-40.12905 -2.842246)'))) / (select extract(epoch from '2026-06-19 10:38:01'::timestamp) - extract(epoch from '2026-06-19 10:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129134 -2.842075)'), GeomFromEWKT('SRID=4674;POINT (-40.12905 -2.842246)'))) / (select extract(epoch from '2026-06-19 10:38:01'::timestamp) - extract(epoch from '2026-06-19 10:37: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'), 46708, 'SRID=4674;POINT (-40.128985 -2.842431)', '2026-06-19 10:38:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12905 -2.842246)'), GeomFromEWKT('SRID=4674;POINT (-40.128985 -2.842431)'))) / (select extract(epoch from '2026-06-19 10:38:11'::timestamp) - extract(epoch from '2026-06-19 10:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12905 -2.842246)'), GeomFromEWKT('SRID=4674;POINT (-40.128985 -2.842431)'))) / (select extract(epoch from '2026-06-19 10:38:11'::timestamp) - extract(epoch from '2026-06-19 10:38: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'), 46708, 'SRID=4674;POINT (-40.128895 -2.842569)', '2026-06-19 10:38:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128985 -2.842431)'), GeomFromEWKT('SRID=4674;POINT (-40.128895 -2.842569)'))) / (select extract(epoch from '2026-06-19 10:38:20'::timestamp) - extract(epoch from '2026-06-19 10:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128985 -2.842431)'), GeomFromEWKT('SRID=4674;POINT (-40.128895 -2.842569)'))) / (select extract(epoch from '2026-06-19 10:38:20'::timestamp) - extract(epoch from '2026-06-19 10:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.128806 -2.84274)', '2026-06-19 10:38:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128895 -2.842569)'), GeomFromEWKT('SRID=4674;POINT (-40.128806 -2.84274)'))) / (select extract(epoch from '2026-06-19 10:38:30'::timestamp) - extract(epoch from '2026-06-19 10:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128895 -2.842569)'), GeomFromEWKT('SRID=4674;POINT (-40.128806 -2.84274)'))) / (select extract(epoch from '2026-06-19 10:38:30'::timestamp) - extract(epoch from '2026-06-19 10:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.128751 -2.842909)', '2026-06-19 10:38:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128806 -2.84274)'), GeomFromEWKT('SRID=4674;POINT (-40.128751 -2.842909)'))) / (select extract(epoch from '2026-06-19 10:38:39'::timestamp) - extract(epoch from '2026-06-19 10:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128806 -2.84274)'), GeomFromEWKT('SRID=4674;POINT (-40.128751 -2.842909)'))) / (select extract(epoch from '2026-06-19 10:38:39'::timestamp) - extract(epoch from '2026-06-19 10:38: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'), 46708, 'SRID=4674;POINT (-40.128745 -2.843081)', '2026-06-19 10:38:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128751 -2.842909)'), GeomFromEWKT('SRID=4674;POINT (-40.128745 -2.843081)'))) / (select extract(epoch from '2026-06-19 10:38:48'::timestamp) - extract(epoch from '2026-06-19 10:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128751 -2.842909)'), GeomFromEWKT('SRID=4674;POINT (-40.128745 -2.843081)'))) / (select extract(epoch from '2026-06-19 10:38:48'::timestamp) - extract(epoch from '2026-06-19 10:38: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'), 46708, 'SRID=4674;POINT (-40.128683 -2.843206)', '2026-06-19 10:38:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128745 -2.843081)'), GeomFromEWKT('SRID=4674;POINT (-40.128683 -2.843206)'))) / (select extract(epoch from '2026-06-19 10:38:56'::timestamp) - extract(epoch from '2026-06-19 10:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128745 -2.843081)'), GeomFromEWKT('SRID=4674;POINT (-40.128683 -2.843206)'))) / (select extract(epoch from '2026-06-19 10:38:56'::timestamp) - extract(epoch from '2026-06-19 10:38: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'), 46708, 'SRID=4674;POINT (-40.128548 -2.843436)', '2026-06-19 10:39:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128683 -2.843206)'), GeomFromEWKT('SRID=4674;POINT (-40.128548 -2.843436)'))) / (select extract(epoch from '2026-06-19 10:39:11'::timestamp) - extract(epoch from '2026-06-19 10:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128683 -2.843206)'), GeomFromEWKT('SRID=4674;POINT (-40.128548 -2.843436)'))) / (select extract(epoch from '2026-06-19 10:39:11'::timestamp) - extract(epoch from '2026-06-19 10:38: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'), 46708, 'SRID=4674;POINT (-40.128419 -2.843629)', '2026-06-19 10:39:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128548 -2.843436)'), GeomFromEWKT('SRID=4674;POINT (-40.128419 -2.843629)'))) / (select extract(epoch from '2026-06-19 10:39:24'::timestamp) - extract(epoch from '2026-06-19 10:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128548 -2.843436)'), GeomFromEWKT('SRID=4674;POINT (-40.128419 -2.843629)'))) / (select extract(epoch from '2026-06-19 10:39:24'::timestamp) - extract(epoch from '2026-06-19 10:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.128285 -2.843828)', '2026-06-19 10:39:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128419 -2.843629)'), GeomFromEWKT('SRID=4674;POINT (-40.128285 -2.843828)'))) / (select extract(epoch from '2026-06-19 10:39:37'::timestamp) - extract(epoch from '2026-06-19 10:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128419 -2.843629)'), GeomFromEWKT('SRID=4674;POINT (-40.128285 -2.843828)'))) / (select extract(epoch from '2026-06-19 10:39:37'::timestamp) - extract(epoch from '2026-06-19 10:39: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'), 46708, 'SRID=4674;POINT (-40.128224 -2.843951)', '2026-06-19 10:39:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128285 -2.843828)'), GeomFromEWKT('SRID=4674;POINT (-40.128224 -2.843951)'))) / (select extract(epoch from '2026-06-19 10:39:45'::timestamp) - extract(epoch from '2026-06-19 10:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128285 -2.843828)'), GeomFromEWKT('SRID=4674;POINT (-40.128224 -2.843951)'))) / (select extract(epoch from '2026-06-19 10:39:45'::timestamp) - extract(epoch from '2026-06-19 10:39: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'), 46708, 'SRID=4674;POINT (-40.128177 -2.844115)', '2026-06-19 10:39:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128224 -2.843951)'), GeomFromEWKT('SRID=4674;POINT (-40.128177 -2.844115)'))) / (select extract(epoch from '2026-06-19 10:39:54'::timestamp) - extract(epoch from '2026-06-19 10:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128224 -2.843951)'), GeomFromEWKT('SRID=4674;POINT (-40.128177 -2.844115)'))) / (select extract(epoch from '2026-06-19 10:39:54'::timestamp) - extract(epoch from '2026-06-19 10:39: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'), 46708, 'SRID=4674;POINT (-40.128103 -2.844211)', '2026-06-19 10:40:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128177 -2.844115)'), GeomFromEWKT('SRID=4674;POINT (-40.128103 -2.844211)'))) / (select extract(epoch from '2026-06-19 10:40:01'::timestamp) - extract(epoch from '2026-06-19 10:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128177 -2.844115)'), GeomFromEWKT('SRID=4674;POINT (-40.128103 -2.844211)'))) / (select extract(epoch from '2026-06-19 10:40:01'::timestamp) - extract(epoch from '2026-06-19 10:39: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'), 46708, 'SRID=4674;POINT (-40.128053 -2.844325)', '2026-06-19 10:40:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128103 -2.844211)'), GeomFromEWKT('SRID=4674;POINT (-40.128053 -2.844325)'))) / (select extract(epoch from '2026-06-19 10:40:09'::timestamp) - extract(epoch from '2026-06-19 10:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128103 -2.844211)'), GeomFromEWKT('SRID=4674;POINT (-40.128053 -2.844325)'))) / (select extract(epoch from '2026-06-19 10:40:09'::timestamp) - extract(epoch from '2026-06-19 10:40: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'), 46708, 'SRID=4674;POINT (-40.128094 -2.844471)', '2026-06-19 10:40:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128053 -2.844325)'), GeomFromEWKT('SRID=4674;POINT (-40.128094 -2.844471)'))) / (select extract(epoch from '2026-06-19 10:40:18'::timestamp) - extract(epoch from '2026-06-19 10:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128053 -2.844325)'), GeomFromEWKT('SRID=4674;POINT (-40.128094 -2.844471)'))) / (select extract(epoch from '2026-06-19 10:40:18'::timestamp) - extract(epoch from '2026-06-19 10:40: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'), 46708, 'SRID=4674;POINT (-40.128066 -2.844585)', '2026-06-19 10:40:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128094 -2.844471)'), GeomFromEWKT('SRID=4674;POINT (-40.128066 -2.844585)'))) / (select extract(epoch from '2026-06-19 10:40:25'::timestamp) - extract(epoch from '2026-06-19 10:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128094 -2.844471)'), GeomFromEWKT('SRID=4674;POINT (-40.128066 -2.844585)'))) / (select extract(epoch from '2026-06-19 10:40:25'::timestamp) - extract(epoch from '2026-06-19 10:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127932 -2.844759)', '2026-06-19 10:40:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128066 -2.844585)'), GeomFromEWKT('SRID=4674;POINT (-40.127932 -2.844759)'))) / (select extract(epoch from '2026-06-19 10:40:37'::timestamp) - extract(epoch from '2026-06-19 10:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128066 -2.844585)'), GeomFromEWKT('SRID=4674;POINT (-40.127932 -2.844759)'))) / (select extract(epoch from '2026-06-19 10:40:37'::timestamp) - extract(epoch from '2026-06-19 10:40: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'), 46708, 'SRID=4674;POINT (-40.127844 -2.844911)', '2026-06-19 10:40:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127932 -2.844759)'), GeomFromEWKT('SRID=4674;POINT (-40.127844 -2.844911)'))) / (select extract(epoch from '2026-06-19 10:40:47'::timestamp) - extract(epoch from '2026-06-19 10:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127932 -2.844759)'), GeomFromEWKT('SRID=4674;POINT (-40.127844 -2.844911)'))) / (select extract(epoch from '2026-06-19 10:40:47'::timestamp) - extract(epoch from '2026-06-19 10:40: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'), 46708, 'SRID=4674;POINT (-40.127761 -2.845069)', '2026-06-19 10:40:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127844 -2.844911)'), GeomFromEWKT('SRID=4674;POINT (-40.127761 -2.845069)'))) / (select extract(epoch from '2026-06-19 10:40:57'::timestamp) - extract(epoch from '2026-06-19 10:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127844 -2.844911)'), GeomFromEWKT('SRID=4674;POINT (-40.127761 -2.845069)'))) / (select extract(epoch from '2026-06-19 10:40:57'::timestamp) - extract(epoch from '2026-06-19 10:40: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'), 46708, 'SRID=4674;POINT (-40.127668 -2.845259)', '2026-06-19 10:41:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127761 -2.845069)'), GeomFromEWKT('SRID=4674;POINT (-40.127668 -2.845259)'))) / (select extract(epoch from '2026-06-19 10:41:09'::timestamp) - extract(epoch from '2026-06-19 10:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127761 -2.845069)'), GeomFromEWKT('SRID=4674;POINT (-40.127668 -2.845259)'))) / (select extract(epoch from '2026-06-19 10:41:09'::timestamp) - extract(epoch from '2026-06-19 10:40: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'), 46708, 'SRID=4674;POINT (-40.127604 -2.845404)', '2026-06-19 10:41:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127668 -2.845259)'), GeomFromEWKT('SRID=4674;POINT (-40.127604 -2.845404)'))) / (select extract(epoch from '2026-06-19 10:41:18'::timestamp) - extract(epoch from '2026-06-19 10:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127668 -2.845259)'), GeomFromEWKT('SRID=4674;POINT (-40.127604 -2.845404)'))) / (select extract(epoch from '2026-06-19 10:41:18'::timestamp) - extract(epoch from '2026-06-19 10:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127501 -2.845521)', '2026-06-19 10:41:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127604 -2.845404)'), GeomFromEWKT('SRID=4674;POINT (-40.127501 -2.845521)'))) / (select extract(epoch from '2026-06-19 10:41:27'::timestamp) - extract(epoch from '2026-06-19 10:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127604 -2.845404)'), GeomFromEWKT('SRID=4674;POINT (-40.127501 -2.845521)'))) / (select extract(epoch from '2026-06-19 10:41:27'::timestamp) - extract(epoch from '2026-06-19 10:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127471 -2.845655)', '2026-06-19 10:41:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127501 -2.845521)'), GeomFromEWKT('SRID=4674;POINT (-40.127471 -2.845655)'))) / (select extract(epoch from '2026-06-19 10:41:35'::timestamp) - extract(epoch from '2026-06-19 10:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127501 -2.845521)'), GeomFromEWKT('SRID=4674;POINT (-40.127471 -2.845655)'))) / (select extract(epoch from '2026-06-19 10:41:35'::timestamp) - extract(epoch from '2026-06-19 10:41: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'), 46708, 'SRID=4674;POINT (-40.127419 -2.845757)', '2026-06-19 10:41:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127471 -2.845655)'), GeomFromEWKT('SRID=4674;POINT (-40.127419 -2.845757)'))) / (select extract(epoch from '2026-06-19 10:41:42'::timestamp) - extract(epoch from '2026-06-19 10:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127471 -2.845655)'), GeomFromEWKT('SRID=4674;POINT (-40.127419 -2.845757)'))) / (select extract(epoch from '2026-06-19 10:41:42'::timestamp) - extract(epoch from '2026-06-19 10:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127322 -2.845883)', '2026-06-19 10:41:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127419 -2.845757)'), GeomFromEWKT('SRID=4674;POINT (-40.127322 -2.845883)'))) / (select extract(epoch from '2026-06-19 10:41:51'::timestamp) - extract(epoch from '2026-06-19 10:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127419 -2.845757)'), GeomFromEWKT('SRID=4674;POINT (-40.127322 -2.845883)'))) / (select extract(epoch from '2026-06-19 10:41:51'::timestamp) - extract(epoch from '2026-06-19 10:41: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'), 46708, 'SRID=4674;POINT (-40.127283 -2.846044)', '2026-06-19 10:42:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127322 -2.845883)'), GeomFromEWKT('SRID=4674;POINT (-40.127283 -2.846044)'))) / (select extract(epoch from '2026-06-19 10:42:01'::timestamp) - extract(epoch from '2026-06-19 10:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127322 -2.845883)'), GeomFromEWKT('SRID=4674;POINT (-40.127283 -2.846044)'))) / (select extract(epoch from '2026-06-19 10:42:01'::timestamp) - extract(epoch from '2026-06-19 10:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46708, 'SRID=4674;POINT (-40.127253 -2.846208)', '2026-06-19 10:42:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127283 -2.846044)'), GeomFromEWKT('SRID=4674;POINT (-40.127253 -2.846208)'))) / (select extract(epoch from '2026-06-19 10:42:11'::timestamp) - extract(epoch from '2026-06-19 10:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127283 -2.846044)'), GeomFromEWKT('SRID=4674;POINT (-40.127253 -2.846208)'))) / (select extract(epoch from '2026-06-19 10:42:11'::timestamp) - extract(epoch from '2026-06-19 10:42: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'), 46708, 'SRID=4674;POINT (-40.12713 -2.846402)', '2026-06-19 10:42:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127253 -2.846208)'), GeomFromEWKT('SRID=4674;POINT (-40.12713 -2.846402)'))) / (select extract(epoch from '2026-06-19 10:42:24'::timestamp) - extract(epoch from '2026-06-19 10:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127253 -2.846208)'), GeomFromEWKT('SRID=4674;POINT (-40.12713 -2.846402)'))) / (select extract(epoch from '2026-06-19 10:42:24'::timestamp) - extract(epoch from '2026-06-19 10:42: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'), 46708, 'SRID=4674;POINT (-40.127011 -2.846656)', '2026-06-19 10:42:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12713 -2.846402)'), GeomFromEWKT('SRID=4674;POINT (-40.127011 -2.846656)'))) / (select extract(epoch from '2026-06-19 10:42:39'::timestamp) - extract(epoch from '2026-06-19 10:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12713 -2.846402)'), GeomFromEWKT('SRID=4674;POINT (-40.127011 -2.846656)'))) / (select extract(epoch from '2026-06-19 10:42:39'::timestamp) - extract(epoch from '2026-06-19 10:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
