BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.12702 -2.848815)', '2026-07-27 14:37:27', 24.17, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.126729 -2.848333)', '2026-07-27 14:37:55', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12702 -2.848815)'), GeomFromEWKT('SRID=4674;POINT (-40.126729 -2.848333)'))) / (select extract(epoch from '2026-07-27 14:37:55'::timestamp) - extract(epoch from '2026-07-27 14:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12702 -2.848815)'), GeomFromEWKT('SRID=4674;POINT (-40.126729 -2.848333)'))) / (select extract(epoch from '2026-07-27 14:37:55'::timestamp) - extract(epoch from '2026-07-27 14:37: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'), 47630, 'SRID=4674;POINT (-40.126751 -2.847828)', '2026-07-27 14:38:18', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126729 -2.848333)'), GeomFromEWKT('SRID=4674;POINT (-40.126751 -2.847828)'))) / (select extract(epoch from '2026-07-27 14:38:18'::timestamp) - extract(epoch from '2026-07-27 14:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126729 -2.848333)'), GeomFromEWKT('SRID=4674;POINT (-40.126751 -2.847828)'))) / (select extract(epoch from '2026-07-27 14:38:18'::timestamp) - extract(epoch from '2026-07-27 14:37: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'), 47630, 'SRID=4674;POINT (-40.126889 -2.847324)', '2026-07-27 14:38:42', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126751 -2.847828)'), GeomFromEWKT('SRID=4674;POINT (-40.126889 -2.847324)'))) / (select extract(epoch from '2026-07-27 14:38:42'::timestamp) - extract(epoch from '2026-07-27 14:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126751 -2.847828)'), GeomFromEWKT('SRID=4674;POINT (-40.126889 -2.847324)'))) / (select extract(epoch from '2026-07-27 14:38:42'::timestamp) - extract(epoch from '2026-07-27 14:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.127011 -2.846754)', '2026-07-27 14:39:09', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126889 -2.847324)'), GeomFromEWKT('SRID=4674;POINT (-40.127011 -2.846754)'))) / (select extract(epoch from '2026-07-27 14:39:09'::timestamp) - extract(epoch from '2026-07-27 14:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126889 -2.847324)'), GeomFromEWKT('SRID=4674;POINT (-40.127011 -2.846754)'))) / (select extract(epoch from '2026-07-27 14:39:09'::timestamp) - extract(epoch from '2026-07-27 14:38: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'), 47630, 'SRID=4674;POINT (-40.127164 -2.846025)', '2026-07-27 14:39:43', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127011 -2.846754)'), GeomFromEWKT('SRID=4674;POINT (-40.127164 -2.846025)'))) / (select extract(epoch from '2026-07-27 14:39:43'::timestamp) - extract(epoch from '2026-07-27 14:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127011 -2.846754)'), GeomFromEWKT('SRID=4674;POINT (-40.127164 -2.846025)'))) / (select extract(epoch from '2026-07-27 14:39:43'::timestamp) - extract(epoch from '2026-07-27 14:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.127511 -2.84537)', '2026-07-27 14:40:17', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127164 -2.846025)'), GeomFromEWKT('SRID=4674;POINT (-40.127511 -2.84537)'))) / (select extract(epoch from '2026-07-27 14:40:17'::timestamp) - extract(epoch from '2026-07-27 14:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127164 -2.846025)'), GeomFromEWKT('SRID=4674;POINT (-40.127511 -2.84537)'))) / (select extract(epoch from '2026-07-27 14:40:17'::timestamp) - extract(epoch from '2026-07-27 14:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.127864 -2.844637)', '2026-07-27 14:40:54', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127511 -2.84537)'), GeomFromEWKT('SRID=4674;POINT (-40.127864 -2.844637)'))) / (select extract(epoch from '2026-07-27 14:40:54'::timestamp) - extract(epoch from '2026-07-27 14:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127511 -2.84537)'), GeomFromEWKT('SRID=4674;POINT (-40.127864 -2.844637)'))) / (select extract(epoch from '2026-07-27 14:40:54'::timestamp) - extract(epoch from '2026-07-27 14:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.128334 -2.843887)', '2026-07-27 14:41:33', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127864 -2.844637)'), GeomFromEWKT('SRID=4674;POINT (-40.128334 -2.843887)'))) / (select extract(epoch from '2026-07-27 14:41:33'::timestamp) - extract(epoch from '2026-07-27 14:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127864 -2.844637)'), GeomFromEWKT('SRID=4674;POINT (-40.128334 -2.843887)'))) / (select extract(epoch from '2026-07-27 14:41:33'::timestamp) - extract(epoch from '2026-07-27 14:40: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'), 47630, 'SRID=4674;POINT (-40.128692 -2.843071)', '2026-07-27 14:42:10', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128334 -2.843887)'), GeomFromEWKT('SRID=4674;POINT (-40.128692 -2.843071)'))) / (select extract(epoch from '2026-07-27 14:42:10'::timestamp) - extract(epoch from '2026-07-27 14:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128334 -2.843887)'), GeomFromEWKT('SRID=4674;POINT (-40.128692 -2.843071)'))) / (select extract(epoch from '2026-07-27 14:42:10'::timestamp) - extract(epoch from '2026-07-27 14:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.128939 -2.842463)', '2026-07-27 14:42:38', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128692 -2.843071)'), GeomFromEWKT('SRID=4674;POINT (-40.128939 -2.842463)'))) / (select extract(epoch from '2026-07-27 14:42:38'::timestamp) - extract(epoch from '2026-07-27 14:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128692 -2.843071)'), GeomFromEWKT('SRID=4674;POINT (-40.128939 -2.842463)'))) / (select extract(epoch from '2026-07-27 14:42:38'::timestamp) - extract(epoch from '2026-07-27 14:42: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'), 47630, 'SRID=4674;POINT (-40.129225 -2.841795)', '2026-07-27 14:43:14', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128939 -2.842463)'), GeomFromEWKT('SRID=4674;POINT (-40.129225 -2.841795)'))) / (select extract(epoch from '2026-07-27 14:43:14'::timestamp) - extract(epoch from '2026-07-27 14:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128939 -2.842463)'), GeomFromEWKT('SRID=4674;POINT (-40.129225 -2.841795)'))) / (select extract(epoch from '2026-07-27 14:43:14'::timestamp) - extract(epoch from '2026-07-27 14:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.129452 -2.841229)', '2026-07-27 14:43:45', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129225 -2.841795)'), GeomFromEWKT('SRID=4674;POINT (-40.129452 -2.841229)'))) / (select extract(epoch from '2026-07-27 14:43:45'::timestamp) - extract(epoch from '2026-07-27 14:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129225 -2.841795)'), GeomFromEWKT('SRID=4674;POINT (-40.129452 -2.841229)'))) / (select extract(epoch from '2026-07-27 14:43:45'::timestamp) - extract(epoch from '2026-07-27 14:43: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'), 47630, 'SRID=4674;POINT (-40.129673 -2.840618)', '2026-07-27 14:44:14', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129452 -2.841229)'), GeomFromEWKT('SRID=4674;POINT (-40.129673 -2.840618)'))) / (select extract(epoch from '2026-07-27 14:44:14'::timestamp) - extract(epoch from '2026-07-27 14:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129452 -2.841229)'), GeomFromEWKT('SRID=4674;POINT (-40.129673 -2.840618)'))) / (select extract(epoch from '2026-07-27 14:44:14'::timestamp) - extract(epoch from '2026-07-27 14:43: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'), 47630, 'SRID=4674;POINT (-40.129967 -2.839888)', '2026-07-27 14:44:47', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129673 -2.840618)'), GeomFromEWKT('SRID=4674;POINT (-40.129967 -2.839888)'))) / (select extract(epoch from '2026-07-27 14:44:47'::timestamp) - extract(epoch from '2026-07-27 14:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129673 -2.840618)'), GeomFromEWKT('SRID=4674;POINT (-40.129967 -2.839888)'))) / (select extract(epoch from '2026-07-27 14:44:47'::timestamp) - extract(epoch from '2026-07-27 14:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.130193 -2.839076)', '2026-07-27 14:45:22', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129967 -2.839888)'), GeomFromEWKT('SRID=4674;POINT (-40.130193 -2.839076)'))) / (select extract(epoch from '2026-07-27 14:45:22'::timestamp) - extract(epoch from '2026-07-27 14:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129967 -2.839888)'), GeomFromEWKT('SRID=4674;POINT (-40.130193 -2.839076)'))) / (select extract(epoch from '2026-07-27 14:45:22'::timestamp) - extract(epoch from '2026-07-27 14:44: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'), 47630, 'SRID=4674;POINT (-40.130259 -2.838277)', '2026-07-27 14:45:56', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130193 -2.839076)'), GeomFromEWKT('SRID=4674;POINT (-40.130259 -2.838277)'))) / (select extract(epoch from '2026-07-27 14:45:56'::timestamp) - extract(epoch from '2026-07-27 14:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130193 -2.839076)'), GeomFromEWKT('SRID=4674;POINT (-40.130259 -2.838277)'))) / (select extract(epoch from '2026-07-27 14:45:56'::timestamp) - extract(epoch from '2026-07-27 14:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.130378 -2.837397)', '2026-07-27 14:46:33', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130259 -2.838277)'), GeomFromEWKT('SRID=4674;POINT (-40.130378 -2.837397)'))) / (select extract(epoch from '2026-07-27 14:46:33'::timestamp) - extract(epoch from '2026-07-27 14:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130259 -2.838277)'), GeomFromEWKT('SRID=4674;POINT (-40.130378 -2.837397)'))) / (select extract(epoch from '2026-07-27 14:46:33'::timestamp) - extract(epoch from '2026-07-27 14:45: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'), 47630, 'SRID=4674;POINT (-40.130644 -2.83654)', '2026-07-27 14:47:10', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130378 -2.837397)'), GeomFromEWKT('SRID=4674;POINT (-40.130644 -2.83654)'))) / (select extract(epoch from '2026-07-27 14:47:10'::timestamp) - extract(epoch from '2026-07-27 14:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130378 -2.837397)'), GeomFromEWKT('SRID=4674;POINT (-40.130644 -2.83654)'))) / (select extract(epoch from '2026-07-27 14:47:10'::timestamp) - extract(epoch from '2026-07-27 14:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.130972 -2.835744)', '2026-07-27 14:47:46', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130644 -2.83654)'), GeomFromEWKT('SRID=4674;POINT (-40.130972 -2.835744)'))) / (select extract(epoch from '2026-07-27 14:47:46'::timestamp) - extract(epoch from '2026-07-27 14:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130644 -2.83654)'), GeomFromEWKT('SRID=4674;POINT (-40.130972 -2.835744)'))) / (select extract(epoch from '2026-07-27 14:47:46'::timestamp) - extract(epoch from '2026-07-27 14:47: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'), 47630, 'SRID=4674;POINT (-40.131263 -2.834849)', '2026-07-27 14:48:25', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130972 -2.835744)'), GeomFromEWKT('SRID=4674;POINT (-40.131263 -2.834849)'))) / (select extract(epoch from '2026-07-27 14:48:25'::timestamp) - extract(epoch from '2026-07-27 14:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130972 -2.835744)'), GeomFromEWKT('SRID=4674;POINT (-40.131263 -2.834849)'))) / (select extract(epoch from '2026-07-27 14:48:25'::timestamp) - extract(epoch from '2026-07-27 14:47: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'), 47630, 'SRID=4674;POINT (-40.131519 -2.833936)', '2026-07-27 14:49:05', 9.27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131263 -2.834849)'), GeomFromEWKT('SRID=4674;POINT (-40.131519 -2.833936)'))) / (select extract(epoch from '2026-07-27 14:49:05'::timestamp) - extract(epoch from '2026-07-27 14:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131263 -2.834849)'), GeomFromEWKT('SRID=4674;POINT (-40.131519 -2.833936)'))) / (select extract(epoch from '2026-07-27 14:49:05'::timestamp) - extract(epoch from '2026-07-27 14:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.131731 -2.833198)', '2026-07-27 14:49:37', 12.15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131519 -2.833936)'), GeomFromEWKT('SRID=4674;POINT (-40.131731 -2.833198)'))) / (select extract(epoch from '2026-07-27 14:49:37'::timestamp) - extract(epoch from '2026-07-27 14:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131519 -2.833936)'), GeomFromEWKT('SRID=4674;POINT (-40.131731 -2.833198)'))) / (select extract(epoch from '2026-07-27 14:49:37'::timestamp) - extract(epoch from '2026-07-27 14:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.131961 -2.832454)', '2026-07-27 14:50:09', 11.19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131731 -2.833198)'), GeomFromEWKT('SRID=4674;POINT (-40.131961 -2.832454)'))) / (select extract(epoch from '2026-07-27 14:50:09'::timestamp) - extract(epoch from '2026-07-27 14:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131731 -2.833198)'), GeomFromEWKT('SRID=4674;POINT (-40.131961 -2.832454)'))) / (select extract(epoch from '2026-07-27 14:50:09'::timestamp) - extract(epoch from '2026-07-27 14:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.132215 -2.831559)', '2026-07-27 14:50:48', 10.23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131961 -2.832454)'), GeomFromEWKT('SRID=4674;POINT (-40.132215 -2.831559)'))) / (select extract(epoch from '2026-07-27 14:50:48'::timestamp) - extract(epoch from '2026-07-27 14:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131961 -2.832454)'), GeomFromEWKT('SRID=4674;POINT (-40.132215 -2.831559)'))) / (select extract(epoch from '2026-07-27 14:50:48'::timestamp) - extract(epoch from '2026-07-27 14:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.132448 -2.830942)', '2026-07-27 14:51:17', 11.19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132215 -2.831559)'), GeomFromEWKT('SRID=4674;POINT (-40.132448 -2.830942)'))) / (select extract(epoch from '2026-07-27 14:51:17'::timestamp) - extract(epoch from '2026-07-27 14:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132215 -2.831559)'), GeomFromEWKT('SRID=4674;POINT (-40.132448 -2.830942)'))) / (select extract(epoch from '2026-07-27 14:51:17'::timestamp) - extract(epoch from '2026-07-27 14:50: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'), 47630, 'SRID=4674;POINT (-40.132598 -2.830106)', '2026-07-27 14:51:53', 11.67, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132448 -2.830942)'), GeomFromEWKT('SRID=4674;POINT (-40.132598 -2.830106)'))) / (select extract(epoch from '2026-07-27 14:51:53'::timestamp) - extract(epoch from '2026-07-27 14:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132448 -2.830942)'), GeomFromEWKT('SRID=4674;POINT (-40.132598 -2.830106)'))) / (select extract(epoch from '2026-07-27 14:51:53'::timestamp) - extract(epoch from '2026-07-27 14:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.132832 -2.829576)', '2026-07-27 14:52:19', 11.67, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132598 -2.830106)'), GeomFromEWKT('SRID=4674;POINT (-40.132832 -2.829576)'))) / (select extract(epoch from '2026-07-27 14:52:19'::timestamp) - extract(epoch from '2026-07-27 14:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132598 -2.830106)'), GeomFromEWKT('SRID=4674;POINT (-40.132832 -2.829576)'))) / (select extract(epoch from '2026-07-27 14:52:19'::timestamp) - extract(epoch from '2026-07-27 14:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.133293 -2.829095)', '2026-07-27 14:52:47', 11.67, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132832 -2.829576)'), GeomFromEWKT('SRID=4674;POINT (-40.133293 -2.829095)'))) / (select extract(epoch from '2026-07-27 14:52:47'::timestamp) - extract(epoch from '2026-07-27 14:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132832 -2.829576)'), GeomFromEWKT('SRID=4674;POINT (-40.133293 -2.829095)'))) / (select extract(epoch from '2026-07-27 14:52:47'::timestamp) - extract(epoch from '2026-07-27 14:52: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'), 47630, 'SRID=4674;POINT (-40.133789 -2.828641)', '2026-07-27 14:53:16', 10.71, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133293 -2.829095)'), GeomFromEWKT('SRID=4674;POINT (-40.133789 -2.828641)'))) / (select extract(epoch from '2026-07-27 14:53:16'::timestamp) - extract(epoch from '2026-07-27 14:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133293 -2.829095)'), GeomFromEWKT('SRID=4674;POINT (-40.133789 -2.828641)'))) / (select extract(epoch from '2026-07-27 14:53:16'::timestamp) - extract(epoch from '2026-07-27 14:52: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'), 47630, 'SRID=4674;POINT (-40.134231 -2.828039)', '2026-07-27 14:53:48', 10.71, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133789 -2.828641)'), GeomFromEWKT('SRID=4674;POINT (-40.134231 -2.828039)'))) / (select extract(epoch from '2026-07-27 14:53:48'::timestamp) - extract(epoch from '2026-07-27 14:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133789 -2.828641)'), GeomFromEWKT('SRID=4674;POINT (-40.134231 -2.828039)'))) / (select extract(epoch from '2026-07-27 14:53:48'::timestamp) - extract(epoch from '2026-07-27 14:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.134638 -2.827428)', '2026-07-27 14:54:19', 10.71, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134231 -2.828039)'), GeomFromEWKT('SRID=4674;POINT (-40.134638 -2.827428)'))) / (select extract(epoch from '2026-07-27 14:54:19'::timestamp) - extract(epoch from '2026-07-27 14:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134231 -2.828039)'), GeomFromEWKT('SRID=4674;POINT (-40.134638 -2.827428)'))) / (select extract(epoch from '2026-07-27 14:54:19'::timestamp) - extract(epoch from '2026-07-27 14:53: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'), 47630, 'SRID=4674;POINT (-40.13523 -2.82703)', '2026-07-27 14:54:48', 10.23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134638 -2.827428)'), GeomFromEWKT('SRID=4674;POINT (-40.13523 -2.82703)'))) / (select extract(epoch from '2026-07-27 14:54:48'::timestamp) - extract(epoch from '2026-07-27 14:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134638 -2.827428)'), GeomFromEWKT('SRID=4674;POINT (-40.13523 -2.82703)'))) / (select extract(epoch from '2026-07-27 14:54:48'::timestamp) - extract(epoch from '2026-07-27 14:54: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'), 47630, 'SRID=4674;POINT (-40.135962 -2.826999)', '2026-07-27 14:55:18', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13523 -2.82703)'), GeomFromEWKT('SRID=4674;POINT (-40.135962 -2.826999)'))) / (select extract(epoch from '2026-07-27 14:55:18'::timestamp) - extract(epoch from '2026-07-27 14:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13523 -2.82703)'), GeomFromEWKT('SRID=4674;POINT (-40.135962 -2.826999)'))) / (select extract(epoch from '2026-07-27 14:55:18'::timestamp) - extract(epoch from '2026-07-27 14:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.136754 -2.827115)', '2026-07-27 14:55:50', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135962 -2.826999)'), GeomFromEWKT('SRID=4674;POINT (-40.136754 -2.827115)'))) / (select extract(epoch from '2026-07-27 14:55:50'::timestamp) - extract(epoch from '2026-07-27 14:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135962 -2.826999)'), GeomFromEWKT('SRID=4674;POINT (-40.136754 -2.827115)'))) / (select extract(epoch from '2026-07-27 14:55:50'::timestamp) - extract(epoch from '2026-07-27 14:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.137378 -2.827148)', '2026-07-27 14:56:15', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136754 -2.827115)'), GeomFromEWKT('SRID=4674;POINT (-40.137378 -2.827148)'))) / (select extract(epoch from '2026-07-27 14:56:15'::timestamp) - extract(epoch from '2026-07-27 14:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136754 -2.827115)'), GeomFromEWKT('SRID=4674;POINT (-40.137378 -2.827148)'))) / (select extract(epoch from '2026-07-27 14:56:15'::timestamp) - extract(epoch from '2026-07-27 14:55: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'), 47630, 'SRID=4674;POINT (-40.137905 -2.826892)', '2026-07-27 14:56:39', 9.27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137378 -2.827148)'), GeomFromEWKT('SRID=4674;POINT (-40.137905 -2.826892)'))) / (select extract(epoch from '2026-07-27 14:56:39'::timestamp) - extract(epoch from '2026-07-27 14:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137378 -2.827148)'), GeomFromEWKT('SRID=4674;POINT (-40.137905 -2.826892)'))) / (select extract(epoch from '2026-07-27 14:56:39'::timestamp) - extract(epoch from '2026-07-27 14:56:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.138086 -2.826515)', '2026-07-27 14:57:01', 10.23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137905 -2.826892)'), GeomFromEWKT('SRID=4674;POINT (-40.138086 -2.826515)'))) / (select extract(epoch from '2026-07-27 14:57:01'::timestamp) - extract(epoch from '2026-07-27 14:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137905 -2.826892)'), GeomFromEWKT('SRID=4674;POINT (-40.138086 -2.826515)'))) / (select extract(epoch from '2026-07-27 14:57:01'::timestamp) - extract(epoch from '2026-07-27 14:56: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'), 47630, 'SRID=4674;POINT (-40.137947 -2.826081)', '2026-07-27 14:57:26', 9.75, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138086 -2.826515)'), GeomFromEWKT('SRID=4674;POINT (-40.137947 -2.826081)'))) / (select extract(epoch from '2026-07-27 14:57:26'::timestamp) - extract(epoch from '2026-07-27 14:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138086 -2.826515)'), GeomFromEWKT('SRID=4674;POINT (-40.137947 -2.826081)'))) / (select extract(epoch from '2026-07-27 14:57:26'::timestamp) - extract(epoch from '2026-07-27 14:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.137733 -2.825811)', '2026-07-27 14:57:45', 9.27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137947 -2.826081)'), GeomFromEWKT('SRID=4674;POINT (-40.137733 -2.825811)'))) / (select extract(epoch from '2026-07-27 14:57:45'::timestamp) - extract(epoch from '2026-07-27 14:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137947 -2.826081)'), GeomFromEWKT('SRID=4674;POINT (-40.137733 -2.825811)'))) / (select extract(epoch from '2026-07-27 14:57:45'::timestamp) - extract(epoch from '2026-07-27 14:57:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.137474 -2.825555)', '2026-07-27 14:58:06', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137733 -2.825811)'), GeomFromEWKT('SRID=4674;POINT (-40.137474 -2.825555)'))) / (select extract(epoch from '2026-07-27 14:58:06'::timestamp) - extract(epoch from '2026-07-27 14:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137733 -2.825811)'), GeomFromEWKT('SRID=4674;POINT (-40.137474 -2.825555)'))) / (select extract(epoch from '2026-07-27 14:58:06'::timestamp) - extract(epoch from '2026-07-27 14:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.137137 -2.825388)', '2026-07-27 14:58:28', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137474 -2.825555)'), GeomFromEWKT('SRID=4674;POINT (-40.137137 -2.825388)'))) / (select extract(epoch from '2026-07-27 14:58:28'::timestamp) - extract(epoch from '2026-07-27 14:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137474 -2.825555)'), GeomFromEWKT('SRID=4674;POINT (-40.137137 -2.825388)'))) / (select extract(epoch from '2026-07-27 14:58:28'::timestamp) - extract(epoch from '2026-07-27 14:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.13681 -2.825252)', '2026-07-27 14:58:48', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137137 -2.825388)'), GeomFromEWKT('SRID=4674;POINT (-40.13681 -2.825252)'))) / (select extract(epoch from '2026-07-27 14:58:48'::timestamp) - extract(epoch from '2026-07-27 14:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137137 -2.825388)'), GeomFromEWKT('SRID=4674;POINT (-40.13681 -2.825252)'))) / (select extract(epoch from '2026-07-27 14:58:48'::timestamp) - extract(epoch from '2026-07-27 14:58:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.136526 -2.825073)', '2026-07-27 14:59:11', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13681 -2.825252)'), GeomFromEWKT('SRID=4674;POINT (-40.136526 -2.825073)'))) / (select extract(epoch from '2026-07-27 14:59:11'::timestamp) - extract(epoch from '2026-07-27 14:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13681 -2.825252)'), GeomFromEWKT('SRID=4674;POINT (-40.136526 -2.825073)'))) / (select extract(epoch from '2026-07-27 14:59:11'::timestamp) - extract(epoch from '2026-07-27 14:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.136362 -2.824951)', '2026-07-27 14:59:32', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136526 -2.825073)'), GeomFromEWKT('SRID=4674;POINT (-40.136362 -2.824951)'))) / (select extract(epoch from '2026-07-27 14:59:32'::timestamp) - extract(epoch from '2026-07-27 14:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136526 -2.825073)'), GeomFromEWKT('SRID=4674;POINT (-40.136362 -2.824951)'))) / (select extract(epoch from '2026-07-27 14:59:32'::timestamp) - extract(epoch from '2026-07-27 14:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.136135 -2.824826)', '2026-07-27 14:59:56', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136362 -2.824951)'), GeomFromEWKT('SRID=4674;POINT (-40.136135 -2.824826)'))) / (select extract(epoch from '2026-07-27 14:59:56'::timestamp) - extract(epoch from '2026-07-27 14:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136362 -2.824951)'), GeomFromEWKT('SRID=4674;POINT (-40.136135 -2.824826)'))) / (select extract(epoch from '2026-07-27 14:59:56'::timestamp) - extract(epoch from '2026-07-27 14:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.135953 -2.824657)', '2026-07-27 15:00:18', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136135 -2.824826)'), GeomFromEWKT('SRID=4674;POINT (-40.135953 -2.824657)'))) / (select extract(epoch from '2026-07-27 15:00:18'::timestamp) - extract(epoch from '2026-07-27 14:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136135 -2.824826)'), GeomFromEWKT('SRID=4674;POINT (-40.135953 -2.824657)'))) / (select extract(epoch from '2026-07-27 15:00:18'::timestamp) - extract(epoch from '2026-07-27 14:59: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'), 47630, 'SRID=4674;POINT (-40.13578 -2.82452)', '2026-07-27 15:00:40', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135953 -2.824657)'), GeomFromEWKT('SRID=4674;POINT (-40.13578 -2.82452)'))) / (select extract(epoch from '2026-07-27 15:00:40'::timestamp) - extract(epoch from '2026-07-27 15:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135953 -2.824657)'), GeomFromEWKT('SRID=4674;POINT (-40.13578 -2.82452)'))) / (select extract(epoch from '2026-07-27 15:00:40'::timestamp) - extract(epoch from '2026-07-27 15:00: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'), 47630, 'SRID=4674;POINT (-40.135656 -2.8245)', '2026-07-27 15:00:55', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13578 -2.82452)'), GeomFromEWKT('SRID=4674;POINT (-40.135656 -2.8245)'))) / (select extract(epoch from '2026-07-27 15:00:55'::timestamp) - extract(epoch from '2026-07-27 15:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13578 -2.82452)'), GeomFromEWKT('SRID=4674;POINT (-40.135656 -2.8245)'))) / (select extract(epoch from '2026-07-27 15:00:55'::timestamp) - extract(epoch from '2026-07-27 15:00: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'), 47630, 'SRID=4674;POINT (-40.135456 -2.824546)', '2026-07-27 15:01:15', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135656 -2.8245)'), GeomFromEWKT('SRID=4674;POINT (-40.135456 -2.824546)'))) / (select extract(epoch from '2026-07-27 15:01:15'::timestamp) - extract(epoch from '2026-07-27 15:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135656 -2.8245)'), GeomFromEWKT('SRID=4674;POINT (-40.135456 -2.824546)'))) / (select extract(epoch from '2026-07-27 15:01:15'::timestamp) - extract(epoch from '2026-07-27 15:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.135439 -2.824541)', '2026-07-27 15:01:17', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135456 -2.824546)'), GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.824541)'))) / (select extract(epoch from '2026-07-27 15:01:17'::timestamp) - extract(epoch from '2026-07-27 15:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135456 -2.824546)'), GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.824541)'))) / (select extract(epoch from '2026-07-27 15:01:17'::timestamp) - extract(epoch from '2026-07-27 15:01: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'), 47630, 'SRID=4674;POINT (-40.135466 -2.824354)', '2026-07-27 15:01:34', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.824541)'), GeomFromEWKT('SRID=4674;POINT (-40.135466 -2.824354)'))) / (select extract(epoch from '2026-07-27 15:01:34'::timestamp) - extract(epoch from '2026-07-27 15:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135439 -2.824541)'), GeomFromEWKT('SRID=4674;POINT (-40.135466 -2.824354)'))) / (select extract(epoch from '2026-07-27 15:01:34'::timestamp) - extract(epoch from '2026-07-27 15:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.135733 -2.82427)', '2026-07-27 15:01:49', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135466 -2.824354)'), GeomFromEWKT('SRID=4674;POINT (-40.135733 -2.82427)'))) / (select extract(epoch from '2026-07-27 15:01:49'::timestamp) - extract(epoch from '2026-07-27 15:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135466 -2.824354)'), GeomFromEWKT('SRID=4674;POINT (-40.135733 -2.82427)'))) / (select extract(epoch from '2026-07-27 15:01:49'::timestamp) - extract(epoch from '2026-07-27 15:01: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'), 47630, 'SRID=4674;POINT (-40.136077 -2.824517)', '2026-07-27 15:02:05', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135733 -2.82427)'), GeomFromEWKT('SRID=4674;POINT (-40.136077 -2.824517)'))) / (select extract(epoch from '2026-07-27 15:02:05'::timestamp) - extract(epoch from '2026-07-27 15:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135733 -2.82427)'), GeomFromEWKT('SRID=4674;POINT (-40.136077 -2.824517)'))) / (select extract(epoch from '2026-07-27 15:02:05'::timestamp) - extract(epoch from '2026-07-27 15:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.13658 -2.824851)', '2026-07-27 15:02:26', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136077 -2.824517)'), GeomFromEWKT('SRID=4674;POINT (-40.13658 -2.824851)'))) / (select extract(epoch from '2026-07-27 15:02:26'::timestamp) - extract(epoch from '2026-07-27 15:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136077 -2.824517)'), GeomFromEWKT('SRID=4674;POINT (-40.13658 -2.824851)'))) / (select extract(epoch from '2026-07-27 15:02:26'::timestamp) - extract(epoch from '2026-07-27 15:02: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'), 47630, 'SRID=4674;POINT (-40.136989 -2.825117)', '2026-07-27 15:02:43', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13658 -2.824851)'), GeomFromEWKT('SRID=4674;POINT (-40.136989 -2.825117)'))) / (select extract(epoch from '2026-07-27 15:02:43'::timestamp) - extract(epoch from '2026-07-27 15:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13658 -2.824851)'), GeomFromEWKT('SRID=4674;POINT (-40.136989 -2.825117)'))) / (select extract(epoch from '2026-07-27 15:02:43'::timestamp) - extract(epoch from '2026-07-27 15:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.137448 -2.825463)', '2026-07-27 15:03:02', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136989 -2.825117)'), GeomFromEWKT('SRID=4674;POINT (-40.137448 -2.825463)'))) / (select extract(epoch from '2026-07-27 15:03:02'::timestamp) - extract(epoch from '2026-07-27 15:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136989 -2.825117)'), GeomFromEWKT('SRID=4674;POINT (-40.137448 -2.825463)'))) / (select extract(epoch from '2026-07-27 15:03:02'::timestamp) - extract(epoch from '2026-07-27 15:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.137936 -2.825874)', '2026-07-27 15:03:23', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137448 -2.825463)'), GeomFromEWKT('SRID=4674;POINT (-40.137936 -2.825874)'))) / (select extract(epoch from '2026-07-27 15:03:23'::timestamp) - extract(epoch from '2026-07-27 15:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137448 -2.825463)'), GeomFromEWKT('SRID=4674;POINT (-40.137936 -2.825874)'))) / (select extract(epoch from '2026-07-27 15:03:23'::timestamp) - extract(epoch from '2026-07-27 15:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.138147 -2.826427)', '2026-07-27 15:03:43', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137936 -2.825874)'), GeomFromEWKT('SRID=4674;POINT (-40.138147 -2.826427)'))) / (select extract(epoch from '2026-07-27 15:03:43'::timestamp) - extract(epoch from '2026-07-27 15:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137936 -2.825874)'), GeomFromEWKT('SRID=4674;POINT (-40.138147 -2.826427)'))) / (select extract(epoch from '2026-07-27 15:03:43'::timestamp) - extract(epoch from '2026-07-27 15:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.137932 -2.826894)', '2026-07-27 15:04:02', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138147 -2.826427)'), GeomFromEWKT('SRID=4674;POINT (-40.137932 -2.826894)'))) / (select extract(epoch from '2026-07-27 15:04:02'::timestamp) - extract(epoch from '2026-07-27 15:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138147 -2.826427)'), GeomFromEWKT('SRID=4674;POINT (-40.137932 -2.826894)'))) / (select extract(epoch from '2026-07-27 15:04:02'::timestamp) - extract(epoch from '2026-07-27 15:03: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'), 47630, 'SRID=4674;POINT (-40.137466 -2.827075)', '2026-07-27 15:04:22', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137932 -2.826894)'), GeomFromEWKT('SRID=4674;POINT (-40.137466 -2.827075)'))) / (select extract(epoch from '2026-07-27 15:04:22'::timestamp) - extract(epoch from '2026-07-27 15:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137932 -2.826894)'), GeomFromEWKT('SRID=4674;POINT (-40.137466 -2.827075)'))) / (select extract(epoch from '2026-07-27 15:04:22'::timestamp) - extract(epoch from '2026-07-27 15:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.136736 -2.827339)', '2026-07-27 15:04:53', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137466 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.136736 -2.827339)'))) / (select extract(epoch from '2026-07-27 15:04:53'::timestamp) - extract(epoch from '2026-07-27 15:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137466 -2.827075)'), GeomFromEWKT('SRID=4674;POINT (-40.136736 -2.827339)'))) / (select extract(epoch from '2026-07-27 15:04:53'::timestamp) - extract(epoch from '2026-07-27 15:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.135949 -2.827356)', '2026-07-27 15:05:23', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136736 -2.827339)'), GeomFromEWKT('SRID=4674;POINT (-40.135949 -2.827356)'))) / (select extract(epoch from '2026-07-27 15:05:23'::timestamp) - extract(epoch from '2026-07-27 15:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136736 -2.827339)'), GeomFromEWKT('SRID=4674;POINT (-40.135949 -2.827356)'))) / (select extract(epoch from '2026-07-27 15:05:23'::timestamp) - extract(epoch from '2026-07-27 15:04:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.135448 -2.827551)', '2026-07-27 15:05:47', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135949 -2.827356)'), GeomFromEWKT('SRID=4674;POINT (-40.135448 -2.827551)'))) / (select extract(epoch from '2026-07-27 15:05:47'::timestamp) - extract(epoch from '2026-07-27 15:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135949 -2.827356)'), GeomFromEWKT('SRID=4674;POINT (-40.135448 -2.827551)'))) / (select extract(epoch from '2026-07-27 15:05:47'::timestamp) - extract(epoch from '2026-07-27 15:05: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'), 47630, 'SRID=4674;POINT (-40.134883 -2.827787)', '2026-07-27 15:06:15', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135448 -2.827551)'), GeomFromEWKT('SRID=4674;POINT (-40.134883 -2.827787)'))) / (select extract(epoch from '2026-07-27 15:06:15'::timestamp) - extract(epoch from '2026-07-27 15:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135448 -2.827551)'), GeomFromEWKT('SRID=4674;POINT (-40.134883 -2.827787)'))) / (select extract(epoch from '2026-07-27 15:06:15'::timestamp) - extract(epoch from '2026-07-27 15:05: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'), 47630, 'SRID=4674;POINT (-40.13429 -2.828041)', '2026-07-27 15:06:45', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134883 -2.827787)'), GeomFromEWKT('SRID=4674;POINT (-40.13429 -2.828041)'))) / (select extract(epoch from '2026-07-27 15:06:45'::timestamp) - extract(epoch from '2026-07-27 15:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134883 -2.827787)'), GeomFromEWKT('SRID=4674;POINT (-40.13429 -2.828041)'))) / (select extract(epoch from '2026-07-27 15:06:45'::timestamp) - extract(epoch from '2026-07-27 15:06: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'), 47630, 'SRID=4674;POINT (-40.133942 -2.82845)', '2026-07-27 15:07:09', 7.35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13429 -2.828041)'), GeomFromEWKT('SRID=4674;POINT (-40.133942 -2.82845)'))) / (select extract(epoch from '2026-07-27 15:07:09'::timestamp) - extract(epoch from '2026-07-27 15:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13429 -2.828041)'), GeomFromEWKT('SRID=4674;POINT (-40.133942 -2.82845)'))) / (select extract(epoch from '2026-07-27 15:07:09'::timestamp) - extract(epoch from '2026-07-27 15:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.133531 -2.828943)', '2026-07-27 15:07:37', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133942 -2.82845)'), GeomFromEWKT('SRID=4674;POINT (-40.133531 -2.828943)'))) / (select extract(epoch from '2026-07-27 15:07:37'::timestamp) - extract(epoch from '2026-07-27 15:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133942 -2.82845)'), GeomFromEWKT('SRID=4674;POINT (-40.133531 -2.828943)'))) / (select extract(epoch from '2026-07-27 15:07:37'::timestamp) - extract(epoch from '2026-07-27 15:07: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'), 47630, 'SRID=4674;POINT (-40.133133 -2.829273)', '2026-07-27 15:08:00', 6.39, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133531 -2.828943)'), GeomFromEWKT('SRID=4674;POINT (-40.133133 -2.829273)'))) / (select extract(epoch from '2026-07-27 15:08:00'::timestamp) - extract(epoch from '2026-07-27 15:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133531 -2.828943)'), GeomFromEWKT('SRID=4674;POINT (-40.133133 -2.829273)'))) / (select extract(epoch from '2026-07-27 15:08:00'::timestamp) - extract(epoch from '2026-07-27 15:07: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'), 47630, 'SRID=4674;POINT (-40.132727 -2.82971)', '2026-07-27 15:08:27', 5.42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133133 -2.829273)'), GeomFromEWKT('SRID=4674;POINT (-40.132727 -2.82971)'))) / (select extract(epoch from '2026-07-27 15:08:27'::timestamp) - extract(epoch from '2026-07-27 15:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133133 -2.829273)'), GeomFromEWKT('SRID=4674;POINT (-40.132727 -2.82971)'))) / (select extract(epoch from '2026-07-27 15:08:27'::timestamp) - extract(epoch from '2026-07-27 15:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.132572 -2.830323)', '2026-07-27 15:08:56', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132727 -2.82971)'), GeomFromEWKT('SRID=4674;POINT (-40.132572 -2.830323)'))) / (select extract(epoch from '2026-07-27 15:08:56'::timestamp) - extract(epoch from '2026-07-27 15:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132727 -2.82971)'), GeomFromEWKT('SRID=4674;POINT (-40.132572 -2.830323)'))) / (select extract(epoch from '2026-07-27 15:08:56'::timestamp) - extract(epoch from '2026-07-27 15:08: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'), 47630, 'SRID=4674;POINT (-40.132481 -2.831162)', '2026-07-27 15:09:33', 8.31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132572 -2.830323)'), GeomFromEWKT('SRID=4674;POINT (-40.132481 -2.831162)'))) / (select extract(epoch from '2026-07-27 15:09:33'::timestamp) - extract(epoch from '2026-07-27 15:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132572 -2.830323)'), GeomFromEWKT('SRID=4674;POINT (-40.132481 -2.831162)'))) / (select extract(epoch from '2026-07-27 15:09:33'::timestamp) - extract(epoch from '2026-07-27 15:08: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'), 47630, 'SRID=4674;POINT (-40.132222 -2.831913)', '2026-07-27 15:10:04', 7.83, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132481 -2.831162)'), GeomFromEWKT('SRID=4674;POINT (-40.132222 -2.831913)'))) / (select extract(epoch from '2026-07-27 15:10:04'::timestamp) - extract(epoch from '2026-07-27 15:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132481 -2.831162)'), GeomFromEWKT('SRID=4674;POINT (-40.132222 -2.831913)'))) / (select extract(epoch from '2026-07-27 15:10:04'::timestamp) - extract(epoch from '2026-07-27 15:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.131928 -2.832408)', '2026-07-27 15:10:24', 6.87, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132222 -2.831913)'), GeomFromEWKT('SRID=4674;POINT (-40.131928 -2.832408)'))) / (select extract(epoch from '2026-07-27 15:10:24'::timestamp) - extract(epoch from '2026-07-27 15:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132222 -2.831913)'), GeomFromEWKT('SRID=4674;POINT (-40.131928 -2.832408)'))) / (select extract(epoch from '2026-07-27 15:10:24'::timestamp) - extract(epoch from '2026-07-27 15:10: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'), 47630, 'SRID=4674;POINT (-40.131647 -2.833296)', '2026-07-27 15:10:57', 9.27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131928 -2.832408)'), GeomFromEWKT('SRID=4674;POINT (-40.131647 -2.833296)'))) / (select extract(epoch from '2026-07-27 15:10:57'::timestamp) - extract(epoch from '2026-07-27 15:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131928 -2.832408)'), GeomFromEWKT('SRID=4674;POINT (-40.131647 -2.833296)'))) / (select extract(epoch from '2026-07-27 15:10:57'::timestamp) - extract(epoch from '2026-07-27 15:10: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'), 47630, 'SRID=4674;POINT (-40.131291 -2.834125)', '2026-07-27 15:11:29', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131647 -2.833296)'), GeomFromEWKT('SRID=4674;POINT (-40.131291 -2.834125)'))) / (select extract(epoch from '2026-07-27 15:11:29'::timestamp) - extract(epoch from '2026-07-27 15:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131647 -2.833296)'), GeomFromEWKT('SRID=4674;POINT (-40.131291 -2.834125)'))) / (select extract(epoch from '2026-07-27 15:11:29'::timestamp) - extract(epoch from '2026-07-27 15:10: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'), 47630, 'SRID=4674;POINT (-40.130987 -2.834929)', '2026-07-27 15:11:59', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131291 -2.834125)'), GeomFromEWKT('SRID=4674;POINT (-40.130987 -2.834929)'))) / (select extract(epoch from '2026-07-27 15:11:59'::timestamp) - extract(epoch from '2026-07-27 15:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131291 -2.834125)'), GeomFromEWKT('SRID=4674;POINT (-40.130987 -2.834929)'))) / (select extract(epoch from '2026-07-27 15:11:59'::timestamp) - extract(epoch from '2026-07-27 15:11: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'), 47630, 'SRID=4674;POINT (-40.130626 -2.836007)', '2026-07-27 15:12:39', 10.23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130987 -2.834929)'), GeomFromEWKT('SRID=4674;POINT (-40.130626 -2.836007)'))) / (select extract(epoch from '2026-07-27 15:12:39'::timestamp) - extract(epoch from '2026-07-27 15:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130987 -2.834929)'), GeomFromEWKT('SRID=4674;POINT (-40.130626 -2.836007)'))) / (select extract(epoch from '2026-07-27 15:12:39'::timestamp) - extract(epoch from '2026-07-27 15:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.130428 -2.836811)', '2026-07-27 15:13:08', 11.19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130626 -2.836007)'), GeomFromEWKT('SRID=4674;POINT (-40.130428 -2.836811)'))) / (select extract(epoch from '2026-07-27 15:13:08'::timestamp) - extract(epoch from '2026-07-27 15:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130626 -2.836007)'), GeomFromEWKT('SRID=4674;POINT (-40.130428 -2.836811)'))) / (select extract(epoch from '2026-07-27 15:13:08'::timestamp) - extract(epoch from '2026-07-27 15:12: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'), 47630, 'SRID=4674;POINT (-40.130287 -2.837721)', '2026-07-27 15:13:40', 11.67, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130428 -2.836811)'), GeomFromEWKT('SRID=4674;POINT (-40.130287 -2.837721)'))) / (select extract(epoch from '2026-07-27 15:13:40'::timestamp) - extract(epoch from '2026-07-27 15:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130428 -2.836811)'), GeomFromEWKT('SRID=4674;POINT (-40.130287 -2.837721)'))) / (select extract(epoch from '2026-07-27 15:13:40'::timestamp) - extract(epoch from '2026-07-27 15: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'), 47630, 'SRID=4674;POINT (-40.130229 -2.8385)', '2026-07-27 15:14:08', 12.63, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130287 -2.837721)'), GeomFromEWKT('SRID=4674;POINT (-40.130229 -2.8385)'))) / (select extract(epoch from '2026-07-27 15:14:08'::timestamp) - extract(epoch from '2026-07-27 15:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130287 -2.837721)'), GeomFromEWKT('SRID=4674;POINT (-40.130229 -2.8385)'))) / (select extract(epoch from '2026-07-27 15:14:08'::timestamp) - extract(epoch from '2026-07-27 15:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.130164 -2.839177)', '2026-07-27 15:14:33', 12.15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130229 -2.8385)'), GeomFromEWKT('SRID=4674;POINT (-40.130164 -2.839177)'))) / (select extract(epoch from '2026-07-27 15:14:33'::timestamp) - extract(epoch from '2026-07-27 15:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130229 -2.8385)'), GeomFromEWKT('SRID=4674;POINT (-40.130164 -2.839177)'))) / (select extract(epoch from '2026-07-27 15:14:33'::timestamp) - extract(epoch from '2026-07-27 15:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.12994 -2.839943)', '2026-07-27 15:15:02', 11.19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130164 -2.839177)'), GeomFromEWKT('SRID=4674;POINT (-40.12994 -2.839943)'))) / (select extract(epoch from '2026-07-27 15:15:02'::timestamp) - extract(epoch from '2026-07-27 15:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130164 -2.839177)'), GeomFromEWKT('SRID=4674;POINT (-40.12994 -2.839943)'))) / (select extract(epoch from '2026-07-27 15:15:02'::timestamp) - extract(epoch from '2026-07-27 15:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.129613 -2.840739)', '2026-07-27 15:15:33', 10.23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12994 -2.839943)'), GeomFromEWKT('SRID=4674;POINT (-40.129613 -2.840739)'))) / (select extract(epoch from '2026-07-27 15:15:33'::timestamp) - extract(epoch from '2026-07-27 15:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12994 -2.839943)'), GeomFromEWKT('SRID=4674;POINT (-40.129613 -2.840739)'))) / (select extract(epoch from '2026-07-27 15:15:33'::timestamp) - extract(epoch from '2026-07-27 15:15: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'), 47630, 'SRID=4674;POINT (-40.129297 -2.84159)', '2026-07-27 15:16:06', 10.71, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129613 -2.840739)'), GeomFromEWKT('SRID=4674;POINT (-40.129297 -2.84159)'))) / (select extract(epoch from '2026-07-27 15:16:06'::timestamp) - extract(epoch from '2026-07-27 15:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129613 -2.840739)'), GeomFromEWKT('SRID=4674;POINT (-40.129297 -2.84159)'))) / (select extract(epoch from '2026-07-27 15:16:06'::timestamp) - extract(epoch from '2026-07-27 15:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.129 -2.842376)', '2026-07-27 15:16:36', 11.19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129297 -2.84159)'), GeomFromEWKT('SRID=4674;POINT (-40.129 -2.842376)'))) / (select extract(epoch from '2026-07-27 15:16:36'::timestamp) - extract(epoch from '2026-07-27 15:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129297 -2.84159)'), GeomFromEWKT('SRID=4674;POINT (-40.129 -2.842376)'))) / (select extract(epoch from '2026-07-27 15:16:36'::timestamp) - extract(epoch from '2026-07-27 15:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.128603 -2.843228)', '2026-07-27 15:17:10', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129 -2.842376)'), GeomFromEWKT('SRID=4674;POINT (-40.128603 -2.843228)'))) / (select extract(epoch from '2026-07-27 15:17:10'::timestamp) - extract(epoch from '2026-07-27 15:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129 -2.842376)'), GeomFromEWKT('SRID=4674;POINT (-40.128603 -2.843228)'))) / (select extract(epoch from '2026-07-27 15:17:10'::timestamp) - extract(epoch from '2026-07-27 15:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.128146 -2.844091)', '2026-07-27 15:17:45', 5.91, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128603 -2.843228)'), GeomFromEWKT('SRID=4674;POINT (-40.128146 -2.844091)'))) / (select extract(epoch from '2026-07-27 15:17:45'::timestamp) - extract(epoch from '2026-07-27 15:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128603 -2.843228)'), GeomFromEWKT('SRID=4674;POINT (-40.128146 -2.844091)'))) / (select extract(epoch from '2026-07-27 15:17:45'::timestamp) - extract(epoch from '2026-07-27 15:17:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.12771 -2.844875)', '2026-07-27 15:18:17', 4.46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128146 -2.844091)'), GeomFromEWKT('SRID=4674;POINT (-40.12771 -2.844875)'))) / (select extract(epoch from '2026-07-27 15:18:17'::timestamp) - extract(epoch from '2026-07-27 15:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128146 -2.844091)'), GeomFromEWKT('SRID=4674;POINT (-40.12771 -2.844875)'))) / (select extract(epoch from '2026-07-27 15:18:17'::timestamp) - extract(epoch from '2026-07-27 15:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.127394 -2.845592)', '2026-07-27 15:18:46', 8.79, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12771 -2.844875)'), GeomFromEWKT('SRID=4674;POINT (-40.127394 -2.845592)'))) / (select extract(epoch from '2026-07-27 15:18:46'::timestamp) - extract(epoch from '2026-07-27 15:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12771 -2.844875)'), GeomFromEWKT('SRID=4674;POINT (-40.127394 -2.845592)'))) / (select extract(epoch from '2026-07-27 15:18:46'::timestamp) - extract(epoch from '2026-07-27 15:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.127214 -2.846172)', '2026-07-27 15:19:09', 10.23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127394 -2.845592)'), GeomFromEWKT('SRID=4674;POINT (-40.127214 -2.846172)'))) / (select extract(epoch from '2026-07-27 15:19:09'::timestamp) - extract(epoch from '2026-07-27 15:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127394 -2.845592)'), GeomFromEWKT('SRID=4674;POINT (-40.127214 -2.846172)'))) / (select extract(epoch from '2026-07-27 15:19:09'::timestamp) - extract(epoch from '2026-07-27 15:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.127052 -2.84691)', '2026-07-27 15:19:38', 9.75, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127214 -2.846172)'), GeomFromEWKT('SRID=4674;POINT (-40.127052 -2.84691)'))) / (select extract(epoch from '2026-07-27 15:19:38'::timestamp) - extract(epoch from '2026-07-27 15:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127214 -2.846172)'), GeomFromEWKT('SRID=4674;POINT (-40.127052 -2.84691)'))) / (select extract(epoch from '2026-07-27 15:19:38'::timestamp) - extract(epoch from '2026-07-27 15:19: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'), 47630, 'SRID=4674;POINT (-40.126896 -2.847523)', '2026-07-27 15:20:02', 10.71, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127052 -2.84691)'), GeomFromEWKT('SRID=4674;POINT (-40.126896 -2.847523)'))) / (select extract(epoch from '2026-07-27 15:20:02'::timestamp) - extract(epoch from '2026-07-27 15:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127052 -2.84691)'), GeomFromEWKT('SRID=4674;POINT (-40.126896 -2.847523)'))) / (select extract(epoch from '2026-07-27 15:20:02'::timestamp) - extract(epoch from '2026-07-27 15:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.12686 -2.848172)', '2026-07-27 15:20:28', 10.23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126896 -2.847523)'), GeomFromEWKT('SRID=4674;POINT (-40.12686 -2.848172)'))) / (select extract(epoch from '2026-07-27 15:20:28'::timestamp) - extract(epoch from '2026-07-27 15:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126896 -2.847523)'), GeomFromEWKT('SRID=4674;POINT (-40.12686 -2.848172)'))) / (select extract(epoch from '2026-07-27 15:20:28'::timestamp) - extract(epoch from '2026-07-27 15:20: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'), 47630, 'SRID=4674;POINT (-40.127097 -2.848812)', '2026-07-27 15:20:57', 9.75, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12686 -2.848172)'), GeomFromEWKT('SRID=4674;POINT (-40.127097 -2.848812)'))) / (select extract(epoch from '2026-07-27 15:20:57'::timestamp) - extract(epoch from '2026-07-27 15:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12686 -2.848172)'), GeomFromEWKT('SRID=4674;POINT (-40.127097 -2.848812)'))) / (select extract(epoch from '2026-07-27 15:20:57'::timestamp) - extract(epoch from '2026-07-27 15:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47630, 'SRID=4674;POINT (-40.127456 -2.849258)', '2026-07-27 15:21:24', 10.23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127097 -2.848812)'), GeomFromEWKT('SRID=4674;POINT (-40.127456 -2.849258)'))) / (select extract(epoch from '2026-07-27 15:21:24'::timestamp) - extract(epoch from '2026-07-27 15:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127097 -2.848812)'), GeomFromEWKT('SRID=4674;POINT (-40.127456 -2.849258)'))) / (select extract(epoch from '2026-07-27 15:21:24'::timestamp) - extract(epoch from '2026-07-27 15:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
